/* ═══════════════════════════════════════════════════
   Lessentials — Off-White & Baby Pink Luxury Theme
   Production-ready · Fluid backgrounds · Refined
═══════════════════════════════════════════════════ */

:root {
    --bg:           #faf7f4;
    --bg-soft:      #f5eff7;
    --bg-pink:      #fce8f0;
    --bg-rose:      #f9d8e8;
    --bg-cream:     #fdf9f5;
    --card:         #ffffff;
    --card-pink:    rgba(252, 232, 240, 0.55);
    --card-glass:   rgba(255, 255, 255, 0.78);
    --gold:         #b8860b;
    --gold-bright:  #d4a017;
    --gold-light:   #e8c547;
    --gold-dim:     rgba(184, 134, 11, 0.14);
    --gold-glow:    rgba(184, 134, 11, 0.11);
    --text:         #2c1a28;
    --text-mid:     #6b4a5e;
    --text-soft:    #a07898;
    --text-faint:   rgba(44, 26, 40, 0.32);
    --border:       rgba(180, 130, 160, 0.18);
    --border-pink:  rgba(220, 160, 190, 0.32);
    --border-gold:  rgba(184, 134, 11, 0.26);
    --shadow-sm:    0 2px 12px rgba(180, 100, 140, 0.07);
    --shadow-md:    0 8px 30px rgba(160, 80, 120, 0.11);
    --shadow-lg:    0 22px 56px rgba(140, 60, 100, 0.14);
    --shadow-gold:  0 8px 28px rgba(184, 134, 11, 0.2);
    --success:      #3d9970;
    --error:        #c0392b;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    line-height: 1.65;
    color: var(--text);
    background-color: var(--bg);
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(ellipse 90% 70% at 15% 0%,   rgba(252, 200, 225, 0.42) 0%, transparent 55%),
        radial-gradient(ellipse 70% 60% at 85% 100%,  rgba(248, 210, 230, 0.38) 0%, transparent 55%),
        radial-gradient(ellipse 50% 50% at 50% 50%,   rgba(255, 235, 245, 0.28) 0%, transparent 70%),
        linear-gradient(160deg, #faf7f4 0%, #fdf0f6 40%, #f9f4fb 70%, #faf7f4 100%);
    pointer-events: none;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

::-webkit-scrollbar              { width: 6px; }
::-webkit-scrollbar-track        { background: var(--bg-pink); }
::-webkit-scrollbar-thumb        { background: linear-gradient(var(--gold), var(--gold-bright)); border-radius: 6px; }
::-webkit-scrollbar-thumb:hover  { background: var(--gold-bright); }

/* ── NAVBAR ── */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(250, 247, 244, 0.88);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-pink);
    transition: all 0.35s ease;
    box-shadow: 0 2px 18px rgba(180, 100, 140, 0.05);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h2 {
    font-family: 'Playfair Display', serif;
    color: var(--text);
    font-size: 1.85rem;
    letter-spacing: 3px;
    font-weight: 700;
}

.nav-menu { display: flex; list-style: none; gap: 2.2rem; }

.nav-link {
    color: var(--text-mid);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    letter-spacing: 0.4px;
    transition: color 0.3s;
    position: relative;
}

.nav-link:hover { color: var(--text); }

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: linear-gradient(90deg, var(--gold), var(--gold-bright));
    transition: width 0.3s ease;
}

.nav-link:hover::after { width: 100%; }

.nav-icons { display: flex; align-items: center; gap: 0.8rem; }

.cart-count {
    background: linear-gradient(135deg, var(--gold), var(--gold-bright));
    color: #fff;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    box-shadow: var(--shadow-gold);
}

