/* ==========================================================================
   MOISSENZA | HIGH-END JEWELRY ARCHITECTURE (INSPIRACIÓN TIFFANY)
   ========================================================================== */

/* --- 1. VARIABLES DE LUJO & RESET --- */
:root {
    --color-primary: #000000;
    --color-bg-white: #ffffff;
    --color-bg-light: #f6f6f6; 
    --color-text-body: #333333;
    --color-text-muted: #767676;
    --color-border: #e6e6e6;
    
    --font-heading: 'Playfair Display', 'Didot', 'Georgia', serif;
    --font-body: 'Montserrat', 'Helvetica Neue', 'Arial', sans-serif;
    
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --container-width: 1400px; 
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 180px; 
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg-white);
    color: var(--color-text-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* --- 2. HEADER TIPO TIFFANY (MAGIA DE COLORES Y SCROLL) --- */
.tiffany-header {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    box-sizing: border-box;
    padding: 15px 40px 10px 40px !important; 
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: transparent !important; 
    border-bottom: 1px solid transparent !important;
    transition: background-color 0.4s ease, border-bottom 0.4s ease !important;
    z-index: 1000 !important;
}

/* FONDO BLANCO AL PASAR EL MOUSE O AL HACER SCROLL */
.tiffany-header:hover, .tiffany-header.scrolled {
    background-color: var(--color-bg-white) !important; 
    border-bottom: 1px solid var(--color-border) !important;
}

.header-utility {
    position: absolute;
    top: 35px; 
    left: 0;
    width: 100%;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
    z-index: 20;
}

.utility-left, .utility-right {
    display: flex;
    gap: 15px;
    align-items: center;
}

.icon-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: inherit;
    display: flex;
    align-items: center;
    transition: opacity 0.3s;
}
.icon-btn:hover { opacity: 0.5; }

.cart-icon-container { position: relative; cursor: pointer; }
.cart-count {
    position: absolute;
    top: -6px; right: -8px;
    background: var(--color-primary);
    color: var(--color-bg-white);
    font-size: 0.55rem;
    font-weight: bold;
    width: 16px; height: 16px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}

.header-brand {
    margin: 0 0 5px 0 !important; 
    padding: 0 !important;
    display: flex;
    justify-content: center;
    z-index: 10;
}

/* MAGIA EN EL LOGO (BLANCO A NEGRO) */
.tiffany-logo {
    height: 65px !important; 
    width: auto;
    object-fit: contain;
    display: block;
    filter: brightness(0) invert(1) !important; 
    transition: filter 0.4s ease !important;
}
.tiffany-header:hover .tiffany-logo, .tiffany-header.scrolled .tiffany-logo {
    filter: none !important; 
}

.tiffany-nav {
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 10;
}

.nav-links {
    display: flex !important;
    gap: 25px !important; 
    margin: 0 !important;
    padding: 0 !important;
    align-items: center;
}

/* MAGIA EN LAS LETRAS DEL MENÚ */
.nav-links > li > a {
    font-family: var(--font-body);
    font-size: 0.65rem !important; 
    letter-spacing: 0.15em !important;
    text-transform: uppercase;
    padding: 0 !important;
    padding-bottom: 20px !important;
    font-weight: 400 !important;
    color: #ffffff !important; 
    transition: color 0.4s ease !important;
    position: relative;
}
.tiffany-header:hover .nav-links > li > a, .tiffany-header.scrolled .nav-links > li > a {
    color: #000000 !important; 
}

/* Subrayado animado del menú */
.nav-links > li > a::after {
    content: ''; position: absolute; width: 0; height: 1px;
    bottom: 10px; left: 50%; background-color: currentColor;
    transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: translateX(-50%);
}
.nav-links > li > a:hover::after { width: 100%; }

/* MAGIA EN LOS ÍCONOS */
.icon-btn svg {
    width: 20px !important;
    height: 20px !important;
    stroke-width: 1.2 !important;
    color: #ffffff !important; 
    transition: color 0.4s ease !important;
}
.tiffany-header:hover .icon-btn svg, .tiffany-header.scrolled .icon-btn svg {
    color: #000000 !important; 
}

