/*
Theme Name: KYRO
Theme URI: https://kyropeptides.com/
Author: KYRO
Description: Custom WooCommerce theme for KYRO research compounds.
Version: 1.0.0
Requires at least: 6.5
Tested up to: 6.5
Requires PHP: 8.0
Text Domain: kyro
*/

/* WordPress/WooCommerce bridge styles. The visual system is inherited from styles.css. */
.site-header {
    position: fixed;
    top: 0;
    background: rgba(8, 8, 8, 0.76);
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

/* Targeted WooCommerce notice cleanup for product-page add-to-basket feedback. */
.woocommerce-notices-wrapper:empty,
.single-product .woocommerce-notices-wrapper:empty {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}

.single-product .woocommerce-notices-wrapper {
    width: min(1180px, calc(100vw - 48px));
    margin: 0 auto !important;
    padding: 0 !important;
    background: transparent !important;
}

.single-product .woocommerce-message,
.single-product .woocommerce-info,
.single-product .woocommerce-error {
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    background: rgba(255, 255, 255, 0.055) !important;
    color: #fff !important;
    box-shadow: none !important;
}

/* Final shared product-card media reset. Single-product imagery is intentionally excluded. */
.product-grid > .product-card,
.featured-section .product-grid > .product-card,
.shop-page .product-grid > .product-card,
.related-products .product-grid > .product-card,
.basket-recommendations .product-grid > .product-card,
.empty-recommendations .product-grid > .product-card,
.basket-recommendations .basket-recommendation-grid > .product-card {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: auto 1fr !important;
    align-items: stretch !important;
}

.product-grid > .product-card .product-media,
.featured-section .product-grid > .product-card .product-media,
.shop-page .product-grid > .product-card .product-media,
.related-products .product-grid > .product-card .product-media,
.basket-recommendations .product-grid > .product-card .product-media,
.empty-recommendations .product-grid > .product-card .product-media,
.basket-recommendations .basket-recommendation-grid > .product-card .product-media {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    flex: 0 0 auto !important;
    justify-self: stretch !important;
    align-self: stretch !important;
    display: grid !important;
    place-items: center !important;
    padding-left: clamp(18px, 2vw, 30px) !important;
    padding-right: clamp(18px, 2vw, 30px) !important;
    overflow: hidden !important;
    margin: 0 !important;
    text-align: center !important;
    transform: none !important;
}

.product-grid > .product-card .product-media > a,
.featured-section .product-grid > .product-card .product-media > a,
.shop-page .product-grid > .product-card .product-media > a,
.related-products .product-grid > .product-card .product-media > a,
.basket-recommendations .product-grid > .product-card .product-media > a,
.empty-recommendations .product-grid > .product-card .product-media > a,
.basket-recommendations .basket-recommendation-grid > .product-card .product-media > a {
    width: 100% !important;
    height: 100% !important;
    display: grid !important;
    place-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
}

.product-grid > .product-card .product-body,
.featured-section .product-grid > .product-card .product-body,
.shop-page .product-grid > .product-card .product-body,
.related-products .product-grid > .product-card .product-body,
.basket-recommendations .product-grid > .product-card .product-body,
.empty-recommendations .product-grid > .product-card .product-body,
.basket-recommendations .basket-recommendation-grid > .product-card .product-body {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    flex: 0 0 auto !important;
    justify-self: stretch !important;
    margin: 0 !important;
}

.product-grid > .product-card .product-media img,
.featured-section .product-grid > .product-card .product-media img,
.shop-page .product-grid > .product-card .product-media img,
.related-products .product-grid > .product-card .product-media img,
.basket-recommendations .product-grid > .product-card .product-media img,
.empty-recommendations .product-grid > .product-card .product-media img,
.basket-recommendations .basket-recommendation-grid > .product-card .product-media img,
.product-grid > .product-card .product-media .woocommerce-placeholder,
.featured-section .product-grid > .product-card .product-media .woocommerce-placeholder,
.shop-page .product-grid > .product-card .product-media .woocommerce-placeholder,
.related-products .product-grid > .product-card .product-media .woocommerce-placeholder,
.basket-recommendations .product-grid > .product-card .product-media .woocommerce-placeholder,
.empty-recommendations .product-grid > .product-card .product-media .woocommerce-placeholder,
.basket-recommendations .basket-recommendation-grid > .product-card .product-media .woocommerce-placeholder {
    position: static !important;
    inset: auto !important;
    float: none !important;
    display: block !important;
    margin: 0 !important;
    object-fit: contain !important;
    object-position: 50% 50% !important;
    transform: translate3d(var(--kyro-image-offset-x, var(--kyro-media-offset-x, 0px)), var(--kyro-image-offset-y, var(--kyro-media-offset-y, 0px)), 0) !important;
    will-change: transform;
}

.product-grid > .product-card:hover .product-media img,
.featured-section .product-grid > .product-card:hover .product-media img,
.shop-page .product-grid > .product-card:hover .product-media img,
.related-products .product-grid > .product-card:hover .product-media img,
.basket-recommendations .product-grid > .product-card:hover .product-media img,
.empty-recommendations .product-grid > .product-card:hover .product-media img,
.basket-recommendations .basket-recommendation-grid > .product-card:hover .product-media img {
    transform: translate3d(var(--kyro-image-offset-x, var(--kyro-media-offset-x, 0px)), var(--kyro-image-offset-y, var(--kyro-media-offset-y, 0px)), 0) !important;
}

.drawer-item.is-updating {
    opacity: 0.58;
    pointer-events: none;
}

.site-header a,
.site-header button,
.site-header svg {
    color: inherit;
    stroke: currentColor;
}

.site-header.on-light,
.site-header.is-solid,
.site-header.is-scrolled {
    background: rgba(8, 8, 8, 0.82);
    color: #fff;
}

.admin-bar .site-header {
    top: 32px;
}

.admin-bar .search-drawer,
.admin-bar .cart-drawer,
.admin-bar .age-gate {
    top: 32px;
}

.admin-bar .mobile-menu {
    top: 96px;
}

.wp-site-blocks,
.kyro-theme {
    min-height: 100vh;
}

.kyro-woocommerce main#main > .basket-page:first-child,
.kyro-woocommerce main#main > .checkout-flow:first-child,
.kyro-woocommerce main#main > .page-section:first-child,
.kyro-woocommerce main#main > .page-shell:first-child {
    margin-top: 0;
}

