/* ════════════════════════════════════════════════════════════
   HOME PAGE — Munchies  |  warm dessert · premium feel
   ════════════════════════════════════════════════════════════ */

/* ── Scope vars ─────────────────────────────────────────── */
.home-page {
    --hr:   18px;
    --hs:   0 6px 24px rgba(45,24,8,.08);
    --hs-h: 0 22px 52px rgba(45,24,8,.16);
    --caramel:    #c96f3a;
    --caramel-dk: #8b4210;
    --caramel-lt: #fdf0e3;
    --cream:  #fff8f0;
    --choc:   #2d1808;
    --ease: cubic-bezier(.25,.8,.25,1);
}

/* ── Section anatomy ────────────────────────────────────── */
.home-section { padding: 3.5rem 0; }

.home-section-title {
    font-size: clamp(1.3rem, 3vw, 1.75rem);
    font-weight: 800;
    color: #2d1808;
    letter-spacing: -.03em;
    line-height: 1.15;
    display: inline-block;
    position: relative;
}

.home-section-title::after {
    content: "";
    display: block;
    width: 42px;
    height: 3px;
    background: linear-gradient(90deg, #c96f3a, #f5c97b);
    border-radius: 4px;
    margin-top: 8px;
}

.home-section-sub {
    color: #9a6040;
    font-size: .93rem;
    margin-top: .5rem;
    margin-bottom: 0;
}

/* ── Local delivery strip ───────────────────────────────── */
.home-local-strip {
    background: var(--cream);
    border-bottom: 1px solid rgba(201, 111, 58, .15);
    padding: .85rem 0;
}

.home-local-strip-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: .5rem 1rem;
    font-size: .9rem;
    color: var(--choc);
    text-align: center;
}

.home-local-strip-inner i {
    color: var(--caramel);
}

.home-local-strip-inner a {
    color: var(--caramel-dk);
    font-weight: 700;
    text-decoration: none;
}

.home-local-strip-inner a:hover {
    text-decoration: underline;
}

/* ── FAQ section (featured snippet opportunity) ─────────── */
.home-faq-list {
    max-width: 920px;
    margin: 0 auto;
    display: grid;
    gap: .85rem;
}

.home-faq-item {
    border: 1px solid rgba(201,111,58,.22);
    border-radius: 12px;
    background: #fff;
    padding: .95rem 1rem;
    box-shadow: 0 3px 12px rgba(45,24,8,.06);
}

.home-faq-item summary {
    cursor: pointer;
    font-weight: 700;
    color: #2d1808;
    list-style: none;
    position: relative;
    padding-right: 1.4rem;
}

.home-faq-item summary::-webkit-details-marker {
    display: none;
}

.home-faq-item summary::after {
    content: "+";
    position: absolute;
    right: 0;
    top: 0;
    font-weight: 700;
    color: #c96f3a;
}

.home-faq-item[open] summary::after {
    content: "−";
}

.home-faq-item p {
    margin: .7rem 0 0;
    color: #5a3010;
    line-height: 1.65;
}

@media (max-width: 767.98px) {
    .home-welcome {
        min-height: 300px;
    }
}

/* ── Welcome hero ───────────────────────────────────────── */
.home-welcome {
    background: linear-gradient(135deg, #d87030 0%, #9b4a0f 48%, #5c2607 100%);
    color: #fff;
    padding: 5rem 0;
    min-height: 340px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

/* Light radial blobs */
.home-welcome::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 80% at 8% 95%, rgba(255,255,255,.07) 0%, transparent 58%),
        radial-gradient(ellipse 55% 55% at 92% 8%,  rgba(255,220,160,.13) 0%, transparent 52%),
        radial-gradient(ellipse 90% 45% at 50% 0%,  rgba(255,255,255,.04) 0%, transparent 60%);
    pointer-events: none;
}

/* Decorative ring */
.home-welcome::after {
    content: "";
    position: absolute;
    width: 540px; height: 540px;
    border-radius: 50%;
    border: 1.5px solid rgba(255,255,255,.07);
    right: -180px; bottom: -270px;
    pointer-events: none;
}

.home-welcome-inner {
    position: relative;
    z-index: 1;
    max-width: 640px;
    margin: 0 auto;
    padding: 0 1rem;
}

.home-welcome-kicker {
    font-size: .72rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    opacity: .82;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    margin-bottom: .9rem;
}

