/* Holdenim browser compatibility fallbacks.
   These rules activate only when browser-compat.js detects missing features. */

html.hdn-no-clamp .hero-title,
html.hdn-legacy-browser .hero-title {
    font-size: 6.5rem;
}

html.hdn-no-clamp .hero-sub,
html.hdn-legacy-browser .hero-sub {
    font-size: 1.05rem;
}

html.hdn-no-clamp .hp-home-dynamic .hp-hero .hero-title,
html.hdn-legacy-browser .hp-home-dynamic .hp-hero .hero-title {
    font-size: 8rem !important;
}

html.hdn-no-clamp .hp-home-dynamic .hp-hero .hero-sub,
html.hdn-legacy-browser .hp-home-dynamic .hp-hero .hero-sub {
    font-size: 1.2rem !important;
}

html.hdn-no-clamp .collection-title,
html.hdn-no-clamp .hld-shop-hero__title,
html.hdn-no-clamp .hdn-short-hero__title,
html.hdn-no-clamp .hdn-journal-hero__title,
html.hdn-no-clamp .woocommerce div.product .product_title,
html.hdn-legacy-browser .collection-title,
html.hdn-legacy-browser .hld-shop-hero__title,
html.hdn-legacy-browser .hdn-short-hero__title,
html.hdn-legacy-browser .hdn-journal-hero__title,
html.hdn-legacy-browser .woocommerce div.product .product_title {
    font-size: 4rem;
}

html.hdn-no-dvh body.hdn-header-template #mobile-drawer.popup-drawer-layout-sidepanel .drawer-inner,
html.hdn-no-dvh body.hdn-header-template #mobile-drawer.popup-drawer-layout-fullwidth .drawer-inner,
html.hdn-no-dvh body.hdn-header-template #mobile-drawer:not(.hdn-mobile-collection-open) .drawer-content,
html.hdn-no-dvh body.hdn-header-template #mobile-drawer:not(.hdn-mobile-collection-open) [data-section="kadence_customizer_mobile_navigation"],
html.hdn-no-dvh .hld-story-hero,
html.hdn-no-dvh .hdn-universe-page {
    min-height: 100vh;
}

html.hdn-no-backdrop-filter .hdn-header-template #main-header,
html.hdn-no-backdrop-filter .hld-shop-toolbar,
html.hdn-no-backdrop-filter .holdenim-checkout-error-modal,
html.hdn-no-backdrop-filter .holdenim-payment-modal {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background-color: rgba(15, 23, 42, 0.96);
}

html.hdn-no-grid .intro-sec,
html.hdn-no-grid .collection-grid,
html.hdn-no-grid .hp-home-dynamic .hp-gold-routes__track,
html.hdn-no-grid .hld-product-layout,
html.hdn-no-grid .hld-shop-toolbar,
html.hdn-no-grid .hdn-short-grid,
html.hdn-no-grid .hdn-journal-grid,
html.hdn-no-grid .woocommerce div.product .hld-product-layout,
html.hdn-no-grid .woocommerce-cart .hld-cart-layout,
html.hdn-no-grid .woocommerce-checkout .hld-checkout-layout,
html.hdn-no-grid .holdenim-checkout-layout,
html.hdn-no-grid .holdenim-payment-document-grid {
    display: flex !important;
    flex-wrap: wrap;
    align-items: stretch;
}

html.hdn-no-grid .intro-sec > *,
html.hdn-no-grid .collection-grid > *,
html.hdn-no-grid .hp-home-dynamic .hp-gold-routes__track > *,
html.hdn-no-grid .hld-product-layout > *,
html.hdn-no-grid .hld-shop-toolbar > *,
html.hdn-no-grid .hdn-short-grid > *,
html.hdn-no-grid .hdn-journal-grid > *,
html.hdn-no-grid .woocommerce div.product .hld-product-layout > *,
html.hdn-no-grid .woocommerce-cart .hld-cart-layout > *,
html.hdn-no-grid .woocommerce-checkout .hld-checkout-layout > *,
html.hdn-no-grid .holdenim-checkout-layout > *,
html.hdn-no-grid .holdenim-payment-document-grid > * {
    box-sizing: border-box;
    flex: 1 1 320px;
    min-width: 0;
}

