/* ─── Gallery wrapper ─────────────────────────────────────────── */
.pv-gallery {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.pv-gallery--with-thumbs .pv-main {
    flex: 1;
    min-width: 0;
}

/* ─── Thumbnails ──────────────────────────────────────────────── */
.pv-thumbs {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 76px;
    flex-shrink: 0;
    max-height: 420px;
    overflow-y: auto;
    scrollbar-width: thin;
}

.pv-thumb {
    width: 72px;
    height: 72px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    flex-shrink: 0;
    transition: border-color 0.2s;
}

.pv-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pv-thumb.active,
.pv-thumb:hover {
    border-color: #1aa84d;
}

/* ─── Main panel ──────────────────────────────────────────────── */
.pv-main {
    position: relative;
    width: 100%;
    background: #f9fafb;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
}

.pv-hint {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.45);
    color: #fff;
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 4px;
    pointer-events: none;
    white-space: nowrap;
    opacity: 1;
    transition: opacity 0.3s;
}

.pv-main:hover .pv-hint {
    opacity: 0;
}

/* ─── Slides ──────────────────────────────────────────────────── */
.pv-slides {
    height: 420px;
}

.pv-slide {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pv-img {
    max-width: 100%;
    max-height: 420px;
    object-fit: contain;
    display: block;
    transition: opacity 0.2s;
}

.pv-img:hover {
    opacity: 0.9;
}

/* ─── Lightbox ────────────────────────────────────────────────── */
.pv-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    align-items: center;
    justify-content: center;
}

.pv-lightbox.open {
    display: flex;
}

.pv-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
}

.pv-lightbox-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    max-width: 92vw;
}

/* ─── Zoom controls bar ──────────────────────────────────────── */
.pv-lightbox-zoom-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 30px;
    padding: 6px 14px;
}

.pv-zoom-btn {
    width: 30px;
    height: 30px;
    background: rgba(255,255,255,0.15);
    border: none;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    padding: 0;
}

.pv-zoom-btn:hover {
    background: rgba(255,255,255,0.35);
}

.pv-zoom-level {
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    min-width: 44px;
    text-align: center;
}

/* ─── Lightbox image wrap ────────────────────────────────────── */
.pv-lightbox-img-wrap {
    max-width: 90vw;
    max-height: 78vh;
    overflow: hidden;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pv-lightbox-img-wrap img {
    max-width: 90vw;
    max-height: 78vh;
    object-fit: contain;
    display: block;
    transform-origin: center center;
    transition: transform 0.2s ease;
    user-select: none;
    -webkit-user-drag: none;
}

/* ─── Close button ───────────────────────────────────────────── */
.pv-lightbox-close {
    position: fixed;
    top: 16px;
    right: 20px;
    z-index: 2;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    font-size: 1.2rem;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    line-height: 1;
    padding: 0;
}

.pv-lightbox-close:hover {
    background: rgba(220, 38, 38, 0.7);
}

/* ─── Nav arrows ─────────────────────────────────────────────── */
.pv-lightbox-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    font-size: 2.5rem;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    padding: 0;
    line-height: 1;
}

.pv-lightbox-prev { left: 14px; }
.pv-lightbox-next { right: 14px; }

.pv-lightbox-nav:hover {
    background: rgba(255,255,255,0.28);
}

/* ─── Dots ───────────────────────────────────────────────────── */
.pv-lightbox-dots {
    display: flex;
    gap: 6px;
    align-items: center;
}

.pv-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255,255,255,0.35);
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

.pv-dot.active {
    background: #fff;
    transform: scale(1.3);
}

/* ─── Responsive ─────────────────────────────────────────────── */
@media (max-width: 767px) {
    .pv-gallery--with-thumbs {
        flex-direction: column;
    }

    .pv-thumbs {
        flex-direction: row;
        width: 100%;
        max-height: none;
        overflow-x: auto;
        overflow-y: hidden;
    }

    .pv-thumb {
        width: 58px;
        height: 58px;
        flex-shrink: 0;
    }

    .pv-slides {
        height: 280px;
    }

    .pv-img {
        max-height: 280px;
    }

    .pv-lightbox-nav {
        width: 36px;
        height: 36px;
        font-size: 1.8rem;
    }

    .pv-lightbox-prev { left: 6px; }
    .pv-lightbox-next { right: 6px; }
}

.hero-card {
    height: 320px;
    transition: transform .3s ease, box-shadow .3s ease;
}

.hero-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
}

.hero-img {
    height: 100%;
    object-fit: cover;
}

/* Dark overlay */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

/* Light overlay (for engine image) */
.hero-overlay-light {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.35);
}

.ghead-topbar {
  padding: 10px 0 10px 0;
  background-color: rgba(226, 232, 240, 1) !important;
  color: black !important;
}

.topbar-info-right li {
  color: black !important;
}

.gshop-navbar {
  margin-top: 0px;
}

.gheader {
    background-color: white !important;
}

.gheader .gshop-navbar {
    color: black !important;
    background-color: white !important;
    border-color: rgba(226, 232, 240, 1) !important;
}


.img-fluid-logo {
    max-height: 70px;
}
/*************************/

/* Top bar */
.top-bar {
    --header-row-foreground: #515d64;
    --header-row-foreground-muted: #657580;
    --header-row-foreground-active: #000;
    --header-row-background: #eff4f7;
    --header-row-border: #dee6eb;
    color: var(--header-row-foreground);
    background-color: var(--color-light-green);
    border-color: var(--header-row-border);
    
}
.top-bar a:hover {
    color: #000;
}

/* Garage box */
.garage-box .garage-icon {
    width: 40px;
    height: 40px;
    background: #f1f3f5;
    font-size: 20px;
}

/* Search box */
.search-box input {
    border-radius: 10px 0 0 10px;
}
.search-box button {
    border-radius: 0 10px 10px 0;
}

/* Icons */
.icon-circle {
    width: 42px;
    height: 42px;
    background: #f1f3f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.badge-count {
    position: absolute;
    top: -4px;
    right: -4px;
    font-size: 11px;
    background: red;
    color: #fff;
    padding: 2px 6px;
    border-radius: 50%;
}

/* Menu links */
.menu-link {
    text-decoration: none;
    color: #000;
    font-weight: 500;
    padding: 6px 10px;
}
.menu-link:hover {
    color: #1b703d;
}

/* ─── Responsive Navigation Link Text ─────────────────────────── */
.nav-link-text {
    /* Responsive font sizing - smaller on tablets */
    font-size: clamp(0.65rem, 1.2vw, 0.95rem);
    /* Responsive padding - tighter on smaller screens */
    padding: clamp(0.3rem, 0.5vw, 0.5rem) clamp(0.4rem, 0.8vw, 0.75rem);
    /* Smooth transition */
    transition: all 0.3s ease;
    /* Remove extra margins dynamically */
    margin: 0;
    /* Prevent shrinking below minimum size */
    flex-shrink: 0;
    /* Ensure text doesn't wrap */
    white-space: nowrap;
}

.nav-link-text:hover {
    margin: 0; /* Maintain alignment on hover */
}

/* Navigation container responsive spacing */
nav.border-top .container {
    /* Responsive horizontal padding */
    padding-left: clamp(0.5rem, 2vw, 1rem);
    padding-right: clamp(0.5rem, 2vw, 1rem);
    /* Responsive gap between items - reduces on smaller screens */
    gap: clamp(0.3rem, 1.5vw, 0.8rem) !important;
    /* Responsive vertical padding already handled by py-2 py-lg-3 */
    /* Prevent wrapping to keep items in single line */
    flex-wrap: nowrap !important;
}

/* ─── Desktop Navigation Fine-tuning ──────────────────────────── */
@media (min-width: 992px) and (max-width: 1199px) {
    /* Tablet landscape adjustments */
    .nav-link-text {
        font-size: 0.75rem;
        padding: 0.3rem 0.5rem;
    }
    
    nav.border-top .container {
        gap: 0.4rem !important;
        flex-wrap: nowrap !important;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    nav.border-top .container > * {
        flex-shrink: 0;
        white-space: nowrap;
    }
}

@media (min-width: 1200px) {
    /* Desktop optimizations */
    .nav-link-text {
        font-size: 0.95rem;
        padding: 0.5rem 0.75rem;
    }
    
    nav.border-top .container {
        gap: 0.8rem !important;
    }
}

/* ─── Dropdown submenu spacing consistency ────────────────────── */
.dropdown-menu {
    margin-top: 0.25rem;
}

/* Ensure dropdown items don't affect main nav alignment */
.hover-dropdown {
    position: relative;
    flex-shrink: 0;
    white-space: nowrap;
}

/* ─── Responsive */
@media (max-width: 991.98px) {
    .garage-box {
        display: none !important;
    }
    nav .container {
        flex-wrap: wrap;
    }
}
/* MOBILE MENU */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100vh;
    background: #fff;
    z-index: 2000;
    box-shadow: 3px 0 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    overflow-y: auto;
}

.mobile-menu.open {
    left: 0;
}

/* Overlay */
.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1900;
}

.mobile-overlay.show {
    visibility: visible;
    opacity: 1;
}

/* Mobile links */
.mobile-link {
    background: none;
    border: none;
    padding: 12px 15px;
    font-weight: 500;
    color: #222;
}

.mobile-link:hover {
    background: #f8f9fa;
}

.accordion-button {
    background: none !important;
    color: #222;
}

