/* ============================================================
   SOLAR WELLNESS — Premium Dark Theme CSS
   Brand: SOLAR WELLNESS
   Colors: Near-black backgrounds, metallic gold accents,
           white/light gray text, subtle bronze accents.
   ============================================================ */

/* ======================== CSS CUSTOM PROPERTIES ======================== */
:root {
    --primary: #0a0a0a;
    --primary-light: #111111;
    --secondary: #1a1a1a;
    --secondary-light: #222222;
    --tertiary: #141414;
    --surface: #1e1e1e;
    --surface-hover: #252525;

    --gold: #C9A54E;
    --gold-light: #D4AF5A;
    --gold-dark: #B8943F;
    --gold-muted: rgba(201, 165, 78, 0.15);
    --gold-glow: rgba(201, 165, 78, 0.3);
    --bronze: #CD7F32;
    --bronze-light: #D4944A;

    --text: #ffffff;
    --text-secondary: #e0e0e0;
    --text-muted: #b3b3b3;
    --text-dark: #888888;
    --border: #2a2a2a;
    --border-light: #333333;
    --border-gold: rgba(201, 165, 78, 0.3);

    --success: #2ecc71;
    --danger: #e74c3c;
    --warning: #f39c12;
    --info: #3498db;

    --font-heading: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
    --shadow-gold: 0 4px 20px rgba(201, 165, 78, 0.15);

    --sw-bg-card: var(--secondary);
    --sw-bg-card-hover: var(--surface-hover);
    --sw-border: var(--border);
    --sw-border-hover: var(--border-light);

    /* sw-* aliases — single source of truth (app.blade.php uses these) */
    --sw-bg-primary: var(--primary);
    --sw-bg-secondary: var(--primary-light);
    --sw-text-primary: var(--text);
    --sw-text-secondary: var(--text-secondary);
    --sw-text-muted: var(--text-muted);
    --sw-accent: var(--gold);
    --sw-accent-hover: var(--gold-light);
    --sw-accent-glow: var(--gold-glow);
    --sw-success: var(--success);
    --sw-danger: var(--danger);
    --sw-warning: var(--warning);
    --sw-gradient: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    --sw-radius: var(--radius-lg);
    --sw-radius-sm: var(--radius-md);
    --sw-shadow: var(--shadow-md);
    --sw-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;

    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);

    --header-height: 72px;
    --announcement-height: 40px;
}

/* ======================== BOOTSTRAP DARK-THEME OVERRIDES ======================== */
/* These override Bootstrap's default light-theme colors for the dark UI */

/* Text utilities */
.text-muted { color: var(--text-muted) !important; }
.text-secondary { color: var(--text-secondary) !important; }
.text-primary { color: var(--gold) !important; }
.text-warning { color: var(--warning) !important; }
.text-danger { color: var(--danger) !important; }
.text-success { color: var(--success) !important; }
.text-info { color: var(--info) !important; }
.text-dark { color: var(--text-dark) !important; }
.text-white { color: #ffffff !important; }
.bg-dark { background-color: var(--secondary) !important; }

/* Forms */
.form-control,
.form-select {
    background-color: var(--secondary) !important;
    border-color: var(--border) !important;
    color: var(--text) !important;
    border-radius: var(--radius-sm) !important;
    padding: 0.7rem 1rem;
    transition: all var(--transition-base);
}

.form-control:focus,
.form-select:focus {
    background-color: var(--secondary) !important;
    border-color: var(--gold) !important;
    color: var(--text) !important;
    box-shadow: 0 0 0 3px var(--gold-muted) !important;
}

.form-control::placeholder { color: var(--text-dark); }

.form-label {
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 0.4rem;
    font-size: 0.85rem;
    letter-spacing: 0.02em;
}

.form-check-input:checked {
    background-color: var(--gold);
    border-color: var(--gold);
}

.form-check-input:focus {
    box-shadow: 0 0 0 3px var(--gold-muted);
}

.form-select option {
    background-color: var(--secondary);
    color: var(--text);
}

.form-text {
    font-size: 0.78rem;
    color: var(--text-dark);
}

.input-group .form-control { border-right: none; }
.input-group .btn { border-left: none; }
.input-group-text {
    background: var(--secondary);
    border-color: var(--border);
    color: var(--text-muted);
}

/* Breadcrumbs */
.breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 0;
}

.breadcrumb-item a { color: var(--text-muted); }
.breadcrumb-item.active { color: var(--text-secondary); }
.breadcrumb-item + .breadcrumb-item::before { color: var(--text-dark); }

/* Pagination */
.pagination .page-item .page-link {
    background: var(--secondary);
    border-color: var(--border);
    color: var(--text-muted);
    border-radius: var(--radius-sm);
    margin: 0 2px;
    min-width: 40px;
    text-align: center;
    font-size: 0.85rem;
    transition: all var(--transition-fast);
}

.pagination .page-item.active .page-link {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--primary);
    font-weight: 600;
}

.pagination .page-item .page-link:hover:not(.active) {
    background: var(--surface-hover);
    border-color: var(--gold);
    color: var(--gold);
}

.pagination .page-item.disabled .page-link {
    background: var(--primary);
    border-color: var(--border);
    color: var(--text-dark);
}

