/* ==========================================================================
   PERFUMFY - BOUTIQUE LUXURY DESIGN SYSTEM
   ========================================================================== */

:root {
    /* LIGHT THEME (DEFAULT) - CRISP, WARM BOUTIQUE LUXURY */
    --bg-primary: #ffffff;
    --bg-secondary: #f8f8fa;
    --bg-card: #ffffff;
    --bg-card-hover: #ffffff;
    --text-primary: #121214;
    --text-secondary: #424248;
    --text-muted: #71717a;
    --gold: #b38738;
    --gold-light: #cca04e;
    --gold-bg: rgba(179, 135, 56, 0.08);
    --gold-glow: rgba(179, 135, 56, 0.2);
    --border: #e6e6ea;
    --border-light: #f0f0f4;
    --radius: 8px;
    --radius-lg: 14px;
    --radius-sm: 4px;
    --radius-pill: 9999px;
    --header-height: 80px;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.08);
    --shadow-gold: 0 8px 25px rgba(179, 135, 56, 0.16);
    --nav-bg: rgba(255, 255, 255, 0.94);
    --card-img-bg: #f5f5f7;
}

body.dark-mode {
    /* DARK THEME - DEEP NOIR & METALLIC GOLD */
    --bg-primary: #0c0c0e;
    --bg-secondary: #141418;
    --bg-card: #17171c;
    --bg-card-hover: #1c1c22;
    --text-primary: #f8f8fa;
    --text-secondary: #c8c8cf;
    --text-muted: #8e8e98;
    --gold: #c5a059;
    --gold-light: #dfba6e;
    --gold-bg: rgba(197, 160, 89, 0.12);
    --gold-glow: rgba(197, 160, 89, 0.3);
    --border: #26262e;
    --border-light: #1e1e24;
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 8px 25px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 16px 45px rgba(0, 0, 0, 0.75);
    --shadow-gold: 0 8px 30px rgba(197, 160, 89, 0.25);
    --nav-bg: rgba(12, 12, 14, 0.94);
    --card-img-bg: #121216;
}

/* ==========================================================================
   BASE & RESET
   ========================================================================== */

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

body {
    font-family: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background-color 0.3s ease, color 0.3s ease;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease;
}

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

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

button, input, select, textarea {
    font-family: inherit;
    color: inherit;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: var(--radius-pill);
}

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

/* ==========================================================================
   LAYOUT CONTAINERS & UTILITIES
   ========================================================================== */

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 80px 0;
    position: relative;
}

.section-title {
    font-size: 2.4rem;
    text-align: center;
    margin-bottom: 2.8rem;
    position: relative;
    padding-bottom: 1.2rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-muted { color: var(--text-muted); }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }
.hidden { display: none !important; }

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 28px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    border-radius: var(--radius);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
    line-height: 1;
}

.btn-primary {
    background: var(--text-primary);
    color: var(--bg-primary);
    border-color: var(--text-primary);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

body.dark-mode .btn-primary {
    background: var(--gold);
    border-color: var(--gold);
    color: #0c0c0e;
}

body.dark-mode .btn-primary:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
    color: #0c0c0e;
}

.btn-secondary {
    background: transparent;
    border-color: var(--border);
    color: var(--text-primary);
}

.btn-secondary:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: var(--gold-bg);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 0.95rem;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.8rem;
}

/* ==========================================================================
   FORMS & INPUTS
   ========================================================================== */

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--text-secondary);
}

.form-input, .form-select, .form-textarea {
    width: 100%;
    padding: 13px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-primary);
    font-size: 15px;
    transition: all 0.3s;
    box-sizing: border-box;
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
}

.form-input:focus, .form-select:focus, .form-textarea:focus, textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px var(--gold-bg);
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='%2371717a' height='20' viewBox='0 0 24 24' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
    cursor: pointer;
}

/* ==========================================================================
   HEADER & NAVBAR
   ========================================================================== */

.header {
    height: var(--header-height);
    background-color: var(--nav-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: height 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-primary);
}

.logo span {
    color: var(--gold);
    font-weight: 400;
}