.cart-btn {
    background: transparent;
    border: 1.5px solid var(--border-gold);
    color: var(--gold);
    padding: 0.5rem 1.4rem;
    border-radius: 25px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.cart-btn:hover {
    background: var(--gold);
    color: #fff;
    border-color: var(--gold);
    box-shadow: var(--shadow-gold);
}

/* ── HERO ── */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 700px;
    height: 700px;
    top: -200px;
    right: -150px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(252, 185, 215, 0.32) 0%, transparent 70%);
    animation: floatBlob 12s ease-in-out infinite;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    bottom: -100px;
    left: -100px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(248, 200, 225, 0.28) 0%, transparent 70%);
    animation: floatBlob 15s ease-in-out infinite reverse;
    pointer-events: none;
}

@keyframes floatBlob {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%  { transform: translate(30px, -20px) scale(1.05); }
    66%  { transform: translate(-20px, 30px) scale(0.95); }
}

.hero-content {
    text-align: center;
    z-index: 2;
    max-width: 820px;
    padding: 0 24px;
    animation: fadeInUp 1s ease both;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 7.5vw, 5.8rem);
    color: var(--text);
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
    line-height: 1.1;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.15rem;
    margin-bottom: 2.8rem;
    color: var(--text-mid);
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.75;
}

.hero-carousel {
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: 0.1;
}

/* ── CTA BUTTONS ── */
.cta-btn {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-bright) 100%);
    color: #fff;
    border: none;
    padding: 1rem 2.8rem;
    font-size: 0.92rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-gold);
    letter-spacing: 0.8px;
    font-family: 'Inter', sans-serif;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(184, 134, 11, 0.32);
}

.cta-btn:active { transform: translateY(0); }

.cta-btn.secondary {
    background: transparent;
    border: 1.5px solid var(--border-gold);
    color: var(--gold);
    box-shadow: none;
}

.cta-btn.secondary:hover {
    background: var(--gold-dim);
    box-shadow: none;
}

/* ── SECTION TITLES ── */
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.2rem, 4.5vw, 3.5rem);
    text-align: center;
    margin-bottom: 4rem;
    color: var(--text);
    font-weight: 700;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 58px;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    margin: 0.9rem auto 0;
    border-radius: 2px;
}

/* ── STORY ── */
.story {
    padding: 120px 0;
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.story-text p {
    font-size: 1.05rem;
    margin-bottom: 1.6rem;
    color: var(--text-mid);
    line-height: 1.8;
}

.story-image img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
}

/* ── FEATURED ── */
.featured {
    padding: 100px 0;
    background: linear-gradient(180deg, transparent 0%, rgba(252, 232, 240, 0.35) 50%, transparent 100%);
}

.carousel {
    display: flex;
    overflow-x: auto;
    gap: 1.8rem;
    scroll-snap-type: x mandatory;
    padding: 1.5rem 0 2.5rem;
    scrollbar-width: none;
}

.carousel::-webkit-scrollbar { display: none; }

.carousel-item {
    flex: 0 0 360px;
    scroll-snap-align: start;
    background: var(--card-glass);
    border-radius: 20px;
    padding: 1.8rem;
    text-align: center;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-pink);
    box-shadow: var(--shadow-sm);
    transition: all 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.carousel-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-gold);
}

.carousel-item h3 {
    font-family: 'Playfair Display', serif;
    color: var(--text);
    margin-bottom: 0.5rem;
    font-size: 1.15rem;
}

.featured-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, var(--gold), var(--gold-bright));
    color: #fff;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.8px;
}

.featured-actions { display: flex; gap: 0.8rem; margin-top: 1rem; }