/* Alerts */
.alert {
    border-radius: var(--radius-md);
    font-size: 0.88rem;
    border: none;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.alert-success {
    background: rgba(46, 204, 113, 0.12);
    color: var(--success);
    border-left: 3px solid var(--success);
}

.alert-danger {
    background: rgba(231, 76, 60, 0.12);
    color: var(--danger);
    border-left: 3px solid var(--danger);
}

.alert-warning {
    background: rgba(243, 156, 18, 0.12);
    color: var(--warning);
    border-left: 3px solid var(--warning);
}

.alert-info {
    background: rgba(52, 152, 219, 0.12);
    color: var(--info);
    border-left: 3px solid var(--info);
}

/* Cards */
.card {
    background: var(--secondary);
    border: 1px solid var(--border);
    color: var(--text);
}

.card-header {
    background: var(--tertiary);
    border-bottom: 1px solid var(--border);
    color: var(--text);
}

.card-body { color: var(--text-secondary); }

/* Tables */
.table {
    --bs-table-bg: transparent;
    --bs-table-color: var(--text-secondary);
    --bs-table-border-color: var(--border);
    color: var(--text-secondary);
}

.table > :not(caption) > * > * {
    background-color: transparent;
    color: var(--text-secondary);
    border-bottom-color: var(--border);
}

.table-hover > tbody > tr:hover > * {
    background-color: var(--surface-hover);
    color: var(--text);
}

.table thead th {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom-color: var(--border);
}

/* Dropdowns */
.dropdown-menu {
    background: var(--secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 0.4rem 0;
}

.dropdown-item {
    color: var(--text-secondary);
    font-size: 0.88rem;
    padding: 0.5rem 1rem;
    transition: all var(--transition-fast);
}

.dropdown-item:hover,
.dropdown-item:focus {
    background: var(--surface-hover);
    color: var(--gold);
}

.dropdown-header {
    color: var(--text-dark);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.dropdown-divider {
    border-color: var(--border);
    margin: 0.25rem 0;
}

/* Modals */
.modal-content {
    background: var(--secondary);
    border: 1px solid var(--border);
    color: var(--text);
    border-radius: var(--radius-lg);
}

.modal-header {
    border-bottom-color: var(--border);
    color: var(--text);
}

.modal-body { color: var(--text-secondary); }

.modal-footer { border-top-color: var(--border); }

.btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}

/* Badges */
.badge {
    font-weight: 600;
}

/* Nav Tabs */
.nav-tabs {
    border-bottom-color: var(--border);
}

.nav-tabs .nav-link {
    color: var(--text-muted);
    border: none;
    border-bottom: 2px solid transparent;
    background: none;
    transition: all var(--transition-fast);
}

.nav-tabs .nav-link:hover {
    color: var(--gold);
    border-color: transparent;
}

.nav-tabs .nav-link.active {
    color: var(--gold);
    border-bottom-color: var(--gold);
    background: none;
}

/* Offcanvas */
.offcanvas {
    background: var(--primary);
}

.offcanvas-header {
    border-bottom-color: var(--border);
    color: var(--text);
}

.offcanvas-body { color: var(--text-secondary); }

/* Toast */
.toast {
    background: var(--secondary);
    border: 1px solid var(--border);
    color: var(--text);
}

.toast-header {
    background: var(--tertiary);
    border-bottom-color: var(--border);
    color: var(--text);
}

.toast-body { color: var(--text-secondary); }

/* ======================== COMPONENT CLASSES ======================== */
/* Moved from app.blade.php inline <style> — single source of truth */
.sw-section { padding: 80px 0; }
.sw-section-title {
    font-size: 2rem; font-weight: 800; margin-bottom: 0.5rem;
    background: var(--sw-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.sw-section-subtitle { color: var(--text-muted); font-size: 1.1rem; margin-bottom: 2.5rem; }
.sw-btn-primary {
    background: var(--sw-gradient); color: var(--primary); border: none; padding: 12px 28px;
    border-radius: var(--radius-md); font-weight: 600; cursor: pointer;
    transition: var(--sw-transition); display: inline-flex; align-items: center; gap: 8px;
}
.sw-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px var(--sw-accent-glow); color: var(--primary); }
.sw-btn-secondary {
    background: transparent; color: var(--gold); border: 2px solid var(--gold);
    padding: 10px 26px; border-radius: var(--radius-md); font-weight: 600;
    transition: var(--sw-transition); display: inline-flex; align-items: center; gap: 8px;
}
.sw-btn-secondary:hover { background: var(--gold); color: var(--primary); }
.sw-card {
    background: var(--secondary); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 24px; transition: var(--sw-transition);
}
.sw-card:hover { border-color: var(--border-light); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.sw-badge {
    display: inline-block; padding: 4px 10px; border-radius: 6px;
    font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
}
.sw-badge-discount { background: var(--danger); color: #fff; }
.sw-badge-new { background: var(--gold); color: var(--primary); }
.sw-badge-sale { background: #7c3aed; color: #fff; }
.sw-alert { border-radius: var(--radius-sm); padding: 16px 20px; border: none; }
.sw-alert-success { background: rgba(34, 197, 94, 0.15); color: var(--success); }
.sw-alert-error { background: rgba(239, 68, 68, 0.15); color: var(--danger); }
.sw-loading { display: inline-block; width: 20px; height: 20px; border: 2px solid transparent; border-top-color: currentColor; border-radius: 50%; animation: spin 0.6s linear infinite; }
.sw-input-group { position: relative; }
.sw-input-group .form-control { padding-left: 44px; }
.sw-input-group .input-icon {
    position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
    color: var(--text-dark); z-index: 4;
}
.page-header {
    background: var(--primary-light); padding: 40px 0; margin-bottom: 40px;
    border-bottom: 1px solid var(--border);
}

/* ======================== RESET & BASE ======================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body {
    font-family: var(--font-body);
    background-color: var(--primary);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

a {
    color: var(--text);
    text-decoration: none;
    transition: color var(--transition-base);
}

a:hover {
    color: var(--gold);
}

img {
    max-width: 100%;
    height: auto;
}

::selection {
    background: var(--gold);
    color: var(--primary);
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--primary);
}

::-webkit-scrollbar-thumb {
    background: var(--border-light);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold);
}

/* ======================== TYPOGRAPHY ======================== */
h1, h2, h3, h4, h5, h6,
.heading {
    font-family: var(--font-heading);
    font-weight: 500;
    letter-spacing: 0.01em;
    color: var(--text);
}

.text-gold {
    color: var(--gold) !important;
}

.text-gold-light {
    color: var(--gold-light) !important;
}

.text-muted {
    color: var(--text-muted) !important;
}

.tracking-wider {
    letter-spacing: 0.15em;
}

.tracking-widest {
    letter-spacing: 0.25em;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 500;
    letter-spacing: 0.02em;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.gold-divider {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin: 1rem auto;
}

/* ======================== ANNOUNCEMENT BAR ======================== */
.announcement-bar {
    position: relative;
    z-index: 1050;
    padding: 8px 0;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-align: center;
    overflow: hidden;
}

.announcement-text {
    display: flex;
    align-items: center;
    justify-content: center;
}

.announcement-marquee {
    display: inline-block;
    white-space: nowrap;
    animation: marquee 30s linear infinite;
}

.announcement-close {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity var(--transition-fast);
    padding: 8px;
    z-index: 2;
    min-width: 36px;
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.announcement-close:hover {
    opacity: 1;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ======================== HEADER & NAVBAR ======================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1040;
    transition: all var(--transition-base);
}

.site-header.scrolled {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.5);
}

.site-navbar {
    padding: 0;
    min-height: var(--header-height);
    background: transparent;
    transition: background var(--transition-base);
}

.site-header.scrolled .site-navbar {
    min-height: 60px;
}

/* Logo */
.site-logo {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    line-height: 1;
    transition: opacity var(--transition-fast);
}

.site-logo:hover {
    opacity: 0.85;
}

.logo-solar {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 0.2em;
    line-height: 1;
}

.logo-wellness {
    font-family: var(--font-body);
    font-size: 0.55rem;
    font-weight: 400;
    color: var(--text-muted);
    letter-spacing: 0.5em;
    text-transform: uppercase;
    line-height: 1;
    margin-top: 2px;
}

/* Desktop Navigation */
.site-nav .nav-link {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.5rem 1.1rem;
    position: relative;
    transition: color var(--transition-base);
}

.site-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1.5px;
    background: var(--gold);
    transition: all var(--transition-base);
    transform: translateX(-50%);
}

.site-nav .nav-link:hover,
.site-nav .nav-link.active {
    color: var(--gold);
}

.site-nav .nav-link:hover::after,
.site-nav .nav-link.active::after {
    width: 60%;
}

/* Dropdown Mega Menu */
.dropdown-mega {
    background: var(--secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    min-width: 700px;
    margin-top: 1rem;
    box-shadow: var(--shadow-lg);
    border-top: 2px solid var(--gold);
}

.dropdown-mega-title {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gold);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border);
}

.dropdown-mega ul li a {
    display: block;
    padding: 0.4rem 0;
    color: var(--text-muted);
    font-size: 0.88rem;
    transition: all var(--transition-fast);
}

.dropdown-mega ul li a:hover {
    color: var(--gold);
    padding-left: 8px;
}

.mega-featured-img img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.mega-featured-img:hover img {
    transform: scale(1.05);
}

/* Navbar Icons */
.navbar-icons {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.navbar-icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
    cursor: pointer;
    position: relative;
}

.navbar-icon-btn:hover {
    color: var(--gold);
    background: var(--gold-muted);
}

.badge-gold {
    position: absolute;
    top: 2px;
    right: 0;
    background: var(--gold);
    color: var(--primary);
    font-size: 0.65rem;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    padding: 0 5px;
    line-height: 1;
}

/* Mobile Menu Toggle */
.navbar-toggler-icon-custom {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 24px;
    height: 24px;
}

.navbar-toggler-icon-custom span {
    display: block;
    width: 100%;
    height: 1.5px;
    background: var(--text);
    border-radius: 2px;
    transition: all var(--transition-base);
}

/* ======================== MOBILE OFFCANVAS MENU ======================== */
.mobile-menu {
    background: var(--primary) !important;
    border-right: 1px solid var(--border) !important;
    max-width: 320px;
}

.mobile-menu .offcanvas-header {
    border-bottom: 1px solid var(--border);
    padding: 1rem 1.25rem;
}

.mobile-menu .offcanvas-body {
    padding: 1.25rem;
}

.mobile-nav-list li {
    border-bottom: 1px solid var(--border);
}

.mobile-nav-list li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color var(--transition-fast);
}

.mobile-nav-list li a:hover,
.mobile-nav-list li a.active {
    color: var(--gold);
}

.mobile-nav-toggle {
    cursor: pointer;
}

.mobile-nav-toggle svg {
    transition: transform var(--transition-base);
}

.mobile-nav-toggle[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

.mobile-quick-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0.75rem 0;
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: color var(--transition-fast);
}

.mobile-quick-link:hover {
    color: var(--gold);
}

/* ======================== SEARCH MODAL ======================== */
.search-modal .modal-content {
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    overflow: hidden;
}

.search-input {
    font-size: 1.1rem;
    padding: 0.5rem 0;
}

.search-input:focus {
    box-shadow: none;
    outline: none;
}

.search-tag {
    display: inline-block;
    padding: 0.35rem 0.85rem;
    background: var(--surface);
    color: var(--text-muted);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    transition: all var(--transition-fast);
}

.search-tag:hover {
    color: var(--gold);
    border-color: var(--gold);
    background: var(--gold-muted);
}

.search-result-item {
    border-bottom: 1px solid var(--border);
    transition: background var(--transition-fast);
}

.search-result-item:hover {
    background: var(--surface);
}

.search-result-item:last-child {
    border-bottom: none;
}

.object-fit-cover {
    object-fit: cover;
}

/* ======================== MINI CART OFFCANVAS ======================== */
.mini-cart {
    background: var(--primary) !important;
    border-left: 1px solid var(--border) !important;
    max-width: 420px;
}

.mini-cart .offcanvas-header {
    border-bottom: 1px solid var(--border);
    padding: 1.25rem;
}

.mini-cart .offcanvas-body {
    padding: 0;
    display: flex;
    flex-direction: column;
    height: calc(100% - 65px);
}

.mini-cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
}

.mini-cart-item {
    display: flex;
    gap: 12px;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
    position: relative;
}

.mini-cart-item:last-child {
    border-bottom: none;
}

.mini-cart-item-image {
    width: 70px;
    height: 70px;
    flex-shrink: 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--surface);
}

.mini-cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mini-cart-item-details {
    flex: 1;
    min-width: 0;
}

.mini-cart-item-title {
    font-size: 0.88rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.mini-cart-item-title a {
    color: var(--text);
}

.mini-cart-item-title a:hover {
    color: var(--gold);
}

.mini-cart-item-price {
    font-weight: 600;
    font-size: 0.9rem;
}

.mini-cart-item-remove {
    position: absolute;
    top: 1rem;
    right: 0;
    background: none;
    border: none;
    color: var(--text-dark);
    cursor: pointer;
    padding: 8px;
    transition: color var(--transition-fast);
    min-width: 32px;
    min-height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mini-cart-item-remove:hover {
    color: var(--danger);
}

.mini-cart-footer {
    padding: 1.25rem;
    border-top: 1px solid var(--border);
    background: var(--secondary);
}

.mini-cart-empty {
    padding: 2rem;
}

/* Quantity Selector */
.mini-cart-qty-selector {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.qty-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 0.85rem;
    transition: all var(--transition-fast);
}

.qty-btn:hover {
    background: var(--gold-muted);
    color: var(--gold);
}

.qty-value {
    width: 36px;
    text-align: center;
    font-size: 0.8rem;
    font-weight: 600;
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
    line-height: 36px;
}

/* ======================== AGE GATE MODAL ======================== */
.age-gate-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.age-gate-container {
    text-align: center;
    max-width: 420px;
    padding: 3rem 2rem;
}

.age-gate-logo {
    margin-bottom: 2rem;
}

.age-gate-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.age-gate-text {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 2rem;
}

.age-gate-buttons {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.age-gate-disclaimer {
    color: var(--text-dark);
    font-size: 0.75rem;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
}

/* ======================== BUTTONS ======================== */
.btn-gold {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--primary);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.65rem 1.75rem;
    border: none;
    border-radius: var(--radius-sm);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.btn-gold::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.btn-gold:hover {
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    box-shadow: var(--shadow-gold);
    transform: translateY(-1px);
    color: var(--primary);
}

.btn-gold:hover::before {
    left: 100%;
}

.btn-gold:active {
    transform: translateY(0);
}

.btn-outline-gold {
    background: transparent;
    color: var(--gold);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.65rem 1.75rem;
    border: 1.5px solid var(--gold);
    border-radius: var(--radius-sm);
    transition: all var(--transition-base);
}

.btn-outline-gold:hover {
    background: var(--gold);
    color: var(--primary);
    box-shadow: var(--shadow-gold);
}

.btn-gold-outline-sm {
    font-size: 0.75rem;
    padding: 0.4rem 1rem;
    letter-spacing: 0.04em;
}

.btn-dark-premium {
    background: var(--secondary);
    color: var(--text);
    border: 1px solid var(--border);
    padding: 0.65rem 1.75rem;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
    transition: all var(--transition-base);
}

.btn-dark-premium:hover {
    background: var(--surface-hover);
    border-color: var(--border-light);
    color: var(--gold);
}

/* ======================== FORMS ======================== */
.form-control,
.form-select {
    background-color: var(--secondary);
    border: 1px solid var(--border);
    color: var(--text);
    border-radius: var(--radius-sm);
    padding: 0.7rem 1rem;
    font-size: 0.9rem;
    transition: all var(--transition-base);
}

.form-control:focus,
.form-select:focus {
    background-color: var(--secondary);
    border-color: var(--gold);
    color: var(--text);
    box-shadow: 0 0 0 3px var(--gold-muted);
}

.form-control::placeholder {
    color: var(--text-dark);
}

.form-control:disabled,
.form-control[readonly] {
    background-color: var(--primary);
    opacity: 0.6;
}

.form-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 0.4rem;
    letter-spacing: 0.02em;
}

.form-text {
    font-size: 0.78rem;
    color: var(--text-dark);
}

.input-group .form-control {
    border-right: none;
}

.input-group .btn {
    border-left: none;
}

.form-check-input:checked {
    background-color: var(--gold);
    border-color: var(--gold);
}

.form-check-input:focus {
    box-shadow: 0 0 0 3px var(--gold-muted);
}

.form-select option {
    background-color: var(--secondary);
    color: var(--text);
}

/* ======================== CARDS ======================== */
.card-premium {
    background: var(--secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
}

.card-premium:hover {
    border-color: var(--border-gold);
    box-shadow: var(--shadow-gold);
    transform: translateY(-4px);
}

/* ======================== PRODUCT CARDS ======================== */
.product-card {
    background: var(--secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
    position: relative;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    border-color: var(--border-gold);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    transform: translateY(-6px);
}

.product-card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: var(--tertiary);
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--transition-smooth);
}

.product-card:hover .product-card-image img {
    transform: scale(1.08);
}

.product-card-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 2;
}

.product-badge {
    display: inline-block;
    padding: 0.25rem 0.65rem;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
}

.badge-new {
    background: var(--gold);
    color: var(--primary);
}

.badge-sale {
    background: var(--danger);
    color: #fff;
}

.badge-bestseller {
    background: var(--bronze);
    color: #fff;
}

.badge-featured {
    background: linear-gradient(135deg, var(--gold), var(--bronze));
    color: var(--primary);
}

.product-card-actions {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    transform: translateX(10px);
    transition: all var(--transition-base);
    z-index: 2;
}

.product-card:hover .product-card-actions {
    opacity: 1;
    transform: translateX(0);
}

.product-action-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    color: var(--text);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.product-action-btn:hover {
    background: var(--gold);
    color: var(--primary);
    border-color: var(--gold);
}

.product-action-btn.wishlisted {
    background: var(--danger);
    border-color: var(--danger);
    color: #fff;
}

.product-card-quick-add {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.75rem;
    background: linear-gradient(to top, rgba(10, 10, 10, 0.95), transparent);
    transform: translateY(100%);
    transition: transform var(--transition-base);
    z-index: 2;
}

.product-card:hover .product-card-quick-add {
    transform: translateY(0);
}

.product-card-body {
    padding: 1rem 1.15rem 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-card-category {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gold);
    margin-bottom: 0.35rem;
}

.product-card-title {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 0.5rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card-title a {
    color: inherit;
    text-decoration: none;
}

.product-card-title a:hover {
    color: var(--gold);
}

.product-card-rating {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 0.65rem;
}

.product-card-rating .stars {
    display: flex;
    gap: 1px;
}

.product-card-rating .star {
    color: var(--gold);
    font-size: 0.75rem;
}

.product-card-rating .star.empty {
    color: var(--border-light);
}

.product-card-rating .rating-count {
    font-size: 0.72rem;
    color: var(--text-dark);
}

.product-card-price {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-top: auto;
}

.price-current {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
}

.price-compare {
    font-size: 0.85rem;
    color: var(--text-dark);
    text-decoration: line-through;
}

.price-sale {
    color: var(--gold);
}

.product-card-variant-dots {
    display: flex;
    gap: 6px;
    margin-top: 0.5rem;
}

.variant-dot {
    width: 18px;
    height: 18px;
    border-radius: var(--radius-full);
    border: 2px solid var(--border);
    cursor: pointer;
    transition: border-color var(--transition-fast);
}

.variant-dot:hover,
.variant-dot.active {
    border-color: var(--gold);
}

/* ======================== PRODUCT DETAIL ======================== */
.product-detail-section {
    padding: 4rem 0;
}

.product-gallery {
    position: sticky;
    top: calc(var(--header-height) + 20px);
}

.product-main-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--secondary);
    aspect-ratio: 1 / 1;
    margin-bottom: 0.75rem;
}

.product-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-main-image:hover img {
    transform: scale(1.03);
}

.product-thumbnails {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}

.product-thumbnail {
    width: 70px;
    height: 70px;
    flex-shrink: 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    transition: border-color var(--transition-fast);
    opacity: 0.6;
}

.product-thumbnail:hover,
.product-thumbnail.active {
    border-color: var(--gold);
    opacity: 1;
}

.product-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info {
    padding-left: 2rem;
}

.product-info-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.product-info-price {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.product-info-price .price-compare {
    font-size: 1.1rem;
    color: var(--text-dark);
    text-decoration: line-through;
    margin-left: 0.5rem;
    font-weight: 400;
}

.product-option-group {
    margin-bottom: 1.5rem;
}

.product-option-label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.product-option-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.product-option-btn {
    padding: 0.5rem 1.1rem;
    background: var(--secondary);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.product-option-btn:hover,
.product-option-btn.active {
    border-color: var(--gold);
    color: var(--gold);
    background: var(--gold-muted);
}

.product-option-btn.disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* Quantity Selector (Detail) */
.quantity-selector {
    display: inline-flex;
    align-items: center;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.quantity-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 1.1rem;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.quantity-btn:hover {
    background: var(--gold-muted);
    color: var(--gold);
}

.quantity-input {
    width: 56px;
    height: 44px;
    text-align: center;
    background: transparent;
    border: none;
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
    color: var(--text);
    font-size: 0.95rem;
    font-weight: 600;
}

.quantity-input:focus {
    outline: none;
}

/* Add to Cart Button */
.btn-add-to-cart {
    width: 100%;
    padding: 0.9rem 2rem;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-base);
}

.btn-add-to-cart.primary {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--primary);
}

.btn-add-to-cart.primary:hover {
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    box-shadow: var(--shadow-gold);
    transform: translateY(-2px);
}

.btn-add-to-cart.secondary {
    background: transparent;
    color: var(--gold);
    border: 1.5px solid var(--gold);
}

.btn-add-to-cart.secondary:hover {
    background: var(--gold);
    color: var(--primary);
}

/* Product Tabs */
.product-tabs {
    margin-top: 3rem;
}

.nav-tabs {
    border-bottom: 1px solid var(--border);
}

.nav-tabs .nav-link {
    color: var(--text-muted);
    border: none;
    border-bottom: 2px solid transparent;
    padding: 0.75rem 1.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all var(--transition-fast);
    background: none;
}

.nav-tabs .nav-link:hover {
    color: var(--gold);
    border-color: transparent;
}

.nav-tabs .nav-link.active {
    color: var(--gold);
    border-bottom-color: var(--gold);
    background: none;
}

.tab-content {
    padding: 2rem 0;
}

.tab-content p {
    color: var(--text-muted);
    line-height: 1.8;
}

/* ======================== HERO SECTION ======================== */
.hero-section {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--primary);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10,10,10,0.9) 0%, rgba(10,10,10,0.5) 50%, rgba(10,10,10,0.8) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 650px;
}

.hero-label {
    display: inline-block;
    padding: 0.35rem 1rem;
    background: var(--gold-muted);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-full);
    color: var(--gold);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-title .gold-text {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    animation: bounce 2s infinite;
}

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

/* ======================== FOOTER ======================== */
.site-footer {
    background: var(--primary);
    border-top: 1px solid var(--border);
}

/* Newsletter */
.footer-newsletter {
    padding: 4rem 0;
    border-bottom: 1px solid var(--border);
    background: linear-gradient(180deg, var(--secondary) 0%, var(--primary) 100%);
}

.footer-newsletter-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 500;
}