.nav {
    display: flex;
    align-items: center;
    gap: 2.2rem;
}

.nav-link {
    font-size: 0.88rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-secondary);
    position: relative;
    padding: 6px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--gold);
    transition: width 0.25s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-primary);
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.theme-toggle, .account-icon, .cart-icon {
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    padding: 8px;
    border-radius: var(--radius-pill);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease, background 0.2s ease;
    position: relative;
}

.theme-toggle:hover, .account-icon:hover, .cart-icon:hover {
    color: var(--gold);
    background: var(--gold-bg);
}

body.dark-mode .icon-moon { display: none; }
body:not(.dark-mode) .icon-sun { display: none; }

.cart-count {
    position: absolute;
    top: -2px;
    right: -2px;
    background-color: var(--gold);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 700;
    min-width: 19px;
    height: 19px;
    border-radius: var(--radius-pill);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 28px;
    height: 20px;
    position: relative;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    position: absolute;
    transition: all 0.3s ease;
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 9px; }
.hamburger span:nth-child(3) { top: 18px; }

.hamburger.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* ==========================================================================
   PAGE HEADER & BREADCRUMB
   ========================================================================== */

.page-header {
    padding: 55px 0 40px;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
    text-align: center;
    position: relative;
}

.page-header h1 {
    font-size: 2.6rem;
    margin-bottom: 0.6rem;
}

.breadcrumb {
    font-size: 0.88rem;
    color: var(--text-muted);
}

.breadcrumb a {
    color: var(--text-muted);
}

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

/* ==========================================================================
   PRODUCT CARDS & GRID - REFINED HOVER EFFECT
   ========================================================================== */

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 28px;
}

.product-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-align: center;
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s ease, border-color 0.3s ease;
    box-shadow: var(--shadow-sm);
}

/* Subtle, classy card lift on hover */
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--gold-light);
}

.product-card-image-wrap {
    position: relative;
    background: var(--card-img-bg);
    padding: 1.8rem 1.2rem 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-bottom: 1px solid var(--border-light);
}

/* GENTLE, SLIGHT ZOOM ONLY ON HOVER & LUXURY DROP-SHADOW FOR TRANSPARENT PNG */
.product-card-image {
    width: 100%;
    max-width: 220px;
    height: 280px;
    object-fit: contain;
    transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.25, 1), filter 0.3s ease;
    transform-origin: center center;
    will-change: transform;
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.12));
}

body.dark-mode .product-card-image {
    filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.6));
}

.product-card:hover .product-card-image {
    transform: scale(1.045);
    filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.18));
}

body.dark-mode .product-card:hover .product-card-image {
    filter: drop-shadow(0 14px 30px rgba(0, 0, 0, 0.75));
}

.quick-add-btn {
    position: absolute;
    bottom: -45px;
    left: 0;
    width: 100%;
    padding: 12px;
    background: var(--text-primary);
    color: var(--bg-primary);
    border: none;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: bottom 0.25s ease, background 0.2s ease;
}

body.dark-mode .quick-add-btn {
    background: var(--gold);
    color: #0c0c0e;
}

.product-card:hover .quick-add-btn {
    bottom: 0;
}

.product-card-body {
    padding: 1.4rem 1.2rem 1.6rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.product-card-brand {
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold);
    margin-bottom: 0.4rem;
}

.product-card-name {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
    color: var(--text-primary);
    line-height: 1.35;
}

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

.badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    padding: 5px 12px;
    border-radius: var(--radius-pill);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.badge-bestseller {
    background: var(--gold);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

body.dark-mode .badge-bestseller {
    color: #0c0c0e;
}

/* COMPACT PRODUCT CARDS FOR INLINE RECOMMENDATIONS */
.product-grid-compact {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: stretch;
}

.product-card-compact {
    width: 170px;
    max-width: 190px;
    border-radius: var(--radius);
    flex-shrink: 0;
}

.product-card-image-wrap-compact {
    padding: 1.1rem 0.8rem 0.9rem !important;
    height: 135px !important;
}

.product-card-image-compact {
    height: 110px !important;
    max-width: 95px !important;
}

.product-card-body-compact {
    padding: 0.8rem 0.8rem 1rem !important;
}

/* ==========================================================================
   CATALOG PAGE (PRODUKTY.HTML) - EDITORIAL LIGHT/DARK STYLING
   ========================================================================== */

.shop-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 36px;
    align-items: start;
}