.home-welcome-kicker::before,
.home-welcome-kicker::after {
    content: "";
    display: inline-block;
    width: 30px; height: 1px;
    background: rgba(255,255,255,.5);
}

.home-welcome-title {
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -.04em;
    margin-bottom: 1rem;
}

.home-welcome-lead {
    font-size: 1.07rem;
    opacity: .88;
    line-height: 1.65;
    max-width: 500px;
    margin: 0 auto 2rem;
}

.btn-home-cta {
    display: inline-flex !important;
    align-items: center;
    gap: .6rem;
    padding: .9rem 2.2rem !important;
    font-weight: 700;
    border-radius: 999px !important;
    background: #fff !important;
    color: #7a2e05 !important;
    border: none !important;
    box-shadow: 0 6px 28px rgba(0,0,0,.22) !important;
    transition: transform .22s ease, box-shadow .22s ease, background .2s ease !important;
    font-size: .97rem !important;
    letter-spacing: .01em;
    text-decoration: none;
}

.btn-home-cta:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 14px 38px rgba(0,0,0,.26) !important;
    background: #fff8f0 !important;
    color: #5c1e00 !important;
}

.btn-home-cta i { transition: transform .22s ease; }
.btn-home-cta:hover i { transform: translateX(5px); }

/* ── Category cards ─────────────────────────────────────── */
.featured-category-item,
.home-page .featured-category-item {
    border-radius: 18px !important;
    overflow: hidden;
    box-shadow: 0 6px 22px rgba(45,24,8,.09);
    transition: box-shadow .32s ease, transform .32s ease;
    display: block;
    text-decoration: none;
}

.featured-category-item:hover {
    box-shadow: 0 18px 46px rgba(45,24,8,.17) !important;
    transform: translateY(-5px);
}

/* Ken Burns effect on image */
.featured-category-img {
    transition: transform .5s cubic-bezier(.25,.8,.25,1) !important;
    will-change: transform;
}

.featured-category-item:hover .featured-category-img {
    transform: scale(1.09) !important;
}

/* Gradient overlay on category card */
.featured-category-content {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(0deg, rgba(50,15,2,.82) 0%, rgba(110,48,10,.22) 100%) !important;
    padding: .8rem 1rem !important;
    transition: background .3s ease;
}

.featured-category-item:hover .featured-category-content {
    background: linear-gradient(0deg, rgba(50,15,2,.9) 0%, rgba(145,62,12,.35) 100%) !important;
}

/* ── Browse Categories slider ───────────────────────────── */
.browse-categories-slider-wrap {
    position: relative;
}

.browse-categories-slider .browse-category-slide {
    padding: 0 2px;
}

.browse-categories-slider.owl-carousel .owl-stage-outer {
    overflow: hidden;
}

.browse-categories-slider.owl-carousel .owl-nav button.owl-prev,
.browse-categories-slider.owl-carousel .owl-nav button.owl-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50% !important;
    background: #fff !important;
    color: #c96f3a !important;
    box-shadow: 0 4px 14px rgba(45,24,8,.12);
    font-size: .85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: .95;
    transition: background .2s ease, color .2s ease, box-shadow .2s ease;
}

.browse-categories-slider.owl-carousel .owl-nav button.owl-prev:hover,
.browse-categories-slider.owl-carousel .owl-nav button.owl-next:hover {
    background: #c96f3a !important;
    color: #fff !important;
    box-shadow: 0 6px 18px rgba(201,111,58,.35);
}

.browse-categories-slider.owl-carousel .owl-nav button.owl-prev {
    left: -6px;
}

.browse-categories-slider.owl-carousel .owl-nav button.owl-next {
    right: -6px;
}

@media (max-width: 575.98px) {
    .browse-categories-slider.owl-carousel .owl-nav button.owl-prev {
        left: 0;
    }
    .browse-categories-slider.owl-carousel .owl-nav button.owl-next {
        right: 0;
    }
}

/* ── Store feature strip ────────────────────────────────── */
.store-feature {
    padding: 1.25rem 1.4rem;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 4px 20px rgba(45,24,8,.06);
    height: 100%;
    transition: box-shadow .28s ease, transform .28s ease;
    border: 1px solid rgba(201,111,58,.08);
}