.newsletter-form .input-group {
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: border-color var(--transition-base);
}

.newsletter-form .input-group:focus-within {
    border-color: var(--gold);
}

.newsletter-input {
    background: var(--secondary) !important;
    border: none !important;
    color: var(--text) !important;
    padding: 0.85rem 1.25rem !important;
    font-size: 0.9rem;
}

.newsletter-input:focus {
    box-shadow: none !important;
}

.newsletter-btn {
    padding: 0.85rem 2rem !important;
    border-radius: 0 !important;
}

.newsletter-privacy {
    font-size: 0.75rem;
}

/* Footer Main */
.footer-main {
    padding: 4rem 0 3rem;
}

.footer-heading {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text);
    margin-bottom: 1.25rem;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links li a {
    color: var(--text-muted);
    font-size: 0.88rem;
    transition: all var(--transition-fast);
    display: inline-block;
}

.footer-links li a:hover {
    color: var(--gold);
    transform: translateX(4px);
}

.footer-about {
    font-size: 0.9rem;
    line-height: 1.7;
}

/* Social Links */
.footer-social {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    color: var(--text-muted);
    transition: all var(--transition-base);
}

.social-link:hover {
    background: var(--gold);
    color: var(--primary);
    border-color: var(--gold);
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold);
}

/* Footer Bottom */
.footer-bottom {
    padding: 1.25rem 0;
    border-top: 1px solid var(--border);
}

