﻿/* ==============================================
   LA BELLE - Women's Fashion & Beauty
   style.css  |  Pure CSS3, no frameworks
   ============================================== */

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

/* ---- CUSTOM PROPERTIES ---- */
:root {
    --cream:          #FDF8F5;
    --blush-light:    #FBE8E8;
    --blush:          #F4C2C2;
    --rose-gold:      #B76E79;
    --rose-dark:      #9A5B66;
    --rose-light:     #D4969F;
    --charcoal:       #2C2C2C;
    --text:           #4A4A4A;
    --muted:          #8A8A8A;
    --white:          #FFFFFF;
    --border:         #EFE6E1;
    --amazon:         #FF9900;
    --amazon-bg:      #FFF7E6;
    --shadow-xs:      0 1px 4px rgba(183,110,121,.07);
    --shadow-sm:      0 2px 12px rgba(183,110,121,.1);
    --shadow-md:      0 6px 24px rgba(183,110,121,.16);
    --shadow-lg:      0 12px 48px rgba(183,110,121,.22);
    --r:              12px;
    --r-sm:           8px;
    --r-lg:           20px;
    --ease:           all .28s ease;
    --serif:          'Playfair Display', Georgia, serif;
    --sans:           'Montserrat', system-ui, sans-serif;
}

/* ---- BASE ---- */
html { scroll-behavior: smooth; }
body {
    font-family: var(--sans);
    background: var(--cream);
    color: var(--charcoal);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
    transition: opacity .48s ease, transform .48s ease, filter .48s ease;
}
html, body {
    max-width: 100%;
}
body.page-transition { opacity: 0; transform: translateY(12px); }
body.page-transition.page-loaded { opacity: 1; transform: translateY(0); }
body.page-exiting { opacity: 0; transform: translateY(8px); filter: blur(1.5px); }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
h1, h2, h3, h4 { font-family: var(--serif); line-height: 1.2; }
button { font-family: var(--sans); cursor: pointer; }

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--rose-light); border-radius: 4px; }

/* ==============================================
   BUTTONS
   ============================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 12px 28px;
    border-radius: 50px;
    font-family: var(--sans);
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .6px;
    text-transform: uppercase;
    border: 2px solid transparent;
    transition: all .25s ease;
    white-space: nowrap;
}

.btn-primary {
    background: var(--rose-gold);
    color: var(--white);
    border-color: var(--rose-gold);
}
.btn-primary:hover {
    background: var(--rose-dark);
    border-color: var(--rose-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    color: var(--charcoal);
    border-color: var(--charcoal);
}
.btn-secondary:hover {
    background: var(--charcoal);
    color: var(--white);
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    color: var(--rose-gold);
    border-color: var(--rose-gold);
}
.btn-outline:hover { background: var(--rose-gold); color: var(--white); transform: translateY(-3px); }

.btn-amazon {
    background: var(--amazon);
    color: #111;
    border-color: var(--amazon);
    width: 100%;
    margin-top: 14px;
    font-size: .78rem;
    padding: 11px 18px;
}
.btn-amazon:hover {
    background: #e68900;
    border-color: #e68900;
    transform: translateY(-3px);
    box-shadow: 0 5px 18px rgba(255,153,0,.35);
}
.btn-amazon.btn-coming-soon {
    background: #D8D8D8;
    color: #3a3a3a;
    border-color: #D8D8D8;
}
.btn-amazon.btn-coming-soon:hover {
    background: #CFCFCF;
    border-color: #CFCFCF;
    box-shadow: none;
}

.btn-sm { padding: 9px 20px; font-size: .75rem; }

.btn-nl {
    width: 100%;
    margin-top: 10px;
    padding: 10px 20px;
    border-radius: 50px;
    border: 2px solid rgba(255,255,255,.6);
    background: rgba(255,255,255,.15);
    color: var(--white);
    font-family: var(--sans);
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .5px;
    text-transform: uppercase;
    transition: var(--ease);
    cursor: pointer;
}
.btn-nl:hover { background: rgba(255,255,255,.3); border-color: var(--white); }

/* ==============================================
   NAVBAR
   ============================================== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow .3s ease;
}
.navbar.scrolled { box-shadow: var(--shadow-sm); }

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 28px;
    height: 72px;
    display: flex;
    align-items: center;
    gap: 28px;
}

/* Logo */
.nav-logo a {
    font-family: var(--serif);
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--charcoal);
    letter-spacing: -.3px;
    flex-shrink: 0;
}
.nav-logo em { color: var(--rose-gold); font-style: italic; }

/* Nav links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
}

.nav-link {
    padding: 8px 14px;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .8px;
    text-transform: uppercase;
    color: var(--text);
    border-radius: 50px;
    transition: all .25s ease;
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 3px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--rose-gold);
    border-radius: 2px;
    transition: width .3s ease;
}
.nav-link:hover { color: var(--rose-gold); transform: translateY(-2px); }
.nav-link:hover::after { width: 55%; }

/* Search */
.nav-search {
    display: flex;
    align-items: center;
    background: var(--cream);
    border: 1.5px solid var(--border);
    border-radius: 50px;
    overflow: visible;
    transition: border-color .25s, box-shadow .25s;
    position: relative;
    min-height: 44px;
}
.nav-search:focus-within {
    border-color: var(--rose-gold);
    box-shadow: 0 0 0 3px rgba(183,110,121,.12);
}
.search-input {
    border: none;
    background: transparent;
    padding: 8px 16px;
    font-family: var(--sans);
    font-size: .8rem;
    color: var(--charcoal);
    width: 190px;
    outline: none;
    min-height: 44px;
}
.nav-search.has-clear-btn .search-input {
    padding-right: calc(var(--search-action-space, 0px) + 38px);
}
.search-input::placeholder { color: var(--muted); }
.search-clear-btn {
    position: absolute;
    top: 50%;
    right: calc(var(--search-action-space, 0px) + 6px);
    transform: translateY(-50%) scale(.92);
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: var(--muted);
    display: grid;
    place-items: center;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease, background-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.search-clear-btn.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(-50%) scale(1);
}
.search-clear-btn:hover {
    background: rgba(183,110,121,.14);
    color: var(--rose-dark);
}
.search-clear-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(183,110,121,.24);
    color: var(--rose-dark);
    background: rgba(183,110,121,.14);
}
.search-btn {
    background: var(--rose-gold);
    border: none;
    padding: 8px 14px;
    min-height: 44px;
    min-width: 44px;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s;
}
.search-btn:hover { background: var(--rose-dark); }
.search-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(183,110,121,.22);
}

