/* N.K.Luck WooCommerce archive only. Header/footer use the shared website styles. */
.nkl-shop { --shop-green:#00a651; --shop-dark:#007b45; --shop-navy:#102a43; --shop-text:#162a3a; --shop-muted:#667582; --shop-border:#e5ece8; --shop-soft:#f4faf7; color:var(--shop-text); background:#fff; padding-bottom:24px; }
.nkl-shop,.nkl-shop * { box-sizing:border-box; }
.nkl-shop :is(h1,h2,h3,p,figure,ul) { margin:0; }
.nkl-shop :is(h1,h2,h3) { font-family:var(--nkl-heading-font,inherit); color:var(--shop-navy); }
.nkl-shop a { text-decoration:none; }
.nkl-shop :is(a,button,input,select,summary):focus-visible { outline:2px solid var(--shop-dark); outline-offset:3px; }
.nkl-shop button { cursor:pointer; }
.nkl-shop .nkl-icon { flex-shrink:0; }
.nkl-shop-breadcrumb { display:flex; flex-wrap:wrap; align-items:center; gap:10px; padding-block:16px; font-size:13px; color:#73808a; }
.nkl-shop-breadcrumb a { color:inherit; }
.nkl-shop-breadcrumb a:hover { color:var(--shop-green); }
/* Hero: banners intentionally have no image zoom. */
.nkl-shop-hero { position:relative; isolation:isolate; overflow:hidden; min-height:270px; background:var(--shop-soft); display:flex; align-items:center; margin-bottom: 10px;}
.nkl-shop-hero-image { position:absolute; z-index:-2; inset:0; width:100%; height:100%; object-fit:cover; object-position:right center; }
.nkl-shop-hero::after { content:""; position:absolute; z-index:-1; inset:0; background:linear-gradient(90deg,#fff 0%,rgba(255,255,255,.96) 35%,rgba(255,255,255,.6) 60%,rgba(255,255,255,.05) 100%); }
.nkl-shop-hero-content { padding-block:36px; }
.nkl-shop-eyebrow { display:block; color:var(--shop-green); font-size:12px; font-weight:700; letter-spacing:.12em; margin-bottom:12px; }
.nkl-shop h1 { font-size:clamp(26px,2.5vw,36px); line-height:1.3; max-width:760px; font-weight:750; }
.nkl-shop-hero-content > p { max-width:640px; margin-top:14px; color:var(--shop-muted); font-size:15px; line-height:1.7; }
/* Dynamic primary category navigation. Missing categories are never invented. */
.nkl-shop-categories { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:14px; margin-block:28px 42px; }
.nkl-shop-categories a { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:10px; min-height:100px; padding:16px 10px; border:1px solid var(--shop-border); border-radius:9px; background:#fff; color:#173c32; text-align:center; font-size:13px; font-weight:600; line-height:1.4; transition:transform 250ms ease,border-color 250ms ease; }
.nkl-shop-categories .nkl-icon { color:var(--shop-green); width:28px; height:28px; }
.nkl-shop-categories .nkl-shop-category-icon { display:block; width:28px; height:28px; object-fit:contain; }
.nkl-shop-categories a[aria-current] { background:#00894d; border-color:#00894d; color:#fff; }
.nkl-shop-categories a[aria-current] .nkl-icon { color:inherit; }
.nkl-shop-categories a:hover { transform:translateY(-2px); border-color:rgba(0,166,81,.35); }
/* Sidebar, native category tree and brand filter. */
.nkl-shop-layout { display:grid; grid-template-columns:320px minmax(0,1fr); align-items:start; gap:32px; margin-bottom:56px; }
.nkl-shop-sidebar,.nkl-shop-results { min-width:0; }
/* Desktop sticky filters; tall sidebars remain scrollable below the header. */
@media(min-width:992px) {
 aside#nkl-shop-filters { position:sticky; top:120px; scroll-behavior:smooth; animation:nkl-shop-sidebar-in 350ms ease-out both; }
}
@keyframes nkl-shop-sidebar-in { from { opacity:0; transform:translateY(8px); } to { opacity:1; transform:translateY(0); } }

.nkl-shop-brand-search { position:relative; margin-top:10px; margin-bottom:16px; }
.nkl-shop-brand-search[hidden] { display:none; }
.nkl-shop input { font-family:inherit; font-size:13px; color:var(--shop-text); }
.nkl-shop-brand-search input { width:100%; border:1px solid var(--shop-border); border-radius:6px; padding:10px 32px 10px 10px; background:#fff; }
@media(max-width:991px) { .nkl-shop .nkl-shop-brand-search input { font-size:16px; } }
.nkl-shop-brand-search .nkl-icon { position:absolute; right:9px; top:10px; width:18px; height:18px; color:var(--shop-muted); pointer-events:none; }
/* Real brand logos are native checkbox tiles: works with or without JavaScript. */
.nkl-shop-brand-options { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; max-height:360px; overflow:auto; padding:4px; }
.nkl-shop-brand-options label { position:relative; display:block; min-width:0; cursor:pointer; }
.nkl-shop-brand-options label[hidden] { display:none; }
.nkl-shop-brand-options input { position:absolute; inset:0; width:100%; height:100%; margin:0; opacity:0; cursor:pointer; }
.nkl-shop-brand-tile { position:relative; display:flex; align-items:center; justify-content:center; min-height:66px; padding:8px; border:1px solid var(--shop-border); border-radius:6px; background:#fff; color:var(--shop-dark); font-size:12px; text-align:center; line-height:1.4; overflow:hidden; transition:border-color 200ms ease,box-shadow 200ms ease; }
.nkl-shop-brand-tile img { display:block; width:100%; height:46px; object-fit:contain; }
.nkl-shop-brand-tile::before { content:""; position:absolute; right:0; bottom:0; border-bottom:22px solid var(--shop-green); border-left:22px solid transparent; opacity:0; }
.nkl-shop-brand-tile::after { content:"\2713"; position:absolute; right:2px; bottom:0; color:#fff; font-size:13px; font-weight:700; line-height:18px; opacity:0; }
.nkl-shop-brand-options label:hover .nkl-shop-brand-tile { border-color:var(--shop-green); }
.nkl-shop-brand-options input:checked + .nkl-shop-brand-tile { border-color:var(--shop-green); box-shadow:inset 0 0 0 1px var(--shop-green); }
.nkl-shop-brand-options input:checked + .nkl-shop-brand-tile::before,.nkl-shop-brand-options input:checked + .nkl-shop-brand-tile::after { opacity:1; }
.nkl-shop-brand-options input:focus-visible + .nkl-shop-brand-tile { outline:2px solid var(--shop-dark); outline-offset:2px; }
.nkl-shop .nkl-btn { border-radius:7px; background:var(--shop-green); color:#fff; min-height:44px; font-size:12px; padding:12px 18px; gap:10px; white-space:normal; text-align:center; }
.nkl-shop .nkl-btn:hover { background:var(--shop-dark); }
/* Result heading and WooCommerce ordering. */
.nkl-shop-results-heading { display:flex; align-items:start; justify-content:space-between; gap:20px; margin-bottom:22px; }
.nkl-shop-results-heading h2 { font-size:26px; line-height:1.4; }
.nkl-shop-description-block { --description-preview-height:280px; margin-top:40px; padding-top:28px; border-top:1px solid var(--shop-border); }
.nkl-shop-description { font-size:15px; line-height:1.8; color:var(--shop-muted); overflow-wrap:anywhere; }
.nkl-shop-description :is(h2,h3) { margin:24px 0 12px; line-height:1.4; font-size:23px; }
.nkl-shop-description > :first-child { margin-top:0; }
.nkl-shop-description p { margin-bottom:16px; }
.nkl-shop-description ul,.nkl-shop-description ol { padding-left:22px; margin:12px 0 20px; }
.nkl-shop-description li { margin-bottom:8px; }
.nkl-shop-description img { display:block; max-width:100%; height:auto; margin:20px auto; border-radius:8px; }
.nkl-shop-description a { color:var(--shop-dark); }
.nkl-shop-description-block.is-collapsed .nkl-shop-description { position:relative; max-height:var(--description-preview-height); overflow:hidden; }
.nkl-shop-description-block.is-collapsed .nkl-shop-description::after { content:""; position:absolute; bottom:0; left:0; right:0; height:70px; background:linear-gradient(transparent,#fff); pointer-events:none; }
.nkl-shop-description-toggle { display:flex; align-items:center; justify-content:center; gap:14px; width:fit-content; min-height:48px; margin:22px auto 0; padding:8px 10px 8px 24px; border:1px solid rgba(0,166,81,.22); border-radius:999px; background:linear-gradient(120deg,#fff,#edf9f2); color:var(--shop-dark); font-size:14px; font-weight:700; box-shadow:0 3px 12px rgba(0,123,69,.05); transition:transform 250ms ease,background 250ms ease,color 250ms ease,border-color 250ms ease,box-shadow 250ms ease; }
.nkl-shop-description-arrow { display:grid; place-items:center; width:30px; height:30px; border-radius:50%; background:rgba(0,166,81,.1); transition:transform 350ms ease,background-color 250ms ease; }
.nkl-shop-description-arrow .nkl-icon { width:18px; height:18px; }
.nkl-shop-description-toggle[aria-expanded="true"] .nkl-shop-description-arrow { transform:rotate(180deg); }
@media(hover:hover) {
 .nkl-shop-description-toggle:hover { background:var(--shop-green); color:#fff; border-color:var(--shop-green); transform:translateY(-2px); box-shadow:0 7px 18px rgba(0,123,69,.16); }
 .nkl-shop-description-toggle:hover .nkl-shop-description-arrow { background:rgba(255,255,255,.18); }
 .nkl-shop-description-toggle:hover .nkl-icon { animation:nkl-shop-more-arrow 900ms ease-in-out infinite; }
}
@keyframes nkl-shop-more-arrow { 0%,100% { transform:translateY(-1px); } 50% { transform:translateY(2px); } }
.nkl-shop-description-toggle:active { transform:translateY(0); }
.nkl-shop-description-toggle[hidden] { display:none; }
.nkl-shop-count { flex-shrink:0; color:var(--shop-muted); font-size:13px; padding-top:9px; }
.nkl-shop-toolbar { display:flex; align-items:center; justify-content:flex-end; gap:14px; margin-bottom:24px; flex-wrap:wrap; }
.nkl-shop-order { display:flex; align-items:center; gap:10px; font-size:13px; color:var(--shop-muted); }
.woocommerce .nkl-shop .woocommerce-ordering { float:none; margin:0; }
.nkl-shop-order select { max-width:100%; padding:9px 28px 9px 10px; border:1px solid var(--shop-border); border-radius:6px; background:#fff; color:var(--shop-text); font-size:13px; min-height:40px; }
.nkl-shop-view { display:flex; gap:5px; }
.nkl-shop-view[hidden] { display:none; }
.nkl-shop-view button,.nkl-shop-filter-toggle { border:1px solid var(--shop-border); border-radius:6px; background:#fff; color:var(--shop-muted); min-height:40px; padding:8px; }
.nkl-shop-view button { width:40px; display:grid; place-items:center; }
.nkl-shop-view button[aria-pressed="true"] { border-color:var(--shop-green); color:var(--shop-green); background:var(--shop-soft); }
.nkl-shop-view .nkl-icon { width:18px; height:18px; }
.nkl-shop-filter-toggle,.nkl-shop-drawer-title { display:none; }
/* Premium product cards: original media, dynamic category/brand and detail links. */
.woocommerce .nkl-shop ul.products { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; padding:0; margin:0; list-style:none; }
.woocommerce .nkl-shop ul.products::before,.woocommerce .nkl-shop ul.products::after { display:none; }
.woocommerce .nkl-shop.is-list-view ul.products { grid-template-columns:1fr; }
.woocommerce .nkl-shop.is-list-view ul.products li.product { display:grid; grid-template-columns:minmax(260px,32%) minmax(0,1fr); }
.nkl-shop.is-list-view .nkl-shop-product-media { margin:12px; }
.nkl-shop.is-list-view .nkl-shop-product-image { aspect-ratio:1.15; }
.nkl-shop.is-list-view .nkl-shop-product-body { padding:24px 28px; justify-content:center; gap:12px; }
.nkl-shop.is-list-view .nkl-shop-product-details { margin-top:12px; }
/* Native pagination and meaningful empty state. */
.woocommerce .nkl-shop nav.woocommerce-pagination { margin-top:32px; }
.woocommerce .nkl-shop nav.woocommerce-pagination ul { border:0; display:flex; flex-wrap:wrap; justify-content:center; gap:8px; }
.woocommerce .nkl-shop nav.woocommerce-pagination ul li { border:0; }
.woocommerce .nkl-shop nav.woocommerce-pagination ul li :is(a,span) { display:grid; place-items:center; min-width:36px; height:36px; padding:6px; border:1px solid #cbd7d1; border-radius:50%; background:#fff; color:var(--shop-muted); font-size:13px; }
.woocommerce .nkl-shop nav.woocommerce-pagination ul li .current { background:var(--shop-green); border-color:var(--shop-green); color:#fff; }
.woocommerce .nkl-shop nav.woocommerce-pagination ul li a:hover { color:var(--shop-green); border-color:var(--shop-green); }
.nkl-shop-empty { padding:56px 24px; text-align:center; border-radius:10px; background:var(--shop-soft); }
.nkl-shop-empty h3 { font-size:21px; margin-bottom:12px; }
.nkl-shop-empty p { font-size:14px; color:var(--shop-muted); line-height:1.7; }
.nkl-shop-empty > div { display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:20px; margin-top:24px; }
.nkl-shop-link { color:var(--shop-dark); font-size:12px; font-weight:700; }
/* Tablet and progressive mobile filter drawer (no-JS sidebar stays usable). */
@media(max-width:1199px) {
 .nkl-shop-layout { grid-template-columns:230px minmax(0,1fr); gap:24px; }
 .woocommerce .nkl-shop ul.products { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .nkl-shop-categories { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media(max-width:991px) {
 .nkl-shop-layout { grid-template-columns:1fr; }
 .nkl-shop-results { grid-row:1; }
 .has-shop-js .nkl-shop-filter-toggle { display:inline-flex; gap:7px; align-items:center; color:var(--shop-dark); padding-inline:12px; }
 .nkl-shop-filter-toggle .nkl-icon { width:18px; height:18px; }
 .has-shop-js .nkl-shop-sidebar { display:none; }
 .has-shop-js .nkl-shop-sidebar.is-open { display:block; position:fixed; z-index:10002; inset:0 auto 0 0; width:min(360px,90vw); overflow-y:auto; overscroll-behavior:contain; background:#fff; padding:20px; box-shadow:8px 0 30px rgba(16,42,67,.12); }
 .nkl-shop-sidebar.is-open .nkl-shop-drawer-title { display:flex; align-items:center; justify-content:space-between; margin-bottom:20px; }
 .nkl-shop-drawer-title button { width:36px; height:36px; display:grid; place-items:center; border:1px solid var(--shop-border); border-radius:6px; background:#fff; color:var(--shop-text); }
 .nkl-shop-backdrop:not([hidden]) { display:block; position:fixed; z-index:10001; inset:0; background:rgba(16,42,67,.35); }
 .nkl-shop-toolbar { justify-content:flex-start; }
 .nkl-shop-order { margin-left:auto; }
}
@media(max-width:600px) {
 .nkl-shop-hero { min-height:260px; }
 .nkl-shop-hero::after { background:linear-gradient(90deg,rgba(255,255,255,.98),rgba(255,255,255,.85)); }
 .nkl-shop h1 { font-size:26px; }
 .nkl-shop-hero-content > p { font-size:14px; }
 .nkl-shop-categories { display:flex; overflow-x:auto; padding-bottom:6px; margin-block:22px 30px; scroll-snap-type:x mandatory; }
 .nkl-shop-categories a { flex:0 0 150px; scroll-snap-align:start; }
 .nkl-shop-results-heading { flex-direction:column; gap:4px; }
 .nkl-shop-results-heading h2 { font-size:23px; }
 .nkl-shop-count { padding-top:0; }
 .nkl-shop-order > span { display:none; }
 .nkl-shop-toolbar { gap:8px; }
 .nkl-shop-order select { width:160px; font-size:12px; }
 .nkl-shop-view { margin-left:auto; }
 .woocommerce .nkl-shop ul.products { grid-template-columns:1fr; gap:18px; }
 .woocommerce .nkl-shop ul.products li.product { border-radius:16px; }

 .woocommerce .nkl-shop ul.products li.nkl-shop-product { --nkl-product-wave-opacity:.595; }
 .woocommerce .nkl-shop ul.products li.nkl-shop-product::before { width:80%; height:24%; }
 .woocommerce .nkl-shop ul.products li.nkl-shop-product::after { width:66%; height:20%; }
 .woocommerce .nkl-shop.is-list-view ul.products li.product { grid-template-columns:40% minmax(0,1fr); }
 .nkl-shop.is-list-view .nkl-shop-product-media { margin:10px; }
 .nkl-shop.is-list-view .nkl-shop-product-image { aspect-ratio:auto; height:100%; min-height:190px; }
 .nkl-shop.is-list-view .nkl-shop-product-body { padding:16px; gap:8px; }
 .nkl-shop.is-list-view .nkl-shop-product h3 { font-size:17px; }
 .nkl-shop.is-list-view .nkl-shop-product-details { margin-top:8px; }

}
@media(max-width:429px) {
 .woocommerce .nkl-shop ul.products { grid-template-columns:1fr; }
 /* Keep the premium card readable when a list row would become too narrow. */
 .woocommerce .nkl-shop.is-list-view ul.products li.product { display:flex; }
 .nkl-shop.is-list-view .nkl-shop-product-image { aspect-ratio:1; height:auto; }
 .nkl-shop.is-list-view}
@media(prefers-reduced-motion:reduce) {
 aside#nkl-shop-filters { animation:none; }
 .nkl-shop * { transition:none!important; scroll-behavior:auto!important; }
 .nkl-shop-categories a:hover,.woocommerce .nkl-shop ul.products li.product:hover { transform:none; }
 .nkl-shop-description-toggle:hover,.woocommerce .nkl-shop ul.products li.product:hover .nkl-img-zoom img,.nkl-shop-product-details:hover svg { transform:none; }
 .nkl-shop-description-toggle .nkl-icon { animation:none; }
}
