/* ============================================================
   ROBOT AQUA — Design System Compartido
   Usado por: index.html, ctx.html y futuras páginas
   ============================================================ */

/* ── Variables de Diseño ─────────────────────────────────── */
:root {
    --robot-pantone: #7BF2DA;
    --robot-dark:    #1a1a1a;
}

/* ── Utilidades de Color ─────────────────────────────────── */
.bg-robot      { background-color: var(--robot-pantone); }
.text-robot    { color: var(--robot-pantone); }
.border-robot  { border-color: var(--robot-pantone); }
.bg-robot-dark { background-color: var(--robot-dark); }
.bg-robot-body { background-color: #f8fafa; }

/* ── Animaciones ─────────────────────────────────────────── */
@keyframes pulse-custom {
    0%   { transform: scale(1);    box-shadow: 0 0 0 0   rgba(123, 242, 218, 0.7); }
    70%  { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(123, 242, 218, 0); }
    100% { transform: scale(1);    box-shadow: 0 0 0 0   rgba(123, 242, 218, 0); }
}
.animate-pulse-cta { animation: pulse-custom 2s infinite; }

@keyframes zoomIn {
    from { transform: scale(0.9); opacity: 0; }
    to   { transform: scale(1);   opacity: 1; }
}

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

@keyframes fadeInScale {
    from { opacity: 0; transform: scale(0.9); }
    to   { opacity: 1; transform: scale(1); }
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ── Widget de WhatsApp ──────────────────────────────────── */
.wa-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}
.wa-button {
    background-color: #25d366;
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}
.wa-chat-box {
    display: none;
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 320px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    overflow: hidden;
    animation: fadeIn 0.5s;
}
.wa-header {
    background: #075e54;
    color: white;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.wa-header img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--robot-pantone);
    object-fit: cover;
}
.wa-body {
    padding: 20px;
    background: #e5ddd5;
    max-height: 200px;
    overflow-y: auto;
}
.wa-msg {
    background: white;
    padding: 12px;
    border-radius: 0 15px 15px 15px;
    font-size: 14px;
    margin-bottom: 10px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}
