@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Playfair+Display:wght@600;700;800&display=swap');

/* 1. General Reset */
:root {
    --site-font: 'Inter', sans-serif;
    --heading-font: 'Playfair Display', serif;
    --nav-font: 'Inter', sans-serif;
    --button-font: 'Inter', sans-serif;
    --base-font-size: 16px;
    --heading-scale: 1;
    --primary-color: #4a0404;
    --accent-color: #d4af37;
    --surface: #fff8ef;
    --surface-strong: #fff4e7;
    --site-bg: #fef8f2;
    --text-color: #2d1f1a;
    --subtext-color: #5a4340;
    --header-color: #fff8f3;
    --logo-width: 230px;
}
* { margin: 0; padding: 0; box-sizing: border-box; font-family: var(--site-font); }
body { padding-top: 82px; background: var(--site-bg); color: var(--text-color); font-size: var(--base-font-size); }
h1, h2, h3, h4, h5, h6, .section-title { font-family: var(--heading-font); }
button, .order-btn, .shop-btn, .browse-btn, .customize-link, .nav-order-btn { font-family: var(--button-font); }

/* 2. Navbar */
.navbar {
    display: grid;
    grid-template-columns: minmax(240px, auto) 1fr auto;
    align-items: center;
    gap: 28px;
    min-height: 82px;
    padding: 0 28px;
    background: var(--header-color);
    border-bottom: 1px solid #eadfca;
    box-shadow: 0 8px 24px rgba(74, 4, 4, 0.06);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.logo a {
    display: inline-flex;
    align-items: center;
    min-height: 58px;
    text-decoration: none;
}

.logo img {
    display: block !important;
    width: var(--logo-width) !important;
    height: auto !important;
    max-height: 58px;
    border-radius: 0 !important;
    object-fit: contain;
}

.logo a::after {
    display: none;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 34px;
    align-items: center;
    justify-content: center;
}

.nav-links a {
    position: relative;
    text-decoration: none;
    color: #4a4037;
    font-weight: 700;
    font-size: 0.9rem;
    font-family: var(--nav-font);
    padding: 31px 0 27px;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 16px;
    height: 2px;
    background: var(--accent-color);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.2s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
    color: var(--primary-color);
}

.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after {
    transform: scaleX(1);
}

.nav-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
}

.country-switcher {
    min-width: 118px;
    height: 38px;
    border: 1px solid #eadfca;
    border-radius: 999px;
    background: #fff;
    color: #312a24;
    font-weight: 800;
    font-size: 0.8rem;
    padding: 0 12px;
    outline: none;
}

.nav-icon-btn {
    position: relative;
    color: #312a24;
    text-decoration: none;
    font-size: 1.05rem;
    line-height: 1;
}

.cart-count-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 900;
    align-items: center;
    justify-content: center;
    display: none;
}

.login-btn,
.nav-order-btn {
    background: var(--accent-color);
    color: #fff !important;
    border: none;
    cursor: pointer;
    border-radius: 999px;
    box-shadow: 0 8px 18px rgba(212, 175, 55, 0.28);
    text-decoration: none;
    font-weight: 800;
    font-size: 0.9rem;
    padding: 13px 20px !important;
}

.login-btn::after,
.nav-order-btn::after {
    display: none;
}

.login-btn:hover,
.nav-order-btn:hover {
    background: var(--primary-color);
    color: #fff !important;
}

/* Hamburger Menu */
.menu-toggle { display: none; cursor: pointer; }
.bar { display: block; width: 25px; height: 3px; margin: 5px auto; background: #333; }

/* 3. Hero & Other Sections (একই থাকবে) */
.hero {
    position: relative;
    min-height: 620px;
    background:
        linear-gradient(90deg, rgba(11,6,5,0.87) 0%, rgba(11,6,5,0.45) 45%, rgba(11,6,5,0.16) 100%),
        var(--hero-bg, url('uploads/hero-bg-optimized-b9bff4d2c5ab.jpg'));
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    color: white;
    padding: 92px 5% 42px;
}

.page-section {
    padding: 72px 5%;
}

.section-kicker {
    display: inline-block;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    font-size: 0.82rem;
    color: var(--accent-color);
    font-weight: 800;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 2.4vw, 3.2rem);
    line-height: 1.05;
    color: #32120f;
    margin-bottom: 16px;
}

.section-subtitle {
    max-width: 730px;
    margin: 0 auto;
    color: var(--subtext-color);
    font-size: 1rem;
    line-height: 1.85;
}

.section-grid {
    display: grid;
    gap: 24px;
}

.section-grid.columns-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.section-grid.columns-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.section-grid.columns-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cta-banner {
    background: linear-gradient(180deg, rgba(74,4,4,0.95), rgba(74,4,4,0.78));
    color: #fff;
    border-radius: 20px;
    padding: 42px 36px;
    overflow: hidden;
    box-shadow: 0 28px 80px rgba(0,0,0,0.18);
}

.cta-banner p {
    max-width: 700px;
    color: rgba(255,255,255,0.88);
    margin-bottom: 24px;
    line-height: 1.7;
}

.cta-banner .shop-btn,
.cta-banner .browse-btn,
.cta-banner .nav-order-btn {
    border-radius: 999px;
    padding: 14px 28px;
}

.small-card {
    background: #fff;
    border: 1px solid rgba(213, 176, 55, 0.22);
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 14px 30px rgba(74,4,4,0.08);
}

.small-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: #2d1f1a;
}

.small-card p {
    color: #5a4340;
    line-height: 1.75;
}

.highlight-card {
    background: #fff8f0;
    border: 1px solid rgba(212,175,55,0.28);
    border-radius: 22px;
    padding: 28px;
}

.highlight-card h3 {
    margin-bottom: 12px;
}

.accent-pill {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding: 9px 14px;
    border-radius: 999px;
    background: rgba(212,175,55,0.12);
    color: #38221c;
    font-size: 0.85rem;
    font-weight: 700;
}

.hero-actions {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    align-items: center;
}

.shop-btn,
.order-btn,
.nav-order-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.button-secondary {
    background: rgba(255,255,255,0.14);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.45);
}

.hero-copy {
    max-width: 620px;
    font-size: 1.05rem;
    line-height: 1.75;
    margin-bottom: 32px;
}

.hero-trust {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin-top: 46px;
    max-width: 720px;
}

.hero-trust div {
    padding: 18px 18px 18px 32px;
    border-radius: 14px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.2);
}

.hero-trust strong {
    display: block;
    color: #fff;
    font-size: 1rem;
    margin-bottom: 8px;
}

.hero-trust span {
    color: rgba(255,255,255,0.82);
    font-size: 0.92rem;
    line-height: 1.6;
}

.occasion-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin-top: 32px;
}

.occasion-card {
    display: grid;
    grid-template-columns: 64px 1fr;
    align-items: center;
    min-height: 180px;
    padding: 24px;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255,255,255,0.18), rgba(255,255,255,0.04));
    border: 1px solid rgba(212,175,55,0.2);
    color: #2a1c18;
    text-decoration: none;
    gap: 18px;
}

.occasion-card .occasion-icon {
    width: 64px;
    height: 64px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: rgba(212,175,55,0.14);
    color: #4a0404;
    font-size: 1.8rem;
}

.occasion-card h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.occasion-card span {
    font-size: 0.95rem;
    color: #5a4340;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin-top: 32px;
}

.category-card {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 18px;
    align-items: center;
    padding: 24px;
    border-radius: 22px;
    border: 1px solid rgba(212,175,55,0.25);
    background: rgba(255,255,255,0.92);
    box-shadow: 0 18px 45px rgba(74,4,4,0.06);
    text-decoration: none;
    color: #2a1c18;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 50px rgba(74,4,4,0.12);
}

.category-icon {
    width: 72px;
    height: 72px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 24px;
    font-size: 2rem;
    background: rgba(212,175,55,0.14);
    color: #4a0404;
}

.category-card h3 {
    margin: 0 0 8px;
    font-size: 1.15rem;
}

.category-card span {
    color: #5a4340;
    font-size: 0.95rem;
}

.steps-container.corporate-process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin-top: 28px;
}

.corporate-process-grid .step-card {
    min-height: 190px;
    background: #fff;
    border-color: rgba(212,175,55,0.28);
    box-shadow: 0 18px 42px rgba(74,4,4,0.08);
    color: #32120f;
}

.corporate-process-grid .step-card:hover {
    background: #fffdf9;
    border-color: rgba(212,175,55,0.72);
}

.corporate-process-grid .step-number {
    width: auto;
    min-width: 74px;
    height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    margin-bottom: 20px;
    font-size: 0.82rem;
}

.corporate-process-grid .step-card h3 {
    color: #4a0404;
}

.corporate-process-grid .step-card p {
    color: #5a4340;
}

.editorial-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 24px;
    margin-top: 32px;
}

.editorial-card {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(74,4,4,0.08);
}

.editorial-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.editorial-card .editorial-content {
    padding: 32px;
}

.editorial-card h3 {
    font-size: 2rem;
    margin-bottom: 18px;
}

.editorial-grid .product-card {
    display: grid;
    gap: 18px;
    padding: 24px;
    border: 1px solid #e8ddd1;
    border-radius: 20px;
    background: #fff;
}

.editorial-grid .product-img {
    overflow: hidden;
    min-height: 220px;
    border-radius: 16px;
}

.editorial-grid .product-img img,
.product-card .product-img img,
.home-product-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.editorial-grid .product-card h3 {
    font-size: 1.15rem;
}

.editorial-grid .price-line {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.editorial-grid .mrp {
    color: #7a5a51;
    text-decoration: line-through;
    font-size: 0.95rem;
}

.editorial-grid .discount-badge {
    color: #38221c;
    background: rgba(212,175,55,0.16);
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.83rem;
    font-weight: 700;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 36px;
}

.feature-card {
    background: #fff;
    border: 1px solid rgba(212,175,55,0.16);
    box-shadow: 0 20px 45px rgba(74,4,4,0.08);
    border-radius: 20px;
    padding: 28px;
    text-align: left;
}

.feature-card h3 {
    margin-bottom: 14px;
}

.feature-card p {
    color: #5a4340;
    line-height: 1.7;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin-top: 34px;
}

.testimonial-card {
    background: #fff;
    border: 1px solid #e8ddd1;
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 16px 40px rgba(74,4,4,0.08);
    text-align: left;
}

.testimonial-card p {
    color: #4b3b35;
    line-height: 1.75;
    margin-bottom: 16px;
}

.testimonial-card strong {
    display: block;
    color: #32120f;
    margin-bottom: 4px;
}

.testimonial-card span {
    color: #7c5d52;
    font-size: 0.9rem;
}

.testimonial-card small {
    display: block;
    margin-top: 14px;
    color: #d4af37;
}

.whatsapp-cta {
    background: #4a0404;
    color: #fff;
    border-radius: 24px;
    padding: 28px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 26px;
}

.whatsapp-cta p {
    max-width: 840px;
    font-size: 1rem;
    line-height: 1.7;
}

.whatsapp-cta .nav-order-btn {
    background: var(--accent-color);
    color: #1f0a05;
}

.hero-slider-dots {
    position: absolute;
    left: 5%;
    bottom: 24px;
    display: flex;
    gap: 8px;
    z-index: 2;
}

.hero-slider-dots button {
    width: 28px;
    height: 4px;
    border: 0;
    border-radius: 999px;
    background: rgba(255,255,255,0.45);
    cursor: pointer;
}

.hero-slider-dots button.active {
    background: var(--accent-color);
    width: 42px;
}

.page-hero {
    border-radius: 0 0 28px 28px;
    overflow: hidden;
    min-height: 440px;
    display: flex;
    align-items: center;
    padding: 88px 5% 58px;
    color: #fff;
    background:
        linear-gradient(180deg, rgba(74,4,4,0.92) 0%, rgba(74,4,4,0.72) 100%),
        url('uploads/hero-bg-optimized-b9bff4d2c5ab.jpg');
    background-size: cover;
    background-position: center;
}
 
.page-hero .section-kicker {
    color: rgba(255,255,255,0.88);
}
 
.page-hero .hero-copy {
    color: rgba(255,255,255,0.92);
}
 
.hero-badges {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 36px;
}
 
.hero-badge {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px 22px;
    border-radius: 18px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.18);
}
 
