* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #fff;
    overflow-x: hidden;
    background-color: #000;
}

/* ============================================ */
/* SISTEMA DE LOGIN */
/* ============================================ */

.login-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #000;
}

#bg360Login {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.login-container {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 20px;
}

.login-box {
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(15px);
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.8);
    border: 3px solid rgba(253, 102, 0, 0.6);
    max-width: 225px;
    width: 100%;
    text-align: center;
    animation: loginFadeIn 0.5s ease-in-out;
}

@keyframes loginFadeIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-logo {
    max-width: 360px;
    height: auto;
    margin-bottom: 20px;
    filter: drop-shadow(2px 2px 8px rgba(0, 0, 0, 0.7));
    border: 3px solid #fd6600;
    border-radius: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.95);
    display: block;
    object-fit: contain;
}

.login-box h1 {
    color: #fd6600;
    font-size: 1.8em;
    margin-bottom: 10px;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8);
    letter-spacing: 2px;
}

.login-box h2 {
    color: #ddd;
    font-size: 0.5em;
    margin-bottom: 30px;
    font-weight: 400;
}

#loginForm {
    margin-top: 30px;
}

.input-group {
    margin-bottom: 25px;
    text-align: left;
}

.input-group label {
    display: block;
    color: #ddd;
    font-size: 0.95em;
    margin-bottom: 8px;
    font-weight: 600;
}

.input-group input {
    width: 100%;
    padding: 15px;
    font-size: 1em;
    border: 2px solid rgba(253, 102, 0, 0.3);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    transition: all 0.3s ease;
}

.input-group input:focus {
    outline: none;
    border-color: #fd6600;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 20px rgba(253, 102, 0, 0.3);
}

.input-group input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.login-error {
    color: #ff4444;
    background: rgba(255, 68, 68, 0.15);
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 0.9em;
    border: 1px solid rgba(255, 68, 68, 0.4);
    display: none;
}