/* --- 3. SUBMENÚS DESPLEGABLES (DROPDOWNS) --- */
.nav-item { position: relative; }
.dropdown-menu {
    position: absolute;
    top: 100%; left: 50%;
    transform: translateX(-50%) translateY(10px);
    background-color: var(--color-bg-white);
    min-width: 220px;
    padding: 30px 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
    display: flex; flex-direction: column; gap: 20px; text-align: center;
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: all 0.3s ease;
    border: 1px solid var(--color-border);
}
.nav-item:hover .dropdown-menu {
    opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0);
}
.dropdown-menu a {
    font-family: var(--font-body); font-size: 0.7rem; color: var(--color-text-muted) !important;
    text-transform: uppercase; letter-spacing: 0.15em; transition: color 0.3s; display: block;
}
.dropdown-menu a:hover { color: var(--color-primary) !important; }

/* --- 4. HERO SECTION CON VIDEO DE FONDO --- */
.hero {
    height: 100vh; 
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}
.hero-video {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover; z-index: -2;
}
.hero::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.4)); z-index: -1;
}
.hero-content {
    padding: 20px; color: white; opacity: 0; transform: translateY(20px);
    animation: fadeUp 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards; position: relative; z-index: 1;
}
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

.hero-title {
    font-family: var(--font-heading); font-size: 4.5rem; font-weight: 300;
    margin-bottom: 30px; letter-spacing: 0.02em;
}
.btn {
    display: inline-block; padding: 18px 50px; font-family: var(--font-body);
    text-transform: uppercase; letter-spacing: 0.2em; font-size: 0.7rem;
    cursor: pointer; transition: var(--transition); border: 1px solid white;
    background: transparent; color: white;
}
.btn:hover { background-color: white; color: var(--color-primary); }

/* --- 5. PRODUCT GRID (Galería de Joyas) --- */
.container { max-width: var(--container-width); margin: 0 auto; padding: 100px 40px; }
.section-title { font-family: var(--font-heading); text-align: center; font-size: 2.5rem; font-weight: 300; margin-bottom: 60px; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 80px 40px; }
.product-card { cursor: pointer; text-align: left; }
.card-image-container { height: 420px; background-color: var(--color-bg-light); position: relative; overflow: hidden; margin-bottom: 20px; }
.card-image-container img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.5s cubic-bezier(0.16, 1, 0.3, 1); }
.product-card:hover .card-image-container img { transform: scale(1.05); }

.product-name { font-family: var(--font-body); font-size: 0.9rem; font-weight: 400; color: var(--color-text-body); margin-bottom: 8px; letter-spacing: 0.05em; }
.price { font-family: var(--font-body); font-size: 0.9rem; color: var(--color-text-muted); }