/* Icons */
.icon-circle {
    width: 42px;
    height: 42px;
    background: #f1f3f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.badge-count {
    position: absolute;
    top: -4px;
    right: -4px;
    font-size: 11px;
    background: red;
    color: white;
    padding: 2px 6px;
    border-radius: 50%;
}
/*****************
/* Search form */
:root {
    --star-color: #73a3c6;
    --theme-width: 1360px;
    --theme-padding: 32px;
    --theme-screen-padding: 40px;
    --theme-radius: 4px;
    --theme-body-font: Inter, sans-serif;
    --theme-body-font-size: 16px;
    --theme-body-font-weight: 400;
    --theme-body-letter-spacing: -0.025em;
    --theme-body-line-height: 1.6;
    --theme-body-text-align: start;
    --theme-heading-font: Inter, sans-serif;
    --theme-heading-font-weight: 500;
    --theme-heading-letter-spacing: -0.02em;
    --theme-heading-line-height: 1.5;
    --theme-brand-font: Inter, sans-serif;
    --theme-brand-font-size: 32px;
    --theme-brand-font-weight: 700;
    --theme-brand-letter-spacing: -0.02em;
    --theme-brand-line-height: 1.5;
    --theme-brand-image-base: 156px;
    --theme-brand-image-mobile: 130px;
    --theme-product-name-font: Inter, sans-serif;
    --theme-product-price-font: Oswald, sans-serif;
    --theme-product-hidden-padding: 16px;
    --theme-primary-menu-font: Inter, sans-serif;
    --theme-primary-menu-font-size: 15px;
    --theme-primary-menu-font-weight: 600;
    --theme-primary-menu-letter-spacing: -0.025em;
    --theme-primary-submenu-font-size: 14px;
    --theme-primary-menu-arrow-gap: 8px;
    --theme-primary-menu-gap: 28px;
    --theme-drawer-menu-font-size: 15px;
    --theme-drawer-menu-font-weight: 600;
    --theme-drawer-menu-letter-spacing: -0.025em;
    --theme-drawer-menu-height: 42px;
    --theme-drawer-submenu-font-size: 14px;
    --theme-drawer-submenu-font-weight: 400;
    --theme-drawer-submenu-height: 32px;
    --theme-drawer-submenu-letter-spacing: -0.025em;
    --theme-drawer-menu-icon: 23px;
    --theme-drawer-menu-gap: 12px;
    --theme-drawer-arrow: 18px;
    --theme-footer-offset: 30px;
    --theme-footer-offset-lg: 96px;
    --theme-text-decoration-transition: text-decoration-color var(--theme-ease-time-fast) var(--theme-ease-primary);
    --theme-ease-time-slow: 0.5s;
    --theme-ease-time-medium: 0.3s;
    --theme-ease-time-fast: 0.15s;
    --theme-ease-primary: 
cubic-bezier(0.7, 0, 0.3, 1);
    --theme-ease-secondary: 
cubic-bezier(0.3, 1, 0.3, 1);
    --theme-ease-in: 
cubic-bezier(0.4, 0, 1, 1);
    --theme-ease-out: 
cubic-bezier(0, 0, 0.2, 1);
    --theme-ease-in-out: 
cubic-bezier(0.4, 0, 0.2, 1);
    --theme-animate-spin: spin 1s 
linear infinite;
    --theme-animate-ping: ping 1s 
cubic-bezier(0, 0, 0.2, 1) infinite;
    --theme-animate-pulse: pulse 2s 
cubic-bezier(0.4, 0, 0.6, 1) infinite;
    --theme-animate-bounce: bounce 1s infinite;
    --colors-white: 255, 255, 255;
    --colors-black: 0, 0, 0;
    --colors-primary-background: 0, 103, 178;
    --colors-primary-foreground: 255, 255, 255;
    --colors-secondary-background: 223, 0, 36;
    --colors-secondary-foreground: 255, 255, 255;
    --colors-button-default-background: var(--colors-gray-200);
    --colors-button-default-foreground: var(--colors-gray-800);
    --colors-dropdown-border: var(--palette-slate-100);
    --colors-dropdown-background: 255, 255, 255;
    --colors-dropdown-foreground: 0, 0, 0;
    --colors-dropdown-muted: var(--palette-slate-500);
    --colors-drawer-background: 255, 255, 255;
    --colors-drawer-foreground: 0, 0, 0;
    --colors-drawer-muted-background: var(--palette-slate-100);
    --colors-drawer-muted-foreground: var(--palette-slate-500);
    --colors-drawer-inline-border: var(--palette-slate-200);
    --colors-primary-menu-active-background: var(--palette-slate-100);
    --colors-primary-menu-active-foreground: var(--palette-slate-500);
    --colors-gray-50: var(--palette-slate-50);
    --colors-gray-100: var(--palette-slate-100);
    --colors-gray-200: var(--palette-slate-200);
    --colors-gray-300: var(--palette-slate-300);
    --colors-gray-400: var(--palette-slate-400);
    --colors-gray-500: var(--palette-slate-500);
    --colors-gray-600: var(--palette-slate-600);
    --colors-gray-700: var(--palette-slate-700);
    --colors-gray-800: var(--palette-slate-800);
    --colors-gray-900: var(--palette-slate-900);
    --colors-gray-950: var(--palette-slate-950);
    --colors-blue-light: var(--palette-blue-50);
    --colors-blue-base: var(--palette-blue-500);
    --colors-blue-dark: var(--palette-blue-900);
    --colors-green-light: var(--palette-emerald-50);
    --colors-green-base: var(--palette-emerald-600);
    --colors-green-dark: var(--palette-emerald-900);
    --colors-orange-light: var(--palette-amber-50);
    --colors-orange-base: var(--palette-amber-500);
    --colors-orange-dark: var(--palette-amber-900);
    --colors-red-light: var(--palette-rose-50);
    --colors-red-base: var(--palette-rose-500);
    --colors-red-dark: var(--palette-rose-900);
    --colors-yellow-light: var(--palette-yellow-50);
    --colors-yellow-base: var(--palette-yellow-500);
    --colors-yellow-dark: var(--palette-yellow-900);
    --form-button-font: Inter, sans-serif;
    --form-button-font-size-xs: 11px;
    --form-button-font-size-sm: 12px;
    --form-button-font-size-base: 14px;
    --form-button-font-size-lg: 14px;
    --form-button-font-weight: 600;
    --form-button-letter-spacing: -0.02em;
    --form-button-text-transform: none;
    --form-button-size-xs: 32px;
    --form-button-size-sm: 34px;
    --form-button-size-base: 42px;
    --form-button-size-lg: 48px;
    --form-input-font: Inter, sans-serif;
    --form-input-font-size-sm: 13px;
    --form-input-font-size-base: 14px;
    --form-input-font-size-lg: 15px;
    --form-input-font-weight: 500;
    --form-input-letter-spacing: -0.02em;
    --form-input-text-transform: none;
    --form-input-size-sm: 34px;
    --form-input-size-base: 42px;
    --form-input-size-lg: 48px;
    --form-checkbox-size: 16px;
    --form-label-font-size: 13px;
    --form-label-font-weight: 500;
    --form-qty-size-xs: 30px;
    --form-qty-size-sm: 34px;
    --form-qty-size-base: 42px;
    --form-qty-size-lg: 48px;
    --form-qty-font-size-sm: 13px;
    --form-qty-font-size-base: 14px;
    --form-qty-font-size-lg: 15px;
    --form-qty-font-weight: 500;
    --form-qty-letter-spacing: -0.02em;
    --form-qty-disabled-opacity: 0.2;
}
:root {
    --palette-slate-50: 248, 250, 252;
    --palette-slate-100: 241, 245, 249;
    --palette-slate-200: 226, 232, 240;
    --palette-slate-300: 203, 213, 225;
    --palette-slate-400: 148, 163, 184;
    --palette-slate-500: 100, 116, 139;
    --palette-slate-600: 71, 85, 105;
    --palette-slate-700: 51, 65, 85;
    --palette-slate-800: 30, 41, 59;
    --palette-slate-900: 15 23, 42;
    --palette-slate-950: 2, 6, 23;
    --palette-gray-50: 249, 250, 251;
    --palette-gray-100: 243, 244, 246;
    --palette-gray-200: 229, 231, 235;
    --palette-gray-300: 209, 213, 219;
    --palette-gray-400: 156, 163, 175;
    --palette-gray-500: 107, 114, 128;
    --palette-gray-600: 75, 85, 99;
    --palette-gray-700: 55, 65, 81;
    --palette-gray-800: 31, 41, 55;
    --palette-gray-900: 17, 24, 39;
    --palette-gray-950: 3, 7, 18;
    --palette-zinc-50: 250, 250, 250;
    --palette-zinc-100: 244, 244, 245;
    --palette-zinc-200: 228, 228, 231;
    --palette-zinc-300: 212, 212, 216;
    --palette-zinc-400: 161, 161, 170;
    --palette-zinc-500: 113, 113, 122;
    --palette-zinc-600: 82, 82, 91;
    --palette-zinc-700: 63, 63, 70;
    --palette-zinc-800: 39, 39, 42;
    --palette-zinc-900: 24, 24, 27;
    --palette-zinc-950: 9, 9, 11;
    --palette-neutral-50: 250, 250, 250;
    --palette-neutral-100: 245, 245, 245;
    --palette-neutral-200: 229, 229, 229;
    --palette-neutral-300: 212, 212, 212;
    --palette-neutral-400: 163, 163, 163;
    --palette-neutral-500: 115, 115, 115;
    --palette-neutral-600: 82, 82, 82;
    --palette-neutral-700: 64, 64, 64;
    --palette-neutral-800: 38, 38, 38;
    --palette-neutral-900: 23, 23, 23;
    --palette-neutral-950: 10, 10, 10;
    --palette-stone-50: 250, 250, 249;
    --palette-stone-100: 245, 245, 244;
    --palette-stone-200: 231, 229, 228;
    --palette-stone-300: 214, 211, 209;
    --palette-stone-400: 168, 162, 158;
    --palette-stone-500: 120, 113, 108;
    --palette-stone-600: 87, 83, 78;
    --palette-stone-700: 68, 64, 60;
    --palette-stone-800: 41, 37, 36;
    --palette-stone-900: 28, 25, 23;
    --palette-stone-950: 12, 10, 9;
    --palette-red-50: 254, 242, 242;
    --palette-red-100: 254, 226, 226;
    --palette-red-200: 254, 202, 202;
    --palette-red-300: 252, 165, 165;
    --palette-red-400: 248, 113, 113;
    --palette-red-500: 239, 68, 68;
    --palette-red-600: 220, 38, 38;
    --palette-red-700: 185, 28, 28;
    --palette-red-800: 153, 27, 27;
    --palette-red-900: 127, 29, 29;
    --palette-red-950: 69, 10, 10;
    --palette-orange-50: 255, 247, 237;
    --palette-orange-100: 255, 237, 213;
    --palette-orange-200: 254, 215, 170;
    --palette-orange-300: 253, 186, 116;
    --palette-orange-400: 251, 146, 60;
    --palette-orange-500: 249, 115, 22;
    --palette-orange-600: 234, 88, 12;
    --palette-orange-700: 194, 65, 12;
    --palette-orange-800: 154, 52, 18;
    --palette-orange-900: 124, 45, 18;
    --palette-orange-950: 67, 20, 7;
    --palette-amber-50: 255, 251, 235;
    --palette-amber-100: 254, 243, 199;
    --palette-amber-200: 253, 230, 138;
    --palette-amber-300: 252, 211, 77;
    --palette-amber-400: 251, 191, 36;
    --palette-amber-500: 245, 158, 11;
    --palette-amber-600: 217, 119, 6;
    --palette-amber-700: 180, 83, 9;
    --palette-amber-800: 146, 64, 14;
    --palette-amber-900: 120, 53, 15;
    --palette-amber-950: 69, 26, 3;
    --palette-yellow-50: 254, 252, 232;
    --palette-yellow-100: 254, 249, 195;
    --palette-yellow-200: 254, 240, 138;
    --palette-yellow-300: 253, 224, 71;
    --palette-yellow-400: 250, 204, 21;
    --palette-yellow-500: 234, 179, 8;
    --palette-yellow-600: 202, 138, 4;
    --palette-yellow-700: 161, 98, 7;
    --palette-yellow-800: 133, 77, 14;
    --palette-yellow-900: 113, 63, 18;
    --palette-yellow-950: 66, 32, 6;
    --palette-lime-50: 247, 254, 231;
    --palette-lime-100: 236, 252, 203;
    --palette-lime-200: 217, 249, 157;
    --palette-lime-300: 190, 242, 100;
    --palette-lime-400: 163, 230, 53;
    --palette-lime-500: 132, 204, 22;
    --palette-lime-600: 101, 163, 13;
    --palette-lime-700: 77, 124, 15;
    --palette-lime-800: 63, 98, 18;
    --palette-lime-900: 54, 83, 20;
    --palette-lime-950: 26, 46, 5;
    --palette-green-50: 240, 253, 244;
    --palette-green-100: 220, 252, 231;
    --palette-green-200: 187, 247, 208;
    --palette-green-300: 134, 239, 172;
    --palette-green-400: 74, 222, 128;
    --palette-green-500: 34, 197, 94;
    --palette-green-600: 22, 163, 74;
    --palette-green-700: 21, 128, 61;
    --palette-green-800: 22, 101, 52;
    --palette-green-900: 20, 83, 45;
    --palette-green-950: 5, 46, 22;
    --palette-emerald-50: 236, 253, 245;
    --palette-emerald-100: 209, 250, 229;
    --palette-emerald-200: 167, 243, 208;
    --palette-emerald-300: 110, 231, 183;
    --palette-emerald-400: 52, 211, 153;
    --palette-emerald-500: 16, 185, 129;
    --palette-emerald-600: 5, 150, 105;
    --palette-emerald-700: 4, 120, 87;
    --palette-emerald-800: 6, 95, 70;
    --palette-emerald-900: 6, 78, 59;
    --palette-emerald-950: 2, 44, 34;
    --palette-teal-50: 240, 253, 250;
    --palette-teal-100: 204, 251, 241;
    --palette-teal-200: 153, 246, 228;
    --palette-teal-300: 94, 234, 212;
    --palette-teal-400: 45, 212, 191;
    --palette-teal-500: 20, 184, 166;
    --palette-teal-600: 13, 148, 136;
    --palette-teal-700: 15, 118, 110;
    --palette-teal-800: 17, 94, 89;
    --palette-teal-900: 19, 78, 74;
    --palette-teal-950: 4, 47, 46;
    --palette-cyan-50: 236, 254, 255;
    --palette-cyan-100: 207, 250, 254;
    --palette-cyan-200: 165, 243, 252;
    --palette-cyan-300: 103, 232, 249;
    --palette-cyan-400: 34, 211, 238;
    --palette-cyan-500: 6, 182, 212;
    --palette-cyan-600: 8, 145, 178;
    --palette-cyan-700: 14, 116, 144;
    --palette-cyan-800: 21, 94, 117;
    --palette-cyan-900: 22, 78, 99;
    --palette-cyan-950: 8, 51, 68;
    --palette-sky-50: 240, 249, 255;
    --palette-sky-100: 224, 242, 254;
    --palette-sky-200: 186, 230, 253;
    --palette-sky-300: 125, 211, 252;
    --palette-sky-400: 56, 189, 248;
    --palette-sky-500: 14, 165, 233;
    --palette-sky-600: 2, 132, 199;
    --palette-sky-700: 3, 105, 161;
    --palette-sky-800: 7, 89, 133;
    --palette-sky-900: 12, 74, 110;
    --palette-sky-950: 8, 47, 73;
    --palette-blue-50: 239, 246, 255;
    --palette-blue-100: 219, 234, 254;
    --palette-blue-200: 191, 219, 254;
    --palette-blue-300: 147, 197, 253;
    --palette-blue-400: 96, 165, 250;
    --palette-blue-500: 59, 130, 246;
    --palette-blue-600: 37, 99, 235;
    --palette-blue-700: 29, 78, 216;
    --palette-blue-800: 30, 64, 175;
    --palette-blue-900: 30, 58, 138;
    --palette-blue-950: 23, 37, 84;
    --palette-indigo-50: 238, 242, 255;
    --palette-indigo-100: 224, 231, 255;
    --palette-indigo-200: 199, 210, 254;
    --palette-indigo-300: 165, 180, 252;
    --palette-indigo-400: 129, 140, 248;
    --palette-indigo-500: 99, 102, 241;
    --palette-indigo-600: 79, 70, 229;
    --palette-indigo-700: 67, 56, 202;
    --palette-indigo-800: 55, 48, 163;
    --palette-indigo-900: 49, 46, 129;
    --palette-indigo-950: 30, 27, 75;
    --palette-violet-50: 245, 243, 255;
    --palette-violet-100: 237, 233, 254;
    --palette-violet-200: 221, 214, 254;
    --palette-violet-300: 196, 181, 253;
    --palette-violet-400: 167, 139, 250;
    --palette-violet-500: 139, 92, 246;
    --palette-violet-600: 124, 58, 237;
    --palette-violet-700: 109, 40, 217;
    --palette-violet-800: 91, 33, 182;
    --palette-violet-900: 76, 29, 149;
    --palette-violet-950: 46, 16, 101;
    --palette-purple-50: 250, 245, 255;
    --palette-purple-100: 243, 232, 255;
    --palette-purple-200: 233, 213, 255;
    --palette-purple-300: 216, 180, 254;
    --palette-purple-400: 192, 132, 252;
    --palette-purple-500: 168, 85, 247;
    --palette-purple-600: 147, 51, 234;
    --palette-purple-700: 126, 34, 206;
    --palette-purple-800: 107, 33, 168;
    --palette-purple-900: 88, 28, 135;
    --palette-purple-950: 59, 7, 100;
    --palette-fuchsia-50: 253, 244, 255;
    --palette-fuchsia-100: 250, 232, 255;
    --palette-fuchsia-200: 245, 208, 254;
    --palette-fuchsia-300: 240, 171, 252;
    --palette-fuchsia-400: 232, 121, 249;
    --palette-fuchsia-500: 217, 70, 239;
    --palette-fuchsia-600: 192, 38, 211;
    --palette-fuchsia-700: 162, 28, 175;
    --palette-fuchsia-800: 134, 25, 143;
    --palette-fuchsia-900: 112, 26, 117;
    --palette-fuchsia-950: 74, 4, 78;
    --palette-pink-50: 253, 242, 248;
    --palette-pink-100: 252, 231, 243;
    --palette-pink-200: 251, 207, 232;
    --palette-pink-300: 249, 168, 212;
    --palette-pink-400: 244, 114, 182;
    --palette-pink-500: 236, 72, 153;
    --palette-pink-600: 219, 39, 119;
    --palette-pink-700: 190, 24, 93;
    --palette-pink-800: 157, 23, 77;
    --palette-pink-900: 131, 24, 67;
    --palette-pink-950: 80, 7, 36;
    --palette-rose-50: 255, 241, 242;
    --palette-rose-100: 255, 228, 230;
    --palette-rose-200: 254, 205, 211;
    --palette-rose-300: 253, 164, 175;
    --palette-rose-400: 251, 113, 133;
    --palette-rose-500: 244, 63, 94;
    --palette-rose-600: 225, 29, 72;
    --palette-rose-700: 190, 18, 60;
    --palette-rose-800: 159, 18, 57;
    --palette-rose-900: 136, 19, 55;
    --palette-rose-950: 76, 5, 25;
    --text-2xs: 10px;
    --text-xs: 12px;
    --text-sm: 14px;
    --text-base: 16px;
    --text-lg: 18px;
    --text-xl: 20px;
    --text-2xl: 22px;
    --text-3xl: 24px;
    --text-4xl: 26px;
    --text-5xl: 27px;
    --text-6xl: 30px;
    --text-7xl: 32px;
    --text-8xl: 36px;
    --text-9xl: 40px;
    --text-10xl: 42px;
    --text-11xl: 48px;
    --text-12xl: 56px;
    --text-13xl: 66px;
    --text-14xl: 72px;
    --text-15xl: 86px;
    --text-16xl: 96px;
    --text-17xl: 116px;
    --text-18xl: 126px;
    --shadow-2xs: 0 1px rgba(0, 0, 0, 0.0509803922);
    --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.0509803922);
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1019607843), 0 1px 2px -1px rgba(0, 0, 0, 0.1019607843);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1019607843), 0 2px 4px -2px rgba(0, 0, 0, 0.1019607843);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1019607843), 0 4px 6px -4px rgba(0, 0, 0, 0.1019607843);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1019607843), 0 8px 10px -6px rgba(0, 0, 0, 0.1019607843);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.2509803922);
    --radius-none: 0;
    --radius-xs: calc(var(--theme-radius) - 4px);
    --radius-sm: calc(var(--theme-radius) - 2px);
    --radius-base: var(--theme-radius);
    --radius-lg: calc(var(--theme-radius) + 2px);
    --radius-xl: calc(var(--theme-radius) + 4px);
    --radius-full: 9999px;
}
.site-search-form {
  --search-form-height: 46px;
  --search-form-color: #000;
  --search-form-background: #fff;
  --search-form-background-hover: #fff;
  --search-form-background-active: #fff;
  --search-form-border-width: 1px;
  --search-form-border: rgb(var(--colors-gray-300));
  --search-form-border-hover: rgba(var(--colors-gray-400), 0.6);
  --search-form-border-active: rgb(var(--colors-gray-400));
  --search-form-border-radius: var(--radius-lg);
  --search-form-shadow: var(--shadow-xs);
  --search-form-shadow-hover: var(--shadow-xs);
  --search-form-shadow-active: var(--shadow-xs);
  --search-form-placeholder: rgb(var(--colors-gray-400));
  --search-form-placeholder-active: rgb(var(--colors-gray-300));
  --search-form-button-icon: 22px;
  --search-form-button-background: transparent;
  --search-form-button-background-active: transparent;
  --search-form-button-foreground: #314350;
  position: relative;
  width: 70%;
}
.search-form input {
    border: 0px solid #e9e9e9;
}
.site-search-form .search-form {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  height: var(--search-form-height);
  border: var(--search-form-border-width) solid var(--search-form-border);
  background-color: var(--search-form-background);
  -webkit-box-shadow: var(--search-form-shadow);
          box-shadow: var(--search-form-shadow);
  border-radius: var(--search-form-border-radius);
  -webkit-transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke;
  transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke;
  -webkit-transition-timing-function: var(--theme-ease-in-out);
          transition-timing-function: var(--theme-ease-in-out);
  -webkit-transition-duration: var(--theme-ease-time-fast);
          transition-duration: var(--theme-ease-time-fast);
}
.site-search-form .search-form:hover {
  background-color: var(--search-form-background-hover);
  border-color: var(--search-form-border-hover);
  -webkit-box-shadow: var(--search-form-shadow-hover);
          box-shadow: var(--search-form-shadow-hover);
}
.site-search-form .search-form:focus-within {
  background-color: var(--search-form-background-active);
  border-color: var(--search-form-border-active);
  -webkit-box-shadow: var(--search-form-shadow-active);
          box-shadow: var(--search-form-shadow-active);
}
.site-search-form .search-form:focus-within .search-input::-webkit-input-placeholder {
  color: var(--search-form-placeholder-active);
}
.site-search-form .search-form:focus-within .search-input::-moz-placeholder {
  color: var(--search-form-placeholder-active);
}
.site-search-form .search-form:focus-within .search-input:-ms-input-placeholder {
  color: var(--search-form-placeholder-active);
}
.site-search-form .search-form:focus-within .search-input::-ms-input-placeholder {
  color: var(--search-form-placeholder-active);
}
.site-search-form .search-form:focus-within .search-input::placeholder {
  color: var(--search-form-placeholder-active);
}
.site-search-form .search-form .search-input {
  width: auto;
  -webkit-box-flex: 1;
      -ms-flex: 1 0 0%;
          flex: 1 0 0%;
  height: 100%;
  color: var(--search-form-color);
  -webkit-padding-start: calc(var(--search-form-height) / 3);
          padding-inline-start: calc(var(--search-form-height) / 3);
}
.site-search-form .search-form .search-input::-webkit-input-placeholder {
  font-weight: 400;
  color: var(--search-form-placeholder);
}
.site-search-form .search-form .search-input::-moz-placeholder {
  font-weight: 400;
  color: var(--search-form-placeholder);
}
.site-search-form .search-form .search-input:-ms-input-placeholder {
  font-weight: 400;
  color: var(--search-form-placeholder);
}
.site-search-form .search-form .search-input::-ms-input-placeholder {
  font-weight: 400;
  color: var(--search-form-placeholder);
}
.site-search-form .search-form .search-input::placeholder {
  font-weight: 400;
  color: var(--search-form-placeholder);
}
.site-search-form .search-form button {
  width: var(--search-form-height);
  height: 100%;
  color: var(--search-form-button-foreground);
  background-color: var(--search-form-button-background);
  border-end-start-radius: var(--search-form-border-radius);
  border-end-end-radius: var(--search-form-border-radius);
}
.site-search-form .search-form button svg {
  width: var(--search-form-button-icon);
  height: var(--search-form-button-icon);
}
.site-search-form .search-form button:hover {
  background-color: var(--search-form-button-background-hover);
}