.site-search-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: min(420px, calc(100vw - 24px));
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    box-shadow: var(--shadow-md);
    z-index: 1100;
    padding: 8px;
    max-height: 380px;
    overflow-y: auto;
}
.site-search-group + .site-search-group {
    margin-top: 6px;
    padding-top: 8px;
    border-top: 1px solid var(--border);
}
.site-search-group-label {
    margin: 0;
    padding: 2px 10px 6px;
    font-size: .64rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted);
}
.site-search-result {
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: var(--r-sm);
    padding: 10px 11px;
    min-height: 44px;
    transition: all .25s ease;
}
.site-search-result:hover {
    background: var(--cream);
    transform: translateY(-2px);
}
.site-search-result:focus-visible {
    outline: none;
    background: var(--cream);
    box-shadow: 0 0 0 3px rgba(183,110,121,.2);
}
.site-search-title {
    display: block;
    font-size: .82rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 3px;
}
.site-search-desc {
    display: block;
    font-size: .74rem;
    color: var(--muted);
    line-height: 1.5;
}
.site-search-empty {
    padding: 12px;
    text-align: center;
    font-size: .78rem;
    color: var(--muted);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 6px;
    margin-left: auto;
    flex-shrink: 0;
}
.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--charcoal);
    border-radius: 2px;
    transition: var(--ease);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==============================================
   HERO
   ============================================== */
.hero {
    background: linear-gradient(135deg, #FDF8F5 0%, #FBE8E8 40%, #F4C2C2 75%, #D4969F 100%);
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 80px 28px;
}

/* Decorative blobs */
.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -8%;
    width: 55vw;
    height: 55vw;
    border-radius: 50%;
    background: rgba(183,110,121,.06);
    pointer-events: none;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: -25%;
    left: -5%;
    width: 38vw;
    height: 38vw;
    border-radius: 50%;
    background: rgba(244,194,194,.25);
    pointer-events: none;
}

.hero-inner {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.hero-content { flex: 0 0 560px; max-width: 560px; }

.hero-tag {
    display: inline-block;
    background: rgba(183,110,121,.12);
    color: var(--rose-dark);
    border: 1px solid rgba(183,110,121,.25);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    margin-bottom: 22px;
}

.hero-title {
    font-size: clamp(2.4rem, 4.5vw, 3.8rem);
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 20px;
    line-height: 1.12;
}
.hero-title em { color: var(--rose-gold); }

.hero-subtitle {
    font-size: .95rem;
    color: var(--text);
    line-height: 1.75;
    margin-bottom: 36px;
    max-width: 460px;
}

.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }

/* Stats row */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 20px;
}
.hero-stat { text-align: center; }
.hero-stat strong {
    display: block;
    font-family: var(--serif);
    font-size: 1.3rem;
    color: var(--rose-gold);
}
.hero-stat span {
    font-size: .68rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .8px;
    font-weight: 600;
}
.hero-stat-divider {
    width: 1px;
    height: 32px;
    background: rgba(183,110,121,.25);
}

/* Hero visual */
.hero-visual {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 320px;
}

.hero-blob {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: rgba(183,110,121,.12);
    position: absolute;
}

.hero-ring {
    position: absolute;
    border-radius: 50%;
    border: 1.5px solid rgba(183,110,121,.2);
}
.hero-ring-1 { width: 340px; height: 340px; }
.hero-ring-2 { width: 420px; height: 420px; border-color: rgba(183,110,121,.1); }

.hero-card {
    position: absolute;
    background: var(--white);
    border-radius: var(--r);
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow-md);
    font-size: .82rem;
    font-weight: 600;
    color: var(--charcoal);
    white-space: nowrap;
    animation: float 3.5s ease-in-out infinite;
}
.hero-card-1 { top: 15%; left: 5%; animation-delay: 0s; }
.hero-card-2 { bottom: 15%; right: 5%; animation-delay: 1.5s; }
.hero-card-emoji { font-size: 1.2rem; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-10px); }
}

/* ==============================================
   MAIN LAYOUT
   ============================================== */
.main-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 28px;
}
.content-wrapper {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 40px;
    align-items: start;
}

/* ==============================================
   SIDEBAR
   ============================================== */
.sidebar {
    position: sticky;
    top: 88px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.sidebar-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 22px;
    box-shadow: var(--shadow-xs);
}

.sidebar-title {
    font-size: .95rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--blush-light);
}

.filter-group { margin-bottom: 22px; }
.filter-group:last-of-type { margin-bottom: 0; }

.filter-group-label {
    font-size: .67rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--muted);
    margin-bottom: 10px;
}

.filter-label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    font-size: .85rem;
    color: var(--text);
    cursor: pointer;
    transition: color .2s;
    position: relative;
}
.filter-label:hover { color: var(--rose-gold); }

/* Custom checkbox */
.filter-label input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 17px;
    height: 17px;
    border: 2px solid var(--border);
    border-radius: 4px;
    flex-shrink: 0;
    cursor: pointer;
    transition: var(--ease);
    position: relative;
    background: var(--white);
}
.filter-label input[type="checkbox"]:checked {
    background: var(--rose-gold);
    border-color: var(--rose-gold);
}
.filter-label input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 5px;
    width: 5px;
    height: 9px;
    border: 2px solid white;
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
}