.btn-add {
    position: absolute; bottom: -60px; left: 0; width: 100%;
    background: var(--color-primary); color: white; border: none;
    padding: 18px 0; text-transform: uppercase; font-size: 0.7rem;
    letter-spacing: 0.2em; cursor: pointer; transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); opacity: 0;
}
.product-card:hover .btn-add { bottom: 0; opacity: 1; }
.btn-add:hover { background-color: #222; }

/* --- 6. OUR ESSENCE (Editorial) --- */
.essence-section { background-color: var(--color-bg-white); padding: 120px 0; border-top: 1px solid var(--color-border); }
.essence-container { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 100px; padding: 0 40px; }
.essence-image img { width: 100%; height: auto; }
.essence-text .section-title { text-align: left; margin-bottom: 30px; font-size: 2.8rem; }
.essence-text p { font-size: 1.1rem; color: var(--color-text-muted); margin-bottom: 30px; line-height: 2.2; }

/* --- 7. CART SIDEBAR & FOOTER --- */
.cart-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.3); backdrop-filter: blur(5px);
    z-index: 2000; opacity: 0; visibility: hidden; transition: var(--transition);
}
.cart-sidebar {
    position: fixed; top: 0; right: -500px; width: 450px; max-width: 100vw; height: 100%;
    background: var(--color-bg-white); z-index: 2001; 
    /* El padding se movió a .cart-screen para evitar el colapso */
    box-shadow: -10px 0 40px rgba(0,0,0,0.05); transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex; flex-direction: column;
}
.cart-open .cart-overlay { opacity: 1; visibility: visible; }
.cart-open .cart-sidebar { right: 0; }
.cart-header { display: flex; justify-content: space-between; align-items: center; padding-bottom: 20px; border-bottom: 1px solid var(--color-border); }
.cart-title { font-family: var(--font-heading); font-size: 1.8rem; font-weight: 300; }
.close-cart { cursor: pointer; font-size: 2.5rem; background: none; border: none; font-weight: 300; transition: transform 0.3s; }
.close-cart:hover { transform: rotate(90deg); color: var(--color-primary); }
.cart-items { flex-grow: 1; overflow-y: auto; padding-top: 20px;}
.cart-footer { padding-top: 30px; border-top: 1px solid var(--color-border); margin-top: auto; }
.cart-total { display: flex; justify-content: space-between; font-family: var(--font-heading); font-size: 1.5rem; margin-bottom: 30px; }
.btn-whatsapp { width: 100%; background-color: var(--color-primary); color: white; padding: 20px; border: none; text-transform: uppercase; font-size: 0.75rem; letter-spacing: 0.2em; cursor: pointer; transition: background-color 0.3s; }
.btn-whatsapp:hover { background-color: #222; }

.site-footer { background-color: var(--color-bg-light); padding: 80px 40px; text-align: center; }
.site-footer h4 { font-family: var(--font-heading); font-weight: 300; font-size: 1.5rem; margin-bottom: 20px;}
.site-footer ul li { margin-bottom: 10px; }
.site-footer ul li a { font-size: 0.8rem; color: var(--color-text-muted); text-transform: uppercase; letter-spacing: 0.1em;}

/* --- 8. UI COMPONENTS (MODALS, MENÚ MÓVIL, SEARCH, ETC) --- */
.mobile-menu { position: fixed; top: 0; left: -100%; width: 100%; height: 100%; background: white; z-index: 9999; transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1); display: flex; flex-direction: column; }
.mobile-menu.active { left: 0; }
.mobile-menu-header { padding: 20px 30px; display: flex; justify-content: flex-end; }
.close-mobile-menu { font-size: 2.5rem; cursor: pointer; color: black; background: none; border: none; font-weight: 300; line-height: 1; margin-top: -10px;}
.mobile-nav-links { list-style: none; padding: 40px; margin: 0; flex: 1; }
.mobile-nav-links li { margin-bottom: 30px; }
.mobile-nav-links a { font-family: var(--font-heading); font-size: 1.8rem; color: black; text-decoration: none; font-weight: 300; }
.mobile-menu-footer { padding: 40px; text-align: center; color: var(--color-text-muted); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; }

