/* GLOBAL STYLES — EXEAcquisitions Typography & Design Tokens */

:root {
    --font-main: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-heading: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-brand: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
img, svg, button, .nav-menu, .hamburger, .mobile-menu { -webkit-user-select: none; -ms-user-select: none; user-select: none; -webkit-user-drag: none; }
p, h1, h2, h3, h4, li, td, th, address, .info-value, .info-value a, .product-title, .product-material, .product-price, .policy-body-text, .policy-section-copy { -webkit-user-select: text; user-select: text; }
html { overflow-y: scroll; scrollbar-gutter: stable; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; font-family: var(--font-main); background-color: #000000; }
html.light-mode { background-color: #f8f8f8; }
html:not(.theme-ready) *:not(.nav-gold-slider),
html:not(.theme-ready) *::before,
html:not(.theme-ready) *::after {
    transition: none !important;
}
body, button, input, select, textarea { font-family: var(--font-main) !important; }
body { background-color: #000000 !important; color: #ffffff; font-size: 16px; line-height: 1.6; min-height: 100vh; display: flex; flex-direction: column; overflow-x: clip; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; transition: background-color 0.4s ease, color 0.4s ease; position: relative; }
html.light-mode body { background-color: #f8f8f8 !important; color: #111111; }

/* EXEAcquisitions Primary & Secondary Typography Scale & Weights */
.hero-heading {
    font-family: var(--font-heading) !important;
    font-size: clamp(2.35rem, 4.2vw, 3.85rem) !important;
    font-weight: 350 !important;
    letter-spacing: 0.11em !important;
    line-height: 1.15 !important;
    text-transform: uppercase !important;
}
.shop-title,
.page-title,
.studio-title,
.sell-title,
.contact-heading,
.tracker-title,
.modal-title,
.modal-content h2,
.tool-card h2,
.step-heading-small,
.card-title,
.success-page-container h1,
.empty-cart-msg h2,
.cart-header h1,
.product-info h1,
.intro-text,
.vision-section .card-title {
    font-family: var(--font-heading) !important;
    font-weight: 300 !important;
    letter-spacing: 0.06em !important;
    font-style: normal !important;
    text-transform: uppercase !important;
    line-height: 1.2 !important;
}
.hero-eyebrow,
.shop-subtitle,
.page-eyebrow,
.studio-subtitle,
.contact-eyebrow,
.karat-label,
.card-label,
.sidebar-title {
    font-family: var(--font-main) !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.15em !important;
    text-transform: uppercase !important;
}
.hero-description,
.contact-description,
.tool-card p,
.step-description-small,
.success-page-container p.main-msg {
    font-family: var(--font-main) !important;
    font-weight: 400 !important;
    letter-spacing: 0.02em;
    line-height: 1.7 !important;
}

/* EXACT MASTER HEADER STYLING — 1:1 EXEAcquisitions 56px Crisp Header */
.main-header { height: 56px; padding: 0; border-bottom: 1px solid rgba(0, 0, 0, 0.08); width: 100%; position: sticky !important; top: 0; z-index: 1000; background-color: #ffffff !important; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03); transition: background-color 0.3s ease, border-color 0.3s ease; }
.header-container { width: 100%; height: 100%; max-width: none; margin: 0; padding-left: clamp(1.5rem, 3.5vw, 3.5rem); padding-right: clamp(1rem, 2vw, 2rem); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.logo { display: flex; align-items: center; gap: 0.85rem; text-decoration: none; position: relative; z-index: 1001; justify-self: start; transition: opacity 0.2s ease, transform 0.1s ease; }
.logo:hover { opacity: 0.72; }
.logo:active { transform: scale(0.98); }
.logo-image { height: 34px; width: auto; margin-top: 0; object-fit: contain; display: block; transition: opacity 0.3s ease;}
#main-logo-dark { opacity: 0 !important; mix-blend-mode: screen; }
#main-logo-light { opacity: 1 !important; mix-blend-mode: multiply; }
body.light-mode #main-logo-dark { opacity: 1 !important; }
body.light-mode #main-logo-light { opacity: 0 !important; }
.logo-text-group { display: flex; flex-direction: column; line-height: 1.12; transform: translateY(-1px) !important; font-family: var(--font-brand) !important; }
.logo-text-top { font-size: 11.5px; font-weight: 800; letter-spacing: 0.34em; color: #000000; text-transform: uppercase; transition: color 0.4s ease;}
.logo-text-bottom { font-size: 13px; font-weight: 800; letter-spacing: 0.32em; color: #000000; text-transform: uppercase; transition: color 0.4s ease;}
.nav-wrapper { display: contents; }
.nav-menu { position: relative; display: flex; align-items: center; justify-self: center; gap: 1.5rem; transform: none; margin: 0 auto; }
.nav-menu a {
    position: relative;
    font-family: var(--font-main) !important;
    font-size: 14.5px !important;
    font-weight: 500 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    color: #171a20;
    background: none;
    border: none !important;
    border-bottom: 1.5px solid transparent;
    text-decoration: none;
    cursor: pointer;
    padding: 6px 12px 7px 12px;
    border-radius: 4px 4px 0 0;
    pointer-events: auto;
    white-space: nowrap;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.1s ease;
}
.nav-menu a:hover {
    background-color: rgba(0, 0, 0, 0.05);
    color: #000000;
}
.nav-menu a:active {
    transform: scale(0.97);
}
.nav-menu a.active {
    font-weight: 700 !important;
    color: #000000 !important;
    background: transparent;
}
.nav-menu:not(.slider-ready) a.active {
    border-bottom: 1.5px solid #dcb360 !important;
}
.nav-gold-slider {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    background-color: #dcb360;
    border-radius: 2px;
    pointer-events: none;
    will-change: transform, width;
}

.nav-icons {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    justify-self: end !important;
    gap: 0.35rem !important; /* Exact 1:1 EXEAcquisitions .header-utility-icons gap */
    margin-right: 0 !important;
    transform: none !important;
    position: relative;
    overflow: visible;
    color: #171a20;
}

/* 1:1 EXEAcquisitions 36x36 Circular .icon-btn Containers & 23px SVGs (strokeWidth 1.65) */
.nav-icons .theme-toggle-wrapper {
    position: relative;
    width: 36px !important;
    height: 36px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.nav-icons .theme-toggle,
.nav-icons .icon-btn-globe,
.nav-icons #desktop-bag-link {
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: none !important;
    border: none !important;
    padding: 0 !important;
    color: #171a20 !important;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease, color 0.3s ease !important;
}
.nav-icons .theme-toggle {
    color: #dcb360 !important;
}
.nav-icons .theme-toggle svg,
.nav-icons .icon-btn-globe svg.globe-icon,
.nav-icons #desktop-bag-link svg.shopping-bag-icon {
    width: 23px !important;
    height: 23px !important;
    stroke-width: 1.65 !important;
    flex-shrink: 0;
}
.nav-icons > svg.login-icon,
.nav-icons #desktop-admin-trigger {
    width: 36px !important;
    height: 36px !important;
    padding: 6.5px !important; /* 36px - (2 * 6.5px) = exact 23px SVG icon inside 36px circle */
    box-sizing: border-box !important;
    border-radius: 50% !important;
    stroke-width: 1.65 !important;
    cursor: pointer;
    flex-shrink: 0;
    transition: background-color 0.2s ease, transform 0.1s ease, stroke 0.3s ease !important;
}
.nav-icons .theme-toggle:hover,
.nav-icons .icon-btn-globe:hover,
.nav-icons #desktop-bag-link:hover,
.nav-icons #desktop-admin-trigger:hover {
    background-color: rgba(0, 0, 0, 0.06) !important;
}
.nav-icons .theme-toggle:active,
.nav-icons .icon-btn-globe:active,
.nav-icons #desktop-bag-link:active,
.nav-icons #desktop-admin-trigger:active {
    transform: scale(0.93) !important;
}
body.light-mode .nav-icons .icon-btn-globe {
    color: #ffffff !important;
}
body.light-mode .nav-icons .icon-btn-globe svg.globe-icon {
    stroke: #ffffff !important;
}
body.light-mode .nav-icons .theme-toggle:hover,
body.light-mode .nav-icons .icon-btn-globe:hover,
body.light-mode .nav-icons #desktop-bag-link:hover,
body.light-mode .nav-icons #desktop-admin-trigger:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
}

/* Mobile Drawer Globe Icon */
.mobile-globe-btn {
    background: none !important;
    border: none !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #ffffff !important;
    cursor: pointer;
}
.mobile-globe-btn svg.globe-icon {
    width: 30px !important;
    height: 30px !important;
    stroke: #ffffff !important;
    stroke-width: 1.8 !important;
}
body.light-mode .mobile-globe-btn,
body.light-mode .mobile-globe-btn svg.globe-icon {
    color: #171a20 !important;
    stroke: #171a20 !important;
}

/* Compact header admin buttons (Analytics / Sales History) when God Mode is active */
.nav-icons .btn-admin-action,
.nav-icons .btn-sales-trigger {
    height: 32px !important;
    min-width: auto !important;
    padding: 0 14px !important;
    font-size: 11.5px !important;
    margin-right: 6px !important;
}

@media (min-width: 1101px) {
    #mobile-bag-wrapper { display: none !important; }
}
.main-header,
.header-container,
#mobile-bag-wrapper { overflow: visible !important; }

/* Purple God Mode Controls */
.btn-sales-trigger { display: none; background: #9d4edd; color: #fff; border: none; padding: 6px 14px; font-size: 0.6em; font-weight: 800; cursor: pointer; border-radius: 3px; text-transform: uppercase; letter-spacing: 1.5px; transition: all 0.3s ease; box-shadow: 0 4px 10px rgba(157, 78, 221, 0.2); }
.btn-sales-trigger:hover { opacity: 0.8; transform: translateY(-1px); }
.login-icon { width: 22px; height: 22px; stroke: #9d4edd; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; cursor: pointer; transition: stroke 0.3s ease, opacity 0.3s ease; }
.login-icon:hover { stroke: #dcb360; }
.god-mode-badge { display: none; color: #9d4edd; font-size: 0.4em; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; text-shadow: 0 0 10px rgba(157, 78, 221, 0.4); pointer-events: none; position: absolute; bottom: -14px; right: 0; white-space: nowrap; }

/* Competition button: hidden by default; only shown when Firebase says visible */
#enter-comp-btn-main,
html.comp-hidden #enter-comp-btn-main { display: none !important; }
html.comp-visible #enter-comp-btn-main:not([hidden]) { display: inline-flex !important; }

/* Admin-only UI: hidden until auth state resolves (prevents flash) */
html:not(.auth-ready) .admin-analytics-btn,
html:not(.auth-ready) .admin-comp-btn,
html:not(.auth-ready) .btn-sales-trigger,
html:not(.auth-ready) #btn-open-upload,
html:not(.auth-ready) .card-admin-controls,
html:not(.auth-ready) .product-page-admin-controls,
html:not(.auth-ready) #god-mode-indicator,
html:not(.auth-ready) #mobile-god-mode-indicator { display: none !important; }

/* Theme Toggle & Tooltip Styling */
.theme-toggle-wrapper { position: relative; display: flex; align-items: center; justify-content: center; }
.theme-toggle { display: flex; align-items: center; justify-content: center; width: 22px; height: 22px; color: #dcb360; cursor: pointer; }
.theme-toggle svg { width: 100%; height: 100%; transition: fill 0.3s ease, stroke 0.3s ease; }
.theme-tooltip { position: absolute; top: 35px; right: -8px; background-color: #dcb360; color: #000000; font-size: 0.55em; font-weight: 800; padding: 8px 12px; border-radius: 3px; letter-spacing: 1.5px; text-transform: uppercase; box-shadow: 0 4px 15px rgba(0,0,0,0.5); opacity: 0; transform: translateY(-10px); transition: opacity 0.5s ease, transform 0.5s ease; pointer-events: none; white-space: nowrap; }
.theme-tooltip::after { content: ''; position: absolute; top: -4px; right: 14px; width: 8px; height: 8px; background-color: #dcb360; transform: rotate(45deg); }
.theme-tooltip.show { opacity: 1; transform: translateY(0); }

.hamburger { display: none; flex-direction: column; justify-content: center; align-items: center; gap: 4.5px !important; width: 36px !important; height: 36px !important; padding: 0 !important; border-radius: 50%; cursor: pointer; z-index: 1001; transform: none !important; }
.hamburger span { display: block; height: 1.8px !important; width: 20px !important; background-color: #dcb360; border-radius: 2px; transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease; }
.hamburger.active span:nth-child(1) { transform: translateY(6.3px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-6.3px) rotate(-45deg); }

.mobile-menu { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background-color: rgba(0, 0, 0, 0.98); display: flex; flex-direction: column; justify-content: flex-start; padding-top: 160px; padding-bottom: 40px; overflow-y: auto; align-items: center; gap: 35px; z-index: 999; opacity: 0; pointer-events: none; transition: opacity 0.4s ease, background-color 0.4s ease; }
.mobile-menu.active { opacity: 1; pointer-events: auto; }
.mobile-menu > a { position: relative; padding-bottom: 6px; color: #ffffff; text-decoration: none; font-family: var(--font-heading) !important; font-size: 1.5rem !important; font-weight: 300 !important; letter-spacing: 0.08em !important; text-transform: uppercase !important; transition: color 0.3s ease; }
.mobile-menu > a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background-color: #dcb360; border-radius: 2px; box-shadow: 0 0 8px rgba(220, 179, 96, 0.45); transform: scaleX(0); transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1); }
.mobile-menu > a:hover,
.mobile-menu > a.active,
.mobile-menu > a[style*="dcb360"] { color: #dcb360 !important; font-weight: 300 !important; }
.mobile-menu > a:hover::after,
.mobile-menu > a.active::after,
.mobile-menu > a[style*="dcb360"]::after { transform: scaleX(1); }
.mobile-icons { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 20px; color: #dcb360; font-size: 2em; margin-top: 25px; position: relative; }
.mobile-actions-row { display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 30px; }

.mobile-theme-tooltip { position: absolute; top: -40px; left: 50%; transform: translateX(-50%) translateY(10px); background-color: #dcb360; color: #000000; font-size: 0.35em; font-weight: 800; padding: 6px 10px; border-radius: 3px; letter-spacing: 1.5px; text-transform: uppercase; box-shadow: 0 4px 15px rgba(0,0,0,0.5); opacity: 0; pointer-events: none; white-space: nowrap; transition: opacity 0.5s ease, transform 0.5s ease; }
.mobile-theme-tooltip::after { content: ''; position: absolute; bottom: -4px; left: 50%; width: 8px; height: 8px; background-color: #dcb360; transform: translateX(-50%) rotate(45deg); }
.mobile-theme-tooltip.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* SHOP SECTION & EXE-STYLE LUXURY BUTTONS (1:1 EXEAcquisitions Button System) */
.admin-top-bar { display: none; justify-content: center; align-items: center; margin: 40px auto 0; max-width: 1800px; width: 95%; transition: opacity 0.4s ease;}

/* 1. EXE Buttons — Crisp White in Dark Mode, Sleek Dark (#171a20) in Day Mode */
.btn-get-started,
#utility-btn,
.btn-admin-action:where(:not([hidden]):not([style*="display: none"]):not([style*="display:none"])),
.tool-card .btn-admin-action,
.gold-btn,
.btn-submit,
.submit-studio,
.submit-btn,
.comp-submit-btn,
.btn-checkout,
.checkout-btn:where(:not([style*="display: none"]):not([style*="display:none"])),
.btn-return,
.add-to-cart-btn,
.btn-view-product,
.btn-continue-shopping,
.nudge-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    text-align: center !important;
    height: 44px !important;
    min-width: 180px;
    padding: 0 28px !important;
    background-color: #ffffff !important;
    color: #171a20 !important;
    font-family: var(--font-main) !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
    border-radius: 4px !important;
    border: 1px solid #ffffff !important;
    outline: none !important;
    cursor: pointer;
    text-decoration: none !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25) !important;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.1s ease !important;
}
.btn-get-started:hover,
.btn-admin-action:hover,
.tool-card .btn-admin-action:hover,
.gold-btn:hover,
.btn-submit:hover,
.submit-studio:hover,
.submit-btn:hover,
.comp-submit-btn:hover,
.btn-checkout:hover,
.checkout-btn:hover,
.btn-return:hover,
.add-to-cart-btn:hover,
.btn-view-product:hover,
.btn-continue-shopping:hover,
.nudge-btn:hover {
    background-color: #e5e7eb !important;
    border-color: #e5e7eb !important;
    color: #171a20 !important;
    opacity: 1 !important;
    transform: none !important;
}
.btn-get-started:active,
.btn-admin-action:active,
.tool-card .btn-admin-action:active,
.gold-btn:active,
.btn-submit:active,
.submit-studio:active,
.submit-btn:active,
.comp-submit-btn:active,
.btn-checkout:active,
.checkout-btn:active,
.btn-return:active,
.add-to-cart-btn:active,
.btn-view-product:active,
.btn-continue-shopping:active,
.nudge-btn:active {
    transform: scale(0.98) !important;
}

/* Hide legacy gold ticks next to .btn-get-started */
.hero-action .gold-tick {
    display: none !important;
}

/* 2. Inactive Tab Button (for Public Tools / Pro Tools toggle on utility.html) */
.tab-inactive,
.btn-admin-action.tab-inactive {
    background-color: #212631 !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35) !important;
}
.tab-inactive:hover,
.btn-admin-action.tab-inactive:hover {
    background-color: #2e3545 !important;
    border-color: rgba(255, 255, 255, 0.25) !important;
    color: #ffffff !important;
    transform: none !important;
    opacity: 1 !important;
}
.nudge-btn {
    height: 36px !important;
    min-width: 44px !important;
    padding: 0 14px !important;
    border-radius: 4px !important;
    font-family: var(--font-main) !important;
    font-weight: 600 !important;
}

/* 3. EXE Category Filter Buttons (.filter-btn on shop.html) */
.category-nav {
    gap: 0.75rem !important;
}
.cat-link {
    font-family: var(--font-main) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    letter-spacing: 0.05em !important;
    text-transform: uppercase !important;
    padding: 9px 20px !important;
    border-radius: 4px !important;
    background: rgba(255, 255, 255, 0.06) !important;
    color: #94a3b8 !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.1s ease !important;
}
.cat-link:hover {
    background-color: rgba(255, 255, 255, 0.14) !important;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
}
.cat-link:active {
    transform: scale(0.96) !important;
}
.cat-link.active {
    background: #ffffff !important;
    color: #171a20 !important;
    border-color: #ffffff !important;
    font-weight: 700 !important;
}

/* 4. Admin / God Mode & Danger Button Overrides (1:1 EXE Button Style in Purple #9d4edd) */
#god-mode-modal .btn-admin-action,
#logout-modal .btn-admin-action,
button.admin-comp-btn,
button.admin-analytics-btn,
.desktop-analytics,
.mobile-analytics,
#btn-open-upload,
.btn-sales-trigger,
.desktop-sales-btn,
.btn-edit-item {
    display: inline-flex;
    align-items: center !important;
    justify-content: center !important;
    height: 44px !important;
    min-width: 180px;
    padding: 0 28px !important;
    background-color: #9d4edd !important;
    border: 1px solid #9d4edd !important;
    color: #ffffff !important;
    font-family: var(--font-main) !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
    border-radius: 4px !important;
    outline: none !important;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35) !important;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.1s ease !important;
}
#god-mode-modal .btn-admin-action:hover,
#logout-modal .btn-admin-action:hover,
button.admin-comp-btn:hover,
button.admin-analytics-btn:hover,
.desktop-analytics:hover,
.mobile-analytics:hover,
#btn-open-upload:hover,
.btn-sales-trigger:hover,
.desktop-sales-btn:hover,
.btn-edit-item:hover {
    background-color: #8332c4 !important;
    border-color: #8332c4 !important;
    color: #ffffff !important;
    opacity: 1 !important;
    transform: none !important;
}
#god-mode-modal .btn-admin-action:active,
#logout-modal .btn-admin-action:active,
button.admin-comp-btn:active,
button.admin-analytics-btn:active,
.desktop-analytics:active,
.mobile-analytics:active,
#btn-open-upload:active,
.btn-sales-trigger:active,
.desktop-sales-btn:active,
.btn-edit-item:active,
.btn-delete-item:active,
#btn-reset-comp:active {
    transform: scale(0.98) !important;
}

/* EXE Button Style for Red Admin Delete / Reset Actions */
#btn-reset-comp,
.btn-delete-item {
    display: inline-flex;
    align-items: center !important;
    justify-content: center !important;
    height: 44px !important;
    padding: 0 28px !important;
    background-color: #ef4444 !important;
    border: 1px solid #ef4444 !important;
    color: #ffffff !important;
    font-family: var(--font-main) !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
    border-radius: 4px !important;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35) !important;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.1s ease !important;
}
#btn-reset-comp:hover,
.btn-delete-item:hover {
    background-color: #dc2626 !important;
    border-color: #dc2626 !important;
    color: #ffffff !important;
    opacity: 1 !important;
    transform: none !important;
}

/* Compact EXE sizing for header bar & product card admin buttons */
.desktop-analytics,
.desktop-sales-btn {
    height: 34px !important;
    min-width: auto !important;
    padding: 0 16px !important;
    font-size: 12px !important;
}
.btn-edit-item,
.btn-delete-item {
    height: 38px !important;
    min-width: 0 !important;
    width: 100%;
    padding: 0 16px !important;
    font-size: 12px !important;
}
#btn-logout-yes,
#btn-logout-no {
    min-width: 0 !important;
}

.card-admin-controls { margin-bottom: 15px; display: flex; flex-direction: column; gap: 8px; }

/* CUSTOM CURRENCY SELECTOR - TOP LEFT POSITIONING */
.currency-container { position: absolute; top: 82px; left: 40px; z-index: 50; }
.currency-dropdown { background: #080808; color: #a0a0a0; border: 1px solid rgba(220, 179, 96, 0.3); padding: 8px 15px; border-radius: 4px; font-family: var(--font-main) !important; font-size: 0.8em; font-weight: 600; text-transform: uppercase; cursor: pointer; transition: border-color 0.3s ease, color 0.3s ease; display: flex; align-items: center; gap: 8px; position: relative; user-select: none; }
.currency-dropdown:hover { border-color: #dcb360; color: #dcb360; }
.flag-img { width: 18px; height: 13px; object-fit: cover; border-radius: 2px; box-shadow: 0 0 2px rgba(0,0,0,0.5); }
.currency-menu { display: none; position: absolute; top: 100%; left: 0; background: #080808; border: 1px solid rgba(220, 179, 96, 0.3); border-radius: 4px; margin-top: 5px; width: max-content; flex-direction: column; box-shadow: 0 4px 15px rgba(0,0,0,0.5); overflow: hidden; z-index: 100; }
.currency-dropdown.active .currency-menu { display: flex; }
.currency-option { padding: 10px 15px; display: flex; align-items: center; gap: 10px; color: #a0a0a0; transition: background 0.2s ease, color 0.2s ease; cursor: pointer; }
.currency-option:hover { background: rgba(220, 179, 96, 0.1); color: #dcb360; }

/* MODALS & POLICIES */
.modal-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.82); z-index: 2000; justify-content: center; align-items: center; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.modal-content { background-color: #0a0a0a; border: 1px solid rgba(220, 179, 96, 0.42); border-radius: 6px; width: 90%; max-width: 500px; padding: 40px; position: relative; transition: background-color 0.4s ease; max-height: 85vh; overflow-y: auto; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.75); }
.close-modal { background: transparent; border: none; padding: 0; font-family: inherit; position: absolute; top: 15px; right: 25px; color: #dcb360; font-size: 2em; cursor: pointer; transition: opacity 0.3s ease;}
.close-modal:hover { opacity: 0.7; }
.modal-title { font-family: var(--font-heading) !important; color: #dcb360; font-size: 1.8em; font-weight: 300 !important; letter-spacing: 0.06em !important; font-style: normal !important; text-transform: uppercase !important; margin-bottom: 25px; text-align: center; }

.admin-form { display: flex; flex-direction: column; gap: 15px; }
.admin-form input { width: 100%; padding: 15px; background-color: #111111; border: 1px solid rgba(220, 179, 96, 0.4); color: #ffffff; border-radius: 4px; outline: none; user-select: text; -webkit-user-select: text; transition: background-color 0.4s ease, border-color 0.3s ease, color 0.4s ease; font-family: var(--font-main) !important;}
.admin-form input:focus { border-color: #dcb360; }

/* FOOTER STYLING — EXACT EXEAcquisitions #05070a IN DARK MODE, CRISP OFF-WHITE IN DAY MODE */
#shared-footer-mount { min-height: 49px; display: block; width: 100%; margin-top: auto; }
.main-footer { border-top: 1px solid rgba(255, 255, 255, 0.08); padding: 12px 40px; margin-top: auto; display: flex; justify-content: space-between; align-items: center; background-color: #05070a; flex-wrap: wrap; gap: 15px; transition: background-color 0.4s ease, border-color 0.4s ease; }
.footer-left { flex: 1; display: flex; justify-content: flex-start; color: #8e98a8; font-size: 0.8em; font-weight: 500; letter-spacing: 1px; transition: color 0.4s ease; }
.footer-center { display: flex; justify-content: center; gap: 40px; }
.footer-link { background: transparent !important; border: none !important; box-shadow: none !important; padding: 0 !important; margin: 0; appearance: none; -webkit-appearance: none; font-family: var(--font-main) !important; color: #94a3b8; font-size: 0.65em; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; cursor: pointer; transition: color 0.3s ease; }
.footer-link:hover { color: #ffffff; }
.footer-link:focus-visible { outline: 1px solid #dcb360; outline-offset: 4px; border-radius: 2px; }
.footer-right { flex: 1; display: flex; justify-content: flex-end; gap: 20px; align-items: center; }
.payment-brand { display: flex; align-items: center; color: #8e98a8; fill: #8e98a8; cursor: pointer; transition: all 0.3s ease; }
.payment-brand:hover { color: #ffffff; fill: #ffffff; }
.payment-brand svg { transition: fill 0.3s ease; vertical-align: middle; }

/* Shopping Bag Colors:
   - Desktop header (.main-header) is inverted: White in Dark Mode (#171a20 icon), Black in Day Mode (#ffffff icon)
   - Mobile drawer (.mobile-menu / #mobile-nav-overlay) matches page theme: Dark (#111111) in Dark Mode (#ffffff icon), Light (#f9f9f9) in Day Mode (#171a20 icon) */
.main-header .shopping-bag-icon { color: #171a20 !important; stroke: #171a20 !important; }
.main-header .cart-badge { background: #171a20 !important; color: #ffffff !important; }
.mobile-menu .shopping-bag-icon,
#mobile-nav-overlay .shopping-bag-icon { color: #ffffff !important; stroke: #ffffff !important; }
.mobile-menu .cart-badge,
#mobile-nav-overlay .cart-badge { background: #ffffff !important; color: #000000 !important; }

.policy-body-text { color: #cccccc; line-height: 1.8; font-size: 0.95em; transition: color 0.4s ease; }
.policy-body-text b { color: #ffffff; display: block; margin-top: 25px; margin-bottom: 5px; font-size: 1.1em; letter-spacing: 1px; text-transform: uppercase; transition: color 0.4s ease;}
.policy-body-text strong { transition: color 0.4s ease; }

/* LIGHT MODE OVERRIDES — BLACK HEADER & OFF-WHITE FOOTER ON LIGHT PAGE */
body.light-mode { background-color: #f8f8f8 !important; color: #111111; }
body.light-mode .modal-content { background-color: #ffffff; }
body.light-mode .main-header { background-color: #000000 !important; border-bottom-color: rgba(220, 179, 96, 0.28); box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25); }
body.light-mode .logo-text-top, body.light-mode .logo-text-bottom { color: #ffffff; }
body.light-mode .nav-menu a { color: rgba(255, 255, 255, 0.92); }
body.light-mode .nav-menu a:hover { background-color: rgba(255, 255, 255, 0.08); color: #dcb360; }
body.light-mode .nav-menu a.active { color: #dcb360 !important; font-weight: 700 !important; background: transparent; }
body.light-mode .nav-menu:not(.slider-ready) a.active { border-bottom: 1.5px solid #dcb360 !important; }
body.light-mode .nav-gold-slider { background-color: #dcb360; box-shadow: 0 0 8px rgba(220, 179, 96, 0.45); }
body.light-mode .main-header .shopping-bag-icon { color: #ffffff !important; stroke: #ffffff !important; }
body.light-mode .main-header .cart-badge { background: #ffffff !important; color: #000000 !important; }
body.light-mode .mobile-menu .shopping-bag-icon,
body.light-mode #mobile-nav-overlay .shopping-bag-icon { color: #171a20 !important; stroke: #171a20 !important; }
body.light-mode .mobile-menu .cart-badge,
body.light-mode #mobile-nav-overlay .cart-badge { background: #171a20 !important; color: #ffffff !important; }

body.light-mode .main-footer { background-color: #f1f2f4 !important; border-top-color: rgba(0, 0, 0, 0.08); }
body.light-mode .footer-left { color: #64748b; }
body.light-mode .footer-link { color: #475569; }
body.light-mode .footer-link:hover { color: #171a20; }
body.light-mode .payment-brand { color: #64748b; fill: #64748b; }
body.light-mode .payment-brand:hover { color: #171a20; fill: #171a20; }
body.light-mode .mobile-menu { background-color: rgba(255, 255, 255, 0.98) !important; }
body.light-mode .mobile-menu > a { color: #111111 !important; }
body.light-mode .mobile-menu > a:hover,
body.light-mode .mobile-menu > a.active,
body.light-mode .mobile-menu > a[style*="dcb360"] { color: #dcb360 !important; }

/* Light mode EXE Buttons: Dark (#171a20) in Day Mode */
body.light-mode .btn-get-started,
body.light-mode #utility-btn,
body.light-mode #enter-comp-btn-main,
body.light-mode .btn-admin-action:where(:not(.admin-comp-btn):not(.admin-analytics-btn):not(#btn-open-upload):not(#btn-reset-comp)),
body.light-mode .tool-card .btn-admin-action,
body.light-mode .gold-btn,
body.light-mode .btn-submit,
body.light-mode .submit-studio,
body.light-mode .submit-btn,
body.light-mode .comp-submit-btn,
body.light-mode .btn-checkout,
body.light-mode .checkout-btn,
body.light-mode .btn-return,
body.light-mode .btn-view-product,
body.light-mode .add-to-cart-btn,
body.light-mode .btn-continue-shopping,
body.light-mode .nudge-btn {
    background-color: #171a20 !important;
    border-color: #171a20 !important;
    color: #ffffff !important;
}
body.light-mode .btn-get-started:hover,
body.light-mode #utility-btn:hover,
body.light-mode #enter-comp-btn-main:hover,
body.light-mode .btn-admin-action:where(:not(.admin-comp-btn):not(.admin-analytics-btn):not(#btn-open-upload):not(#btn-reset-comp)):hover,
body.light-mode .tool-card .btn-admin-action:hover,
body.light-mode .gold-btn:hover,
body.light-mode .btn-submit:hover,
body.light-mode .submit-studio:hover,
body.light-mode .submit-btn:hover,
body.light-mode .comp-submit-btn:hover,
body.light-mode .btn-checkout:hover,
body.light-mode .checkout-btn:hover,
body.light-mode .btn-return:hover,
body.light-mode .btn-view-product:hover,
body.light-mode .add-to-cart-btn:hover,
body.light-mode .btn-continue-shopping:hover,
body.light-mode .nudge-btn:hover {
    background-color: #000000 !important;
    border-color: #000000 !important;
    color: #ffffff !important;
}
body.light-mode .tab-inactive,
body.light-mode .btn-admin-action.tab-inactive {
    background-color: #ffffff !important;
    color: #171a20 !important;
    border: 1px solid #171a20 !important;
}
body.light-mode .tab-inactive:hover,
body.light-mode .btn-admin-action.tab-inactive:hover {
    background-color: #f0f2f5 !important;
    border-color: #171a20 !important;
    color: #171a20 !important;
}
body.light-mode .cat-link {
    background: rgba(0, 0, 0, 0.05) !important;
    color: #555555 !important;
    border-color: rgba(0, 0, 0, 0.12) !important;
}
body.light-mode .cat-link:hover {
    background: rgba(0, 0, 0, 0.1) !important;
    color: #171a20 !important;
}
body.light-mode .cat-link.active {
    background: #171a20 !important;
    color: #ffffff !important;
    border-color: #171a20 !important;
}

body.light-mode .policy-body-text b, body.light-mode .policy-body-text strong { color: #111111 !important; }
body.light-mode .admin-form input { background-color: #f0f0f0; color: #111; border-color: #ccc; }
body.light-mode #god-email, body.light-mode #god-password { background-color: #f0f0f0 !important; color: #111 !important; border-color: #ccc !important; }
body.light-mode .policy-body-text { color: #444444; }

body.light-mode .currency-dropdown { background-color: #ffffff; color: #555555; border-color: #ccc; }
body.light-mode .currency-dropdown:hover, body.light-mode .currency-dropdown:focus { border-color: #dcb360; color: #111111; }
body.light-mode .currency-menu { background-color: #ffffff; border-color: #ccc; box-shadow: 0 4px 15px rgba(0,0,0,0.1); }
body.light-mode .currency-option { color: #555555; }
body.light-mode .currency-option:hover { background: #f0f0f0; color: #111111; }

@media (max-width: 1300px) {
    .main-footer { flex-direction: column; text-align: center; gap: 30px; }
    .footer-left, .footer-right { justify-content: center; width: 100%; flex: auto; }
    .footer-center { flex-wrap: wrap; justify-content: center; gap: 20px; }
}
@media (max-width: 1100px) {
    .header-container { display: flex; justify-content: space-between; align-items: center; }
    .nav-wrapper { display: none !important; }
    #mobile-bag-wrapper { display: flex !important; align-items: center; }
    #mobile-bag-wrapper > a { display: none !important; }
    .hamburger { display: flex !important; }
}
@media (max-width: 900px) {
    .currency-container { position: relative; top: 0; left: 0; display: flex; justify-content: center; margin-bottom: 25px; margin-top: 20px; z-index: 50; }
    .currency-menu { left: 50%; transform: translateX(-50%); }
}
/* Cart count badge on bag icon */
.cart-badge {
    position: absolute;
    top: -8px;
    right: -10px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 999px;
    background: #dcb360 !important;
    color: #000 !important;
    font-size: 10px;
    font-weight: 800;
    line-height: 1;
    display: none !important;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 20;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

#desktop-bag-link .cart-badge {
    top: -1px !important;
    right: -2px !important;
    font-family: var(--font-main) !important;
}
.cart-badge.is-active {
    display: flex !important;
}

/* Mobile header: hide the outer mobile bag wrapper so the bag only lives inside the drawer next to Login */
#mobile-bag-wrapper > a { display: none !important; }

body.light-mode .cart-badge {
    background: #ffffff !important;
    color: #000000 !important;
}

.gbp-checkout-notice { font-size: 0.72em; color: #888; margin-top: 12px; line-height: 1.5; text-align: center; font-style: italic; }
body.light-mode .gbp-checkout-notice { color: #666; }

@media (max-width: 600px) { 
    .header-container { padding: 0 16px; } 
    .logo-image { height: 34px; margin-top: 0; } 
    .logo-text-group { transform: translateY(-1px) !important; } 
    .logo-text-top { font-size: 0.70em; letter-spacing: 2.2px; } 
    .logo-text-bottom { font-size: 0.80em; letter-spacing: 2.2px; } 
    .hamburger { transform: none !important; } 
    .modal-content { padding: 30px 20px; } 
    .modal-title { font-size: 1.5em; } 
    .main-footer { padding: 12px 15px; } 
    .footer-right { flex-wrap: wrap; gap: 15px; } 
}

/* Skeleton loaders — pure CSS, no JS overhead */
@keyframes skeleton-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.skeleton-shimmer {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.04) 25%, rgba(220, 179, 96, 0.1) 50%, rgba(255, 255, 255, 0.04) 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.4s ease-in-out infinite;
}

.skeleton-line {
    height: 14px;
    border-radius: 4px;
    margin: 0 auto;
}

.skeleton-line--sm { width: 45%; height: 12px; margin-bottom: 15px; }
.skeleton-line--md { width: 65%; height: 16px; margin-bottom: 8px; }
.skeleton-line--price { width: 35%; height: 18px; margin-bottom: 25px; }

.skeleton-block {
    border-radius: 4px;
}

.skeleton-card .skeleton-img {
    width: 100%;
    height: 320px;
    margin-bottom: 25px;
    border-radius: 4px;
}

.skeleton-card .skeleton-btn {
    width: 100%;
    height: 48px;
}

.skeleton-card { pointer-events: none; }

.product-grid.is-loading .skeleton-card { display: block; }
.product-grid:not(.is-loading) .skeleton-card { display: none; }

.product-container.is-loading .product-loaded-ui { display: none !important; }
.product-container.is-loading .product-skeleton-ui { display: flex; }
.product-container:not(.is-loading) .product-skeleton-ui { display: none; }

.product-skeleton-ui {
    flex-direction: column;
    gap: 14px;
    width: 100%;
}

.product-skeleton-ui .skeleton-line--title { width: 85%; height: 36px; margin: 0 0 6px 0; }
.product-skeleton-ui .skeleton-line--sub { width: 55%; height: 18px; margin: 0 0 10px 0; }
.product-skeleton-ui .skeleton-line--size { width: 40%; height: 14px; margin: 0 0 0 0; }
.product-skeleton-ui .skeleton-line--price-lg { width: 42%; height: 32px; margin: 80px 0 25px 0; }
.product-skeleton-ui .skeleton-btn-lg { width: 100%; max-width: 400px; height: 54px; border-radius: 4px; }

.product-gallery-skeleton {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 6px;
    border: 1px solid rgba(220, 179, 96, 0.15);
}

.product-container.is-loading .slider-viewport,
.product-container.is-loading .slider-controls-desktop { display: none; }
.product-container.is-loading .product-gallery-skeleton { display: block; }
.product-container:not(.is-loading) .product-gallery-skeleton { display: none; }

.shop-empty-msg {
    grid-column: 1 / -1;
    text-align: center;
    color: #666;
    padding: 60px 20px;
    font-size: 0.95em;
    letter-spacing: 1px;
}

body.light-mode .skeleton-shimmer {
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.04) 25%, rgba(220, 179, 96, 0.12) 50%, rgba(0, 0, 0, 0.04) 75%);
    background-size: 200% 100%;
}

@media (prefers-reduced-motion: reduce) {
    .skeleton-shimmer {
        animation: none;
        background: rgba(255, 255, 255, 0.06);
    }
    body.light-mode .skeleton-shimmer { background: rgba(0, 0, 0, 0.06); }
}

/* ==========================================================================
   EXEAcquisitions 1:1 Regional Market & Currency Selector Modal (.tesla-modal-*)
   ========================================================================== */
.tesla-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}
.tesla-modal-window {
    width: 100%;
    max-width: 960px;
    max-height: 88vh;
    background-color: #ffffff;
    color: #171a20;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.35);
    font-family: var(--font-main);
}
.tesla-modal-header {
    padding: 2rem 2.5rem 1.25rem 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    background: #ffffff;
}
.tesla-header-left {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}
.tesla-header-title {
    font-family: var(--font-heading) !important;
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    color: #171a20 !important;
    margin: 0 !important;
    letter-spacing: -0.02em !important;
    text-transform: none !important;
}
.tesla-tab-pills {
    display: flex;
    gap: 0.65rem;
    align-items: center;
}
.tesla-tab-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.95rem;
    border-radius: 20px;
    font-family: var(--font-main);
    font-size: 0.82rem;
    font-weight: 600;
    border: 1px solid #171a20;
    background: #171a20;
    color: #ffffff;
}
.tesla-tab-pill .flag-img {
    width: 18px;
    height: 13px;
    border-radius: 2px;
    object-fit: cover;
}
.tesla-close-btn {
    background: none !important;
    border: none !important;
    color: #171a20 !important;
    cursor: pointer;
    padding: 8px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: background-color 0.2s ease !important;
}
.tesla-close-btn:hover {
    background-color: #f4f4f4 !important;
}
.tesla-modal-search-row {
    padding: 0 2.5rem 1.25rem 2.5rem;
    background: #ffffff;
}
.tesla-search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}
.tesla-search-icon {
    position: absolute;
    left: 1rem;
    color: #8e8e93;
    pointer-events: none;
}
.tesla-search-input {
    width: 100%;
    height: 42px;
    background: #f4f4f4 !important;
    border: 1px solid transparent !important;
    border-radius: 8px !important;
    padding: 0 2.5rem 0 2.6rem !important;
    color: #171a20 !important;
    font-family: var(--font-main) !important;
    font-size: 14px !important;
    transition: all 0.2s ease;
    user-select: text;
    -webkit-user-select: text;
}
.tesla-search-input:focus {
    outline: none;
    background: #ffffff !important;
    border-color: #171a20 !important;
    box-shadow: 0 0 0 1px #171a20;
}
.tesla-search-clear {
    position: absolute;
    right: 0.75rem;
    background: none !important;
    border: none !important;
    color: #8e8e93 !important;
    cursor: pointer;
    padding: 4px !important;
}
.tesla-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 0 2.5rem 2rem 2.5rem;
}
.tesla-currencies-runway {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.tesla-currency-banner {
    padding: 0.85rem 1.25rem;
    background: #f8f8f8;
    border-radius: 8px;
    border-left: 3px solid #171a20;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    text-align: left;
}
.tesla-currency-base-tag {
    font-size: 0.88rem;
    color: #171a20;
}
.tesla-currency-sub-tag {
    font-size: 0.76rem;
    color: #64748b;
}
.tesla-currencies-grid.currency-menu {
    position: static !important;
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.65rem;
    width: 100% !important;
    max-height: none !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    overflow: visible !important;
    transform: none !important;
}
.tesla-currency-row.currency-option {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0.75rem 0.85rem !important;
    border-radius: 8px !important;
    border: 1px solid #eeeeee !important;
    background: #fafafa !important;
    color: #171a20 !important;
    cursor: pointer;
    text-align: left !important;
    transition: all 0.2s ease !important;
}
.tesla-currency-row.currency-option:hover {
    background-color: #f4f4f4 !important;
    border-color: #d1d5db !important;
    color: #171a20 !important;
}
.tesla-currency-row.currency-option.selected {
    background-color: #eeeeee !important;
    border-color: #171a20 !important;
    box-shadow: 0 0 0 1px #171a20 !important;
}
.tesla-currency-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.tesla-currency-symbol {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: #171a20;
    min-width: 28px;
    text-align: center;
}
.tesla-currency-title-wrap {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.tesla-currency-title-wrap .flag-img {
    width: 18px;
    height: 13px;
    border-radius: 2px;
    object-fit: cover;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}
.tesla-currency-code {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    color: #171a20;
}
.tesla-currency-name {
    font-size: 0.76rem;
    color: #5c5e62;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 130px;
}
.tesla-currency-rate {
    font-size: 0.72rem;
    color: #8e8e93;
    font-weight: 500;
    display: block;
    margin-top: 2px;
}
.tesla-check-icon {
    color: #171a20;
    flex-shrink: 0;
}
.tesla-modal-footer {
    padding: 1.25rem 2.5rem;
    border-top: 1px solid #eeeeee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
}
.tesla-footer-status {
    font-size: 0.85rem;
    color: #5c5e62;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.tesla-footer-status strong {
    color: #171a20;
}
.tesla-done-btn {
    height: 40px !important;
    min-width: 110px !important;
    padding: 0 24px !important;
    border-radius: 4px !important;
    background: #171a20 !important;
    border: 1px solid #171a20 !important;
    color: #ffffff !important;
    font-family: var(--font-main) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease !important;
}
.tesla-done-btn:hover {
    background: #000000 !important;
}
.tesla-done-btn:active {
    transform: scale(0.97) !important;
}
@media (max-width: 900px) {
    .tesla-currencies-grid.currency-menu {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 640px) {
    .tesla-modal-header,
    .tesla-modal-search-row,
    .tesla-modal-body,
    .tesla-modal-footer {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }
    .tesla-currencies-grid.currency-menu {
        grid-template-columns: 1fr;
    }
    .tesla-modal-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 0.85rem;
    }
    .tesla-done-btn {
        width: 100% !important;
    }
}

/* ==========================================================================
   Inverted Feature Boxes / Card Containers (Opposite of Page Theme)
   - 1:1 EXEAcquisitions Smooth 12px Rounded Corners, Proportions & High-Contrast Text
   - Dark Mode (Black Page): Crisp White (#ffffff) Cards with Dark Text & Dark Buttons
   - Day Mode (Light Page): Sleek Black (#0a0a0a) Cards with White Text & White Buttons
   ========================================================================== */
.shop-sidebar,
.product-card,
.design-card,
.vision-box,
.steps-horizontal-box,
.price-card,
.contact-right,
.tool-card,
.cart-summary {
    border-radius: 12px !important;
}

/* Tighter, purposeful layout for Custom Studio step cards (eliminates wasted space) */
.design-card {
    padding: 24px 28px !important;
}
.design-card .card-label {
    margin-bottom: 6px !important;
}
.design-card .card-content-row {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
}
.design-card .custom-select,
.design-card .exe-select-wrap {
    max-width: 100% !important;
    width: 100% !important;
}

/* Remove native textarea resize corner ticks (//) */
textarea.form-input,
.vision-box {
    resize: none !important;
}

/* Higher-contrast page-level secondary text */
body:not(.light-mode) .hero-description,
body:not(.light-mode) .contact-description,
body:not(.light-mode) .vision-disclaimer,
body:not(.light-mode) .social-text,
body:not(.light-mode) .return-to-shop,
body:not(.light-mode) .tracker-title span {
    color: #d1d5db !important;
}
body.light-mode .hero-description,
body.light-mode .contact-description,
body.light-mode .vision-disclaimer,
body.light-mode .social-text,
body.light-mode .return-to-shop,
body.light-mode .tracker-title span {
    color: #1f2937 !important;
}

body:not(.light-mode) .shop-sidebar,
body:not(.light-mode) .mobile-filter-dropdown,
body:not(.light-mode) .product-card,
body:not(.light-mode) .design-card,
body:not(.light-mode) .vision-box,
body:not(.light-mode) .steps-horizontal-box,
body:not(.light-mode) .price-card,
body:not(.light-mode) .contact-right,
body:not(.light-mode) .tool-card,
body:not(.light-mode) .cart-summary {
    background: #ffffff !important;
    background-color: #ffffff !important;
    border-color: rgba(220, 179, 96, 0.35) !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(0, 0, 0, 0.05) !important;
}

body:not(.light-mode) .shop-sidebar .filter-group h4,
body:not(.light-mode) .mobile-filter-dropdown,
body:not(.light-mode) .product-card .product-title,
body:not(.light-mode) .design-card .card-title,
body:not(.light-mode) .vision-box,
body:not(.light-mode) .price-card .price-value,
body:not(.light-mode) .tool-card h2,
body:not(.light-mode) .tool-card .live-val,
body:not(.light-mode) .cart-summary .summary-total {
    color: #111111 !important;
}

body:not(.light-mode) .shop-sidebar .filter-label,
body:not(.light-mode) .product-card .product-material,
body:not(.light-mode) .steps-horizontal-box .step-description-small,
body:not(.light-mode) .tool-card p,
body:not(.light-mode) .cart-summary .summary-row,
body:not(.light-mode) .cart-summary .trust-signal-item.secondary {
    color: #1f2937 !important;
    font-weight: 500 !important;
}

body:not(.light-mode) .shop-sidebar .filter-label:hover {
    color: #dcb360 !important;
}

body:not(.light-mode) .product-card .product-image-container {
    background: rgba(0, 0, 0, 0.04) !important;
    border-radius: 8px !important;
}

body:not(.light-mode) .product-card .skeleton-shimmer {
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.05) 25%, rgba(220, 179, 96, 0.14) 50%, rgba(0, 0, 0, 0.05) 75%) !important;
    background-size: 200% 100% !important;
}

body:not(.light-mode) .design-card .custom-select {
    color: #171a20 !important;
    background-color: #f4f4f6 !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
}

body:not(.light-mode) .vision-box::placeholder {
    color: #334155 !important;
    font-weight: 500 !important;
    opacity: 0.9 !important;
}

body:not(.light-mode) .contact-right .form-input {
    color: #111111 !important;
    border-bottom: 1.5px solid rgba(23, 26, 32, 0.45) !important;
    font-weight: 500 !important;
}

body:not(.light-mode) .contact-right .form-input:focus {
    border-bottom-color: #dcb360 !important;
}

body:not(.light-mode) .contact-right .form-input::placeholder {
    color: #171a20 !important;
    font-weight: 600 !important;
    opacity: 0.85 !important;
}

body:not(.light-mode) .steps-horizontal-box .step-item:not(:last-child)::after {
    top: 10% !important;
    height: 80% !important;
    background: rgba(17, 17, 17, 0.25) !important;
}

/* Nested Price Cards inside White .tool-card in Dark Mode -> Sleek Black */
body:not(.light-mode) .tool-card .price-card {
    background: #14161b !important;
    background-color: #14161b !important;
    border-color: rgba(220, 179, 96, 0.35) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16) !important;
}

body:not(.light-mode) .tool-card .price-card .price-value {
    color: #ffffff !important;
}

body:not(.light-mode) .tracker-title span {
    color: #e5e7eb !important;
    font-weight: 500 !important;
}

body:not(.light-mode) .tool-card .tracker-title span {
    color: #1f2937 !important;
    font-weight: 500 !important;
}

/* Buttons INSIDE White Boxes in Dark Mode -> Dark (#171a20) */
body:not(.light-mode) .product-card .btn-view-product,
body:not(.light-mode) .contact-right .btn-submit,
body:not(.light-mode) .tool-card .btn-admin-action,
body:not(.light-mode) .cart-summary .btn-checkout {
    background-color: #171a20 !important;
    border-color: #171a20 !important;
    color: #ffffff !important;
}

body:not(.light-mode) .product-card .btn-view-product:hover,
body:not(.light-mode) .contact-right .btn-submit:hover,
body:not(.light-mode) .tool-card .btn-admin-action:hover,
body:not(.light-mode) .cart-summary .btn-checkout:hover {
    background-color: #000000 !important;
    border-color: #000000 !important;
    color: #ffffff !important;
}

/* Day Mode (body.light-mode — Light Page): Sleek Black (#0a0a0a) Cards */
body.light-mode .shop-sidebar,
body.light-mode .mobile-filter-dropdown,
body.light-mode .product-card,
body.light-mode .design-card,
body.light-mode .vision-box,
body.light-mode .steps-horizontal-box,
body.light-mode .price-card,
body.light-mode .contact-right,
body.light-mode .tool-card,
body.light-mode .cart-summary {
    background: #0a0a0a !important;
    background-color: #0a0a0a !important;
    border-color: rgba(220, 179, 96, 0.35) !important;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.18) !important;
}

body.light-mode .shop-sidebar .filter-group h4,
body.light-mode .mobile-filter-dropdown,
body.light-mode .product-card .product-title,
body.light-mode .design-card .card-title,
body.light-mode .vision-box,
body.light-mode .price-card .price-value,
body.light-mode .tool-card h2,
body.light-mode .tool-card .live-val,
body.light-mode .cart-summary .summary-total {
    color: #ffffff !important;
}

body.light-mode .shop-sidebar .filter-label,
body.light-mode .product-card .product-material,
body.light-mode .steps-horizontal-box .step-description-small,
body.light-mode .tool-card p,
body.light-mode .cart-summary .summary-row,
body.light-mode .cart-summary .trust-signal-item.secondary {
    color: #e5e7eb !important;
    font-weight: 500 !important;
}

body.light-mode .shop-sidebar .filter-label:hover {
    color: #dcb360 !important;
}

body.light-mode .product-card .product-image-container {
    background: rgba(255, 255, 255, 0.04) !important;
    border-radius: 8px !important;
}

body.light-mode .product-card .skeleton-shimmer {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.06) 25%, rgba(220, 179, 96, 0.14) 50%, rgba(255, 255, 255, 0.06) 75%) !important;
    background-size: 200% 100% !important;
}

body.light-mode .design-card .custom-select {
    color: #ffffff !important;
    background-color: #16181d !important;
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    border-radius: 8px !important;
}

body.light-mode .vision-box::placeholder {
    color: #e2e8f0 !important;
    font-weight: 500 !important;
    opacity: 0.88 !important;
}

body.light-mode .contact-right .form-input {
    color: #ffffff !important;
    border-bottom: 1.5px solid rgba(255, 255, 255, 0.5) !important;
    font-weight: 500 !important;
}

body.light-mode .contact-right .form-input:focus {
    border-bottom-color: #dcb360 !important;
}

body.light-mode .contact-right .form-input::placeholder {
    color: #f1f5f9 !important;
    font-weight: 600 !important;
    opacity: 0.88 !important;
}

/* Nested Price Cards inside Black .tool-card in Day Mode -> Crisp White */
body.light-mode .tool-card .price-card {
    background: #ffffff !important;
    background-color: #ffffff !important;
    border-color: rgba(220, 179, 96, 0.35) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25) !important;
}

body.light-mode .tool-card .price-card .price-value {
    color: #111111 !important;
}

body.light-mode .tracker-title span {
    color: #1f2937 !important;
    font-weight: 500 !important;
}

body.light-mode .tool-card .tracker-title span {
    color: #e5e7eb !important;
    font-weight: 500 !important;
}

/* ==========================================================================
   EXEAcquisitions Custom Luxury Select Dropdown (.exe-select-*)
   ========================================================================== */
.exe-select-wrap {
    position: relative;
    width: 100%;
    font-family: var(--font-main);
    user-select: none;
}

.exe-select-trigger {
    width: 100%;
    height: 44px;
    padding: 0 16px;
    border-radius: 8px;
    background: #f4f4f6;
    border: 1px solid #cbd5e1;
    color: #171a20;
    font-family: var(--font-main);
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    cursor: pointer;
    transition: background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
    text-align: left;
}

.exe-select-trigger:hover {
    background: #ebedf0;
    border-color: #94a3b8;
}

.exe-select-wrap.is-open .exe-select-trigger {
    background: #ffffff;
    border-color: #171a20;
    box-shadow: 0 0 0 1px #171a20;
}

.exe-select-chevron {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: #475569;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), color 0.18s ease;
}

.exe-select-wrap.is-open .exe-select-chevron {
    transform: rotate(180deg);
    color: #171a20;
}

.exe-select-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    width: 100%;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.04);
    padding: 6px;
    z-index: 1500;
    display: none;
    flex-direction: column;
    gap: 2px;
    max-height: 260px;
    overflow-y: auto;
    animation: portalBubbleIn 0.16s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.exe-select-wrap.is-open .exe-select-menu {
    display: flex;
}

.exe-select-option {
    width: 100%;
    padding: 10px 12px;
    border-radius: 6px;
    border: none;
    background: transparent;
    color: #171a20;
    font-family: var(--font-main);
    font-size: 13.5px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    text-align: left;
    transition: background-color 0.14s ease, color 0.14s ease;
}

.exe-select-option:hover {
    background: #f1f5f9;
    color: #000000;
}

.exe-select-option.is-selected {
    background: #171a20;
    color: #ffffff;
    font-weight: 600;
}

/* Day Mode (Inside Black Cards -> Sleek Dark Dropdown Surface) */
body.light-mode .design-card .exe-select-trigger,
body.light-mode .exe-select-wrap.in-dark-surface .exe-select-trigger {
    background: #181a20;
    border-color: rgba(255, 255, 255, 0.22);
    color: #ffffff;
}

body.light-mode .design-card .exe-select-trigger:hover {
    background: #22252d;
    border-color: rgba(255, 255, 255, 0.4);
}

body.light-mode .design-card .exe-select-wrap.is-open .exe-select-trigger {
    background: #181a20;
    border-color: #dcb360;
    box-shadow: 0 0 0 1px #dcb360;
}

body.light-mode .design-card .exe-select-chevron {
    color: #cbd5e1;
}

body.light-mode .design-card .exe-select-wrap.is-open .exe-select-chevron {
    color: #dcb360;
}

body.light-mode .design-card .exe-select-menu {
    background: #14161b;
    border-color: rgba(220, 179, 96, 0.35);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
}

body.light-mode .design-card .exe-select-option {
    color: #f1f5f9;
}

body.light-mode .design-card .exe-select-option:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

body.light-mode .design-card .exe-select-option.is-selected {
    background: #ffffff;
    color: #171a20;
}

/* Modal selects (White modal in Dark Mode -> Light surface; Black modal in Day Mode -> Dark surface) */
body.light-mode .modal-content .exe-select-trigger {
    background: #181a20 !important;
    border-color: rgba(255, 255, 255, 0.22) !important;
    color: #ffffff !important;
}
body.light-mode .modal-content .exe-select-trigger:hover {
    background: #22252d !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
}
body.light-mode .modal-content .exe-select-wrap.is-open .exe-select-trigger {
    background: #181a20 !important;
    border-color: #dcb360 !important;
    box-shadow: 0 0 0 1px #dcb360 !important;
}
body.light-mode .modal-content .exe-select-chevron {
    color: #cbd5e1 !important;
}
body.light-mode .modal-content .exe-select-wrap.is-open .exe-select-chevron {
    color: #dcb360 !important;
}
body.light-mode .modal-content .exe-select-menu {
    background: #14161b !important;
    border-color: rgba(220, 179, 96, 0.35) !important;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55) !important;
}
body.light-mode .modal-content .exe-select-option {
    color: #f1f5f9 !important;
}
body.light-mode .modal-content .exe-select-option:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
}
body.light-mode .modal-content .exe-select-option.is-selected {
    background: #ffffff !important;
    color: #171a20 !important;
}

/* ==========================================================================
   All Modals (Utility Tools, Policy, Admin, Forms) — Inverted Day/Night Specs
   ========================================================================== */
#ring-circle {
    box-sizing: content-box !important;
}

.check-line {
    max-width: 100% !important;
}

.modal-content {
    border-radius: 14px !important;
    padding: 36px 32px !important;
    overflow: visible !important;
    transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease !important;
}

.modal-content .close-modal {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    top: 16px !important;
    right: 16px !important;
    font-size: 22px !important;
    line-height: 1 !important;
    transition: background-color 0.18s ease, color 0.18s ease !important;
}

/* 1. DARK MODE (Black Page -> Crisp White Modals) */
body:not(.light-mode) .modal-content {
    background: #ffffff !important;
    border: 1px solid rgba(220, 179, 96, 0.35) !important;
    box-shadow: 0 25px 65px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(0, 0, 0, 0.04) !important;
    color: #111111 !important;
}

body:not(.light-mode) .modal-content h2,
body:not(.light-mode) .modal-content .modal-title {
    color: #111111 !important;
}

body:not(.light-mode) .modal-content p,
body:not(.light-mode) .modal-content label,
body:not(.light-mode) #policy-body p,
body:not(.light-mode) .modal-content .checkbox-label,
body:not(.light-mode) .modal-content .hallmark-result,
body:not(.light-mode) .modal-content .tolerance-table,
body:not(.light-mode) .modal-content .tolerance-table td,
body:not(.light-mode) .modal-content .sale-record {
    color: #1f2937 !important;
    font-weight: 500 !important;
}

body:not(.light-mode) .modal-content .hallmark-result strong,
body:not(.light-mode) .modal-content .sale-record b,
body:not(.light-mode) #alloy-total-result,
body:not(.light-mode) #ring-scale-details,
body:not(.light-mode) #stone-primary,
body:not(.light-mode) #stone-alt,
body:not(.light-mode) .modal-content .stat-val {
    color: #111111 !important;
}

body:not(.light-mode) .modal-content .data-panel,
body:not(.light-mode) .modal-content .analytics-box,
body:not(.light-mode) .modal-content .draw-box,
body:not(.light-mode) .modal-content .image-slot {
    background: #f8fafc !important;
    border-color: #e2e8f0 !important;
    border-radius: 10px !important;
}

body:not(.light-mode) .modal-content .tolerance-table th {
    background: #f8fafc !important;
    color: #b78a28 !important;
    border-bottom-color: #e2e8f0 !important;
}

body:not(.light-mode) .modal-content .tolerance-table td,
body:not(.light-mode) .modal-content .hallmark-result,
body:not(.light-mode) .modal-content .sale-record {
    border-bottom-color: #e2e8f0 !important;
}

body:not(.light-mode) .modal-content .input-field,
body:not(.light-mode) .modal-content .admin-form input:not([type="checkbox"]):not([type="file"]),
body:not(.light-mode) .modal-content .admin-form select,
body:not(.light-mode) .modal-content .comp-form input,
body:not(.light-mode) .modal-content .contact-form input,
body:not(.light-mode) .modal-content .pack-form input {
    background: #f4f4f6 !important;
    border: 1px solid #cbd5e1 !important;
    color: #171a20 !important;
    border-radius: 8px !important;
    font-weight: 500 !important;
}

body:not(.light-mode) .modal-content .input-field:focus,
body:not(.light-mode) .modal-content .admin-form input:not([type="checkbox"]):not([type="file"]):focus,
body:not(.light-mode) .modal-content .comp-form input:focus,
body:not(.light-mode) .modal-content .contact-form input:focus,
body:not(.light-mode) .modal-content .pack-form input:focus {
    background: #ffffff !important;
    border-color: #171a20 !important;
    box-shadow: 0 0 0 1px #171a20 !important;
}

body:not(.light-mode) .modal-content .input-field::placeholder,
body:not(.light-mode) .modal-content .admin-form input::placeholder,
body:not(.light-mode) .modal-content .comp-form input::placeholder,
body:not(.light-mode) .modal-content .contact-form input::placeholder,
body:not(.light-mode) .modal-content .pack-form input::placeholder {
    color: #475569 !important;
    font-weight: 500 !important;
    opacity: 1 !important;
}

body:not(.light-mode) #scrap-spot-display {
    background: #171a20 !important;
    color: #dcb360 !important;
    border-color: #171a20 !important;
}

body:not(.light-mode) .modal-content .btn-admin-action:not(#btn-reset-comp),
body:not(.light-mode) .modal-content .submit-btn,
body:not(.light-mode) .modal-content .comp-submit-btn,
body:not(.light-mode) .modal-content .nudge-btn {
    background: #171a20 !important;
    color: #ffffff !important;
    border: 1px solid #171a20 !important;
    border-radius: 8px !important;
}

body:not(.light-mode) .modal-content .btn-admin-action:not(#btn-reset-comp):hover,
body:not(.light-mode) .modal-content .submit-btn:hover,
body:not(.light-mode) .modal-content .comp-submit-btn:hover,
body:not(.light-mode) .modal-content .nudge-btn:hover {
    background: #2b303c !important;
    color: #ffffff !important;
}

body:not(.light-mode) .modal-content .close-modal {
    color: #475569 !important;
}

body:not(.light-mode) .modal-content .close-modal:hover {
    color: #111111 !important;
    background: rgba(0, 0, 0, 0.06) !important;
}

/* 2. DAY MODE (Light Page -> Sleek Black Modals) */
body.light-mode .modal-content {
    background: #0a0a0a !important;
    border: 1px solid rgba(220, 179, 96, 0.35) !important;
    box-shadow: 0 25px 65px rgba(0, 0, 0, 0.38) !important;
    color: #ffffff !important;
}

body.light-mode .modal-content h2,
body.light-mode .modal-content .modal-title {
    color: #ffffff !important;
}

body.light-mode .modal-content p,
body.light-mode .modal-content label,
body.light-mode #policy-body p,
body.light-mode .modal-content .checkbox-label,
body.light-mode .modal-content .hallmark-result,
body.light-mode .modal-content .tolerance-table,
body.light-mode .modal-content .tolerance-table td,
body.light-mode .modal-content .sale-record {
    color: #e5e7eb !important;
    font-weight: 500 !important;
}

body.light-mode .modal-content .hallmark-result strong,
body.light-mode .modal-content .sale-record b,
body.light-mode #alloy-total-result,
body.light-mode #ring-scale-details,
body.light-mode #stone-primary,
body.light-mode #stone-alt,
body.light-mode .modal-content .stat-val {
    color: #ffffff !important;
}

body.light-mode .modal-content .data-panel,
body.light-mode .modal-content .analytics-box,
body.light-mode .modal-content .draw-box,
body.light-mode .modal-content .image-slot {
    background: #14161b !important;
    border-color: rgba(255, 255, 255, 0.14) !important;
    border-radius: 10px !important;
}

body.light-mode .modal-content .tolerance-table th {
    background: #14161b !important;
    color: #dcb360 !important;
    border-bottom-color: rgba(255, 255, 255, 0.14) !important;
}

body.light-mode .modal-content .tolerance-table td,
body.light-mode .modal-content .hallmark-result,
body.light-mode .modal-content .sale-record {
    border-bottom-color: rgba(255, 255, 255, 0.12) !important;
}

body.light-mode .modal-content .input-field,
body.light-mode .modal-content .admin-form input:not([type="checkbox"]):not([type="file"]),
body.light-mode .modal-content .admin-form select,
body.light-mode .modal-content .comp-form input,
body.light-mode .modal-content .contact-form input,
body.light-mode .modal-content .pack-form input {
    background: #181a20 !important;
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    color: #ffffff !important;
    border-radius: 8px !important;
    font-weight: 500 !important;
}

body.light-mode .modal-content .input-field:focus,
body.light-mode .modal-content .admin-form input:not([type="checkbox"]):not([type="file"]):focus,
body.light-mode .modal-content .comp-form input:focus,
body.light-mode .modal-content .contact-form input:focus,
body.light-mode .modal-content .pack-form input:focus {
    background: #181a20 !important;
    border-color: #dcb360 !important;
    box-shadow: 0 0 0 1px #dcb360 !important;
}

body.light-mode .modal-content .input-field::placeholder,
body.light-mode .modal-content .admin-form input::placeholder,
body.light-mode .modal-content .comp-form input::placeholder,
body.light-mode .modal-content .contact-form input::placeholder,
body.light-mode .modal-content .pack-form input::placeholder {
    color: #cbd5e1 !important;
    font-weight: 500 !important;
    opacity: 1 !important;
}

body.light-mode .modal-content .btn-admin-action:not(#btn-reset-comp),
body.light-mode .modal-content .submit-btn,
body.light-mode .modal-content .comp-submit-btn,
body.light-mode .modal-content .nudge-btn {
    background: #ffffff !important;
    color: #171a20 !important;
    border: 1px solid #ffffff !important;
    border-radius: 8px !important;
}

body.light-mode .modal-content .btn-admin-action:not(#btn-reset-comp):hover,
body.light-mode .modal-content .submit-btn:hover,
body.light-mode .modal-content .comp-submit-btn:hover,
body.light-mode .modal-content .nudge-btn:hover {
    background: #f1f5f9 !important;
    color: #000000 !important;
}

body.light-mode .modal-content .close-modal {
    color: #9ca3af !important;
}

body.light-mode .modal-content .close-modal:hover {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.1) !important;
}

body.light-mode .steps-horizontal-box .step-item:not(:last-child)::after {
    top: 10% !important;
    height: 80% !important;
    background: rgba(255, 255, 255, 0.3) !important;
}

/* Buttons INSIDE Black Boxes in Day Mode -> Crisp White (#ffffff) */
body.light-mode .product-card .btn-view-product,
body.light-mode .contact-right .btn-submit,
body.light-mode .tool-card .btn-admin-action,
body.light-mode .cart-summary .btn-checkout {
    background-color: #ffffff !important;
    border-color: #ffffff !important;
    color: #171a20 !important;
}

body.light-mode .product-card .btn-view-product:hover,
body.light-mode .contact-right .btn-submit:hover,
body.light-mode .tool-card .btn-admin-action:hover,
body.light-mode .cart-summary .btn-checkout:hover {
    background-color: #e5e7eb !important;
    border-color: #e5e7eb !important;
    color: #171a20 !important;
}

/* ==========================================================================
   EXEAcquisitions 1:1 Client Portal Dropdown Bubble & Top-Right Admin Shield
   ========================================================================== */
.nav-icons #desktop-admin-trigger {
    stroke: #171a20 !important;
}
body.light-mode .nav-icons #desktop-admin-trigger {
    stroke: #ffffff !important;
}
.mobile-menu #mobile-admin-trigger {
    stroke: #ffffff !important;
}
body.light-mode .mobile-menu #mobile-admin-trigger {
    stroke: #171a20 !important;
}

.client-portal-bubble {
    position: absolute;
    top: calc(100% + 14px);
    right: -8px;
    width: 360px;
    background-color: #ffffff !important;
    color: #171a20 !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 12px !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.05) !important;
    padding: 1.75rem !important;
    z-index: 2500 !important;
    text-align: left !important;
    animation: portalBubbleIn 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    box-sizing: border-box !important;
}

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

.portal-bubble-caret {
    position: absolute;
    bottom: 100%;
    right: 18px;
    border-width: 6px;
    border-style: solid;
    border-color: transparent transparent #ffffff transparent;
}

.portal-login-header {
    margin-bottom: 1.25rem;
}

.portal-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-family: var(--font-main);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: #8e8e93 !important;
    text-transform: uppercase;
    margin-bottom: 0.4rem;
}

.portal-login-title {
    font-family: var(--font-main);
    font-size: 1.4rem;
    font-weight: 700;
    color: #171a20 !important;
    margin: 0 0 0.35rem 0;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.portal-login-desc {
    font-family: var(--font-main);
    font-size: 0.82rem;
    color: #5c5e62 !important;
    line-height: 1.45;
    margin: 0;
}

.btn-google-sso,
.btn-apple-sso {
    width: 100%;
    height: 42px;
    background: #ffffff !important;
    color: #171a20 !important;
    font-family: var(--font-main);
    font-size: 13px;
    font-weight: 600;
    border-radius: 6px;
    border: 1px solid #e2e8f0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    cursor: pointer;
    margin-bottom: 0.6rem;
    transition: all 0.18s ease;
    box-shadow: none !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}

.btn-google-sso:hover {
    background: #f8fafc !important;
    border-color: #cbd5e1 !important;
}

.btn-apple-sso {
    background: #171a20 !important;
    color: #ffffff !important;
    border: 1px solid #171a20 !important;
    margin-bottom: 0;
}

.btn-apple-sso:hover {
    background: #000000 !important;
}

.portal-creds-form {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.portal-input-group {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.portal-input-label {
    font-family: var(--font-main);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #5c5e62 !important;
}

.portal-text-input {
    width: 100%;
    height: 40px;
    background: #f4f4f4 !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 6px !important;
    padding: 0 2.2rem 0 0.75rem !important;
    color: #171a20 !important;
    font-family: var(--font-main);
    font-size: 13px;
    transition: all 0.18s ease;
    box-sizing: border-box !important;
    user-select: text !important;
    -webkit-user-select: text !important;
}

.portal-text-input::placeholder {
    color: #9ca3af !important;
}

.portal-text-input:focus {
    outline: none;
    background: #ffffff !important;
    border-color: #171a20 !important;
    box-shadow: 0 0 0 1px #171a20 !important;
}

.portal-key-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.portal-key-icon {
    position: absolute;
    right: 0.75rem;
    color: #8e8e93;
    pointer-events: none;
}

.portal-submit-btn {
    width: 100% !important;
    height: 42px !important;
    margin-top: 0.35rem;
    border-radius: 6px !important;
    background: #171a20 !important;
    border: 1px solid #171a20 !important;
    color: #ffffff !important;
    font-family: var(--font-main) !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
    cursor: pointer;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: background-color 0.2s ease, transform 0.1s ease !important;
}

.portal-submit-btn:hover {
    background: #000000 !important;
    border-color: #000000 !important;
    color: #ffffff !important;
}

/* Top-Right Admin Access Shield Button */
.portal-admin-shield-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
    color: #6b7280;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 20;
    padding: 0;
}

.portal-admin-shield-btn:hover {
    background: rgba(0, 0, 0, 0.08) !important;
    color: #171a20 !important;
    border-color: #d1d5db !important;
    transform: scale(1.05);
}

.portal-admin-shield-btn.is-active {
    background: rgba(16, 185, 129, 0.12) !important;
    border-color: #10b981 !important;
    color: #10b981 !important;
}

.portal-admin-shield-btn.is-active:hover {
    background: #10b981 !important;
    color: #ffffff !important;
}

.portal-admin-view {
    animation: portalFadeIn 0.18s ease-in-out forwards;
}

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

.portal-admin-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.25rem;
}

.portal-admin-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    color: #1f2937;
    font-family: var(--font-main);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 6px;
    transition: all 0.18s ease;
}

.portal-admin-back-btn:hover {
    background-color: #171a20;
    border-color: #171a20;
    color: #ffffff;
}

.portal-admin-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #6b7280;
    background: #f3f4f6;
    padding: 3px 8px;
    border-radius: 4px;
}

.portal-admin-error {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 0.8rem;
    background: #fef2f2;
    border: 1px solid #fee2e2;
    border-radius: 6px;
    color: #ef4444;
    font-size: 0.78rem;
    font-weight: 500;
    margin-bottom: 0.4rem;
}

.portal-admin-active-box {
    padding-top: 0.35rem;
}

.admin-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 4px 10px;
    border-radius: 9999px;
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.admin-pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 6px rgba(16, 185, 129, 0.6);
}

.portal-signout-btn {
    width: 100%;
    height: 38px;
    background: none;
    border: 1px solid #fecaca;
    color: #dc2626;
    border-radius: 6px;
    font-family: var(--font-main);
    font-size: 0.82rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.18s ease;
}

.portal-signout-btn:hover {
    background: #fef2f2;
    border-color: #f87171;
}

/* Authenticated Client View */
.portal-auth-header {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.portal-avatar-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #f4f4f4;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #171a20;
}

.portal-badge-row {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.25rem;
}

.portal-tier-badge {
    font-family: var(--font-main);
    font-size: 0.68rem;
    font-weight: 700;
    color: #8e8e93;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.portal-verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    font-size: 0.68rem;
    font-weight: 600;
    color: #10b981;
}

.portal-client-name {
    font-family: var(--font-main);
    font-size: 1.05rem;
    font-weight: 700;
    color: #171a20;
    line-height: 1.2;
    margin: 0;
}

.portal-client-org {
    font-size: 0.75rem;
    color: #5c5e62;
    margin: 2px 0 0 0;
}

.portal-divider {
    height: 1px;
    background: #e5e7eb;
    margin: 1rem 0;
}

/* ==========================================================================
   EXEAcquisitions 1:1 Header Action Hover Tooltip Bubbles (.icon-tooltip-bubble)
   ========================================================================== */
.nav-icon-wrapper {
    position: relative;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Hide legacy gold theme-tooltip on desktop since .icon-tooltip-bubble replaces it */
.nav-icons #theme-tooltip {
    display: none !important;
}

.icon-tooltip-bubble {
    position: absolute;
    top: calc(100% + 9px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    background-color: #171a20 !important;
    color: #ffffff !important;
    font-family: var(--font-main) !important;
    font-size: 11.5px !important;
    font-weight: 600 !important;
    letter-spacing: 0.04em !important;
    line-height: 1.2 !important;
    padding: 5px 12px !important;
    border-radius: 4px !important;
    white-space: nowrap !important;
    pointer-events: none !important;
    opacity: 0;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    transition: opacity 0.18s ease, transform 0.18s ease !important;
    z-index: 2600 !important;
    text-transform: none !important;
}

.icon-tooltip-bubble::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 4px;
    border-style: solid;
    border-color: transparent transparent #171a20 transparent;
}

.nav-icon-wrapper:hover .icon-tooltip-bubble {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.nav-icon-wrapper.is-open .icon-tooltip-bubble,
.nav-icon-wrapper:hover.is-open .icon-tooltip-bubble {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    display: none !important;
}

.user-active-dot {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #10b981;
    border: 1.5px solid #ffffff;
    pointer-events: none;
}

#exe-portal-mobile-backdrop .client-portal-bubble {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    width: 100% !important;
    max-width: 380px !important;
    margin: auto !important;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.45) !important;
}

#exe-portal-mobile-backdrop .portal-bubble-caret {
    display: none !important;
}

/* ==========================================================================
   Production Polish: Scrollable Modals, Structured UK Policies, Add-to-Bag,
   Luxury Toast Notifications & Confirmation Dialogs
   ========================================================================== */
#policy-modal .modal-content,
#sales-modal .modal-content,
#upload-modal .modal-content,
#edit-modal .modal-content {
    overflow-y: auto !important;
    max-height: 85vh !important;
}

#policy-modal .modal-content {
    max-width: 620px !important;
}

.policy-section-block {
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    text-align: left;
}

.policy-section-block:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: none;
}

.policy-section-heading {
    font-family: var(--font-main) !important;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    color: #b78a28 !important;
    margin: 0 0 6px 0 !important;
}

.policy-section-copy {
    font-family: var(--font-main) !important;
    font-size: 0.9rem !important;
    line-height: 1.7 !important;
    margin: 0 !important;
}

body.light-mode .policy-section-block {
    border-bottom-color: rgba(255, 255, 255, 0.12);
}

body.light-mode .policy-section-heading {
    color: #dcb360 !important;
}

/* Crisp Add-to-Bag Confirmation State */
.add-to-cart-btn.is-added,
body.light-mode .add-to-cart-btn.is-added {
    background-color: #dcb360 !important;
    border-color: #dcb360 !important;
    color: #111111 !important;
}

/* Luxury Confirmation Modal Cancel Button */
.exe-confirm-cancel-btn {
    flex: 1;
    height: 44px;
    padding: 0 18px;
    border-radius: 8px;
    background: transparent !important;
    border: 1px solid #cbd5e1 !important;
    color: #475569 !important;
    font-family: var(--font-main) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease !important;
}

.exe-confirm-cancel-btn:hover {
    background: #f1f5f9 !important;
    color: #111111 !important;
    border-color: #94a3b8 !important;
}

body.light-mode .exe-confirm-cancel-btn {
    border-color: rgba(255, 255, 255, 0.22) !important;
    color: #cbd5e1 !important;
}

body.light-mode .exe-confirm-cancel-btn:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
}

/* Luxury Non-Blocking Toast Notifications */
.exe-toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 5000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
    max-width: calc(100vw - 32px);
}

.exe-toast {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    border-radius: 8px;
    background: #ffffff;
    color: #171a20;
    border: 1px solid rgba(220, 179, 96, 0.45);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.4);
    font-family: var(--font-main);
    font-size: 0.84rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.24s ease, transform 0.24s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: auto;
}

body.light-mode .exe-toast {
    background: #111111;
    color: #ffffff;
    border-color: rgba(220, 179, 96, 0.45);
}

.exe-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.exe-toast-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
    background: #dcb360;
}

.exe-toast--success .exe-toast-dot {
    background: #10b981;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.55);
}

.exe-toast--error .exe-toast-dot {
    background: #ef4444;
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.55);
}

@media (max-width: 640px) {
    .exe-toast-container {
        left: 16px;
        right: 16px;
        bottom: 18px;
        align-items: center;
    }
    .exe-toast {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
}
