/* KLYQ v13.0 final corrective layer. Loaded last and cache-busted by file time. */

/* The adult marker belongs to the global header, so it remains visible on every route. */
.klyq-header-wrap .klyq-header-top{display:block!important;position:relative!important;min-height:32px!important;padding-right:96px!important;overflow:hidden!important}
.klyq-header-wrap .klyq-ribbon-age{display:flex!important;position:absolute!important;inset:0 0 0 auto!important;width:96px!important;align-items:center!important;justify-content:center!important;background:var(--klyq-lime,#c9ff36)!important;color:#080b10!important;z-index:5!important}

/* Product purchase actions use the same black-to-lime interaction language. */
body.single-product .klyq-express-checkout,
body.single-product [data-klyq-direct-flow="checkout"]{border:1px solid #11141a!important;background:#11141a!important;color:#fff!important;transition:background-color .18s ease,color .18s ease,border-color .18s ease,transform .18s ease!important}
body.single-product .klyq-express-checkout:hover,
body.single-product .klyq-express-checkout:focus-visible,
body.single-product [data-klyq-direct-flow="checkout"]:hover,
body.single-product [data-klyq-direct-flow="checkout"]:focus-visible{border-color:var(--klyq-lime,#c9ff36)!important;background:var(--klyq-lime,#c9ff36)!important;color:#080b10!important;transform:translateY(-2px)!important}

/* Product viewer: original aspect ratio, viewport-contained, looping controls handled by JS. */
#klyq-image-viewer{filter:none!important;opacity:1!important;pointer-events:auto!important}
#klyq-image-viewer .klyq-image-next{width:auto!important;height:auto!important;max-width:calc(100vw - 170px)!important;max-height:calc(100dvh - 128px)!important;padding:0!important}
#klyq-image-viewer .klyq-image-next img{width:auto!important;height:auto!important;max-width:100%!important;max-height:calc(100dvh - 128px)!important;object-fit:contain!important;transform:none!important}

/* Verification must stay above the dimming screen and accept pointer/touch input. */
body>.klyq-human-dialog{z-index:2147483646!important;filter:none!important;opacity:1!important;visibility:visible!important;pointer-events:auto!important;touch-action:auto!important}
body>.klyq-human-dialog[hidden]{display:none!important}
body>.klyq-human-dialog .klyq-human-dialog-card,
body>.klyq-human-dialog button,
body>.klyq-human-dialog input{pointer-events:auto!important;filter:none!important;opacity:1!important}

/* Account navigation intentionally excludes downloads and wishlist. */
.woocommerce-MyAccount-navigation-link--downloads,
.woocommerce-MyAccount-navigation-link--wishlist{display:none!important}

/* Billing then shipping, equal cards in one clean row. */
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses,
body.woocommerce-account .woocommerce-MyAccount-content .u-columns.col2-set{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px!important;align-items:stretch!important}
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses::before,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses::after,
body.woocommerce-account .woocommerce-MyAccount-content .u-columns.col2-set::before,
body.woocommerce-account .woocommerce-MyAccount-content .u-columns.col2-set::after{display:none!important;content:none!important}
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address,
body.woocommerce-account .woocommerce-MyAccount-content .u-column1,
body.woocommerce-account .woocommerce-MyAccount-content .u-column2{float:none!important;clear:none!important;width:auto!important;min-width:0!important;height:100%!important;margin:0!important}
body.woocommerce-account .woocommerce-MyAccount-content .u-column1{grid-column:1!important;grid-row:1!important}
body.woocommerce-account .woocommerce-MyAccount-content .u-column2{grid-column:2!important;grid-row:1!important}

/* Gift-card art is never replaced by a WooCommerce placeholder. */
img.klyq-digital-card-art,img.klyq-gift-card-image,.klyq-checkout-gift-card-thumb img{display:block!important;width:100%!important;height:auto!important;object-fit:contain!important;background:#f4f6f8!important}

/* Required account fields are visually explicit in all three panels. */
.klyq-account-box input[required]{border-color:#b9c4d1!important}
.klyq-account-box input[required]:invalid:not(:placeholder-shown){border-color:#c02935!important}
.klyq-account-box .klyq-required{display:inline!important;color:#b91c1c!important}

/* Mandatory age confirmation feedback. */
.klyq-age-checkout.klyq-invalid{border:2px solid #c02935!important;background:#fff7f8!important}
.klyq-age-checkout.klyq-bump{animation:klyq-v13-bump .36s ease!important}
@keyframes klyq-v13-bump{0%,100%{transform:translateX(0)}25%{transform:translateX(-8px)}50%{transform:translateX(8px)}75%{transform:translateX(-4px)}}

@media(max-width:1024px){
  /* No header/off-canvas category drawer on phones or tablets. */
  .klyq-header-nav,.klyq-nav,.klyq-mobile-menu,.klyq-cat-drawer,.klyq-mobile-menu-toggle,.klyq-nav-close{display:none!important;visibility:hidden!important;pointer-events:none!important;transform:none!important}
  .klyq-header-main{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:9px 12px!important;width:calc(100% - 24px)!important;height:auto!important;min-height:0!important;padding:10px 0!important;overflow:visible!important}
  .klyq-header-logo{grid-column:1!important;grid-row:1!important}.klyq-header-icons{grid-column:2!important;grid-row:1!important;display:flex!important}
  .klyq-header-search{grid-column:1/-1!important;grid-row:2!important;display:block!important;width:100%!important}
  /* Shop filters/categories remain in normal document flow as a vertical selector. */
  .klyq-filter-toggle,.klyq-filter-close{display:none!important}
  .klyq-archive-sidebar{display:block!important;position:static!important;inset:auto!important;width:100%!important;max-width:none!important;padding:0!important;margin:0 0 18px!important;overflow:visible!important;transform:none!important;box-shadow:none!important;background:transparent!important;visibility:visible!important;pointer-events:auto!important}
  .klyq-archive-sidebar .klyq-filter-panel{display:block!important;position:static!important;padding:14px!important;border:1px solid #dfe5ec!important;border-radius:12px!important;background:#fff!important}
  .klyq-shop-chips,.klyq-shop-category-grid,.klyq-category-v7 .klyq-old-cat-rail{display:grid!important;grid-template-columns:1fr!important;gap:8px!important;overflow:visible!important;transform:none!important}
  .klyq-shop-chips a{display:flex!important;justify-content:space-between!important;width:100%!important;min-height:50px!important;padding:10px 14px!important}
  body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses,
  body.woocommerce-account .woocommerce-MyAccount-content .u-columns.col2-set{grid-template-columns:1fr!important}
  body.woocommerce-account .woocommerce-MyAccount-content .u-column1,
  body.woocommerce-account .woocommerce-MyAccount-content .u-column2{grid-column:1!important;grid-row:auto!important}
}

@media(max-width:600px){
  .klyq-header-wrap .klyq-header-top{padding-right:76px!important}.klyq-header-wrap .klyq-ribbon-age{width:76px!important;font-size:9px!important}
  .klyq-header-icons>button{width:42px!important;min-width:42px!important}.klyq-header-logo .custom-logo{width:120px!important}
  #klyq-image-viewer{padding:60px 8px 76px!important}#klyq-image-viewer .klyq-image-next{max-width:calc(100vw - 16px)!important}
  .klyq-account-modal{padding:8px!important}.klyq-account-box{width:100%!important;max-height:calc(100dvh - 16px)!important}
}

@media(prefers-reduced-motion:reduce){.klyq-age-checkout.klyq-bump{animation:none!important}}