.quick-view-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(255,255,255,0.7); backdrop-filter: blur(5px); z-index: 999; opacity: 0; transition: opacity 0.3s ease; }
.quick-view-overlay.active { display: block; opacity: 1; }
.quick-view-modal { display: none; position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0.95); width: 90%; max-width: 900px; background: white; box-shadow: 0 20px 50px rgba(0,0,0,0.15); z-index: 1000; opacity: 0; transition: all 0.3s ease; overflow: hidden; }
.quick-view-modal.active { display: flex; opacity: 1; transform: translate(-50%, -50%) scale(1); }
.modal-grid { display: grid; grid-template-columns: 1.2fr 1fr; width: 100%; min-height: 500px; }
.modal-gallery { display: flex; flex-direction: column; background-color: var(--color-bg-light); border-right: 1px solid var(--color-border); }
.modal-main-image { flex: 1; display: flex; align-items: center; justify-content: center; overflow: hidden; padding: 20px; }
.modal-main-image img { width: 100%; height: 100%; object-fit: cover; max-height: 450px; transition: opacity 0.3s ease; aspect-ratio: 4/5; }
.modal-thumbnails { display: flex; gap: 15px; padding: 20px; background: white; overflow-x: auto; border-top: 1px solid var(--color-border); justify-content: center; }
.modal-thumb { width: 65px; height: 65px; cursor: pointer; border: 1px solid transparent; opacity: 0.5; transition: all 0.3s; background: var(--color-bg-light); }
.modal-thumb img { width: 100%; height: 100%; object-fit: cover; }
.modal-thumb.active { opacity: 1; border-color: var(--color-primary); box-shadow: 0 4px 10px rgba(0,0,0,0.05); }
.modal-thumb:hover { opacity: 1; }
.modal-details { padding: 50px; display: flex; flex-direction: column; justify-content: center; position: relative; }
.close-modal { position: absolute; top: 20px; right: 20px; background: none; border: none; font-size: 2rem; font-weight: 300; cursor: pointer; color: var(--color-text-muted); transition: color 0.3s; z-index: 10; }
.close-modal:hover { color: black; }
.modal-details .category { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--color-text-muted); }
.modal-details h2 { font-family: var(--font-heading); font-weight: 300; font-size: 2rem; margin: 10px 0; }
.modal-details .price { font-size: 1.2rem; margin-bottom: 30px; font-family: var(--font-body); }
.modal-form-group { margin-bottom: 30px; }
.modal-form-group label { display: block; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--color-text-muted); margin-bottom: 10px; }
.modal-select { width: 100%; padding: 15px; border: 1px solid var(--color-border); font-family: var(--font-body); font-size: 0.9rem; background: transparent; cursor: pointer; }
.btn-modal-add { width: 100%; background-color: var(--color-primary); color: white; padding: 18px; border: none; text-transform: uppercase; letter-spacing: 0.2em; font-size: 0.8rem; cursor: pointer; transition: 0.3s; }
.btn-modal-add:hover { background-color: #222; }

.search-panel { position: fixed; top: -100%; left: 0; width: 100%; background: var(--color-bg-white); z-index: 2000; padding: 60px 40px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); transition: top 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
.search-panel.active { top: 0; }
.search-container { max-width: 800px; margin: 0 auto; position: relative; }
.search-input { width: 100%; border: none; border-bottom: 2px solid var(--color-primary); font-size: 2rem; font-family: var(--font-heading); padding: 15px 0; outline: none; background: transparent; color: var(--color-primary); font-weight: 300; }
.search-input::placeholder { color: var(--color-text-muted); opacity: 0.5; }
.close-search { position: absolute; right: 0; top: 15px; background: none; border: none; font-size: 2rem; cursor: pointer; color: var(--color-text-muted); transition: color 0.3s; }
.close-search:hover { color: var(--color-primary); }
.search-results { margin-top: 40px; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 30px; max-height: 60vh; overflow-y: auto; }
.search-item { display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: opacity 0.3s; }
.search-item:hover { opacity: 0.7; }
.search-item img { width: 100%; aspect-ratio: 1/1; object-fit: cover; background: var(--color-bg-light); margin-bottom: 15px; }
.search-item h4 { font-family: var(--font-body); font-weight: normal; font-size: 0.9rem; margin-bottom: 5px; }
.search-item p { font-family: var(--font-body); font-size: 0.8rem; color: var(--color-text-muted); }

.payment-modal-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(255,255,255,0.8); backdrop-filter: blur(5px); z-index: 2500; opacity: 0; transition: opacity 0.3s ease; }
.payment-modal-overlay.active { display: block; opacity: 1; }
.payment-modal { display: none; position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0.95); width: 90%; max-width: 750px; background: white; box-shadow: 0 20px 50px rgba(0,0,0,0.15); z-index: 2501; opacity: 0; transition: all 0.3s ease; padding: 50px; }
.payment-modal.active { display: block; opacity: 1; transform: translate(-50%, -50%) scale(1); }
.payment-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 20px; }
.payment-item { border: 1px solid var(--color-border); padding: 25px 10px; text-align: center; font-family: var(--font-body); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--color-text-muted); display: flex; align-items: center; justify-content: center; flex-direction: column; transition: all 0.3s; background: var(--color-bg-white); cursor: default; }
.payment-item:hover { border-color: var(--color-primary); color: var(--color-primary); box-shadow: 0 5px 15px rgba(0,0,0,0.05); transform: translateY(-3px); }
.payment-item img, .payment-item svg { height: 22px; margin-bottom: 15px; object-fit: contain; filter: grayscale(100%) opacity(0.6); transition: 0.3s; mix-blend-mode: multiply; }
.payment-item:hover img, .payment-item:hover svg { filter: grayscale(0%) opacity(1); }