.screen-reader-text,
.skip-link {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link:focus {
    position: fixed;
    z-index: 10000;
    top: 12px;
    left: 12px;
    width: auto;
    height: auto;
    padding: 12px 16px;
    clip: auto;
    background: #fff;
    color: #050505;
}

.brand,
.nav-links a,
.mobile-menu a,
.footer-social,
.footer-grid a,
.product-card a,
.basket-product-link {
    text-decoration: none;
}

.nav-links .current-menu-item > a,
.nav-links a.is-active {
    opacity: 1;
}

.mobile-menu [data-mobile-cart-link] {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-menu[aria-hidden="true"] {
    display: none;
}

.menu-open .mobile-menu[aria-hidden="false"] {
    display: grid;
}

.page-content-empty {
    min-height: 240px;
    display: grid;
    place-items: center;
    text-align: center;
    color: rgba(17, 17, 17, 0.62);
}

.nav-menu,
.footer-menu {
    display: contents;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li,
.footer-menu li {
    display: contents;
}

.woocommerce-notices-wrapper {
    width: min(1180px, calc(100vw - 48px));
    margin: 28px auto 0;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    padding: 14px 18px;
    list-style: none;
}

.light-section .woocommerce-message,
.light-section .woocommerce-info,
.light-section .woocommerce-error,
.shop-page .woocommerce-message,
.shop-page .woocommerce-info,
.shop-page .woocommerce-error {
    border-color: rgba(0, 0, 0, 0.12);
    background: rgba(0, 0, 0, 0.035);
    color: #111;
}

.kyro-product-card-link {
    color: inherit;
    display: contents;
}

.kyro-product-card-link:focus-visible .product-card {
    outline: 1px solid currentColor;
    outline-offset: 4px;
}

.product-card .button {
    align-self: end;
}

.product-card .added_to_cart.wc-forward,
.basket-addon-card .added_to_cart.wc-forward,
.search-result .added_to_cart.wc-forward {
    display: none !important;
}

.product-card .card-actions .button,
.basket-addon-card .button,
.search-result-actions .add_to_cart_button,
.search-result-actions .is-in-cart {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 44px;
    padding: 0 22px;
    border: 1px solid currentColor;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 11px;
    line-height: 1;
    white-space: nowrap;
}

.product-card .card-actions .button-dark,
.basket-addon-card .button-dark,
.search-result-actions .add_to_cart_button:not(.is-in-cart) {
    background: #050505;
    border-color: #050505;
    color: #fff;
}

.product-card .card-actions .button-outline,
.product-card .card-actions .is-in-cart,
.basket-addon-card .button-outline,
.search-result-actions .is-in-cart {
    background: transparent;
    border-color: currentColor;
    color: inherit;
}

.basket-page .product-card .card-actions .button-outline,
.basket-page .product-card .card-actions .is-in-cart,
.basket-page .basket-addon-card .button-outline,
.basket-page .basket-addon-card .is-in-cart {
    color: #fff;
}

.basket-page .product-card .card-actions .button-dark,
.basket-page .basket-addon-card .button-dark {
    background: #fff;
    border-color: #fff;
    color: #050505;
}

.catalogue-sort .woocommerce-ordering {
    margin: 0;
}

.catalogue-sort .woocommerce-ordering select {
    width: 100%;
}

.kyro-pagination {
    margin-top: clamp(28px, 4vw, 54px);
}

.kyro-pagination .woocommerce-pagination ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.kyro-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    min-height: 42px;
    border: 1px solid rgba(0, 0, 0, 0.14);
    padding: 0 12px;
    color: inherit;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 11px;
}

.kyro-pagination .page-numbers.current {
    background: #050505;
    color: #fff;
    border-color: #050505;
}

.product-card .button[aria-disabled="true"],
.button.is-disabled,
.button.disabled {
    pointer-events: none;
    opacity: 0.45;
}

.product-card-meta,
.product-specs {
    display: grid;
    gap: 12px;
}

.product-specs .data-row {
    grid-template-columns: minmax(120px, 0.35fr) 1fr;
}

.product-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 18px 0 22px;
}

.product-benefits span {
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: rgba(255, 255, 255, 0.76);
    padding: 7px 10px;
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.single-product-form {
    margin-top: 26px;
}

.detail-image-button,
.detail-media-button {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    border: 0;
    padding: 0;
    background: transparent;
    cursor: zoom-in;
}

.detail-image-button img,
.detail-media-button img {
    display: block;
}

.single-product-form form.cart,
.kyro-add-to-cart-form {
    margin: 0;
}

.single-product-form form.cart,
.kyro-purchase-row {
    display: grid;
    grid-template-columns: minmax(104px, 132px) 1fr;
    gap: 14px;
    align-items: stretch;
}

.single-product-form .quantity,
.kyro-woo-quantity .quantity {
    margin: 0;
}

.product-page-shell .qty-control .qty {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    border: 0;
    background: transparent;
    color: #fff;
    text-align: center;
    font-size: 24px;
    line-height: 1;
}

/* WooCommerce basket and checkout parity bridge. */
.woocommerce-cart-form {
    margin: 0;
}

.basket-remove {
    display: inline-block;
    border-bottom: 1px solid currentColor;
    color: var(--white);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    transition:
        opacity 150ms ease,
        transform 150ms ease;
}

.basket-remove:hover {
    opacity: 0.72;
}

.kyro-update-cart {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
}

.basket-page .qty-control input.qty,
.cart-drawer .qty-control input.qty {
    width: 100%;
    min-width: 0;
    height: 100%;
    border: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.18);
    border-right: 1px solid rgba(255, 255, 255, 0.18);
    background: transparent;
    color: var(--white);
    text-align: center;
    font: inherit;
    appearance: textfield;
    -moz-appearance: textfield;
}

.basket-page .qty-control input.qty::-webkit-outer-spin-button,
.basket-page .qty-control input.qty::-webkit-inner-spin-button {
    margin: 0;
    appearance: none;
}

.basket-page .woocommerce-notices-wrapper,
.checkout-flow .woocommerce-notices-wrapper,
.woocommerce-error,
.woocommerce-info,
.woocommerce-message {
    width: min(100%, 1460px);
    margin: 0 auto 24px;
}

.checkout-flow form.checkout.checkout-layout {
    display: grid;
}

.kyro-woocommerce .checkout-flow {
    width: min(calc(100% - 72px), 1460px);
    max-width: 1460px;
    margin-right: auto;
    margin-left: auto;
}

.kyro-woocommerce .checkout-flow .checkout-steps,
.kyro-woocommerce .checkout-flow form.checkout.checkout-layout,
.kyro-woocommerce .checkout-flow .checkout-layout {
    width: 100%;
    max-width: none;
}

.kyro-woocommerce .checkout-flow form.checkout.checkout-layout,
.kyro-woocommerce .checkout-flow .checkout-layout {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 420px);
    gap: clamp(32px, 4vw, 56px);
    align-items: start;
}

.kyro-woocommerce .checkout-flow .checkout-card {
    min-width: 0;
}

.kyro-woocommerce .checkout-flow .checkout-summary-card,
.kyro-woocommerce .checkout-flow .checkout-layout > .checkout-card:last-child {
    width: 100%;
    align-self: start;
}

body.woocommerce-checkout:not(.woocommerce-order-received),
body.woocommerce-checkout:not(.woocommerce-order-received) .site,
body.woocommerce-checkout:not(.woocommerce-order-received) #page,
body.woocommerce-checkout:not(.woocommerce-order-received) .site-main,
body.woocommerce-checkout:not(.woocommerce-order-received) .content-area,
body.woocommerce-checkout:not(.woocommerce-order-received) main#main,
body.woocommerce-checkout:not(.woocommerce-order-received) .entry-content,
body.woocommerce-checkout:not(.woocommerce-order-received) .page-content,
body.woocommerce-checkout:not(.woocommerce-order-received) .page-section,
body.woocommerce-checkout:not(.woocommerce-order-received) .section,
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce {
    width: 100%;
    max-width: none;
    min-height: 100vh;
    margin: 0;
    padding-right: 0;
    padding-left: 0;
    overflow-x: hidden;
    background: #030303;
}

body.woocommerce-checkout:not(.woocommerce-order-received) main#main {
    padding-top: 0;
    padding-bottom: 0;
}

body.woocommerce-checkout:not(.woocommerce-order-received).kyro-woocommerce .checkout-flow {
    width: 100%;
    max-width: none;
    margin-right: 0;
    margin-left: 0;
}

body.woocommerce-checkout:not(.woocommerce-order-received).kyro-woocommerce .checkout-flow > .basket-top,
body.woocommerce-checkout:not(.woocommerce-order-received).kyro-woocommerce .checkout-flow > .checkout-steps,
body.woocommerce-checkout:not(.woocommerce-order-received).kyro-woocommerce .checkout-flow > form.checkout.checkout-layout,
body.woocommerce-checkout:not(.woocommerce-order-received).kyro-woocommerce .checkout-flow > .checkout-layout,
body.woocommerce-checkout:not(.woocommerce-order-received) .checkout-flow > .woocommerce-notices-wrapper {
    width: min(calc(100% - 72px), 1460px);
    max-width: 1460px;
    margin-right: auto;
    margin-left: auto;
}

.checkout-flow .woocommerce-billing-fields {
    display: contents;
}

.checkout-flow .form-row.field {
    margin: 0;
}

.checkout-flow .form-row.field.full {
    grid-column: 1 / -1;
}

.checkout-flow .form-row.field label {
    display: block;
    margin: 0 0 8px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 11px;
}

.checkout-flow .form-row.field input,
.checkout-flow .form-row.field select,
.checkout-flow .form-row.field textarea {
    width: 100%;
}

.checkout-flow .woocommerce-additional-fields,
.checkout-flow .woocommerce-shipping-fields,
.checkout-flow .woocommerce-account-fields,
.checkout-flow .checkout-delivery-card,
.checkout-flow .checkout-note {
    grid-column: 1 / -1;
}

.checkout-flow .checkout-delivery-card {
    display: grid;
    gap: 6px;
    margin-top: 8px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.035);
}

.checkout-flow .checkout-delivery-card span,
.checkout-flow .checkout-delivery-card small {
    color: rgba(255, 255, 255, 0.58);
}

.checkout-flow .checkout-delivery-card span {
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 11px;
}

.checkout-flow .checkout-delivery-card strong {
    color: var(--white);
    font-weight: 500;
}

.checkout-flow .woocommerce-invalid input,
.checkout-flow .woocommerce-invalid select,
.checkout-flow .woocommerce-invalid textarea {
    border-color: rgba(255, 88, 88, 0.85) !important;
}

.checkout-flow .cart-list {
    margin-bottom: 20px;
}

.checkout-flow .cart-item {
    grid-template-columns: 64px 1fr 34px;
}

.checkout-flow .cart-item h3 {
    margin: 0 0 4px;
    color: var(--white);
    font-size: 13px;
    line-height: 1.35;
}

.checkout-flow .cart-item .remove-button {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    text-decoration: none;
}

.checkout-flow .woocommerce-checkout-payment {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.checkout-flow .woocommerce-checkout-payment ul.payment_methods {
    margin: 0 0 18px;
    padding: 0;
    list-style: none;
    border: 0;
}

.checkout-flow .woocommerce-checkout-payment .wc_payment_method label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-weight: 500;
}

.checkout-flow .place-order {
    margin: 0;
}

.checkout-flow #place_order {
    width: 100%;
    min-height: 72px;
    margin-top: 18px;
    background: var(--white);
    color: var(--black);
}

.checkout-flow .woocommerce-terms-and-conditions-wrapper {
    margin-top: 16px;
}

.checkout-flow .woocommerce-terms-and-conditions-wrapper label {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.checkout-flow form.checkout_coupon {
    width: min(100% - 72px, 1460px);
    margin: 0 auto 24px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: #030303;
    color: var(--white);
}

.checkout-flow form.checkout_coupon p {
    margin: 0;
}

.checkout-flow form.checkout_coupon p:first-child {
    grid-column: 1 / -1;
    color: rgba(255, 255, 255, 0.64);
}

.checkout-flow form.checkout_coupon .input-text {
    min-height: 58px;
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.035);
    color: var(--white);
    padding: 0 18px;
}

.checkout-flow form.checkout_coupon .button {
    min-height: 58px;
    padding-inline: 28px;
    background: var(--white);
    color: var(--black);
}

@media (max-width: 820px) {
    .checkout-flow form.checkout.checkout-layout {
        display: grid;
        grid-template-columns: 1fr;
    }

    .checkout-flow form.checkout_coupon {
        width: calc(100% - 32px);
        grid-template-columns: 1fr;
    }
}

