/* Ganesh Flowers — hero banner overrides (remove default green grocery theme) */

/* ── Shree Ganesh Flowers brand palette ── */
:root {
    --gf-brand-primary: #B00063;
    --gf-brand-royal-pink: #D5005C;
    --gf-brand-secondary: #F00862;
    --gf-brand-red-orange: #F53A1D;
    --gf-brand-accent: #FF6A1A;
    --gf-brand-highlight: #FFC34D;
    --gf-brand-gold-light: #FFE6A3;
    --gf-brand-green: #177A35;
    --gf-brand-gradient: linear-gradient(90deg, #B00063 0%, #D5005C 20%, #F00862 40%, #F53A1D 70%, #FF6A1A 100%);
    --gf-brand-gradient-hover: linear-gradient(90deg, #8B004D 0%, #B00063 20%, #D5005C 40%, #F53A1D 70%, #FF6A1A 100%);
    --gf-brand-gold-gradient: linear-gradient(180deg, #FFE6A3 0%, #FFC34D 45%, #FF8A00 100%);
    --gf-brand-tint: #FFF5FA;
    --gf-brand-tint-border: rgba(176, 0, 99, 0.18);

    /* Remap grocery theme tokens */
    --skinColor: var(--gf-brand-primary);
    --skinColor2: var(--gf-brand-accent);
    --skinColor3: var(--gf-brand-secondary);
    --skinLightColor: rgba(176, 0, 99, 0.1);
}

/* Theme buttons & accents (override admin theme inline colors) */
.top-header-section,
.header-top-section {
    background: var(--gf-brand-primary) !important;
}

.gf-google-review-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 30px;
    padding: 4px 10px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    color: #fff !important;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.gf-google-review-link:hover,
.gf-google-review-link:focus-visible {
    border-color: rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.13);
    color: #fff !important;
    transform: translateY(-1px);
}

.gf-google-review-link__stars {
    color: #ffd45d;
    font-size: 11px;
    letter-spacing: -1px;
}

@media (max-width: 576px) {
    .gf-google-review-link {
        padding-inline: 8px;
        font-size: 11px;
    }

    .gf-google-review-link__stars {
        display: none;
    }
}

.fsh-btn-warning,
.ec-btn-success,
.ec2-btn-success,
.ec-sm2-btn-success,
.mi-btn-dark,
.mib2-btn-dark,
.mega-menu-btn,
.cab2-btn-skin,
.cab3-btn-skin,
.fsh-sm-btn-warning,
.fsh-progress-md .progress-bar,
.top-profile-images .slick-dots li.slick-active {
    background: var(--gf-brand-gradient) !important;
    color: #fff !important;
    border-color: transparent !important;
}

.fsh-btn-warning:hover,
.ec-btn-success:hover,
.ec2-btn-success:hover,
.ec-sm2-btn-success:hover,
.mega-menu-btn:hover,
.ec-btn-white:hover,
.ca-btn-outline-dark:hover,
.cab2-btn-skin:hover {
    background: var(--gf-brand-gradient-hover) !important;
    color: #fff !important;
}

.ec-btn-dark,
.fsh-btn-dark,
.fsh-sm-btn-dark,
.ec-sm2-btn-dark,
.ca-btn-skin {
    background-color: var(--gf-brand-green) !important;
    color: #fff !important;
}

.ec-btn-dark:hover,
.fsh-btn-dark:hover,
.fsh-sm-btn-dark:hover,
.ec-sm2-btn-dark:hover {
    background-color: #125f2b !important;
    color: #fff !important;
}

.icontext-link:hover .dark-circle-badge {
    background: var(--gf-brand-primary) !important;
}

.header-menuitem-a.active {
    color: var(--gf-brand-primary) !important;
}

.header-menuitem-a:hover {
    color: var(--gf-brand-secondary) !important;
}

.gf-primary-nav {
    column-gap: clamp(14px, 1.4vw, 24px) !important;
    flex-wrap: nowrap !important;
    white-space: nowrap;
}

.gf-primary-nav > li {
    flex: 0 0 auto;
}

.gf-primary-nav .header-menuitem-a {
    white-space: nowrap;
}

.gf-header-more {
    position: relative;
}

.gf-header-more__toggle {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border: 0;
    background: transparent;
    font: inherit;
    cursor: pointer;
}

.gf-header-more__toggle span {
    display: inline-block;
    font-size: 15px;
    transition: transform .2s ease;
}

.gf-header-more__menu {
    position: absolute;
    z-index: 1050;
    top: calc(100% + 8px);
    right: 0;
    min-width: 210px;
    padding: 10px;
    border: 1px solid rgba(15, 19, 17, .1);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(15, 19, 17, .14);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}

.gf-header-more:hover .gf-header-more__menu,
.gf-header-more:focus-within .gf-header-more__menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.gf-header-more:hover .gf-header-more__toggle span,
.gf-header-more:focus-within .gf-header-more__toggle span {
    transform: rotate(180deg);
}

.gf-header-more__menu a {
    display: block;
    padding: 10px 12px;
    border-radius: 9px;
    color: #25282b;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    text-decoration: none;
}

.gf-header-more__menu a:hover,
.gf-header-more__menu a.active {
    background: var(--gf-brand-tint);
    color: var(--gf-brand-primary);
}

@media (min-width: 992px) and (max-width: 1399.98px) {
    .gf-logo-header-bar > .d-none.d-lg-block {
        flex: 1 1 auto;
        width: auto;
        max-width: none;
    }

    .gf-logo-header-bar .mega-menu-btn-wrap {
        display: none;
    }

    .gf-logo-header-bar .gf-primary-nav {
        column-gap: clamp(12px, 1.7vw, 20px) !important;
    }

    .gf-logo-header-bar .gf-primary-nav .header-menuitem-a {
        font-size: 13px;
    }
}

.product-card-btn:hover,
.ft-nav-link:hover {
    color: var(--gf-brand-primary) !important;
}

.section-title span,
.shape-title,
.al-title-highlight {
    background: var(--gf-brand-gradient) !important;
    background-clip: text !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

.commonDivHidden .smallDeviceShow {
    background: var(--darkColor) !important;
}

.commonDivHidden .smallDeviceShow li a:hover,
.commonDivHidden .smallDeviceShow li.active a {
    color: var(--gf-brand-highlight) !important;
}

.swiper-pagination-bullet-active,
.category-slider .swiper-pagination-bullet-active,
.hero-banner-slider-pagination .swiper-pagination-bullet-active {
    background: var(--gf-brand-gradient) !important;
}

/* Pooja Categories — uniform card + square image (all breakpoints) */
.gf-pooja-categories {
    padding-top: 8px;
    padding-bottom: 8px;
}

.gf-pooja-categories__title {
    text-align: center;
    margin-bottom: 6px;
}

.gf-pooja-categories__subtitle {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
    color: #6b7280;
    text-align: center;
}

.gf-pooja-categories .category-slider {
    padding-bottom: 48px;
}

.gf-pooja-categories .category-slider .swiper-wrapper {
    align-items: stretch;
}

.gf-pooja-categories .category-slider .swiper-slide {
    height: auto;
    display: flex;
}

.gf-pooja-categories .category-item {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: none;
    border: none;
}

.gf-pooja-categories .category-slider .category-img {
    flex: 0 0 auto;
    box-sizing: border-box;
    width: calc(100% - 24px) !important;
    height: auto !important;
    max-width: none !important;
    min-height: 0 !important;
    margin: 12px auto 0 !important;
    padding: 0 !important;
    aspect-ratio: 1 / 1;
    display: block;
    overflow: hidden;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.45);
}

.gf-pooja-categories .category-img picture,
.gf-pooja-categories .category-img img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    object-position: center;
    border-radius: 8px;
}

.gf-pooja-categories .category-content {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 12px 10px 16px;
    text-align: center;
}

.gf-pooja-categories .category-content h4 {
    margin: 0 !important;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.35;
    color: #0f1311;
    text-align: center;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
}

.bg-yellow-light {
    background: linear-gradient(180deg, #FFFBF0 0%, #FFF3D6 100%);
}

/* Reset base theme fixed 1400×395 absolute banner (style.css) */
.main-banner-section {
    background: #ffffff !important;
    background-image: none !important;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    overflow: visible !important;
    padding-top: 50px !important;
    padding-bottom: 0 !important;
}

.main-banner-section .egBanner,
.main-banner-section .egBanner-picture {
    position: static !important;
    left: auto !important;
    bottom: auto !important;
    transform: none !important;
    z-index: 1 !important;
}

.main-banner-section .egBanner {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    display: block;
}

/* ── Decorative: headline block + full-width art below (in document flow) ── */
.main-banner-section--decorative .main-banner-copy {
    position: relative;
    z-index: 2;
    margin-bottom: 8px;
}

.main-banner-decorative-art {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(12px, 2vw, 24px) clamp(20px, 3vw, 40px);
    line-height: 0;
}

.main-banner-decorative-art .egBanner-picture {
    display: block;
    width: 100%;
}

.main-banner-decorative-art .egBanner {
    width: 100% !important;
    height: auto !important;
    min-height: 200px;
    object-fit: cover;
    object-position: center center;
    border-radius: 12px;
}

@media (max-width: 991px) {
    :root {
        --gf-mobile-header-height: 121px;
        --gf-mobile-nav-height: 76px;
        --gf-mobile-hero-height: calc(100vh - var(--gf-mobile-header-height) - var(--gf-mobile-nav-height) - env(safe-area-inset-bottom, 0px));
    }

    body {
        padding-bottom: calc(var(--gf-mobile-nav-height) + env(safe-area-inset-bottom, 0px));
    }

    /* Show fixed bottom nav on all mobile/tablet (theme hides .commonDivHidden by default) */
    .commonDivHidden {
        display: block !important;
    }

    /* Dock bottom nav flush to screen — no side/bottom gaps */
    .commonDivHidden .smallDeviceShow {
        display: flex !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        max-width: none !important;
        transform: none !important;
        border-radius: 0 !important;
        margin: 0 !important;
        padding: 8px 8px calc(8px + env(safe-area-inset-bottom, 0px)) !important;
        box-shadow: 0 -4px 18px rgba(15, 19, 17, 0.18);
        z-index: 10050 !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .gf-whatsapp-float {
        bottom: calc(var(--gf-mobile-nav-height) + 12px + env(safe-area-inset-bottom, 0px)) !important;
    }
}

@media (max-width: 767px) {
    /* Portrait hero — image defines height (no letterbox gaps) */
    .main-banner-section {
        border-bottom: none !important;
        margin-bottom: 0 !important;
    }

    .main-banner-section .egBanner-picture,
    .hero-banner-slider .egBanner-picture {
        display: block;
        width: 100%;
        line-height: 0;
    }

    .main-banner-section .egBanner,
    .main-banner-decorative-art .egBanner,
    .main-banner-section--custom-art .main-banner-decorative-art .egBanner,
    .main-banner-full-art .egBanner,
    .hero-banner-slider .egBanner {
        width: 100% !important;
        min-height: 0 !important;
        height: auto !important;
        display: block;
        object-fit: cover !important;
        object-position: center bottom !important;
        border-radius: 0;
        vertical-align: top;
    }

    .main-banner-section--decorative .main-banner-decorative-art .egBanner {
        border-radius: 0;
    }

    .main-banner-decorative-art,
    .main-banner-full-art {
        padding-left: 0;
        padding-right: 0;
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
        line-height: 0;
    }

    .main-banner-full-art {
        background: transparent !important;
    }

    /* Custom uploaded graphic already includes headline — hide duplicate HTML on mobile */
    .main-banner-section--custom-art .main-banner-copy {
        display: none;
    }

    .main-banner-section--decorative {
        padding-top: 12px !important;
    }

    .main-banner-section--full-image {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        height: var(--gf-mobile-hero-height, calc(100vh - var(--gf-mobile-header-height) - var(--gf-mobile-nav-height) - env(safe-area-inset-bottom, 0px))) !important;
        min-height: var(--gf-mobile-hero-height, calc(100vh - var(--gf-mobile-header-height) - var(--gf-mobile-nav-height) - env(safe-area-inset-bottom, 0px))) !important;
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }

    .main-banner-section--full-image .main-banner-full-art {
        flex: 1 1 auto;
        display: flex;
        flex-direction: column;
        height: 100%;
        min-height: 0;
    }

    .main-banner-section--full-image .hero-banner-slider {
        flex: 1 1 auto;
        height: 100%;
        min-height: 0;
    }

    .main-banner-section--full-image .hero-banner-slider .swiper-wrapper,
    .main-banner-section--full-image .hero-banner-slider .swiper-slide,
    .main-banner-section--full-image .egBanner-picture {
        height: 100%;
    }

    .main-banner-section--full-image .egBanner {
        height: 100% !important;
        min-height: 100% !important;
        object-fit: cover !important;
        object-position: center bottom !important;
    }

    .hero-banner-slider {
        margin-bottom: 0;
    }

    .hero-banner-slider .swiper-slide {
        height: auto;
    }

    .main-banner-section--full-image .hero-banner-slider .swiper-slide {
        height: 100%;
    }

    .hero-banner-slider-prev,
    .hero-banner-slider-next {
        top: 42% !important;
    }

    .hero-banner-slider-pagination {
        bottom: 10px !important;
        z-index: 2;
    }

    /* Tighter homepage section spacing on mobile */
    .section-margin {
        margin-bottom: 28px !important;
    }

    .main-banner-section.section-margin {
        margin-bottom: 0 !important;
    }

    section .row.mb-30px {
        margin-bottom: 16px !important;
    }

    .main-banner-section--full-image + .gf-pooja-categories {
        padding-top: 20px;
    }

    /* Above-the-fold — never hide behind WOW.js scroll animation */
    .gf-pooja-categories,
    .gf-pooja-categories .wow {
        visibility: visible !important;
    }

    .gf-pooja-categories__head {
        margin-bottom: 12px !important;
    }

    .gf-pooja-categories__title {
        font-size: 22px !important;
        line-height: 1.2;
        text-align: center;
        margin-bottom: 4px;
    }

    .gf-pooja-categories__subtitle {
        margin: 0;
        font-size: 13px;
        line-height: 1.35;
        color: #6b7280;
        text-align: center;
    }

    .gf-pooja-categories .row.section-margin {
        margin-bottom: 20px !important;
    }

    .gf-pooja-categories .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .category-slider {
        padding-bottom: 28px;
        overflow: hidden;
    }

    .category-slider .swiper-pagination {
        bottom: 2px;
        text-align: center;
    }

    .category-slider .swiper-pagination-bullet {
        width: 6px;
        height: 6px;
        margin: 0 4px !important;
        background-color: #d1d5db;
        opacity: 1;
    }

    .category-slider .swiper-pagination-bullet-active {
        width: 18px;
        height: 6px;
        min-width: 18px;
        border-radius: 999px;
        background: var(--gf-brand-gradient) !important;
        outline: none;
        margin: 0 4px !important;
    }

    .category-slider .swiper-slide {
        height: auto;
    }

    .gf-pooja-categories .category-item:active {
        transform: scale(0.98);
    }

    .gf-pooja-categories .category-content h4 {
        font-size: 12px !important;
        font-weight: 600 !important;
    }

}

@media (min-width: 768px) {
    .gf-pooja-categories__title {
        text-align: center;
    }

    .gf-pooja-categories__subtitle {
        display: none;
    }
}

/* Custom wide art uploaded — tighter headline area, image fills width */
.main-banner-section--custom-art .main-banner-copy {
    padding-bottom: 0;
}

.main-banner-section--custom-art .main-banner-decorative-art .egBanner {
    object-fit: cover;
    min-height: clamp(220px, 32vw, 420px);
    border-radius: 16px;
}

/* Desktop & tablet: flush hero → next section (mobile portrait rules stay in max-width: 767px) */
@media (min-width: 768px) {
    .main-banner-section.section-margin {
        margin-bottom: 0 !important;
    }

    .main-banner-section--full-image {
        border-bottom: none !important;
        overflow: hidden !important;
    }

    .main-banner-section--full-image .main-banner-full-art,
    .main-banner-section--full-image .hero-banner-slider {
        position: relative;
    }

    .main-banner-section--full-image .hero-banner-slider .swiper-slide {
        height: auto;
    }

    .main-banner-section--full-image .egBanner-picture {
        display: block;
        width: 100%;
        aspect-ratio: 1920 / 685;
        line-height: 0;
        overflow: hidden;
    }

    .main-banner-section--full-image .egBanner {
        width: 100% !important;
        height: 100% !important;
        min-height: 0 !important;
        object-fit: cover;
        object-position: center center;
    }

    .main-banner-section--full-image + section {
        padding-top: clamp(32px, 4vw, 56px);
    }

    .main-banner-section--decorative.section-margin + section {
        padding-top: clamp(28px, 3.5vw, 48px);
    }
}

/* ── Full banner: edge-to-edge, no tiny centered box ── */
.main-banner-section--full-image {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.main-banner-full-art {
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    padding: 0;
    line-height: 0;
}

.main-banner-full-art .egBanner-picture {
    display: block;
    width: 100%;
}

.main-banner-full-art .egBanner {
    width: 100% !important;
    height: auto !important;
    min-height: clamp(200px, 28vw, 520px);
    object-fit: cover;
    object-position: center center;
    border-radius: 0;
}

/* Hero banner carousel */
.main-banner-section--has-slider .main-banner-decorative-art,
.main-banner-section--has-slider .main-banner-full-art {
    position: relative;
}

.hero-banner-slider {
    width: 100%;
    overflow: hidden;
}

.hero-banner-slider .swiper-slide {
    line-height: 0;
}

.hero-banner-slider .egBanner {
    width: 100% !important;
}

.hero-banner-slider-pagination {
    bottom: 14px !important;
}

.hero-banner-slider-prev,
.hero-banner-slider-next {
    color: #0F1311;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 50%;
    box-shadow: 0 4px 16px rgba(15, 19, 17, 0.12);
}

.hero-banner-slider-prev::after,
.hero-banner-slider-next::after {
    font-size: 16px;
    font-weight: 700;
}

.main-banner-section--full-image .hero-banner-slider-prev,
.main-banner-section--full-image .hero-banner-slider-next {
    top: 50%;
}

.main-banner-section--decorative .hero-banner-slider-prev,
.main-banner-section--decorative .hero-banner-slider-next {
    top: calc(50% + 8px);
}

.main-banner-section .fastest-delivery-badge,
.main-banner-section .happy-customer-badge {
    border: 1px solid #e8e8e8 !important;
    background: #ffffff !important;
    box-shadow: 0 4px 20px rgba(15, 19, 17, 0.06);
    backdrop-filter: none;
}

.main-banner-section .fastest-delivery-badge .icon {
    background: var(--gf-brand-gold-gradient) !important;
}

.main-banner-section .ec-sm2-btn-success {
    background: var(--gf-brand-gradient) !important;
}

.main-banner-section .ec-sm2-btn-success::after {
    background: var(--gf-brand-gradient-hover) !important;
}

.main-banner-section .shape-title {
    background: var(--gf-brand-gradient) !important;
    background-clip: text !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

.main-banner-section .happy-customer-badge .ec-text-success {
    color: var(--gf-brand-primary) !important;
}

/* ── Product image consistency ── */
.product-lg-banner,
.product-md-banner,
.product-sm-banner {
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.product-lg-banner .banner,
.product-md-banner .banner,
.product-sm-banner .banner {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.product-lg-banner {
    min-height: unset;
}

.product-md-banner {
    min-height: unset;
}

.product-md-banner .banner {
    height: 100% !important;
}

.product-lg-banner .banner {
    height: 100% !important;
}

.product-sm-banner {
    min-height: unset;
}

.product-list-banner {
    aspect-ratio: 278 / 200;
    height: auto;
}

.product-list-banner img,
.product-list-banner .banner {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.sales-list-image {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 8px;
}

.sales-list-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.customer-feedback-banner {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 12px;
}

.customer-feedback-banner .banner {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.egads {
    overflow: visible;
    width: min(300px, 46%);
    max-height: 100%;
    pointer-events: none;
}

.egads img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: bottom right;
    display: block;
}

.best-deal-section .egBest img {
    object-position: bottom center;
}

.best-deal-card-section .product-lg-banner .banner {
    object-fit: contain;
    object-position: center;
}

/* Product detail banner (grocery theme) */
.product-page-banner {
    width: 100%;
    aspect-ratio: 2 / 1;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 24px;
}

.product-page-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Admin product gallery reorder */
.product-thumb-sortable .product-thumb-item {
    position: relative;
    cursor: grab;
    border: 2px solid transparent;
    border-radius: 8px;
    padding: 4px;
}

.product-thumb-sortable .product-thumb-item.is-primary {
    border-color: var(--gf-brand-primary);
}

.product-thumb-sortable .product-thumb-item .primary-badge {
    position: absolute;
    top: 4px;
    left: 4px;
    background: var(--gf-brand-gradient);
    color: #fff;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 4px;
}

.product-thumb-sortable .product-thumb-item img {
    border-radius: 6px;
    display: block;
}

/* ── Product catalogue page ── */
.gf-catalogue-intro {
    max-width: 560px;
}

.gf-catalogue-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.gf-catalogue-banner {
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 10;
}

.gf-catalogue-banner .banner {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gf-catalogue-card:hover .gf-catalogue-banner .banner {
    transform: scale(1.04);
}

.gf-catalogue-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.gf-catalogue-title {
    display: block;
    margin-bottom: 10px;
}

.gf-catalogue-desc {
    margin-bottom: 8px;
    color: #5c5f66;
}

.gf-catalogue-count {
    margin-bottom: 14px;
    font-weight: 500;
    color: var(--gf-brand-primary);
}

.gf-catalogue-subcats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 18px;
    padding: 0;
    list-style: none;
}

.gf-catalogue-subcats a {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(15, 19, 17, 0.08);
    font-size: 13px;
    color: #0f1311;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.gf-catalogue-subcats a:hover {
    background: #fff;
    border-color: var(--gf-brand-primary);
    color: var(--gf-brand-primary);
}

.gf-catalogue-btn {
    margin-top: auto;
    align-self: flex-start;
}

.gf-catalogue-pdf-card {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    height: 100%;
    padding: 22px;
    border-radius: 12px;
    border: 1px solid #ececec;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 19, 17, 0.04);
}

.gf-catalogue-pdf-icon {
    flex-shrink: 0;
    width: 88px;
    height: 88px;
    border-radius: 12px;
    background: var(--gf-brand-tint);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.gf-catalogue-pdf-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gf-catalogue-pdf-body {
    flex: 1;
}

/* ── Catalogue mode (browse-only) ── */
.gf-catalogue-price-label {
    color: var(--gf-brand-primary);
    font-weight: 600;
}

.gf-catalogue-product-actions {
    padding: 14px 0 4px;
}

.gf-catalogue-product-note {
    margin-bottom: 12px;
    font-size: 14px;
    line-height: 1.5;
    color: var(--gf-brand-primary);
}

.gf-catalogue-mode-banner {
    background: linear-gradient(90deg, var(--gf-brand-tint) 0%, #fff 100%);
    border-bottom: 1px solid var(--gf-brand-tint-border);
    padding: 10px 0;
}

.gf-catalogue-mode-banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.gf-catalogue-mode-banner-text {
    margin: 0;
    color: var(--gf-brand-primary);
    font-size: 14px;
    font-weight: 500;
    flex: 1;
    min-width: 220px;
}

.gf-catalogue-mode-banner-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.gf-catalogue-mode-actions {
    padding: 18px;
    border-radius: 12px;
    background: var(--gf-brand-tint);
    border: 1px solid var(--gf-brand-tint-border);
}

/* Site logo — upload 600×120 px; was capped at 30px via .h-30px */
.gf-site-logo {
    display: block;
    width: auto;
    height: auto;
    max-height: 60px;
    max-width: min(300px, 72vw);
    object-fit: contain;
    object-position: left center;
}

.logo-header {
    padding-top: 16px;
    padding-bottom: 16px;
}

.logo-header .gf-site-logo {
    max-height: 60px;
}

.gf-site-logo--footer {
    max-height: 52px;
    max-width: min(280px, 80vw);
}

/* Mobile / tablet header — logo left, icons right, single row (overrides Bootstrap .row > * wrap) */
@media (max-width: 991px) {
    .gf-logo-header-bar {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 10px;
    }

    .gf-logo-header-bar > .gf-logo-header-brand,
    .gf-logo-header-bar > .gf-logo-header-actions {
        flex-shrink: 1;
        width: auto !important;
        max-width: none;
    }

    .gf-logo-header-brand {
        flex: 1 1 0 !important;
        min-width: 0 !important;
        max-width: calc(100% - 112px) !important;
        order: 1 !important;
    }

    .gf-logo-header-link {
        display: block;
        max-width: 100%;
        line-height: 0;
    }

    .gf-logo-header-actions {
        flex: 0 0 auto !important;
        order: 2 !important;
        margin-left: auto !important;
    }

    .gf-logo-header-tools {
        gap: 0.5rem !important;
        flex-wrap: nowrap !important;
    }

    .logo-header .gf-site-logo {
        max-height: 48px;
        max-width: 100%;
        width: auto;
        height: auto;
    }

    .logo-header .header-icontext-link {
        padding-top: 8px;
        padding-bottom: 4px;
    }

    .top-header-section {
        padding-top: 8px;
        padding-bottom: 8px;
    }
}

@media (max-width: 767px) {
    .logo-header {
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .logo-header .gf-site-logo {
        max-height: 44px;
    }

    .gf-site-logo--footer {
        max-height: 44px;
    }
}

@media (max-width: 575px) {
    .gf-logo-header-brand {
        max-width: calc(100% - 104px) !important;
    }

    .logo-header .gf-site-logo {
        max-height: 40px;
    }

    .gf-logo-header-tools {
        gap: 0.35rem !important;
    }

    .top-header-section .al-subtitle-14px {
        font-size: 12px;
    }
}

@media (max-width: 400px) {
    .gf-logo-header-brand {
        max-width: calc(100% - 98px) !important;
    }

    .logo-header .gf-site-logo {
        max-height: 36px;
    }

    .header-user-dropdown-btn {
        padding-right: 18px;
    }
}

/* Instagram feed section */
.gf-instagram-section {
    padding: 72px 0 80px;
    background: linear-gradient(180deg, #fff 0%, var(--gf-brand-tint) 45%, #fff 100%);
}

.gf-instagram-section__head {
    margin-bottom: 40px;
}

.gf-instagram-section__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    margin-bottom: 16px;
    border-radius: 999px;
    background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    box-shadow: 0 8px 20px rgba(188, 24, 136, 0.22);
}

.gf-instagram-section__title {
    margin-bottom: 12px;
}

.gf-instagram-section__subtitle {
    max-width: 560px;
    margin: 0 auto 10px;
    color: #5c6460;
    font-size: 16px;
    line-height: 1.6;
}

.gf-instagram-section__handle {
    display: inline-block;
    margin-top: 4px;
    color: var(--gf-brand-primary);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
}

.gf-instagram-section__handle:hover {
    color: var(--gf-brand-secondary);
    text-decoration: underline;
}

.gf-instagram-section__sync {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: fit-content;
    margin: 12px auto 0;
    padding: 6px 11px;
    border: 1px solid rgba(32, 145, 83, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.7);
    color: #4f6759;
    font-size: 12px;
}

.gf-instagram-section__sync > span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #28a75d;
    box-shadow: 0 0 0 4px rgba(40, 167, 93, 0.12);
}

.gf-instagram-slider-wrap {
    position: relative;
    padding: 0 48px;
    margin-bottom: 36px;
}

.instagram-feed-slider {
    overflow: hidden;
    padding-bottom: 36px;
}

.instagram-feed-slider .swiper-slide {
    height: auto;
}

.instagram-feed-slider-pagination {
    bottom: 0 !important;
}

.instagram-feed-slider-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: rgba(176, 0, 99, 0.25);
    opacity: 1;
}

.instagram-feed-slider-pagination .swiper-pagination-bullet-active {
    width: 24px;
    border-radius: 999px;
    background: var(--gf-brand-gradient);
}

.gf-instagram-nav {
    position: absolute;
    top: 42%;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--gf-brand-tint-border);
    border-radius: 50%;
    background: #fff;
    color: var(--gf-brand-primary);
    box-shadow: 0 8px 20px rgba(15, 19, 17, 0.08);
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.gf-instagram-nav:hover {
    background: var(--gf-brand-gradient);
    color: #fff;
    transform: translateY(-2px);
}

.gf-instagram-nav--prev {
    left: 0;
}

.gf-instagram-nav--next {
    right: 0;
}

.gf-instagram-card {
    position: relative;
    display: block;
    border-radius: 18px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: #f8f4f6;
    box-shadow: 0 8px 24px rgba(15, 19, 17, 0.08);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.gf-instagram-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(176, 0, 99, 0.2);
}

.gf-instagram-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.gf-instagram-card:hover .gf-instagram-card__image {
    transform: scale(1.06);
}

.gf-instagram-card__badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: #bc1888;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.gf-instagram-card__type {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(15, 19, 17, 0.72);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.gf-instagram-card__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    padding: 18px 14px;
    background: linear-gradient(180deg, rgba(15, 19, 17, 0) 20%, rgba(15, 19, 17, 0.82) 100%);
    color: #fff;
    opacity: 0;
    transition: opacity 0.28s ease;
    text-align: center;
}

.gf-instagram-card:hover .gf-instagram-card__overlay,
.gf-instagram-card:focus-visible .gf-instagram-card__overlay {
    opacity: 1;
}

.gf-instagram-card__overlay-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: auto;
    margin-top: auto;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(4px);
}

.gf-instagram-card__caption {
    font-size: 13px;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.gf-instagram-card__date {
    font-size: 12px;
    opacity: 0.85;
}

.gf-instagram-section__cta {
    text-align: center;
}

.gf-instagram-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 999px;
    background: var(--gf-brand-gradient);
    color: #fff !important;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(176, 0, 99, 0.24);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gf-instagram-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(176, 0, 99, 0.3);
    color: #fff !important;
}

.gf-instagram-cta-btn__handle {
    padding-left: 10px;
    border-left: 1px solid rgba(255, 255, 255, 0.35);
    font-weight: 500;
    opacity: 0.95;
}

@media (max-width: 767px) {
    .gf-instagram-section {
        padding: 56px 0 64px;
    }

    .gf-instagram-slider-wrap {
        padding: 0 8px;
        margin-bottom: 28px;
    }

    .gf-instagram-nav {
        display: none;
    }

    .gf-instagram-card__overlay {
        opacity: 1;
        background: linear-gradient(180deg, rgba(15, 19, 17, 0) 55%, rgba(15, 19, 17, 0.55) 100%);
    }

    .gf-instagram-card__overlay-icon,
    .gf-instagram-card__caption,
    .gf-instagram-card__date {
        display: none;
    }

    .gf-instagram-cta-btn {
        width: 100%;
        max-width: 320px;
        justify-content: center;
        flex-wrap: wrap;
    }

    .gf-instagram-cta-btn__handle {
        border-left: 0;
        padding-left: 0;
        width: 100%;
        text-align: center;
        opacity: 0.9;
    }
}

/* ── Homepage product sections (Popular Products / Best Deal) ── */

/* Uniform 2-line product titles at all sizes */
.gf-home-products .product-md-details .al-title-16px,
.best-deal-card-section .product-lg-details .al-title-20px {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.35;
}

/* Tablet: shrink Best Deal decorative side art so it doesn't crowd the heading */
@media (max-width: 991px) {
    .egBest1 {
        width: min(280px, 24vw);
    }

    .egBest2 {
        width: min(260px, 22vw);
    }
}

@media (max-width: 767px) {
    /* 2-up product grid — compact cards */
    .gf-home-products .row.gy-4 {
        --bs-gutter-x: 12px;
        --bs-gutter-y: 12px !important;
    }

    .gf-home-products .product-md-card {
        margin: 0;
        max-width: none;
        border-radius: 10px;
        box-shadow: 0 2px 14px rgba(0, 0, 0, 0.06);
    }

    .gf-home-products .product-md-details {
        padding: 10px 10px 14px;
    }

    .gf-home-products .product-md-details .al-title-16px {
        font-size: 13px;
        min-height: 2.7em;
        margin-bottom: 8px !important;
    }

    /* Stack price above a full-width tap-friendly button */
    .gf-home-products .gf-card-cta {
        flex-direction: column;
        align-items: stretch !important;
        gap: 8px !important;
    }

    .gf-home-products .gf-card-cta .ec-sm2-btn-dark {
        width: 100%;
        justify-content: center;
        padding: 9px 12px;
        font-size: 13px;
    }

    .gf-home-products .product-discount-badge1 {
        font-size: 10px;
        padding: 4px 8px;
    }

    /* Best Deal — hide decorative art, tighten the colored band */
    .egBest {
        display: none !important;
    }

    .best-deal-section {
        padding: 36px 0 130px;
        border-radius: 0;
    }

    .best-deal-card-section {
        margin-top: -104px;
    }

    .best-deal-card-section .product-lg-details {
        padding: 0 16px 18px;
    }

    .best-deal-card-section .product-lg-details .al-title-20px {
        font-size: 16px;
    }

    .best-deal-card-section .gf-card-cta .ec-sm2-btn-dark {
        padding: 10px 18px !important;
        font-size: 14px;
    }

    /* Promo ad cards — keep copy clear of the corner image */
    .ec-ads-one,
    .ec-ads-two {
        padding: 22px 18px;
        min-height: 180px;
    }

    .ec-ads-one .ads-title-wrap,
    .ec-ads-two .ads-title-wrap {
        max-width: 62%;
    }

    .egads {
        width: min(200px, 40%);
    }

    /* Top Sales list — comfortable touch rows */
    .sales-list-item {
        gap: 12px;
    }
}

/* Cart — offcanvas layout, badges, and mobile nav indicator */
#offcanvasCart.cart-offcanvas,
#offcanvasCart.shopping-cart-offcanvas {
    width: min(420px, 100vw);
    display: flex;
    flex-direction: column;
    max-height: 100vh;
    max-height: 100dvh;
}

#offcanvasCart .offcanvas-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

#offcanvasCart .offcanvas-footer {
    flex-shrink: 0;
    background: #fff;
    border-top: 1px solid #ececec;
}

.gf-cart-count-badge {
    min-width: 16px;
    height: 16px;
    width: auto;
    padding: 0 4px;
    font-size: 10px;
    font-weight: 600;
    line-height: 16px;
}

.gf-cart-count-badge.is-empty {
    display: none !important;
}

@keyframes gf-cart-badge-pop {
    0%, 100% { transform: scale(1); }
    45% { transform: scale(1.35); }
}

.gf-cart-badge-pop {
    animation: gf-cart-badge-pop 0.55s ease;
}

.smallDeviceShow .gf-mobile-cart-icon-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    margin-bottom: 2px;
}

.smallDeviceShow .gf-mobile-cart-badge {
    top: -8px;
    right: -12px;
}

.smallDeviceShow li.gf-cart-nav-has-items > a {
    color: var(--gf-brand-highlight, #FFC34D) !important;
}

.toast-container {
    z-index: 10060 !important;
}

/* Cart — mobile sticky checkout bar */
.gf-cart-sticky-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 62px;
    z-index: 1040;
    padding: 12px 16px;
    background: #fff;
    border-top: 1px solid #e5e9f2;
    box-shadow: 0 -4px 16px rgba(13, 14, 16, 0.08);
}

@media (max-width: 991.98px) {
    #shopping-cart-page {
        padding-bottom: 88px;
    }
}

/* Mobile storefront usability and safe-area clearance */
:root {
    --gf-mobile-nav-height: 76px;
    --gf-sticky-action-gap: calc(var(--gf-mobile-nav-height) + env(safe-area-inset-bottom, 0px));
}

button.icontext-link,
button.mobile-menuitem-a {
    color: inherit;
    font: inherit;
}

.menu-button,
.header-user-dropdown-btn,
.icontext-link,
.mobile-menuitem-a,
.quantity-btn,
.bordered-circle-iconlink {
    min-width: 44px;
    min-height: 44px;
}

.mobile-menuitem-a-have-sub,
.mobile-dropitem-a-have-sub {
    position: relative;
    align-items: center;
    padding-right: 36px;
}

.mobile-menuitem-a-have-sub::after,
.mobile-dropitem-a-have-sub::after {
    content: "";
    position: absolute;
    right: 8px;
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform .2s ease;
}

.mobile-menuitem-a-have-sub[aria-expanded="true"]::after,
.mobile-dropitem-a-have-sub[aria-expanded="true"]::after {
    transform: rotate(225deg);
}

.mobile-dropdown-menu[hidden],
.mobile-subdrop-menu[hidden] {
    display: none !important;
}

.mobile-dropdown-menu,
.mobile-subdrop-menu {
    padding-top: 10px;
}

.mobile-subdrop-menu {
    padding-left: 18px;
}

.gf-form-page {
    padding-bottom: 48px;
}

.gf-form-card {
    border: 1px solid #e5e9f2;
    border-radius: 12px;
}

.gf-map-link {
    display: inline-flex;
    margin-top: 12px;
}

/* Product gallery: horizontal touch swiping and mobile purchase dock */
.gf-product-media-wrap .tf-product-media-main {
    touch-action: pan-y pinch-zoom;
}

.gf-product-media-wrap .swiper-slide {
    user-select: none;
}

.gf-pdp-mobile-purchase {
    display: none;
}

@media (max-width: 991px) {
    body {
        padding-bottom: var(--gf-sticky-action-gap);
    }

    .gf-cart-sticky-bar,
    .gf-pdp-mobile-purchase {
        bottom: var(--gf-sticky-action-gap);
    }

    .gf-cart-sticky-bar {
        padding-bottom: 12px;
    }

    #shopping-cart-page {
        padding-bottom: 112px;
    }

    .gf-pdp-mobile-purchase {
        position: fixed;
        z-index: 1040;
        right: 0;
        left: 0;
        display: flex;
        gap: 10px;
        padding: 10px 12px;
        border-top: 1px solid #e5e9f2;
        background: rgba(255,255,255,.97);
        box-shadow: 0 -4px 16px rgba(13,14,16,.1);
        backdrop-filter: blur(10px);
    }

    .gf-pdp-mobile-purchase .btn {
        flex: 1 1 0;
        min-height: 46px;
        padding-inline: 10px;
    }
}

@media (max-width: 767px) {
    .gf-product-media-wrap .thumbs-slider-wrap {
        display: flex;
        flex-direction: column-reverse;
        gap: 10px;
    }

    .gf-product-media-wrap .tf-product-media-thumbs {
        width: 100% !important;
        height: 72px !important;
    }

    .gf-product-media-wrap .tf-product-media-thumbs .swiper-wrapper {
        flex-direction: row !important;
    }

    .gf-product-media-wrap .tf-product-media-thumbs .swiper-slide {
        width: 64px !important;
        height: 64px !important;
    }

    .gf-product-main-frame {
        min-height: 300px;
    }

    .gf-product-main-frame img {
        object-fit: contain !important;
    }

    .fsh1-table,
    .fsh1-table tbody,
    .fsh1-table tr,
    .fsh1-table td {
        display: block;
        width: 100%;
    }

    .fsh1-table thead {
        display: none;
    }

    .fsh1-table tr {
        position: relative;
        margin-bottom: 14px;
        padding: 14px;
        border: 1px solid #e5e9f2;
        border-radius: 12px;
    }

    .fsh1-table td {
        min-width: 0 !important;
        padding: 6px 0 !important;
        border: 0;
        text-align: left !important;
    }

    .fsh1-table .table-action-data {
        position: absolute;
        top: 8px;
        right: 8px;
        width: auto;
    }

    .cart-product-banner {
        flex: 0 0 84px;
        width: 84px;
        height: 84px;
    }

    .gf-catalogue-pdf-card {
        flex-direction: column;
    }

    .gf-catalogue-pdf-icon {
        width: 72px;
        height: 72px;
    }

    .filter-tab-header {
        display: grid !important;
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .filter-tab-header > .d-flex:last-child,
    .filter-tab-header .nice-select,
    .filter-tab-header select {
        width: 100% !important;
        min-width: 0 !important;
    }

    .gf-shop-view-controls {
        display: flex;
        order: 3;
        width: 100%;
    }

    .gf-shop-view-controls .nav-item {
        flex: 1;
    }

    .gf-shop-view-controls .filter-nav-link {
        width: 100%;
        min-height: 44px;
    }

    .gf-shop-view-controls .nav-item:nth-child(1),
    .gf-shop-view-controls .nav-item:nth-child(3) {
        display: none;
    }

    .gf-form-page {
        padding-top: 24px !important;
        padding-bottom: calc(40px + var(--gf-sticky-action-gap)) !important;
    }

    .gf-form-card {
        padding: 18px !important;
    }

    .iFrame iframe {
        height: 320px !important;
    }
}

@media (max-width: 360px) {
    .gf-pdp-mobile-purchase {
        gap: 6px;
        padding-inline: 8px;
    }

    .gf-pdp-mobile-purchase .btn {
        font-size: 12px;
    }

    .gf-catalogue-card .gf-catalogue-body {
        padding: 14px;
    }
}

/* Homepage ambient motion — lightweight petals, soft glows, and hero breathing */
.gf-home-motion {
    position: relative;
    isolation: isolate;
    overflow: clip;
}

.gf-home-content {
    position: relative;
    z-index: 1;
}

.gf-home-ambient {
    position: fixed;
    inset: 0;
    z-index: 3;
    overflow: hidden;
    pointer-events: none;
}

.gf-home-petal {
    --petal-color: rgba(205, 37, 113, 0.3);
    position: absolute;
    top: -48px;
    left: var(--petal-left);
    width: 13px;
    height: 20px;
    border-radius: 85% 15% 78% 22%;
    background: linear-gradient(145deg, var(--petal-color), rgba(255, 255, 255, 0.7));
    box-shadow: 0 3px 9px rgba(134, 21, 73, 0.08);
    opacity: 0;
    transform: rotate(20deg);
    animation: gfPetalDrift var(--petal-duration) linear var(--petal-delay) infinite;
    will-change: transform, opacity;
}

.gf-home-petal--1 {
    --petal-left: 7%;
    --petal-duration: 18s;
    --petal-delay: -4s;
}

.gf-home-petal--2 {
    --petal-left: 19%;
    --petal-duration: 23s;
    --petal-delay: -15s;
    --petal-color: rgba(246, 155, 39, 0.3);
}

.gf-home-petal--3 {
    --petal-left: 34%;
    --petal-duration: 20s;
    --petal-delay: -9s;
    width: 10px;
    height: 16px;
}

.gf-home-petal--4 {
    --petal-left: 48%;
    --petal-duration: 25s;
    --petal-delay: -19s;
    --petal-color: rgba(255, 193, 47, 0.3);
}

.gf-home-petal--5 {
    --petal-left: 62%;
    --petal-duration: 21s;
    --petal-delay: -2s;
}

.gf-home-petal--6 {
    --petal-left: 75%;
    --petal-duration: 24s;
    --petal-delay: -13s;
    --petal-color: rgba(246, 155, 39, 0.28);
    width: 11px;
    height: 17px;
}

.gf-home-petal--7 {
    --petal-left: 88%;
    --petal-duration: 19s;
    --petal-delay: -7s;
}

.gf-home-petal--8 {
    --petal-left: 96%;
    --petal-duration: 27s;
    --petal-delay: -22s;
    --petal-color: rgba(255, 193, 47, 0.28);
}

.gf-home-glow {
    position: absolute;
    width: min(32vw, 430px);
    aspect-ratio: 1;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.08;
    animation: gfGlowFloat 16s ease-in-out infinite alternate;
}

.gf-home-glow--one {
    top: 16%;
    left: -12%;
    background: #d22176;
}

.gf-home-glow--two {
    right: -14%;
    bottom: 12%;
    background: #f2a31a;
    animation-delay: -8s;
}

.gf-home-motion .main-banner-section {
    overflow: hidden;
}

.gf-home-motion .main-banner-section .egBanner {
    animation: gfHeroBreathing 14s ease-in-out infinite alternate;
    transform-origin: center center;
    will-change: transform;
}

@keyframes gfPetalDrift {
    0% {
        opacity: 0;
        transform: translate3d(0, -6vh, 0) rotate(0deg);
    }
    8% {
        opacity: 0.5;
    }
    45% {
        transform: translate3d(55px, 48vh, 0) rotate(210deg);
    }
    78% {
        opacity: 0.38;
    }
    100% {
        opacity: 0;
        transform: translate3d(-35px, 108vh, 0) rotate(430deg);
    }
}

@keyframes gfGlowFloat {
    from {
        transform: translate3d(0, -4%, 0) scale(0.92);
    }
    to {
        transform: translate3d(8%, 8%, 0) scale(1.08);
    }
}

@keyframes gfHeroBreathing {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.025);
    }
}

@media (max-width: 767px) {
    .gf-home-petal {
        opacity: 0;
    }

    .gf-home-petal--2,
    .gf-home-petal--4,
    .gf-home-petal--6,
    .gf-home-petal--8 {
        display: none;
    }

    .gf-home-glow {
        width: 65vw;
        filter: blur(65px);
        opacity: 0.06;
    }

    .gf-home-motion .main-banner-section .egBanner {
        animation-duration: 18s;
    }
}

@media (prefers-reduced-motion: reduce) {
    .gf-home-petal,
    .gf-home-glow,
    .gf-home-motion .main-banner-section .egBanner {
        animation: none !important;
    }

    .gf-home-petal,
    .gf-home-glow {
        display: none;
    }
}

/* Homepage latest articles */
.gf-home-blog-section {
    position: relative;
    padding: 72px 0 82px;
    background:
        radial-gradient(circle at 8% 15%, rgba(176, 0, 99, 0.07), transparent 25%),
        linear-gradient(180deg, #fff 0%, #fff9fc 100%);
}

.gf-home-blog-section .mu-title-36px {
    color: #28171f;
    letter-spacing: -0.025em;
}

.gf-home-blog-card {
    height: 100%;
    padding: 16px;
    border: 1px solid rgba(176, 0, 99, 0.11);
    border-radius: 18px;
    box-shadow: 0 12px 32px rgba(54, 24, 39, 0.07);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gf-home-blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 42px rgba(54, 24, 39, 0.12);
}

.gf-home-blog-card .news-card-banner {
    flex-basis: 44%;
    min-height: 230px;
    aspect-ratio: 4 / 3;
    border-radius: 13px;
    background: #f5edf1;
}

.gf-home-blog-card .news-card-banner > .banner {
    border-radius: inherit;
}

.gf-home-blog-card .new-card-details {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    padding: 8px 8px 8px 22px;
}

.gf-home-blog-card .new-card-details > .text-link {
    line-height: 1.35;
}

.gf-home-blog-card .new-card-details .btn {
    width: fit-content;
}

.gf-home-blog-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    color: #796871;
    font-size: 12px;
}

.gf-home-blog-meta span + span::before {
    content: "•";
    margin-right: 7px;
    color: var(--gf-brand-primary);
}

@media (max-width: 767px) {
    .gf-home-blog-section {
        padding: 54px 0 64px;
    }

    .gf-home-blog-card {
        padding: 12px;
    }

    .gf-home-blog-card .news-card-banner {
        min-height: 0;
        aspect-ratio: 16 / 10;
    }

    .gf-home-blog-card .new-card-details {
        padding: 20px 8px 10px;
    }
}

/* Checkout pickup date — prominent and available at the correct step */
.gf-checkout-preferences-card--pickup {
    border-color: rgba(176, 0, 99, 0.24) !important;
    background:
        linear-gradient(135deg, rgba(255, 246, 250, 0.96), rgba(255, 250, 241, 0.96)) !important;
    box-shadow: 0 10px 28px rgba(54, 24, 39, 0.07);
}

.gf-checkout-preferences-card--pickup h6::before {
    content: "✓";
    display: inline-grid;
    width: 24px;
    height: 24px;
    place-items: center;
    margin-right: 8px;
    border-radius: 50%;
    background: var(--gf-brand-primary);
    color: #fff;
    font-size: 13px;
}

.gf-checkout-preferences-card #checkoutPickupDate {
    min-height: 48px;
    border-color: rgba(176, 0, 99, 0.26);
    border-radius: 10px;
    background-color: #fff;
}

.gf-checkout-preferences-card #checkoutPickupDate:focus {
    border-color: var(--gf-brand-primary);
    box-shadow: 0 0 0 4px rgba(176, 0, 99, 0.09);
}
