/* ==========================================================================
   My Shop - base stylesheet
   ========================================================================== */

:root {
    --bg: #faf7f2;
    --card: #ffffff;
    --text: #2a1f1c;
    --text-muted: #8a7a70;
    --border: #ece3d8;
    --accent: #832038;
    --accent-hover: #6a1a2d;
    --gold: #b8863f;
    --success: #16a34a;
    --danger: #b3261e;
    --dark: #1c1210;
}

* { 
    box-sizing: border-box; 
}

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

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

p { 
    margin: 0 0 12px; 
}

body {
    margin: 0;
    font-family: 'Inter', -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.5;
}

h1, h2, h3, .logo, .btn-primary, .hero h1 {
    font-family: 'Space Grotesk', -apple-system, sans-serif;
}

.container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 20px;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }

/* ---------- Navbar ---------- */
.navbar {
    background: var(--dark);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    transition: background 0.3s ease, backdrop-filter 0.3s ease, box-shadow 0.3s ease;
}
.navbar.scrolled {
    background: rgba(28, 18, 16, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}
.navbar-inner {
    display: flex;
    align-items: center;
    gap: 20px;
}
.logo {
    color: #fff;
    font-size: 21px;
    font-weight: 700;
    letter-spacing: 0.03em;
    white-space: nowrap;
}
.nav-search {
    flex: 1;
    display: flex;
    max-width: 380px;
}
.nav-search input {
    flex: 1;
    min-width: 0;
    padding: 9px 14px;
    border: 1px solid transparent;
    border-radius: 999px 0 0 999px;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.94);
}
.nav-search input:focus { outline: none; }
.nav-search button {
    padding: 0 16px;
    border: none;
    border-radius: 0 999px 999px 0;
    background: var(--accent);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
}
.nav-search button:hover { background: var(--accent-hover); }
.nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
}
.nav-links a {
    color: #e7dfd7;
    font-size: 14px;
    font-weight: 500;
}
.nav-links a:hover { color: #fff; }

.cart-link,
.wishlist-nav-link {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #fff;
    position: relative;
    padding: 4px;
}
.cart-count {
    background: var(--accent);
    color: #fff;
    border-radius: 999px;
    min-width: 17px;
    height: 17px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    font-size: 11px;
    font-weight: 600;
    position: absolute;
    top: -6px;
    right: -8px;
}

/* ---------- Mobile hamburger + drawer ---------- */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 34px;
    height: 34px;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
}
.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}
.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.drawer-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(20, 12, 10, 0.5);
    z-index: 199;
    opacity: 0;
    transition: opacity 0.25s ease;
}
.drawer-overlay.active { display: block; opacity: 1; }

.mobile-drawer {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(78vw, 300px);
    background: var(--card);
    z-index: 200;
    padding: 18px 20px 30px;
    flex-direction: column;
    gap: 4px;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
}
.mobile-drawer.active { transform: translateX(0); }
.mobile-drawer a {
    color: var(--text);
    font-size: 15px;
    font-weight: 500;
    padding: 12px 6px;
    border-bottom: 1px solid var(--border);
}
.drawer-search { display: flex; margin-bottom: 10px; }
.drawer-search input {
    flex: 1;
    min-width: 0;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 8px 0 0 8px;
    font-size: 14px;
}
.drawer-search button {
    padding: 0 16px;
    border: none;
    border-radius: 0 8px 8px 0;
    background: var(--accent);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
}

@media (max-width: 780px) {
    .menu-toggle, .mobile-drawer, .drawer-overlay { display: flex; }
    .drawer-overlay { display: none; }
    .drawer-overlay.active { display: block; }
    .nav-search, .nav-links { display: none; }
    .navbar-inner { gap: 12px; }
    .logo { font-size: 18px; flex: 1; }
}

/* ---------- Page / messages ---------- */
.page { padding: 30px 20px 60px; min-height: 60vh; }

