/**
 * Portal hero images — shared responsive behavior
 * Home slider (index.php / .gf-hero-slider)
 *
 * - Width-driven sizing (aspect-ratio, no fixed px image heights)
 * - Edge-to-edge fill (object-fit: cover — no white inset bars)
 * - Uniform slide frame (no height jump between slides)
 * - Zoom-stable at 80%–125%
 *
 * Presentational CSS only — no PHP/JS/API changes.
 */

.gf-hero-slider {
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    line-height: 0 !important;
    background: transparent !important;
    box-sizing: border-box !important;
}

.gf-hero-slider .owl-carousel,
.gf-hero-slider .owl-stage-outer,
.gf-hero-slider .owl-stage,
.gf-hero-slider .owl-item {
    height: auto !important;
    margin: 0 !important;
}

.gf-hero-slider .owl-height {
    height: auto !important;
    transition: none !important;
}

.gf-hero-slide {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9 !important;
    min-height: 0 !important;
    max-height: none !important;
    line-height: 0 !important;
    overflow: hidden !important;
    background: transparent !important;
}

.gf-hero-slide img {
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    object-fit: cover !important;
    object-position: center center !important;
    display: block !important;
    transform: none !important;
}

.gf-hero-overlay {
    position: absolute !important;
    inset: 0 !important;
    z-index: 4 !important;
    pointer-events: none !important;
    box-sizing: border-box !important;
}

#gf-home .gf-services-section {
    margin-top: 0 !important;
}

@media (max-width: 767px) {
    .gf-hero-slide {
        aspect-ratio: 4 / 3 !important;
    }
}

/* ------------------------------------------------------------------
   Compact catalog heroes + slightly tighter header
   Pages: gift cards, appointments, products, packages, memberships, services
------------------------------------------------------------------- */
.giftcard-hero,
.appointment-hero,
.product-hero,
.pkg-hero,
.mem-hero,
.svc-hero {
    min-height: 300px !important;
    max-height: none !important;
    padding: 22px 32px !important;
    margin-top: 0 !important;
    margin-bottom: 24px !important;
    border-radius: 22px !important;
    gap: 16px !important;
}


/* Catalog heroes — natural image height (no crop on zoom) */
.appointment-hero,
.product-hero,
.pkg-hero,
.mem-hero,
.svc-hero {
    min-height: 0 !important;
    height: auto !important;
    align-items: center !important;
}

.appointment-hero-right,
.product-hero-right,
.pkg-hero-right,
.mem-hero-right,
.svc-hero-right {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: visible !important;
    line-height: 0 !important;
}

.appointment-hero-right img,
.product-hero-right img,
.pkg-hero-right img,
.mem-hero-right img,
.svc-hero-right img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: center center !important;
    display: block !important;
    transform: none !important;
    flex-shrink: 0 !important;
}

/* Membership keeps natural image. Products/Packages crop right-side white matte in PNG. */
.mem-hero-right {
    overflow: visible !important;
}

.mem-hero-right img,
.mem-hero-right img.img-fluid {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: center center !important;
}

.product-hero-right,
.pkg-hero-right {
    overflow: hidden !important;
}

.product-hero-right img,
.pkg-hero-right img,
.product-hero-right img.img-fluid,
.pkg-hero-right img.img-fluid {
    width: 114% !important;
    max-width: none !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: left center !important;
    display: block !important;
    transform: none !important;
    margin: 0 !important;
}


.giftcard-hero h1,
.appointment-hero h1,
.product-hero h1,
.pkg-hero h1,
.mem-hero h1,
.svc-hero h1 {
    font-size: clamp(1.55rem, 2.6vw, 2.15rem) !important;
    line-height: 1.2 !important;
    margin-bottom: 8px !important;
}

.giftcard-hero p,
.appointment-hero p,
.product-hero p,
.pkg-hero p,
.mem-hero p,
.svc-hero p {
    font-size: 14px !important;
    line-height: 1.55 !important;
    margin-bottom: 14px !important;
}