/* Modern Card Styles */
.card.modern-card {
    border: none;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    height: 100%;
}

.card.modern-card.large-card {
    height: 500px;
}

.card.modern-card.small-card {
    height: 400px;
}

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

.card.modern-card .card-img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.card.modern-card .card-subtitle {
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.card.modern-card .card-title {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    text-align: center;
}

.card.modern-card .card-text {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    opacity: 0.95;
}

.card.modern-card .btn {
    font-weight: 600;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
}

.card.modern-card .btn-light {
    background-color: white;
    color: #333;
}

.card.modern-card .btn-dark {
    background-color: #333;
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .card.modern-card.large-card,
    .card.modern-card.small-card {
        height: 250px;
    }
}

.feature-card {
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    /* width: 80px; 
    height: 80px;*/
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.feature-title {
    font-weight: 600;
    color: #333;
}

.feature-text {
    font-size: 0.9rem;
}
.meat-category-tab {
    font-size: 0.8rem;
}

@media (max-width: 767.98px) {
    .feature-card {
        margin-bottom: 2rem;
    }
}

.text-justify{
    text-align: justify;
}
.bg-green-primary {
    background-color: #1aa84d;
}
.green-primary {
    color: #1aa84d;
}
.feature-box-green {
    /* background: #fff; */
    padding-top: 3px;
    /* border-radius: 20px; */
    /* box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08); */
    transition: all 0.3s ease;
    /* border: 1px solid rgba(54, 120, 79, 0.25);  */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
}

/* .feature-box-green:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
    border-color: #2a8a4e;
    border-radius: 25px
} */

.feature-icon {
    /* width: 65px; */
    height: 105px;
    object-fit: contain;
    margin-bottom: 15px;
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.15));
}