.filters-sidebar {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: calc(var(--header-height) + 20px);
}

.filters-sidebar h3 {
    font-size: 1.3rem;
    margin-bottom: 1.4rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid var(--border);
}

.filter-group {
    margin-bottom: 1.6rem;
}

.filter-group h4 {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 0.9rem;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
}

.filter-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.92rem;
    color: var(--text-secondary);
    margin-bottom: 0.6rem;
    cursor: pointer;
    transition: color 0.2s ease;
}

.filter-group label:hover {
    color: var(--gold);
}

.filter-checkbox {
    accent-color: var(--gold);
    width: 17px;
    height: 17px;
    cursor: pointer;
}

.catalog-header {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
    box-shadow: var(--shadow-sm);
}

#results-count {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==========================================================================
   PRODUCT DETAILS (PRODUKT.HTML)
   ========================================================================== */

.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
    margin-top: 1.5rem;
}

.product-detail .product-card-image-wrap {
    background: var(--card-img-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.5rem 1.5rem;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
}

.product-detail .product-card-image-wrap img {
    width: auto;
    max-width: 92%;
    height: auto;
    max-height: 480px;
    object-fit: contain;
    margin: 0 auto;
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.25, 1), filter 0.3s ease;
    filter: drop-shadow(0 14px 30px rgba(0, 0, 0, 0.14));
}

body.dark-mode .product-detail .product-card-image-wrap img {
    filter: drop-shadow(0 16px 38px rgba(0, 0, 0, 0.7));
}

.product-detail .product-card-image-wrap:hover img {
    transform: scale(1.035);
    filter: drop-shadow(0 18px 36px rgba(0, 0, 0, 0.2));
}

body.dark-mode .product-detail .product-card-image-wrap:hover img {
    filter: drop-shadow(0 20px 45px rgba(0, 0, 0, 0.85));
}

.size-btn {
    background: var(--bg-card);
    border: 1.5px solid var(--border);
    color: var(--text-primary);
    padding: 10px 22px;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.size-btn:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.size-btn.active {
    background: var(--gold);
    border-color: var(--gold);
    color: #ffffff;
    box-shadow: var(--shadow-gold);
}

body.dark-mode .size-btn.active {
    color: #0c0c0e;
}

.trust-features {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero {
    min-height: 82vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.85) 100%);
    z-index: 1;
}

