/* =============================================================
   Q & H Enterprises — Single source of truth for brand colors.
   Premium palette: deep emerald + refined gold + clean neutrals.
   Loaded AFTER bootstrap.min.css + style.css so these win.
   ============================================================= */

:root {
    /* Brand tokens */
    --brand-dark:       #1f3327;   /* deep emerald — headings, dark surfaces */
    --brand-green:      #2b4a39;   /* primary emerald */
    --brand-gold:       #bf952f;   /* refined accent gold (replaces muddy #b86e00) */
    --brand-gold-soft:  #e9d8a6;   /* soft gold for tints/borders */
    --brand-cream:      #faf7f0;   /* warm neutral background band */
    --brand-ink:        #2b2b2b;   /* default dark text */

    /* Re-skin Bootstrap globally (style.css uses these everywhere) */
    --bs-primary:       #2b4a39;
    --bs-primary-rgb:   43, 74, 57;
    --bs-secondary:     #bf952f;
    --bs-secondary-rgb: 191, 149, 47;
}

/* ---- Topbar: subtle warm band instead of clashing pink ---- */
.custom-topbar {
    background-color: var(--brand-cream) !important;
    border-bottom: 1px solid rgba(191, 149, 47, .25);
}

/* ---- Navbar ---- */
.custom-navbar {
    background-color: #ffffff !important;
    border-bottom: 1px solid rgba(31, 51, 39, .08);
}

.custom-navbar .navbar-nav .nav-link,
.custom-text-color {
    color: var(--brand-ink) !important;
    font-weight: 600;
    transition: color .2s ease;
}

.custom-navbar .navbar-nav .nav-link:hover,
.custom-navbar .navbar-nav .nav-link.active,
.custom-text-color:hover {
    color: var(--brand-gold) !important;
}

.custom-icon-color {
    color: var(--brand-green) !important;
}

/* ---- Dropdowns: clean WHITE panel + dark emerald text.
        High-specificity selectors below intentionally beat the leftover
        desktop rule `.navbar .nav-item:hover .dropdown-menu` in style.css
        (which forced a light bg) and the old pink item-hover (#f8e4eb),
        so dropdown text is never invisible regardless of hover/click. ---- */
.custom-dropdown-bg,
.navbar .nav-item:hover .dropdown-menu.custom-dropdown-bg,
.navbar .nav-item .dropdown-menu.custom-dropdown-bg {
    background: #ffffff !important;
    border: 1px solid rgba(31, 51, 39, .12) !important;
    border-radius: 10px !important;
    box-shadow: 0 10px 28px rgba(31, 51, 39, .15) !important;
}

.custom-dropdown-bg .dropdown-item,
.custom-dropdown-bg .custom-text-color {
    color: #1f3327 !important;        /* dark emerald — clearly readable on white */
    font-weight: 600 !important;
    padding: .5rem 1.25rem;
}

.custom-dropdown-bg .dropdown-item:hover,
.custom-dropdown-bg .dropdown-item:focus,
.custom-dropdown-bg .custom-text-color:hover,
.dropdown .dropdown-menu.custom-dropdown-bg a:hover {
    background: rgba(191, 149, 47, .16) !important;   /* gold tint, replaces old pink */
    color: #1f3327 !important;
}

/* ---- Cart badge: gold instead of orange-red ---- */
.custom-badge-bg {
    background-color: var(--brand-gold) !important;
    color: #1f3327 !important;
    font-weight: 700;
}

/* ---- Brand wordmark ---- */
.navbar-brand .text-primary {
    color: var(--brand-green) !important;
    letter-spacing: .5px;
}

/* ---- Category filter pills: gold active state ---- */
.nav-pills .nav-link.active,
.nav-pills .active > .nav-link,
.tab-class .nav-pills a.active {
    background-color: var(--brand-green) !important;
}
.tab-class .nav-pills a.active .text-dark {
    color: #fff !important;
}

/* ---- Product card: the gold border wraps the WHOLE card (image + content),
        not just the lower text block. Works on home, shop, product detail and
        the related-products carousel via the shared .fruite-item class. ---- */