.feature-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #2a2a2a;
    margin-bottom: 6px;
}

.feature-text {
    font-size: 0.95rem;
    font-weight: 700;
    color: #000;
}

/* Responsive tweaks */
@media (max-width: 767px) {
    .feature-box-green {
        padding: 22px 15px;
    }
    .feature-icon {
        width: 55px;
    }
    .section-hero .container{
        padding-left: 10px !important;
    }
}
.section-title h2,.section-heading h2{
    font-size: 25px;
}
.about-section .section-title p{
    color: #000;
}

.section-divider {
    border: 0;
    border-top: 1px solid currentcolor
}

.hover-dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
}
.dropdown-menu {
    display: none;
    position: absolute;
    background-color: white;
    border: 1px solid #ddd;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 1000;
}
.dropdown-toggle::after {
    display: inline-block;
    margin-left: 0.255em;
    vertical-align: 0.255em;
    content: "";
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-bottom: 0;
    border-left: 0.3em solid transparent;
}
.fixed-nav {
    position: sticky;
    top: 0;
    z-index: 3;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    width: 100%;
}

body.nav-fixed {
    padding-top: 50px;
}
.fixed-nav.fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
}
.offer-product-slider{
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    /* Slide content styling */
    .slide-content {
        height: 120px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .slide-content:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }

    /* Brand logo styling */
    .brand-logo {
        max-height: 80px;
        width: auto;
        object-fit: contain;
        transition: transform 0.3s ease;
        margin: 0 auto;
    }


    .brand-logo:hover {
        transform: scale(1.05);
    }
    /* Responsive adjustments */
    @media (max-width: 767.98px) {
        .slide-content {
            height: 100px;
        }
    }
}

/* Swiper container styling */
.offer-product-slider {
    overflow: visible;
}
.offer-product-slider {
    overflow: hidden;
    border-radius: 8px;
}
.offer-product-slider .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

.offer-product-slider .brand-logo {
    max-width: 100%;
    max-height: 80px; /* adjust as needed */
    object-fit: contain;
    margin: auto;
}
.offer-product-slider .swiper-slide {
    height: 100px; /* or any fixed height */
}

@media (min-width: 992px) {
    .offer-product-slider.offer-product-static {
        overflow: visible;
    }

    .offer-product-slider.offer-product-static .swiper-wrapper {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 1.5rem;
        transform: none !important;
    }

    .offer-product-slider.offer-product-static .swiper-slide {
        width: auto !important;
        height: auto;
        flex-shrink: 0;
    }
}
/* Product Header */
.product-header {
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 1.25rem;
}