.giftcard-hero .hero-tag,
.appointment-hero .hero-tag,
.product-hero .hero-tag,
.product-hero .ph-tag,
.pkg-hero .pkg-tag,
.mem-hero .mem-tag,
.svc-hero .svc-tag {
    margin-bottom: 8px !important;
    font-size: 12px !important;
    letter-spacing: 2px !important;
}

.giftcard-hero .hero-features,
.appointment-hero .hero-features,
.product-hero .ph-features,
.product-hero .hero-features,
.pkg-hero .pkg-features,
.mem-hero .mem-features,
.svc-hero .svc-features {
    gap: 14px !important;
    margin-top: 6px !important;
}

.giftcard-hero .hero-feature i,
.appointment-hero .hero-feature i,
.product-hero .ph-feature i,
.pkg-hero .pkg-feature i,
.mem-hero .mem-feature i,
.svc-hero .svc-feature i {
    width: 40px !important;
    height: 40px !important;
    font-size: 15px !important;
    margin-bottom: 6px !important;
}

.giftcard-hero .hero-feature span,
.appointment-hero .hero-feature span,
.product-hero .ph-feature span,
.pkg-hero .pkg-feature span,
.mem-hero .mem-feature span,
.svc-hero .svc-feature span {
    font-size: 12px !important;
}

.appointment-hero .hero-buttons {
    margin-top: 12px !important;
    gap: 10px !important;
}

.appointment-hero .hero-btn-primary,
.appointment-hero .hero-btn-secondary {
    padding: 9px 18px !important;
    font-size: 13px !important;
}

/* Less gap under header before hero */
.giftCardsSection {
    margin-top: 12px !important;
    padding-top: 0 !important;
}

.catalog-page.productsSection,
.catalog-page.packagesSection,
.catalog-page.membershipsSection,
.catalog-page.servicesSection,
.appointmentsSection,
.booking-page {
    padding-top: 8px !important;
    margin-top: 0 !important;
}

/* Slightly compact shared header/topbar site-wide (small change) */
.gf-topbar__inner {
    padding-top: 5px !important;
    padding-bottom: 5px !important;
    font-size: 0.8rem !important;
}

.header_01.modern-navbar .container,
.header_01.modern-navbar .header-container,
.header_01 .container {
    padding-top: 4px !important;
    padding-bottom: 4px !important;
}

.header_01 .imglogo {
    max-height: 44px !important;
    width: auto !important;
}

.header_01 .nav-actions a.cart-icon {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
}

.gf-phone-pill {
    padding: 6px 14px !important;
    font-size: 0.82rem !important;
}

@media (max-width: 991px) {
    .giftcard-hero,
    .appointment-hero,
    .product-hero,
    .pkg-hero,
    .mem-hero,
    .svc-hero {
        min-height: 0 !important;
        padding: 20px 18px !important;
        margin-bottom: 18px !important;
    }


    .giftCardsSection {
        margin-top: 8px !important;
    }
}

@media (max-width: 767px) {

    }

/* Gift card hero image — never crop on zoom; keep natural aspect */
.giftcard-hero {
    min-height: 0 !important;
    height: auto !important;
    align-items: center !important;
}

.giftcard-hero-right {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: visible !important;
    line-height: 0 !important;
}

.giftcard-hero-right img,
.giftcard-hero-right img.img-fluid {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: center center !important;
    display: block !important;
    transform: none !important;
    flex-shrink: 0 !important;
}

@media (max-width: 991px) {
    .giftcard-hero-right img,
    .giftcard-hero-right img.img-fluid {
        height: auto !important;
        max-height: none !important;
    }
}

@media (max-width: 767px) {
    .giftcard-hero-right img,
    .giftcard-hero-right img.img-fluid {
        height: auto !important;
        max-height: none !important;
    }
}