.add-to-cart {
    background: linear-gradient(135deg, var(--gold), var(--gold-bright));
    color: #fff;
    border: none;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.add-to-cart.small {
    flex: 1;
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
}

.add-to-cart.small:hover {
    box-shadow: var(--shadow-gold);
    transform: translateY(-1px);
}

.quick-view-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1.5px solid var(--border-gold);
    background: transparent;
    color: var(--gold);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.quick-view-btn:hover { background: var(--gold-dim); }

/* ── SHOP ── */
.shop { padding: 100px 0 90px; }

.shop-hero {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid var(--border-pink);
}

.shop-subtitle {
    font-size: 1.05rem;
    color: var(--text-mid);
    max-width: 520px;
    margin: 0 auto;
}

.shop-controls {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.search-container {
    position: relative;
    flex: 1;
    max-width: 400px;
    min-width: 250px;
}

.search-container input {
    width: 100%;
    padding: 0.9rem 1rem 0.9rem 3.1rem;
    background: var(--card);
    border: 1.5px solid var(--border-pink);
    border-radius: 50px;
    color: var(--text);
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
    outline: none;
}

.search-container input::placeholder { color: var(--text-soft); }

.search-container input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px var(--gold-glow), var(--shadow-sm);
}

.search-icon {
    position: absolute;
    left: 1.1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 17px;
    height: 17px;
    opacity: 0.5;
    pointer-events: none;
}

.filters { display: flex; gap: 0.7rem; flex-wrap: wrap; }

.filter-btn {
    background: var(--card);
    border: 1.5px solid var(--border-pink);
    color: var(--text-mid);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 0.84rem;
    font-weight: 500;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
    background: linear-gradient(135deg, var(--gold), var(--gold-bright));
    color: #fff;
    border-color: transparent;
    box-shadow: var(--shadow-gold);
}

/* Loading / Empty */
.loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5rem 2rem;
    font-size: 0.95rem;
    color: var(--text-soft);
    font-style: italic;
}

.loading::after {
    content: '';
    width: 18px;
    height: 18px;
    border: 2px solid var(--border-pink);
    border-top: 2px solid var(--gold);
    border-radius: 50%;
    margin-left: 1rem;
    animation: spin 0.85s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 6rem 2rem;
    text-align: center;
    color: var(--text-soft);
}

.empty-state svg { width: 65px; height: 65px; margin-bottom: 1.5rem; opacity: 0.45; }

.empty-state h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--text-mid);
    margin-bottom: 0.4rem;
}

/* ── PRODUCT GRID & CARDS ── */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--card);
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid var(--border-pink);
    box-shadow: var(--shadow-sm);
    transition: all 0.42s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
}

.product-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(184, 134, 11, 0.22);
}

.product-actions {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    gap: 0.45rem;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s;
}

.product-card:hover .product-actions { opacity: 1; }

.wishlist-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1.5px solid rgba(255,255,255,0.9);
    background: rgba(255,255,255,0.88);
    backdrop-filter: blur(8px);
    color: var(--text-soft);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all 0.3s;
    box-shadow: var(--shadow-sm);
}

.wishlist-btn.active,
.wishlist-btn:hover {
    background: var(--bg-rose);
    border-color: rgba(220, 160, 190, 0.5);
    color: #c0526f;
}

.product-image {
    height: 260px;
    overflow: hidden;
    background: var(--bg-pink);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s ease;
}

.product-card:hover .product-image img { transform: scale(1.07); }

.zoomable { cursor: zoom-in; }

.product-info {
    padding: 1.5rem;
}

.product-info h3 {
    font-family: 'Playfair Display', serif;
    color: var(--text);
    margin-bottom: 0.35rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.product-desc {
    color: var(--text-soft);
    font-size: 0.86rem;
    margin-bottom: 0.9rem;
    line-height: 1.5;
}

.product-price {
    color: var(--gold);
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 1.1rem;
    font-family: 'Playfair Display', serif;
}

.add-to-cart.premium {
    width: 100%;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    font-size: 0.86rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.add-to-cart.premium:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

/* ── QUICK VIEW MODAL ── */
.modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(44, 26, 40, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--card);
    border-radius: 24px;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    border: 1px solid var(--border-pink);
    box-shadow: 0 36px 80px rgba(140, 60, 100, 0.2);
    animation: modalIn 0.32s cubic-bezier(0.34, 1.2, 0.64, 1);
}

@keyframes modalIn {
    from { opacity: 0; transform: translate(-50%, -47%) scale(0.96); }
    to   { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.8rem 2rem;
    border-bottom: 1px solid var(--border-pink);
    background: var(--bg-cream);
    border-radius: 24px 24px 0 0;
}

.modal-header h3 {
    color: var(--text);
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
}

#close-qv {
    background: none;
    border: 1.5px solid var(--border-pink);
    font-size: 1.4rem;
    color: var(--text-soft);
    cursor: pointer;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    line-height: 1;
}

#close-qv:hover {
    background: var(--bg-rose);
    border-color: var(--border-gold);
    color: var(--gold);
}