.filter-count {
    margin-left: auto;
    font-size: .68rem;
    color: var(--muted);
    background: var(--cream);
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 600;
}

/* Newsletter sidebar */
.sidebar-newsletter {
    background: linear-gradient(140deg, var(--rose-gold) 0%, var(--rose-dark) 100%);
    border-color: transparent;
}
.sidebar-newsletter .sidebar-title {
    color: var(--white);
    border-bottom-color: rgba(255,255,255,.18);
}
.sidebar-nl-text {
    font-size: .8rem;
    color: rgba(255,255,255,.82);
    line-height: 1.6;
    margin-bottom: 14px;
}
.newsletter-form { margin: 0; }
.nl-input {
    width: 100%;
    background: rgba(255,255,255,.18);
    border: 1.5px solid rgba(255,255,255,.3);
    border-radius: 50px;
    padding: 9px 16px;
    font-family: var(--sans);
    font-size: .8rem;
    color: var(--white);
    outline: none;
    transition: background .2s, border-color .2s;
}
.nl-input::placeholder { color: rgba(255,255,255,.55); }
.nl-input:focus { background: rgba(255,255,255,.28); border-color: rgba(255,255,255,.6); }
.btn-nl[disabled] {
    opacity: .78;
    cursor: not-allowed;
}

/* Promo sidebar */
.sidebar-promo {
    background: var(--amazon-bg);
    border-color: rgba(255,153,0,.2);
}
.promo-badge {
    display: inline-block;
    background: var(--amazon);
    color: #111;
    font-size: .62rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: .8px;
    margin-bottom: 8px;
}
.promo-text { font-size: .82rem; color: var(--text); line-height: 1.5; margin-bottom: 10px; }
.promo-link { font-size: .8rem; font-weight: 600; color: var(--rose-gold); }
.promo-link:hover { color: var(--rose-dark); }

/* ==============================================
   PRODUCTS AREA
   ============================================== */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 28px;
    flex-wrap: wrap;
    gap: 10px;
}

.section-tag {
    display: inline-block;
    background: var(--blush-light);
    color: var(--rose-dark);
    border: 1px solid var(--blush);
    padding: 5px 14px;
    border-radius: 50px;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 6px;
}
.tag-light {
    background: rgba(183,110,121,.12);
    color: var(--rose-light);
    border-color: rgba(183,110,121,.2);
}

.section-title {
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--charcoal);
}
.section-meta {
    font-size: .75rem;
    color: var(--muted);
    text-align: right;
}
.section-controls {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 7px;
}
.sort-label {
    font-size: .67rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--muted);
}
.sort-select {
    border: 1.5px solid var(--border);
    background: var(--white);
    color: var(--charcoal);
    border-radius: 50px;
    padding: 7px 14px;
    font-family: var(--sans);
    font-size: .75rem;
    font-weight: 600;
    min-width: 190px;
    outline: none;
}
.sort-select:focus {
    border-color: var(--rose-gold);
    box-shadow: 0 0 0 3px rgba(183,110,121,.12);
}

/* ==============================================
   PRODUCT GRID
   ============================================== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.product-grid:empty { min-height: 220px; }

/* ==============================================
   PRODUCT CARD
   ============================================== */
.product-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--r);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-xs);
    transition: all .25s ease;
    /* Entrance animation */
    opacity: 0;
    transform: translateY(22px);
    animation: fadeUp .55s ease forwards;
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

/* Stagger delays */
.product-card:nth-child(1)  { animation-delay: .05s; }
.product-card:nth-child(2)  { animation-delay: .1s; }
.product-card:nth-child(3)  { animation-delay: .15s; }
.product-card:nth-child(4)  { animation-delay: .2s; }
.product-card:nth-child(5)  { animation-delay: .25s; }
.product-card:nth-child(6)  { animation-delay: .3s; }
.product-card:nth-child(7)  { animation-delay: .35s; }
.product-card:nth-child(8)  { animation-delay: .4s; }
.product-card:nth-child(9)  { animation-delay: .45s; }
.product-card:nth-child(10) { animation-delay: .5s; }
.product-card:nth-child(11) { animation-delay: .55s; }
.product-card:nth-child(12) { animation-delay: .6s; }

@keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
}

/* Card Image */
.card-img-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background: var(--blush-light);
}
.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}
.product-card:hover .card-img { transform: scale(1.03); }

/* Category Badge */
.card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 11px;
    border-radius: 50px;
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .8px;
    text-transform: uppercase;
    z-index: 1;
    backdrop-filter: blur(4px);
}
.badge-makeup      { background: rgba(255,228,232,.92); color: #C2324A; }
.badge-skincare    { background: rgba(228,245,228,.92); color: #2A7A3A; }
.badge-clothing    { background: rgba(232,228,255,.92); color: #5032C2; }
.badge-accessories { background: rgba(255,244,228,.92); color: #B87A32; }

/* Hover overlay */
.card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(44,44,44,.38);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .3s ease;
}
.product-card:hover .card-overlay { opacity: 1; }

@media (hover: none) {
    .card-overlay {
        opacity: 1;
        background: rgba(44,44,44,.2);
        align-items: flex-end;
        padding-bottom: 14px;
    }
}

.quick-view-btn {
    background: var(--white);
    border: none;
    padding: 10px 22px;
    border-radius: 50px;
    font-family: var(--sans);
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .5px;
    color: var(--charcoal);
    cursor: pointer;
    transform: translateY(12px);
    transition: transform .3s ease, background .2s, color .2s;
}
.product-card:hover .quick-view-btn { transform: translateY(0); }
.quick-view-btn:hover { background: var(--rose-gold); color: var(--white); }
.quick-view-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(183,110,121,.2);
}

@media (hover: none) {
    .quick-view-btn { transform: translateY(0); }
}

.quick-view-open {
    overflow: hidden;
}

.quick-view-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 22px;
    background: rgba(44, 32, 35, 0.56);
    backdrop-filter: blur(2px);
}

.quick-view-modal[hidden] {
    display: none;
}

.quick-view-dialog {
    width: min(920px, 100%);
    max-height: calc(100vh - 44px);
    overflow: auto;
    position: relative;
    background: linear-gradient(180deg, #fff, #fffaf8);
    border: 1px solid var(--border);
    border-radius: 22px;
    box-shadow: 0 26px 56px rgba(43, 26, 30, 0.22);
    outline: none;
}

.quick-view-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    border: 1px solid var(--border);
    border-radius: 50%;
    background: var(--white);
    color: var(--charcoal);
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
    transition: var(--ease);
    z-index: 2;
}

.quick-view-close:hover {
    background: var(--rose-gold);
    color: var(--white);
    border-color: var(--rose-gold);
}

.quick-view-close:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(183,110,121,.2);
}