body.woocommerce-order-received,
body.kyro-order-received-page,
body.woocommerce-order-received .site,
body.kyro-order-received-page .site,
body.woocommerce-order-received #page,
body.kyro-order-received-page #page,
body.woocommerce-order-received .site-main,
body.kyro-order-received-page .site-main,
body.woocommerce-order-received .content-area,
body.kyro-order-received-page .content-area,
body.woocommerce-order-received main#main,
body.kyro-order-received-page main#main,
body.woocommerce-order-received .entry-content,
body.kyro-order-received-page .entry-content,
body.woocommerce-order-received .page-content,
body.kyro-order-received-page .page-content,
body.woocommerce-order-received .page-section,
body.kyro-order-received-page .page-section,
body.woocommerce-order-received .section,
body.kyro-order-received-page .section,
body.woocommerce-order-received .woocommerce,
body.kyro-order-received-page .woocommerce,
body.woocommerce-order-received .kyro-woocommerce,
body.kyro-order-received-page .kyro-woocommerce {
    min-height: 100vh;
    background: #030303;
}

body.woocommerce-order-received,
body.kyro-order-received-page {
    overflow-x: hidden;
}

body.woocommerce-order-received main#main,
body.kyro-order-received-page main#main,
body.woocommerce-order-received .entry-content,
body.kyro-order-received-page .entry-content,
body.woocommerce-order-received .page-content,
body.kyro-order-received-page .page-content,
body.woocommerce-order-received .page-section,
body.kyro-order-received-page .page-section,
body.woocommerce-order-received .section,
body.kyro-order-received-page .section,
body.woocommerce-order-received .woocommerce,
body.kyro-order-received-page .woocommerce {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

body.woocommerce-order-received .kyro-woocommerce .checkout-flow.kyro-order-received,
body.kyro-order-received-page .kyro-woocommerce .checkout-flow.kyro-order-received,
body.woocommerce-order-received .checkout-flow.kyro-order-received,
body.kyro-order-received-page .checkout-flow.kyro-order-received {
    width: 100%;
    max-width: none;
    min-height: 100vh;
    margin: 0;
    padding: clamp(118px, 10vw, 158px) clamp(24px, 4vw, 64px) clamp(72px, 8vw, 112px);
    color: var(--white);
    background:
        radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.05), transparent 34rem),
        #030303;
}

body.woocommerce-order-received .kyro-order-received > .basket-top,
body.woocommerce-order-received .kyro-order-received > .checkout-steps,
body.woocommerce-order-received .kyro-order-received > .checkout-layout {
    width: min(100%, 1460px);
    max-width: 1460px;
    margin-right: auto;
    margin-left: auto;
}

body.woocommerce-order-received .kyro-order-received .checkout-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(380px, 460px);
    gap: clamp(32px, 4vw, 56px);
    align-items: start;
}

body.woocommerce-order-received .kyro-order-received .checkout-summary-card {
    position: sticky;
    top: 92px;
}

.kyro-order-received .checkout-confirmation h2 {
    margin: 20px 0 12px;
    color: var(--white);
    font-size: clamp(30px, 4vw, 54px);
    font-weight: 400;
    line-height: 1;
}

.kyro-order-received .checkout-confirmation h3,
.kyro-order-received .woocommerce-order-details__title,
.kyro-order-received .woocommerce-column__title {
    margin: 32px 0 16px;
    color: var(--white);
    font-size: 18px;
    font-weight: 500;
}

.kyro-order-received .confirmation-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1px;
    margin-top: 28px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.12);
}

.kyro-order-received .confirmation-meta > div {
    display: grid;
    gap: 8px;
    min-height: 92px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.035);
}

.kyro-order-received .confirmation-meta span,
.kyro-order-received .kyro-address-card span {
    color: rgba(255, 255, 255, 0.54);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.kyro-order-received .confirmation-meta strong {
    color: var(--white);
    font-weight: 500;
}

.kyro-order-received .kyro-address-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.kyro-order-received .kyro-address-card {
    min-width: 0;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.035);
}

.kyro-order-received .kyro-address-card address,
.kyro-order-received .kyro-address-card p {
    margin: 10px 0 0;
    color: rgba(255, 255, 255, 0.78);
    font-style: normal;
    line-height: 1.7;
}

.kyro-order-received .checkout-summary-card .woocommerce-order-details {
    margin: 0;
}

.kyro-order-received .checkout-summary-card .woocommerce-order-details__title {
    margin-top: 0;
}

.kyro-order-received .checkout-summary-card table.shop_table {
    width: 100%;
    margin: 0 0 24px;
    border: 0;
    border-collapse: collapse;
    color: rgba(255, 255, 255, 0.82);
}

.kyro-order-received .checkout-summary-card table.shop_table th,
.kyro-order-received .checkout-summary-card table.shop_table td {
    padding: 14px 0;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    color: inherit;
    text-align: left;
}

.kyro-order-received .checkout-summary-card table.shop_table td:last-child,
.kyro-order-received .checkout-summary-card table.shop_table th:last-child {
    text-align: right;
}

.kyro-order-received .checkout-summary-card table.shop_table tfoot tr:last-child th,
.kyro-order-received .checkout-summary-card table.shop_table tfoot tr:last-child td {
    color: var(--white);
    font-size: 18px;
}

.kyro-order-received .kyro-payment-instructions,
.kyro-order-received .woocommerce-bacs-bank-details,
.kyro-order-received .wc-bacs-bank-details {
    margin-bottom: 22px;
}

.kyro-order-received .checkout-summary-card .button-wide {
    margin-top: 10px;
}

.kyro-order-received .checkout-summary-card .woocommerce-customer-details {
    display: none;
}

@media (max-width: 980px) {
    body.woocommerce-order-received .kyro-order-received .checkout-layout {
        grid-template-columns: 1fr;
    }

    body.woocommerce-order-received .kyro-order-received .checkout-summary-card {
        position: static;
    }
}

@media (max-width: 640px) {
    body.woocommerce-order-received .kyro-woocommerce .checkout-flow.kyro-order-received,
    body.kyro-order-received-page .kyro-woocommerce .checkout-flow.kyro-order-received,
    body.woocommerce-order-received .checkout-flow.kyro-order-received,
    body.kyro-order-received-page .checkout-flow.kyro-order-received {
        padding: 96px 16px 64px;
    }

    .kyro-order-received .checkout-summary-card table.shop_table,
    .kyro-order-received .checkout-summary-card table.shop_table thead,
    .kyro-order-received .checkout-summary-card table.shop_table tbody,
    .kyro-order-received .checkout-summary-card table.shop_table tfoot {
        display: table;
        width: 100%;
    }

    .kyro-order-received .checkout-summary-card table.shop_table tr {
        display: table-row;
        width: auto;
    }

    .kyro-order-received .checkout-summary-card table.shop_table th,
    .kyro-order-received .checkout-summary-card table.shop_table td {
        display: table-cell;
        width: auto;
        padding: 14px 0;
        vertical-align: top;
        white-space: normal;
    }

    .kyro-order-received .checkout-summary-card table.shop_table td:last-child,
    .kyro-order-received .checkout-summary-card table.shop_table th:last-child {
        width: 34%;
        min-width: 92px;
    }

    .kyro-order-received .kyro-address-grid {
        grid-template-columns: 1fr;
    }

    .kyro-order-received .confirmation-meta {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .basket-head {
        display: none;
    }

    .basket-item {
        grid-template-columns: 1fr;
        gap: 14px;
        align-items: stretch;
    }

    .basket-item > strong,
    .basket-item .qty-control {
        justify-self: stretch;
        width: 100%;
    }

    .basket-item > strong::before,
    .basket-item .qty-control::before {
        content: attr(data-label);
        margin-right: auto;
        color: rgba(255, 255, 255, 0.55);
        text-transform: uppercase;
        letter-spacing: 0.14em;
        font-size: 11px;
    }

    .basket-item > strong {
        display: flex;
        justify-content: space-between;
        gap: 18px;
    }

    .basket-item .qty-control {
        grid-template-columns: minmax(86px, 1fr) 48px 56px 48px;
    }
}

.drawer-item-controls .qty-control a {
    display: grid;
    place-items: center;
    min-width: 30px;
    color: inherit;
    text-decoration: none;
    line-height: 1;
}

.product-page-shell .qty-control .qty {
    border-left: 1px solid rgba(255, 255, 255, 0.18);
    border-right: 1px solid rgba(255, 255, 255, 0.18);
    appearance: textfield;
    -moz-appearance: textfield;
}

.product-page-shell .qty-control .qty::-webkit-outer-spin-button,
.product-page-shell .qty-control .qty::-webkit-inner-spin-button {
    margin: 0;
    appearance: none;
}

.single-product-form .single_add_to_cart_button,
.kyro-purchase-row .single_add_to_cart_button {
    min-height: 72px;
    justify-content: center;
}

.detail-gallery-thumbs {
    position: absolute;
    left: clamp(18px, 3vw, 34px);
    right: clamp(18px, 3vw, 34px);
    bottom: clamp(18px, 3vw, 34px);
    display: flex;
    gap: 10px;
    justify-content: center;
}

.detail-gallery-thumbs button {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.05);
    padding: 6px;
    cursor: zoom-in;
}

.detail-gallery-thumbs img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.kyro-variable-add-to-cart .variations,
.kyro-variable-add-to-cart .variations tbody,
.kyro-variable-add-to-cart .variations tr,
.kyro-variable-add-to-cart .variations td,
.kyro-variable-add-to-cart .variations th {
    display: block;
    width: 100%;
}

.kyro-variable-add-to-cart .variations select {
    width: 100%;
    min-height: 54px;
    margin: 8px 0 14px;
}

.kyro-variable-add-to-cart .single_variation_wrap {
    display: grid;
    gap: 14px;
}

.woocommerce-tabs,
.woocommerce-Reviews,
#reviews {
    display: none !important;
}