.store-feature:hover {
    box-shadow: 0 14px 38px rgba(45,24,8,.12);
    transform: translateY(-3px);
}

.store-feature-icon {
    width: 52px; height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, rgba(201,111,58,.18), rgba(201,111,58,.06));
    color: #c96f3a;
    font-size: 1.3rem;
    flex-shrink: 0;
}

/* Horizontal scroll on mobile for features */
@media (max-width: 767.98px) {
    .home-features-scroll {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        margin: 0 -12px;
        padding: 0 12px 4px;
    }
    .home-features-scroll::-webkit-scrollbar { display: none; }
    .home-features-scroll .row {
        flex-wrap: nowrap;
        gap: 0;
    }
    .home-features-scroll .col-md-6,
    .home-features-scroll .col-lg-3 {
        min-width: 200px;
        width: 200px;
        flex-shrink: 0;
    }
}

/* ── Product tiles (New Arrivals) ───────────────────────── */
.product-tile-link {
    display: flex;
    flex-direction: column;
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    box-shadow: var(--hs, 0 6px 24px rgba(45,24,8,.08));
    transition: transform .3s var(--ease), box-shadow .3s ease;
    height: 100%;
    border: 1px solid rgba(201,111,58,.07);
    text-decoration: none;
    color: inherit;
}

.product-tile-link:hover {
    transform: translateY(-7px);
    box-shadow: var(--hs-h, 0 22px 52px rgba(45,24,8,.16));
    border-color: rgba(201,111,58,.17);
    color: inherit;
    text-decoration: none;
}

.product-tile-img-wrap {
    overflow: hidden;
    background: #fdf0e3;
    position: relative;
    flex-shrink: 0;
}

.product-tile-img-wrap img {
    width: 100%;
    display: block;
    transition: transform .44s cubic-bezier(.25,.8,.25,1);
}

.product-tile-link:hover .product-tile-img-wrap img {
    transform: scale(1.08);
}

/* Quick-view overlay */
.product-tile-overlay {
    position: absolute;
    inset: 0;
    background: rgba(45,24,8,.15);
    display: flex;
    align-items: flex-end;
    padding: .6rem;
    opacity: 0;
    transition: opacity .28s ease;
}

.product-tile-link:hover .product-tile-overlay {
    opacity: 1;
}

.product-tile-overlay-btn {
    width: 100%;
    padding: .48rem;
    background: rgba(255,255,255,.96);
    color: #5c2000;
    border: none;
    border-radius: 10px;
    font-size: .74rem;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    display: block;
    text-decoration: none;
    transition: background .2s ease, color .2s ease;
}

.product-tile-overlay-btn:hover {
    background: #fff;
    color: #c96f3a;
}