body:not(.dark-mode) .hero::before {
    background: linear-gradient(180deg, rgba(255,255,255,0.75) 0%, rgba(248,248,250,0.92) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 740px;
    padding: 40px 20px;
}

.hero h1 {
    font-size: 3.8rem;
    line-height: 1.15;
    margin-bottom: 1.2rem;
    letter-spacing: -0.02em;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.2rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

#hero-particles {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

/* ==========================================================================
   SCENT OF THE WEEK (SOTW)
   ========================================================================== */

.scent-of-week {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    box-shadow: var(--shadow-md);
    transition: border-color 0.3s ease;
}

.scent-of-week:hover {
    border-color: var(--gold);
}

.sotw-image {
    min-height: 420px;
    background-color: var(--card-img-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.sotw-image img {
    max-height: 380px;
    width: auto;
    object-fit: contain;
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.25, 1), filter 0.3s ease;
    filter: drop-shadow(0 14px 28px rgba(0,0,0,0.14));
}

body.dark-mode .sotw-image img {
    filter: drop-shadow(0 15px 35px rgba(0,0,0,0.7));
}

.scent-of-week:hover .sotw-image img {
    transform: scale(1.04);
}

.sotw-content {
    padding: 50px 45px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sotw-badge {
    display: inline-block;
    background: var(--gold);
    color: #ffffff;
    padding: 6px 16px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    margin-bottom: 18px;
    border-radius: var(--radius-pill);
    align-self: flex-start;
}

body.dark-mode .sotw-badge {
    color: #0c0c0e;
}

/* ==========================================================================
   BRANDS TICKER
   ========================================================================== */

.brands-marquee {
    background: var(--bg-secondary);
    padding: 22px 0;
    overflow: hidden;
    white-space: nowrap;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    display: flex;
}

.brands-track {
    display: inline-block;
    animation: marquee 35s linear infinite;
}

.brands-track span {
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    color: var(--text-muted);
    margin: 0 35px;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: color 0.2s ease;
}

.brands-track span:hover {
    color: var(--gold);
}

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

/* ==========================================================================
   STEPS & REVIEWS
   ========================================================================== */

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 40px;
}

.step-card {
    text-align: center;
    padding: 45px 28px 35px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.step-card:hover {
    transform: translateY(-6px);
    border-color: var(--gold);
    box-shadow: var(--shadow-md);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 42px;
    height: 42px;
    background: var(--gold);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    font-family: 'Playfair Display', serif;
    box-shadow: 0 4px 12px var(--gold-glow);
}

body.dark-mode .step-number {
    color: #0c0c0e;
}

.step-icon {
    font-size: 2.8rem;
    margin-bottom: 18px;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.review-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 32px 28px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.review-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.review-stars {
    color: var(--gold);
    margin-bottom: 12px;
    font-size: 1.15rem;
    letter-spacing: 2px;
}

.review-text {
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.65;
}

.review-author {
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.verified-badge {
    color: #10b981;
    font-size: 0.85rem;
    font-weight: 600;
}

/* ==========================================================================
   TRUST BADGES & STATS
   ========================================================================== */

.trust-strip {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
    padding: 45px 20px;
}

.trust-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
    max-width: 170px;
}

.trust-badge-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gold-bg);
    border: 1px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.trust-badge:hover .trust-badge-icon {
    transform: scale(1.08);
    box-shadow: var(--shadow-gold);
}

.trust-badge-text {
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-primary);
}

.stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding: 55px 0;
    text-align: center;
}

.stat-item .stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--gold);
    display: block;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-item .stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

/* ==========================================================================
   CART DRAWER & OVERLAY
   ========================================================================== */

.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.cart-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: -450px;
    width: 420px;
    max-width: 100vw;
    height: 100vh;
    background: var(--bg-card);
    border-left: 1px solid var(--border);
    z-index: 10001;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-lg);
    transition: right 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.cart-drawer.open {
    right: 0;
}

.drawer-header {
    padding: 22px 24px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.drawer-header h3 {
    font-size: 1.3rem;
    margin: 0;
}

.drawer-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.6rem;
    cursor: pointer;
    line-height: 1;
    padding: 4px;
    transition: color 0.2s ease;
}

.drawer-close:hover {
    color: var(--text-primary);
}

.drawer-items {
    flex-grow: 1;
    overflow-y: auto;
    padding: 20px 24px;
}

.drawer-footer {
    padding: 22px 24px;
    border-top: 1px solid var(--border);
    background: var(--bg-secondary);
}

.drawer-footer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 16px;
}

/* ==========================================================================
   TOAST NOTIFICATIONS
   ========================================================================== */

#toast-container {
    position: fixed;
    top: calc(var(--header-height) + 20px);
    right: 24px;
    z-index: 100000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.toast {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border);
    border-left: 4px solid var(--gold);
    padding: 14px 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    font-size: 0.92rem;
    font-weight: 600;
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: auto;
}

.toast.show {
    opacity: 1;
    transform: translateX(0);
}

/* ==========================================================================
   SCROLL TO TOP BUTTON
   ========================================================================== */

.scroll-to-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-primary);
    box-shadow: var(--shadow-md);
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease, color 0.2s ease, border-color 0.2s ease;
    z-index: 999;
}

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

