/* v12.6: shared mobile layout, accessible overlays and WooCommerce integration. */
.klyq-header-wrap .klyq-header-top{position:relative!important;padding-right:92px!important}
.klyq-ribbon-age{position:absolute!important;right:0;top:0;height:32px;display:flex;align-items:center;padding:0 14px;background:var(--klyq-lime);color:#11141a;font-size:10px;font-weight:900;z-index:2}
.klyq-header-top .klyq-top-marquee{width:100%;min-width:0}

/* WooCommerce clearfix pseudo-elements must not consume grid cells. */
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{content:none!important;display:none!important}
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses{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>.woocommerce-Address{float:none!important;clear:none!important;grid-column:auto!important;grid-row:1!important;min-width:0!important;min-height:180px!important;width:auto!important;margin:0!important;padding:22px!important;display:flex!important;flex-direction:column!important;height:auto!important}
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses>.woocommerce-Address .title{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:12px!important;margin:0 0 20px!important;padding:0!important;min-height:0!important}
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses .title::before,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses .title::after{display:none!important;content:none!important}
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses h2{float:none!important;margin:0!important;font-size:23px!important;line-height:1.2!important}
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses address{margin:0!important;line-height:1.7!important;font-style:normal!important}
body.woocommerce-account .klyq-account-cards{grid-template-columns:repeat(2,minmax(0,1fr))!important}

.klyq-required{color:#b91c1c!important;text-decoration:none!important}
.klyq-account-box form>label>span{display:block}
.klyq-account-box form>label>span>small{color:#606a76;font-size:10px;font-weight:500}
.klyq-account-box [aria-invalid=true]{border-color:#c02935!important;box-shadow:0 0 0 2px #c0293514!important}

/* Verification is portalled to body so sticky/blurred checkout parents cannot trap it. */
body>.klyq-human-dialog{z-index:2147482000!important;isolation:isolate;filter:none!important;opacity:1!important;pointer-events:auto!important;backdrop-filter:none!important;transform:none!important}
.klyq-human-dialog-card{max-height:calc(100dvh - 32px);overscroll-behavior:contain;pointer-events:auto!important}
.klyq-k-puzzle-track{touch-action:none!important;cursor:grab}
.klyq-k-puzzle-track:active{cursor:grabbing}
.klyq-human-dialog-close{min-width:44px!important;min-height:44px!important;z-index:2}
.klyq-human-dialog-head{padding-right:42px}

.klyq-product-experience form.cart button.klyq-express-checkout,
.klyq-product-experience form.cart [data-klyq-direct-flow="checkout"]{background:#11141a!important;color:#fff!important;border:1px solid #11141a!important;transition:background .18s,color .18s,border-color .18s!important}
.klyq-product-experience form.cart button.klyq-express-checkout:hover,
.klyq-product-experience form.cart button.klyq-express-checkout:focus-visible,
.klyq-product-experience form.cart [data-klyq-direct-flow="checkout"]:hover,
.klyq-product-experience form.cart [data-klyq-direct-flow="checkout"]:focus-visible{background:var(--klyq-lime)!important;color:#11141a!important;border-color:var(--klyq-lime)!important}
.klyq-gallery-stage>img,.klyq-gallery-stage:hover>img{transform:none!important;object-fit:contain!important}
.klyq-gallery-stage>img{cursor:zoom-in}
.klyq-gallery-thumbs{overflow-x:auto!important;overflow-y:hidden!important;scrollbar-width:thin;max-height:none!important}
.klyq-image-viewer[hidden]{display:none!important}
.klyq-image-viewer{position:fixed;inset:0;z-index:2147481500;display:flex;align-items:center;justify-content:center;gap:14px;padding:64px 24px;background:rgba(5,7,10,.88);overscroll-behavior:contain}
.klyq-image-viewer button{flex:none;border:1px solid #ffffff44;border-radius:50%;background:#11141a;color:#fff;width:44px;height:44px;cursor:pointer;font-size:26px;line-height:1}
.klyq-image-viewer button:hover,.klyq-image-viewer button:focus-visible{background:var(--klyq-lime);color:#11141a;outline:2px solid var(--klyq-lime);outline-offset:3px}
.klyq-image-viewer .klyq-image-close{position:absolute;right:max(16px,env(safe-area-inset-right));top:max(16px,env(safe-area-inset-top))}
.klyq-image-viewer .klyq-image-next{display:flex;align-items:center;justify-content:center;min-width:0;width:auto;height:auto;max-width:calc(100vw - 170px);max-height:calc(100dvh - 128px);border:0;border-radius:8px;background:transparent;overflow:hidden}
.klyq-image-viewer .klyq-image-next img{display:block;width:auto!important;height:auto!important;max-width:100%!important;max-height:calc(100dvh - 128px)!important;object-fit:contain;transform:none!important}
.klyq-image-viewer .klyq-image-next:hover{outline:0;background:transparent}
.klyq-image-position{position:absolute;bottom:max(20px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);color:#fff;font-size:13px}
.klyq-digital-card-art{object-fit:contain!important}

.klyq-age-checkout label{display:flex!important;align-items:flex-start!important;gap:10px!important;cursor:pointer;line-height:1.6!important}
.klyq-age-checkout input[type=checkbox]{flex:0 0 22px!important;width:22px!important;height:22px!important;margin:2px 0 0!important;accent-color:#11141a}
.klyq-age-checkout.klyq-invalid{border:2px solid #c02935!important;background:#fff8f8!important}
.klyq-age-error{color:#a31e2a!important;margin:12px 0 0!important;font-size:13px!important;font-weight:700}
.klyq-age-error[hidden]{display:none!important}
.klyq-age-checkout.klyq-bump{animation:klyq-required-bump .35s ease}
@keyframes klyq-required-bump{0%,100%{transform:translateX(0)}25%{transform:translateX(-7px)}50%{transform:translateX(7px)}75%{transform:translateX(-4px)}}
.klyq-address-error{margin:6px 0;color:#b91c1c;font-size:12px;line-height:1.5}

@media(max-width:1024px){
  /* No off-canvas category menu, including after the sticky-header scroll threshold. */
  body .klyq-header-wrap .klyq-header-top{display:block!important;height:32px!important;min-height:32px!important;overflow:hidden!important}
  body .klyq-header-wrap .klyq-header-nav,body .klyq-header-wrap.scrolled .klyq-header-nav,
  body .klyq-mobile-menu,body .klyq-nav-close{display:none!important;visibility:hidden!important;pointer-events:none!important;transform:none!important}
  body .klyq-header-wrap,body .klyq-header-wrap.scrolled{position:sticky!important;top:0!important;height:auto!important}
  body.admin-bar .klyq-header-wrap{top:32px!important}
  body .klyq-header-wrap .klyq-elementor-header,body .klyq-header-wrap.scrolled .klyq-elementor-header{height:auto!important;min-height:0!important}
  body .klyq-header-wrap .klyq-header-main,body .klyq-header-wrap.scrolled .klyq-header-main{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:9px 14px!important;width:calc(100% - 28px)!important;padding:10px 0!important;height:auto!important;min-height:0!important;max-height:none!important;opacity:1!important;overflow:visible!important;pointer-events:auto!important}
  body .klyq-header-wrap .klyq-header-logo{grid-row:1;grid-column:1}
  body .klyq-header-wrap .klyq-header-logo .custom-logo{width:128px!important;height:40px!important;max-height:40px!important;object-fit:contain!important}
  body .klyq-header-wrap .klyq-header-icons{display:flex!important;grid-row:1;grid-column:2;gap:5px!important;width:auto!important}
  body .klyq-header-wrap .klyq-header-icons>button{display:flex!important;flex-direction:column;align-items:center;justify-content:center;position:relative;width:44px!important;height:44px!important;padding:4px!important}
  body .klyq-header-wrap .klyq-header-icons>button>span:not(.klyq-head-ico){display:none!important}
  body .klyq-header-wrap .klyq-header-search{grid-row:2;grid-column:1/-1;display:block!important;width:100%!important}
  body .klyq-header-wrap .klyq-header-search form{width:100%!important;height:44px!important}
  body .klyq-header-wrap .klyq-header-search input{min-width:0!important;height:44px!important;font-size:16px!important}
  body .klyq-header-wrap .klyq-header-search button{height:44px!important;width:48px!important}
  .klyq-mobile-bottom{display:flex!important;justify-content:space-around;padding-bottom:env(safe-area-inset-bottom)!important;height:calc(58px + env(safe-area-inset-bottom))!important}
  .klyq-mobile-bottom>a,.klyq-mobile-bottom>button{flex:1;min-width:0;min-height:52px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px}
  body{padding-bottom:calc(66px + env(safe-area-inset-bottom))!important}
  #klyq-shop-categories,#klyq-categories{scroll-margin-top:152px}
  .klyq-shop-chips{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:8px!important;overflow:visible!important;padding:12px!important;border:1px solid #dfe5ec;border-radius:12px;background:#fff}
  .klyq-shop-chips a{display:flex!important;align-items:center!important;justify-content:space-between!important;width:100%!important;min-height:52px!important;padding:10px 14px!important;border:1px solid #dfe5ec!important;border-radius:8px!important;background:#f7f9fb!important;color:#11141a!important;font-size:14px!important;font-weight:800!important}
  .klyq-shop-chips a::after{content:"→";font-size:18px}
  .klyq-shop-chips a.active,.klyq-shop-chips a:hover,.klyq-shop-chips a:focus-visible{background:var(--klyq-lime)!important;border-color:var(--klyq-lime)!important;color:#11141a!important}
  .klyq-shop-category-grid,.klyq-category-v7 .klyq-old-cat-rail{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:10px!important;overflow:visible!important;width:100%!important;transform:none!important;padding:0!important}
  .klyq-category-v7 .klyq-flow-viewport{overflow:visible!important}
  .klyq-category-v7 .klyq-old-cat{display:grid!important;grid-template-columns:64px minmax(0,1fr)!important;grid-template-rows:auto auto!important;align-items:center!important;column-gap:15px!important;min-width:0!important;width:100%!important;min-height:84px!important;padding:10px 15px!important;text-align:left!important;flex-basis:auto!important}
  .klyq-category-v7 .klyq-old-cat>span{grid-column:1;grid-row:1/3;width:64px!important;height:64px!important;margin:0!important}
  .klyq-category-v7 .klyq-old-cat>span img{width:100%!important;height:100%!important;object-fit:contain!important}
  .klyq-category-v7 .klyq-old-cat>strong{grid-column:2;align-self:end;font-size:16px!important;margin:0!important}
  .klyq-category-v7 .klyq-old-cat>small{grid-column:2;align-self:start;font-size:12px!important;margin-top:4px!important}
  .klyq-category-v7 .klyq-rail-actions>button{display:none!important}
  .klyq-product-experience .klyq-product-main{grid-template-columns:minmax(0,1fr)!important;gap:22px!important}
  .klyq-product-experience .klyq-product-gallery,.klyq-product-experience .klyq-product-summary,.klyq-product-experience .klyq-purchase-panel{grid-column:1!important;grid-row:auto!important;position:static!important;width:100%!important;min-width:0!important}
  .klyq-product-experience .klyq-purchase-panel{order:2}.klyq-product-experience .klyq-product-summary{order:1}
  .klyq-product-gallery{order:0}.klyq-product-detail-table{overflow-wrap:anywhere}
  .klyq-product-topline{flex-wrap:wrap}
  .klyq-cart-drawer,.klyq-wishlist-drawer,.klyq-compare-drawer{width:min(480px,100vw)!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important}
  .klyq-cart-drawer footer,.klyq-wishlist-drawer footer{padding-bottom:max(18px,env(safe-area-inset-bottom))!important}
  .klyq-account-modal{padding:12px!important;overflow-y:auto!important;align-items:center!important}
  .klyq-account-box{grid-template-columns:minmax(0,1fr)!important;width:min(560px,100%)!important;max-height:calc(100dvh - 24px)!important;overflow:auto!important}
  .klyq-account-box>aside{display:none!important}.klyq-account-box>section{padding:45px 20px 22px!important;min-width:0}
  .klyq-account-box input:not([type=checkbox]):not([type=hidden]){font-size:16px!important;min-height:46px!important}
  .klyq-account-box .klyq-account-tabs button{min-height:44px!important}
  .klyq-human-check-launcher{flex-wrap:wrap!important;gap:12px!important}
  .klyq-human-open{min-height:44px!important}
  .klyq-account-page>.woocommerce{grid-template-columns:minmax(0,1fr)!important}
  .woocommerce-MyAccount-navigation,.woocommerce-MyAccount-content{width:100%!important;float:none!important;min-width:0!important}
  .klyq-wishlist-grid{grid-template-columns:minmax(0,1fr)!important}
  .klyq-wishlist-item.compact{grid-template-columns:76px minmax(0,1fr)!important}
  .klyq-wishlist-item>div{min-width:0}.klyq-wishlist-item h3{overflow-wrap:anywhere}
  .klyq-gift-picker-grid,.klyq-gift-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:782px){
  body.admin-bar .klyq-header-wrap{top:46px!important}
  body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses{grid-template-columns:1fr!important}
  body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses>.woocommerce-Address{grid-row:auto!important;min-height:0!important}
  body.woocommerce-account .klyq-account-cards{grid-template-columns:1fr!important}
  .klyq-image-viewer{padding:64px 12px;gap:6px}.klyq-image-viewer .klyq-image-next{max-width:calc(100vw - 24px)}
  .klyq-image-viewer [data-gallery-step]{position:absolute;bottom:12px;z-index:1}.klyq-image-viewer [data-gallery-step="-1"]{left:20px}.klyq-image-viewer [data-gallery-step="1"]{right:20px}
  .klyq-checkout-page input:not([type=checkbox]):not([type=radio]),.klyq-checkout-page select,.klyq-checkout-page textarea{font-size:16px!important}
  .klyq-order-column{min-width:0!important}
}
@media(max-width:480px){
  .klyq-gift-picker-grid,.klyq-gift-card-grid{grid-template-columns:1fr!important}
  .klyq-account-box>section{padding-left:16px!important;padding-right:16px!important}
  .klyq-footer-trust,.klyq-footer-main,.klyq-footer-info-grid{grid-template-columns:1fr!important}
  .klyq-legacy-hero{height:530px!important;min-height:0!important}.klyq-legacy-hero-copy h1{font-size:39px!important;line-height:1.05!important}
  .klyq-legacy-hero-copy{left:20px!important;right:20px!important}.klyq-legacy-hero-copy p{font-size:14px!important}
  .klyq-human-open{width:100%!important}.klyq-human-brand{min-width:0!important}
}
@media(prefers-reduced-motion:reduce){.klyq-age-checkout.klyq-bump{animation:none}.klyq-image-viewer *{transition:none!important}}