.modal-body {
    padding: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
}

.qv-main-image {
    width: 100%;
    height: 370px;
    background: var(--bg-pink) center/cover;
    border-radius: 16px;
    cursor: zoom-in;
    transition: transform 0.3s;
    border: 1px solid var(--border-pink);
}

.qv-main-image:hover { transform: scale(1.02); }

.qv-price {
    color: var(--gold);
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.1rem;
}

.qv-desc {
    color: var(--text-mid);
    line-height: 1.7;
    margin-bottom: 2rem;
    font-size: 0.93rem;
}

.qv-actions { display: flex; gap: 1rem; }

.qv-actions button {
    flex: 1;
    padding: 1rem;
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
}

#qv-add-cart {
    background: linear-gradient(135deg, var(--gold), var(--gold-bright));
    color: #fff;
}

#qv-add-cart:hover { box-shadow: var(--shadow-gold); transform: translateY(-2px); }

#qv-wishlist {
    background: transparent;
    border: 1.5px solid var(--border-gold) !important;
    color: var(--gold);
}

#qv-wishlist:hover { background: var(--gold-dim); }
#qv-wishlist.active { background: var(--bg-rose); border-color: var(--border-pink) !important; color: #c0526f; }

.quick-view { max-width: 1000px; }

/* ── NEWSLETTER ── */
.newsletter {
    padding: 80px 0;
    text-align: center;
    background: linear-gradient(135deg, rgba(252, 200, 220, 0.38) 0%, rgba(248, 220, 235, 0.45) 100%);
    border-top: 1px solid var(--border-pink);
    border-bottom: 1px solid var(--border-pink);
}

.newsletter h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2.3rem;
    margin-bottom: 0.8rem;
    color: var(--text);
    font-weight: 700;
}

.newsletter p {
    font-size: 1rem;
    color: var(--text-mid);
    margin-bottom: 2.5rem;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-form {
    display: flex;
    max-width: 460px;
    margin: 0 auto;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.newsletter-form input {
    flex: 1;
    min-width: 230px;
    padding: 0.95rem 1.4rem;
    background: var(--card);
    border: 1.5px solid var(--border-pink);
    border-radius: 50px;
    color: var(--text);
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    box-shadow: var(--shadow-sm);
    outline: none;
    transition: border-color 0.3s;
}

.newsletter-form input::placeholder { color: var(--text-soft); }
.newsletter-form input:focus { border-color: var(--gold); }

.newsletter-form button {
    background: linear-gradient(135deg, var(--gold), var(--gold-bright));
    color: #fff;
    border: none;
    padding: 0.95rem 2rem;
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.88rem;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s;
    box-shadow: var(--shadow-gold);
}

.newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(184, 134, 11, 0.32);
}

/* ── CART MODAL ── */
.cart-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
}

.cart-overlay {
    position: absolute;
    inset: 0;
    background: rgba(44, 26, 40, 0.42);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.cart-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--card);
    border-radius: 22px;
    width: 90%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
    border: 1px solid var(--border-pink);
    box-shadow: var(--shadow-lg);
    animation: modalIn 0.3s cubic-bezier(0.34, 1.2, 0.64, 1);
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.8rem 2rem;
    border-bottom: 1px solid var(--border-pink);
    background: var(--bg-cream);
    border-radius: 22px 22px 0 0;
}

.cart-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: var(--text);
}

#close-cart {
    background: none;
    border: 1.5px solid var(--border-pink);
    font-size: 1.4rem;
    color: var(--text-soft);
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    line-height: 1;
}

#close-cart:hover {
    background: var(--bg-rose);
    border-color: var(--border-gold);
    color: var(--gold);
}