.wa-input-area {
    padding: 15px;
    background: white;
    display: flex;
    gap: 8px;
}
.wa-input {
    flex: 1;
    border: 1px solid #eee;
    padding: 10px 15px;
    border-radius: 25px;
    font-size: 14px;
    outline: none;
}
.wa-input:focus { border-color: var(--robot-pantone); }
.wa-send {
    background: #25d366;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ── Hero & Tarjetas ─────────────────────────────────────── */
.hero-gradient {
    background: linear-gradient(135deg, #ffffff 0%, #f0fafa 100%);
}
.product-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.product-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* ── Modal Zoom de Imagen ────────────────────────────────── */
.img-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 20px;
}
.img-modal-overlay.open { display: flex; }
.img-modal-content {
    max-width: 1100px;
    width: 100%;
    max-height: 90vh;
    border-radius: 16px;
    overflow: hidden;
    transform: scale(0.9);
    animation: zoomIn 260ms forwards;
}
.img-modal-content img { width: 100%; height: 100%; object-fit: contain; background: #111; }
.img-modal-close {
    position: absolute;
    top: 18px;
    right: 22px;
    background: rgba(255,255,255,0.9);
    width: 40px;
    height: 40px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2100;
}

/* ── Carrito de Compra ───────────────────────────────────── */
.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 3000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.cart-overlay.open {
    opacity: 1;
    pointer-events: all;
}
.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    width: 100%;
    max-width: 440px;
    background: #fff;
    z-index: 3100;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    display: flex;
    flex-direction: column;
    box-shadow: -20px 0 60px rgba(0,0,0,0.2);
}
.cart-drawer.open { transform: translateX(0); }
.cart-header {
    padding: 24px 28px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #1a1a1a;
    color: #fff;
}
.cart-header h2 {
    font-size: 1.2rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.cart-close-btn {
    background: rgba(255,255,255,0.1);
    border: none;
    color: #fff;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    font-size: 1.3rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.cart-close-btn:hover { background: rgba(123,242,218,0.3); }
.cart-items-list {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.cart-item {
    display: flex;
    gap: 14px;
    background: #fafafa;
    border-radius: 18px;
    padding: 14px;
    border: 1px solid #f0f0f0;
    transition: box-shadow 0.2s;
}
.cart-item:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
.cart-item-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 12px;
    flex-shrink: 0;
}
.cart-item-info { flex: 1; }
.cart-item-name {
    font-weight: 800;
    font-size: 0.9rem;
    margin-bottom: 4px;
    color: #1a1a1a;
}
.cart-item-price {
    color: var(--robot-pantone);
    font-weight: 900;
    font-size: 1rem;
    filter: brightness(0.7);
}
.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}
.qty-btn {
    background: #1a1a1a;
    color: #fff;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.qty-btn:hover { background: var(--robot-pantone); color: #1a1a1a; }
.qty-value { font-weight: 900; font-size: 1rem; min-width: 20px; text-align: center; }
.remove-item-btn {
    margin-left: auto;
    background: #fee2e2;
    color: #ef4444;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.remove-item-btn:hover { background: #ef4444; color: #fff; }
.cart-empty {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    padding: 40px;
    text-align: center;
}
.cart-empty i { font-size: 4rem; margin-bottom: 16px; }
.cart-empty p { font-weight: 700; font-size: 1.1rem; }
.cart-footer {
    padding: 24px 28px;
    border-top: 2px solid #f0f0f0;
    background: #fff;
}
.cart-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.cart-total-label  { font-size: 0.85rem; font-weight: 700; color: #6b7280; text-transform: uppercase; letter-spacing: 0.1em; }
.cart-total-amount { font-size: 1.8rem; font-weight: 900; color: #1a1a1a; }
.cart-checkout-btn {
    width: 100%;
    padding: 18px;
    background: #25d366;
    color: #fff;
    border: none;
    border-radius: 18px;
    font-size: 1rem;
    font-weight: 900;
    cursor: pointer;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 8px 25px rgba(37,211,102,0.3);
}
.cart-checkout-btn:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(37,211,102,0.4); }
.cart-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #ef4444;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 900;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.cart-badge.visible { opacity: 1; transform: scale(1); }
.add-to-cart-btn { transition: all 0.3s ease; }
.add-to-cart-btn.added {
    background: var(--robot-pantone) !important;
    color: #1a1a1a !important;
}

/* ── Checkout Modal ──────────────────────────────────────── */
.checkout-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 4000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
}
.checkout-overlay.open { display: flex; }
.checkout-modal {
    background: #fff;
    border-radius: 2rem;
    max-width: 720px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 30px 80px rgba(0,0,0,0.3);
    animation: zoomIn 300ms forwards;
}
.checkout-step         { display: none; }
.checkout-step.active  { display: block; }
.checkout-header {
    background: #1a1a1a;
    color: #fff;
    padding: 24px 32px;
    border-radius: 2rem 2rem 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.checkout-header h2 { font-size: 1.1rem; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; }
.checkout-body { padding: 32px; }
.checkout-input {
    width: 100%;
    padding: 14px 18px;
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 14px;
    font-size: 0.95rem;
    font-weight: 600;
    outline: none;
    transition: border 0.2s;
}
.checkout-input:focus { border-color: var(--robot-pantone); }
.checkout-label {
    font-weight: 800;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #6b7280;
    margin-bottom: 6px;
    display: block;
}
.step-indicator { display: flex; gap: 8px; margin-bottom: 28px; }
.step-dot {
    width: 40px;
    height: 5px;
    border-radius: 99px;
    background: #e5e7eb;
    transition: background 0.3s;
}
.step-dot.active { background: var(--robot-pantone); }
.step-dot.done   { background: #1a1a1a; }
.shipping-rate-card {
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    padding: 16px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 14px;
}
.shipping-rate-card:hover    { border-color: var(--robot-pantone); }
.shipping-rate-card.selected { border-color: var(--robot-pantone); background: rgba(123,242,218,0.08); }
.shipping-rate-card input[type="radio"] { accent-color: var(--robot-pantone); width: 18px; height: 18px; }

/* ── Botones Compartidos ─────────────────────────────────── */
.btn-primary {
    width: 100%;
    padding: 18px;
    background: #1a1a1a;
    color: #fff;
    border: none;
    border-radius: 18px;
    font-size: 1rem;
    font-weight: 900;
    cursor: pointer;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.btn-primary:hover    { background: var(--robot-pantone); color: #1a1a1a; transform: translateY(-2px); }
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.btn-secondary {
    width: 100%;
    padding: 14px;
    background: transparent;
    color: #6b7280;
    border: 2px solid #e5e7eb;
    border-radius: 14px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}
.btn-secondary:hover { border-color: #1a1a1a; color: #1a1a1a; }
.btn-mp {
    width: 100%;
    padding: 18px;
    background: #009ee3;
    color: #fff;
    border: none;
    border-radius: 18px;
    font-size: 1rem;
    font-weight: 900;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 8px 25px rgba(0,158,227,0.3);
}
.btn-mp:hover    { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(0,158,227,0.4); }
.btn-mp:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

/* ── Resumen de Orden ────────────────────────────────────── */
.order-summary-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-weight: 600;
}
.order-summary-line.total {
    font-size: 1.3rem;
    font-weight: 900;
    border-top: 2px solid #e5e7eb;
    padding-top: 16px;
    margin-top: 8px;
}

/* ── Spinner ─────────────────────────────────────────────── */
.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 0.8s linear infinite;
}

/* ── Checkmark de Éxito ──────────────────────────────────── */
.success-checkmark {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--robot-pantone);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    animation: zoomIn 0.5s forwards;
}
.success-checkmark i { font-size: 2.5rem; color: #1a1a1a; }

/* ── Contact Modal ───────────────────────────────────────── */
#contactModal { animation: fadeIn 0.3s ease; }
#contactModal.hidden { display: none !important; }
#contactForm input:focus { box-shadow: 0 0 0 3px rgba(123, 242, 218, 0.1); }
#contactMessage.success {
    background: #d1fae5;
    border-left: 4px solid #10b981;
    color: #065f46;
}
#contactMessage.error {
    background: #fee2e2;
    border-left: 4px solid #ef4444;
    color: #991b1b;
}

/* ── Warranty Modal ──────────────────────────────────────── */
#warrantyModal { animation: fadeIn 0.3s ease; }
#warrantyModal.hidden { display: none !important; }
#warrantyForm input:focus,
#warrantyForm select:focus {
    box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.1);
    border-color: #111827;
}
#warrantyMessage.success {
    background: #dbeafe;
    border-left: 4px solid #1f2937;
    color: #111827;
}
#warrantyMessage.error {
    background: #fee2e2;
    border-left: 4px solid #ef4444;
    color: #991b1b;
}

/* ── Google Calendar Button ──────────────────────────────── */
#googleCalendarContainer {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60px;
}
#googleCalendarContainer button,
#googleCalendarContainer [role="button"] {
    background-color: var(--robot-pantone) !important;
    color: #000 !important;
    padding: 0.625rem 1.75rem !important;
    border-radius: 50px !important;
    font-weight: 900 !important;
    font-size: 0.75rem !important;
    text-transform: uppercase !important;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s ease !important;
    border: none !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    letter-spacing: 0.05em !important;
    height: auto !important;
    min-height: 44px !important;
}
#googleCalendarContainer button:hover,
#googleCalendarContainer [role="button"]:hover {
    filter: brightness(1.05) !important;
    box-shadow: 0 20px 25px -5px rgba(123, 242, 218, 0.3) !important;
}
#googleCalendarContainer button::before,
#googleCalendarContainer [role="button"]::before {
    content: "📅" !important;
    font-size: 1rem !important;
    margin-right: 0.25rem !important;
    display: inline-flex !important;
}
#googleCalendarContainer *:not(button):not([role="button"]) { display: contents; }