.quick-view-content {
    display: grid;
    grid-template-columns: minmax(260px, 320px) 1fr;
}

.quick-view-media {
    background: var(--blush-light);
    min-height: 320px;
}

.quick-view-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.quick-view-body {
    padding: 28px 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.quick-view-brand {
    margin: 0;
    font-size: .66rem;
    font-weight: 700;
    letter-spacing: 1.25px;
    text-transform: uppercase;
    color: var(--rose-gold);
}

.quick-view-title {
    margin: 0;
    font-family: var(--serif);
    font-size: 1.55rem;
    color: var(--charcoal);
    line-height: 1.2;
}

.quick-view-category {
    margin: 0;
    color: var(--muted);
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.quick-view-rating {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.quick-view-rating-meta {
    font-size: .78rem;
    color: var(--muted);
}

.quick-view-price-row {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.quick-view-current-price {
    font-size: 1.32rem;
    font-weight: 700;
    color: var(--charcoal);
}

.quick-view-old-price {
    font-size: .95rem;
    color: var(--muted);
    text-decoration: line-through;
}

.quick-view-description {
    margin: 0;
    color: var(--charcoal);
    line-height: 1.65;
    font-size: .92rem;
}

.quick-view-best {
    margin: 2px 0 0;
    padding: 10px 12px;
    border-radius: 12px;
    background: var(--cream);
    border: 1px solid var(--border);
    font-size: .84rem;
    color: var(--charcoal);
}

.quick-view-best strong {
    color: var(--rose-dark);
}

.quick-view-compare p {
    margin: 2px 0 6px;
    font-size: .78rem;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .7px;
}

.quick-view-compare ul {
    margin: 0;
    padding: 0;
    list-style: none;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
}

.quick-view-compare li {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    font-size: .82rem;
    padding: 7px 10px;
    background: var(--white);
}

.quick-view-compare li + li {
    border-top: 1px dashed var(--border);
}

.quick-view-actions {
    margin-top: 6px;
}

.quick-view-actions .btn {
    margin-top: 0;
}

/* Card Body */
.card-body {
    padding: 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card-brand {
    font-size: .66rem;
    font-weight: 700;
    letter-spacing: 1.3px;
    text-transform: uppercase;
    color: var(--rose-gold);
    margin-bottom: 4px;
}

.card-title {
    font-family: var(--sans);
    font-size: .9rem;
    font-weight: 600;
    color: var(--charcoal);
    line-height: 1.35;
    margin-bottom: 8px;
}

/* Stars */
.card-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 14px;
}
.stars { color: #FFB800; font-size: .85rem; letter-spacing: 1px; }
.rating-count { font-size: .7rem; color: var(--muted); }

/* Price Box */
.price-box {
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    overflow: hidden;
    margin-bottom: 4px;
}

.price-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    font-size: .78rem;
}
.price-row + .price-row { border-top: 1px dashed var(--border); }

.price-store { flex: 1; color: var(--muted); font-weight: 500; }
.price-val { font-weight: 700; color: var(--charcoal); }

/* Amazon row */
.price-row.price-amazon {
    background: var(--amazon-bg);
    padding: 8px 12px;
}
.price-row.price-amazon .price-store { color: var(--charcoal); font-weight: 700; }
.price-row.price-amazon .price-val {
    color: var(--amazon);
    font-size: .88rem;
}
.price-old {
    color: var(--muted);
    font-size: .7rem;
    text-decoration: line-through;
}
.best-badge {
    background: var(--amazon);
    color: #111;
    padding: 2px 7px;
    border-radius: 50px;
    font-size: .58rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    white-space: nowrap;
}

/* No Results */
.no-results {
    display: none;
    text-align: center;
    padding: 56px 22px;
    color: var(--muted);
    border: 1px dashed var(--border);
    border-radius: var(--r);
    background: var(--white);
    margin-top: 14px;
}
.no-results-icon { font-size: 3rem; margin-bottom: 14px; }
.no-results h3 {
    font-size: 1.1rem;
    color: var(--charcoal);
    margin-bottom: 8px;
}
.no-results p { font-size: .85rem; margin-bottom: 14px; }
.no-results button:not(.btn) {
    background: none;
    border: none;
    color: var(--rose-gold);
    font-weight: 700;
    text-decoration: underline;
    cursor: pointer;
    font-size: inherit;
}
.no-results .btn {
    margin-top: 2px;
}

/* ==============================================
   BEAUTY ESSENTIALS SECTION
   ============================================== */
.beauty-essentials {
    background: linear-gradient(135deg, #2C2C2C 0%, #3D2A2E 55%, #4A3038 100%);
    padding: 90px 28px;
    position: relative;
    overflow: hidden;
}
.beauty-essentials::before {
    content: '';
    position: absolute;
    top: -35%;
    right: -8%;
    width: 55vw;
    height: 55vw;
    border-radius: 50%;
    background: rgba(183,110,121,.06);
    pointer-events: none;
}
.beauty-essentials::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -5%;
    width: 35vw;
    height: 35vw;
    border-radius: 50%;
    background: rgba(244,194,194,.04);
    pointer-events: none;
}

.essentials-wrap {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.essentials-header {
    text-align: center;
    margin-bottom: 52px;
}
.essentials-title {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    color: var(--white);
    margin-bottom: 14px;
}
.essentials-sub {
    font-size: .9rem;
    color: rgba(255,255,255,.6);
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.75;
}

.essentials-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 48px;
}

.essential-card {
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: var(--r);
    padding: 28px 22px;
    transition: var(--ease);
    backdrop-filter: blur(6px);
}
.essential-card:hover {
    background: rgba(255,255,255,.1);
    border-color: rgba(183,110,121,.35);
    transform: translateY(-5px);
    box-shadow: 0 8px 32px rgba(0,0,0,.25);
}

.essential-icon {
    font-size: 2.2rem;
    margin-bottom: 14px;
    display: block;
}
.essential-card h4 {
    font-size: 1rem;
    color: var(--white);
    margin-bottom: 10px;
}
.essential-card p {
    font-size: .8rem;
    color: rgba(255,255,255,.58);
    line-height: 1.75;
    margin-bottom: 18px;
}
.essential-link {
    font-size: .76rem;
    font-weight: 700;
    color: var(--blush);
    letter-spacing: .3px;
    transition: color .2s;
}
.essential-link:hover { color: var(--white); }

.essentials-cta { text-align: center; }

/* ==============================================
   FOOTER
   ============================================== */
.footer {
    background: #1E1E1E;
    padding: 64px 28px 0;
}
.footer-wrap { max-width: 1400px; margin: 0 auto; }

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,.07);
}

.footer-logo {
    font-family: var(--serif);
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 14px;
}
.footer-logo em { color: var(--rose-light); }

.footer-tagline {
    font-size: .8rem;
    color: rgba(255,255,255,.42);
    line-height: 1.75;
    margin-bottom: 22px;
}

.social-row { display: flex; gap: 10px; }
.social-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.12);
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.45);
    transition: var(--ease);
}
.social-btn-soon { cursor: pointer; }
.social-btn:hover {
    background: var(--rose-gold);
    border-color: var(--rose-gold);
    color: var(--white);
    transform: translateY(-2px);
}
.social-btn:focus-visible {
    outline: none;
    border-color: var(--rose-light);
    box-shadow: 0 0 0 3px rgba(212,150,159,.28);
    color: var(--white);
}