.woocommerce-cart-form,
.woocommerce-checkout,
.woocommerce-account .woocommerce {
    color: #fff;
}

.woocommerce table.shop_table {
    width: 100%;
    border-collapse: collapse;
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    padding: 18px 12px;
    text-align: left;
}

.woocommerce table.shop_table img {
    width: 72px;
    height: auto;
}

.woocommerce-cart .cart-collaterals,
.woocommerce-checkout-review-order {
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 28px;
}

.woocommerce form .form-row {
    margin: 0 0 18px;
}

.woocommerce form .form-row label {
    display: block;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 11px;
}

.woocommerce form .input-text,
.woocommerce form select,
.woocommerce form textarea {
    width: 100%;
    min-height: 52px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    padding: 14px;
}

.light-section .woocommerce form .input-text,
.light-section .woocommerce form select,
.light-section .woocommerce form textarea {
    border-color: rgba(0, 0, 0, 0.14);
    background: #fff;
    color: #111;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0 0 26px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.woocommerce-account .woocommerce-MyAccount-navigation a {
    display: inline-flex;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px 14px;
    color: inherit;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 11px;
}

.kyro-coa-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.kyro-coa-card {
    border-right: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 24px;
}

.coa-status {
    display: inline-flex;
    margin-top: 16px;
    padding: 11px 14px;
    border: 1px solid rgba(0, 0, 0, 0.16);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 11px;
}

.coa-status.is-muted {
    opacity: 0.58;
}

.coa-section {
    width: calc(100% - 36px);
    max-width: var(--max, 1720px);
    margin-inline: auto;
}

.coa-section .coa-controls {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(178px, 224px);
    gap: 14px;
    margin: 0 0 24px;
    align-items: stretch;
}

.coa-section .coa-controls input,
.coa-section .coa-controls .button {
    min-height: 54px;
}

.coa-section .coa-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    border-top: 1px solid var(--line, rgba(0, 0, 0, 0.1));
    border-left: 1px solid var(--line, rgba(0, 0, 0, 0.1));
}

.coa-section .coa-grid.is-empty {
    display: none;
}