.messages { margin-bottom: 20px; }
.message {
    padding: 10px 16px;
    border-radius: 8px;
    margin-bottom: 8px;
    font-size: 14px;
}
.message-success { background: #dcfce7; color: #166534; }
.message-error   { background: #fee2e2; color: #991b1b; }
.message-warning { background: #fef3c7; color: #92400e; }
.message-info    { background: #dbeafe; color: #1e40af; }

/* ---------- Hero ---------- */
.hero {
    background: linear-gradient(135deg, #2a1214, #4a1a24, #832038, #2a1214);
    background-size: 300% 300%;
    animation: gradientShift 14s ease infinite;
    color: #fff;
    padding: 70px 40px;
    border-radius: 4px;
    text-align: center;
    margin-bottom: 0;
}
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
@media (prefers-reduced-motion: reduce) {
    .hero { animation: none; }
}
.hero .eyebrow {
    display: inline-block;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-size: 12px;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 14px;
}
.hero h1 { font-size: 34px; margin: 0 0 12px; line-height: 1.25; }
.hero p { color: #e8d9d0; margin: 0 0 24px; font-size: 15px; }
.hero .btn-primary { background: var(--gold); }
.hero .btn-primary:hover { background: #9c6c34; box-shadow: 0 10px 20px -6px rgba(184, 134, 63, 0.5); }

/* ---------- USP strip ---------- */
.usp-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    margin: 0 0 34px;
}
.usp-item {
    display: block;
    background: var(--card);
    padding: 16px 12px;
    text-align: center;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    transition: background 0.2s ease;
}
a.usp-item:hover { background: var(--bg); color: var(--text); }
.usp-item span {
    display: block;
    font-size: 20px;
    margin-bottom: 4px;
}
@media (max-width: 720px) {
    .usp-strip { grid-template-columns: repeat(2, 1fr); }
    .hero { padding: 46px 22px; }
    .hero h1 { font-size: 24px; }
}

.category-strip {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 30px 0;
}
.category-chip {
    background: var(--card);
    border: 1px solid var(--border);
    padding: 7px 18px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
    transition: transform 0.15s ease, border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}
.category-chip:hover { border-color: var(--accent); color: var(--accent); background: #fdf3f0; transform: translateY(-2px); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-block;
    padding: 10px 22px;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 20px -6px rgba(59, 130, 246, 0.45); }
.btn-primary:active { transform: translateY(0) scale(0.97); }
.btn-small { padding: 6px 14px; font-size: 13px; background: var(--accent); color: #fff; border-radius: 6px; }
.btn-small:hover { background: var(--accent-hover); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 16px -6px rgba(59, 130, 246, 0.45); }
.btn-small:active { transform: translateY(0) scale(0.97); }

/* ---------- Section titles ---------- */
.section-title { font-size: 22px; margin: 0 0 18px; }
.empty-state { color: var(--text-muted); padding: 30px 0; }

/* ---------- Product grid / cards ---------- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}
@media (max-width: 640px) {
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}
.product-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 12px;
    text-align: center;
    transition: transform 0.15s ease-out, box-shadow 0.3s ease;
    will-change: transform;
}
@media (max-width: 640px) {
    .product-card { padding: 8px; }
    .product-card h3 { font-size: 13px; }
    .btn-small { width: 100%; padding: 9px 10px; }
}
.product-card:hover {
    box-shadow: 0 22px 40px -12px rgba(0, 0, 0, 0.18), 0 8px 16px -4px rgba(59, 130, 246, 0.12);
}
.card-img-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 10px;
}
.card-img-wrap img {
    width: 100%;
    aspect-ratio: 4 / 3;
    height: auto;
    object-fit: cover;
    object-position: center;
    display: block;
    margin: 0;
    border-radius: 0;
    transition: transform 0.4s ease;
}
.product-card:hover .card-img-wrap img {
    transform: scale(1.08);
}
.no-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    background: var(--bg);
    border: 1px dashed var(--border);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}
.product-detail-image img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    object-fit: cover;
}
.product-detail-image .no-image { margin-bottom: 0; }
.no-image.large { height: 340px; }
.product-card h3 { font-size: 15px; margin: 4px 0; color: var(--text); }
.product-card .price { font-weight: 700; color: var(--accent); margin: 4px 0 10px; }
.out-of-stock { color: var(--danger); font-size: 13px; font-weight: 600; }

/* ---------- Shop layout ---------- */
.shop-layout { display: grid; grid-template-columns: 220px 1fr; gap: 30px; }
.sidebar h3 { font-size: 15px; margin-bottom: 10px; }
.category-list { list-style: none; padding: 0; margin: 0; }
.category-list li { margin-bottom: 6px; }
.category-list a { color: var(--text-muted); font-size: 14px; }
.category-list a.active, .category-list a:hover { color: var(--accent); font-weight: 600; }

@media (max-width: 720px) {
    .shop-layout { grid-template-columns: 1fr; }
}

/* ---------- Product detail ---------- */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.product-detail-info h1 { margin-top: 0; margin-bottom: 4px; }
.category-tag { color: var(--text-muted); font-size: 13px; text-transform: uppercase; }
.price.large { font-size: 26px; font-weight: 700; color: var(--accent); }
.stock-note { color: var(--success); font-size: 13px; }
.add-to-cart-form { display: flex; gap: 10px; margin-top: 16px; }
.add-to-cart-form input {
    width: 70px;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 8px;
}
.description { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--border); }

/* ---- Discount price row ---- */
.price-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 10px 0 6px; }
.price-compare { font-size: 16px; color: var(--text-muted); text-decoration: line-through; }
.save-badge {
    background: var(--dark);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 5px;
    letter-spacing: 0.3px;
}

/* ---- Product image gallery (multiple pictures, auto-scroll) ---- */
.product-gallery { 
    display: flex; 
    flex-direction: column; 
    gap: 10px; 
    width: 100%;
}

.gallery-main {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: var(--card);
    border: 1px solid var(--border);
    width: 100%;
    aspect-ratio: 1 / 1;
}

.gallery-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.45s ease;
    will-change: transform;
}

.gallery-slide {
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
    height: 100%;
}

.gallery-slide img {
    width: 100%;
    height: 100%;
    max-height: 640px;
    object-fit: contain;
    background: var(--card);
    display: block;
}
.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.85);
    border: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 13px;
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
}
.gallery-arrow:hover { background: #fff; }
.gallery-prev { left: 10px; }
.gallery-next { right: 10px; }
.gallery-dots {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 6px;
}
.gallery-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255,255,255,0.6);
    cursor: pointer;
}
.gallery-dot.active { background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,0.2); }
.gallery-thumbs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 4px;
}
.gallery-thumbs::-webkit-scrollbar { height: 5px; }
.gallery-thumbs::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
.gallery-thumb {
    flex: 0 0 auto;
    width: 64px;
    height: 64px;
    border-radius: 6px;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    opacity: 0.7;
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-thumb.active, .gallery-thumb:hover { border-color: var(--accent); opacity: 1; }

.card-img-wrap { position: relative; }
.card-save-badge { position: absolute; top: 8px; left: 8px; }
.price-compare.small { font-size: 12px; text-decoration: line-through; color: var(--text-muted); margin-right: 6px; font-weight: 400; }

/* ---- Wishlist heart ---- */
.wishlist-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--border);
    color: var(--text-muted);
    background: var(--card);
    flex-shrink: 0;
}
.wishlist-btn:hover { color: var(--accent); border-color: var(--accent); }
.wishlist-btn.active { color: var(--accent); border-color: var(--accent); }
.card-wishlist-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 30px;
    height: 30px;
    background: rgba(255,255,255,0.9);
    z-index: 2;
}

