/* HYPER SPORT — complete WooCommerce branding, classic templates and Blocks. */
.hyper-sport-theme.woocommerce-page,
.hyper-sport-theme.woocommerce-account,
.hyper-sport-theme.woocommerce-cart,
.hyper-sport-theme.woocommerce-checkout{
    background:#0d0d0d!important;
    color:#fff!important;
}
.hyper-sport-theme.woocommerce-page #page,
.hyper-sport-theme.woocommerce-page .site,
.hyper-sport-theme.woocommerce-page .site-content,
.hyper-sport-theme.woocommerce-account #page,
.hyper-sport-theme.woocommerce-cart #page,
.hyper-sport-theme.woocommerce-checkout #page{background:#0d0d0d!important;color:#fff!important}
.hyper-sport-theme.woocommerce-page .content-area,
.hyper-sport-theme.woocommerce-account .content-area,
.hyper-sport-theme.woocommerce-cart .content-area,
.hyper-sport-theme.woocommerce-checkout .content-area{
    width:100%!important;
    float:none!important;
    margin:0!important;
}
.hyper-sport-theme.woocommerce-page #secondary,
.hyper-sport-theme.woocommerce-account #secondary,
.hyper-sport-theme.woocommerce-cart #secondary,
.hyper-sport-theme.woocommerce-checkout #secondary{display:none!important}
.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(1180px,calc(100% - 40px));
    margin:0 auto!important;
    padding:62px 0 90px!important;
}
.hyper-sport-theme.woocommerce-page .entry-header,
.hyper-sport-theme.woocommerce-account .entry-header,
.hyper-sport-theme.woocommerce-cart .entry-header,
.hyper-sport-theme.woocommerce-checkout .entry-header{
    margin:0 0 34px!important;
    padding:0 0 25px;
    border-bottom:3px solid var(--red);
}
.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{
    margin:0!important;
    color:#fff!important;
    font:italic clamp(42px,6vw,72px)/.95 Impact,"Arial Black",sans-serif!important;
    text-transform:uppercase;
}