/* Product Title */
.product_title {
    margin: 0;
    font-size: 24px;
    font-weight: bold;
    color: #333;
}

/* Product Meta */
.product-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 14px;
}

/* Product Rating */
.product-rating {
    display: flex;
    align-items: center;
    gap: 5px;
}

.star-rating {
    position: relative;
    display: inline-block;
    color: #ffb900;
    font-size: 14px;
}

.star-rating::before {
    content: "★★★★★";
    letter-spacing: 2px;
}

.star-rating > span {
    position: absolute;
    top: 0;
    left: 0;
    white-space: nowrap;
    overflow: hidden;
    color: #ccc;
}

.star-rating > span::before {
    content: "★★★★★";
    letter-spacing: 2px;
}

.rating-score {
    margin-left: 5px;
    color: #666;
}

/* SKU */
.product-sku {
    color: #666;
}

.product-sku span:first-child {
    font-weight: bold;
}

/* Product Stock */
.product-stock {
    color: #28a745;
    font-weight: bold;
}

.gstore-breadcrumb{
    z-index: 0 !important;
}
.quickview-double-slider{
    z-index: 0 !important;
    position: relative;
}
.meat-about-info-left {
    position: relative;
}

/* Expert box */
.expert-box {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 140px;
    height: 140px;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Main slider */
.about-main-slider img {
    height: 100%;
    object-fit: cover;
}

/* Thumbnails */
.about-thumb-slider .swiper-slide {
    width: 80px;
    height: 60px;
    opacity: 0.5;
    cursor: pointer;
}

.about-thumb-slider .swiper-slide-thumb-active {
    opacity: 1;
    border: 2px solid #1aa84d;
    border-radius: 8px;
}

.about-thumb-slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}
/* GRID */
.category-clean-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

/* CARD */
.category-clean-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px 32px;
    border: 1px solid #e9ecef;
    transition: all 0.35s ease;
    position: relative;
    text-align: center;
}

a.category-clean-card.category-clean-card--link {
    display: block;
    color: inherit;
    text-decoration: none;
}

a.category-clean-card.category-clean-card--link:focus-visible {
    outline: 2px solid #1aa84d;
    outline-offset: 3px;
}

/* Accent bar */
.category-clean-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 32px;
    right: 32px;
    height: 3px;
    background: #1aa84d;
    opacity: 0;
    transition: opacity 0.35s ease;
}

/* Hover */
.category-clean-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.08);
}

.category-clean-card:hover::before {
    opacity: 1;
}

/* TITLE */
.category-clean-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 12px;
}

/* DESCRIPTION */
.category-clean-desc {
    font-size: 0.95rem;
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 28px;
}

/* CARD + IMAGE VARIANT (secteurs homepage) */
.category-clean-card--with-image {
    padding: 0;
    overflow: hidden;
}

.category-clean-thumb {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #f1f5f9;
}

.category-clean-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.category-clean-card--with-image .category-clean-card-inner {
    padding: 28px 32px 32px;
    text-align: center;
}

.category-clean-card--with-image.category-clean-card::before {
    left: 24px;
    right: 24px;
}

/* LINK */
.category-clean-link {
    font-weight: 600;
    color: #1aa84d;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    position: relative;
}

/* RESPONSIVE */
@media (max-width: 1200px) {
    .category-clean-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .category-clean-grid {
        grid-template-columns: 1fr;
    }
}
.maps-section {
    .map-container {
        position: relative;
        height: 400px !important;
        border: 1px solid #e9ecef;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    .map-container:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
    }
    .map-overlay {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        border-top: 1px solid #e9ecef;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(5px);
    }
    iframe {
        filter: grayscale(0%) brightness(0.95);
    }
}
/* CARD */
.hero-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    background: #fff;
    transition: all 0.45s cubic-bezier(.4,0,.2,1);
}

/* IMAGE */
.hero-card .card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

/* CONTENT BLOCK */
.hero-content {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 24px;
    background: #ffffff;
    padding: 22px 26px;
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(0,0,0,0.15);
    transition: all 0.45s ease;
}

/* TITLE */
.hero-content h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 10px;
    line-height: 1.3;
}

/* LINK */
.hero-link {
    font-weight: 600;
    color: #1aa84d;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hero-link span {
    transition: transform 0.3s ease;
}

/* HOVER */
.hero-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 35px 70px rgba(0,0,0,0.18);
}

.hero-card:hover .card-img {
    transform: scale(1.06);
}

.hero-card:hover .hero-content {
    transform: translateY(-6px);
}

.hero-card:hover .hero-link span {
    transform: translateX(6px);
}

/* HEIGHTS */
.large-card {
    height: 420px;
}

.small-card {
    height: 300px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .large-card {
        height: 340px;
    }

    .small-card {
        height: 260px;
    }

    .hero-content h3 {
        font-size: 1.15rem;
    }
}
.hover-dropdown:hover .dropdown-item{
    font-size:12px !important
}
.meat-category-tab {
    transition: background-color .25s ease, color .25s ease;
}

.meat-category-tab:hover {
    background-color: #1aa84d;
    color: #fff;
}
 
/* Card Container */
.category-card {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border-radius: 16px !important;
    overflow: hidden;
    background: white;
}

/* Hover Effects */
.category-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
}

/* Image Container */
.category-card .card-img-container {
    height: 300px;
    overflow: hidden;
}

.category-card .card-img-container img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.category-card:hover .card-img-container img {
    transform: scale(1.05);
}

/* Card Body */
.category-card.card-body {
    padding: 1.5rem !important;
}

/* Card Footer */
.category-card .card-footer {
    padding-bottom: 1.5rem !important;
}

.category-card .card {
    display: flex;
    flex-direction: column;
}
.category-card .card-body {
    flex-grow: 1;
}

/* Card Body — titres lisibles sur plusieurs lignes (sans changer dimensions carte) */
.category-card .card-body h5 {
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.popular-categories-section .category-card .card-body h5 {
    font-size: 1.15rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .category-card .card-img-container {
        height: 390px;
    }
}
@media (max-width: 576px) {
    .category-card .card-body h5 {
        font-size: 1rem;
    }
}
@media (max-width: 576px) {
    .category-card .card-body, .category-card .card-footer {
        padding: 1rem !important;
    }
}

.quickview-double-slider {
    display: flex;
    align-items: center;
}

.product-thumbnail-slider {
    width: 90px;
    height: 400px;
}

.product-thumb-single {
    border: 1px solid #dfdfdf;
    padding: 8px;
    cursor: pointer;
    box-sizing: border-box;
}

.product-thumb-single.swiper-slide-thumb-active {
    border-color: #76b087;
}

.quickview-product-slider {
    flex: 1;
}
.product-thumbnail-slider {
    width: 90px;
    height: 420px; /* REQUIRED */
}
.quickview-product-slider img {
    max-height: 420px;
    object-fit: contain;
}
.quickview-double-slider {
    display: flex;
    align-items: center;
}

.product-thumbnail-slider {
    width: 90px;
    height: 420px;       /* REQUIRED for vertical swipe */
    overflow: hidden;
}

.product-thumb-single {
    border: 1px solid #dfdfdf;
    padding: 8px;
    cursor: pointer;
    box-sizing: border-box;
}

.product-thumb-single.swiper-slide-thumb-active {
    border-color: #76b087;
}
.product-thumbnail-slider {
    width: 90px;
    height: 420px;       /* REQUIRED for vertical */
    overflow: hidden;
}

.product-thumb-single {
    border: 1px solid #dfdfdf;
    padding: 8px;
    cursor: pointer;
}

.product-thumb-single.swiper-slide-thumb-active {
    border-color: #76b087;
}
.product-thumbnail-slider {
    height: 420px;       /* REQUIRED */
    overflow: hidden;
}

.product-thumbnail-slider .swiper-wrapper {
    height: 100%;
}
#devisModal .form-control {
    border: var(--bs-border-width) solid #76b087 !important;
}
.card.card-link:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
    border-color: #2a8a4e;
    border-radius: 20px;
}
/* GENERAL — reset bootstrap dropdown behavior */
.dropdown-menu {
    display: none !important;
    position: absolute !important;
}

/* LEVEL 1: when hovering main category */
.hover-dropdown:hover > .dropdown-menu {
    display: block !important;
}

/* LEVEL 2, 3, 4...: when hovering items with submenu */
.dropdown-submenu:hover > .dropdown-menu {
    display: block !important;
}

/* Submenu positioning (opens to the right) */
.dropdown-submenu {
    position: relative !important;
}

.dropdown-submenu > .dropdown-menu {
    top: 0 !important;
    left: 100% !important;
    margin-left: 0 !important;
    margin-top: -1px !important;
}
.short-description p, .product-info-tab p{
    text-align: justify !important;
    text-justify: inter-word;
    word-break: break-word;
}
.short-description ul {
    list-style-type: disc !important;
    padding-left: 20px !important; 
    margin: 1em 0 !important;
}

.short-description li {
    margin-bottom: 0.5em;
    word-break: break-word;
}
/* ─── Hero Section Cards ─────────────────────────────────────── */

.card.modern-card.large-card,
.card.modern-card.small-card {
    height: unset;
}

.card.modern-card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.hero-card-lg {
    height: 380px;
}

.hero-card-sm {
    height: 260px;
}

.card.modern-card .card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.72) 0%,
        rgba(255, 255, 255, 0.15) 50%,
        rgba(255, 255, 255, 0.0) 100%
    );
    z-index: 1;
    pointer-events: none;
}

.card.modern-card .card-img-overlay {
    z-index: 2;
}

/* ─── Hero Card Titles ───────────────────────────────────────── */
.card.modern-card .hero-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
    text-align: center;
    color: #000;
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.6);
}