/* ---- Quantity stepper ---- */
.qty-stepper {
    display: flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
}
.qty-btn {
    width: 34px;
    height: 42px;
    border: none;
    background: var(--bg);
    color: var(--text);
    font-size: 16px;
    cursor: pointer;
}
.qty-btn:hover { background: var(--border); }
.qty-input {
    width: 44px;
    height: 42px;
    border: none;
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
    text-align: center;
    -moz-appearance: textfield;
}
.qty-input::-webkit-outer-spin-button, .qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* ---- Product detail action row ---- */
.pdp-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 16px; }
.add-to-cart-form { display: flex; gap: 10px; align-items: center; margin: 0; }
.buy-now-form { margin: 0; }
.btn-buy-now {
    background: var(--dark);
    color: #fff;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}
.btn-buy-now:hover { background: #000; }
.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #25D366;
    color: #fff;
    padding: 12px 18px;
    border-radius: 8px;
    font-weight: 600;
}
.btn-whatsapp:hover { background: #1ebd5a; }

/* ---- Recent purchase notes (built from real order data) ---- */
.recent-purchases { margin-top: 18px; display: flex; flex-direction: column; gap: 6px; }
.recent-purchase-note {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    color: var(--text-muted);
}
.rp-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--success); flex-shrink: 0; }