.footer-col-title {
    font-family: var(--sans);
    font-size: .65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255,255,255,.32);
    margin-bottom: 18px;
}
.footer-links li { margin-bottom: 9px; }
.footer-links a {
    display: inline-block;
    font-size: .82rem;
    color: rgba(255,255,255,.48);
    transition: color .25s ease, transform .25s ease;
}
.footer-links a:hover { color: var(--rose-light); transform: translateY(-2px); }

/* Disclosure */
.affiliate-disclosure {
    padding: 26px 0;
    border-bottom: 1px solid rgba(255,255,255,.07);
}
.disclosure-inner {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: rgba(255,153,0,.07);
    border: 1px solid rgba(255,153,0,.18);
    border-radius: var(--r-sm);
    padding: 16px 20px;
}
.disclosure-label {
    flex-shrink: 0;
    font-size: .65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--amazon);
    background: rgba(255,153,0,.15);
    padding: 4px 10px;
    border-radius: 50px;
    margin-top: 2px;
}
.disclosure-inner p {
    font-size: .76rem;
    color: rgba(255,255,255,.42);
    line-height: 1.65;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}
.footer-bottom p { font-size: .75rem; color: rgba(255,255,255,.25); }

/* Active nav link for multi-page layout */
.nav-link.active { color: var(--rose-gold); }
.nav-link.active::after { width: 55%; }

/* ==============================================
   INNER PAGES
   ============================================== */
.page-hero {
    background: linear-gradient(135deg, #FDF8F5 0%, #FBE8E8 45%, #F4C2C2 100%);
    padding: 86px 28px 70px;
    position: relative;
    overflow: hidden;
}
.page-hero::before,
.page-hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}
.page-hero::before {
    width: 42vw;
    height: 42vw;
    top: -28%;
    right: -6%;
    background: rgba(183,110,121,.09);
}
.page-hero::after {
    width: 30vw;
    height: 30vw;
    bottom: -20%;
    left: -4%;
    background: rgba(255,255,255,.28);
}
.page-hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.page-kicker {
    display: inline-block;
    background: rgba(183,110,121,.12);
    color: var(--rose-dark);
    border: 1px solid rgba(183,110,121,.25);
    border-radius: 50px;
    padding: 6px 16px;
    font-size: .7rem;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 16px;
}
.page-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 14px;
    color: var(--charcoal);
}
.page-subtitle {
    max-width: 700px;
    color: var(--text);
    font-size: .92rem;
    line-height: 1.75;
}

.page-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 56px 28px 74px;
}
.page-section { margin-bottom: 42px; }
.page-section:last-child { margin-bottom: 0; }

.page-section-header {
    margin-bottom: 20px;
}
.page-section-title {
    font-size: 1.65rem;
    margin-bottom: 8px;
}
.page-section-meta {
    font-size: .82rem;
    color: var(--muted);
}

.page-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.page-grid-3 { grid-template-columns: repeat(3, 1fr); }

.info-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--r);
    box-shadow: var(--shadow-xs);
    padding: 24px;
    transition: all .25s ease;
}
.info-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.info-card h3 {
    font-size: 1.06rem;
    margin-bottom: 10px;
}
.info-card p {
    font-size: .85rem;
    color: var(--text);
    line-height: 1.75;
}
.info-card p + p { margin-top: 10px; }