.card.card-link {
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.card.card-link:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
    border-radius: 12px;
}

.card.card-link:hover .card-img {
    transform: scale(1.05);
}

/* ─── Responsive ─────────────────────────────────────────────── */

@media (max-width: 960px) {
    .hero-card-lg { height: 300px; }
    .hero-card-sm { height: 200px; }

    .card.modern-card .hero-card-title { font-size: 0.9rem; }
    .card.modern-card .hero-card-title-small { font-size: 0.75rem; }
}

@media (max-width: 768px) {
    .hero-card-lg { height: 300px; }
    .hero-card-sm { height: 200px; }

    .card.modern-card .hero-card-title { font-size: 0.9rem; }
    .card.modern-card .hero-card-title-small { font-size: 0.75rem; }
}

@media (max-width: 576px) {
    .section-hero .col-12.col-sm-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .hero-card-lg { height: 220px; }
    .hero-card-sm { height: 160px; }

    .card.modern-card .hero-card-title { font-size: 1.25rem; line-height: 1.25; }
    .card.modern-card .hero-card-title-small { font-size: 1.0rem; line-height: 1.2; }
}
/* ─── About Section ──────────────────────────────────────────── */

.meat-about-info-left {
    height: 100%;
}

.about-main-slider {
    height: calc(100% - 70px);
    max-height: 520px;
}

.about-main-img {
    height: 100%;
    max-height: 520px;
    object-fit: cover;
}

.about-thumb-slider {
    height: 60px;
}

.about-thumb-slider .swiper-slide {
    width: 72px;
    height: 56px;
    opacity: 0.5;
    cursor: pointer;
    border-radius: 6px;
    overflow: hidden;
}

.about-thumb-slider .swiper-slide-thumb-active {
    opacity: 1;
    border: 2px solid #1aa84d;
}

.about-thumb-slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Feature icons */
.feature-box-green .feature-icon {
    height: 120px;
    width: auto;
    object-fit: contain;
}

/* Icon boxes */
.horizontal-icon-box {
    transition: box-shadow 0.3s ease;
}

.horizontal-icon-box:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1) !important;
}

/* ─── Responsive ─────────────────────────────────────────────── */

@media (max-width: 992px) {
    .about-main-slider { max-height: 380px; }
    .about-main-img    { max-height: 380px; }
}

@media (max-width: 768px) {
    .about-main-slider { max-height: 420px; }
    .about-main-img    { height: 420px; max-height: 420px; }

    .horizontal-icon-box {
        flex-direction: column;
        align-items: flex-start !important;
    }
}

@media (max-width: 576px) {
    .about-main-slider { max-height: 400px; }
    .about-main-img    { height: 400px; max-height: 400px; }

    .feature-box-green .feature-icon {
        height: 50px;
    }
}
/* ─── Popular Categories Section ─────────────────────────────── */

/* Tabs wrapper — scrollable on mobile */
.category-tabs-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.category-tabs-wrapper::-webkit-scrollbar {
    display: none;
}

.category-tabs-wrapper .list-group {
    flex-wrap: nowrap; /* single scrollable row on mobile */
    min-width: max-content;
}

/* Tab pills */
.meat-category-tab {
    white-space: nowrap;
    font-size: 0.85rem;
    padding: 6px 14px;
    border-radius: 5px;
    border: 1px solid #e2e8f0;
    color: #333;
    text-decoration: none;
    transition: background-color 0.25s ease, color 0.25s ease;
}

.meat-category-tab:hover,
.meat-category-tab.active {
    background-color: #1aa84d;
    color: #fff;
    border-color: #1aa84d;
}

/* Category card thumbnail */
.category-thumb-img {
    height: 140px;
    width: 100%;
    object-fit: contain;
}

/* ─── Responsive ─────────────────────────────────────────────── */

@media (max-width: 768px) {
    .category-thumb-img {
        height: 110px;
    }
}

@media (max-width: 576px) {
    .category-thumb-img {
        height: 90px;
    }

    .card-content .card-title {
        font-size: 0.8rem;
    }
}
/* ─── Best Deals / Tags Section ─────────────────────────────── */