/* ---- Floating WhatsApp button (site-wide) ---- */
.whatsapp-float {
    position: fixed;
    bottom: 22px;
    right: 22px;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px rgba(0,0,0,0.25);
    z-index: 50;
}
.whatsapp-float:hover { background: #1ebd5a; }

@media (max-width: 480px) {
    .pdp-actions { flex-direction: column; align-items: stretch; }
    .add-to-cart-form { flex-wrap: wrap; }
}

@media (max-width: 720px) {
    .product-detail { grid-template-columns: 1fr; }
    .gallery-slide img { max-height: 480px; }
}

/* ---------- Cart ---------- */
.cart-table { width: 100%; border-collapse: collapse; margin-bottom: 20px; }
.cart-table th, .cart-table td {
    padding: 12px;
    border-bottom: 1px solid var(--border);
    text-align: left;
    font-size: 14px;
}
.qty-form { display: flex; gap: 6px; align-items: center; }
.qty-form input { width: 55px; padding: 6px; border: 1px solid var(--border); border-radius: 6px; }
.remove-link { color: var(--danger); font-size: 13px; }

@media (max-width: 720px) {
    .cart-table thead { display: none; }
    .cart-table, .cart-table tbody, .cart-table tr, .cart-table td {
        display: block;
        width: 100%;
    }
    .cart-table tr {
        margin-bottom: 14px;
        border: 1px solid var(--border);
        border-radius: 10px;
        padding: 6px 12px;
        background: var(--card);
    }
    .cart-table td {
        border-bottom: none;
        padding: 8px 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 12px;
    }
    .cart-table td[data-label]:not([data-label=""])::before {
        content: attr(data-label);
        font-weight: 600;
        color: var(--text-muted);
        font-size: 12px;
        text-transform: uppercase;
        flex-shrink: 0;
    }
    .cart-table td .qty-form { justify-content: flex-end; }
    .cart-summary { flex-direction: column; gap: 14px; align-items: stretch; text-align: center; }
}

/* ---------- Wallet payment details (checkout) ---------- */
.form-field.wallet-only { display: none; }
.wallet-details { margin-top: 4px; }
.wallet-detail-card { display: none; }
.wallet-detail-card {
    background: var(--bg);
    border: 1px dashed var(--border);
    border-radius: 10px;
    padding: 12px 14px;
    margin-bottom: 14px;
    font-size: 14px;
}
.wallet-detail-card p { margin: 4px 0 0; }
.cart-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--card);
    border: 1px solid var(--border);
    padding: 20px;
    border-radius: 12px;
}
.cart-summary p { margin: 0; font-size: 16px; }

/* ---------- Checkout ---------- */
.checkout-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; }
.checkout-form, .order-summary {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
}
.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.form-field input, .form-field select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
}
.field-error { color: var(--danger); font-size: 12px; margin: 4px 0 0; }
.field-help { color: var(--text-muted); font-size: 12px; margin: 4px 0 0; }
.summary-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 14px; border-bottom: 1px solid var(--border); }
.summary-total { font-weight: 700; border-bottom: none; margin-top: 6px; }
@media (max-width: 720px) {
    .checkout-layout { grid-template-columns: 1fr; }
}

/* ---------- Auth ---------- */
.auth-box {
    max-width: 400px;
    margin: 0 auto;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 30px;
}
.auth-switch { text-align: center; font-size: 14px; margin-top: 16px; color: var(--text-muted); }

/* ---------- Success page ---------- */
.success-box {
    max-width: 500px;
    margin: 40px auto;
    text-align: center;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 40px;
}
.success-box h1 { color: var(--success); }

/* ---------- Order history ---------- */
.order-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 18px;
    margin-bottom: 16px;
}
.order-card-header { display: flex; justify-content: space-between; font-weight: 600; margin-bottom: 6px; }
.status-badge { font-size: 12px; padding: 2px 10px; border-radius: 999px; background: #dbeafe; color: #1e40af; }
.status-delivered { background: #dcfce7; color: #166534; }
.status-cancelled { background: #fee2e2; color: #991b1b; }
.order-card ul { margin: 8px 0; padding-left: 18px; font-size: 14px; color: var(--text-muted); }
.order-total { font-weight: 700; margin: 6px 0 0; }

/* ---------- Footer ---------- */
.footer {
    background: var(--dark);
    color: #94a3b8;
    padding: 20px 0;
    text-align: center;
    font-size: 13px;
}

/* ---------- Fade-in on scroll (used by premium.js) ---------- */
.fade-init {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-init.in-view {
    opacity: 1;
    transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
    .fade-init { opacity: 1; transform: none; transition: none; }
}