.editor-note {
    margin-top: 12px;
    font-size: .74rem;
    color: var(--rose-dark);
    letter-spacing: .3px;
    font-weight: 600;
    text-transform: uppercase;
}

.page-list {
    margin-top: 12px;
}
.page-list li {
    position: relative;
    padding-left: 16px;
    margin-bottom: 8px;
    font-size: .84rem;
    color: var(--text);
}
.page-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: .6em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--rose-light);
}

.page-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.deal-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.deal-card {
    background: var(--white);
    border: 1px solid rgba(255,153,0,.25);
    border-radius: var(--r);
    box-shadow: var(--shadow-xs);
    padding: 22px;
    transition: all .25s ease;
}
.deal-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.deal-badge {
    display: inline-block;
    border-radius: 50px;
    background: var(--amazon);
    color: #111;
    font-size: .63rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .8px;
    padding: 4px 11px;
    margin-bottom: 12px;
}
.deal-title {
    font-size: 1.02rem;
    margin-bottom: 8px;
}
.deal-copy {
    font-size: .82rem;
    color: var(--text);
    line-height: 1.65;
    margin-bottom: 14px;
}
.deal-prices {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}
.deal-old {
    color: var(--muted);
    text-decoration: line-through;
    font-size: .82rem;
}
.deal-new {
    color: var(--amazon);
    font-weight: 700;
    font-size: 1rem;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}
.contact-form,
.contact-panel {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--r);
    box-shadow: var(--shadow-xs);
    padding: 24px;
}
.contact-form-title {
    font-size: 1.2rem;
    margin-bottom: 16px;
}
.form-field {
    margin-bottom: 14px;
}
.form-field label {
    display: block;
    font-size: .75rem;
    letter-spacing: .8px;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--muted);
    margin-bottom: 8px;
}
.form-field input,
.form-field textarea {
    width: 100%;
    border: 1.5px solid var(--border);
    border-radius: var(--r-sm);
    padding: 11px 12px;
    font-family: var(--sans);
    font-size: .85rem;
    color: var(--charcoal);
    background: var(--white);
    appearance: none;
    -webkit-appearance: none;
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.form-field textarea {
    min-height: 150px;
    resize: vertical;
}
.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--rose-gold);
    box-shadow: 0 0 0 3px rgba(183,110,121,.12);
    background: #fffdfd;
}
.form-field input:focus-visible,
.form-field textarea:focus-visible {
    border-color: var(--rose-gold);
    box-shadow: 0 0 0 3px rgba(183,110,121,.14);
}
.form-field input:-webkit-autofill,
.form-field input:-webkit-autofill:hover,
.form-field input:-webkit-autofill:focus,
.form-field textarea:-webkit-autofill,
.form-field textarea:-webkit-autofill:hover,
.form-field textarea:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--charcoal);
    -webkit-box-shadow: 0 0 0 1000px #fff8f8 inset;
    box-shadow: 0 0 0 1000px #fff8f8 inset;
    border-color: var(--border);
    caret-color: var(--charcoal);
}
.form-field input:-webkit-autofill:focus,
.form-field textarea:-webkit-autofill:focus {
    border-color: var(--rose-gold);
    -webkit-box-shadow: 0 0 0 1000px #fff8f8 inset, 0 0 0 3px rgba(183,110,121,.14);
    box-shadow: 0 0 0 1000px #fff8f8 inset, 0 0 0 3px rgba(183,110,121,.14);
}
.form-field input.input-has-error,
.form-field textarea.input-has-error,
.nl-input.input-has-error {
    border-color: #B44156;
    box-shadow: 0 0 0 3px rgba(180,65,86,.14);
}
.form-inline-error {
    margin-top: 6px;
    font-size: .74rem;
    color: #B44156;
    line-height: 1.4;
}
.form-message {
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: var(--r-sm);
    font-size: .8rem;
    line-height: 1.45;
    border: 1px solid transparent;
    background: transparent;
    color: var(--muted);
    min-height: 0;
}
.form-message.error {
    color: #8F2941;
    background: #FDEFF2;
    border-color: #F2C8D1;
}
.form-message.success {
    color: #2C6B41;
    background: #ECF7F0;
    border-color: #BFE2CB;
}
.form-message.info {
    color: var(--rose-dark);
    background: #F8EEF0;
    border-color: #E9CDD3;
}
.contact-form .btn[disabled] {
    opacity: .78;
    cursor: not-allowed;
}

.legal-copy {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--r);
    box-shadow: var(--shadow-xs);
    padding: 30px;
}
.legal-copy h2 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    margin-top: 18px;
}
.legal-copy h2:first-child { margin-top: 0; }
.legal-copy p {
    font-size: .86rem;
    line-height: 1.75;
    color: var(--text);
    margin-bottom: 12px;
}
.legal-copy p:last-child { margin-bottom: 0; }

.about-promise-card {
    background: #FFF6F7;
    border-color: #F0D8DD;
}
.about-promise-list {
    margin-top: 10px;
    padding-left: 16px;
}
.about-promise-list li {
    font-size: .84rem;
    line-height: 1.7;
    color: var(--text);
    list-style: disc;
}