@media (max-width: 768px) {
    .section-heading h2 {
        font-size: 1.5rem;
    }

    .category-clean-card {
        padding: 24px 20px;
    }

    .category-clean-title {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .section-heading h2 {
        font-size: 1.25rem;
    }

    .category-clean-card {
        padding: 18px 16px;
    }

    .category-clean-title {
        font-size: 1rem;
    }
}
/* ─── Contact Section ────────────────────────────────────────── */

.contact-left-box {
    padding: 2rem;
}

.contact-form {
    padding: 2rem !important;
}

/* ─── Maps Section ───────────────────────────────────────────── */

.maps-section .map-container {
    min-height: 400px;
}

.maps-section iframe {
    display: block;
    height: 300px;
    width: 100%;
}

/* ─── Responsive ─────────────────────────────────────────────── */

@media (max-width: 1200px) {
    /* Contact left stacks above form */
    .contact-left-box {
        padding: 1.75rem;
    }
}

@media (max-width: 768px) {
    .contact-left-box {
        padding: 1.5rem;
    }

    .contact-form {
        padding: 1.5rem !important;
    }

    /* Maps stack to full width — col-lg-6 handles this,
       but reduce height so they don't dominate the page */
    .maps-section iframe {
        height: 250px;
    }

    .maps-section .map-container {
        min-height: unset;
    }
}

@media (max-width: 576px) {
    .contact-left-box {
        padding: 1.25rem;
    }

    .contact-form {
        padding: 1rem !important;
    }

    .maps-section iframe {
        height: 220px;
    }
   
}
/* ─── Footer ─────────────────────────────────────────────────── */

.subscribe_form {
    border: 1px solid #e2e8f0;
    overflow: hidden;
}

.subscribe_form .form-control {
    min-width: 0;
    flex: 1;
    box-shadow: none;
}

.subscribe_form .btn {
    white-space: nowrap;
}

.footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav li {
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.footer-nav a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

.footer-nav a:hover {
    color: #1aa84d;
}

.copyright-text {
    font-size: 0.85rem;
}

/* ─── Footer Accordion (mobile only) ────────────────────────── */

.footer-acc-item {
    border-bottom: 1px solid #e2e8f0;
}

.footer-acc-toggle {
    width: 100%;
    background: none;
    border: none;
    padding: 14px 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: inherit;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    text-align: left;
}

.footer-acc-toggle.active {
    color: #1aa84d;
}

.footer-acc-icon {
    font-size: 0.75rem;
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

.footer-acc-icon.rotated {
    transform: rotate(180deg);
}

.footer-acc-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.footer-acc-body.open {
    max-height: 400px;
}

/* ─── Responsive ─────────────────────────────────────────────── */

@media (max-width: 576px) {
    .footer-widget h5 {
        font-size: 0.95rem;
    }

    .footer-nav li {
        font-size: 0.82rem;
    }

    .copyright-text {
        font-size: 0.78rem;
    }
}
/* ─── Fixed Nav ──────────────────────────────────────────────── */
.fixed-nav {
    position: sticky;
    top: 0;
    z-index: 900;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    animation: headerSlideDown 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes headerSlideDown {
    from {
        opacity: 0;
        transform: translateY(-12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ─── Top Bar ────────────────────────────────────────────────── */
.top-bar {
    border-color: #e2e8f0 !important;
    font-size: 0.8rem;
    max-height: 60px;
    overflow: hidden;
    opacity: 1;
    transition:
        max-height 0.4s cubic-bezier(0.22, 1, 0.36, 1),
        opacity    0.3s ease,
        padding    0.3s ease;
}

.top-bar.topbar-hidden {
    max-height: 0;
    opacity: 0;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.top-bar a,
.top-bar span {
    color: #444 !important;
    text-decoration: none;
    transition: color 0.2s ease;
}

.top-bar a:hover {
    color: #1aa84d !important;
}

/* Truncate long email */
.topbar-email-text {
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
    vertical-align: middle;
}

/* ─── Main Header compact on scroll ─────────────────────────── */
.fixed-nav .main-header {
    transition: padding 0.3s ease;
}

.fixed-nav.nav-scrolled-down .main-header {
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
}

/* ─── Mobile Search Bar ──────────────────────────────────────── */
.mobile-search-bar {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-search-bar.search-open {
    max-height: 80px;
}

/* ─── Mobile Menu Drawer ─────────────────────────────────────── */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -320px;
    width: 320px;
    max-width: 85vw;
    height: 100vh;
    background: #fff;
    z-index: 1050;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.15);
    transition: left 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.mobile-menu.open {
    left: 0;
}

.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    z-index: 1040;
    backdrop-filter: blur(2px);
}

.mobile-overlay.show {
    visibility: visible;
    opacity: 1;
}

/* ─── Mobile Nav Links ───────────────────────────────────────── */
.mobile-nav-link {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #222;
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.2s ease, color 0.2s ease;
    background: none;
    border: none;
    width: 100%;
}

.mobile-nav-link:hover {
    background: #f0faf4;
    color: #1aa84d;
}

.mobile-nav-sub {
    padding: 4px 0 8px 36px;
    margin: 0;
}

.mobile-nav-sub-link {
    display: block;
    padding: 8px 12px;
    font-size: 0.85rem;
    color: #555;
    text-decoration: none;
    border-radius: 6px;
    transition: background 0.2s ease, color 0.2s ease;
}

.mobile-nav-sub-link:hover {
    background: #f0faf4;
    color: #1aa84d;
}

.mobile-nav-chevron {
    font-size: 0.7rem;
    transition: transform 0.25s ease;
    color: #aaa;
    flex-shrink: 0;
}

.mobile-nav-chevron.rotated {
    transform: rotate(180deg);
}

.accordion-item {
    border: none !important;
    border-bottom: 1px solid #f1f5f9 !important;
}

/* ─── Responsive ─────────────────────────────────────────────── */
@media (max-width: 991px) {
    .top-bar { font-size: 0.75rem; }
    .top-bar .container { gap: 0.5rem; }
}

@media (max-width: 576px) {
    .top-bar {
        max-height: 80px;
        font-size: 0.72rem;
    }

    /* On mobile: left-align, no justify-content-between gap */
    .top-bar .container {
        justify-content: flex-start !important;
        gap: 10px !important;
    }

    .topbar-email-text {
        max-width: 120px;
    }

    .top-bar.topbar-hidden {
        max-height: 0;
        opacity: 0;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }
}
/* ─── Cart Dropdown Wrapper ──────────────────────────────────── */
.cart-box-wrapper {
    position: absolute;
    width: 360px;
    top: calc(100% + 10px);
    right: -50px;
    padding-top: 12px;
    z-index: 1031;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition:
        opacity    0.25s ease,
        visibility 0.25s ease,
        transform  0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.gshop-header-cart:hover .cart-box-wrapper {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    top: calc(100% + 10px);
}

/* ─── Cart Box ───────────────────────────────────────────────── */
.apt_cart_box {
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.08),
        0 20px 40px -8px rgba(0, 0, 0, 0.12);
    border: 1px solid #f1f5f9;
}

/* Arrow pointer */
.apt_cart_box::before {
    content: '';
    position: absolute;
    top: 4px;
    right: 25px;
    width: 12px;
    height: 12px;
    background: #fff;
    border-left: 1px solid #f1f5f9;
    border-top: 1px solid #f1f5f9;
    transform: rotate(45deg);
}

/* ─── Cart Items List ────────────────────────────────────────── */
.cart-navbar-wrapper {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 300px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #e2e8f0 transparent;
}

.cart-navbar-wrapper::-webkit-scrollbar {
    width: 4px;
}

.cart-navbar-wrapper::-webkit-scrollbar-track {
    background: transparent;
}

.cart-navbar-wrapper::-webkit-scrollbar-thumb {
    background: #e2e8f0;
    border-radius: 4px;
}

/* ─── Cart Item ──────────────────────────────────────────────── */
.cart-item {
    transition: background 0.2s ease;
    border-radius: 8px;
    padding-left: 6px !important;
    padding-right: 6px !important;
}

.cart-item:hover {
    background: #f8fafc;
}

/* Thumbnail */
.cart-item-thumb {
    width: 58px;
    height: 58px;
    flex-shrink: 0;
    display: block;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
}

.cart-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.cart-item-thumb:hover img {
    transform: scale(1.06);
}

/* Name */
.cart-item-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 220px;
    transition: color 0.2s ease;
}

.cart-item-name:hover {
    color: #1aa84d !important;
}

/* Variation badges */
.cart-item-variants {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.cart-item-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 500;
    color: #64748b;
    background: #f1f5f9;
    border-radius: 4px;
    padding: 1px 6px;
}

/* Price */
.cart-item-price {
    font-size: 0.88rem;
}

/* Qty */
.cart-item-qty {
    font-size: 0.8rem;
    font-weight: 500;
    color: #94a3b8;
}

/* Delete button */
.cart-item-delete {
    background: none;
    border: none;
    padding: 4px 6px;
    border-radius: 6px;
    color: rgba(239, 68, 68, 0.5);
    font-size: 0.8rem;
    cursor: pointer;
    transition: color 0.2s ease, background 0.2s ease;
    line-height: 1;
}

.cart-item-delete:hover {
    color: #ef4444;
    background: #fef2f2;
}

/* ─── Empty Cart ─────────────────────────────────────────────── */
.cart-empty {
    list-style: none;
}

/* ─── Cart Footer ────────────────────────────────────────────── */
.apt_cart_box .border-top {
    border-color: #f1f5f9 !important;
}

/* ─── Cart Box Variant 2 (no shadow) ────────────────────────── */
.cart-box-wrapper-2 .apt_cart_box {
    box-shadow: none;
    background: none;
    border: none;
}

/* ─── Responsive ─────────────────────────────────────────────── */
@media (max-width: 480px) {
    .cart-box-wrapper {
        width: calc(100vw - 24px);
        right: -10px;
    }
}
/* ─── Bottom Toolbar ─────────────────────────────────────────── */
.bottom-toolbar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1029;
    background: #fff;
    border-top: 1px solid #e2e8f0;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
    height: 64px;
    display: flex;
    align-items: stretch;
    padding-bottom: env(safe-area-inset-bottom);
}

.bottom-toolbar-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: #64748b;
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px 4px 6px;
    transition: color 0.2s ease, background 0.2s ease;
    position: relative;
    -webkit-tap-highlight-color: transparent;
    min-width: 0;
}

.bottom-toolbar-item:hover,
.bottom-toolbar-item:active {
    color: #1aa84d;
    background: #f0faf4;
}

.bottom-toolbar-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    position: relative;
    flex-shrink: 0;
}

.bottom-toolbar-icon svg,
.bottom-toolbar-icon i {
    width: 20px;
    height: 20px;
    font-size: 18px;
}

.bottom-toolbar-label {
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    line-height: 1.2;
    text-align: center;
}

.bottom-toolbar-badge {
    position: absolute;
    top: -4px;
    right: -6px;
    min-width: 15px;
    height: 15px;
    background: #1aa84d;
    color: #fff;
    font-size: 0.55rem;
    font-weight: 700;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
    line-height: 1;
}

body {
    padding-bottom: calc(64px + env(safe-area-inset-bottom));
}

@media (min-width: 992px) {
    body { padding-bottom: 0; }
    .bottom-toolbar { display: none !important; }
}

/* Very small screens (≤360px) */
@media (max-width: 360px) {
    .bottom-toolbar-label {
        font-size: 0.55rem;
    }
    .bottom-toolbar-icon svg,
    .bottom-toolbar-icon i {
        width: 18px;
        height: 18px;
        font-size: 16px;
    }
}

/* ─── Bottom Search Panel ────────────────────────────────────── */
.bottom-search-panel {
    position: fixed;
    bottom: calc(60px + env(safe-area-inset-bottom));
    left: 0;
    right: 0;
    z-index: 1028;
    background: #fff;
    border-top: 1px solid #e2e8f0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(100%);
    opacity: 0;
    transition:
        transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
        opacity   0.25s ease;
    pointer-events: none;
}

.bottom-search-panel.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
}

.bottom-search-inner {
    padding: 12px 16px;
}

.bottom-search-inner .form-control {
    border-radius: 8px;
    border-color: #e2e8f0;
    font-size: 0.9rem;
}

.bottom-search-inner .form-control:focus {
    border-color: #1aa84d;
    box-shadow: 0 0 0 3px rgba(26, 168, 77, 0.1);
}
/* ─── Category Bottom Sheet ──────────────────────────────────── */
.category-sheet-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1055;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    backdrop-filter: blur(2px);
}

.category-sheet-backdrop.open {
    opacity: 1;
    visibility: visible;
}

.category-sheet {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1056;
    background: #fff;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    max-height: 75vh;
    display: flex;
    flex-direction: column;
    padding-bottom: env(safe-area-inset-bottom);
}

.category-sheet.open {
    transform: translateY(0);
}

/* Drag handle */
.category-sheet-handle {
    width: 40px;
    height: 4px;
    background: #e2e8f0;
    border-radius: 4px;
    margin: 10px auto 0;
    flex-shrink: 0;
}

/* Header */
.category-sheet-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px 10px;
    border-bottom: 1px solid #f1f5f9;
    flex-shrink: 0;
}

.category-sheet-close {
    background: #f1f5f9;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: #64748b;
    cursor: pointer;
    transition: background 0.2s ease;
}

.category-sheet-close:hover {
    background: #e2e8f0;
}

/* Body */
.category-sheet-body {
    overflow-y: auto;
    flex: 1;
    padding: 8px 0 16px;
    scrollbar-width: none;
}

.category-sheet-body::-webkit-scrollbar {
    display: none;
}

/* Item */
.category-sheet-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 20px;
    text-decoration: none;
    color: #1e293b;
    transition: background 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.category-sheet-item:hover,
.category-sheet-item:active {
    background: #f0faf4;
    color: #1aa84d;
}

/* Thumbnail */
.category-sheet-thumb {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-sheet-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.category-sheet-item:hover .category-sheet-thumb img {
    transform: scale(1.08);
}

/* Name */
.category-sheet-name {
    flex: 1;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.3;
}

/* Arrow */
.category-sheet-arrow {
    font-size: 0.7rem;
    color: #cbd5e1;
    transition: transform 0.2s ease, color 0.2s ease;
}

.category-sheet-item:hover .category-sheet-arrow {
    transform: translateX(3px);
    color: #1aa84d;
}

.add-to-cart-btn,.demander_devis_text{
    font-size: 12px;
}
/* ─── Product Detail Page ────────────────────────────────────── */

/* Tabs scrollable on mobile */
.product-tabs-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.product-tabs-scroll::-webkit-scrollbar {
    display: none;
}

.product-tabs-scroll .nav-tabs {
    min-width: max-content;
}

/* Action buttons full width on mobile */
@media (max-width: 576px) {
    .add-to-cart-form .d-flex.flex-wrap {
        gap: 8px !important;
    }

    .add-to-cart-form .btn.flex-grow-1 {
        min-width: calc(50% - 4px);
    }

    .product-qty {
        width: 100%;
        justify-content: center;
    }

    /* Video responsive */
    .ratio iframe,
    .ratio video {
        border-radius: 8px;
    }
}

/* Meta badges */
.product-meta-tags .badge {
    font-weight: 500;
    font-size: 0.78rem;
    padding: 4px 8px;
    transition: background 0.2s ease, color 0.2s ease;
}

.product-meta-tags .badge:hover {
    background: #f0faf4 !important;
    color: #1aa84d !important;
    border-color: #1aa84d !important;
}
/* ─── Related Products ───────────────────────────────────────── */
.related-product-slider {
    border-top: 1px solid #f1f5f9;
}

/* Nav buttons */
.rl-slider-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #64748b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.rl-slider-btn:hover {
    background: #1aa84d;
    border-color: #1aa84d;
    color: #fff;
}