.login-error.show {
    display: block;
    animation: shake 0.5s;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

.login-button {
    width: 100%;
    padding: 16px;
    font-size: 1.1em;
    font-weight: bold;
    color: #fff;
    background: linear-gradient(135deg, #fd6600 0%, #e05500 100%);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 6px 25px rgba(253, 102, 0, 0.4);
}

.login-button:hover {
    background: linear-gradient(135deg, #e05500 0%, #cc4a00 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(253, 102, 0, 0.6);
}

.login-button:active {
    transform: translateY(0);
}

.login-footer {
    margin-top: 30px;
    color: #999;
    font-size: 0.9em;
}

.main-content {
    display: none;
}

.main-content.authenticated {
    display: block;
}

/* Responsive Login */
@media (max-width: 768px) {
    .login-box {
        padding: 40px 30px;
    }

    .login-logo {
        max-width: 280px;
    }

    .login-box h1 {
        font-size: 1.5em;
    }

    .login-box h2 {
        font-size: 0.45em;
    }
}

@media (max-width: 480px) {
    .login-box {
        padding: 30px 20px;
    }

    .login-logo {
        max-width: 200px;
    }

    .login-box h1 {
        font-size: 1.3em;
    }

    .login-box h2 {
        font-size: 0.4em;
    }
}

/* Fondo 360 Canvas */
#bg360 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Contenedor Principal */
.container {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

/* Header */
.header {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    text-align: center;
    border: 2px solid rgba(253, 102, 0, 0.5);
}

.logo-img {
    max-width: 400px;
    height: auto;
    margin-bottom: 15px;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.5));
    border: 3px solid #fd6600;
    border-radius: 15px;
    padding: 10px;
    background: rgba(0, 0, 0, 0.5);
}

.logo-section h1 {
    font-size: 2.2em;
    color: #fd6600;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    margin-bottom: 5px;
    letter-spacing: 3px;
}

.logo-section .subtitle {
    font-size: 0.9em;
    color: #ddd;
    margin-bottom: 10px;
}

.version-badge {
    background: linear-gradient(135deg, #fd6600 0%, #e05500 100%);
    color: #fff;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: bold;
    display: inline-block;
    margin-top: 10px;
    font-size: 0.9em;
    box-shadow: 0 4px 15px rgba(253, 102, 0, 0.4);
    animation: pulse 2s infinite;
}

/* Toggle Modo Interno */
.internal-mode-toggle {
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 52px;
    height: 28px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 28px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

.toggle-switch input:checked + .toggle-slider {
    background-color: #fd6600;
}

.toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(24px);
}

.toggle-label {
    color: #ddd;
    font-weight: 600;
    font-size: 0.95em;
    user-select: none;
}

/* Ocultar elementos de uso interno por defecto */
.internal-only {
    display: none !important;
}

body.internal-mode .internal-only {
    display: block !important;
}

body.internal-mode .spec-item.internal-only {
    display: flex !important;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.header-info h2 {
    font-size: 1.8em;
    color: #fff;
    margin: 15px 0 10px 0;
}

.header-info .date {
    font-size: 1.3em;
    color: #fd6600;
    font-weight: bold;
    margin: 10px 0;
}

.header-info .contact,
.header-info .web,
.header-info .services {
    font-size: 1em;
    color: #ddd;
    margin: 5px 0;
}

/* Navegación de Pestañas */
.tabs-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.tab-button {
    flex: 1 1 200px;
    padding: 15px 20px;
    background: linear-gradient(135deg, #333 0%, #555 100%);
    color: #fff;
    border: 2px solid transparent;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1em;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.tab-button:hover {
    background: linear-gradient(135deg, #555 0%, #777 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    border-color: #fd6600;
}

.tab-button.active {
    background: linear-gradient(135deg, #fd6600 0%, #e05500 100%);
    border-color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(253, 102, 0, 0.5);
}

/* Contenido de Pestañas */
.tabs-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.6);
    min-height: 600px;
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Secciones */
.section-header {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid #fd6600;
}

.section-header h2 {
    font-size: 1.8em;
    color: #000;
    margin-bottom: 10px;
}

.section-header h3 {
    font-size: 1.4em;
    color: #000;
    margin-bottom: 10px;
}

.click-info {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: #fff;
    padding: 12px 20px;
    border-radius: 10px;
    font-weight: 600;
    margin: 15px 0;
    text-align: center;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.promo {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    color: #fff;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: bold;
    margin: 10px 0;
    text-align: center;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.dollar {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: bold;
    margin: 10px 0;
    text-align: center;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
}

.note {
    background: #fff3cd;
    color: #856404;
    padding: 15px;
    border-radius: 8px;
    border-left: 5px solid #ffc107;
    margin-top: 20px;
    font-style: italic;
}

/* Tablas */
.table-container {
    overflow-x: auto;
    margin: 25px 0;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.table-container h3 {
    font-size: 1.5em;
    color: #000;
    font-weight: 700;
    padding: 15px;
    background: linear-gradient(135deg, #fd6600 0%, #e05500 100%);
    color: #fff;
    border-radius: 10px 10px 0 0;
    text-align: center;
    margin: 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
}

thead {
    background: linear-gradient(135deg, #fd6600 0%, #e05500 100%);
    color: #fff;
}

thead th {
    padding: 18px 15px;
    text-align: left;
    font-weight: 600;
    font-size: 0.95em;
    text-transform: uppercase;
    letter-spacing: 1px;
}

tbody tr {
    border-bottom: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

tbody tr:hover {
    background: #fff0e6;
    transform: scale(1.01);
    box-shadow: 0 4px 15px rgba(253, 102, 0, 0.1);
}

/* Filas clickeables */
tbody tr.clickable-product {
    cursor: pointer;
    position: relative;
}

tbody tr.clickable-product::after {
    content: '👁️ Ver detalles';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #fd6600 0%, #e05500 100%);
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75em;
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

tbody tr.clickable-product:hover::after {
    opacity: 1;
}

tbody tr.clickable-product:hover {
    background: linear-gradient(135deg, #fff5ed 0%, #ffe8d6 100%);
    transform: scale(1.02);
    box-shadow: 0 6px 25px rgba(253, 102, 0, 0.3);
}

tbody tr:last-child {
    border-bottom: none;
}

tbody td {
    padding: 15px;
    color: #333;
    font-size: 0.95em;
}

.price {
    font-weight: bold;
    color: #27ae60;
    font-size: 1.1em;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

/* Modal de Producto */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    overflow-y: auto;
    animation: modalFadeIn 0.3s ease-in-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal.active {
    display: block;
}

.modal-content {
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    margin: 1% auto;
    padding: 0;
    width: 98%;
    max-width: 1400px;
    border-radius: 15px;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.8);
    animation: modalSlideIn 0.4s ease-out;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close-modal {
    position: absolute;
    right: 15px;
    top: 15px;
    font-size: 32px;
    font-weight: bold;
    color: #fd6600;
    cursor: pointer;
    z-index: 1001;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.close-modal:hover {
    background: #fd6600;
    color: #fff;
    transform: rotate(90deg) scale(1.1);
}

.modal-body {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 15px;
    padding: 20px;
}

.modal-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
    padding: 12px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.product-detail-img {
    width: 100%;
    max-width: 280px;
    height: auto;
    border-radius: 10px;
    margin-bottom: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
    object-fit: cover;
}

.modal-product-title {
    font-size: 1.2em;
    color: #fd6600;
    margin-bottom: 6px;
    text-align: center;
    font-weight: bold;
    line-height: 1.1;
}

.modal-product-specs {
    font-size: 0.75em;
    color: #666;
    text-align: center;
    line-height: 1.3;
}

.modal-right {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    overflow-y: auto;
    max-height: 88vh;
    padding-right: 8px;
}

.pricing-section {
    grid-column: 1 / -1;
}

.specs-section {
    grid-column: 1 / 2;
}

.additional-info {
    grid-column: 2 / 3;
}

.modal-right::-webkit-scrollbar {
    width: 8px;
}

.modal-right::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.modal-right::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #fd6600 0%, #e05500 100%);
    border-radius: 10px;
}

.pricing-section,
.specs-section,
.additional-info {
    background: #fff;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
}

.pricing-section h3,
.specs-section h3,
.additional-info h3 {
    color: #fd6600;
    font-size: 0.95em;
    margin-bottom: 8px;
    padding-bottom: 5px;
    border-bottom: 2px solid #fd6600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    font-weight: 700;
}

.price-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 8px 10px;
    border-radius: 8px;
    margin-bottom: 6px;
    border-left: 3px solid #6c757d;
    transition: all 0.3s ease;
}

.price-card:hover {
    transform: translateX(2px);
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
}

.price-card.highlight {
    background: linear-gradient(135deg, #fff5ed 0%, #ffe8d6 100%);
    border-left-color: #fd6600;
}

.price-card.profit {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border-left-color: #4CAF50;
}

.price-card h4 {
    font-size: 0.7em;
    color: #666;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.2px;
    font-weight: 600;
}

.price-card p {
    font-size: 1.3em;
    font-weight: bold;
    color: #000;
    margin: 0;
    line-height: 1.1;
}

.price-card.highlight p.purchase-price {
    color: #fd6600;
}

.price-card.highlight-public {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-left-color: #2196F3;
}

.price-card.highlight-public p.sale-price-public {
    color: #1976D2;
    font-size: 1.6em;
}

.price-card.profit p.profit-margin {
    color: #4CAF50;
}

.price-card small {
    display: block;
    margin-top: 3px;
    color: #666;
    font-size: 0.7em;
    line-height: 1.2;
}

.payment-options {
    margin-top: 8px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.payment-options h4 {
    grid-column: 1 / -1;
    font-size: 0.85em;
    color: #000;
    margin-bottom: 4px;
    font-weight: bold;
}

.payment-option {
    background: #f8f9fa;
    padding: 8px;
    border-radius: 6px;
    border-left: 3px solid #fd6600;
}

.payment-option strong {
    display: block;
    color: #fd6600;
    font-size: 0.8em;
    margin-bottom: 4px;
    font-weight: 600;
}

.payment-option p {
    color: #333;
    font-size: 0.75em;
    font-weight: 600;
    margin: 2px 0;
    line-height: 1.3;
}

.spec-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
}

.spec-item {
    background: #f8f9fa;
    padding: 6px 8px;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.spec-label {
    font-weight: 600;
    color: #666;
    font-size: 0.65em;
}

.spec-value {
    font-weight: bold;
    color: #000;
    font-size: 0.8em;
}

.info-item {
    background: #f8f9fa;
    padding: 6px 8px;
    border-radius: 6px;
    margin-bottom: 6px;
}

.info-item strong {
    display: block;
    color: #fd6600;
    font-size: 0.75em;
    margin-bottom: 3px;
    font-weight: 600;
}

.info-item p {
    color: #333;
    line-height: 1.3;
    margin: 0;
    font-size: 0.7em;
}

/* Subsecciones */
.subsection {
    margin-top: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 5px solid #fd6600;
}

.subsection h3 {
    font-size: 1.5em;
    color: #000;
    margin-bottom: 15px;
}

/* Alquiler Section */
.alquiler-intro {
    background: linear-gradient(135deg, #fff5ed 0%, #ffe8d6 100%);
    padding: 30px;
    border-radius: 15px;
    margin: 25px 0;
    border: 3px solid #fd6600;
    box-shadow: 0 8px 25px rgba(253, 102, 0, 0.15);
}

.alquiler-intro h3 {
    font-size: 1.8em;
    color: #fd6600;
    margin-bottom: 15px;
    font-weight: bold;
}

.alquiler-intro p {
    font-size: 1.2em;
    color: #000;
    margin-bottom: 20px;
    line-height: 1.6;
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
}

.benefits-list li {
    background: #fff;
    padding: 15px 20px;
    border-radius: 10px;
    font-size: 1.1em;
    color: #000;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-left: 5px solid #27ae60;
}

.benefits-list li:hover {
    transform: translateX(5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    padding: 40px 30px;
    border-radius: 15px;
    margin-top: 50px;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(253, 102, 0, 0.3);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h3 {
    color: #fd6600;
    font-size: 1.3em;
    margin-bottom: 15px;
    border-bottom: 2px solid #fd6600;
    padding-bottom: 10px;
}

.footer-section p {
    color: #ddd;
    margin: 8px 0;
    font-size: 0.95em;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(253, 102, 0, 0.3);
    color: #ddd;
}

/* Responsive */
@media (max-width: 1024px) {
    .modal-body {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .modal-left {
        max-width: 100%;
    }

    .modal-right {
        max-height: none;
    }

    .payment-options {
        grid-template-columns: 1fr;
    }

    .spec-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 10px;
    }

    .header {
        padding: 20px;
    }

    .logo-section h1 {
        font-size: 2em;
    }

    .header-info h2 {
        font-size: 1.3em;
    }

    .tabs-nav {
        padding: 15px;
    }

    .tab-button {
        flex: 1 1 100%;
        padding: 12px 15px;
        font-size: 0.9em;
    }

    .tabs-content {
        padding: 20px;
    }

    .section-header h2 {
        font-size: 1.4em;
    }

    table {
        font-size: 0.85em;
    }

    thead th,
    tbody td {
        padding: 10px 8px;
    }

    tbody tr.clickable-product::after {
        display: none;
    }

    .modal-content {
        width: 98%;
        margin: 2% auto;
    }

    .modal-body {
        padding: 15px;
        gap: 15px;
    }

    .modal-left {
        padding: 15px;
    }

    .product-detail-img {
        max-width: 100%;
    }

    .modal-product-title {
        font-size: 1.3em;
    }

    .pricing-section,
    .specs-section,
    .additional-info {
        padding: 12px;
    }

    .spec-grid {
        grid-template-columns: 1fr;
    }

    .payment-options {
        grid-template-columns: 1fr;
    }

    .price-card p {
        font-size: 1.3em;
    }
}

@media (max-width: 480px) {
    .logo-section h1 {
        font-size: 1.5em;
    }

    .header-info h2 {
        font-size: 1.1em;
    }

    .tab-button {
        font-size: 0.85em;
        padding: 10px;
    }

    table {
        font-size: 0.75em;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .modal-product-title {
        font-size: 1.5em;
    }
}

/* Scrollbar personalizada */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #fd6600 0%, #e05500 100%);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #e05500 0%, #cc4a00 100%);
}

/* Print styles */
@media print {
    .modal {
        display: none !important;
    }

    tbody tr.clickable-product::after {
        display: none !important;
    }
}