/* "New" badge */
.product-tile-new-badge {
    position: absolute;
    top: 10px; left: 10px;
    background: linear-gradient(135deg, #c96f3a, #f5a23a);
    color: #fff;
    font-size: .62rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 999px;
    pointer-events: none;
    box-shadow: 0 2px 8px rgba(201,111,58,.35);
    z-index: 1;
}

/* "Featured" badge */
.product-tile-featured-badge {
    position: absolute;
    top: 10px; left: 10px;
    background: linear-gradient(135deg, #5c2000, #8b4513);
    color: #fff;
    font-size: .62rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 999px;
    pointer-events: none;
    box-shadow: 0 2px 8px rgba(92,32,0,.35);
    z-index: 1;
}

.product-tile-price-label {
    color: #c96f3a;
    font-weight: 800;
}

/* ── Deal section background ────────────────────────────── */
.featured-section-wrap { background: #fdf0e3; }

/* Deal countdown boxes */
.dotd-countdown-box {
    height: 64px; width: 64px;
    background: #fff;
    color: #c96f3a;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.75em;
    font-weight: 800;
    border-radius: 14px;
    box-shadow: 0 4px 14px rgba(201,111,58,.14);
    border: 1.5px solid rgba(201,111,58,.14);
}

/* ── Banner cards (TopCategories) ───────────────────────── */
.home-banner-card {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(45,24,8,.09);
    transition: transform .28s ease, box-shadow .28s ease;
}

.home-banner-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 38px rgba(45,24,8,.13);
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 767.98px) {
    .home-welcome          { padding: 3rem 0; }
    .home-welcome-title    { font-size: 2.1rem; }
    .home-welcome-lead     { font-size: .97rem; }
    .home-section          { padding: 2.5rem 0; }
}

@media (max-width: 575.98px) {
    .home-welcome-title { font-size: 1.85rem; }
    .dotd-countdown-box { height: 52px; width: 52px; font-size: 1.4em; }
}

/* ════════════════════════════════════════════════════════════
   LANDING PAGE — Stats · Testimonials · Newsletter
   ════════════════════════════════════════════════════════════ */

/* ── Ghost CTA (hero secondary action) ─────────────────── */
.btn-home-cta-ghost {
    display: inline-flex !important;
    align-items: center;
    gap: .6rem;
    padding: .9rem 2rem !important;
    font-weight: 700;
    border-radius: 999px !important;
    background: transparent !important;
    color: #fff !important;
    border: 1.5px solid rgba(255,255,255,.55) !important;
    transition: background .22s ease, border-color .22s ease !important;
    font-size: .97rem !important;
    text-decoration: none;
}

.btn-home-cta-ghost:hover {
    background: rgba(255,255,255,.12) !important;
    border-color: rgba(255,255,255,.85) !important;
    color: #fff !important;
}

/* ── Stats / trust bar ──────────────────────────────────── */
.home-stats-bar {
    background: #fff;
    border-top:    1px solid rgba(201,111,58,.1);
    border-bottom: 1px solid rgba(201,111,58,.1);
    padding: 1.6rem 0;
}

.home-stats-inner {
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 0;
}

.home-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: .65rem 1.5rem;
}

.home-stat-num {
    font-size: clamp(1.5rem, 3.2vw, 2.1rem);
    font-weight: 900;
    color: #c96f3a;
    line-height: 1;
    letter-spacing: -.03em;
}

.home-stat-plus {
    font-size: .55em;
    vertical-align: super;
    margin-left: 1px;
    font-weight: 900;
}

.home-stat-star {
    font-size: .52em;
    vertical-align: super;
    margin-left: 2px;
    color: #f5a23a;
}

.home-stat-lbl {
    font-size: .78rem;
    color: #8a6040;
    font-weight: 600;
    margin-top: .35rem;
    white-space: nowrap;
    letter-spacing: .01em;
}

.home-stat-divider {
    width: 1px;
    height: 44px;
    background: rgba(201,111,58,.18);
    flex-shrink: 0;
}

/* ── Testimonials ───────────────────────────────────────── */
.home-testimonials {
    padding: 4rem 0;
    background: #fff8f0;
}

.home-testimonial-card {
    background: #fff;
    border-radius: 20px;
    padding: 1.75rem;
    box-shadow: 0 4px 22px rgba(45,24,8,.07);
    border: 1px solid rgba(201,111,58,.09);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform .3s cubic-bezier(.25,.8,.25,1),
                box-shadow .3s ease;
}

.home-testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 44px rgba(45,24,8,.13);
}

.home-testimonial-stars {
    color: #f5a23a;
    font-size: 1.05rem;
    margin-bottom: .85rem;
    letter-spacing: .1em;
}

.home-testimonial-text {
    color: #5a3010;
    font-size: .95rem;
    line-height: 1.75;
    flex: 1;
    font-style: italic;
    margin-bottom: 1.4rem;
}

.home-testimonial-author {
    display: flex;
    align-items: center;
    gap: .8rem;
}

.home-testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #c96f3a 0%, #f5a23a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 800;
    font-size: 1.05rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(201,111,58,.3);
}

.home-testimonial-name {
    font-weight: 700;
    color: #2d1808;
    font-size: .9rem;
    display: block;
    line-height: 1.3;
}

.home-testimonial-meta {
    color: #9a6040;
    font-size: .76rem;
    display: block;
    margin-top: 2px;
}

.home-testimonials-cta {
    display: inline-flex;
    align-items: center;
    padding: .7rem 2.2rem;
    border: 2px solid #c96f3a;
    border-radius: 999px;
    color: #c96f3a;
    font-weight: 700;
    font-size: .92rem;
    text-decoration: none;
    transition: background .22s ease, color .22s ease, transform .22s ease;
}

.home-testimonials-cta:hover {
    background: #c96f3a;
    color: #fff;
    transform: translateY(-2px);
    text-decoration: none;
}