.rl-slider-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

@media (max-width: 576px) {
    .related-product-slider .section-title h2 {
        font-size: 0.95rem;
    }

    .rl-slider-btn {
        width: 30px;
        height: 30px;
        font-size: 0.7rem;
    }
}
.img-fluid-logo {
    max-height: 70px;
}

@media (max-width: 991px) {
    .img-fluid-logo {
        max-height: 40px;
    }
}

@media (max-width: 991px) {
    .short-description p,
    .short-description li,
    .short-description span,
    .short-description div,
    .product-info-tab p,
    .product-info-tab li,
    .product-info-tab span,
    .product-info-tab td,
    .product-info-tab div,
    .description-p p {
        font-size: 12px !important;
    }
}
.mobile-menu-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
}

@media (min-width: 992px) {
    .mobile-menu-btn {
        display: none !important;
    }
}
/* ─── Cart Page ──────────────────────────────────────────────── */
.cart-table thead th {
    white-space: nowrap;
    font-size: 0.85rem;
    padding: 12px 16px;
}

.cart-summery {
    border: 1px solid #f1f5f9;
}

@media (max-width: 576px) {
    .cart-table thead th,
    .cart-table tbody td {
        font-size: 0.78rem;
        padding: 8px 10px;
    }

    .cart-summery h5 {
        font-size: 1rem;
    }
}
/* ─── Cart Listing Image ─────────────────────────────────────── */
.cart-img-wrap {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    flex-shrink: 0;
}

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

@media (max-width: 576px) {
    .cart-img-wrap {
        width: 50px;
        height: 50px;
        border-radius: 6px;
    }
}
/* ─── Cart Table ─────────────────────────────────────────────── */
.cart-table thead th {
    white-space: nowrap;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 14px 16px;
    border-bottom: 2px solid #f1f5f9;
}

.cart-row td {
    padding: 16px;
    vertical-align: middle;
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.2s ease;
}

.cart-row:hover td {
    background: #fafcff;
}

/* ─── Desktop Image ──────────────────────────────────────────── */
.cart-img-wrap {
    display: block;
    width: 72px;
    height: 72px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    flex-shrink: 0;
}

.cart-listing-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.cart-img-wrap:hover .cart-listing-img {
    transform: scale(1.06);
}

/* ─── Product Name ───────────────────────────────────────────── */
.cart-product-name {
    font-size: 0.88rem;
    font-weight: 600;
    color: #1e293b;
    text-decoration: none;
    display: block;
    line-height: 1.35;
    transition: color 0.2s ease;
}

.cart-product-name:hover {
    color: #1aa84d;
}

/* ─── Variant Badges ─────────────────────────────────────────── */
.cart-variants {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.cart-variant-badge {
    font-size: 0.7rem;
    font-weight: 500;
    color: #64748b;
    background: #f1f5f9;
    border-radius: 4px;
    padding: 2px 7px;
    display: inline-block;
}

/* ─── Price ──────────────────────────────────────────────────── */
.cart-price {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1e293b;
}

/* ─── Delete Button ──────────────────────────────────────────── */
.cart-delete-btn {
    background: none;
    border: none;
    padding: 6px 8px;
    border-radius: 6px;
    color: rgba(239, 68, 68, 0.5);
    font-size: 0.85rem;
    cursor: pointer;
    transition: color 0.2s ease, background 0.2s ease;
    line-height: 1;
}

.cart-delete-btn:hover {
    color: #ef4444;
    background: #fef2f2;
}

/* ─── Mobile Card ────────────────────────────────────────────── */
.cart-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 16px;
    border-bottom: 1px solid #f1f5f9;
    background: #fff;
    transition: background 0.2s ease;
}

.cart-card:active {
    background: #fafcff;
}

.cart-card-img-wrap {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    flex-shrink: 0;
    display: block;
}

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

.cart-card-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

/* Smaller qty controls on mobile */
.cart-qty-sm input {
    width: 32px !important;
    font-size: 0.8rem;
}

.cart-qty-sm .decrese,
.cart-qty-sm .increase {
    width: 26px !important;
    height: 26px !important;
    font-size: 0.9rem;
}
/* ─── Live Search Dropdown ───────────────────────────────────── */
.live-search-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 1100;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
    max-height: 400px;
    overflow-y: auto;
}

.live-search-dropdown.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.live-search-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    text-decoration: none;
    color: #1e293b;
    transition: background 0.15s ease;
    border-bottom: 1px solid #f1f5f9;
}

.live-search-item:last-of-type {
    border-bottom: none;
}

.live-search-item:hover {
    background: #f0faf4;
}

.live-search-img {
    width: 46px;
    height: 46px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
}

.live-search-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.live-search-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.live-search-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: #1e293b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 280px;
}

.live-search-price {
    font-size: 0.78rem;
    font-weight: 700;
    color: #1aa84d;
}

.live-search-all {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 11px 14px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #1aa84d;
    text-decoration: none;
    background: #f0faf4;
    border-top: 1px solid #e2e8f0;
    transition: background 0.15s ease;
}

.live-search-all:hover {
    background: #dcfce7;
    color: #15803d;
}

.live-search-loading {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    font-size: 0.85rem;
    color: #64748b;
}

.live-search-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid #e2e8f0;
    border-top-color: #1aa84d;
    border-radius: 50%;
    animation: liveSearchSpin 0.6s linear infinite;
    flex-shrink: 0;
}

@keyframes liveSearchSpin {
    to { transform: rotate(360deg); }
}

.live-search-empty {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px;
    font-size: 0.85rem;
    color: #94a3b8;
}

@media (max-width: 991px) {
    .live-search-dropdown {
        border-radius: 8px;
        top: calc(100% + 4px);
    }

    .live-search-name {
        max-width: 200px;
    }

    .live-search-item {
        padding: 8px 12px;
    }

    .live-search-img {
        width: 38px;
        height: 38px;
    }
}
/* Bottom search opens upward */
#bottomSearchDropdown {
    top: auto;
    bottom: calc(100% + 8px);
    transform: translateY(6px);
}

#bottomSearchDropdown.open {
    transform: translateY(0);
}
/* Product listing — keep 312×300 thumbnail proportions in grid and list views */
.vertical-product-card .thumbnail img.img-fluid,
.hr-product .thumbnail img.img-fluid {
    height: auto !important;
    object-fit: contain;
}

/*hero section*/
.section-hero {
  width: 100%;
  height: auto;
  overflow: hidden;
  background: #fff;
  padding: .85rem 0 1.25rem;
  display: flex;
  justify-content: center;
  align-items: stretch;
}

.hero-inner {
  width: min(90%, 1320px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
  gap: clamp(12px, 1.6vw, 25px);
  min-height: 0;
}

.cat-card {
  position: relative;
  display: block;
  text-decoration: none;
  border-radius: 12px;
  overflow: hidden;
  background: #d4dfe6;
  min-height: 0;
  aspect-ratio: 3 / 2;
  transition: transform .28s, box-shadow .28s;
}
.cat-card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(0,0,0,.13); }

.cat-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .55s ease;
}
.cat-card:hover img { transform: scale(1.04); }

.cat-info { position: absolute; top: 0; left: 0; right: 0; padding: .8rem .95rem; z-index: 2;}

/* ✅ FIX: clamp() adapts font size to screen width automatically */
.cat-title { text-align: center; font-size: clamp(.6rem, 1.1vw, 1.1rem); font-weight: 700; color: #000; line-height: 1.3; max-width: 90%; }

.cat-link { position: absolute; bottom: .75rem; left: .85rem; right: .85rem; display: inline-flex; align-items: center; gap: 5px; font-size: clamp(.65rem, .85vw, .9rem); font-weight: 600; color: #fff; background: #20a652; padding: 4px 11px; border-radius: 20px; opacity: 0; transform: translateY(5px); transition: opacity .25s, transform .25s; z-index: 2; text-decoration: none; max-width: calc(100% - 1.7rem); line-height: 1.25; }
.cat-link::after { content: ' →'; }
.cat-card:hover .cat-link { opacity: 1; transform: translateY(0); }

/* ✅ TABLET: 2 cols */
@media (max-width: 1024px) {
    .section-hero {
        height: auto;
        overflow: visible;
        padding: .8rem 0;
    }

    .hero-inner {
        width: 94%;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
        gap: 12px;
    }

    .cat-card {
        aspect-ratio: 3 / 2;
    }

    .cat-title {
        font-size: clamp(.65rem, 2.5vw, .9rem);
    }

    .cat-link {
        font-size: clamp(.58rem, 2vw, .75rem);
    }
}

/* ✅ MOBILE: 1 col */
@media (max-width: 480px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .cat-card {
        aspect-ratio: 16 / 9;
    }

    .cat-title {
        font-size: clamp(.7rem, 3.5vw, .85rem);
    }

    .cat-link {
        font-size: .65rem;
    }
}

/* Large screens: cap grid width so cards keep natural proportions */
@media (min-width: 1400px) {
    .hero-inner {
        width: min(92%, 1280px);
    }
}

/* small laptop */
@media (max-width: 1199.98px) {
    .cat-link {
        font-size: .6rem;
    }

    header nav .menu-link {
        font-size: 0.6rem !important;
    }

    .padding-bottom-fix {
        padding-bottom: 0.1rem !important;
    }
}

@media (min-width: 1200px) {
    header nav .menu-link {
        font-size: 0.85rem !important;
    }
}