.cart-items {
    padding: 0 2rem 1.5rem;
    max-height: 370px;
    overflow-y: auto;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
}

.cart-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid var(--border-pink);
}

.cart-item h4 {
    font-family: 'Playfair Display', serif;
    font-size: 0.93rem;
    color: var(--text);
    margin-bottom: 0.15rem;
}

.cart-item > div span { font-size: 0.8rem; color: var(--text-soft); }

.cart-total {
    padding: 1.2rem 2rem;
    border-top: 1px solid var(--border-pink);
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: var(--text);
    text-align: right;
}

.cart-total span span { color: var(--gold); }

.checkout-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--gold), var(--gold-bright));
    color: #fff;
    border: none;
    padding: 1.15rem;
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 0 0 22px 22px;
    cursor: pointer;
    transition: all 0.3s;
    letter-spacing: 0.4px;
}

.checkout-btn:hover {
    filter: brightness(1.06);
    box-shadow: var(--shadow-gold);
}

/* ── FOOTER ── */
.footer {
    padding: 80px 0 40px;
    background: linear-gradient(180deg, transparent 0%, rgba(252, 225, 238, 0.45) 100%);
    border-top: 1px solid var(--border-pink);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand h3 {
    font-family: 'Playfair Display', serif;
    color: var(--text);
    font-size: 1.65rem;
    letter-spacing: 2px;
    margin-bottom: 0.8rem;
}

.footer-brand p { color: var(--text-mid); font-size: 0.88rem; line-height: 1.7; }

.footer-links h4,
.footer-social h4 {
    font-family: 'Playfair Display', serif;
    color: var(--text);
    font-size: 1rem;
    margin-bottom: 1.2rem;
}

.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 0.6rem; }

.footer-links a {
    color: var(--text-mid);
    text-decoration: none;
    font-size: 0.87rem;
    transition: color 0.3s;
}

.footer-links a:hover { color: var(--gold); }

.social-icons { display: flex; gap: 0.7rem; }

.social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--card);
    border: 1.5px solid var(--border-pink);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    box-shadow: var(--shadow-sm);
}

.social-icons a svg { width: 18px; height: 18px; fill: var(--text-mid); }

.social-icons a:hover {
    background: var(--bg-rose);
    border-color: var(--border-gold);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.social-icons a:hover svg { fill: var(--gold); }

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    color: var(--text-soft);
    font-size: 0.8rem;
}

/* ── SCROLL ANIMATIONS ── */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(36px); }
    to   { opacity: 1; transform: translateY(0); }
}

.fade-in {
    opacity: 0;
    transform: translateY(36px);
    transition: all 0.72s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in.visible { opacity: 1; transform: translateY(0); }

.slide-in-left {
    opacity: 0;
    transform: translateX(-36px);
    transition: all 0.72s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide-in-left.visible { opacity: 1; transform: translateX(0); }

.scale-up {
    opacity: 0;
    transform: scale(0.93);
    transition: all 0.72s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scale-up.visible { opacity: 1; transform: scale(1); }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
    .nav-menu { display: none; }
    .story-grid { grid-template-columns: 1fr; gap: 2.5rem; text-align: center; }
    .hero-content { padding: 0 20px; }
    .product-grid { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.4rem; }
    .cart-content {
        width: 100%;
        max-width: none;
        top: auto;
        left: 0;
        bottom: 0;
        transform: none;
        border-radius: 22px 22px 0 0;
        max-height: 84vh;
    }
    .modal-body { grid-template-columns: 1fr; gap: 1.8rem; }
    .shop-controls { flex-direction: column; gap: 1.2rem; align-items: stretch; }
    .newsletter-form { flex-direction: column; }
    .search-container { max-width: 100%; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero-title { font-size: 2.6rem; }
    .section-title { font-size: 2rem; }
    .carousel-item { flex: 0 0 290px; }
}

@media (min-width: 1100px) {
    .product-grid { grid-template-columns: repeat(3, 1fr); }
}