.concierge-wrapper { position: fixed; bottom: 30px; left: 30px; z-index: 1500; display: flex; align-items: center; }
.concierge-btn { background-color: var(--color-primary); color: white; width: 55px; height: 55px; border-radius: 50%; display: flex; justify-content: center; align-items: center; text-decoration: none; box-shadow: 0 10px 25px rgba(0,0,0,0.15); transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); position: relative; }
.concierge-btn svg { width: 28px; height: 28px; fill: currentColor; transition: transform 0.3s; }
.concierge-btn:hover { background-color: #25D366; transform: scale(1.1); box-shadow: 0 15px 30px rgba(37,211,102,0.3); }
.concierge-btn:hover svg { transform: rotate(10deg); }
.concierge-tooltip { position: absolute; left: 70px; background-color: white; color: var(--color-primary); padding: 8px 16px; border-radius: 30px; font-family: var(--font-body); font-size: 0.75rem; font-weight: bold; letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap; box-shadow: 0 5px 15px rgba(0,0,0,0.1); opacity: 0; pointer-events: none; transform: translateX(-10px); transition: all 0.3s ease; }
.concierge-btn:hover .concierge-tooltip { opacity: 1; transform: translateX(0); }

.size-guide-link { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--color-text-muted); text-decoration: underline; transition: color 0.3s; cursor: pointer; }
.size-guide-link:hover { color: var(--color-primary); }
.sg-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(255,255,255,0.8); backdrop-filter: blur(5px); z-index: 3000; opacity: 0; transition: opacity 0.3s ease; }
.sg-overlay.active { display: block; opacity: 1; }
.sg-modal { display: none; position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0.95); width: 90%; max-width: 600px; background: white; box-shadow: 0 20px 50px rgba(0,0,0,0.15); z-index: 3001; opacity: 0; transition: all 0.3s ease; padding: 50px; max-height: 90vh; overflow-y: auto; }
.sg-modal.active { display: block; opacity: 1; transform: translate(-50%, -50%) scale(1); }
.sg-title { font-family: var(--font-heading); font-size: 2rem; font-weight: 300; text-align: center; margin-bottom: 30px; }
.sg-tabs { display: flex; justify-content: center; gap: 30px; border-bottom: 1px solid var(--color-border); margin-bottom: 30px; }
.sg-tab { background: none; border: none; padding: 10px 0; font-family: var(--font-body); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--color-text-muted); cursor: pointer; border-bottom: 2px solid transparent; transition: 0.3s; }
.sg-tab.active { color: var(--color-primary); border-bottom-color: var(--color-primary); font-weight: bold;}
.sg-content { display: none; font-family: var(--font-body); line-height: 1.6; color: var(--color-text-muted); font-size: 0.9rem; }
.sg-content.active { display: block; animation: fadeIn 0.4s ease; }
.sg-graphic-container { text-align: center; margin-bottom: 30px; padding: 20px; background-color: var(--color-bg-light); border-radius: 4px; }
.sg-graphic { max-width: 100%; height: auto; border-radius: 2px; mix-blend-mode: multiply; }
.sg-table { width: 100%; border-collapse: collapse; margin-top: 20px; margin-bottom: 30px; }
.sg-table th, .sg-table td { padding: 15px 10px; text-align: center; border-bottom: 1px solid var(--color-border); }
.sg-table th { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--color-primary); }
.sg-table td { color: var(--color-primary); }
.sg-tips h4 { color: var(--color-primary); font-family: var(--font-heading); font-weight: 300; font-size: 1.2rem; margin-bottom: 10px; margin-top: 20px;}
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

#netlify-identity-widget { z-index: 99999 !important; }

/* =========================================
   ESTILOS DEL CHECKOUT MINIMALISTA Y ZELLE
   ========================================= */
.checkout-payment-section { margin-top: 30px; }

.payment-trust-badges {
    margin: 20px 0 15px 0;
    text-align: center;
    border-top: 1px solid var(--color-border);
    padding-top: 15px;
}

.badges-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 10px;
    opacity: 0.5;
}

.badges-grid img {
    height: 22px;
    width: auto;
    object-fit: contain;
}

.checkout-actions { margin-top: 20px; }

.btn-primary-luxe {
    width: 100%;
    padding: 16px;
    background-color: #111;
    color: #fff;
    border: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-primary-luxe:hover {
    background-color: #333;
}

.btn-outline-minimal {
    width: 100%;
    margin-top: 12px;
    padding: 12px;
    background: transparent;
    border: 1px solid #ccc;
    color: #555;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-outline-minimal:hover {
    border-color: #111;
    color: #111;
}

/* Modal Exclusivo de Zelle */
.zelle-modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.6); display: none; 
    justify-content: center; align-items: center; z-index: 999999;
}

.zelle-modal-overlay.active { display: flex; }