.coa-section .coa-item {
    min-height: 188px;
    padding: 18px;
    border-right: 1px solid var(--line, rgba(0, 0, 0, 0.1));
    border-bottom: 1px solid var(--line, rgba(0, 0, 0, 0.1));
    background: var(--paper, #f7f5f0);
    display: grid;
    align-content: space-between;
    gap: 18px;
}

.coa-section .coa-item .product-category {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 7px;
}

.coa-section .coa-item .product-category span {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 4px 8px;
    border: 1px solid var(--line, rgba(0, 0, 0, 0.1));
    color: var(--muted, rgba(7, 22, 35, 0.58));
    text-transform: uppercase;
    letter-spacing: 0.13em;
    font-size: 10px;
    line-height: 1;
}

.coa-section .coa-item h3 {
    margin: 0;
    color: var(--ink, #071623);
    font-size: 16px;
    line-height: 1.25;
    font-weight: 500;
}

.coa-section .coa-variant-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.coa-section .coa-variant-row button,
.coa-section .coa-variant-row .coa-strength-badge {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 7px 9px;
    border: 1px solid var(--line, rgba(0, 0, 0, 0.1));
    background: transparent;
    color: var(--ink, #071623);
    text-align: left;
}

.coa-section .coa-variant-row button {
    cursor: pointer;
}

.coa-section .coa-variant-row button.is-active,
.coa-section .coa-variant-row .coa-strength-badge.is-active {
    background: var(--ink, #071623);
    color: var(--white, #fff);
    border-color: var(--ink, #071623);
}

.coa-section .coa-variant-row button span,
.coa-section .coa-variant-row .coa-strength-badge {
    display: block;
    font-size: 11px;
    line-height: 1.2;
}

.coa-section .coa-search-suggestions {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: -8px;
}

.coa-section .coa-search-suggestions[hidden] {
    display: none;
}

.coa-section .coa-search-suggestions button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid var(--line, rgba(0, 0, 0, 0.1));
    background: rgba(255, 255, 255, 0.58);
    color: var(--ink, #071623);
    font: inherit;
    font-size: 12px;
    cursor: pointer;
    transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.coa-section .coa-search-suggestions button:hover,
.coa-section .coa-search-suggestions button:focus-visible {
    background: var(--ink, #071623);
    border-color: var(--ink, #071623);
    color: var(--white, #fff);
}

.coa-section .coa-search-suggestions small {
    color: var(--muted, rgba(7, 22, 35, 0.58));
    font-size: 11px;
}

.coa-section .coa-search-suggestions button:hover small,
.coa-section .coa-search-suggestions button:focus-visible small {
    color: rgba(255, 255, 255, 0.72);
}

.coa-section .coa-search-suggestions .coa-clear-search {
    background: var(--ink, #071623);
    border-color: var(--ink, #071623);
    color: var(--white, #fff);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 10px;
}

.coa-section .coa-meta {
    display: grid;
    gap: 6px;
    color: var(--muted, rgba(7, 22, 35, 0.58));
    font-size: 12px;
}

.coa-section .coa-meta > span:first-child {
    min-height: 18px;
}

.coa-section .coa-status-label {
    width: 100%;
    min-height: 42px;
    justify-content: center;
}

.image-lightbox.is-coa-document iframe {
    width: min(92vw, 820px);
    height: calc(100svh - 64px);
    max-height: 1120px;
    border: 0;
    background: #fff;
}

.support-form-large input,
.support-form-large textarea {
    color: #111;
}

.search-submit-hidden {
    display: none;
}

@media (max-width: 782px) {
    .admin-bar .site-header {
        top: 46px;
    }

    .admin-bar .search-drawer,
    .admin-bar .cart-drawer,
    .admin-bar .age-gate {
        top: 46px;
    }

    .admin-bar .mobile-menu {
        top: 106px;
    }
}

@media (max-width: 820px) {
    .single-product-form form.cart,
    .kyro-purchase-row {
        grid-template-columns: 1fr;
    }

    .kyro-coa-grid,
    .coa-section .coa-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .woocommerce table.shop_table,
    .woocommerce table.shop_table tbody,
    .woocommerce table.shop_table tr,
    .woocommerce table.shop_table td {
        display: block;
        width: 100%;
    }

    .woocommerce table.shop_table thead {
        display: none;
    }

    .woocommerce table.shop_table td {
        padding: 14px 0;
    }

    .kyro-order-received .checkout-summary-card table.shop_table,
    .kyro-order-received .checkout-summary-card table.shop_table thead,
    .kyro-order-received .checkout-summary-card table.shop_table tbody,
    .kyro-order-received .checkout-summary-card table.shop_table tfoot {
        display: table;
        width: 100%;
    }

    .kyro-order-received .checkout-summary-card table.shop_table tr {
        display: table-row;
        width: auto;
    }

    .kyro-order-received .checkout-summary-card table.shop_table th,
    .kyro-order-received .checkout-summary-card table.shop_table td {
        display: table-cell;
        width: auto;
        vertical-align: top;
        white-space: normal;
    }
}

@media (max-width: 1080px) {
    .coa-section .coa-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .coa-section .coa-controls {
        grid-template-columns: 1fr;
    }

    .coa-section .coa-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .coa-section .coa-grid {
        grid-template-columns: 1fr;
    }
}

/* WooCommerce KYRO bridge: keep cart, checkout, and notices aligned with the static dark commerce surfaces. */
.cart-drawer-open {
    overflow: hidden;
}

.kyro-woocommerce .woocommerce {
    color: #fff;
}

.kyro-woocommerce .woocommerce-notices-wrapper,
.kyro-woocommerce .woocommerce-message,
.kyro-woocommerce .woocommerce-info,
.kyro-woocommerce .woocommerce-error {
    margin: 0 0 24px;
}

.kyro-woocommerce .woocommerce-message,
.kyro-woocommerce .woocommerce-info,
.kyro-woocommerce .woocommerce-error {
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.045);
    color: #fff;
    padding: 16px 18px;
}

.kyro-woocommerce .woocommerce-error {
    border-color: rgba(255, 92, 92, 0.55);
}

.kyro-woocommerce .woocommerce-cart-form,
.kyro-woocommerce .cart-collaterals .cart_totals,
.kyro-woocommerce .woocommerce-checkout,
.kyro-woocommerce .woocommerce-checkout-review-order,
.kyro-woocommerce .woocommerce-order {
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012));
}

.kyro-woocommerce .woocommerce-cart-form,
.kyro-woocommerce .woocommerce-checkout,
.kyro-woocommerce .woocommerce-order {
    padding: clamp(22px, 3vw, 38px);
}

.kyro-woocommerce .cart-collaterals .cart_totals,
.kyro-woocommerce .woocommerce-checkout-review-order {
    padding: clamp(22px, 2.4vw, 32px);
}

.kyro-woocommerce table.shop_table {
    border: 0;
    margin: 0;
    color: #fff;
}

.kyro-woocommerce table.shop_table th {
    color: rgba(255, 255, 255, 0.72);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 11px;
    font-weight: 700;
}

.kyro-woocommerce table.shop_table td {
    color: #fff;
    vertical-align: middle;
}

.kyro-woocommerce table.shop_table a {
    color: inherit;
    text-decoration: none;
}

.kyro-woocommerce table.shop_table .product-thumbnail img {
    width: 72px;
    height: 72px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.kyro-woocommerce .quantity .qty {
    max-width: 86px;
    min-height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.26);
    background: transparent;
    color: #fff;
    text-align: center;
}

@media (max-width: 768px) {
    .kyro-purchase-row {
        grid-template-columns: 1fr;
    }
}

.kyro-woocommerce .button,
.kyro-woocommerce button.button,
.kyro-woocommerce input.button,
.kyro-woocommerce #place_order {
    border-radius: 0;
    min-height: 54px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: #fff;
    color: #050505;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 11px;
    font-weight: 700;
    padding: 0 24px;
}

.kyro-woocommerce .button:hover,
.kyro-woocommerce button.button:hover,
.kyro-woocommerce input.button:hover,
.kyro-woocommerce #place_order:hover {
    background: rgba(255, 255, 255, 0.9);
    color: #050505;
}

.kyro-woocommerce .product-remove a.remove {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.72) !important;
}

.kyro-woocommerce .coupon {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.kyro-woocommerce .coupon .input-text {
    min-width: min(260px, 100%);
}

.kyro-woocommerce .checkout_coupon,
.kyro-woocommerce .woocommerce-form-login {
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.035);
    color: #fff;
}

.kyro-woocommerce .woocommerce-billing-fields h3,
.kyro-woocommerce .woocommerce-additional-fields h3,
.kyro-woocommerce #order_review_heading,
.kyro-woocommerce .cart_totals h2 {
    margin: 0 0 22px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 400;
}

.kyro-woocommerce .woocommerce form .form-row label {
    color: rgba(255, 255, 255, 0.72);
}

.kyro-woocommerce .woocommerce form .input-text,
.kyro-woocommerce .woocommerce form select,
.kyro-woocommerce .woocommerce form textarea,
.kyro-woocommerce form .input-text,
.kyro-woocommerce form select,
.kyro-woocommerce form textarea {
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.045);
    color: #fff;
    border-radius: 0;
}

.kyro-woocommerce .select2-container--default .select2-selection--single {
    min-height: 52px;
    border-radius: 0;
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.045);
}

.kyro-woocommerce .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #fff;
    line-height: 52px;
}

.kyro-woocommerce .woocommerce-checkout-payment {
    background: transparent !important;
    border-radius: 0 !important;
}

.kyro-woocommerce .woocommerce-checkout-payment ul.payment_methods {
    border: 0 !important;
    padding: 0 !important;
}

.kyro-woocommerce .woocommerce-checkout-payment .wc_payment_method {
    margin: 0 0 12px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.025);
}

.kyro-woocommerce .woocommerce-checkout-payment div.payment_box {
    background: transparent !important;
    color: rgba(255, 255, 255, 0.7) !important;
    padding: 10px 0 0 !important;
}

.kyro-woocommerce .woocommerce-checkout-payment div.payment_box::before {
    display: none !important;
}

.kyro-woocommerce .woocommerce-privacy-policy-text,
.kyro-woocommerce .woocommerce-terms-and-conditions-wrapper,
.kyro-woocommerce .woocommerce-shipping-destination {
    color: rgba(255, 255, 255, 0.66);
    line-height: 1.7;
}

.kyro-woocommerce .wc-empty-cart-message,
.kyro-woocommerce .return-to-shop {
    text-align: center;
}

body.woocommerce-cart,
body.woocommerce-cart .kyro-woocommerce,
body.woocommerce-cart main#main,
body.woocommerce-cart .woocommerce {
    background: #050505;
}

body.woocommerce-cart .woocommerce-notices-wrapper:empty,
body.woocommerce-cart .wc-empty-cart-message:empty,
body.woocommerce-cart .return-to-shop:empty {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
    min-height: 0 !important;
    border: 0 !important;
}

body.woocommerce-cart .woocommerce-notices-wrapper {
    width: min(1180px, calc(100vw - 48px));
    margin: 0 auto 18px !important;
    background: transparent !important;
}

body.woocommerce-cart .woocommerce-notices-wrapper + .basket-page {
    margin-top: 0 !important;
}

body.woocommerce-cart .woocommerce-message,
body.woocommerce-cart .woocommerce-info,
body.woocommerce-cart .woocommerce-error,
body.woocommerce-cart .cart-empty.woocommerce-info {
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    background: rgba(255, 255, 255, 0.045) !important;
    color: #fff !important;
    box-shadow: none !important;
}

.drawer-item h3 a {
    color: inherit;
    text-decoration: none;
}

.drawer-item-media {
    display: block;
}

.hero-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 640px) {
    .hero-metrics {
        grid-template-columns: 1fr;
    }
}

.metric strong {
    display: inline-flex;
    align-items: center;
    gap: 9px;
}

.metric-flag {
    width: 24px;
    height: 15px;
    flex: 0 0 auto;
    color: currentColor;
    fill: currentColor;
    stroke: none;
}

.shop-page .catalogue-controls.search-panel {
    grid-template-columns: minmax(0, 1fr) minmax(178px, 224px);
    align-items: end;
    gap: 14px;
}

.shop-page .catalogue-sort {
    display: grid;
    gap: 6px;
    justify-self: end;
    width: min(224px, 100%);
    position: relative;
}

.shop-page .catalogue-sort span {
    display: block;
    color: var(--muted);
    font-size: 9px;
    letter-spacing: 0.16em;
    line-height: 1;
    text-transform: uppercase;
}

.shop-page .catalogue-sort-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 50px;
    min-width: 50px;
    min-height: 50px;
    border: 1px solid var(--line);
    border-radius: 0;
    background: var(--white);
    color: var(--ink);
    transition:
        border-color 160ms ease,
        background-color 160ms ease,
        color 160ms ease;
}

.shop-page .catalogue-sort-toggle svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.shop-page .catalogue-sort-toggle:hover,
.shop-page .catalogue-sort-toggle:focus-visible {
    background: var(--ink);
    color: var(--white);
    border-color: var(--ink);
}

.shop-page .catalogue-sort-panel {
    display: block;
}

.shop-page .catalogue-sort select {
    display: block;
    width: 100%;
    min-height: 50px;
    border: 1px solid var(--line);
    border-radius: 0;
    background-color: var(--white);
    color: var(--ink);
    font-size: 10px;
    letter-spacing: 0.08em;
    line-height: 1;
    text-transform: uppercase;
}

.shop-page .catalogue-controls .search-suggestions {
    grid-column: 1 / -1;
}

.filter-row-shell {
    position: relative;
    min-width: 0;
}

.category-strip-indicator {
    display: none;
}

.product-grid.product-grid-count-1,
.shop-page .product-grid.product-grid-count-1,
.related-products .product-grid.product-grid-count-1 {
    grid-template-columns: minmax(0, 1fr);
}

.product-grid.product-grid-count-2,
.shop-page .product-grid.product-grid-count-2,
.related-products .product-grid.product-grid-count-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.product-grid.product-grid-count-3,
.shop-page .product-grid.product-grid-count-3,
.related-products .product-grid.product-grid-count-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-grid.product-grid-count-4,
.shop-page .product-grid.product-grid-count-4,
.related-products .product-grid.product-grid-count-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-grid.product-grid-count-1 .product-media,
.shop-page .product-grid.product-grid-count-1 .product-media,
.related-products .product-grid.product-grid-count-1 .product-media {
    min-height: clamp(360px, 34vw, 520px);
}

.product-grid.product-grid-count-2 .product-media,
.shop-page .product-grid.product-grid-count-2 .product-media,
.related-products .product-grid.product-grid-count-2 .product-media {
    min-height: clamp(340px, 28vw, 430px);
}

.product-grid.product-grid-count-3 .product-media,
.shop-page .product-grid.product-grid-count-3 .product-media,
.related-products .product-grid.product-grid-count-3 .product-media {
    min-height: clamp(320px, 24vw, 380px);
}

.product-grid.product-grid-count-4 .product-media,
.shop-page .product-grid.product-grid-count-4 .product-media,
.related-products .product-grid.product-grid-count-4 .product-media {
    min-height: clamp(300px, 22vw, 336px);
}

.product-grid.product-grid-count-1 .product-media img,
.shop-page .product-grid.product-grid-count-1 .product-media img,
.related-products .product-grid.product-grid-count-1 .product-media img {
    width: auto;
    height: clamp(350px, 30vw, 470px);
    max-width: min(58%, 520px);
    object-fit: contain;
}

.product-grid .product-media img,
.shop-page .product-grid .product-media img,
.related-products .product-grid .product-media img,
.basket-recommendations .product-media img,
.empty-recommendations .product-media img {
    width: auto;
    height: clamp(255px, 20vw, 316px);
    max-width: min(78%, 360px);
    object-fit: contain;
    object-position: center;
}

.product-grid.product-grid-count-2 .product-media img,
.shop-page .product-grid.product-grid-count-2 .product-media img,
.related-products .product-grid.product-grid-count-2 .product-media img {
    height: clamp(300px, 24vw, 400px);
    max-width: min(70%, 440px);
}

.product-grid.product-grid-count-3 .product-media img,
.shop-page .product-grid.product-grid-count-3 .product-media img,
.related-products .product-grid.product-grid-count-3 .product-media img {
    height: clamp(275px, 22vw, 360px);
    max-width: min(74%, 380px);
}

.product-grid.product-grid-count-4 .product-media img,
.shop-page .product-grid.product-grid-count-4 .product-media img,
.related-products .product-grid.product-grid-count-4 .product-media img {
    height: clamp(250px, 19vw, 320px);
    max-width: min(78%, 340px);
}

.button.is-loading,
.button.is-adding {
    opacity: 0.62;
    pointer-events: none;
}

.button.is-added,
.kyro-woocommerce .button.is-added {
    background: #2a9461 !important;
    border-color: #2a9461 !important;
    color: #fff !important;
}

@media (max-width: 820px) {
    .kyro-woocommerce .woocommerce-cart-form,
    .kyro-woocommerce .cart-collaterals .cart_totals,
    .kyro-woocommerce .woocommerce-checkout,
    .kyro-woocommerce .woocommerce-checkout-review-order {
        padding: 20px;
    }

    .kyro-woocommerce table.shop_table td {
        border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    }

    .kyro-woocommerce .coupon {
        display: grid;
    }

    .kyro-woocommerce .coupon .input-text,
    .kyro-woocommerce .coupon .button {
        width: 100%;
    }
}


@media (max-width: 430px) {
    .product-grid.product-grid-count-1,
    .product-grid.product-grid-count-2,
    .product-grid.product-grid-count-3,
    .product-grid.product-grid-count-4,
    .shop-page .product-grid.product-grid-count-1,
    .shop-page .product-grid.product-grid-count-2,
    .shop-page .product-grid.product-grid-count-3,
    .shop-page .product-grid.product-grid-count-4 {
        grid-template-columns: 1fr;
    }

    .product-grid.product-grid-count-1 .product-media,
    .shop-page .product-grid.product-grid-count-1 .product-media,
    .related-products .product-grid.product-grid-count-1 .product-media {
        min-height: 280px;
    }

    .product-grid.product-grid-count-1 .product-media img,
    .shop-page .product-grid.product-grid-count-1 .product-media img,
    .related-products .product-grid.product-grid-count-1 .product-media img {
        height: 244px;
        max-width: 76%;
    }
}

/* Focused fixes for current mobile header and empty cart drawer only. */
.cart-drawer.is-empty .cart-drawer-panel {
    grid-template-rows: auto 1fr;
}

.cart-drawer.is-empty .cart-drawer-items {
    display: grid;
    place-items: center;
    overflow: hidden;
}

.cart-drawer.is-empty .drawer-empty {
    width: min(100%, 320px);
    display: grid;
    justify-items: center;
    gap: 14px;
    padding: 18px 0 28px;
    text-align: center;
}

.cart-drawer.is-empty .drawer-empty-label {
    margin: 0 0 2px;
    color: rgba(255, 255, 255, 0.52);
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-size: 10px;
    line-height: 1.4;
}

.cart-drawer.is-empty .drawer-empty h3 {
    margin: 0;
    color: #fff;
    text-transform: none;
    letter-spacing: 0;
    font-size: clamp(22px, 3vw, 28px);
    font-weight: 400;
    line-height: 1.16;
}

.cart-drawer.is-empty .drawer-empty p:not(.drawer-empty-label) {
    max-width: 24ch;
    margin: 0;
    color: rgba(255, 255, 255, 0.62);
    font-size: 14px;
    line-height: 1.6;
}

.cart-drawer.is-empty .drawer-empty .button {
    width: min(100%, 240px);
    min-height: 52px;
    margin-top: 6px;
}

@media (max-width: 820px) {
    body:not(.admin-bar) .site-header {
        top: 0 !important;
        margin-top: 0;
        transform: none;
    }
}

@media (max-width: 600px) {
    body.admin-bar .site-header {
        top: 0 !important;
        margin-top: 0;
        transform: none;
    }

    body.admin-bar .mobile-menu {
        top: 60px !important;
        max-height: calc(100dvh - 60px);
    }

    body.admin-bar .search-drawer,
    body.admin-bar .cart-drawer,
    body.admin-bar .age-gate {
        top: 0 !important;
    }
}

/* Product-card image rendering and CLS protection. Single-product media is intentionally excluded. */
.product-card .product-media,
.shop-page .product-card .product-media,
.related-products .product-card .product-media,
.basket-recommendations .product-card .product-media,
.empty-recommendations .product-card .product-media {
    display: grid;
    place-items: center;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.product-card .product-media img,
.shop-page .product-card .product-media img,
.related-products .product-card .product-media img,
.basket-recommendations .product-card .product-media img,
.empty-recommendations .product-card .product-media img,
.product-card .product-media .woocommerce-placeholder,
.shop-page .product-card .product-media .woocommerce-placeholder,
.related-products .product-card .product-media .woocommerce-placeholder,
.basket-recommendations .product-card .product-media .woocommerce-placeholder,
.empty-recommendations .product-card .product-media .woocommerce-placeholder {
    display: block;
    width: auto !important;
    object-fit: contain !important;
    object-position: center !important;
    transform: translateZ(0);
}

.product-grid.product-grid-count-1 .product-media,
.shop-page .product-grid.product-grid-count-1 .product-media,
.related-products .product-grid.product-grid-count-1 .product-media {
    height: clamp(420px, 34vw, 560px);
}

.product-grid.product-grid-count-1 .product-media img,
.shop-page .product-grid.product-grid-count-1 .product-media img,
.related-products .product-grid.product-grid-count-1 .product-media img,
.product-grid.product-grid-count-1 .product-media .woocommerce-placeholder,
.shop-page .product-grid.product-grid-count-1 .product-media .woocommerce-placeholder,
.related-products .product-grid.product-grid-count-1 .product-media .woocommerce-placeholder {
    height: clamp(380px, 30vw, 510px) !important;
    max-width: min(68%, 560px) !important;
}

.product-grid.product-grid-count-2 .product-media,
.shop-page .product-grid.product-grid-count-2 .product-media,
.related-products .product-grid.product-grid-count-2 .product-media {
    height: clamp(360px, 28vw, 460px);
}

.product-grid.product-grid-count-2 .product-media img,
.shop-page .product-grid.product-grid-count-2 .product-media img,
.related-products .product-grid.product-grid-count-2 .product-media img,
.product-grid.product-grid-count-2 .product-media .woocommerce-placeholder,
.shop-page .product-grid.product-grid-count-2 .product-media .woocommerce-placeholder,
.related-products .product-grid.product-grid-count-2 .product-media .woocommerce-placeholder {
    height: clamp(320px, 24vw, 420px) !important;
    max-width: min(74%, 470px) !important;
}

.product-grid.product-grid-count-3 .product-media,
.shop-page .product-grid.product-grid-count-3 .product-media,
.related-products .product-grid.product-grid-count-3 .product-media {
    height: clamp(340px, 24vw, 410px);
}

.product-grid.product-grid-count-3 .product-media img,
.shop-page .product-grid.product-grid-count-3 .product-media img,
.related-products .product-grid.product-grid-count-3 .product-media img,
.product-grid.product-grid-count-3 .product-media .woocommerce-placeholder,
.shop-page .product-grid.product-grid-count-3 .product-media .woocommerce-placeholder,
.related-products .product-grid.product-grid-count-3 .product-media .woocommerce-placeholder {
    height: clamp(300px, 21vw, 370px) !important;
    max-width: min(78%, 410px) !important;
}

.product-grid.product-grid-count-4 .product-media,
.shop-page .product-grid.product-grid-count-4 .product-media,
.related-products .product-grid.product-grid-count-4 .product-media {
    height: clamp(320px, 22vw, 360px);
}

.product-grid.product-grid-count-4 .product-media img,
.shop-page .product-grid.product-grid-count-4 .product-media img,
.related-products .product-grid.product-grid-count-4 .product-media img,
.product-grid.product-grid-count-4 .product-media .woocommerce-placeholder,
.shop-page .product-grid.product-grid-count-4 .product-media .woocommerce-placeholder,
.related-products .product-grid.product-grid-count-4 .product-media .woocommerce-placeholder {
    height: clamp(286px, 19vw, 326px) !important;
    max-width: min(82%, 350px) !important;
}

.basket-recommendations .product-card .product-media,
.empty-recommendations .product-card .product-media {
    height: clamp(250px, 19vw, 318px);
}

.basket-recommendations .product-card .product-media img,
.empty-recommendations .product-card .product-media img,
.basket-recommendations .product-card .product-media .woocommerce-placeholder,
.empty-recommendations .product-card .product-media .woocommerce-placeholder {
    height: clamp(218px, 16vw, 282px) !important;
    max-width: min(78%, 320px) !important;
}

.product-card:hover .product-media img,
.shop-page .product-card:hover .product-media img,
.related-products .product-card:hover .product-media img,
.basket-recommendations .product-card:hover .product-media img,
.empty-recommendations .product-card:hover .product-media img {
    transform: translate3d(0, -4px, 0) scale(1.035);
}

@media (prefers-reduced-motion: reduce) {
    .product-card .product-media img,
    .shop-page .product-card .product-media img,
    .related-products .product-card .product-media img,
    .basket-recommendations .product-card .product-media img,
    .empty-recommendations .product-card .product-media img {
        transition: none !important;
        transform: none !important;
    }
}

/* Final shared product-card media alignment. Excludes single-product media. */
.product-card .product-media,
.shop-page .product-card .product-media,
.featured-section .product-card .product-media,
.related-products .product-card .product-media,
.basket-recommendations .product-card .product-media,
.empty-recommendations .product-card .product-media {
    display: grid !important;
    place-items: center !important;
    padding: clamp(18px, 2vw, 30px) !important;
    box-sizing: border-box;
    text-align: center;
}

.product-card .product-media img,
.shop-page .product-card .product-media img,
.featured-section .product-card .product-media img,
.related-products .product-card .product-media img,
.basket-recommendations .product-card .product-media img,
.empty-recommendations .product-card .product-media img,
.product-card .product-media .woocommerce-placeholder,
.shop-page .product-card .product-media .woocommerce-placeholder,
.featured-section .product-card .product-media .woocommerce-placeholder,
.related-products .product-card .product-media .woocommerce-placeholder,
.basket-recommendations .product-card .product-media .woocommerce-placeholder,
.empty-recommendations .product-card .product-media .woocommerce-placeholder {
    position: static !important;
    inset: auto !important;
    display: block !important;
    width: auto !important;
    height: clamp(250px, 18vw, 320px) !important;
    max-width: 86% !important;
    max-height: 88% !important;
    margin: 0 auto !important;
    object-fit: contain !important;
    object-position: center !important;
    transform: translate3d(var(--kyro-media-offset-x, 0px), var(--kyro-media-offset-y, 0px), 0) !important;
}

.product-grid.product-grid-count-1 .product-media img,
.shop-page .product-grid.product-grid-count-1 .product-media img,
.featured-section .product-grid.product-grid-count-1 .product-media img,
.related-products .product-grid.product-grid-count-1 .product-media img,
.product-grid.product-grid-count-1 .product-media .woocommerce-placeholder,
.shop-page .product-grid.product-grid-count-1 .product-media .woocommerce-placeholder,
.featured-section .product-grid.product-grid-count-1 .product-media .woocommerce-placeholder,
.related-products .product-grid.product-grid-count-1 .product-media .woocommerce-placeholder {
    height: clamp(380px, 30vw, 510px) !important;
    max-width: min(72%, 600px) !important;
    max-height: 90% !important;
}

.product-grid.product-grid-count-2 .product-media img,
.shop-page .product-grid.product-grid-count-2 .product-media img,
.featured-section .product-grid.product-grid-count-2 .product-media img,
.related-products .product-grid.product-grid-count-2 .product-media img,
.product-grid.product-grid-count-2 .product-media .woocommerce-placeholder,
.shop-page .product-grid.product-grid-count-2 .product-media .woocommerce-placeholder,
.featured-section .product-grid.product-grid-count-2 .product-media .woocommerce-placeholder,
.related-products .product-grid.product-grid-count-2 .product-media .woocommerce-placeholder {
    height: clamp(310px, 23vw, 390px) !important;
    max-width: 82% !important;
    max-height: 89% !important;
}

.product-grid.product-grid-count-3 .product-media img,
.shop-page .product-grid.product-grid-count-3 .product-media img,
.featured-section .product-grid.product-grid-count-3 .product-media img,
.related-products .product-grid.product-grid-count-3 .product-media img,
.product-grid.product-grid-count-3 .product-media .woocommerce-placeholder,
.shop-page .product-grid.product-grid-count-3 .product-media .woocommerce-placeholder,
.featured-section .product-grid.product-grid-count-3 .product-media .woocommerce-placeholder,
.related-products .product-grid.product-grid-count-3 .product-media .woocommerce-placeholder {
    height: clamp(286px, 20vw, 350px) !important;
    max-width: 84% !important;
    max-height: 88% !important;
}

.product-grid.product-grid-count-4 .product-media img,
.shop-page .product-grid.product-grid-count-4 .product-media img,
.featured-section .product-grid.product-grid-count-4 .product-media img,
.related-products .product-grid.product-grid-count-4 .product-media img,
.product-grid.product-grid-count-4 .product-media .woocommerce-placeholder,
.shop-page .product-grid.product-grid-count-4 .product-media .woocommerce-placeholder,
.featured-section .product-grid.product-grid-count-4 .product-media .woocommerce-placeholder,
.related-products .product-grid.product-grid-count-4 .product-media .woocommerce-placeholder {
    height: clamp(258px, 18vw, 324px) !important;
    max-width: 88% !important;
    max-height: 88% !important;
}

.basket-addon-card > a:first-child {
    display: grid !important;
    place-items: center !important;
    aspect-ratio: 1 / 1;
    padding: 8px;
    box-sizing: border-box;
}

.basket-addon-card > a:first-child img,
.basket-addon-card > a:first-child .woocommerce-placeholder {
    position: static !important;
    display: block !important;
    width: auto !important;
    height: clamp(54px, 5vw, 72px) !important;
    max-width: 92% !important;
    max-height: 92% !important;
    margin: 0 auto !important;
    object-fit: contain !important;
    object-position: center !important;
    transform: translate3d(var(--kyro-media-offset-x, 0px), var(--kyro-media-offset-y, 0px), 0) !important;
}

.product-card:hover .product-media img,
.shop-page .product-card:hover .product-media img,
.featured-section .product-card:hover .product-media img,
.related-products .product-card:hover .product-media img,
.basket-recommendations .product-card:hover .product-media img,
.empty-recommendations .product-card:hover .product-media img {
    transform: translate3d(var(--kyro-media-offset-x, 0px), var(--kyro-media-offset-y, 0px), 0) !important;
}

@media (max-width: 430px) {
    .product-card .product-media img,
    .shop-page .product-card .product-media img,
    .featured-section .product-card .product-media img,
    .related-products .product-card .product-media img,
    .basket-recommendations .product-card .product-media img,
    .empty-recommendations .product-card .product-media img,
    .product-card .product-media .woocommerce-placeholder,
    .shop-page .product-card .product-media .woocommerce-placeholder,
    .featured-section .product-card .product-media .woocommerce-placeholder,
    .related-products .product-card .product-media .woocommerce-placeholder,
    .basket-recommendations .product-card .product-media .woocommerce-placeholder,
    .empty-recommendations .product-card .product-media .woocommerce-placeholder {
        height: clamp(220px, 58vw, 300px) !important;
        max-width: 88% !important;
        max-height: 88% !important;
    }
}

/* Single-product parity fixes: Woo markup mapped back to the original KYRO rows/control. */
.product-page-shell .data-row {
    align-items: baseline;
    min-height: 0;
    column-gap: 18px;
}

.product-page-shell .data-row span:first-child,
.product-page-shell .data-row strong {
    align-self: baseline;
    line-height: 1.45;
}

.product-page-shell .data-row strong {
    margin: 0;
}

.product-page-shell .data-row-mechanism {
    align-items: start;
}

.product-page-shell .data-row-mechanism span:first-child {
    padding-top: 3px;
}

.product-page-shell .qty-control .qty {
    display: grid;
    place-items: center;
    width: 100%;
    max-width: none;
    height: 100%;
    min-width: 0;
    min-height: 0;
    border: 0;
    background: transparent;
    color: #fff;
    text-align: center;
    font-size: 24px;
    line-height: 1;
}

.drawer-item-controls .qty-control a {
    display: grid;
    place-items: center;
    min-width: 30px;
    color: inherit;
    text-decoration: none;
    line-height: 1;
}

.product-page-shell .qty-control .qty {
    border-left: 1px solid rgba(255, 255, 255, 0.18);
    border-right: 1px solid rgba(255, 255, 255, 0.18);
    appearance: textfield;
    -moz-appearance: textfield;
}

@media (max-width: 768px) {
    .product-page-shell .data-row {
        min-height: 0;
        align-items: start;
    }

    .product-page-shell .kyro-purchase-row {
        grid-template-columns: 1fr;
    }
}

/* Basket/cart drawer WooCommerce quantity bridge: preserve the classic form while matching the original three-cell control. */
.basket-page .basket-item .qty-control,
.cart-drawer .drawer-item-controls .qty-control {
    display: grid;
    grid-template-columns: 42px 52px 42px;
    align-items: stretch;
    width: max-content;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    overflow: hidden;
    box-sizing: border-box;
}

.cart-drawer .drawer-item-controls .qty-control {
    grid-template-columns: 34px 42px 34px;
    height: 36px;
}

.basket-page .basket-item .qty-control button,
.basket-page .basket-item .qty-control input.qty,
.cart-drawer .drawer-item-controls .qty-control a,
.cart-drawer .drawer-item-controls .qty-control output {
    display: grid;
    place-items: center;
    width: 100%;
    min-width: 0;
    height: 100%;
    min-height: 0;
    padding: 0;
    margin: 0;
    border: 0;
    background: transparent;
    color: inherit;
    text-align: center;
    line-height: 1;
    box-sizing: border-box;
}

.basket-page .basket-item .qty-control input.qty,
.cart-drawer .drawer-item-controls .qty-control output {
    border-left: 1px solid rgba(255, 255, 255, 0.28);
    border-right: 1px solid rgba(255, 255, 255, 0.28);
}

.basket-summary .summary-line.total {
    border-top: 0;
    border-bottom: 0;
}

@media (max-width: 640px) {
    .basket-page .basket-item .qty-control {
        width: 100%;
        max-width: 280px;
        height: auto;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        grid-template-rows: auto 48px;
    }

    .basket-page .basket-item .qty-control::before {
        grid-column: 1 / -1;
    }

    .basket-page .basket-item .qty-control button,
    .basket-page .basket-item .qty-control input.qty {
        height: 48px;
        min-height: 48px;
    }
}

/* Final winning pass: shared card media must occupy the full card width. */
.product-grid > .product-card,
.featured-section .product-grid > .product-card,
.shop-page .product-grid > .product-card,
.related-products .product-grid > .product-card,
.basket-recommendations .product-grid > .product-card,
.empty-recommendations .product-grid > .product-card,
.basket-recommendations .basket-recommendation-grid > .product-card {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: auto 1fr !important;
}

.product-grid > .product-card .product-media,
.featured-section .product-grid > .product-card .product-media,
.shop-page .product-grid > .product-card .product-media,
.related-products .product-grid > .product-card .product-media,
.basket-recommendations .product-grid > .product-card .product-media,
.empty-recommendations .product-grid > .product-card .product-media,
.basket-recommendations .basket-recommendation-grid > .product-card .product-media {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    flex: none !important;
    justify-self: stretch !important;
    align-self: stretch !important;
    display: grid !important;
    place-items: center !important;
    padding-left: clamp(18px, 2vw, 30px) !important;
    padding-right: clamp(18px, 2vw, 30px) !important;
    margin: 0 !important;
    text-align: center !important;
    transform: none !important;
}

.product-grid > .product-card .product-media > a,
.featured-section .product-grid > .product-card .product-media > a,
.shop-page .product-grid > .product-card .product-media > a,
.related-products .product-grid > .product-card .product-media > a,
.basket-recommendations .product-grid > .product-card .product-media > a,
.empty-recommendations .product-grid > .product-card .product-media > a,
.basket-recommendations .basket-recommendation-grid > .product-card .product-media > a {
    width: 100% !important;
    height: 100% !important;
    display: grid !important;
    place-items: center !important;
    margin: 0 !important;
}

.product-grid > .product-card .product-body,
.featured-section .product-grid > .product-card .product-body,
.shop-page .product-grid > .product-card .product-body,
.related-products .product-grid > .product-card .product-body,
.basket-recommendations .product-grid > .product-card .product-body,
.empty-recommendations .product-grid > .product-card .product-body,
.basket-recommendations .basket-recommendation-grid > .product-card .product-body {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    flex: none !important;
    justify-self: stretch !important;
    margin: 0 !important;
}

.product-grid > .product-card .product-media img,
.featured-section .product-grid > .product-card .product-media img,
.shop-page .product-grid > .product-card .product-media img,
.related-products .product-grid > .product-card .product-media img,
.basket-recommendations .product-grid > .product-card .product-media img,
.empty-recommendations .product-grid > .product-card .product-media img,
.basket-recommendations .basket-recommendation-grid > .product-card .product-media img,
.product-grid > .product-card .product-media .woocommerce-placeholder,
.featured-section .product-grid > .product-card .product-media .woocommerce-placeholder,
.shop-page .product-grid > .product-card .product-media .woocommerce-placeholder,
.related-products .product-grid > .product-card .product-media .woocommerce-placeholder,
.basket-recommendations .product-grid > .product-card .product-media .woocommerce-placeholder,
.empty-recommendations .product-grid > .product-card .product-media .woocommerce-placeholder,
.basket-recommendations .basket-recommendation-grid > .product-card .product-media .woocommerce-placeholder {
    position: static !important;
    inset: auto !important;
    float: none !important;
    display: block !important;
    margin: 0 !important;
    object-fit: contain !important;
    object-position: 50% 50% !important;
    transform: none !important;
}

.product-grid > .product-card:hover .product-media img,
.featured-section .product-grid > .product-card:hover .product-media img,
.shop-page .product-grid > .product-card:hover .product-media img,
.related-products .product-grid > .product-card:hover .product-media img,
.basket-recommendations .product-grid > .product-card:hover .product-media img,
.empty-recommendations .product-grid > .product-card:hover .product-media img,
.basket-recommendations .basket-recommendation-grid > .product-card:hover .product-media img {
    transform: none !important;
}

/* Focused mobile bug fixes: keep desktop behaviour untouched. */
@media (max-width: 820px) {
    html,
    body {
        max-width: 100%;
        overflow-x: hidden;
    }

    .site-header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 120;
        min-height: 60px;
        background: rgba(5, 5, 5, 0.86);
        color: #fff;
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
    }

    body:not(.admin-bar) .site-header {
        top: 0;
    }

    body.admin-bar .site-header {
        top: 46px;
    }

    .mobile-menu {
        position: fixed;
        z-index: 119;
        top: 60px;
        left: 0;
        right: 0;
        max-height: calc(100dvh - 60px);
        overflow-y: auto;
        overscroll-behavior: contain;
        background: rgba(5, 5, 5, 0.96);
        color: #fff;
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
    }

    body.admin-bar .mobile-menu {
        top: 106px;
        max-height: calc(100dvh - 106px);
    }

    body.menu-open {
        overflow: hidden;
        touch-action: none;
    }

    .mobile-menu a,
    .mobile-menu button {
        color: #fff;
        min-height: 48px;
    }

    .mobile-menu .cart-count,
    .mobile-menu .mobile-cart-count {
        display: inline-grid;
        place-items: center;
        min-width: 22px;
        height: 22px;
        padding: 0 7px;
        border-radius: 999px;
        background: #fff;
        color: #050505;
        font-size: 12px;
        line-height: 1;
    }

    body:not(.admin-bar) .site-header {
        top: 0 !important;
        margin-top: 0;
        transform: none;
    }

    .catalogue-controls,
    .catalogue-controls.search-panel,
    .shop-page .catalogue-controls.search-panel {
        grid-template-columns: minmax(0, 1fr) auto;
        width: 100%;
        gap: 12px;
        align-items: end;
    }

    .shop-page .catalogue-search {
        min-width: 0;
    }

    .shop-page .catalogue-sort {
        width: auto;
        min-width: 50px;
        justify-self: end;
        align-self: end;
    }

    .shop-page .catalogue-sort > span {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }

    .shop-page .catalogue-sort-toggle {
        display: inline-flex;
    }

    .shop-page .catalogue-sort-panel {
        position: absolute;
        top: calc(100% + 8px);
        right: 0;
        z-index: 40;
        width: min(210px, calc(100vw - 32px));
        padding: 10px;
        border: 1px solid rgba(7, 22, 35, 0.12);
        background: rgba(252, 249, 243, 0.98);
        box-shadow: 0 18px 34px rgba(7, 22, 35, 0.12);
    }

    .shop-page .catalogue-sort:not(.is-open) .catalogue-sort-panel {
        display: none;
    }

    .shop-page .catalogue-sort-panel select {
        min-height: 46px;
    }

    .filter-row-shell {
        margin-right: -16px;
        padding-right: 16px;
    }

    .catalogue-filters,
    .category-strip,
    .filter-row[data-category-strip] {
        display: flex;
        flex-wrap: nowrap;
        width: 100%;
        max-width: 100%;
        gap: 8px;
        overflow-x: auto;
        overflow-y: hidden;
        padding-right: 18px;
        padding-bottom: 6px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .catalogue-filters::-webkit-scrollbar,
    .category-strip::-webkit-scrollbar,
    .filter-row[data-category-strip]::-webkit-scrollbar {
        display: none;
    }

    .category-strip-indicator {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 6px;
        width: 54px;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        padding-right: 8px;
        pointer-events: none;
        background: linear-gradient(90deg, rgba(252, 249, 243, 0), rgba(252, 249, 243, 0.96) 62%);
        transition: opacity 180ms ease;
    }

    .category-strip-indicator span {
        width: 8px;
        height: 8px;
        border-top: 1.5px solid var(--ink);
        border-right: 1.5px solid var(--ink);
        transform: rotate(45deg);
        opacity: 0.68;
        animation: catalogueSwipeNudge 1.35s ease-in-out infinite;
    }

    .filter-row-shell.is-end .category-strip-indicator,
    .filter-row-shell:not(.has-overflow) .category-strip-indicator {
        opacity: 0;
    }

    .catalogue-filters button,
    .category-strip a,
    .category-strip button,
    .filter-row[data-category-strip] button {
        flex: 0 0 auto;
        min-height: 44px;
        white-space: nowrap;
    }

    .basket-layout,
    .checkout-layout,
    .checkout-flow .checkout-layout,
    .checkout-flow form.checkout.checkout-layout {
        grid-template-columns: 1fr !important;
        width: 100%;
    }

    .basket-summary,
    .checkout-flow .checkout-layout > .checkout-card:last-child,
    .checkout-summary-card {
        position: static !important;
        width: 100%;
        max-width: none;
    }

    .support-form-large,
    .support-form-large input,
    .support-form-large textarea,
    .checkout-flow input,
    .checkout-flow select,
    .checkout-flow textarea,
    .basket-page,
    .checkout-flow,
    .shop-page,
    .coa-page,
    .faq-page {
        max-width: 100%;
    }

    .age-panel {
        max-height: calc(100dvh - 32px);
        overflow-y: auto;
    }

    .cookie-banner {
        max-width: calc(100% - 24px);
    }
}

@keyframes catalogueSwipeNudge {
    0%,
    100% {
        transform: translateX(0) rotate(45deg);
    }
    50% {
        transform: translateX(5px) rotate(45deg);
    }
}

@media (max-width: 430px) {
    .shop-page .catalogue-controls.search-panel {
        gap: 10px;
    }

    .shop-page .catalogue-sort-panel {
        width: min(196px, calc(100vw - 24px));
        right: 0;
    }

    .product-grid,
    .product-grid.product-grid-count-1,
    .product-grid.product-grid-count-2,
    .product-grid.product-grid-count-3,
    .product-grid.product-grid-count-4,
    .shop-page .product-grid.product-grid-count-1,
    .shop-page .product-grid.product-grid-count-2,
    .shop-page .product-grid.product-grid-count-3,
    .shop-page .product-grid.product-grid-count-4,
    .related-products .product-grid.product-grid-count-1,
    .related-products .product-grid.product-grid-count-2,
    .related-products .product-grid.product-grid-count-3,
    .related-products .product-grid.product-grid-count-4,
    .basket-recommendations .product-grid,
    .empty-recommendations .product-grid {
        grid-template-columns: 1fr !important;
    }

    .product-card {
        min-width: 0;
    }

    .product-card .product-media {
        min-height: 260px;
    }

    .product-card .product-media img {
        width: auto;
        height: 220px;
        max-width: 82%;
        object-fit: contain;
    }

    .basket-page .basket-item .qty-control {
        width: 100%;
        max-width: none;
        height: 48px;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        grid-template-rows: 48px;
    }

    .basket-page .basket-item .qty-control::before {
        display: none;
        content: none;
    }

    .basket-page .basket-item .qty-control button,
    .basket-page .basket-item .qty-control input.qty {
        height: 48px;
        min-height: 48px;
    }
}