.scroll-to-top:hover {
    color: var(--gold);
    border-color: var(--gold);
    box-shadow: var(--shadow-gold);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 70px 0 30px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 50px;
}

.footer-col h4 {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--gold);
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: var(--text-muted);
    font-size: 0.92rem;
    transition: color 0.2s ease;
}

.footer-col ul li a:hover {
    color: var(--text-primary);
}

.footer-desc {
    color: var(--text-muted);
    font-size: 0.92rem;
    margin-top: 14px;
    max-width: 320px;
    line-height: 1.6;
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 25px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ==========================================================================
   RESPONSIVE DESIGN (TABLETS & MOBILE)
   ========================================================================== */

@media (max-width: 992px) {
    .nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background: var(--bg-primary);
        padding: 24px;
        box-shadow: var(--shadow-lg);
        border-bottom: 1px solid var(--border);
        gap: 1.2rem;
    }
    
    .nav.active {
        display: flex;
    }
    
    .hamburger {
        display: block;
    }

    .shop-layout {
        grid-template-columns: 1fr;
    }

    .filters-sidebar {
        position: static;
    }

    .product-detail {
        grid-template-columns: 1fr !important;
        gap: 32px;
    }

    .scent-of-week {
        grid-template-columns: 1fr;
    }

    .sotw-image {
        min-height: 320px;
    }

    .sotw-content {
        padding: 35px 25px;
    }

    .steps-grid, .reviews-grid {
        grid-template-columns: 1fr;
    }

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

    .stats-bar {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2.4rem;
    }

    .section-title {
        font-size: 1.9rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

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

    .product-card-image {
        height: 250px;
    }

    .product-detail .product-card-image-wrap {
        min-height: 380px;
        padding: 1.8rem 1rem;
    }

    .product-detail .product-card-image-wrap img {
        max-height: 360px;
    }

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

    .stats-bar {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .trust-strip {
        gap: 28px;
    }

    .cart-drawer {
        width: 100vw;
    }
}
/* Parallax Banner */
.parallax-banner {
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    min-height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
}

.parallax-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(12, 12, 14, 0.72);
}

.parallax-banner .banner-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
    padding: 24px;
}

.parallax-banner .banner-content h2 {
    color: #ffffff;
    font-size: 2.5rem;
    margin-bottom: 14px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.parallax-banner .banner-content p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.15rem;
    line-height: 1.7;
}

/* Subtle Cursor Glow on desktop */
@media (hover: hover) {
    .cursor-glow {
        position: fixed;
        width: 320px;
        height: 320px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(179, 135, 56, 0.06) 0%, transparent 70%);
        pointer-events: none;
        z-index: 99999;
        transform: translate(-50%, -50%);
        transition: opacity 0.3s ease;
    }
}

/* ==========================================================================
   FRAGRANTICA-STYLE PRODUCT DETAILS & METRICS
   ========================================================================== */

.fragrantica-section {
    margin-top: 60px;
    padding-top: 50px;
    border-top: 1px solid var(--border);
}

.fragrantica-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 35px;
}

.fragrantica-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gold-bg);
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 8px 18px;
    border-radius: var(--radius-pill);
    font-size: 0.95rem;
    font-weight: 700;
}

.fragrantica-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 45px;
}

.frag-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-sm);
}