.zelle-modal-content {
    background: #fff; padding: 30px; max-width: 400px; width: 90%;
    text-align: center; box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
}

.zelle-data {
    background: #f9f9f9; padding: 15px; margin: 20px 0;
    border: 1px dashed #ccc; font-size: 1.1rem;
}


/* --- 9. RESPONSIVE (MÓVIL) --- */
@media (max-width: 768px) {
    /* Ajustes Header y Menú Móvil */
    .tiffany-header { padding: 15px 20px 10px 20px !important; }
    .header-utility { top: 25px !important; padding: 0 20px !important; }
    .tiffany-logo { height: 45px !important; } 
    .tiffany-nav { display: none !important; } 
    .mobile-menu-toggle { display: inline-flex !important; } 

    /* Ajustes Originales Hero y Essence */
    .hero-title { font-size: 3rem; }
    .essence-container { grid-template-columns: 1fr; text-align: center; gap: 40px; padding: 0 20px;}
    .essence-text .section-title { text-align: center; }

    /* Nuevo: Grid a 2 Columnas para Joyas en Móvil */
    .product-grid { 
        grid-template-columns: 1fr 1fr !important; 
        gap: 15px !important; 
        padding: 0 15px; /* Un poco menos de padding lateral para dar espacio */
    }
    .product-card { padding: 5px !important; }
    
    /* 🌟 EL ARREGLO DE LA IMAGEN: Altura automática proporcional 🌟 */
    .card-image-container { 
        height: auto !important; 
        aspect-ratio: 4/5 !important; /* Mantiene la proporción perfecta de lujo */
        margin-bottom: 10px !important;
    }
    
    .product-name { font-size: 0.75rem !important; margin-bottom: 5px !important; }
    .price { font-size: 0.85rem !important; }
    .btn-add { font-size: 0.65rem !important; padding: 12px 5px !important; }
    .btn-wishlist { width: 30px !important; height: 30px !important; font-size: 1rem !important; top: 8px !important; right: 8px !important; }

    /* Ajustes Modales para Móvil */
    .quick-view-modal { max-height: 90vh; overflow-y: auto; }
    .modal-grid { grid-template-columns: 1fr; }
    .modal-details { padding: 30px; }
    .modal-main-image img { aspect-ratio: 1/1; max-height: 350px; }
    .search-input { font-size: 1.5rem; }
    .search-panel { padding: 40px 20px; }
    .payment-modal { padding: 30px; max-height: 90vh; overflow-y: auto;}
    .concierge-wrapper { bottom: 20px; left: 20px; }
    .concierge-btn { width: 50px; height: 50px; }
    .concierge-btn svg { width: 24px; height: 24px; }
    .concierge-tooltip { display: none; }
    .sg-modal { padding: 30px 20px; }
    .sg-table th, .sg-table td { padding: 10px 5px; font-size: 0.8rem;}
    .sg-graphic-container { padding: 10px; }

    .cart-sidebar { width: 100%; padding: 20px; }
}

/* ==========================================================================
   FIX DEFINITIVO: ANIMACIÓN Y TRANSICIÓN DE PANTALLAS DEL CARRITO
   ========================================================================== */

/* 1. Quitamos el padding original que estrangulaba las pantallas */
#cartSidebar {
    padding: 0 !important;
    overflow-x: hidden !important;
}

/* 2. El contenedor mide el 200% para acomodar las 2 pantallas en fila */
#cartContentWrapper {
    display: flex !important;
    flex-direction: row !important;
    width: 200% !important;
    height: 100% !important;
    position: relative !important;
    transform: translateX(0); /* Posición inicial */
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

/* 3. Cada pantalla mide 50% (la mitad de la cinta) y AQUÍ les damos su padding */
.cart-screen {
    width: 50% !important;
    height: 100% !important;
    padding: 40px !important;
    display: flex !important;
    flex-direction: column !important;
    flex-shrink: 0 !important;
    overflow-y: auto !important;
    position: relative !important;
    background-color: var(--color-bg-white) !important;
}

/* 4. El gatillo: Al hacer checkout, desliza la cinta a la mitad exacta */
.cart-sidebar.show-checkout #cartContentWrapper {
    transform: translateX(-50%) !important;
}

/* 5. Ajuste elegante para teléfonos móviles */
@media (max-width: 768px) {
    .cart-screen {
        padding: 25px !important;
    }
}