/* ── Menú Dropdown de Navegación ─────────────────────────── */
.dropdown { position: relative; display: inline-block; }
.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 4px;
    background: transparent;
    border: 0;
    padding: 0;
    cursor: pointer;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    color: #374151;
    transition: color 0.3s ease;
}
.dropdown-toggle:hover  { color: var(--robot-pantone); }
.dropdown-toggle.active { color: var(--robot-pantone); }
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    min-width: 180px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    margin-top: 8px;
}
.dropdown-menu.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown-menu a,
.dropdown-menu button {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 12px 16px;
    background: transparent;
    border: 0;
    text-align: left;
    color: #374151;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: capitalize;
}
.dropdown-menu a:hover,
.dropdown-menu button:hover {
    background: rgba(123, 242, 218, 0.1);
    color: var(--robot-pantone);
    padding-left: 20px;
}
.dropdown-menu a:first-child,
.dropdown-menu button:first-child { border-radius: 12px 12px 0 0; }
.dropdown-menu a:last-child,
.dropdown-menu button:last-child  { border-radius: 0 0 12px 12px; }

/* Chevron móvil */
#mobileProductosChevron { transition: transform 0.3s ease; }

/* ── Video ───────────────────────────────────────────────── */
.video-container { position: relative; }
.video-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    cursor: pointer;
    transition: background 0.3s ease;
}
.video-overlay:hover { background: rgba(0, 0, 0, 0.5); }
.video-overlay.hidden { display: none; }
.video-play-btn {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}
.video-play-btn:hover {
    background: #fff;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}
.video-play-btn i { font-size: 32px; color: #00b4a6; margin-left: 4px; }

/* ── Video Modal ─────────────────────────────────────────── */
.video-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 5000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}
.video-modal-overlay.active { display: flex; }
.video-modal-container {
    width: 100%;
    max-width: 1000px;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    position: relative;
    animation: zoomIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.video-modal-container video { width: 100%; height: 100%; object-fit: contain; }
.video-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #1a1a1a;
    transition: all 0.3s ease;
    z-index: 5001;
}
.video-modal-close:hover { background: white; transform: scale(1.1) rotate(90deg); }

/* ── Video Thumbnail ─────────────────────────────────────── */
.video-thumbnail {
    width: 100%;
    height: 100%;
    cursor: pointer;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f0f0;
    border-radius: 1.5rem;
    overflow: hidden;
    position: relative;
}
.video-thumbnail:hover { transform: scale(1.02); }
.video-thumbnail img   { width: 100%; height: 100%; object-fit: cover; }
.video-thumbnail-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}
.video-thumbnail:hover .video-thumbnail-overlay { background: rgba(0, 0, 0, 0.4); }
.video-thumbnail-play {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    color: #7BF2DA;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}
.video-thumbnail:hover .video-thumbnail-play {
    transform: scale(1.15);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
}

/* ── Product Modal ───────────────────────────────────────── */
.product-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    padding: 20px;
    overflow-y: auto;
}
.product-modal-overlay.active { display: flex; }
.product-modal-content {
    background: white;
    border-radius: 20px;
    max-width: 1000px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    animation: fadeInScale 300ms ease-out;
}
.product-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    background: white;
    z-index: 10;
}
.product-modal-close {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #666;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
}
.product-modal-close:hover { background: #f3f4f6; color: #000; }
.product-modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding: 30px;
}
@media (max-width: 768px) {
    .product-modal-body { grid-template-columns: 1fr; gap: 20px; padding: 20px; }
}
.product-gallery-section { display: flex; flex-direction: column; gap: 15px; }
.product-gallery-main {
    position: relative;
    background: #f3f4f6;
    border-radius: 15px;
    overflow: hidden;
    aspect-ratio: 1;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}