html.hdn-no-aspect-ratio .fit-card,
html.hdn-no-aspect-ratio .hld-product-card__media,
html.hdn-no-aspect-ratio .hdn-short-product-card__media,
html.hdn-no-aspect-ratio .woocommerce div.product div.images .flex-viewport,
html.hdn-no-aspect-ratio .woocommerce div.product div.images .woocommerce-product-gallery__image,
html.hdn-no-aspect-ratio body.single-product .hld-gallery-main {
    height: 520px;
}

html.hdn-no-aspect-ratio .hld-gallery-thumb,
html.hdn-no-aspect-ratio .woocommerce div.product div.images .flex-control-thumbs li {
    height: 80px;
}

html.hdn-no-object-fit img,
html.hdn-no-object-fit video {
    max-width: 100%;
}

html.hdn-no-object-fit .fit-img,
html.hdn-no-object-fit .hld-product-card__image,
html.hdn-no-object-fit .hdn-short-product-card__image,
html.hdn-no-object-fit .woocommerce div.product div.images .woocommerce-product-gallery__image img,
html.hdn-no-object-fit body.single-product .hld-gallery-main img,
html.hdn-no-object-fit .hero-bg img {
    height: auto !important;
    min-height: 100%;
    object-fit: fill;
}

html.hdn-no-has .holdenim-payment-plan__option.is-checked,
html.hdn-legacy-browser .holdenim-payment-plan__option.is-checked {
    border-color: rgba(176, 141, 87, 0.78);
    background: rgba(176, 141, 87, 0.14);
}

html.hdn-no-has .holdenim-payment-method.is-checked,
html.hdn-legacy-browser .holdenim-payment-method.is-checked {
    border-color: rgba(176, 141, 87, 0.9);
    background: rgba(176, 141, 87, 0.12);
}

html.hdn-no-intersection-observer [data-hdn-fit-media-slider] [data-hdn-fit-media-slide],
html.hdn-legacy-browser [data-hdn-fit-media-slider] [data-hdn-fit-media-slide] {
    opacity: 1;
}

@media (max-width: 782px) {
    html.hdn-no-clamp .hero-title,
    html.hdn-legacy-browser .hero-title {
        font-size: 3.35rem;
        line-height: 1;
    }

    html.hdn-no-clamp .hp-home-dynamic .hp-hero .hero-title,
    html.hdn-legacy-browser .hp-home-dynamic .hp-hero .hero-title {
        font-size: 3.25rem !important;
        line-height: 1 !important;
        max-width: calc(100vw - 1.5rem);
    }

    html.hdn-no-clamp .hp-home-dynamic .hp-hero .hero-sub,
    html.hdn-legacy-browser .hp-home-dynamic .hp-hero .hero-sub {
        font-size: 0.98rem !important;
        max-width: calc(100vw - 2rem);
    }

    html.hdn-no-clamp .collection-title,
    html.hdn-no-clamp .hld-shop-hero__title,
    html.hdn-no-clamp .hdn-short-hero__title,
    html.hdn-no-clamp .hdn-journal-hero__title,
    html.hdn-legacy-browser .collection-title,
    html.hdn-legacy-browser .hld-shop-hero__title,
    html.hdn-legacy-browser .hdn-short-hero__title,
    html.hdn-legacy-browser .hdn-journal-hero__title {
        font-size: 3rem;
        line-height: 1.02;
    }

    html.hdn-no-aspect-ratio .fit-card,
    html.hdn-no-aspect-ratio .hld-product-card__media,
    html.hdn-no-aspect-ratio .hdn-short-product-card__media,
    html.hdn-no-aspect-ratio .woocommerce div.product div.images .flex-viewport,
    html.hdn-no-aspect-ratio .woocommerce div.product div.images .woocommerce-product-gallery__image,
    html.hdn-no-aspect-ratio body.single-product .hld-gallery-main {
        height: 460px;
    }
}

@media (max-width: 430px) {
    html.hdn-no-clamp .hp-home-dynamic .hp-hero .hero-title,
    html.hdn-legacy-browser .hp-home-dynamic .hp-hero .hero-title {
        font-size: 3rem !important;
    }

    html.hdn-no-aspect-ratio .fit-card,
    html.hdn-no-aspect-ratio .hld-product-card__media,
    html.hdn-no-aspect-ratio .hdn-short-product-card__media,
    html.hdn-no-aspect-ratio .woocommerce div.product div.images .flex-viewport,
    html.hdn-no-aspect-ratio .woocommerce div.product div.images .woocommerce-product-gallery__image,
    html.hdn-no-aspect-ratio body.single-product .hld-gallery-main {
        height: 390px;
    }
}
