/* HYPER SPORT — final mobile layout authority. Loaded after all theme/Woo CSS. */
html,body{max-width:100%;overflow-x:hidden}
.hyper-sport-theme img,.hyper-sport-theme svg,.hyper-sport-theme video{max-width:100%;height:auto}
.hyper-sport-theme input,.hyper-sport-theme select,.hyper-sport-theme textarea,.hyper-sport-theme button{max-width:100%}

@media(max-width:900px){
    .hyper-sport-theme .wrap,
    .hyper-sport-theme.woocommerce-page .site-main,
    .hyper-sport-theme.woocommerce-account .site-main,
    .hyper-sport-theme.woocommerce-cart .site-main,
    .hyper-sport-theme.woocommerce-checkout .site-main{
        width:min(100% - 28px,1180px)!important;
        max-width:100%!important;
    }
    .hyper-sport-theme .site-content,
    .hyper-sport-theme .content-area,
    .hyper-sport-theme .site-main,
    .hyper-sport-theme article,
    .hyper-sport-theme .entry-content{
        min-width:0!important;
        max-width:100%!important;
    }
    .hyper-sport-theme .top{height:auto;min-height:28px;padding:7px 12px;text-align:center;line-height:1.35}
    .hyper-sport-theme header.nav{height:74px;gap:8px}
    .hyper-sport-theme header.nav>.logo{min-width:0;margin-right:auto}
    .hyper-sport-theme header.nav .hs-logo-image{max-width:128px;max-height:56px}
    .hyper-sport-theme .hs-nav-actions{flex:0 0 auto}

    .hyper-sport-theme .heroPhoto .heroGrid{display:block!important;min-height:610px}
    .hyper-sport-theme .heroPhoto .heroCopy{max-width:100%!important;padding:54px 0!important}
    .hyper-sport-theme .hero h1{font-size:clamp(47px,13vw,68px)!important;overflow-wrap:normal;word-break:normal}
    .hyper-sport-theme .actions{align-items:stretch!important}
    .hyper-sport-theme .actions .cta{width:100%;text-align:center}
    .hyper-sport-theme .stats{display:grid!important;grid-template-columns:1fr;gap:14px}
    .hyper-sport-theme .stats>div{margin:0!important;padding:0 0 14px!important;border-right:0!important;border-bottom:1px solid #333}
    .hyper-sport-theme .head,.hyper-sport-theme .hs-shop-head{display:block!important}
    .hyper-sport-theme .head>p{max-width:none}
    .hyper-sport-theme .about{grid-template-columns:1fr!important;gap:20px!important}
    .hyper-sport-theme .footer{grid-template-columns:1fr 1fr!important;gap:28px 18px!important}

    .hyper-sport-theme .hs-page-hero h1,
    .hyper-sport-theme.woocommerce-page .entry-title,
    .hyper-sport-theme.woocommerce-account .entry-title,
    .hyper-sport-theme.woocommerce-cart .entry-title,
    .hyper-sport-theme.woocommerce-checkout .entry-title{
        max-width:100%!important;
        font-size:clamp(38px,10vw,56px)!important;
        line-height:1!important;
        overflow-wrap:normal!important;
        word-break:normal!important;
        hyphens:none!important;
    }

    /* WooCommerce Blocks: remove every desktop width/column constraint. */
    .hyper-sport-theme .wp-block-woocommerce-checkout,
    .hyper-sport-theme .wc-block-checkout,
    .hyper-sport-theme .wc-block-components-sidebar-layout,
    .hyper-sport-theme .wc-block-components-main,
    .hyper-sport-theme .wc-block-checkout__main,
    .hyper-sport-theme .wc-block-components-sidebar,
    .hyper-sport-theme .wc-block-checkout__sidebar,
    .hyper-sport-theme .wc-block-components-checkout-step,
    .hyper-sport-theme .wc-block-components-checkout-step__heading,
    .hyper-sport-theme .wc-block-components-checkout-step__container,
    .hyper-sport-theme .wc-block-components-checkout-step__content,
    .hyper-sport-theme .wc-block-components-address-form,
    .hyper-sport-theme .wc-block-components-form,
    .hyper-sport-theme .wc-block-components-order-summary{
        display:block!important;
        width:100%!important;
        min-width:0!important;
        max-width:none!important;
        margin-left:0!important;
        margin-right:0!important;
        padding-left:0!important;
        padding-right:0!important;
        float:none!important;
        position:static!important;
    }
    .hyper-sport-theme .wc-block-components-checkout-step{
        margin:0 0 28px!important;
        padding:22px 0 0!important;
        border-top:1px solid #363636!important;
    }
    .hyper-sport-theme .wc-block-components-checkout-step__heading{margin:0 0 18px!important}
    .hyper-sport-theme .wc-block-components-checkout-step__title,
    .hyper-sport-theme .wc-block-components-checkout-step__description,
    .hyper-sport-theme .wc-block-components-title{
        display:block!important;
        width:100%!important;
        max-width:100%!important;
        margin:0!important;
        padding:0!important;
        color:#fff!important;
        overflow-wrap:normal!important;
        word-break:normal!important;
        hyphens:none!important;
    }
    .hyper-sport-theme .wc-block-components-checkout-step__title{font-size:25px!important;line-height:1.2!important}
    .hyper-sport-theme .wc-block-components-checkout-step__description{margin-top:8px!important;font-size:14px!important;line-height:1.55!important}
    .hyper-sport-theme .wc-block-components-sidebar{
        margin-top:22px!important;
        padding:18px!important;
        border:1px solid #363636!important;
        background:#151515!important;
    }
    .hyper-sport-theme .wc-block-components-address-form{
        display:grid!important;
        grid-template-columns:minmax(0,1fr)!important;
        gap:14px!important;
    }
    .hyper-sport-theme .wc-block-components-address-form>*{
        grid-column:1!important;
        width:100%!important;
        min-width:0!important;
        max-width:100%!important;
        margin:0!important;
    }
    .hyper-sport-theme .wc-block-components-text-input,
    .hyper-sport-theme .wc-block-components-combobox,
    .hyper-sport-theme .wc-block-components-combobox-control{
        width:100%!important;
        min-width:0!important;
        max-width:100%!important;
    }
    .hyper-sport-theme .wc-block-components-text-input input,
    .hyper-sport-theme .wc-block-components-combobox input,
    .hyper-sport-theme .wc-block-components-combobox select{
        width:100%!important;
        min-width:0!important;
        max-width:100%!important;
        font-size:16px!important;
    }
    .hyper-sport-theme .wc-block-components-button{width:100%!important;min-height:54px!important}
    .hyper-sport-theme .wc-block-components-order-summary__button-text{font-size:24px!important;line-height:1.2!important}

    /* Classic checkout/cart/account. */
    .hyper-sport-theme.woocommerce-checkout form.checkout,
    .hyper-sport-theme.woocommerce-order-pay form#order_review,
    .hyper-sport-theme .woocommerce-columns,
    .hyper-sport-theme .col2-set{
        display:block!important;
        width:100%!important;
    }
    .hyper-sport-theme .col2-set .col-1,
    .hyper-sport-theme .col2-set .col-2,
    .hyper-sport-theme .woocommerce-column{
        width:100%!important;
        float:none!important;
        margin:0 0 24px!important;
    }
    .hyper-sport-theme .form-row,
    .hyper-sport-theme .form-row-first,
    .hyper-sport-theme .form-row-last,
    .hyper-sport-theme .form-row-wide{
        width:100%!important;
        float:none!important;
        clear:both!important;
        margin:0 0 16px!important;
    }
    .hyper-sport-theme .woocommerce-MyAccount-navigation,
    .hyper-sport-theme .woocommerce-MyAccount-content{width:100%!important;float:none!important}
}

@media(max-width:600px){
    .hyper-sport-theme header.nav .hs-logo-image{max-width:112px}
    .hyper-sport-theme .hs-menu-toggle{width:40px;height:40px}
    .hyper-sport-theme .hs-account{width:38px;height:40px;display:grid;place-items:center}
    .hyper-sport-theme .hs-cart-toggle{width:44px;height:40px;padding:5px!important}
    .hyper-sport-theme .catalog,.hyper-sport-theme .hs-shop,.hyper-sport-theme .about{padding-top:58px!important;padding-bottom:58px!important}
    .hyper-sport-theme .grid,
    .hyper-sport-theme .hs-shop ul.products,
    .hyper-sport-theme.woocommerce-page ul.products{grid-template-columns:minmax(0,1fr)!important}
    .hyper-sport-theme .goalGrid{grid-template-columns:1fr!important}
    .hyper-sport-theme .footer{grid-template-columns:1fr!important}
    .hyper-sport-theme .legal{display:block!important;line-height:1.8}
    .hyper-sport-theme .legal span{display:block}

    .hyper-sport-theme .woocommerce-cart-form,
    .hyper-sport-theme .cart_totals,
    .hyper-sport-theme .woocommerce-checkout-review-order,
    .hyper-sport-theme .woocommerce-billing-fields,
    .hyper-sport-theme .woocommerce-shipping-fields,
    .hyper-sport-theme .woocommerce-additional-fields,
    .hyper-sport-theme .woocommerce-MyAccount-content,
    .hyper-sport-theme .woocommerce-form-login,
    .hyper-sport-theme .woocommerce-form-register{
        width:100%!important;
        min-width:0!important;
        padding:16px!important;
    }
    .hyper-sport-theme .woocommerce table.shop_table{display:block;width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
    .hyper-sport-theme .woocommerce table.shop_table tbody{width:100%}
    .hyper-sport-theme .wc-block-components-sidebar{padding:16px!important}
    .hyper-sport-theme .wc-block-components-order-summary-item{grid-template-columns:64px minmax(0,1fr)!important}
    .hyper-sport-theme .wc-block-components-order-summary-item__image{width:64px!important}
    .hyper-sport-theme .wc-block-components-order-summary-item__description{min-width:0!important}
    .hyper-sport-theme .wc-block-components-product-name{white-space:normal!important;overflow-wrap:anywhere!important}
    .hyper-sport-theme .hs-cart-drawer{width:100%!important;max-width:100%!important}
}

/* WooCommerce Checkout Blocks — iOS/mobile hard reset.
 * Blocks uses logical sizes, flex bases and nested grids that can retain the
 * desktop column width even after width:100%. Keep this last in the cascade. */
@media(max-width:900px){
    body.hyper-sport-theme.woocommerce-checkout,
    body.hyper-sport-theme.woocommerce-checkout #page,
    body.hyper-sport-theme.woocommerce-checkout #content,
    body.hyper-sport-theme.woocommerce-checkout .col-full,
    body.hyper-sport-theme.woocommerce-checkout .content-area,
    body.hyper-sport-theme.woocommerce-checkout .site-main,
    body.hyper-sport-theme.woocommerce-checkout article,
    body.hyper-sport-theme.woocommerce-checkout .entry-content{
        box-sizing:border-box!important;
        min-width:0!important;
        max-width:100%!important;
    }
    body.hyper-sport-theme.woocommerce-checkout .col-full,
    body.hyper-sport-theme.woocommerce-checkout .content-area,
    body.hyper-sport-theme.woocommerce-checkout .site-main{
        width:100%!important;
        inline-size:100%!important;
        margin-inline:0!important;
    }
    body.hyper-sport-theme.woocommerce-checkout .site-main{
        padding-inline:clamp(16px,5vw,28px)!important;
        overflow:hidden!important;
    }
    body.hyper-sport-theme.woocommerce-checkout .entry-content,
    body.hyper-sport-theme.woocommerce-checkout .wp-block-woocommerce-checkout,
    body.hyper-sport-theme.woocommerce-checkout .wc-block-checkout{
        width:100%!important;
        inline-size:100%!important;
        max-width:100%!important;
        max-inline-size:100%!important;
        margin:0!important;
        padding:0!important;
    }
    body.hyper-sport-theme.woocommerce-checkout .wp-block-woocommerce-checkout *,
    body.hyper-sport-theme.woocommerce-checkout .wc-block-checkout *{
        box-sizing:border-box!important;
        min-width:0!important;
        min-inline-size:0!important;
    }
    body.hyper-sport-theme.woocommerce-checkout .wc-block-components-sidebar-layout{
        display:flex!important;
        flex-direction:column!important;
        align-items:stretch!important;
        gap:24px!important;
        width:100%!important;
        inline-size:100%!important;
        max-width:100%!important;
        max-inline-size:100%!important;
        margin:0!important;
        padding:0!important;
    }
    body.hyper-sport-theme.woocommerce-checkout .wc-block-components-main,
    body.hyper-sport-theme.woocommerce-checkout .wc-block-checkout__main,
    body.hyper-sport-theme.woocommerce-checkout .wc-block-components-sidebar,
    body.hyper-sport-theme.woocommerce-checkout .wc-block-checkout__sidebar{
        flex:0 0 auto!important;
        flex-basis:auto!important;
        width:100%!important;
        inline-size:100%!important;
        max-width:100%!important;
        max-inline-size:100%!important;
        margin:0!important;
        inset:auto!important;
    }
    body.hyper-sport-theme.woocommerce-checkout .wc-block-components-main,
    body.hyper-sport-theme.woocommerce-checkout .wc-block-checkout__main{order:1!important;padding:0!important}
    body.hyper-sport-theme.woocommerce-checkout .wc-block-components-sidebar,
    body.hyper-sport-theme.woocommerce-checkout .wc-block-checkout__sidebar{order:2!important;padding:18px!important}

    body.hyper-sport-theme.woocommerce-checkout .wc-block-components-checkout-step,
    body.hyper-sport-theme.woocommerce-checkout .wc-block-components-checkout-step__heading,
    body.hyper-sport-theme.woocommerce-checkout .wc-block-components-checkout-step__container,
    body.hyper-sport-theme.woocommerce-checkout .wc-block-components-checkout-step__content,
    body.hyper-sport-theme.woocommerce-checkout .wc-block-checkout__contact-fields,
    body.hyper-sport-theme.woocommerce-checkout .wc-block-checkout__shipping-fields,
    body.hyper-sport-theme.woocommerce-checkout .wc-block-checkout__billing-fields,
    body.hyper-sport-theme.woocommerce-checkout .wc-block-components-form,
    body.hyper-sport-theme.woocommerce-checkout fieldset{
        display:block!important;
        grid-column:1 / -1!important;
        width:100%!important;
        inline-size:100%!important;
        max-width:100%!important;
        max-inline-size:100%!important;
        margin-inline:0!important;
        padding-inline:0!important;
        transform:none!important;
    }
    body.hyper-sport-theme.woocommerce-checkout .wc-block-components-checkout-step__heading,
    body.hyper-sport-theme.woocommerce-checkout .wc-block-components-checkout-step__container,
    body.hyper-sport-theme.woocommerce-checkout .wc-block-components-checkout-step__content{
        margin-left:0!important;
        margin-inline-start:0!important;
    }
    body.hyper-sport-theme.woocommerce-checkout .wc-block-components-checkout-step__title,
    body.hyper-sport-theme.woocommerce-checkout .wc-block-components-checkout-step__description,
    body.hyper-sport-theme.woocommerce-checkout .wc-block-components-title,
    body.hyper-sport-theme.woocommerce-checkout .wc-block-components-form label{
        width:auto!important;
        inline-size:auto!important;
        max-width:100%!important;
        white-space:normal!important;
        word-break:normal!important;
        overflow-wrap:break-word!important;
    }
    body.hyper-sport-theme.woocommerce-checkout .wc-block-components-address-form{
        display:grid!important;
        grid-template-columns:minmax(0,1fr)!important;
        width:100%!important;
        inline-size:100%!important;
    }
    body.hyper-sport-theme.woocommerce-checkout .wc-block-components-address-form>*,
    body.hyper-sport-theme.woocommerce-checkout .wc-block-components-form>*,
    body.hyper-sport-theme.woocommerce-checkout .wc-block-components-text-input,
    body.hyper-sport-theme.woocommerce-checkout .wc-block-components-combobox,
    body.hyper-sport-theme.woocommerce-checkout .wc-block-components-combobox-control,
    body.hyper-sport-theme.woocommerce-checkout .wc-block-components-checkbox{
        grid-column:1 / -1!important;
        width:100%!important;
        inline-size:100%!important;
        max-width:100%!important;
        max-inline-size:100%!important;
        margin-inline:0!important;
    }
    body.hyper-sport-theme.woocommerce-checkout input:not([type="checkbox"]):not([type="radio"]),
    body.hyper-sport-theme.woocommerce-checkout select,
    body.hyper-sport-theme.woocommerce-checkout textarea{
        display:block!important;
        width:100%!important;
        inline-size:100%!important;
        max-width:100%!important;
        font-size:16px!important;
    }
    body.hyper-sport-theme.woocommerce-checkout .wc-block-components-checkout-order-summary__title,
    body.hyper-sport-theme.woocommerce-checkout .wc-block-components-order-summary__button-text{
        display:flex!important;
        align-items:center!important;
        justify-content:space-between!important;
        gap:12px!important;
        width:100%!important;
        inline-size:100%!important;
        font-size:clamp(20px,6vw,28px)!important;
    }
}

@media(max-width:480px){
    body.hyper-sport-theme.woocommerce-checkout .site-main{padding-inline:16px!important}
    body.hyper-sport-theme.woocommerce-checkout .wc-block-components-sidebar,
    body.hyper-sport-theme.woocommerce-checkout .wc-block-checkout__sidebar{padding:14px!important}
    body.hyper-sport-theme.woocommerce-checkout .wc-block-components-checkout-step__title{font-size:24px!important}
}