.product-gallery-main img,
.product-gallery-main video { width: 100%; height: 100%; object-fit: cover; }
.product-gallery-thumbnails {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 10px;
}
.product-gallery-thumb {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s;
}
.product-gallery-thumb img,
.product-gallery-thumb video { width: 100%; height: 100%; object-fit: cover; }
.product-gallery-thumb:hover,
.product-gallery-thumb.active {
    border-color: #7BF2DA;
    box-shadow: 0 0 8px rgba(123, 242, 218, 0.5);
}
.product-info-section h2 { font-size: 28px; font-weight: 900; margin-bottom: 10px; color: #1f2937; }
.product-info-section .price { font-size: 32px; font-weight: 900; color: #7BF2DA; margin-bottom: 20px; }
.product-info-section .stock { font-size: 14px; color: #666; margin-bottom: 20px; }
.product-info-section .description { font-size: 15px; line-height: 1.6; color: #555; margin-bottom: 25px; }
.product-features { background: #f9fafb; padding: 15px; border-radius: 10px; margin-bottom: 20px; }
.product-features h4 { font-weight: 700; margin-bottom: 10px; font-size: 14px; color: #1f2937; }
.product-features ul { list-style: none; padding: 0; margin: 0; }
.product-features li {
    padding: 6px 0;
    font-size: 13px;
    color: #555;
    display: flex;
    align-items: center;
    gap: 8px;
}
.product-features li:before { content: "✓"; color: #7BF2DA; font-weight: bold; font-size: 16px; }
.product-modal-actions { display: flex; gap: 10px; margin-top: 25px; }
.product-modal-actions button {
    flex: 1;
    padding: 14px;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 15px;
}
.btn-add-cart { background: #7BF2DA; color: #000; }
.btn-add-cart:hover { background: #5ed9c1; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(123, 242, 218, 0.3); }
.btn-contact { background: #f3f4f6; color: #1f2937; border: 2px solid #e5e7eb; }
.btn-contact:hover { background: #e5e7eb; border-color: #d1d5db; }