.fruite-item {
    transition: transform .25s ease, box-shadow .25s ease;
    background: #fff;
    border: 1px solid var(--bs-secondary) !important;   /* gold border around everything */
    border-radius: 12px !important;
    /* NOTE: no overflow:hidden here — combined with the hover transform it clipped
       the top border. The image is clipped by .fruite-img instead (below). */
}
.fruite-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(31, 51, 39, .12);
}
/* Round the image's top corners to sit inside the card border, and clip the
   zoom-on-hover here (not on the card) so the card border never gets shaved. */
.fruite-item .fruite-img {
    border-radius: 11px 11px 0 0;
    overflow: hidden;
}
/* The card itself now owns the border, so remove the old partial inner border
   that only wrapped the text area (border-top-0 / rounded-bottom on .p-4). */
.fruite-item .p-4 {
    border: 0 !important;
}

/* ---- UNIFIED product-card title + text (applies everywhere a product card
        is used: home "Our Products" grid, shop grid, and the related-products
        "You May Also Like" carousel). Same size, weight, alignment and a strict
        2-line clamp so every card is the SAME height across the whole project. ---- */
.fruite-item .p-4 {
    text-align: left;
}
.fruite-item h4 {
    font-weight: 600;            /* semibold — distinct but lets the price win */
    font-size: 1.05rem;
    line-height: 1.35;
    text-align: left;
    margin-bottom: .5rem;
    /* Clamp to 2 lines so every card is the same height */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.7em;           /* reserve 2 lines → cards & buttons align */
}
.fruite-item h4 a { color: inherit; }

/* =============================================================
   Floating WhatsApp button (site-wide, via footer include)
   ============================================================= */