/* Payment Badges */
.footer-badges img {
    opacity: 0.5;
    transition: opacity var(--transition-base);
    filter: grayscale(100%) brightness(0.7);
}

.footer-badges img:hover {
    opacity: 1;
    filter: none;
}

/* ======================== TOAST NOTIFICATIONS ======================== */
.toast {
    background: var(--secondary);
    border: 1px solid var(--border);
    color: var(--text);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    min-width: 300px;
}

.toast-body {
    font-size: 0.88rem;
    padding: 0.85rem 1rem;
}

.toast-success {
    border-left: 3px solid var(--success);
}

.toast-error {
    border-left: 3px solid var(--danger);
}

/* ======================== BACK TO TOP ======================== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gold);
    color: var(--primary);
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-base);
    z-index: 1000;
    box-shadow: var(--shadow-gold);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--gold-light);
    transform: translateY(-3px);
}

/* ======================== LOADING OVERLAY ======================== */
.loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 10, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99998;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    backdrop-filter: blur(5px);
}

.loading-overlay.active {
    opacity: 1;
    visibility: visible;
}

.loading-spinner {
    text-align: center;
}

.spinner-gold {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 1rem;
}

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

.loading-text {
    color: var(--text-muted);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ======================== RATING STARS ======================== */
.stars {
    display: inline-flex;
    gap: 1px;
}

.star {
    color: var(--gold);
}

.star.empty {
    color: var(--border-light);
}

.star.half {
    position: relative;
    color: var(--border-light);
}

.star.half::before {
    content: '★';
    position: absolute;
    left: 0;
    width: 50%;
    overflow: hidden;
    color: var(--gold);
}

/* ======================== WISHLIST HEART ANIMATION ======================== */
.wishlist-btn {
    transition: all var(--transition-base);
}

.wishlist-btn.active svg {
    fill: var(--danger);
    stroke: var(--danger);
    animation: heartBeat 0.4s ease;
}

@keyframes heartBeat {
    0% { transform: scale(1); }
    25% { transform: scale(1.3); }
    50% { transform: scale(0.9); }
    75% { transform: scale(1.15); }
    100% { transform: scale(1); }
}

/* ======================== BREADCRUMBS ======================== */
.breadcrumb-premium {
    background: transparent;
    padding: 1rem 0;
    margin-bottom: 0;
}

.breadcrumb-premium .breadcrumb-item {
    font-size: 0.8rem;
    color: var(--text-dark);
}

.breadcrumb-premium .breadcrumb-item a {
    color: var(--text-muted);
    transition: color var(--transition-fast);
}

.breadcrumb-premium .breadcrumb-item a:hover {
    color: var(--gold);
}

.breadcrumb-premium .breadcrumb-item.active {
    color: var(--text-secondary);
}

.breadcrumb-premium .breadcrumb-item + .breadcrumb-item::before {
    color: var(--text-dark);
    content: "/";
}

/* ======================== PAGINATION ======================== */
.pagination-premium .page-link {
    background: var(--secondary);
    border-color: var(--border);
    color: var(--text-muted);
    font-size: 0.85rem;
    padding: 0.55rem 0.9rem;
    margin: 0 2px;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.pagination-premium .page-link:hover {
    background: var(--surface-hover);
    border-color: var(--gold);
    color: var(--gold);
}

.pagination-premium .page-item.active .page-link {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--primary);
    font-weight: 600;
}

.pagination-premium .page-item.disabled .page-link {
    background: var(--primary);
    border-color: var(--border);
    color: var(--text-dark);
}

/* ======================== SKELETON LOADING ======================== */
.skeleton {
    background: linear-gradient(90deg, var(--secondary) 25%, var(--surface) 50%, var(--secondary) 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s ease-in-out infinite;
    border-radius: var(--radius-sm);
}

.skeleton-text {
    height: 14px;
    margin-bottom: 8px;
    width: 100%;
}

.skeleton-text.short {
    width: 60%;
}

.skeleton-title {
    height: 20px;
    margin-bottom: 12px;
    width: 80%;
}

.skeleton-image {
    aspect-ratio: 1 / 1;
    width: 100%;
    border-radius: var(--radius-lg);
}

.skeleton-avatar {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
}

@keyframes skeleton-shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* ======================== CHECKOUT STYLES ======================== */
.checkout-section {
    padding: 3rem 0;
}

.checkout-step {
    background: var(--secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-bottom: 1.5rem;
}

.checkout-step-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.checkout-step-number {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gold);
    color: var(--primary);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 700;
    flex-shrink: 0;
}

.checkout-step.completed .checkout-step-number {
    background: var(--success);
}

.checkout-order-summary {
    background: var(--secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    position: sticky;
    top: calc(var(--header-height) + 20px);
}

.checkout-summary-item {
    display: flex;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
}

.checkout-summary-item:last-child {
    border-bottom: none;
}

.checkout-summary-image {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--tertiary);
    flex-shrink: 0;
}

.checkout-summary-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.payment-method-option {
    padding: 1rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.payment-method-option:hover {
    border-color: var(--border-light);
}

.payment-method-option.selected {
    border-color: var(--gold);
    background: var(--gold-muted);
}

/* ======================== ACCOUNT PAGE STYLES ======================== */
.account-layout {
    padding: 2rem 0 4rem;
}

.account-sidebar {
    background: var(--secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    position: sticky;
    top: calc(var(--header-height) + 20px);
}

.account-nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.7rem 1rem;
    color: var(--text-muted);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    transition: all var(--transition-fast);
    margin-bottom: 2px;
}

.account-nav-link:hover {
    background: var(--surface);
    color: var(--text);
}

.account-nav-link.active {
    background: var(--gold-muted);
    color: var(--gold);
}

.account-content {
    min-height: 400px;
}

.account-card {
    background: var(--secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.account-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border);
}

/* ======================== CART TABLE ======================== */
.cart-table {
    width: 100%;
}

.cart-table th {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-dark);
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border);
}

.cart-table td {
    padding: 1.25rem 1rem;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}

.cart-item-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cart-item-image {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--tertiary);
    flex-shrink: 0;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-name {
    font-weight: 500;
    font-size: 0.95rem;
}

.cart-item-variant {
    font-size: 0.8rem;
    color: var(--text-dark);
    margin-top: 2px;
}

.cart-remove-btn {
    background: none;
    border: none;
    color: var(--text-dark);
    cursor: pointer;
    padding: 8px;
    transition: color var(--transition-fast);
    min-width: 32px;
    min-height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cart-remove-btn:hover {
    color: var(--danger);
}

.cart-summary {
    background: var(--secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    font-size: 0.9rem;
}

.cart-summary-row.total {
    font-size: 1.1rem;
    font-weight: 700;
    padding-top: 1rem;
    margin-top: 0.5rem;
    border-top: 1px solid var(--border);
}

.cart-summary-row.total .text-gold {
    font-size: 1.2rem;
}

/* ======================== TESTIMONIAL CAROUSEL ======================== */
.testimonial-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, var(--primary) 0%, var(--secondary) 50%, var(--primary) 100%);
}

.testimonial-card {
    background: var(--secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    text-align: center;
    transition: all var(--transition-base);
    position: relative;
}

.testimonial-card::before {
    content: '\201C';
    font-family: var(--font-heading);
    font-size: 4rem;
    color: var(--gold);
    opacity: 0.3;
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    line-height: 1;
}

.testimonial-card:hover {
    border-color: var(--border-gold);
    box-shadow: var(--shadow-gold);
}

.testimonial-text {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    font-weight: 600;
    color: var(--text);
    font-size: 0.95rem;
}

.testimonial-role {
    color: var(--text-dark);
    font-size: 0.8rem;
}

.testimonial-avatar {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-full);
    border: 2px solid var(--gold);
    overflow: hidden;
    margin: 0 auto 1rem;
    background: var(--surface);
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: var(--gold);
    border-radius: var(--radius-full);
    padding: 1rem;
}

/* ======================== NEWSLETTER SECTION ======================== */
.newsletter-section {
    padding: 5rem 0;
    background: var(--secondary);
    position: relative;
    overflow: hidden;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at center, var(--gold-muted) 0%, transparent 60%);
    opacity: 0.3;
}