.start-here-list {
    margin-top: 10px;
    padding-left: 16px;
}
.start-here-list li {
    list-style: disc;
    font-size: .84rem;
    line-height: 1.7;
    color: var(--text);
}
.start-here-links {
    margin-top: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.affiliate-note {
    margin-top: 10px;
    font-size: .77rem;
    line-height: 1.55;
    color: var(--muted);
}
.affiliate-note a {
    color: var(--rose-dark);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-banner {
    position: fixed;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
    width: min(90%, 900px);
    background: rgba(44,44,44,.96);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: var(--r);
    box-shadow: var(--shadow-lg);
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    z-index: 1800;
    transition: opacity .24s ease, transform .24s ease;
    font-family: var(--sans);
}
.cookie-banner.is-hiding {
    opacity: 0;
    transform: translateX(-50%) translateY(16px);
}
.cookie-banner-text {
    margin: 0;
    font-size: .77rem;
    color: rgba(255,255,255,.92);
    line-height: 1.55;
}
.cookie-banner-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.cookie-btn {
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 50px;
    padding: 8px 12px;
    font-size: .7rem;
    line-height: 1;
    letter-spacing: .5px;
    text-transform: uppercase;
    font-weight: 700;
    transition: var(--ease);
    text-decoration: none;
}
.cookie-btn-accept {
    background: var(--rose-gold);
    border-color: var(--rose-gold);
    color: var(--white);
}
.cookie-btn-accept:hover {
    background: var(--rose-dark);
    border-color: var(--rose-dark);
}
.cookie-btn-decline,
.cookie-btn-link {
    background: transparent;
    color: var(--white);
}
.cookie-btn-decline:hover,
.cookie-btn-link:hover {
    border-color: rgba(255,255,255,.6);
    background: rgba(255,255,255,.08);
}
.cookie-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255,255,255,.22);
}

.article-preview-section {
    padding-top: 0;
}

#the-edit {
    margin-top: 72px;
}

.articles-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    justify-content: space-between;
}
.articles-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.article-filter-btn {
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--text);
    border-radius: 50px;
    padding: 8px 14px;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .5px;
    text-transform: uppercase;
    transition: var(--ease);
}
.article-filter-btn:hover {
    border-color: var(--rose-light);
    color: var(--rose-dark);
    transform: translateY(-2px);
}
.article-filter-btn.is-active {
    background: var(--rose-gold);
    border-color: var(--rose-gold);
    color: var(--white);
}
.article-filter-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(183,110,121,.2);
}

.articles-search {
    min-width: min(100%, 320px);
}
.articles-search .search-input {
    width: min(320px, 100%);
}

.article-grid { align-items: stretch; }
.article-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--r);
    box-shadow: var(--shadow-xs);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--ease);
}
.article-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.article-card-media {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #f7f1ee;
}
.article-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}
.article-card:hover .article-card-image {
    transform: scale(1.03);
}
.article-card-body {
    padding: 18px;
    display: grid;
    gap: 8px;
}
.article-card-category {
    font-size: .68rem;
    text-transform: uppercase;
    letter-spacing: 1.1px;
    color: var(--rose-dark);
    font-weight: 700;
}
.article-card-title {
    font-size: 1.1rem;
    line-height: 1.35;
}
.article-card-title a {
    color: var(--charcoal);
    transition: color .2s ease;
}
.article-card-title a:hover {
    color: var(--rose-dark);
}
.article-card-meta {
    font-size: .75rem;
    color: var(--muted);
}
.article-card-excerpt {
    font-size: .84rem;
    color: var(--text);
    line-height: 1.7;
}
.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 2px;
}
.article-tag {
    background: #F9EEF0;
    color: var(--rose-dark);
    border: 1px solid #EACFD5;
    border-radius: 50px;
    padding: 4px 9px;
    font-size: .67rem;
    line-height: 1;
}
.article-empty-card h3 { margin-bottom: 8px; }

.article-empty-state {
    display: block;
    max-width: 520px;
    margin: 12px auto 0;
}

.article-page-main {
    max-width: 980px;
}
.article-page-content {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--r);
    box-shadow: var(--shadow-xs);
    overflow: hidden;
    margin-bottom: 26px;
}
.article-hero-media {
    background: #f7f2ef;
}
.article-hero-media img {
    width: 100%;
    max-height: 470px;
    object-fit: cover;
}
.article-body {
    padding: 28px 30px 30px;
}
.article-body p {
    font-size: .9rem;
    color: var(--text);
    line-height: 1.85;
    margin-bottom: 14px;
}
.article-body h2 {
    font-size: 1.25rem;
    margin: 20px 0 10px;
    color: var(--charcoal);
}
.article-body p:last-child { margin-bottom: 0; }

/* ==============================================
   BACK TO TOP
   ============================================== */
.back-to-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--rose-gold);
    border: none;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .3s, transform .3s, background .2s;
    z-index: 999;
    pointer-events: none;
}
.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}
.back-to-top:hover { background: var(--rose-dark); transform: translateY(-3px); }

/* ==============================================
   TOAST
   ============================================== */
.toast {
    position: fixed;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%) translateY(80px);
    background: var(--charcoal);
    color: var(--white);
    padding: 13px 24px;
    border-radius: 50px;
    font-size: .82rem;
    font-weight: 500;
    z-index: 9999;
    opacity: 0;
    transition: transform .4s cubic-bezier(.34,1.56,.64,1), opacity .3s ease;
    box-shadow: var(--shadow-lg);
    max-width: calc(100vw - 20px);
    white-space: normal;
    text-align: center;
    word-break: break-word;
    pointer-events: none;
}
.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ==============================================
   REDUCED MOTION
   ============================================== */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }

    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }

    body,
    body.page-transition,
    body.page-transition.page-loaded,
    body.page-exiting {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
    }

    .btn:hover,
    .nav-link:hover,
    .product-card:hover,
    .info-card:hover,
    .deal-card:hover,
    .footer-links a:hover {
        transform: none !important;
    }
}

/* ==============================================
   RESPONSIVE - TABLET  <= 1100px
   ============================================== */
@media (max-width: 1100px) {
    .nav-container { gap: 14px; }
    .nav-link { padding: 8px 10px; font-size: .7rem; }
    .search-input { width: 150px; }
    .content-wrapper { grid-template-columns: 230px 1fr; gap: 28px; }
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .essentials-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
    .hero-visual { display: none; }
    .hero-content { max-width: 100%; flex: 1; }
    .page-grid-3,
    .deal-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-layout { grid-template-columns: 1fr; }
    .article-grid.page-grid-3 { grid-template-columns: repeat(2, 1fr); }
    #the-edit { margin-top: 60px; }
}