.hero-badge .badge-icon {
    width: 50px;
    height: 50px;
    border-radius: 16px;
    background: rgba(212,175,55,0.14);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
}
 
.hero-badge h4 {
    margin: 0 0 6px;
    font-size: 1rem;
    color: #fff;
}
 
.hero-badge p {
    color: rgba(255,255,255,0.75);
    font-size: 0.95rem;
    line-height: 1.65;
}
 
.occasion-card {
    min-height: 168px;
}
 
.occasion-card h3 {
    font-size: 1.15rem;
}
 
.category-card h3 {
    font-size: 1.15rem;
}
 
.category-card span {
    color: #7a5a4f;
}
 
.editorial-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
 
.editorial-grid .product-card {
    min-height: auto;
}
 
.editorial-grid .product-img {
    min-height: 220px;
    border-radius: 20px;
}
 
.review-card-home {
    min-height: 280px;
}
 
.whatsapp-cta {
    padding: 40px 40px;
}
 
.whatsapp-cta p {
    font-size: 1.03rem;
}

.scroll-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.hero-content {
    max-width: 640px;
}

.hero-content > p:first-child {
    color: #d4af37;
    font-weight: 900;
    letter-spacing: 3px;
    font-size: 0.88rem;
    margin-bottom: 22px;
}

.hero-content h1 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: calc(clamp(3.2rem, 7vw, 6.4rem) * var(--heading-scale));
    line-height: 0.95;
    margin: 0 0 22px;
    letter-spacing: -1px;
}

.hero-content h1 em {
    color: #d4af37;
    font-style: italic;
}

.hero-copy {
    max-width: 500px;
    color: rgba(255,255,255,0.88);
    font-size: 1.08rem;
    line-height: 1.6;
    margin-bottom: 34px;
}

.hero-actions {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    align-items: center;
}

.shop-btn {
    display: inline-block;
    padding: 16px 32px;
    background: #d4af37;
    color: #fff;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 900;
    text-decoration: none;
}

.shop-btn::after {
    content: "\203A";
    margin-left: 12px;
    font-size: 1.2rem;
}

.browse-btn {
    display: inline-block;
    padding: 15px 30px;
    border: 1px solid rgba(255,255,255,0.56);
    color: #fff;
    border-radius: 999px;
    font-weight: 900;
    text-decoration: none;
    background: rgba(255,255,255,0.04);
}

.hero-trust {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 36px;
    margin-top: 76px;
    max-width: 680px;
}

.hero-trust div {
    position: relative;
    padding-left: 15px;
}

.hero-trust div::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #d4af37;
}

.hero-trust strong {
    display: block;
    font-size: 0.9rem;
    color: #fff;
}

.hero-trust span {
    display: block;
    color: rgba(255,255,255,0.76);
    font-size: 0.78rem;
}

 .how-it-works, .featured-products, .customer-stories { padding: 60px 5%; text-align: center; }
 .steps-container, .product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 30px; }
 .how-it-works {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(74, 4, 4, 0.94), rgba(38, 12, 12, 0.92)),
        url('footer-optimized.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 76px 5%;
 }
 .how-it-works .section-kicker {
    display: inline-block;
    color: #d4af37;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: 10px;
 }
 .how-it-works .section-title {
    color: #fff;
    font-size: 2.35rem;
    line-height: 1.15;
    margin-bottom: 10px;
 }
 .how-it-works .section-subtitle {
    max-width: 560px;
    margin: 0 auto;
    color: rgba(255,255,255,0.78);
    line-height: 1.6;
 }
 .how-it-works .steps-container {
    max-width: 1080px;
    margin: 38px auto 0;
    gap: 18px;
 }
 .step-card {
    position: relative;
    min-height: 220px;
    padding: 28px;
    border: 1px solid rgba(212,175,55,0.34);
    border-radius: 8px;
    background: rgba(255,255,255,0.08);
    box-shadow: 0 18px 36px rgba(0,0,0,0.18);
    text-align: left;
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
 }
 .step-card:hover {
    transform: translateY(-6px);
    border-color: rgba(212,175,55,0.85);
    background: rgba(255,255,255,0.12);
 }
 .step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #d4af37;
    color: #1f0b0b;
    font-weight: 900;
    margin-bottom: 24px;
 }
 .step-card h3 {
    color: #fff;
    font-size: 1.18rem;
    margin-bottom: 10px;
 }
 .step-card p {
    color: rgba(255,255,255,0.76);
    line-height: 1.6;
    font-size: 0.96rem;
 }
 .step-card::after {
    content: "";
    position: absolute;
    left: 28px;
    right: 28px;
    bottom: 0;
    height: 3px;
    background: #d4af37;
    border-radius: 999px 999px 0 0;
 }
.product-card { 
    padding: 15px; 
    border: 1px solid #eee; /* বর্ডার হালকা করে দিলাম */
    border-radius: 20px;    /* এই লাইনটি কোণাগুলো গোল করবে */
    background: #fff;      /* ব্যাকগ্রাউন্ড কালার */
    box-shadow: 0 4px 8px rgba(0,0,0,0.05); /* হালকা ছায়া, এতে কার্ডটি ভেসে উঠবে */
    transition: 0.3s;
    text-align: left;      /* লেখা বাঁদিকে সাজানো */
}
/* Categories Section */
.categories { 
    padding: 60px 5%; 
    text-align: center; 
    background: #fdfaf6; 
}

.categories h2 { 
    font-size: 2rem; 
    color: #4a0404; 
    margin-bottom: 30px; 
}

.category-grid { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); /* ডেস্কটপে ৩টি কলাম */
    gap: 20px; 
    max-width: 1000px; /* গ্রিডটিকে কন্ট্রোলের মধ্যে রাখবে */
    margin: 0 auto;    /* মাঝখানে রাখবে */
}

.category-grid .cat-card:last-child:nth-child(3n + 1) {
    grid-column: 2;
}

.cat-card { 
    background: #fff; 
    padding: 30px 10px; 
    border: 1px solid #ddd; 
    border-radius: 10px; 
    font-weight: bold; 
    cursor: pointer; 
    transition: 0.3s;
}

.cat-card:hover { 
    transform: translateY(-5px); 
    box-shadow: 0 5px 15px rgba(0,0,0,0.1); 
    border-color: #d4af37;
}

/* মোবাইল রেসপন্সিভনেস ফিক্স */
@media (max-width: 768px) {
    .category-grid { 
        grid-template-columns: repeat(2, 1fr); /* মোবাইলে ২ কলাম */
    }
}