/* ======================== ANIMATIONS ======================== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.7s var(--transition-smooth);
}

.animate-on-scroll.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

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

.slide-up {
    animation: slideUp 0.5s ease forwards;
}

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

.slide-in-left {
    animation: slideInLeft 0.5s ease forwards;
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

.slide-in-right {
    animation: slideInRight 0.5s ease forwards;
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

.scale-in {
    animation: scaleIn 0.4s ease forwards;
}

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

/* ======================== UTILITY CLASSES ======================== */
.bg-primary-dark { background-color: var(--primary) !important; }
.bg-secondary-dark { background-color: var(--secondary) !important; }
.bg-surface { background-color: var(--surface) !important; }

.border-dark-custom { border-color: var(--border) !important; }
.border-gold-custom { border-color: var(--gold) !important; }

.glow-gold { box-shadow: 0 0 20px rgba(201, 165, 78, 0.2); }

.glass {
    background: rgba(26, 26, 26, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border);
}

.divider-gold {
    width: 60px;
    height: 2px;
    background: var(--gold);
}

.overflow-hidden { overflow: hidden; }

.object-cover { object-fit: cover; }

/* ======================== PRINT STYLES ======================== */
@media print {
    *,
    *::before,
    *::after {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    body {
        font-size: 12pt;
        line-height: 1.5;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]::after {
        content: " (" attr(href) ")";
        font-size: 0.8em;
    }

    .announcement-bar,
    .site-header,
    .site-footer,
    .back-to-top,
    .loading-overlay,
    .age-gate-overlay,
    .toast-container {
        display: none !important;
    }

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

    img {
        max-width: 100% !important;
        page-break-inside: avoid;
    }

    h2, h3, h4 {
        page-break-after: avoid;
    }

    table, pre {
        page-break-inside: avoid;
    }
}

/* ======================== RESPONSIVE ======================== */
@media (max-width: 1199.98px) {
    .hero-title {
        font-size: clamp(2rem, 5vw, 3.5rem);
    }

    .product-info {
        padding-left: 0;
        margin-top: 2rem;
    }

    .product-gallery {
        position: static;
    }
}

@media (max-width: 991.98px) {
    :root {
        --header-height: 60px;
    }

    .site-navbar {
        padding: 0.5rem 0;
    }

    .logo-solar {
        font-size: 1.25rem;
    }

    .logo-wellness {
        font-size: 0.5rem;
    }

    .hero-section {
        min-height: 70vh;
    }

    .hero-content {
        text-align: center;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .dropdown-mega {
        display: none !important;
    }

    .footer-main .row > div {
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-badges {
        justify-content: center !important;
    }

    .footer-contact {
        text-align: center;
    }

    .cart-item-info {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 767.98px) {
    .section-title {
        font-size: 1.6rem;
    }

    .product-card-actions {
        opacity: 1;
        transform: translateX(0);
    }

    .testimonial-card {
        padding: 1.5rem;
    }

    .checkout-step {
        padding: 1.25rem;
    }

    .cart-table {
        font-size: 0.85rem;
    }

    .cart-item-image {
        width: 60px;
        height: 60px;
    }

    .product-badge {
        font-size: 0.72rem;
    }

    .product-card-rating .rating-count {
        font-size: 0.8rem;
    }

    .toast {
        min-width: auto;
        width: calc(100vw - 2rem);
        max-width: 360px;
    }

    .back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 575.98px) {
    .hero-section {
        min-height: 60vh;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .footer-newsletter .col-lg-7,
    .footer-newsletter .col-lg-5 {
        text-align: center;
    }

    .newsletter-form .input-group {
        flex-direction: column;
    }

    .newsletter-btn {
        border-radius: 0 0 var(--radius-sm) var(--radius-sm) !important;
    }

    .btn-gold,
    .btn-outline-gold {
        width: 100%;
        text-align: center;
    }

    .logo-wellness {
        font-size: 0.45rem;
    }
}

/* ======================== DARK THEME DROPDOWN FIX ======================== */
.dropdown-menu {
    background: var(--secondary);
    border: 1px solid var(--border);
}

.dropdown-item {
    color: var(--text-secondary);
}

.dropdown-item:hover,
.dropdown-item:focus {
    background: var(--surface-hover);
    color: var(--gold);
}

.dropdown-header {
    color: var(--text-dark);
}

.dropdown-divider {
    border-color: var(--border);
}

.text-muted {
    color: var(--text-muted) !important;
}

/* ======================== ACCESSIBILITY ======================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .announcement-marquee {
        animation: none;
    }

    html {
        scroll-behavior: auto;
    }
}

/* Focus visible for keyboard navigation */
*:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

/* Screen reader only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