/* ==============================================
   RESPONSIVE - MOBILE  <= 768px
   ============================================== */
@media (max-width: 768px) {
    /* Navbar */
    .hamburger { display: flex; }
    .nav-search { display: none; }
    .articles-search.nav-search {
        display: flex;
        width: 100%;
        min-width: 0;
    }
    .articles-search .search-input { width: 100%; }
    .nav-links {
        position: fixed;
        top: 72px;
        left: 0; right: 0;
        background: rgba(255,255,255,.98);
        backdrop-filter: blur(14px);
        flex-direction: column;
        align-items: stretch;
        padding: 16px 24px 24px;
        border-bottom: 1px solid var(--border);
        gap: 2px;
        transform: translateY(-110%);
        opacity: 0;
        pointer-events: none;
        transition: transform .32s ease, opacity .28s ease;
        box-shadow: var(--shadow-md);
        z-index: 999;
        margin-left: 0;
    }
    .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: all; }
    .nav-link {
        min-height: 44px;
        display: flex;
        align-items: center;
        padding: 13px 6px;
        font-size: .85rem;
    }
    .nav-link::after { display: none; }

    /* Hero */
    .hero { min-height: auto; padding: 60px 20px 50px; }
    .hero-title { font-size: 2rem; }
    .hero-cta { flex-direction: column; }
    .hero-cta .btn { justify-content: center; }
    .hero-stats { gap: 14px; }
    .page-hero { padding: 60px 20px 50px; }
    .page-main { padding: 40px 20px 60px; }
    .page-title { font-size: 1.9rem; }
    .page-actions { flex-direction: column; }
    .deal-prices { flex-wrap: wrap; }
    .articles-toolbar { align-items: stretch; }
    .articles-filters { gap: 8px; }
    .article-filter-btn {
        font-size: .68rem;
        min-height: 44px;
        padding-inline: 14px;
    }
    .article-body { padding: 22px 20px 24px; }
    .article-body h2 { font-size: 1.12rem; }
    #the-edit { margin-top: 48px; }
    .cookie-banner {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        bottom: 12px;
        width: calc(100% - 24px);
    }
    .cookie-banner-actions {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }
    .cookie-btn {
        text-align: center;
        width: 100%;
    }

    /* Layout */
    .main-content { padding: 40px 20px; }
    .content-wrapper { grid-template-columns: 1fr; }
    .sidebar { position: static; top: auto; }
    .page-grid,
    .page-grid-3,
    .deal-grid { grid-template-columns: 1fr; }
    .article-grid.page-grid-3 { grid-template-columns: 1fr; }

    /* Products */
    .section-header { flex-direction: column; align-items: flex-start; }
    .section-meta { text-align: left; }
    .section-controls { align-items: flex-start; width: 100%; }
    .sort-select { width: 100%; max-width: 280px; }
    .product-grid { grid-template-columns: 1fr; gap: 14px; }
    .price-row {
        flex-wrap: wrap;
        row-gap: 4px;
    }
    .best-badge {
        margin-left: auto;
    }

    .quick-view-modal {
        padding: 14px;
        align-items: flex-end;
    }

    .quick-view-dialog {
        max-height: calc(100vh - 20px);
        border-radius: 18px;
    }

    .quick-view-content {
        grid-template-columns: 1fr;
    }

    .quick-view-media {
        min-height: 250px;
    }

    .quick-view-body {
        padding: 20px 18px 18px;
    }

    .quick-view-title {
        font-size: 1.25rem;
    }

    /* Essentials */
    .essentials-grid { grid-template-columns: 1fr; }
    .beauty-essentials { padding: 60px 20px; }

    /* Footer */
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .social-btn { width: 44px; height: 44px; }
    .footer-bottom { flex-direction: column; gap: 6px; text-align: center; }

    /* Back to top */
    .back-to-top { bottom: 20px; right: 20px; width: 42px; height: 42px; }
}

/* ==============================================
   RESPONSIVE - SMALL  <= 480px
   ============================================== */
@media (max-width: 480px) {
    .product-grid { grid-template-columns: 1fr; }
    .contact-form .btn,
    .page-actions .btn {
        width: 100%;
    }
    .disclosure-inner {
        flex-wrap: wrap;
    }
    .hero-stats { flex-wrap: wrap; gap: 10px; }
    .hero-stat-divider { display: none; }
    .nav-container { padding: 0 18px; }
}

/* ==============================================
   Cookie - Banner
   ============================================== */

.cookie-banner {
  position: fixed !important;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  width: min(92%, 900px);
  z-index: 9999;
  background: #fff7f5;
  border: 1px solid rgba(190, 113, 128, 0.25);
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(60, 35, 38, 0.18);
  padding: 18px 22px;
  display: none;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

.cookie-banner.show {
  display: flex;
}

.cookie-banner p {
  margin: 0;
  color: #4a3a3d;
  line-height: 1.6;
  font-size: 0.95rem;
}

.cookie-banner a {
  color: #bd6f80;
  font-weight: 700;
  text-decoration: none;
}

.cookie-banner a:hover {
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-actions button,
.cookie-actions a {
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
}

.cookie-accept {
  background: #bd6f80;
  color: #fff;
}

.cookie-decline {
  background: #f0dddd;
  color: #5a3a40;
}

.cookie-learn {
  background: transparent;
  color: #bd6f80;
  border: 1px solid rgba(190, 113, 128, 0.35) !important;
}

@media (max-width: 640px) {
  .cookie-banner {
    width: calc(100% - 24px);
    bottom: 12px;
    padding: 16px;
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-actions {
    width: 100%;
    flex-direction: column;
  }

  .cookie-actions button,
  .cookie-actions a {
    width: 100%;
    text-align: center;
  }
}