/* কার্ডের ওপর মাউস নিলে সামান্য বড় হওয়ার ইফেক্ট */
.product-card:hover { 
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

/* প্রোডাক্ট টাইটেল ও প্রাইসের স্টাইল */
.product-card h3 { 
    font-size: 1.1rem; 
    margin: 10px 0; 
    color: #333; 
}

.price { 
    font-size: 1.2rem; 
    font-weight: bold; 
    color: #4a0404; 
    margin-bottom: 10px; 
}

/* কাস্টমাইজ বাটনটির ডিজাইন */
.customize-link { 
    display: inline-block; 
    color: #d4af37; 
    font-weight: bold; 
    text-decoration: none; 
    font-size: 0.9rem;
}
.product-img { 
    height: 200px; 
    width: 100%; /* ইমেজ বক্সের উইডথ নিশ্চিত করুন */
    background: #eee; 
    margin-bottom: 15px; 
    border-radius: 5px; 
    background-size: cover; /* ইমেজ থাকলে তা যেন বক্সে ফিট হয় */
    background-position: center;
}

.customer-stories { background: #f6efe4; }
.site-offers { padding: 60px 5%; text-align: center; background: #fffaf3; }
.offer-grid { max-width: 1120px; margin: 28px auto 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; text-align: left; }
.offer-display-card { background: #fff; border: 1px dashed var(--accent-color); border-radius: 8px; padding: 18px; box-shadow: 0 10px 24px rgba(74,4,4,0.06); }
.offer-display-card strong { display: block; color: var(--primary-color); margin-bottom: 8px; }
.offer-display-card p { color: #4d4038; line-height: 1.55; margin-bottom: 12px; }
.offer-display-card span { display: inline-block; background: #fff4d0; color: var(--primary-color); padding: 7px 10px; border-radius: 999px; font-weight: 800; font-size: 0.85rem; }
.offer-popup { position: fixed; inset: 0; background: rgba(20,12,10,0.64); z-index: 2000; display: none; align-items: center; justify-content: center; padding: 18px; backdrop-filter: blur(3px); }
.offer-popup.active { display: flex; }
.offer-popup-card { position: relative; width: min(100%, 460px); overflow: hidden; background: linear-gradient(rgba(255,250,243,0.92), rgba(255,250,243,0.96)), url('footer-optimized.jpg') center/cover; border: 1px solid rgba(225,187,45,0.42); border-radius: 10px; padding: 34px 30px 30px; text-align: center; box-shadow: 0 34px 86px rgba(0,0,0,0.32); }
.offer-popup-card::before { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(225,187,45,0.34); border-radius: 8px; pointer-events: none; }
.offer-popup-close { position: absolute; top: 10px; right: 12px; width: 34px; height: 34px; border: 1px solid #eadfca; border-radius: 50%; background: white; color: var(--primary-color); cursor: pointer; font-size: 1.4rem; line-height: 1; }
.offer-popup-card .section-kicker { position: relative; color: #8f6b00; }
.offer-popup-card h2 { position: relative; color: var(--primary-color); font-size: 2.05rem; margin: 6px 0 10px; }
.offer-popup-card p { color: #4d4038; line-height: 1.6; }
.popup-code { position: relative; margin: 18px auto; width: fit-content; border: 1px dashed var(--accent-color); background: #fff; color: var(--primary-color); padding: 12px 18px; border-radius: 8px; font-weight: 900; letter-spacing: 1.2px; box-shadow: 0 10px 22px rgba(74,4,4,0.12); }
.popup-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.offer-popup-card small { display: block; margin-top: 12px; color: #665b52; }
.review-grid { max-width: 1120px; margin: 28px auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; text-align: left; }
.review-card-home { background: #fff; border: 1px solid #eadfca; border-radius: 8px; padding: 24px; box-shadow: 0 12px 28px rgba(74,4,4,0.06); }
.review-quote { color: #d4af37; font-size: 2rem; font-family: Georgia, serif; line-height: 1; }
.review-card-home p { color: #4d4038; line-height: 1.7; margin: 8px 0 18px; }
.review-card-home strong, .review-card-home span { display: block; }
.review-card-home strong { color: #4a0404; }
.review-card-home span { color: #777; font-size: 0.88rem; margin-top: 4px; }
.review-card-home small { display: block; color: #d4af37; margin-top: 10px; letter-spacing: 1px; }

/* 4. Responsive Styles (মোবাইল ভিউ) */
@media (max-width: 768px) {
    .menu-toggle { display: block; }
    .navbar { display: flex; justify-content: space-between; align-items: center; }
    .nav-links {
        display: none; 
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background: #fff;
        flex-direction: column;
        text-align: center;
        padding: 20px 0;
        box-shadow: 0 5px 5px rgba(0,0,0,0.1);
        z-index: 1000;
    }
    .nav-links.active { display: flex !important; }
    .hero { min-height: 560px; padding-top: 94px; }
    .hero-content { max-width: 100%; }
    .hero-copy, .section-subtitle { max-width: 100%; }
    .hero-trust { grid-template-columns: 1fr !important; }
    .occasion-grid, .editorial-grid, .feature-grid, .testimonial-grid, .stats-grid { grid-template-columns: 1fr !important; }
    .editorial-grid { gap: 20px; }
    .feature-grid { gap: 20px; }
    .testimonial-grid { gap: 20px; }
    .small-card, .feature-card, .testimonial-card { padding: 22px; }
    .cta-banner { padding: 28px; }
    .whatsapp-cta { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
    /* লোগো ছোট */
    .logo img { width: 60px; height: 60px; }
    
    /* ক্যাটাগরি ও প্রোডাক্ট ২টো করে পাশাপাশি */
    .category-grid, .product-grid { 
        grid-template-columns: repeat(2, 1fr) !important; 
        gap: 10px !important; 
    }
    /* How it works ১টি করেই থাকবে */
    .steps-container { grid-template-columns: 1fr !important; }
    .offer-grid { grid-template-columns: 1fr !important; }
    .review-grid { grid-template-columns: 1fr !important; }
}

/* 4. Footer */
.footer { background-color: #4a0404; color: #ffffff; padding: 60px 5% 30px; margin-top: 50px; }
.footer-content { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; max-width: 1200px; margin: 0 auto; }
.footer-section h3 { margin-bottom: 20px; color: #d4af37; font-size: 1.2rem; text-transform: uppercase; }
.footer-section p { line-height: 1.6; font-size: 0.95rem; opacity: 0.9; }
.footer-section ul { list-style: none; }
.footer-section ul li { margin-bottom: 10px; }
.footer-section ul li a { color: #ffffff; text-decoration: none; transition: 0.3s; }
.footer-section ul li a:hover { color: #d4af37; padding-left: 5px; }
.footer-section p a { color: inherit; text-decoration: none; }
.footer-section p a:hover { color: #d4af37; }

.social-links { margin-top: 15px; display: flex; align-items: center; gap: 10px; }
.social-links a img { width: 35px; height: 35px; transition: transform 0.3s; }
.social-links a img:hover { transform: scale(1.2); }
.social-links a { display: inline-grid; flex: 0 0 34px; width: 34px; height: 34px; place-items: center; border: 1px solid rgba(255,255,255,0.28); border-radius: 50%; color: #fff; line-height: 1; transition: transform 0.2s ease, background-color 0.2s ease; }
.social-links a:hover { color: #4a0404; background: var(--accent-color); transform: translateY(-2px); }
.social-links svg { width: 18px; height: 18px; fill: currentColor; }
.nav-cart-link { display: none; }

.footer-bottom { text-align: center; border-top: 1px solid #7a2d2d; padding-top: 25px; margin-top: 40px; font-size: 0.85rem; opacity: 0.8; }

/* 5. Responsive Design */
@media (max-width: 768px) {
    .menu-toggle { display: block; }
    .nav-links { display: none; width: 100%; position: absolute; top: 100%; left: 0; background: #fff; flex-direction: column; text-align: center; padding: 20px 0; box-shadow: 0 5px 5px rgba(0,0,0,0.1); z-index: 1000; }
    .nav-links.active { display: flex !important; }
    
    .footer-content { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 30px; }
    .social-links { justify-content: center; }
    .nav-links .nav-cart-link { display: list-item; }
}

@media (max-width: 480px) {
    .logo img { width: 60px; height: 60px; }
    .category-grid, .product-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 10px !important; }
    .steps-container { grid-template-columns: 1fr !important; }
}
.filter-btn {
    padding: 10px 20px;
    margin: 5px;
    border: 1px solid #4a0404;
    background: white;
    cursor: pointer;
    border-radius: 5px;
    font-weight: bold;
}
.filter-btn:hover { background: #4a0404; color: white; }
.cat-card { 
    background: #fff; 
    padding: 30px 10px; 
    border: 1px solid #ddd; 
    border-radius: 10px; 
    font-weight: bold; 
    cursor: pointer; 
    transition: 0.3s;
    text-align: center; /* লেখা মাঝখানে রাখার জন্য */
}

.cat-card:hover { 
    transform: translateY(-5px); 
    box-shadow: 0 5px 15px rgba(0,0,0,0.1); 
    border-color: #d4af37;
    color: #4a0404;
}
/* Footer Background Fix */
.footer {
    background: linear-gradient(rgba(74, 4, 4, 0.9), rgba(74, 4, 4, 0.9)), url('footer-optimized.jpg');
    background-size: cover;      /* image-ti pura footer-e jure thakbe */
    background-position: center; /* image-ti majhkhani thakbe */
    background-repeat: no-repeat;
    color: #ffffff;
    padding: 60px 5% 30px;
    margin-top: 50px;
}
/* লোগো ও টেক্সট কন্টেইনার */
.logo-container { display: flex; align-items: center; }

/* মোবাইল রেসপন্সিভনেসের জন্য */
@media (max-width: 768px) {
    .brand-text { display: none; } /* ছোট স্ক্রিনে টেক্সট হাইড করে লোগো বড় রাখা ভালো */
    .logo-container { gap: 5px; }
}

/* ফন্ট স্টাইল (যদি গুগল ফন্ট ইউজ করতে চান) */
/* আপনি আপনার পছন্দমতো 'Dancing Script' বা 'Great Vibes' গুগল ফন্ট থেকে লিঙ্ক করে নিতে পারেন *
/* হোয়াটসঅ্যাপ ফ্লোটিং বাটন */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}
.whatsapp-float img {
    width: 60px;
    transition: transform 0.3s;
}
.whatsapp-float img:hover {
    transform: scale(1.1);
}
/* Order Button Styling */
.order-btn {
    background-color: #4a0404; /* আপনার ব্র্যান্ডের কালার */
    color: white;
    padding: 15px 30px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    display: inline-block;
    text-decoration: none; /* লিঙ্কের জন্য দরকার */
    text-align: center;
    transition: background 0.3s ease;
}

.order-btn:hover {
    background-color: #6b0707; /* মাউস নিলে রঙ একটু গাঢ় হবে */
}
.cat-card {
    color: #222;
    text-decoration: none;
}

.featured-products .product-grid {
    align-items: stretch;
}

.featured-products .product-card {
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.featured-products .product-card h3 {
    line-height: 1.25;
    min-height: 40px;
}

.featured-products .customize-link {
    margin-top: auto;
}

@media (max-width: 520px) {
    .featured-products .product-card {
        padding: 10px;
        border-radius: 8px;
    }

    .featured-products .product-img {
        height: 135px;
    }

    .featured-products .product-card h3 {
        font-size: 0.9rem;
        min-height: 34px;
    }

    .featured-products .price {
        font-size: 0.95rem;
    }
}

@media (max-width: 768px) {
    .navbar:not(:has(.menu-toggle)) {
        flex-wrap: wrap;
        gap: 12px;
    }

    .navbar:not(:has(.menu-toggle)) .nav-links {
        display: flex !important;
        position: static;
        width: auto;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-end;
        gap: 12px;
        padding: 0;
        box-shadow: none;
    }
}

.policy-page {
    background: #fdfaf6;
    padding: 46px 5% 20px;
}

.policy-hero {
    max-width: 980px;
    margin: 0 auto 24px;
    padding: 44px;
    border-radius: 8px;
    background: linear-gradient(135deg, #4a0404, #2f1111);
    color: #fff;
}

.policy-hero p {
    color: #d4af37;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.policy-hero h1 {
    font-size: 2.3rem;
    margin-bottom: 8px;
}

.policy-hero span {
    color: rgba(255,255,255,0.72);
}

.policy-content {
    max-width: 980px;
    margin: 0 auto 40px;
    background: #fff;
    border: 1px solid #eadfca;
    border-radius: 8px;
    padding: 34px;
    line-height: 1.75;
}

.policy-content h2 {
    color: #4a0404;
    margin: 20px 0 8px;
    font-size: 1.18rem;
}

.policy-content h2:first-child {
    margin-top: 0;
}

.policy-content p {
    color: #444;
}

@media (max-width: 520px) {
    .policy-page {
        padding: 24px 4% 10px;
    }

    .policy-hero,
    .policy-content {
        padding: 24px;
    }

    .policy-hero h1 {
        font-size: 1.7rem;
    }
}

@media (max-width: 768px) {
    .navbar {
        min-height: 68px;
        padding: 0 4%;
        gap: 10px;
    }

    .logo a::after {
        font-size: 1.35rem;
        letter-spacing: -0.4px;
    }

    .logo img {
        width: 178px !important;
        max-height: 48px;
    }

    .nav-actions {
        gap: 8px;
        margin-left: auto;
    }

    .country-switcher {
        min-width: 88px;
        max-width: 104px;
        height: 32px;
        font-size: 0.68rem;
        padding: 0 8px;
    }

    .nav-icon-btn {
        font-size: 0.8rem;
    }

    .nav-order-btn {
        padding: 9px 11px !important;
        font-size: 0.72rem;
    }

    .nav-links {
        gap: 0;
        padding: 14px 0 !important;
        background: #fffdf8;
    }

    .nav-links a {
        display: block;
        padding: 13px 0;
    }

    .nav-links a::after {
        bottom: 8px;
        left: 42%;
        right: 42%;
    }

    .login-btn {
        margin-top: 8px;
        padding: 10px 16px !important;
    }
}

@media (max-width: 480px) {
    .logo a::after {
        font-size: 1.06rem;
    }

    .logo img {
        width: 138px !important;
        max-height: 42px;
    }

    .nav-actions {
        gap: 6px;
    }

    .country-switcher {
        min-width: 72px;
        max-width: 78px;
        height: 30px;
        font-size: 0.62rem;
        padding: 0 5px;
    }

    .nav-order-btn {
        font-size: 0;
        width: 36px;
        height: 36px;
        padding: 0 !important;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .nav-order-btn::before {
        content: "\1F381";
        font-size: 0.9rem;
    }

    .hero {
        min-height: 560px;
        padding: 58px 5% 34px;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-copy {
        font-size: 0.96rem;
    }

    .hero-trust {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-top: 42px;
    }
}

.cart-remove-btn {
    border: 1px solid #8b1e1e;
    background: #fff;
    color: #8b1e1e;
    border-radius: 999px;
    padding: 8px 14px;
    font-weight: 800;
    cursor: pointer;
}

.cart-remove-btn:hover {
    background: #8b1e1e;
    color: #fff;
}

/* Final mobile polish across customer pages */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

img {
    max-width: 100%;
}

@media (max-width: 900px) {
    .navbar {
        display: flex !important;
        align-items: center;
        justify-content: flex-start;
        min-height: 66px;
        padding: 0 12px;
        gap: 8px;
    }
    body {
        padding-top: 66px;
    }

    .logo {
        order: 1;
        flex: 0 1 auto;
        min-width: 0;
    }

    .logo a {
        min-height: 54px;
    }

    .logo img {
        width: clamp(138px, 42vw, 190px) !important;
        max-height: 44px;
    }

    .nav-actions {
        order: 2;
        margin-left: auto;
        gap: 7px;
        flex: 0 0 auto;
    }

    .menu-toggle {
        order: 3;
        flex: 0 0 auto;
        display: block;
    }

    .bar {
        width: 22px;
        height: 2px;
        margin: 4px auto;
    }

    .nav-links {
        order: 4;
        display: none;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        text-align: center;
        background: #fffaf3;
        border-top: 1px solid #eadfca;
        box-shadow: 0 12px 24px rgba(74,4,4,0.12);
        padding: 10px 0 !important;
        z-index: 2000;
    }

    .nav-links.active {
        display: flex !important;
    }

    .nav-links a {
        width: 100%;
        padding: 13px 0 !important;
        font-size: 0.95rem;
    }

    .nav-icon-btn {
        width: 30px;
        height: 30px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 0.78rem;
    }

    .nav-order-btn {
        width: 34px;
        height: 34px;
        padding: 0 !important;
        font-size: 0 !important;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .nav-order-btn::before {
        content: "\1F381";
        font-size: 0.88rem;
    }

    .hero {
        min-height: 560px;
        padding: 56px 5% 34px;
        background-position: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-content h1 {
        font-size: clamp(2.7rem, 13vw, 4.2rem);
        line-height: 0.98;
    }

    .hero-copy {
        font-size: 0.96rem;
        max-width: 94%;
    }

    .hero-actions {
        gap: 10px;
    }

    .shop-btn,
    .browse-btn,
    .order-btn {
        padding: 12px 18px;
        font-size: 0.88rem;
    }

    .hero-trust {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 38px;
    }

    .categories,
    .how-it-works,
    .featured-products,
    .category-page-container,
    .orders-wrap,
    .policy-page {
        padding-left: 4% !important;
        padding-right: 4% !important;
    }

    .category-grid,
    .cat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
    }

    .category-grid .cat-card:last-child:nth-child(odd) {
        grid-column: 1 / -1 !important;
        justify-self: center;
        width: min(100%, 320px);
    }

    .cat-card,
    .cat-item {
        padding: 18px 8px !important;
        border-radius: 8px !important;
        min-height: 74px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
    }

    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
    }

    .product-card {
        min-height: auto !important;
        padding: 10px !important;
        border-radius: 8px !important;
    }

    .product-img,
    .featured-products .product-img {
        height: 132px !important;
        border-radius: 6px !important;
    }

    .product-card h3 {
        font-size: 0.88rem !important;
        min-height: 34px;
        line-height: 1.25;
    }

    .price {
        font-size: 0.95rem !important;
    }

    .product-desc {
        font-size: 0.78rem !important;
    }

    .steps-container {
        grid-template-columns: 1fr !important;
    }

    .step-card {
        min-height: auto;
        padding: 22px;
    }

    .footer {
        padding: 42px 5% 24px !important;
    }

    .footer-content {
        grid-template-columns: 1fr !important;
        display: grid !important;
        text-align: center;
        gap: 28px !important;
    }

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

    .details-container {
        display: block !important;
        padding: 34px 4% !important;
    }

    .details-container .product-image,
    .details-container .product-info {
        min-width: 0 !important;
        width: 100% !important;
    }

    .details-container .product-image {
        height: 300px !important;
        margin-bottom: 24px;
    }

    .cart-section {
        padding: 34px 4% !important;
    }

    .cart-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    .cart-remove-btn {
        padding: 7px 11px;
    }

    .order-card,
    .policy-hero,
    .policy-content {
        padding: 20px !important;
    }

    .order-line,
    .order-total,
    .summary-total {
        gap: 12px;
    }
}

@media (max-width: 380px) {
    .logo img {
        width: 122px !important;
    }

    .nav-actions {
        gap: 5px;
    }

    .nav-icon-btn,
    .nav-order-btn {
        width: 28px;
        height: 28px;
    }

    .hero-content h1 {
        font-size: 2.45rem;
    }

    .category-grid,
    .cat-grid,
    .product-grid {
        grid-template-columns: 1fr !important;
    }
}

.order-btn { background-color: var(--primary-color); }
.order-btn:hover { background-color: var(--accent-color); }
.section-title, .categories h2 { color: var(--primary-color); }
.price, .checkout-brand, .summary-title h2 { color: var(--primary-color); }
.customize-link { color: var(--accent-color); }

.category-grid .cat-card:last-child:nth-child(3n + 1) {
    grid-column: 2;
}

@media (max-width: 768px) {
    .category-grid .cat-card:last-child:nth-child(odd) {
        grid-column: 1 / -1 !important;
        justify-self: center;
        width: min(100%, 320px);
    }
}


/* Custom shop and page layout additions */
.page-hero {
    min-height: 520px;
    background: linear-gradient(180deg, rgba(74,4,4,0.92), rgba(74,4,4,0.84)), url('uploads/hero-bg-optimized-b9bff4d2c5ab.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 120px 5% 80px;
    display: flex;
    align-items: center;
}

.page-hero .hero-content {
    max-width: 680px;
}

.page-hero .section-kicker {
    color: #f2d681;
    margin-bottom: 20px;
}

.page-hero h1 {
    font-size: clamp(2.8rem, 5vw, 4.8rem);
    line-height: 0.95;
    margin-bottom: 20px;
}

.page-hero .hero-copy {
    margin-bottom: 28px;
    color: rgba(255,255,255,0.92);
}

.shop-shell {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
    max-width: 1240px;
    margin: 0 auto;
}

.shop-sidebar {
    display: grid;
    gap: 20px;
}

.filter-panel {
    background: #fff;
    border: 1px solid rgba(212, 175, 55, 0.18);
    border-radius: 22px;
    padding: 22px;
    box-shadow: 0 18px 36px rgba(74, 4, 4, 0.04);
}

.filter-heading {
    margin-bottom: 16px;
    color: #4a0404;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.82rem;
}

.search-panel input,
.sort-panel select,
.page-section input,
.page-section textarea,
.page-section select {
    width: 100%;
    border: 1px solid #e9e1da;
    border-radius: 14px;
    padding: 14px 16px;
    font-size: 0.96rem;
    color: #32120f;
    background: #fff;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.page-section input:focus,
.page-section textarea:focus,
.page-section select:focus {
    border-color: rgba(212,175,55,0.6);
    box-shadow: 0 0 0 3px rgba(212,175,55,0.12);
}
.page-section label {
    display: block;
    color: #4a0404;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 6px;
}
.page-section label span {
    display: block;
    margin-bottom: 8px;
}

.sidebar-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.sidebar-list .sidebar-link {
    width: 100%;
    text-align: left;
    border: 1px solid rgba(74, 4, 4, 0.12);
    border-radius: 999px;
    background: #fff;
    padding: 12px 16px;
    font-weight: 700;
    color: #4a0404;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.sidebar-list .sidebar-link:hover,
.sidebar-list .sidebar-link.active-filter {
    background: #4a0404;
    color: #fff;
    border-color: #4a0404;
}

.shop-main {
    display: grid;
    gap: 22px;
}

.shop-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.results-count {
    color: #4a0404;
    font-weight: 700;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    width: 100%;
}

.product-card {
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(74, 4, 4, 0.12);
    border-radius: 24px;
    background: #fff;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    min-height: 420px;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 46px rgba(74, 4, 4, 0.12);
    border-color: rgba(212, 175, 55, 0.35);
}

.product-card .product-img {
    overflow: hidden;
    min-height: 240px;
    background-color: #f4ede5;
}

.product-card .product-meta {
    padding: 24px;
    display: grid;
    gap: 16px;
    flex: 1;
}

.product-card .product-category {
    font-size: 0.78rem;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: #7a5d4f;
}

.product-card h3 {
    font-size: 1.15rem;
    margin: 0;
    color: #32120f;
    line-height: 1.25;
}

.product-card .product-desc {
    display: none;
}

.product-card .price-line {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.product-card .price {
    font-size: 1.18rem;
    font-weight: 800;
    color: #4a0404;
}

.product-card .mrp {
    color: #7a5a51;
    text-decoration: line-through;
    font-size: 0.94rem;
}

.product-card .discount-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    background: rgba(212, 175, 55, 0.14);
    color: #38221c;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.82rem;
}

.product-card .stock-note {
    color: #665245;
    font-size: 0.9rem;
    font-weight: 600;
}

.product-card .stock-note.out {
    color: #8b1e1e;
}

.product-card .customize-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    border-radius: 999px;
    padding: 12px 18px;
    border: 1px solid rgba(74, 4, 4, 0.12);
    background: #fff8f0;
    color: #4a0404;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.25s ease, border-color 0.25s ease;
}

.product-card .customize-link:hover {
    background: #4a0404;
    color: #fdf6e8;
    border-color: rgba(212, 175, 55, 0.4);
}

.whatsapp-cta {
    background: #4a0404;
    color: #fff;
    border-radius: 24px;
    padding: 32px 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.whatsapp-cta p {
    max-width: 870px;
    font-size: 1rem;
    line-height: 1.75;
}

.whatsapp-cta .nav-order-btn {
    background: #d4af37;
    color: #1f0a05;
}

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

    .steps-container.corporate-process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background: #fff;
        flex-direction: column;
        text-align: center;
        padding: 22px 0;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        z-index: 1000;
    }
    .nav-links.active { display: flex !important; }
    .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .shop-controls { flex-direction: column; align-items: stretch; }
    .whatsapp-cta { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 520px) {
    .logo img { width: 60px; height: 60px; }
    .product-grid { grid-template-columns: 1fr; }
    .sidebar-list .sidebar-link { width: 100%; }
    .shop-shell { gap: 18px; }
    .page-hero { padding: 100px 5% 60px; }
}

/* Final responsive hardening: keep home hero/category content inside every mobile viewport. */
@media (max-width: 900px) {
    .hero-badges {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
        max-width: min(100%, 520px);
        margin-top: 34px;
    }

    .hero-badge {
        width: 100%;
        min-width: 0;
        padding: 16px !important;
        border-radius: 8px;
    }

    .hero-badge h4,
    .hero-badge p,
    .category-card h3,
    .category-card span {
        overflow-wrap: anywhere;
        word-break: normal;
    }

    .category-card {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
        min-width: 0;
        text-align: center;
        padding: 18px 12px !important;
        border-radius: 8px !important;
    }

    .category-icon {
        width: 54px !important;
        height: 54px !important;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .hero-badge {
        display: grid;
        grid-template-columns: 44px minmax(0, 1fr);
        align-items: start;
        gap: 12px;
    }

    .hero-badge .badge-icon {
        width: 44px;
        height: 44px;
        border-radius: 8px;
        font-size: 1.1rem;
    }

    .hero-badge h4 {
        font-size: 1rem;
    }

    .hero-badge p {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 380px) {
    .category-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Mobile homepage trim: reduce first-screen scroll while keeping desktop content intact. */
@media (max-width: 768px) {
    .home-page .hero {
        min-height: auto !important;
        padding-top: 52px !important;
        padding-bottom: 38px !important;
    }

    .home-page .hero-badges,
    .home-occasion-section {
        display: none !important;
    }

    .home-page .hero-copy {
        margin-bottom: 22px;
    }

    .home-page .hero + .home-occasion-section + .page-section {
        padding-top: 42px;
    }
}

@media (max-width: 480px) {
    .home-page .hero {
        padding-top: 42px !important;
        padding-bottom: 32px !important;
    }
}

/* Homepage occasion and category cards: visual assets with an intentional More control. */
.home-card-media {
    position: relative;
    width: 72px;
    height: 72px;
    overflow: hidden;
    border-radius: 16px;
    background-color: #f4eee5;
    background-position: center;
    background-size: cover;
    box-shadow: inset 0 0 0 1px rgba(74, 4, 4, .08);
}

.home-card-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent, rgba(48, 18, 15, .42));
}

.home-card-symbol {
    position: absolute;
    right: 5px;
    bottom: 5px;
    z-index: 1;
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border: 1px solid rgba(255,255,255,.7);
    border-radius: 50%;
    background: #fffaf3;
    font-size: .9rem;
}

.occasion-card .home-card-media,
.category-card .home-card-media { flex: 0 0 auto; }
.occasion-card .occasion-icon,
.category-card .category-icon { display: none; }

.home-card-extra { display: none; }
.home-show-all .home-card-extra { display: grid; }

.home-more-button {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    margin-top: 20px;
    padding: 0 16px;
    border: 1px solid #4a0404;
    border-radius: 7px;
    background: #fffaf3;
    color: #4a0404;
    font: inherit;
    font-size: .9rem;
    font-weight: 800;
    cursor: pointer;
}

.home-more-button:hover { background: #4a0404; color: #fff; }

@media (max-width: 768px) {
    .home-occasion-section { display: block !important; }
    .occasion-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }
    .occasion-card, .category-card { grid-template-columns: 1fr !important; min-height: 0; gap: 10px; padding: 12px !important; text-align: left; }
    .home-card-media { width: 100%; height: 108px; border-radius: 7px; }
    .occasion-card h3, .category-card h3 { font-size: .96rem; margin-bottom: 3px; }
    .occasion-card span, .category-card span { font-size: .78rem; }
}

/* Current cart and compact action polish */
.nav-icon-btn.cart-nav-link {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(74, 4, 4, 0.12);
    border-radius: 50%;
    background: #fffaf3;
}

.nav-icon-btn.cart-nav-link svg {
    width: 20px;
    height: 20px;
    display: block;
}

.cart-page-section {
    padding: 118px 5% 70px;
    background: #f8f2ea;
    min-height: 72vh;
}

.cart-page-head,
.cart-page-layout {
    width: min(1180px, 100%);
    margin: 0 auto;
}

.cart-page-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
}

.cart-page-head h1 {
    color: #2b1d18;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1;
}

.cart-continue-link {
    color: #4a0404;
    font-weight: 800;
    text-decoration: none;
}

.cart-page-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 20px;
    align-items: start;
}

.cart-card-list {
    display: grid;
    gap: 12px;
}

.cart-item-card,
.cart-empty-card,
.cart-summary-card {
    background: #fff;
    border: 1px solid #eadfca;
    border-radius: 8px;
    box-shadow: 0 14px 34px rgba(74, 4, 4, 0.06);
}

.cart-item-card {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    padding: 14px;
}

.cart-item-image {
    width: 92px;
    aspect-ratio: 1;
    border-radius: 8px;
    background: #f2e8dc center / cover no-repeat;
}

.cart-item-info h2 {
    font-size: 1rem;
    color: #2b1d18;
    margin-bottom: 6px;
}

.cart-item-info p,
.cart-item-info span {
    color: #6b574c;
    font-size: 0.9rem;
}

.cart-item-price {
    display: grid;
    gap: 10px;
    justify-items: end;
}

.cart-item-price strong {
    color: #4a0404;
    font-size: 1rem;
}

.cart-summary-card {
    position: sticky;
    top: 100px;
    padding: 20px;
    display: grid;
    gap: 14px;
}

.cart-summary-card > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #6b574c;
}

.cart-summary-card strong {
    color: #2b1d18;
    text-align: right;
}

.cart-summary-total {
    border-top: 1px solid #eadfca;
    padding-top: 14px;
    font-size: 1.1rem;
}

.cart-checkout-btn {
    width: 100%;
    text-align: center;
}

.cart-empty-card {
    text-align: center;
    padding: 36px 18px;
}

.cart-empty-card h2 {
    color: #4a0404;
    margin-bottom: 8px;
}

.cart-empty-card p {
    color: #6b574c;
    margin-bottom: 18px;
}

@media (max-width: 760px) {
    .cart-page-section {
        padding: 92px 4% 44px;
    }

    .cart-page-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

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

    .cart-summary-card {
        position: static;
        order: -1;
    }

    .cart-item-card {
        grid-template-columns: 74px minmax(0, 1fr);
        gap: 12px;
    }

    .cart-item-image {
        width: 74px;
    }

    .cart-item-price {
        grid-column: 1 / -1;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
}

/* Premium IGP-style cart rebuild */
.cart-page {
    background: #fff8ef;
}

.cart-page .navbar {
    box-shadow: 0 6px 18px rgba(74, 4, 4, 0.05);
}

.cart-page-section {
    padding: 112px 5% 82px !important;
    background:
        radial-gradient(circle at 10% 18%, rgba(212, 175, 55, 0.12), transparent 28%),
        linear-gradient(180deg, #fffaf3 0%, #f8efe6 100%) !important;
    min-height: calc(100vh - 82px);
}

.cart-page-head,
.cart-page-layout {
    width: min(1160px, 100%);
}

.cart-page-head {
    align-items: flex-end !important;
    margin-bottom: 24px !important;
}

.cart-page-head h1 {
    font-size: clamp(2.1rem, 4.2vw, 4rem) !important;
    color: #240d0b !important;
    letter-spacing: 0;
}

.cart-page-subtitle {
    max-width: 570px;
    margin-top: 10px;
    color: #705a50;
    line-height: 1.6;
}

.cart-continue-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px;
    border: 1px solid rgba(74, 4, 4, 0.16);
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(74, 4, 4, 0.05);
}

.cart-continue-link:hover {
    border-color: rgba(212, 175, 55, 0.65);
    color: #240d0b;
}

.cart-page-layout {
    grid-template-columns: minmax(0, 1fr) 360px !important;
    gap: 24px !important;
}

.cart-page-layout.is-empty {
    grid-template-columns: 1fr !important;
}

.cart-card-list {
    gap: 14px !important;
}

.cart-item-card,
.cart-empty-card,
.cart-summary-card {
    border: 1px solid rgba(74, 4, 4, 0.1) !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, 0.94) !important;
    box-shadow: 0 18px 48px rgba(74, 4, 4, 0.08) !important;
}

.cart-item-card {
    grid-template-columns: 124px minmax(0, 1fr) minmax(138px, auto) !important;
    gap: 18px !important;
    padding: 16px !important;
    align-items: stretch !important;
}

.cart-item-image {
    width: 124px !important;
    height: 124px !important;
    aspect-ratio: 1;
    display: block;
    overflow: hidden;
    border-radius: 8px !important;
    background: #f3e9df;
    border: 1px solid rgba(74, 4, 4, 0.08);
    text-decoration: none;
}

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

.cart-item-image span {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    color: #80675d;
    font-size: 0.78rem;
    font-weight: 800;
}

.cart-item-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}

.cart-item-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.cart-item-title-row a {
    color: #24100c;
    font-weight: 900;
    font-size: 1.02rem;
    line-height: 1.32;
    text-decoration: none;
}

.cart-item-title-row a:hover {
    color: #4a0404;
}

.cart-item-badge {
    flex: 0 0 auto;
    padding: 6px 9px;
    border-radius: 999px;
    background: rgba(212, 175, 55, 0.16);
    color: #4a0404;
    font-size: 0.7rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.cart-item-info p {
    margin: 0 !important;
    color: #715e55 !important;
    font-size: 0.88rem !important;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cart-item-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.cart-item-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 5px 9px;
    border-radius: 999px;
    background: #fff8ef;
    border: 1px solid #eadfca;
    color: #5f4a42 !important;
    font-size: 0.76rem !important;
    font-weight: 800;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: auto;
}

.cart-qty-control {
    display: inline-grid;
    grid-template-columns: 34px 46px 34px;
    align-items: center;
    min-height: 36px;
    overflow: hidden;
    border: 1px solid #d9cdbf;
    border-radius: 999px;
    background: #fff;
}

.cart-qty-control button,
.cart-qty-control input {
    width: 100%;
    height: 36px;
    border: 0;
    background: transparent;
    color: #32120f;
    font-weight: 900;
    text-align: center;
}

.cart-qty-control button {
    cursor: pointer;
    font-size: 1rem;
}

.cart-qty-control button:hover {
    background: #4a0404;
    color: #fff;
}

.cart-qty-control input {
    border-left: 1px solid #eadfca;
    border-right: 1px solid #eadfca;
    appearance: textfield;
}

.cart-qty-control input::-webkit-outer-spin-button,
.cart-qty-control input::-webkit-inner-spin-button {
    appearance: none;
    margin: 0;
}

.cart-remove-btn {
    min-height: 36px !important;
    border: 1px solid rgba(139, 30, 30, 0.18) !important;
    background: #fff !important;
    color: #8b1e1e !important;
    border-radius: 999px !important;
    padding: 8px 14px !important;
    font-size: 0.78rem;
    font-weight: 900;
}

.cart-remove-btn:hover {
    background: #8b1e1e !important;
    color: #fff !important;
}

.cart-item-price {
    justify-items: end !important;
    align-content: center;
    gap: 6px !important;
    padding-left: 12px;
    border-left: 1px solid #f0e5d9;
}

.cart-item-price strong {
    color: #4a0404 !important;
    font-size: 1.12rem !important;
}

.cart-item-price span {
    color: #80675d;
    font-size: 0.78rem;
    font-weight: 800;
}

.cart-summary-card {
    top: 102px !important;
    padding: 22px !important;
    gap: 15px !important;
}

.cart-summary-top {
    padding-bottom: 14px;
    border-bottom: 1px solid #eadfca;
}

.cart-summary-top span {
    color: #24100c;
    font-size: 1.05rem;
    font-weight: 900;
}

.cart-summary-top small {
    color: #80675d;
    font-weight: 800;
}

.cart-summary-card > div:not(.cart-summary-help) {
    font-size: 0.92rem;
}

.cart-summary-total {
    margin-top: 2px;
    font-size: 1.1rem !important;
}

.cart-summary-total strong {
    color: #4a0404 !important;
    font-size: 1.28rem;
}

.cart-checkout-btn {
    min-height: 48px;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 900;
    box-shadow: 0 14px 26px rgba(74, 4, 4, 0.16);
}

.cart-summary-help {
    display: grid;
    gap: 8px;
    padding-top: 2px;
}

.cart-summary-help span {
    position: relative;
    color: #6d574e;
    font-size: 0.82rem;
    line-height: 1.35;
    padding-left: 17px;
}

.cart-summary-help span::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #d4af37;
}

.cart-empty-card {
    display: grid;
    grid-template-columns: minmax(260px, 0.9fr) minmax(320px, 1fr);
    gap: 22px;
    align-items: center;
    text-align: left !important;
    padding: 34px !important;
}

.cart-empty-illustration {
    display: grid;
    place-items: center;
    min-height: 330px;
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.34), rgba(255,248,239,0.92)),
        radial-gradient(circle at 40% 42%, rgba(212, 175, 55, 0.13), transparent 36%);
}

.cart-empty-illustration svg {
    width: min(440px, 100%);
    height: auto;
}

.cart-empty-copy h2 {
    margin: 0 0 12px !important;
    color: #1e0d0a !important;
    font-size: clamp(2rem, 4vw, 3.3rem);
    line-height: 1.03;
}

.cart-empty-copy p:not(.section-kicker) {
    max-width: 500px;
    margin: 0 0 20px !important;
    color: #68524a !important;
    line-height: 1.62;
}

.cart-empty-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 26px;
}

.cart-empty-actions .order-btn,
.cart-ghost-btn {
    min-height: 42px;
    border-radius: 999px;
    padding: 12px 20px;
    font-weight: 900;
    text-decoration: none;
}

.cart-ghost-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #4a0404;
    border: 1px solid rgba(74, 4, 4, 0.16);
    background: #fff;
}

.cart-suggestions {
    grid-column: 1 / -1;
    padding-top: 22px;
    border-top: 1px solid #eadfca;
}

.cart-suggestions-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.cart-suggestions-head strong {
    color: #4a0404;
    font-size: 1rem;
}

.cart-suggestions-head a {
    color: #7b5b22;
    font-weight: 900;
    text-decoration: none;
}

.cart-suggestions-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.cart-suggestion-card {
    display: grid;
    gap: 9px;
    padding: 8px;
    border: 1px solid #eadfca;
    border-radius: 8px;
    background: #fffaf3;
    color: #24100c;
    text-align: center;
    text-decoration: none;
    font-weight: 900;
    font-size: 0.88rem;
}

.cart-suggestion-card img {
    width: 100%;
    aspect-ratio: 1.25;
    object-fit: cover;
    border-radius: 6px;
    background: #f1e5da;
}

.cart-mobile-checkout {
    display: none;
}

.cart-summary-card[hidden],
.cart-mobile-checkout[hidden] {
    display: none !important;
}

@media (max-width: 900px) {
    .cart-page-section {
        padding: 88px 4% 102px !important;
    }

    .cart-page-head {
        align-items: flex-start !important;
        flex-direction: column;
    }

    .cart-page-layout {
        grid-template-columns: 1fr !important;
    }

    .cart-summary-card {
        position: static !important;
        order: 2 !important;
    }

    .cart-item-card {
        grid-template-columns: 96px minmax(0, 1fr) !important;
        gap: 12px !important;
        padding: 12px !important;
    }

    .cart-item-image {
        width: 96px !important;
        height: 96px !important;
    }

    .cart-item-title-row {
        display: grid;
        gap: 7px;
    }

    .cart-item-title-row a {
        font-size: 0.94rem;
    }

    .cart-item-info p {
        -webkit-line-clamp: 1;
        font-size: 0.82rem !important;
    }

    .cart-item-meta {
        gap: 5px;
    }

    .cart-item-meta span {
        font-size: 0.7rem !important;
        min-height: 24px;
    }

    .cart-item-price {
        grid-column: 1 / -1 !important;
        display: flex !important;
        flex-direction: row;
        justify-content: space-between !important;
        align-items: center !important;
        padding-left: 0;
        padding-top: 10px;
        border-left: 0;
        border-top: 1px solid #f0e5d9;
    }

    .cart-empty-card {
        grid-template-columns: 1fr;
        padding: 18px !important;
    }

    .cart-empty-illustration {
        min-height: 210px;
    }

    .cart-suggestions-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cart-mobile-checkout:not([hidden]) {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1200;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 12px 14px calc(12px + env(safe-area-inset-bottom));
        background: rgba(255, 250, 243, 0.98);
        border-top: 1px solid #eadfca;
        box-shadow: 0 -14px 32px rgba(74, 4, 4, 0.14);
    }

    .cart-mobile-checkout span {
        display: block;
        color: #6d574e;
        font-size: 0.76rem;
        font-weight: 800;
    }

    .cart-mobile-checkout strong {
        color: #4a0404;
        font-size: 1.05rem;
    }

    .cart-mobile-checkout .order-btn {
        min-width: 140px;
        min-height: 42px;
        border-radius: 999px;
    }
}

@media (max-width: 480px) {
    .cart-page-section {
        padding-left: 3.5% !important;
        padding-right: 3.5% !important;
    }

    .cart-page-head h1 {
        font-size: 2.2rem !important;
    }

    .cart-page-subtitle {
        font-size: 0.88rem;
    }

    .cart-item-card {
        grid-template-columns: 84px minmax(0, 1fr) !important;
    }

    .cart-item-image {
        width: 84px !important;
        height: 84px !important;
    }

    .cart-item-controls {
        gap: 8px;
    }

    .cart-qty-control {
        grid-template-columns: 32px 42px 32px;
    }

    .cart-remove-btn {
        padding: 8px 11px !important;
    }

    .cart-summary-card {
        padding: 16px !important;
    }

    .cart-empty-copy h2 {
        font-size: 2rem;
    }

    .cart-suggestion-card {
        font-size: 0.78rem;
    }
}

/* Combined homepage discovery and product rail polish */
.home-gift-finder {
    background: #fff8ef;
    padding: 28px 5% 12px;
}

.home-finder-inner {
    width: min(1160px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(220px, 0.9fr) minmax(320px, 1.1fr);
    gap: 18px;
    align-items: center;
    padding: 20px;
    border: 1px solid rgba(74, 4, 4, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 16px 42px rgba(74, 4, 4, 0.07);
}

.home-finder-inner h2 {
    margin: 0;
    color: #2b1d18;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.45rem, 2.4vw, 2.25rem);
    line-height: 1.1;
}

.home-search-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
}

.home-search-form input {
    width: 100%;
    min-height: 46px;
    border: 1px solid #eadfca;
    border-radius: 999px;
    padding: 0 18px;
    background: #fffaf3;
    color: #32120f;
    outline: 0;
}

.home-search-form input:focus {
    border-color: rgba(212, 175, 55, 0.75);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.13);
}

.home-search-form .order-btn {
    min-height: 46px;
    border-radius: 999px;
    padding: 0 22px;
}

.home-quick-chips {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.home-quick-chips a {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 12px;
    border: 1px solid #eadfca;
    border-radius: 999px;
    background: #fffaf3;
    color: #4a0404;
    font-size: 0.78rem;
    font-weight: 900;
    text-decoration: none;
}

.home-product-rails-section {
    display: grid;
    gap: 26px;
    background: #fdf7ee;
}

.home-product-rail {
    width: min(1160px, 100%);
    margin: 0 auto;
}

.home-rail-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.home-rail-head h2 {
    margin: 0;
    color: #2b1d18;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.5rem, 2.8vw, 2.55rem);
    line-height: 1.08;
}

.home-rail-head a {
    color: #4a0404;
    font-weight: 900;
    text-decoration: none;
}

.home-rail-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.home-rail-grid.is-compact {
    grid-template-columns: repeat(auto-fit, minmax(190px, 270px));
    justify-content: start;
}

.home-product-card {
    overflow: hidden;
    border: 1px solid rgba(74, 4, 4, 0.1);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(74, 4, 4, 0.07);
    cursor: pointer;
}

.home-product-img {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 0.82;
    background: #f1e5da;
}

.home-product-img span {
    position: absolute;
    left: 10px;
    top: 10px;
    border-radius: 999px;
    background: #d4af37;
    color: #24100c;
    padding: 6px 9px;
    font-size: 0.68rem;
    font-weight: 900;
}

.home-product-body {
    display: grid;
    gap: 9px;
    padding: 12px;
}

.home-product-body small {
    color: #7a5d4f;
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.home-product-body h3 {
    margin: 0;
    min-height: 2.6em;
    color: #24100c;
    font-size: 0.95rem;
    line-height: 1.3;
}

.home-product-body .price-line {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.home-product-body .price-line strong {
    color: #4a0404;
}

.home-product-body .mrp {
    color: #80675d;
    font-size: 0.78rem;
    text-decoration: line-through;
}

.home-product-body .customize-link {
    min-height: 36px;
    border-radius: 999px;
    font-size: 0.78rem;
    padding: 8px 12px;
}

[hidden] {
    display: none !important;
}

@media (max-width: 820px) {
    .home-gift-finder {
        padding: 14px 12px 0;
    }

    .home-finder-inner {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 14px;
    }

    .home-finder-inner h2 {
        font-size: 1.35rem;
    }

    .home-quick-chips {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 2px;
    }

    .home-quick-chips a {
        flex: 0 0 auto;
    }

    .home-product-rails-section {
        padding: 28px 12px;
        gap: 22px;
    }

    .home-rail-head {
        align-items: flex-start;
    }

    .home-rail-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .home-product-body {
        padding: 10px;
    }

    .home-product-body h3 {
        font-size: 0.84rem;
    }
}

@media (max-width: 480px) {
    .home-search-form {
        grid-template-columns: 1fr;
    }

    .home-search-form .order-btn {
        width: 100%;
    }
}

/* Navbar search: compact trigger beside cart with real product/category suggestions. */
.nav-search {
    position: relative;
    z-index: 1002;
}

.nav-search-trigger {
    display: none;
}

.nav-search-form {
    width: clamp(220px, 18vw, 320px);
    height: 42px;
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr) auto;
    align-items: center;
    gap: 9px;
    border: 1px solid rgba(74, 4, 4, 0.16);
    border-radius: 999px;
    background: #fff;
    padding: 0 6px 0 14px;
    box-shadow: 0 8px 22px rgba(74, 4, 4, 0.06);
}

.nav-search-form svg {
    width: 18px;
    height: 18px;
    color: #7a6758;
}

.nav-search-form input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #2a1a16;
    font-size: 0.86rem;
    font-weight: 700;
}

.nav-search-form input::placeholder {
    color: #8a7769;
}

.nav-search-form button {
    min-height: 30px;
    border: 0;
    border-radius: 999px;
    background: var(--primary-color);
    color: #fff;
    padding: 0 13px;
    font-size: 0.74rem;
    font-weight: 900;
    cursor: pointer;
}

.nav-search-panel {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: min(560px, calc(100vw - 30px));
    max-height: min(72vh, 620px);
    overflow: auto;
    display: grid;
    gap: 18px;
    padding: 18px;
    border: 1px solid rgba(74, 4, 4, 0.12);
    border-radius: 14px;
    background: #fffdf8;
    box-shadow: 0 24px 70px rgba(31, 16, 12, 0.18);
}

.nav-search-panel[hidden] {
    display: none !important;
}

.nav-search-section {
    display: grid;
    gap: 12px;
}

.nav-search-section > strong {
    color: #201612;
    font-size: 1rem;
    font-weight: 900;
}

.nav-search-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

.nav-search-product {
    min-width: 0;
    display: grid;
    gap: 7px;
    color: #211714;
    text-align: center;
    text-decoration: none;
}

.nav-search-product img {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 12px;
    background: #f2e8dc;
    object-fit: cover;
    box-shadow: inset 0 0 0 1px rgba(74, 4, 4, 0.08);
}

.nav-search-product span {
    display: -webkit-box;
    overflow: hidden;
    color: #221814;
    font-size: 0.76rem;
    font-weight: 900;
    line-height: 1.22;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.nav-search-product small {
    color: #7a140f;
    font-size: 0.7rem;
    font-weight: 900;
}

.nav-search-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.nav-search-pills a {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    border: 1px solid rgba(212, 175, 55, 0.32);
    border-radius: 999px;
    background: #fff8e7;
    color: #4a0404;
    padding: 7px 12px;
    font-size: 0.78rem;
    font-weight: 900;
    text-decoration: none;
    white-space: nowrap;
}

/* The old homepage search block is now moved into the navbar search panel. */
.home-gift-finder {
    display: none !important;
}

/* Compact homepage hero badges so the text stays in one/two clean lines. */
.home-page .hero {
    min-height: 520px;
    padding-top: 62px;
    padding-bottom: 24px;
}

.home-page .hero-content {
    width: min(910px, 100%);
    max-width: 910px;
}

.home-page .hero-content h1 {
    max-width: 720px;
    font-size: calc(clamp(3rem, 5.6vw, 5.4rem) * var(--heading-scale));
}

.home-page .hero-copy {
    max-width: 560px;
}

.home-page .hero-copy {
    margin-bottom: 22px;
}

.home-page .hero-badges {
    max-width: 860px;
    gap: 14px;
    margin-top: 24px;
}

.home-page .hero-badge {
    align-items: center;
    gap: 12px;
    min-height: 78px;
    padding: 12px 14px;
    border-radius: 12px;
}

.home-page .hero-badge .badge-icon {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    font-size: 1rem;
}

.home-page .hero-badge h4 {
    margin-bottom: 4px;
    font-size: 0.96rem;
    line-height: 1.15;
}

.home-page .hero-badge p {
    display: -webkit-box;
    overflow: hidden;
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

@media (min-width: 769px) and (max-width: 900px) {
    .home-page .hero-badges {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        max-width: 100%;
    }
}

@media (max-width: 900px) {
    .nav-search {
        position: static;
    }

    .nav-search-trigger {
        width: 38px;
        height: 38px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border: 1px solid rgba(74, 4, 4, 0.12);
        border-radius: 50%;
        background: #fffaf3;
        color: #312a24;
        cursor: pointer;
    }

    .nav-search-trigger svg {
        width: 18px;
        height: 18px;
    }

    .nav-search-form {
        position: fixed;
        top: 74px;
        left: 12px;
        right: 12px;
        z-index: 1202;
        width: auto;
        height: 48px;
        display: none;
        grid-template-columns: 20px minmax(0, 1fr) auto;
        padding-left: 14px;
    }

    .nav-search.is-open .nav-search-form {
        display: grid;
    }

    .nav-search-panel {
        position: fixed;
        top: 132px;
        left: 12px;
        right: 12px;
        z-index: 1201;
        width: auto;
        max-height: calc(100vh - 148px);
        padding: 14px;
        border-radius: 12px;
    }

    .nav-search-grid {
        display: flex;
        gap: 14px;
        overflow-x: auto;
        padding-bottom: 2px;
        scroll-snap-type: x proximity;
    }

    .nav-search-product {
        flex: 0 0 92px;
        scroll-snap-align: start;
    }

    .nav-search-pills {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 2px;
    }
}

@media (max-width: 480px) {
    .nav-search-trigger {
        width: 36px;
        height: 36px;
    }

    .nav-search-form button {
        padding: 0 10px;
        font-size: 0.7rem;
    }

    .nav-search-product {
        flex-basis: 86px;
    }
}

/* Global compact banner sizing: keeps uploaded images light on layout and reduces first-screen scroll. */
body:not(.home-page) .hero {
    min-height: 420px;
    padding-top: 72px;
    padding-bottom: 42px;
}

body:not(.home-page) .hero .hero-content {
    max-width: min(680px, 100%);
}

body:not(.home-page) .hero-content h1 {
    font-size: calc(clamp(2.55rem, 5vw, 4.9rem) * var(--heading-scale));
}

.page-hero {
    min-height: 320px !important;
    padding: 70px 5% 46px !important;
    border-radius: 0 0 18px 18px;
}

.page-hero h1 {
    font-size: calc(clamp(2.2rem, 4.2vw, 3.8rem) * var(--heading-scale));
    line-height: 1;
}

.page-hero .hero-copy {
    margin-bottom: 18px;
}

.cta-banner,
.whatsapp-cta {
    padding: 30px 28px;
    border-radius: 14px;
}

.about-img {
    height: 220px !important;
}

@media (max-width: 768px) {
    body:not(.home-page) .hero {
        min-height: 330px !important;
        padding-top: 54px !important;
        padding-bottom: 32px !important;
    }

    body:not(.home-page) .hero-content h1 {
        font-size: calc(clamp(2.25rem, 10vw, 3.6rem) * var(--heading-scale));
    }

    .page-hero {
        min-height: 220px !important;
        padding: 48px 5% 32px !important;
    }

    .page-hero h1 {
        font-size: calc(clamp(2rem, 9vw, 3rem) * var(--heading-scale));
    }

    .cta-banner,
    .whatsapp-cta {
        padding: 24px 20px !important;
    }

    .about-img {
        height: 180px !important;
    }
}

/* Final homepage discovery overrides. */
.home-category-strip-section .category-grid { display: flex; grid-template-columns: none; overflow-x: auto; }
.home-category-strip-section .category-card { flex: 0 0 104px; min-width: 104px; }
.home-occasion-section .occasion-grid { display: flex; grid-template-columns: none; overflow-x: auto; }
.home-occasion-section .occasion-card { flex: 0 0 clamp(230px, 22vw, 320px); min-width: 230px; }

@media (max-width: 768px) {
    .home-category-strip-section .category-grid { display: flex; grid-template-columns: none; overflow-x: auto; }
    .home-category-strip-section .category-card { flex: 0 0 72px; min-width: 72px; }
    .home-occasion-section .occasion-grid { display: flex !important; grid-template-columns: none !important; overflow-x: auto !important; gap: 12px; padding: 2px 0 8px; scroll-snap-type: x mandatory; }
    .home-occasion-section .occasion-card { flex: 0 0 calc(50% - 6px) !important; min-width: calc(50% - 6px) !important; min-height: 184px !important; scroll-snap-align: start; }
    .home-occasion-section .carousel-nav { display: grid; width: 30px; height: 30px; border-color: rgba(255,255,255,.5); background: rgba(74, 4, 4, .28); box-shadow: none; color: #fff; font-size: 24px; opacity: .76; }
    .home-occasion-section .carousel-nav-prev { left: -7px; }
    .home-occasion-section .carousel-nav-next { right: -7px; }
}

@media (max-width: 380px) {
    .home-occasion-section .occasion-card { flex-basis: 74% !important; min-width: 74% !important; }
}

/* Keep the Explore Gifts rail full width; legacy category-grid rules are for other pages. */
.home-category-strip-section .category-grid {
    width: 100%;
    max-width: none !important;
    margin: 0 !important;
    justify-content: flex-start !important;
    padding-left: 52px;
    padding-right: 52px;
    scroll-padding-inline: 52px;
}

.home-category-strip-section .carousel-nav-prev { left: 6px; }
.home-category-strip-section .carousel-nav-next { right: 6px; }

@media (max-width: 768px) {
    .home-category-strip-section .category-grid {
        padding-left: 34px;
        padding-right: 34px;
        scroll-padding-inline: 34px;
    }

    .home-category-strip-section .carousel-nav-prev { left: 1px; }
    .home-category-strip-section .carousel-nav-next { right: 1px; }
}

/* Keep mobile occasions in the premium two-card carousel after all legacy rules. */
@media (max-width: 768px) {
    .home-occasion-section .occasion-grid { display: flex !important; grid-template-columns: none !important; overflow-x: auto !important; gap: 12px; padding: 2px 0 8px; scroll-snap-type: x mandatory; }
    .home-occasion-section .occasion-card { flex: 0 0 calc(50% - 6px) !important; min-width: calc(50% - 6px) !important; min-height: 184px !important; scroll-snap-align: start; }
    .home-occasion-section .carousel-nav { display: grid; width: 30px; height: 30px; border-color: rgba(255,255,255,.5); background: rgba(74, 4, 4, .28); box-shadow: none; color: #fff; font-size: 24px; opacity: .76; }
    .home-occasion-section .carousel-nav-prev { left: -7px; }
    .home-occasion-section .carousel-nav-next { right: -7px; }
}

@media (max-width: 380px) {
    .home-occasion-section .occasion-card { flex-basis: 74% !important; min-width: 74% !important; }
}

/* Compact premium spacing and invisible touch scrolling for homepage discovery. */
.home-category-strip-section { padding-top: 36px; padding-bottom: 26px; }
.home-occasion-section { padding-top: 34px; padding-bottom: 42px; }
.home-discovery-heading { margin: 0; color: #4a0404; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.55rem, 2.3vw, 2.15rem); }
.home-category-strip-section .category-grid,
.home-occasion-section .occasion-grid { -ms-overflow-style: none; scrollbar-width: none; }
.home-category-strip-section .category-grid::-webkit-scrollbar,
.home-occasion-section .occasion-grid::-webkit-scrollbar { display: none; }
.home-online-icon { width: var(--home-icon-size, 54px); height: var(--home-icon-size, 54px); }
.home-occasion-section .occasion-card { min-height: var(--home-occasion-card-height, 200px); }

@media (max-width: 768px) {
    .home-category-strip-section { padding-top: 28px; padding-bottom: 22px; }
    .home-occasion-section { padding-top: 26px; padding-bottom: 30px; }
    .home-discovery-heading { font-size: 1.45rem; }
    .home-occasion-section .occasion-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
    .home-occasion-section .occasion-card { min-height: 142px; padding: 10px; border-radius: 9px; }
    .home-occasion-section .occasion-card::before { background: linear-gradient(180deg, rgba(255,255,255,.04) 20%, rgba(38,12,12,.7) 100%); }
    .occasion-card-copy h3 { font-size: .86rem; }
    .occasion-card-copy span { display: none; }
}

/* Carousel controls replace visible browser scrollbars. */
.home-carousel { position: relative; margin-top: 14px; }
.home-carousel .category-grid,
.home-carousel .occasion-grid { margin-top: 0; scroll-behavior: smooth; }
.home-carousel .category-grid::-webkit-scrollbar,
.home-carousel .occasion-grid::-webkit-scrollbar { width: 0 !important; height: 0 !important; display: none !important; background: transparent !important; }
.home-carousel .category-grid,
.home-carousel .occasion-grid { scrollbar-width: none !important; -ms-overflow-style: none !important; }

.carousel-nav {
    position: absolute;
    top: 50%;
    z-index: 3;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    padding: 0;
    border: 1px solid #eadfca;
    border-radius: 50%;
    background: #fffaf3;
    box-shadow: 0 8px 22px rgba(74, 4, 4, .16);
    color: #4a0404;
    font-family: Arial, sans-serif;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
}

.carousel-nav:hover { background: #4a0404; color: #fff; }
.carousel-nav-prev { left: -18px; }
.carousel-nav-next { right: -18px; }

.home-occasion-section .occasion-card { background-size: cover !important; background-position: center !important; background-repeat: no-repeat; }

@media (max-width: 768px) {
    .carousel-nav { display: none; }
    .home-carousel { margin-top: 12px; }
}

@media (max-width: 768px) {
    .home-category-strip-section .carousel-nav {
        display: grid;
        width: 30px;
        height: 30px;
        border-color: rgba(255,255,255,.5);
        background: rgba(74, 4, 4, .28);
        box-shadow: none;
        color: #fff;
        font-size: 24px;
        opacity: .76;
    }
    .home-category-strip-section .carousel-nav-prev { left: -7px; }
    .home-category-strip-section .carousel-nav-next { right: -7px; }
}

/* Mobile occasion cards need room for the artwork and title: use a two-card carousel. */
@media (max-width: 768px) {
    .home-occasion-section .occasion-grid {
        display: flex !important;
        grid-template-columns: none !important;
        gap: 12px;
        overflow-x: auto !important;
        padding: 2px 0 8px;
        scroll-snap-type: x mandatory;
    }
    .home-occasion-section .occasion-card {
        flex: 0 0 calc(50% - 6px) !important;
        min-width: calc(50% - 6px) !important;
        min-height: 184px !important;
        scroll-snap-align: start;
    }
    .home-occasion-section .carousel-nav {
        display: grid;
        width: 30px;
        height: 30px;
        border-color: rgba(255,255,255,.5);
        background: rgba(74, 4, 4, .28);
        box-shadow: none;
        color: #fff;
        font-size: 24px;
        opacity: .76;
    }
    .home-occasion-section .carousel-nav-prev { left: -7px; }
    .home-occasion-section .carousel-nav-next { right: -7px; }
}

@media (max-width: 380px) {
    .home-occasion-section .occasion-card { flex-basis: 74%; min-width: 74%; }
}

/* FNP-style homepage discovery: scrollable icon rail and image-led occasion cards. */
.home-category-strip-section .category-grid {
    display: flex;
    gap: 12px;
    margin-top: 14px;
    padding: 8px 2px 12px;
    overflow-x: auto;
    scrollbar-width: thin;
}

.home-category-strip-section .category-card {
    flex: 0 0 104px;
    min-width: 104px;
}

.home-occasion-section .occasion-grid {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    padding: 4px 1px 14px;
    scrollbar-width: thin;
}

.home-occasion-section .occasion-card {
    flex: 0 0 clamp(230px, 22vw, 320px);
    min-width: 230px;
}

@media (max-width: 768px) {
    .home-category-strip-section .category-grid {
        gap: 14px;
        padding-left: 0;
        overflow-x: auto;
    }

    .home-category-strip-section .category-card {
        flex-basis: 72px;
        min-width: 72px;
    }

    .home-occasion-section .occasion-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
        overflow: visible;
        padding-bottom: 0;
    }

    .home-occasion-section .occasion-card {
        min-width: 0;
        min-height: 172px;
        padding: 11px;
    }

    .occasion-online-icon { top: 9px; left: 9px; width: 28px; height: 28px; padding: 5px; }
    .occasion-card-copy h3 { font-size: .91rem; line-height: 1.1; }
    .occasion-card-copy span { font-size: .68rem; line-height: 1.2; }
}

/* Homepage discovery layout: online line icons with visual occasion cards. */
.home-category-strip-section .category-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
}

.home-category-strip-section .category-card {
    display: grid;
    grid-template-columns: 1fr !important;
    justify-items: center;
    gap: 8px;
    min-height: 0;
    padding: 12px 8px !important;
    border: 0;
    background: transparent;
    box-shadow: none;
    text-align: center;
}

.home-online-icon {
    width: 54px;
    height: 54px;
    padding: 10px;
    border-radius: 50%;
    background: #fff8e9;
    box-shadow: 0 8px 20px rgba(74, 4, 4, .1);
}

.home-category-strip-section .category-card h3 {
    margin: 0;
    color: #2b1d18;
    font-size: .88rem;
    line-height: 1.25;
}

.home-occasion-section .occasion-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-top: 22px;
}

.home-occasion-section .occasion-card {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 220px;
    overflow: hidden;
    padding: 18px;
    border: 0;
    border-radius: 18px;
    background-color: #f5dfbc;
    background-position: center;
    background-size: cover;
    box-shadow: 0 12px 28px rgba(74, 4, 4, .12);
}

.home-occasion-section .occasion-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,.05) 30%, rgba(38,12,12,.75) 100%);
}

.occasion-card-copy,
.occasion-online-icon { position: relative; z-index: 1; }
.occasion-card-copy h3 { margin: 0 0 4px; color: #fff; font-size: 1.28rem; }
.occasion-card-copy span { color: rgba(255,255,255,.92); font-size: .88rem; }
.occasion-online-icon { position: absolute; top: 14px; left: 14px; width: 34px; height: 34px; padding: 6px; border-radius: 50%; background: #fffaf3; }

@media (max-width: 768px) {
    .home-category-strip-section .category-grid { grid-template-columns: repeat(5, minmax(64px, 1fr)); gap: 8px; overflow-x: auto; padding-bottom: 4px; }
    .home-category-strip-section .category-card { min-width: 64px; padding: 8px 3px !important; }
    .home-online-icon { width: 46px; height: 46px; padding: 8px; }
    .home-category-strip-section .category-card h3 { font-size: .7rem; }
    .home-occasion-section .occasion-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .home-occasion-section .occasion-card { min-height: 168px; padding: 13px; border-radius: 10px; }
    .occasion-card-copy h3 { font-size: 1rem; }
    .occasion-card-copy span { font-size: .75rem; }
}

@media (max-width: 480px) {
    body:not(.home-page) .hero {
        min-height: 300px !important;
    }

    .page-hero {
        min-height: 190px !important;
        padding: 40px 5% 28px !important;
    }
}

.shop-page .page-hero {
    min-height: 280px !important;
    padding-top: 40px !important;
    padding-bottom: 28px !important;
}

.shop-page .page-hero .section-kicker {
    margin-bottom: 10px;
}

.shop-page .page-hero h1 {
    font-size: calc(clamp(2rem, 3.5vw, 3.15rem) * var(--heading-scale));
    margin-bottom: 10px;
}

.shop-page .page-hero .hero-copy {
    max-width: 620px;
    margin-bottom: 14px;
    line-height: 1.45;
}

.shop-page .page-hero .shop-btn,
.shop-page .page-hero .browse-btn {
    padding: 11px 22px;
}

@media (max-width: 768px) {
    body:not(.home-page) .hero {
        min-height: 310px !important;
    }

    body:not(.home-page) .hero-content > p:first-child {
        margin-bottom: 12px;
    }

    body:not(.home-page) .hero-copy {
        margin-bottom: 18px;
        line-height: 1.45;
    }
}

/* Homepage discovery final responsive rules. */
.home-category-strip-section .category-grid { display: flex; grid-template-columns: none; overflow-x: auto; }
.home-category-strip-section .category-card { flex: 0 0 104px; min-width: 104px; }
.home-occasion-section .occasion-grid { display: flex; grid-template-columns: none; overflow-x: auto; }
.home-occasion-section .occasion-card { flex: 0 0 clamp(230px, 22vw, 320px); min-width: 230px; }

@media (max-width: 768px) {
    .home-category-strip-section .category-grid { display: flex; grid-template-columns: none; overflow-x: auto; }
    .home-category-strip-section .category-card { flex: 0 0 72px; min-width: 72px; }
    .home-occasion-section .occasion-grid { display: flex !important; grid-template-columns: none !important; overflow-x: auto !important; gap: 12px; padding: 2px 0 8px; scroll-snap-type: x mandatory; }
    .home-occasion-section .occasion-card { flex: 0 0 calc(50% - 6px) !important; min-width: calc(50% - 6px) !important; min-height: 184px !important; scroll-snap-align: start; }
    .home-occasion-section .carousel-nav { display: grid; width: 30px; height: 30px; border-color: rgba(255,255,255,.5); background: rgba(74, 4, 4, .28); box-shadow: none; color: #fff; font-size: 24px; opacity: .76; }
    .home-occasion-section .carousel-nav-prev { left: -7px; }
    .home-occasion-section .carousel-nav-next { right: -7px; }
}

@media (max-width: 380px) {
    .home-occasion-section .occasion-card { flex-basis: 74% !important; min-width: 74% !important; }
}