.wa-fab {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .28);
    z-index: 9998;
    transition: transform .2s ease, box-shadow .2s ease;
    text-decoration: none;
}
.wa-fab:hover {
    transform: scale(1.08);
    color: #fff;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .35);
}
.wa-fab::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(37, 211, 102, .6);
    animation: wa-pulse 2.4s infinite;
}
@keyframes wa-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, .55); }
    70%  { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
@media (max-width: 575.98px) {
    .wa-fab { right: 16px; bottom: 16px; width: 52px; height: 52px; font-size: 26px; }
}

/* Stack the "back to top" button ABOVE the WhatsApp FAB so the two fixed
   bottom-right buttons no longer overlap. */
.back-to-top {
    right: 27px !important;
    bottom: 90px !important;
}
@media (max-width: 575.98px) {
    .back-to-top { right: 18px !important; bottom: 80px !important; }
}

/* =============================================================
   Star ratings (product cards + detail)
   ============================================================= */
.product-rating {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: .9rem;
}
.product-rating .stars {
    color: var(--brand-gold);
    letter-spacing: 1px;
}
.product-rating .stars .far { color: rgba(191, 149, 47, .45); }
.product-rating .rating-count {
    color: #6c757d;
    font-size: .82rem;
}

/* =============================================================
   Mobile sticky add-to-cart bar (product detail)
   ============================================================= */
.sticky-atc {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9990;
    background: #fff;
    border-top: 1px solid rgba(31, 51, 39, .12);
    box-shadow: 0 -4px 16px rgba(0, 0, 0, .08);
    padding: 10px 14px;
    display: none;
    align-items: center;
    gap: 12px;
}
.sticky-atc .sticky-price {
    font-weight: 700;
    color: var(--brand-dark);
    font-size: 1.1rem;
    white-space: nowrap;
}
.sticky-atc .btn {
    flex: 1;
}
@media (max-width: 767.98px) {
    .sticky-atc.is-active { display: flex; }
    body.has-sticky-atc { padding-bottom: 76px; }
}

/* =============================================================
   Blog listing cards (editorial style)
   ============================================================= */
.blog-eyebrow {
    display: inline-block;
    color: var(--brand-gold);
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-size: .8rem;
    margin-bottom: .4rem;
}
.blog-heading {
    color: var(--brand-dark);
    font-weight: 800;
}
.blog-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}
.blog-card {
    background: #fff;
    border: 1px solid rgba(31, 51, 39, .08);
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .25s ease, box-shadow .25s ease;
}
.blog-card-link:hover .blog-card {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(31, 51, 39, .14);
}
.blog-card-img {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #f1f1f1;
}
.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}
.blog-card-link:hover .blog-card-img img { transform: scale(1.06); }
.blog-card-date {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(31, 51, 39, .85);
    color: #fff;
    font-size: .74rem;
    font-weight: 600;
    padding: .25rem .6rem;
    border-radius: 999px;
}
.blog-card-body {
    padding: 1.25rem 1.25rem 1.4rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.blog-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--brand-dark);
    line-height: 1.35;
    margin-bottom: .5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 3em;
}
.blog-card-excerpt {
    color: #6c757d;
    font-size: .92rem;
    line-height: 1.55;
    margin-bottom: 1rem;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.blog-card-more {
    color: var(--brand-gold);
    font-weight: 700;
    font-size: .9rem;
}
.blog-card-link:hover .blog-card-more { color: var(--brand-green); }

/* ---- Blog cards: two-row infinite MARQUEE ----
   Row 1 streams left->right, row 2 streams right->left, looping forever.
   Built by main.js (it splits the cards into two .blog-track strips, each
   duplicated for a seamless loop). Pauses while hovered. ---- */
.blog-grid.is-marquee {
    display: block;          /* drop the Bootstrap .row grid layout */
    overflow: hidden;
}
.blog-marquee {
    overflow: hidden;
    margin-bottom: 1.5rem;
}
.blog-marquee:last-child { margin-bottom: 0; }
.blog-track {
    display: flex;
    gap: 1.5rem;
    width: max-content;
    will-change: transform;
}
.blog-marquee-item {
    flex: 0 0 340px;
    width: 340px;
}
/* track contains the card set TWICE, so -50% travel = one full set (seamless) */
@keyframes blogMarqueeRight { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@keyframes blogMarqueeLeft  { from { transform: translateX(0); }    to { transform: translateX(-50%); } }
.blog-track-lr { animation: blogMarqueeRight 40s linear infinite; }
.blog-track-rl { animation: blogMarqueeLeft 40s linear infinite; }
.blog-marquee:hover .blog-track { animation-play-state: paused; }   /* stop on cursor */
.blog-marquee-item .blog-card { height: 100%; }

@media (max-width: 575.98px) {
    .blog-marquee-item { flex-basis: 280px; width: 280px; }
}
@media (prefers-reduced-motion: reduce) {
    .blog-track { animation: none !important; }
}

/* ---- Single-row auto-scroll marquee (Newly Added products + Customer Reviews)
   Fallback (no JS): a centered wrapped flex grid. main.js upgrades it to a
   continuously scrolling single row, paused on hover. ---- */
.product-marquee-grid,
.review-marquee-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}
.product-marquee-grid > .fruite-item { width: 300px; }
.review-marquee-grid > .testimonial-item { width: 380px; }
.product-marquee-grid.is-marquee,
.review-marquee-grid.is-marquee {
    display: block;
    overflow: hidden;
    flex-wrap: nowrap;
}
.product-marquee-grid .pm-track,
.review-marquee-grid .pm-track {
    display: flex;
    gap: 20px;
    width: max-content;
    will-change: transform;
}
.product-marquee-grid .pm-track { animation: blogMarqueeRight 45s linear infinite; }  /* left -> right */
.review-marquee-grid  .pm-track { animation: blogMarqueeLeft 95s linear infinite; }   /* right -> left (slow, relaxed pace) */
.product-marquee-grid .pm-item { flex: 0 0 300px; width: 300px; }
.review-marquee-grid  .pm-item { flex: 0 0 380px; width: 380px; }
.product-marquee-grid .pm-item .fruite-item { width: 100%; margin: 0 !important; }
.review-marquee-grid  .pm-item .testimonial-item { width: 100%; height: 100%; }
.product-marquee-grid.is-marquee:hover .pm-track,
.review-marquee-grid.is-marquee:hover .pm-track { animation-play-state: paused; }
@media (max-width: 575.98px) {
    .product-marquee-grid .pm-item { flex-basis: 270px; width: 270px; }
    .product-marquee-grid > .fruite-item { width: 270px; }
    .review-marquee-grid .pm-item { flex-basis: 300px; width: 300px; }
    .review-marquee-grid > .testimonial-item { width: 300px; }
}
@media (prefers-reduced-motion: reduce) {
    .product-marquee-grid .pm-track,
    .review-marquee-grid .pm-track { animation: none !important; }
}


/* =============================================================
   UI ENHANCEMENT LAYER  (2026 redesign)
   Loaded last, so these refinements win over bootstrap + style.css.
   Goal: a calmer, more premium, more consistent feel across every
   customer-facing page — typography, spacing, buttons, forms, focus
   states, cards and micro-interactions — without touching page HTML.
   ============================================================= */

:root {
    --brand-gold-deep: #a87f22;   /* darker gold for hover/press */
    --ease: cubic-bezier(.4, 0, .2, 1);
    --ring: 0 0 0 3px rgba(191, 149, 47, .35);   /* gold focus ring */
    --card-shadow: 0 1px 2px rgba(31,51,39,.04), 0 8px 24px rgba(31,51,39,.06);
    --card-shadow-hover: 0 12px 32px rgba(31,51,39,.13);
}

/* ---- Typography: tighter, more considered hierarchy ---- */
body {
    color: var(--brand-ink);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
h1, h2, h3, .display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
    color: var(--brand-dark);
    letter-spacing: -0.02em;
    text-wrap: balance;
}
h1, .display-4 { line-height: 1.12; }
h2 { line-height: 1.18; font-weight: 700; }
.lead { color: #47554d; }
p { line-height: 1.65; }
a { text-decoration-thickness: .08em; text-underline-offset: .18em; }

/* Consistent section rhythm: the template's .py-5.py-5 doubling is heavy on
   small screens — pull it in a touch so sections breathe without sprawling. */
@media (max-width: 767.98px) {
    .container-fluid.py-5 > .container.py-5 { padding-top: 2rem !important; padding-bottom: 2rem !important; }
}

/* ---- Motion: the template sets `transition:.5s` almost everywhere, which
        feels sluggish. Tighten interactive transitions site-wide. ---- */
.btn, .nav-link, .btn.border-secondary, .dropdown-item, a.btn-link,
.form-control, .form-select {
    transition: color .18s var(--ease), background-color .18s var(--ease),
                border-color .18s var(--ease), box-shadow .18s var(--ease),
                transform .18s var(--ease) !important;
}
@media (prefers-reduced-motion: reduce) {
    * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---- Accessible focus: a visible, on-brand ring for keyboard users ---- */
a:focus-visible,
.btn:focus-visible,
.form-control:focus-visible,
.form-select:focus-visible,
.nav-link:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
    outline: none !important;
    box-shadow: var(--ring) !important;
    border-radius: 6px;
}

/* ---- Buttons: consistent shape, weight and tactile hover ---- */
.btn { border-radius: 10px; letter-spacing: .1px; }
.btn.rounded-pill { border-radius: 999px; }
.btn-lg { padding: .8rem 1.6rem; font-size: 1.02rem; }

.btn-primary {
    box-shadow: 0 2px 8px rgba(191,149,47,.28);
}
.btn-primary:hover {
    background-color: var(--brand-gold-deep) !important;
    border-color: var(--brand-gold-deep) !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(191,149,47,.34);
}
.btn-primary:active { transform: translateY(0); }

/* Outline "View details / Add to cart" pills on the product cards: unify to
   the emerald brand and give a clear filled hover instead of the muddy default. */
.fruite-item .btn.border-secondary,
.btn-outline-secondary {
    border-color: var(--bs-primary) !important;
    color: var(--bs-primary) !important;
    background: #fff;
}
.fruite-item .btn.border-secondary:hover,
.btn-outline-secondary:hover {
    background: var(--bs-primary) !important;
    border-color: var(--bs-primary) !important;
    color: #fff !important;
}
.fruite-item .btn.border-secondary:hover .text-primary,
.fruite-item .btn.border-secondary:hover i { color: #fff !important; }

.btn-success {          /* WhatsApp green — keep the brand green but make it pop */
    box-shadow: 0 2px 8px rgba(37,211,102,.25);
}
.btn-success:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(37,211,102,.32); }

/* ---- Forms: softer fields with a clear emerald focus state ---- */
.form-control, .form-select {
    border-color: #d6ded8;
    border-radius: 10px;
    padding: .7rem .9rem;
    color: var(--brand-ink);
}
.form-control::placeholder { color: #9aa8a0; }
.form-control:focus, .form-select:focus {
    border-color: var(--brand-green);
    box-shadow: var(--ring);
}
.form-label, label.fw-bold { color: var(--brand-dark); font-weight: 600; }
.input-group-text { background: var(--brand-cream); border-color: #d6ded8; color: var(--brand-dark); }

/* ---- Trust bar (featurs): refined emerald disc + soft gold halo ---- */
.featurs .featurs-item {
    height: 100%;                 /* all four cards match the tallest → equal size */
    border: 1px solid #e6ece8 !important;
    background: #fff !important;
    box-shadow: var(--card-shadow);
    transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.featurs .featurs-item:hover { transform: translateY(-4px); box-shadow: var(--card-shadow-hover); }
.featurs .featurs-item .featurs-icon {
    width: 94px !important; height: 94px !important;
    margin-bottom: 1.5rem !important;   /* was mb-5; the removed pin left too big a gap */
}
.featurs .featurs-item .featurs-icon.bg-secondary {
    background: radial-gradient(circle at 32% 26%, #3a6e50, #2b4a39 62%) !important;
    box-shadow: 0 0 0 6px rgba(191,149,47,.14), 0 10px 22px rgba(31,51,39,.18);
    transition: box-shadow .22s var(--ease), transform .22s var(--ease);
}
.featurs .featurs-item:hover .featurs-icon.bg-secondary {
    box-shadow: 0 0 0 9px rgba(191,149,47,.22), 0 14px 28px rgba(31,51,39,.24);
}
.featurs .featurs-item .featurs-icon i { font-size: 2.1rem !important; color: #fff !important; }
/* drop the awkward gold "pin" diamond under each icon */
.featurs .featurs-item .featurs-icon::after { display: none !important; }
/* consistent, readable text */
.featurs .featurs-content h5 { color: var(--brand-dark); font-weight: 700; }
.featurs .featurs-content p { color: #6b7a72 !important; margin-top: 2px; }

/* ---- Section headings: a shared, quietly branded treatment ---- */
.fruite h2, .service h2, .vesitable h2, .testimonial h2,
.bestseller-section h2, .blog-heading {
    position: relative;
    font-weight: 800;
}

/* ---- Category filter pills: smoother, less boxy ---- */
.fruite .tab-class .nav-pills .nav-item a {
    border: 1px solid transparent;
    transition: all .18s var(--ease);
}
.fruite .tab-class .nav-pills .nav-item a:not(.active):hover {
    background: var(--brand-cream) !important;
    border-color: rgba(191,149,47,.35);
}

/* Home sort control: match the new field styling */
#homeSort { border-radius: 999px; border-color: #d6ded8; }

/* ---- Product cards: refine the shared card used site-wide ---- */
.fruite-item { box-shadow: var(--card-shadow); }
.fruite-item:hover { box-shadow: var(--card-shadow-hover); }
.fruite-item h4 { color: var(--brand-dark); }
.discount-badge {
    background: linear-gradient(135deg, #e0483a, #c0392b) !important;
    border-radius: 999px;
    font-size: .78rem;
    letter-spacing: .2px;
    box-shadow: 0 4px 10px rgba(192,57,43,.3);
}

/* ---- Testimonials: lift the flat cards ---- */
.testimonial-item {
    border: 1px solid var(--line, #e6ece8);
    box-shadow: var(--card-shadow);
    transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.testimonial-item:hover { transform: translateY(-3px); box-shadow: var(--card-shadow-hover); }
.testimonial-item .fa-quote-right { color: rgba(191,149,47,.28) !important; }

/* ---- Featured products strip: soften the stark bg-secondary block ---- */
.service .service-item.bg-secondary {
    background: #fff !important;
    border: 1px solid var(--line, #e6ece8) !important;
    box-shadow: var(--card-shadow);
    overflow: hidden;
    transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.service .service-item.bg-secondary:hover { transform: translateY(-4px); box-shadow: var(--card-shadow-hover); }

/* ---- Page-header band (inner pages): give breadcrumb pages consistent padding ---- */
.page-header { color: #fff; }
.page-header h1, .page-header h2, .page-header .breadcrumb-item,
.page-header .breadcrumb-item a { color: #fff !important; }
.page-header .breadcrumb-item.active { color: var(--brand-gold) !important; }

/* ---- Back-to-top: match the brand + smoother ---- */
.back-to-top { box-shadow: 0 8px 20px rgba(31,51,39,.28); }

/* ---- Modals: rounder, softer ---- */
.modal-content { border: 0; border-radius: 16px; box-shadow: 0 24px 60px rgba(31,51,39,.28); }
.modal-header { border-bottom-color: #eef2ef; }
.modal-footer { border-top-color: #eef2ef; }

/* ---- Utility: constrain long-form reading (policy/legal pages) ---- */
.legal-content, .policy-content { max-width: 74ch; }

/* ---- Selection colour on brand ---- */
::selection { background: rgba(191,149,47,.28); color: var(--brand-dark); }


/* =============================================================
   Shop-by-category tiles (homepage) — light by default, the
   SELECTED category fills emerald. They drive the "Our Products"
   tabs below (no page navigation).
   ============================================================= */
.cat-tiles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
}
.cat-tile {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 12px;
    padding: 22px 14px;
    border-radius: 16px;
    text-decoration: none;
    cursor: pointer;
    background: #fff;
    color: var(--brand-dark);
    border: 1px solid #e6ece8;
    box-shadow: var(--card-shadow);
    transition: transform .2s var(--ease), box-shadow .2s var(--ease),
                border-color .2s var(--ease), background .2s var(--ease);
}
.cat-tile:hover {
    transform: translateY(-4px);
    box-shadow: var(--card-shadow-hover);
    border-color: var(--brand-gold);
    color: var(--brand-dark);
}
.cat-tile .cat-ico {
    width: 56px; height: 56px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 23px; color: var(--brand-green);
    background: rgba(43,74,57,.08);
    transition: all .2s var(--ease);
}
.cat-tile:hover .cat-ico { background: rgba(191,149,47,.16); color: var(--brand-gold-deep); transform: scale(1.06); }
.cat-tile .cat-name { font-weight: 700; font-size: .95rem; text-align: center; line-height: 1.2; }

/* Selected category */
.cat-tile.active {
    background: linear-gradient(150deg, var(--brand-green), var(--brand-dark));
    border-color: var(--brand-green);
    color: #fff;
    box-shadow: 0 12px 28px rgba(31,51,39,.22);
}
.cat-tile.active .cat-ico { background: rgba(255,255,255,.14); color: var(--brand-gold); }
.cat-tile.active .cat-name { color: #fff; }
.cat-tile.active:hover { color: #fff; }

@media (max-width: 575.98px) {
    .cat-tiles { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .cat-tile { padding: 18px 10px; }
    .cat-tile .cat-ico { width: 48px; height: 48px; font-size: 20px; }
}


/* =============================================================
   Product-detail "buy box" — a bounded purchase panel
   ============================================================= */
.buy-box {
    background: #fff;
    border: 1px solid var(--line, #e6ece8);
    border-radius: 14px;
    padding: 20px 22px;
    margin-top: 6px;
    box-shadow: var(--card-shadow);
}
.buy-box .qty-label { font-weight: 600; color: var(--brand-dark); font-size: .9rem; margin-bottom: 6px; }
.buy-box .btn { border-radius: 10px !important; }
.buy-box .delivery-estimate {
    display: flex; align-items: center; gap: 8px;
    background: var(--brand-cream);
    border: 1px solid rgba(191,149,47,.3);
    border-radius: 10px; padding: 10px 12px; margin-bottom: 14px;
    color: var(--brand-dark); font-size: .9rem; font-weight: 600;
}
.buy-box .delivery-estimate i { color: var(--brand-green); }


/* =============================================================
   Navbar inline search (desktop) — visible, not hidden in a modal
   ============================================================= */
.nav-search { position: relative; width: 260px; }
.nav-search .form-control {
    border-radius: 999px; padding: .5rem 2.6rem .5rem 1rem; height: 44px;
    border: 1px solid #d6ded8; background: var(--brand-cream);
}
.nav-search .form-control:focus { background: #fff; }
.nav-search .nav-search-btn {
    position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
    width: 36px; height: 36px; border-radius: 50%; border: 0;
    background: var(--brand-green); color: #fff;
    display: flex; align-items: center; justify-content: center;
    transition: background .18s var(--ease);
}
.nav-search .nav-search-btn:hover { background: var(--brand-gold); color: var(--brand-dark); }
@media (max-width: 1199.98px) { .nav-search { display: none !important; } }

/* Live search suggestions dropdown */
.nav-search-suggestions {
    position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 1050;
    background: #fff; border: 1px solid #e6ece8; border-radius: 12px;
    box-shadow: 0 14px 34px rgba(31,51,39,.18);
    overflow: hidden auto; max-height: 400px;
}
.nav-search-suggestions[hidden] { display: none; }
.nav-sugg {
    display: flex; align-items: center; gap: 11px; padding: 9px 12px;
    text-decoration: none; color: var(--brand-ink); border-bottom: 1px solid #f0f4f1;
}
.nav-sugg:last-child { border-bottom: 0; }
.nav-sugg:hover, .nav-sugg.active { background: var(--brand-cream); }
.nav-sugg img {
    width: 42px; height: 42px; border-radius: 8px; object-fit: cover;
    flex: 0 0 42px; background: #f3f5f3; border: 1px solid #eef2ef;
}
.nav-sugg .s-meta { min-width: 0; flex: 1; line-height: 1.25; }
.nav-sugg .s-name {
    display: block; font-weight: 600; font-size: .9rem; color: var(--brand-dark);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.nav-sugg .s-price { font-size: .8rem; color: var(--brand-green); font-weight: 700; }
.nav-sugg-empty { padding: 14px 12px; color: #7c8a83; font-size: .88rem; text-align: center; }
.nav-sugg-all {
    display: block; text-align: center; padding: 10px; font-size: .82rem; font-weight: 700;
    color: var(--brand-green); text-decoration: none; background: #f7faf8;
}
.nav-sugg-all:hover { background: var(--brand-cream); color: var(--brand-gold-deep); }


/* =============================================================
   Cart → stacked cards on mobile (no more sideways scroll)
   ============================================================= */
@media (max-width: 767.98px) {
    .cart-table thead { display: none; }
    .cart-table, .cart-table tbody, .cart-table tr, .cart-table td, .cart-table th {
        display: block; width: 100%;
    }
    .cart-table tr {
        position: relative;
        border: 1px solid var(--line, #e6ece8);
        border-radius: 12px;
        padding: 14px 14px 14px 104px;
        margin-bottom: 14px;
        min-height: 108px;
        box-shadow: var(--card-shadow);
    }
    .cart-table tr > th[scope="row"] {
        position: absolute; left: 12px; top: 12px; width: 80px; padding: 0;
    }
    .cart-table tr > th[scope="row"] img { margin: 0 !important; width: 80px !important; height: 80px !important; }
    .cart-table td { border: 0 !important; padding: 4px 0 !important; }
    .cart-table td p { margin: 0 !important; }
    .cart-table td[data-label]::before {
        content: attr(data-label);
        display: inline-block; min-width: 84px;
        font-size: .72rem; font-weight: 700; text-transform: uppercase;
        letter-spacing: .5px; color: var(--brand-gold);
    }
    .cart-table td[data-label] { display: flex; align-items: center; gap: 8px; }
    .cart-table td .quantity { margin-top: 0 !important; }
    .cart-table td[data-label="Remove"] { position: absolute; top: 10px; right: 10px; padding: 0 !important; }
    .cart-table td[data-label="Remove"]::before { display: none; }
    .cart-table td[data-label="Remove"] .btn { margin-top: 0 !important; }
}


/* =============================================================
   Shop filter sidebar — turn the plain lists into a clean panel
   ============================================================= */
#filterSidebar h3 {
    font-size: 1rem; font-weight: 800; text-transform: uppercase;
    letter-spacing: .5px; color: var(--brand-dark);
    position: relative; padding-bottom: 8px; margin: 0 0 14px !important;
}
#filterSidebar h3::after {
    content: ""; position: absolute; left: 0; bottom: 0;
    width: 32px; height: 3px; border-radius: 2px; background: var(--brand-gold);
}
/* Card each filter group (categories, sub-categories, price) */
#filterSidebar > .row > .col-lg-12 > .mb-3,
#filterSidebar > .row > .col-lg-12 > .mb-4 {
    background: #fff; border: 1px solid #e6ece8; border-radius: 14px;
    padding: 18px 18px 20px; box-shadow: var(--card-shadow);
    margin-bottom: 20px !important;
}

/* Category / sub-category rows as tappable pills */
.fruite-categorie { margin: 0; }
.fruite-categorie li { margin-bottom: 2px; }
.fruite-categorie .fruite-name {
    align-items: center; line-height: 1.4;
    padding: 8px 10px; border-radius: 9px;
    transition: background .15s var(--ease);
}
.fruite-categorie .fruite-name:hover { background: var(--brand-cream); }
.fruite-categorie .fruite-name a {
    color: var(--brand-ink); font-weight: 600; text-decoration: none;
    display: flex; align-items: center;
}
.fruite-categorie .fruite-name a.text-primary,
.fruite-categorie .fruite-name a.fw-bold { color: var(--brand-green) !important; }
.fruite-categorie .fruite-name a i { color: var(--brand-gold); width: 18px; }
.fruite-categorie .fruite-name > span {
    font-size: .78rem; color: #6b7a72; background: #f3f5f3;
    padding: 1px 9px; border-radius: 999px; font-weight: 700;
}

/* Price filter button → brand */
.price-filter-btn {
    background: var(--brand-green) !important; border-color: var(--brand-green) !important;
    color: #fff !important; border-radius: 10px !important; font-weight: 600;
}
.price-filter-btn:hover {
    background: var(--brand-gold) !important; border-color: var(--brand-gold) !important;
    color: var(--brand-dark) !important;
}

/* Active-filter summary → soft card with branded removable chips */
.filter-summary {
    background: #fff; border: 1px solid #e6ece8; border-left: 4px solid var(--brand-gold);
    border-radius: 12px; box-shadow: var(--card-shadow);
}
.filter-badge {
    background: var(--brand-green) !important; color: #fff !important;
    font-weight: 600; padding: .5em .9em; border-radius: 999px; font-size: .8rem;
}

/* Mobile filter toggle button on brand */
.filter-toggle-btn { border-color: var(--brand-green) !important; color: var(--brand-green) !important; font-weight: 600; }
.filter-toggle-btn:hover, .filter-toggle-btn[aria-expanded="true"] { background: var(--brand-green) !important; color: #fff !important; }
/* ============================================================= */