/* ── Newsletter / CTA ───────────────────────────────────── */
.home-newsletter {
    background: linear-gradient(135deg, #d87030 0%, #9b4a0f 50%, #5c2607 100%);
    position: relative;
    overflow: hidden;
    padding: 5.5rem 1rem;
    text-align: center;
    color: #fff;
}

.home-newsletter::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 90% at 5% 100%, rgba(255,255,255,.06) 0%, transparent 55%),
        radial-gradient(ellipse 60% 60% at 95%  5%, rgba(255,220,160,.09) 0%, transparent 50%),
        radial-gradient(ellipse 50% 40% at 50%  0%, rgba(255,255,255,.04) 0%, transparent 60%);
    pointer-events: none;
}

.home-newsletter::after {
    content: "";
    position: absolute;
    width: 500px; height: 500px;
    border-radius: 50%;
    border: 1.5px solid rgba(255,255,255,.06);
    right: -200px; bottom: -250px;
    pointer-events: none;
}

.home-newsletter-inner {
    position: relative;
    z-index: 1;
    max-width: 560px;
    margin: 0 auto;
}

.home-newsletter-kicker {
    display: inline-block;
    font-size: .7rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    opacity: .8;
    font-weight: 700;
    margin-bottom: .9rem;
}

.home-newsletter-title {
    font-size: clamp(1.65rem, 4vw, 2.5rem);
    font-weight: 900;
    letter-spacing: -.03em;
    line-height: 1.1;
    margin-bottom: .85rem;
}

.home-newsletter-sub {
    font-size: .97rem;
    opacity: .87;
    line-height: 1.65;
    max-width: 460px;
    margin: 0 auto 2rem;
}

.home-newsletter-form {
    display: flex;
    gap: .5rem;
    max-width: 430px;
    margin: 0 auto;
}

.home-newsletter-input {
    flex: 1;
    padding: .9rem 1.3rem;
    border: 1.5px solid rgba(255,255,255,.3);
    border-radius: 999px;
    background: rgba(255,255,255,.14);
    color: #fff;
    font-size: .95rem;
    font-family: inherit;
    outline: none;
    transition: border-color .22s ease, background .22s ease;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.home-newsletter-input::placeholder { color: rgba(255,255,255,.62); }

.home-newsletter-input:focus {
    border-color: rgba(255,255,255,.65);
    background: rgba(255,255,255,.2);
}

.home-newsletter-btn {
    padding: .9rem 1.75rem;
    border-radius: 999px;
    background: #fff;
    color: #7a2e05;
    font-weight: 700;
    font-size: .93rem;
    font-family: inherit;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background .2s ease, color .2s ease,
                transform .2s ease, box-shadow .2s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,.2);
}

.home-newsletter-btn:hover {
    background: #fff8f0;
    color: #5c1e00;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0,0,0,.25);
}

.home-newsletter-note {
    font-size: .74rem;
    opacity: .62;
    margin-top: 1.1rem;
    margin-bottom: 0;
}

.home-newsletter-success {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    background: rgba(255,255,255,.18);
    border: 1.5px solid rgba(255,255,255,.38);
    border-radius: 999px;
    padding: .9rem 1.8rem;
    font-size: .97rem;
    font-weight: 600;
    backdrop-filter: blur(8px);
}

/* ── Responsive for new sections ────────────────────────── */
@media (max-width: 767.98px) {
    .home-stat-divider  { display: none; }
    .home-stats-inner   { justify-content: center; }
    .home-stat-item     { flex: 0 0 50%; padding: .8rem .75rem; }
    .home-stat-item:nth-child(1),
    .home-stat-item:nth-child(3) { border-right: 1px solid rgba(201,111,58,.12); }
    .home-stat-item:nth-child(1),
    .home-stat-item:nth-child(2) { border-bottom: 1px solid rgba(201,111,58,.12); }

    .home-newsletter    { padding: 4rem 1rem; }
    .home-testimonials  { padding: 3rem 0; }

    .home-newsletter-form {
        flex-direction: column;
        max-width: 360px;
    }
    .home-newsletter-input,
    .home-newsletter-btn { width: 100%; }
}

@media (max-width: 575.98px) {
    .home-stat-num { font-size: 1.45rem; }
    .btn-home-cta-ghost { padding: .8rem 1.6rem !important; font-size: .9rem !important; }
}