.frag-card h3 {
    font-size: 1.25rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Accords Bars */
.accords-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.accord-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.accord-label {
    width: 140px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.accord-track {
    flex-grow: 1;
    height: 18px;
    background: var(--border-light);
    border-radius: var(--radius-pill);
    overflow: hidden;
    position: relative;
}

.accord-fill {
    height: 100%;
    border-radius: var(--radius-pill);
    transition: width 0.8s ease;
}

/* Pyramid Notes */
.pyramid-level {
    margin-bottom: 18px;
}

.pyramid-level-title {
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gold);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.note-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.note-chip {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    font-size: 0.86rem;
    color: var(--text-primary);
    font-weight: 500;
}

/* Performance Metrics */
.metrics-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

.metric-box {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    text-align: center;
}

.metric-box-title {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    font-weight: 700;
    margin-bottom: 6px;
}

.metric-box-value {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
}

/* Season progress bars */
.season-bars {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 20px;
}

.season-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.season-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.season-track {
    height: 10px;
    background: var(--border-light);
    border-radius: var(--radius-pill);
    overflow: hidden;
}

.season-fill {
    height: 100%;
    background: var(--gold);
    border-radius: var(--radius-pill);
}

/* Day / Night Bar */
.day-night-container {
    margin-top: 15px;
}

.day-night-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.day-night-bar {
    height: 14px;
    border-radius: var(--radius-pill);
    background: linear-gradient(90deg, #f59e0b var(--day-pct, 50%), #3b82f6 var(--day-pct, 50%));
    overflow: hidden;
}

/* User Reviews Section */
.reviews-section {
    margin-top: 40px;
}

.review-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 22px 24px;
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.review-user {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 0.95rem;
}

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gold-bg);
    border: 1px solid var(--gold);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
}

.review-date {
    color: var(--text-muted);
    font-size: 0.82rem;
}

.review-form-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    margin-top: 30px;
}

@media (max-width: 992px) {
    .fragrantica-grid {
        grid-template-columns: 1fr;
    }
}

/* Profile Layout */
.profile-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 36px;
    align-items: start;
}

/* Form Grids */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 992px) {
    .profile-layout {
        grid-template-columns: 1fr;
    }
    .form-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   COMPREHENSIVE RESPONSIVE DESIGN UPDATES
   ========================================================================== */

/* TABLET (max-width: 992px) */
@media (max-width: 992px) {
    .container {
        padding: 0 20px;
    }
    .hero {
        padding: 100px 20px;
        min-height: 60vh;
    }
    .hero h1 {
        font-size: 3rem;
    }
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .product-detail {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .cart-layout, .checkout-layout {
        grid-template-columns: 1fr !important;
    }

    .checkout-layout {
        display: flex !important;
        flex-direction: column-reverse;
    }
    .cart-layout {
        display: flex !important;
        flex-direction: column;
    }

    .order-summary {
        position: static !important;
        margin-top: 30px;
    }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    .why-section .grid {
        grid-template-columns: 1fr;
    }
}

/* MOBILE (max-width: 576px) */
@media (max-width: 576px) {
    .hero {
        padding: 80px 15px;
        min-height: 50vh;
    }
    .hero h1 {
        font-size: 2.2rem;
    }
    .hero p {
        font-size: 1rem;
    }
    .section-title {
        font-size: 1.8rem;
    }
    
    /* Keep 2 columns for products on small screens but compact */
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .product-card-body {
        padding: 12px;
    }
    .product-card-title {
        font-size: 0.9rem;
    }
    .product-card-price {
        font-size: 1rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    /* Forms & Checkout mobile fixes */
    .form-grid {
        grid-template-columns: 1fr !important;
    }
    
    .checkout-step-content {
        padding: 15px !important;
    }
    
    /* Modal map fixes */
    #easypack-map {
        height: 100% !important;
    }
    #inpost-modal > div {
        width: 100% !important;
        height: 100vh !important;
        border-radius: 0 !important;
    }
    
    .delivery-option, .payment-option {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 10px !important;
    }
}

/* ==========================================================================
   HOMEPAGE MISSING CLASSES (GUIDE & QUALITY)
   ========================================================================== */
.quality-grid, .guide-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}
.quality-card, .guide-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 30px 25px;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
}
.quality-card:hover, .guide-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
}
.quality-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: var(--bg-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.guide-ml {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 5px;
}
.guide-sprays {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-primary);
}
.guide-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}
@media (max-width: 992px) {
    .quality-grid, .guide-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* MOBILE PRODUCT GRID FIX */
@media (max-width: 576px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
    .product-card-image {
        height: 160px !important;
    }
    .product-card-body {
        padding: 10px !important;
    }
    .product-card-name {
        font-size: 0.95rem !important;
    }
    .product-card-price {
        font-size: 1rem !important;
    }
    .hero h1 {
        font-size: 2rem !important;
    }
}