/* Global WooCommerce typography and links. */
.hyper-sport-theme .woocommerce,
.hyper-sport-theme .woocommerce-page,
.hyper-sport-theme [class*="wc-block-"]{color:#fff!important}
.hyper-sport-theme .woocommerce h1,
.hyper-sport-theme .woocommerce h2,
.hyper-sport-theme .woocommerce h3,
.hyper-sport-theme .woocommerce h4,
.hyper-sport-theme .woocommerce h5,
.hyper-sport-theme .woocommerce h6,
.hyper-sport-theme [class*="wc-block-"] h1,
.hyper-sport-theme [class*="wc-block-"] h2,
.hyper-sport-theme [class*="wc-block-"] h3,
.hyper-sport-theme [class*="wc-block-"] h4{color:#fff!important}
.hyper-sport-theme .woocommerce p,
.hyper-sport-theme .woocommerce li,
.hyper-sport-theme .woocommerce label,
.hyper-sport-theme .woocommerce legend,
.hyper-sport-theme .woocommerce dt,
.hyper-sport-theme .woocommerce dd,
.hyper-sport-theme [class*="wc-block-"] p,
.hyper-sport-theme [class*="wc-block-"] span,
.hyper-sport-theme [class*="wc-block-"] label{color:#fff!important}
.hyper-sport-theme .woocommerce a,
.hyper-sport-theme [class*="wc-block-"] a{color:#fff!important}
.hyper-sport-theme .woocommerce a:hover,
.hyper-sport-theme [class*="wc-block-"] a:hover{color:var(--red)!important}

/* Forms: never white text on white fields. */
.hyper-sport-theme .woocommerce input:not([type="checkbox"]):not([type="radio"]),
.hyper-sport-theme .woocommerce select,
.hyper-sport-theme .woocommerce textarea,
.hyper-sport-theme .wc-block-components-form input:not([type="checkbox"]):not([type="radio"]),
.hyper-sport-theme .wc-block-components-form select,
.hyper-sport-theme .wc-block-components-form textarea,
.hyper-sport-theme .wc-block-components-text-input input,
.hyper-sport-theme .wc-block-components-combobox .wc-block-components-combobox-control input{
    width:100%;
    min-height:50px;
    padding:12px 14px!important;
    border:1px solid #505050!important;
    border-radius:0!important;
    background:#171717!important;
    color:#fff!important;
    caret-color:#fff!important;
    box-shadow:none!important;
}
.hyper-sport-theme .woocommerce input::placeholder,
.hyper-sport-theme .woocommerce textarea::placeholder,
.hyper-sport-theme .wc-block-components-form input::placeholder,
.hyper-sport-theme .wc-block-components-form textarea::placeholder{color:#bcbcbc!important;opacity:1}
.hyper-sport-theme .woocommerce input:focus,
.hyper-sport-theme .woocommerce select:focus,
.hyper-sport-theme .woocommerce textarea:focus,
.hyper-sport-theme .wc-block-components-form input:focus,
.hyper-sport-theme .wc-block-components-form select:focus,
.hyper-sport-theme .wc-block-components-form textarea:focus{
    border-color:var(--red)!important;
    outline:2px solid rgba(211,16,39,.28)!important;
    outline-offset:1px;
}
.hyper-sport-theme .wc-block-components-text-input label,
.hyper-sport-theme .wc-block-components-combobox .wc-block-components-combobox-control label,
.hyper-sport-theme .wc-block-components-checkbox__label,
.hyper-sport-theme .wc-block-components-radio-control__label{color:#fff!important;background:transparent!important}
.hyper-sport-theme input[type="checkbox"],
.hyper-sport-theme input[type="radio"]{accent-color:var(--red)}

/* Shared panels, notices and buttons. */
.hyper-sport-theme .woocommerce-message,
.hyper-sport-theme .woocommerce-info,
.hyper-sport-theme .woocommerce-error,
.hyper-sport-theme .wc-block-components-notice-banner{
    margin:0 0 24px!important;
    padding:16px 18px!important;
    border:1px solid #3d3d3d!important;
    border-left:4px solid var(--red)!important;
    border-radius:0!important;
    background:#191919!important;
    color:#fff!important;
}
.hyper-sport-theme .woocommerce-message.hs-auto-notice{
    position:relative;
    padding-right:52px!important;
    opacity:1;
    transform:translateY(0);
    overflow:hidden;
    transition:opacity .25s ease,transform .25s ease,max-height .25s ease,margin .25s ease,padding .25s ease;
}
.hyper-sport-theme .woocommerce-message.hs-auto-notice::after{
    content:"";
    position:absolute;
    left:0;
    bottom:0;
    width:100%;
    height:2px;
    background:var(--red);
    transform-origin:left;
    animation:hs-notice-timer 6s linear forwards;
}
.hyper-sport-theme .woocommerce-message.hs-notice-leaving{
    max-height:0!important;
    margin-top:0!important;
    margin-bottom:0!important;
    padding-top:0!important;
    padding-bottom:0!important;
    border-width:0!important;
    opacity:0;
    transform:translateY(-10px);
}
.hyper-sport-theme .hs-notice-close{
    position:absolute;
    z-index:2;
    top:50%;
    right:12px;
    width:30px;
    height:30px;
    min-height:0!important;
    padding:0!important;
    border:1px solid #555!important;
    border-radius:0!important;
    background:#252525!important;
    color:#fff!important;
    font-size:20px!important;
    line-height:1!important;
    transform:translateY(-50%);
    cursor:pointer;
}
.hyper-sport-theme .hs-notice-close:hover{border-color:var(--red)!important;background:var(--red)!important}
@keyframes hs-notice-timer{from{transform:scaleX(1)}to{transform:scaleX(0)}}
.hyper-sport-theme .woocommerce button.button,
.hyper-sport-theme .woocommerce a.button,
.hyper-sport-theme .woocommerce input.button,
.hyper-sport-theme .wc-block-components-button{
    min-height:48px;
    padding:13px 20px!important;
    border:1px solid var(--red)!important;
    border-radius:0!important;
    background:var(--red)!important;
    color:#fff!important;
    font-size:11px!important;
    font-weight:900!important;
    letter-spacing:.5px;
    text-decoration:none!important;
}
.hyper-sport-theme .woocommerce button.button:hover,
.hyper-sport-theme .woocommerce a.button:hover,
.hyper-sport-theme .woocommerce input.button:hover,
.hyper-sport-theme .wc-block-components-button:hover{background:#ef233c!important;border-color:#ef233c!important;color:#fff!important}

/* Classic cart and checkout tables. */
.hyper-sport-theme.woocommerce-checkout form.checkout{
    display:grid!important;
    grid-template-columns:minmax(0,1.15fr) minmax(360px,.85fr);
    grid-template-rows:auto 1fr;
    gap:0 34px;
    align-items:start;
}
.hyper-sport-theme.woocommerce-checkout form.checkout #customer_details{
    grid-column:1;
    grid-row:1/3;
    width:100%!important;
}
.hyper-sport-theme.woocommerce-checkout form.checkout #order_review_heading{
    grid-column:2;
    grid-row:1;
    width:100%!important;
    float:none!important;
    margin:0!important;
    padding:0 0 18px;
    color:#fff!important;
    font:italic 34px/1 Impact,"Arial Black",sans-serif!important;
}
.hyper-sport-theme.woocommerce-checkout form.checkout #order_review{
    grid-column:2;
    grid-row:2;
    width:100%!important;
    float:none!important;
    margin:0!important;
    position:sticky;
    top:22px;
}
.hyper-sport-theme.woocommerce-order-pay form#order_review{
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(360px,.82fr);
    gap:32px;
    align-items:start;
}
.hyper-sport-theme.woocommerce-order-pay form#order_review .shop_table{grid-column:1;margin:0!important}
.hyper-sport-theme.woocommerce-order-pay form#order_review #payment{grid-column:2;position:sticky;top:22px}
.hyper-sport-theme .woocommerce table.shop_table,
.hyper-sport-theme .woocommerce table.shop_table th,
.hyper-sport-theme .woocommerce table.shop_table td,
.hyper-sport-theme .woocommerce-checkout-review-order-table,
.hyper-sport-theme .woocommerce-checkout-review-order-table th,
.hyper-sport-theme .woocommerce-checkout-review-order-table td{
    border-color:#3a3a3a!important;
    background:#161616!important;
    color:#fff!important;
}
.hyper-sport-theme .woocommerce table.shop_table{border:1px solid #3a3a3a!important;border-radius:0!important}
.hyper-sport-theme .woocommerce table.shop_table th,
.hyper-sport-theme .woocommerce table.shop_table td{padding:15px!important}
.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{
    padding:25px;
    border:1px solid #343434;
    background:#141414;
}
.hyper-sport-theme #payment{
    border:1px solid #3a3a3a!important;
    border-radius:0!important;
    background:#161616!important;
    color:#fff!important;
}
.hyper-sport-theme #payment .payment_box{background:#242424!important;color:#fff!important}
.hyper-sport-theme #payment .payment_box::before{border-bottom-color:#242424!important}
.hyper-sport-theme .select2-container--default .select2-selection--single{
    min-height:50px!important;
    border:1px solid #505050!important;
    border-radius:0!important;
    background:#171717!important;
    color:#fff!important;
}
.hyper-sport-theme .select2-selection__rendered{padding:10px 14px!important;color:#fff!important}
.select2-dropdown{border-color:#505050!important;background:#171717!important;color:#fff!important}
.select2-results__option{color:#fff!important}.select2-results__option--highlighted{background:var(--red)!important}

/* WooCommerce Blocks cart and checkout. */
.hyper-sport-theme .wc-block-cart,
.hyper-sport-theme .wc-block-checkout,
.hyper-sport-theme .wc-block-components-sidebar,
.hyper-sport-theme .wc-block-components-main,
.hyper-sport-theme .wc-block-components-order-summary,
.hyper-sport-theme .wc-block-components-totals-wrapper,
.hyper-sport-theme .wc-block-components-checkout-step,
.hyper-sport-theme .wc-block-checkout__order-notes,
.hyper-sport-theme .wc-block-checkout__payment-method,
.hyper-sport-theme .wc-block-checkout__terms{
    background:#0d0d0d!important;
    color:#fff!important;
}
.hyper-sport-theme .wc-block-checkout .wc-block-components-sidebar-layout,
.hyper-sport-theme .wp-block-woocommerce-checkout .wc-block-components-sidebar-layout{
    display:grid!important;
    grid-template-columns:minmax(0,1.15fr) minmax(360px,.85fr)!important;
    gap:34px!important;
    align-items:start;
}
.hyper-sport-theme .wc-block-checkout .wc-block-components-main,
.hyper-sport-theme .wp-block-woocommerce-checkout .wc-block-components-main{
    grid-column:1;
    width:100%!important;
    padding:0!important;
}
.hyper-sport-theme .wc-block-checkout .wc-block-components-sidebar,
.hyper-sport-theme .wp-block-woocommerce-checkout .wc-block-components-sidebar{
    grid-column:2;
    width:100%!important;
    margin:0!important;
    position:sticky;
    top:22px;
}
.hyper-sport-theme .wc-block-components-sidebar{
    padding:24px!important;
    border:1px solid #343434!important;
    background:#151515!important;
}
.hyper-sport-theme .wc-block-components-checkout-step,
.hyper-sport-theme .wc-block-components-totals-wrapper,
.hyper-sport-theme .wc-block-components-order-summary{
    border-color:#3a3a3a!important;
}
.hyper-sport-theme .wc-block-components-checkout-step__heading,
.hyper-sport-theme .wc-block-components-checkout-step__title,
.hyper-sport-theme .wc-block-components-title,
.hyper-sport-theme .wc-block-components-totals-item__label,
.hyper-sport-theme .wc-block-components-totals-item__value{color:#fff!important}
.hyper-sport-theme .wc-block-components-panel__button,
.hyper-sport-theme .wc-block-components-order-summary__button-text{color:#fff!important;background:transparent!important}
.hyper-sport-theme .wc-block-components-order-summary-item,
.hyper-sport-theme .wc-block-cart-items__row{border-color:#343434!important;color:#fff!important}
.hyper-sport-theme .wc-block-components-product-name,
.hyper-sport-theme .wc-block-components-product-metadata,
.hyper-sport-theme .wc-block-components-product-details,
.hyper-sport-theme .wc-block-components-product-price,
.hyper-sport-theme .wc-block-formatted-money-amount{color:#fff!important}
.hyper-sport-theme .wc-block-components-quantity-selector{
    border:1px solid #505050!important;
    border-radius:0!important;
    background:#171717!important;
}
.hyper-sport-theme .wc-block-components-quantity-selector input,
.hyper-sport-theme .wc-block-components-quantity-selector button{background:#171717!important;color:#fff!important}
.hyper-sport-theme .wc-block-components-radio-control-accordion-option,
.hyper-sport-theme .wc-block-components-radio-control__option{
    border-color:#3a3a3a!important;
    background:#171717!important;
    color:#fff!important;
}

/* My Account and order pages. */
.hyper-sport-theme .woocommerce-MyAccount-navigation{
    width:260px!important;
    padding:18px;
    border-left:4px solid var(--red);
    background:#171717;
}
.hyper-sport-theme .woocommerce-MyAccount-navigation ul{margin:0!important;padding:0!important;list-style:none}
.hyper-sport-theme .woocommerce-MyAccount-navigation li{margin:0!important;border-bottom:1px solid #333}
.hyper-sport-theme .woocommerce-MyAccount-navigation a{display:block;padding:14px 10px;color:#fff!important;font-weight:800;text-decoration:none}
.hyper-sport-theme .woocommerce-MyAccount-navigation li.is-active a,
.hyper-sport-theme .woocommerce-MyAccount-navigation a:hover{padding-left:16px;background:var(--red);color:#fff!important}
.hyper-sport-theme .woocommerce-MyAccount-content{
    width:calc(100% - 300px)!important;
    padding:26px;
    border:1px solid #343434;
    background:#141414;
    color:#fff!important;
}
.hyper-sport-theme .woocommerce-form-login,
.hyper-sport-theme .woocommerce-form-register,
.hyper-sport-theme .woocommerce-EditAccountForm,
.hyper-sport-theme .woocommerce-address-fields{
    padding:26px!important;
    border:1px solid #343434!important;
    border-radius:0!important;
    background:#141414!important;
    color:#fff!important;
}
.hyper-sport-theme .woocommerce-order-overview{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:1px;
    margin:25px 0!important;
    padding:1px!important;
    background:#3a3a3a;
}
.hyper-sport-theme .woocommerce-order-overview li{
    margin:0!important;
    padding:18px!important;
    border:0!important;
    background:#171717;
    color:#fff!important;
}
.hyper-sport-theme address{padding:20px;border:1px solid #343434!important;background:#171717;color:#fff!important}

@media(max-width:900px){
    .hyper-sport-theme.woocommerce-checkout form.checkout,
    .hyper-sport-theme.woocommerce-order-pay form#order_review{
        display:block!important;
    }
    .hyper-sport-theme.woocommerce-checkout form.checkout #customer_details,
    .hyper-sport-theme.woocommerce-checkout form.checkout #order_review_heading,
    .hyper-sport-theme.woocommerce-checkout form.checkout #order_review,
    .hyper-sport-theme.woocommerce-order-pay form#order_review .shop_table,
    .hyper-sport-theme.woocommerce-order-pay form#order_review #payment{
        width:100%!important;
        position:static!important;
    }
    .hyper-sport-theme.woocommerce-checkout form.checkout #order_review_heading{margin-top:32px!important}
    .hyper-sport-theme.woocommerce-order-pay form#order_review #payment{margin-top:28px}
    .hyper-sport-theme .wc-block-components-sidebar-layout{display:block!important}
    .hyper-sport-theme .wc-block-components-main,
    .hyper-sport-theme .wc-block-components-sidebar{width:100%!important;padding-left:0!important;padding-right:0!important}
    .hyper-sport-theme .wc-block-components-sidebar{margin-top:28px!important;padding:20px!important}
    .hyper-sport-theme .woocommerce-MyAccount-navigation,
    .hyper-sport-theme .woocommerce-MyAccount-content{width:100%!important;float:none!important}
    .hyper-sport-theme .woocommerce-MyAccount-navigation{margin-bottom:25px}
    .hyper-sport-theme .woocommerce-order-overview{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:600px){
    .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);padding:38px 0 70px!important}
    .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{font-size:42px!important}
    .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{padding:16px}
    .hyper-sport-theme .woocommerce table.shop_table_responsive tr{display:block;padding:12px;border-bottom:1px solid #3a3a3a}
    .hyper-sport-theme .woocommerce table.shop_table_responsive td{display:grid!important;grid-template-columns:minmax(110px,42%) 1fr;gap:10px;text-align:right!important}
    .hyper-sport-theme .woocommerce table.shop_table_responsive td::before{color:#fff!important;text-align:left}
    .hyper-sport-theme .wc-block-components-sidebar{padding:16px!important}
    .hyper-sport-theme .wc-block-components-checkout-step{padding-left:0!important}
    .hyper-sport-theme .wc-block-components-checkout-step__container{padding:0!important}
    .hyper-sport-theme .woocommerce-order-overview{grid-template-columns:1fr}
}
