/*
 * Nahang Commerce 0.9.14
 * Canonical WooCommerce presentation for Nahang Shell.
 * Archive, filters, product, cart, checkout and account share one spacing system.
 */

:root{
  --nhc-gap:clamp(16px,2.3vw,28px);
  --nhc-card-radius:clamp(16px,1.6vw,22px);
  --nhc-page-y:clamp(30px,4.5vw,62px);
}
.nahang-shop-runtime{padding-block:var(--nhc-page-y)}
.nahang-shop-runtime>.woocommerce{min-width:0}

/* Notices */
.woocommerce .woocommerce-notices-wrapper{margin-bottom:18px}
.woocommerce-message,.woocommerce-info,.woocommerce-error{margin:0 0 18px;padding:14px 18px;border:1px solid var(--nahang-line);border-radius:14px;background:rgba(255,255,255,.78);list-style:none;box-shadow:0 10px 30px rgba(31,24,19,.04)}

/* Archive hero */
.nhc-archive-hero{position:relative;overflow:hidden;margin:0 0 26px;padding:clamp(30px,4.2vw,56px);border:1px solid var(--nahang-premium-card-line,rgba(23,20,17,.07));border-radius:28px;background:radial-gradient(circle at 12% 18%,rgba(205,177,151,.26),transparent 34%),linear-gradient(135deg,#fbf8f4 0%,#f1e7dc 100%)}
.nhc-archive-hero::after{content:"";position:absolute;inset:auto -7% -60% auto;width:38%;aspect-ratio:1;border-radius:50%;background:rgba(255,255,255,.36);filter:blur(2px);pointer-events:none}
.nhc-eyebrow{position:relative;z-index:1;margin:0 0 8px;color:var(--nahang-accent-text,var(--nahang-accent));font-size:.7rem;font-weight:850;letter-spacing:.14em;text-transform:uppercase}
.nhc-archive-hero h1{position:relative;z-index:1;max-width:19ch;margin:0 0 12px;font-size:clamp(2rem,3.25vw,3.45rem);line-height:1.15}
.nhc-archive-hero__desc{position:relative;z-index:1;max-width:72ch;color:var(--nahang-muted);font-size:clamp(.9rem,1vw,1rem);line-height:1.95}
.nhc-archive-hero__desc p{margin:0}

/* Catalog / filters */
.nhc-catalog-shell{display:grid;grid-template-columns:272px minmax(0,1fr);gap:var(--nhc-gap);align-items:start}
.nhc-catalog-results{min-width:0}
.nhc-filter-panel{position:sticky;top:calc(var(--nahang-header-height) + 18px);max-height:calc(100svh - var(--nahang-header-height) - 36px);overflow:auto;padding:18px;border:1px solid var(--nahang-premium-card-line,rgba(23,20,17,.08));border-radius:20px;background:rgba(255,253,250,.84);box-shadow:0 16px 44px rgba(50,38,28,.055);backdrop-filter:blur(16px) saturate(125%);scrollbar-width:thin;overscroll-behavior:contain}
.admin-bar .nhc-filter-panel{top:calc(var(--nahang-header-height) + 50px);max-height:calc(100svh - var(--nahang-header-height) - 68px)}
.nhc-filter-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding-bottom:11px}
.nhc-filter-head>div{display:grid;gap:3px}.nhc-filter-head strong{font-size:.98rem}.nhc-filter-head small{color:var(--nahang-muted);font-size:.7rem}
.nhc-filter-head button{display:none;width:38px;height:38px;border:0;border-radius:50%;background:rgba(23,20,17,.05);font-size:1.45rem}
.nhc-filter-group{margin:0;border:0;border-bottom:1px solid var(--nahang-line)}
.nhc-filter-group>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 0;cursor:pointer;list-style:none;font-size:.82rem;font-weight:850}.nhc-filter-group>summary::-webkit-details-marker{display:none}
.nhc-filter-group>summary span:last-child{transition:transform .2s ease}.nhc-filter-group[open]>summary span:last-child{transform:rotate(180deg)}
.nhc-filter-options{display:grid;gap:5px;padding:0 0 13px}.nhc-filter-options--tree{gap:4px}
.nhc-filter-option{display:grid;grid-template-columns:18px minmax(0,1fr) auto;align-items:center;gap:8px;min-height:31px;padding:2px 5px;border-radius:9px;color:var(--nahang-muted);font-size:.78rem;cursor:pointer}
.nhc-filter-option:hover{background:rgba(179,151,130,.08);color:var(--nahang-ink)}
.nhc-filter-option--category{padding-inline-start:calc(5px + (var(--nhc-depth,0) * 12px))}.nhc-filter-option--category.is-root{font-weight:750}
.nhc-filter-option:has(input:checked){background:rgba(179,151,130,.15);color:var(--nahang-ink)}
.nhc-filter-option input{width:16px;height:16px;margin:0;accent-color:var(--nahang-ink)}
.nhc-filter-option__name{min-width:0;line-height:1.55}.nhc-filter-option small{color:color-mix(in srgb,var(--nahang-muted) 70%,transparent);font-size:.66rem}
.nhc-filter-option.is-extra{display:none}.nhc-filter-group.is-expanded .nhc-filter-option.is-extra{display:grid}
.nhc-filter-more{margin:-2px 5px 11px;padding:0;border:0;background:transparent;color:var(--nahang-ink);font-size:.72rem;text-decoration:underline;text-underline-offset:3px}
.nhc-price-fields{display:grid;grid-template-columns:1fr 1fr;gap:7px;padding:0 0 13px}.nhc-price-fields input{min-width:0;min-height:42px;padding:8px 10px;border:1px solid var(--nahang-line);border-radius:10px;background:var(--nahang-paper)}
.nhc-filter-actions{position:sticky;bottom:-18px;display:grid;gap:8px;margin-inline:-18px;padding:14px 18px 18px;background:linear-gradient(0deg,rgba(255,253,250,.98) 76%,transparent)}
.nhc-filter-actions .nahang-button{min-height:43px}.nhc-filter-actions>a{text-align:center;color:var(--nahang-muted);font-size:.75rem}
.nhc-mobile-filter-row{display:none}.nhc-filter-backdrop{display:none}
.nhc-quick-chips{display:flex;gap:7px;overflow:auto;margin-bottom:12px;padding-bottom:2px;scrollbar-width:none}.nhc-quick-chips::-webkit-scrollbar{display:none}
.nhc-quick-chips a,.nhc-active-filters a{display:inline-flex;align-items:center;min-height:34px;padding:0 12px;white-space:nowrap;text-decoration:none;border:1px solid var(--nahang-line);border-radius:var(--nahang-pill);background:rgba(255,255,255,.72);font-size:.75rem}
.nhc-quick-chips a:hover{background:#fff;border-color:var(--nahang-line-strong)}
.nhc-active-filters{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:13px}.nhc-active-filters a{background:var(--nahang-ink);border-color:var(--nahang-ink);color:#fff}
.nhc-catalog-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}.nhc-catalog-toolbar .woocommerce-result-count{margin:0;color:var(--nahang-muted);font-size:.78rem}.nhc-catalog-toolbar .woocommerce-ordering{margin:0}.nhc-catalog-toolbar select{min-height:42px;padding:0 13px;border:1px solid var(--nahang-line);border-radius:12px;background:rgba(255,255,255,.8)}

.nhc-no-results{display:grid;justify-items:start;gap:14px;padding:clamp(22px,3vw,34px);border:1px solid var(--nahang-line);border-radius:var(--nhc-card-radius);background:rgba(255,255,255,.78);box-shadow:0 10px 30px rgba(31,24,19,.035)}
.nhc-no-results strong{max-width:56ch;font-size:clamp(1rem,1.25vw,1.15rem);line-height:1.9}
.nhc-no-results .nahang-button{min-height:42px;text-decoration:none}

/* Product archive cards */
.woocommerce ul.products{clear:both;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:0;padding:0}.woocommerce ul.products::before,.woocommerce ul.products::after{display:none}
.woocommerce ul.products li.product{position:relative;display:flex;flex-direction:column;float:none;width:auto;height:100%;margin:0;min-width:0;overflow:hidden;border:1px solid var(--nahang-premium-card-line,rgba(23,20,17,.08));border-radius:var(--nhc-card-radius);background:rgba(255,255,255,.82);box-shadow:0 10px 28px rgba(24,21,18,.035);transition:transform .2s var(--nahang-ease),box-shadow .2s var(--nahang-ease)}
.woocommerce ul.products li.product:hover{transform:translateY(-2px);box-shadow:0 16px 38px rgba(24,21,18,.07)}
.woocommerce ul.products li.product a{text-decoration:none}.woocommerce ul.products li.product>a.woocommerce-LoopProduct-link{position:relative;display:flex;flex:1 1 auto;flex-direction:column}.woocommerce ul.products li.product a img{display:block;width:100%;height:auto;margin:0;aspect-ratio:1/1;object-fit:cover;object-position:center;background:var(--nahang-surface-soft)}
.woocommerce ul.products li.product .woocommerce-loop-product__title{min-height:2.9em;padding:13px 14px 5px;margin:0;font-size:.9rem;line-height:1.45}.woocommerce ul.products li.product .price{display:block;min-height:3.05em;padding:0 14px 11px;color:var(--nahang-accent-text,var(--nahang-accent));font-size:.84rem;font-weight:800;line-height:1.5}.woocommerce ul.products li.product .price del{opacity:.42}.woocommerce ul.products li.product .price ins{text-decoration:none}
.woocommerce ul.products li.product .button{width:calc(100% - 28px);margin:auto 14px 14px;min-height:40px;padding-inline:10px;font-size:.75rem}
/* Archive sale marker belongs to the media surface, never to card flow. */
.woocommerce ul.products li.product .nhc-sale-badge{position:absolute;z-index:4;inset-block-start:10px;inset-inline-start:10px;display:inline-flex;align-items:center;justify-content:center;min-width:0;min-height:28px;margin:0;padding:0 10px;border-radius:var(--nahang-pill);background:var(--nahang-ink);color:#fff;font-size:.66rem;font-weight:800;line-height:1;box-shadow:0 6px 18px rgba(24,21,18,.14);pointer-events:none}
/* Keep single-product/default Woo sale markers compatible outside the product loop. */
.woocommerce div.product span.onsale{z-index:3;top:10px;right:auto;left:10px;min-width:auto;min-height:auto;margin:0;padding:7px 10px;border-radius:var(--nahang-pill);background:var(--nahang-ink);color:#fff;font-size:.66rem;line-height:1}
.woocommerce nav.woocommerce-pagination{margin-top:26px}.woocommerce nav.woocommerce-pagination ul{display:flex;justify-content:center;gap:7px;margin:0;padding:0;border:0;list-style:none}.woocommerce nav.woocommerce-pagination ul li{border:0}.woocommerce nav.woocommerce-pagination ul li a,.woocommerce nav.woocommerce-pagination ul li span{display:grid;place-items:center;min-width:42px;height:42px;padding-inline:11px;border:1px solid var(--nahang-line);border-radius:12px;background:rgba(255,255,255,.8);text-decoration:none}.woocommerce nav.woocommerce-pagination ul li span.current{background:var(--nahang-ink);border-color:var(--nahang-ink);color:#fff}

/* Single product */
.single-product .nahang-shop-runtime{padding-top:var(--nhc-page-y)}
.woocommerce div.product{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(340px,.92fr);gap:clamp(28px,4.5vw,64px);align-items:start}.woocommerce div.product div.images,.woocommerce div.product div.summary{float:none;width:auto;margin:0;min-width:0}.woocommerce div.product>div.images{grid-column:1}.woocommerce div.product>div.summary{grid-column:2}
.woocommerce div.product div.images.woocommerce-product-gallery{position:relative}.woocommerce div.product div.images .woocommerce-product-gallery__wrapper{overflow:hidden;border-radius:var(--nhc-card-radius);background:var(--nahang-surface)}.woocommerce div.product div.images img{width:100%;height:auto}.woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin-top:10px;padding:0;list-style:none}.woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs li{float:none;width:auto}.woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs img{border-radius:10px;opacity:.64}.woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs img.flex-active{opacity:1}
/* Summary stays in normal document flow. Sticky here previously let it overlap tabs/related content when the gallery row was taller. */
.woocommerce div.product .summary{position:relative;top:auto;align-self:start;min-width:0;padding:clamp(18px,2.3vw,28px);border:1px solid var(--nahang-premium-card-line,rgba(23,20,17,.08));border-radius:var(--nhc-card-radius);background:rgba(255,253,250,.78);backdrop-filter:blur(12px)}
.woocommerce div.product .product_title{font-size:clamp(1.75rem,2.7vw,2.8rem);line-height:1.25}.woocommerce div.product p.price,.woocommerce div.product span.price{color:var(--nahang-accent-text,var(--nahang-accent));font-size:1.16rem;font-weight:850}.woocommerce div.product .woocommerce-product-details__short-description{color:var(--nahang-muted);line-height:1.9}
.nhc-product-identifiers{display:flex;flex-wrap:wrap;gap:8px 14px;margin:8px 0 0;color:var(--nahang-muted);font-size:.76rem}.nhc-size-guide{margin:10px 0}.nhc-size-guide a{display:inline-flex;align-items:center;gap:7px;font-size:.8rem}.nhc-size-guide .nahang-icon{width:17px;height:17px}.nhc-product-rating{display:flex;align-items:center;gap:8px;margin:8px 0;color:var(--nahang-muted);font-size:.8rem}.nhc-product-rating__visual{display:inline-flex;align-items:center;gap:5px}.nhc-product-rating__icon{display:inline-grid;place-items:center;color:var(--nahang-accent-text,var(--nahang-accent))}.nhc-product-rating__icon .nahang-icon{width:18px;height:18px}.nhc-product-rating strong{color:var(--nahang-ink);font-size:.88rem}.nhc-product-rating__outof{opacity:.7}.nhc-product-rating .woocommerce-review-link{margin-inline-start:3px;color:var(--nahang-muted);text-decoration:none}
.woocommerce div.product form.cart{display:flex;flex-wrap:wrap;gap:10px;margin-block:20px}.woocommerce .quantity .qty{width:72px;min-height:46px;border:1px solid var(--nahang-line);border-radius:12px;background:var(--nahang-surface);text-align:center}.woocommerce div.product form.cart .button{flex:1;min-width:180px}.woocommerce div.product form.cart .variations{width:100%;margin-bottom:10px}.woocommerce div.product form.cart .variations th,.woocommerce div.product form.cart .variations td{padding:7px 0;text-align:start}.woocommerce div.product form.cart .variations select{width:100%;min-height:44px;padding:0 12px;border:1px solid var(--nahang-line);border-radius:12px;background:var(--nahang-surface)}
.woocommerce div.product .product_meta{display:grid;gap:5px;padding-top:17px;border-top:1px solid var(--nahang-line);color:var(--nahang-muted);font-size:.78rem}
.nhc-product-trust{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:17px}.nhc-product-trust>div{position:relative;padding:12px;border:1px solid var(--nahang-line);border-radius:12px;background:rgba(255,255,255,.72)}.nhc-product-trust b,.nhc-product-trust>div>span:not(.nhc-product-trust__icon){display:block}.nhc-product-trust b{font-size:.76rem}.nhc-product-trust>div>span:not(.nhc-product-trust__icon){margin-top:3px;color:var(--nahang-muted);font-size:.67rem}.nhc-product-trust__icon{display:grid!important;place-items:center;width:31px;height:31px;margin-bottom:8px;border-radius:9px;background:color-mix(in srgb,var(--nahang-accent) 9%,transparent);color:var(--nahang-accent-text,var(--nahang-accent))}.nhc-product-trust__icon .nahang-icon{width:18px;height:18px}
.woocommerce div.product > .woocommerce-tabs,.woocommerce div.product > .up-sells,.woocommerce div.product > .related.products{grid-column:1/-1;min-width:0;clear:both}
.woocommerce div.product > .woocommerce-tabs{margin-top:26px;padding:clamp(18px,2.6vw,30px);border:1px solid var(--nahang-premium-card-line,var(--nahang-line));border-radius:var(--nhc-card-radius);background:rgba(255,255,255,.72)}.woocommerce div.product .woocommerce-tabs ul.tabs{display:flex;gap:6px;overflow:auto;margin:0 0 18px;padding:0;border-bottom:1px solid var(--nahang-line);white-space:nowrap}.woocommerce div.product .woocommerce-tabs ul.tabs::before{display:none}.woocommerce div.product .woocommerce-tabs ul.tabs li{margin:0;padding:0;border:0;background:transparent}.woocommerce div.product .woocommerce-tabs ul.tabs li::before,.woocommerce div.product .woocommerce-tabs ul.tabs li::after{display:none}.woocommerce div.product .woocommerce-tabs ul.tabs li a{display:block;padding:11px 13px;text-decoration:none}.woocommerce div.product .woocommerce-tabs ul.tabs li.active a{border-bottom:2px solid var(--nahang-ink)}.woocommerce div.product .related.products{margin-top:28px}.woocommerce div.product .related.products>h2{font-size:clamp(1.45rem,2.3vw,2rem)}
.nhc-mobile-buy-bar{display:none}

/* Forms / cart / checkout / account */
.woocommerce form .form-row{margin:0 0 13px}.woocommerce form .form-row label{display:block;margin-bottom:5px;font-size:.82rem;font-weight:750}.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.woocommerce form .form-row select,.select2-container--default .select2-selection--single{width:100%;min-height:46px;padding:10px 13px;border:1px solid var(--nahang-line);border-radius:12px;background:rgba(255,255,255,.78)}.woocommerce form .form-row textarea{min-height:120px}
.woocommerce table.shop_table{width:100%;border:1px solid var(--nahang-line);border-collapse:separate;border-spacing:0;border-radius:var(--nhc-card-radius);overflow:hidden;background:rgba(255,255,255,.78)}.woocommerce table.shop_table th,.woocommerce table.shop_table td{padding:13px;border-block-end:1px solid var(--nahang-line);text-align:start}.woocommerce table.shop_table tr:last-child th,.woocommerce table.shop_table tr:last-child td{border-block-end:0}
.woocommerce-cart .woocommerce{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(300px,.65fr);gap:var(--nhc-gap);align-items:start}.woocommerce-cart .woocommerce-cart-form{min-width:0}.woocommerce-cart .cart-collaterals{margin:0}.woocommerce-cart .cart_totals{position:sticky;top:calc(var(--nahang-header-height) + 18px);width:100%!important;float:none!important;padding:20px;border:1px solid var(--nahang-line);border-radius:var(--nhc-card-radius);background:rgba(255,255,255,.78)}.admin-bar .woocommerce-cart .cart_totals{top:calc(var(--nahang-header-height) + 50px)}
.woocommerce-checkout form.checkout{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(340px,.85fr);gap:var(--nhc-gap);align-items:start}.woocommerce-checkout #customer_details{min-width:0}.woocommerce-checkout #order_review_heading,.woocommerce-checkout #order_review{grid-column:2}.woocommerce-checkout #order_review_heading{margin:0 0 -10px}.woocommerce-checkout #order_review{position:sticky;top:calc(var(--nahang-header-height) + 18px);padding:20px;border:1px solid var(--nahang-line);border-radius:var(--nhc-card-radius);background:rgba(255,255,255,.78)}.admin-bar .woocommerce-checkout #order_review{top:calc(var(--nahang-header-height) + 50px)}.woocommerce-checkout .col2-set .col-1,.woocommerce-checkout .col2-set .col-2{width:100%;float:none;padding:20px;border:1px solid var(--nahang-line);border-radius:var(--nhc-card-radius);background:rgba(255,255,255,.68)}
.woocommerce form.checkout_coupon,.woocommerce form.login,.woocommerce form.register{padding:20px;border:1px solid var(--nahang-line);border-radius:var(--nhc-card-radius);background:rgba(255,255,255,.72)}
.woocommerce-account .woocommerce{display:grid;grid-template-columns:230px minmax(0,1fr);gap:var(--nhc-gap);align-items:start;min-width:0;max-width:100%}.woocommerce-account .woocommerce-MyAccount-navigation,.woocommerce-account .woocommerce-MyAccount-content{float:none!important;width:100%!important;max-width:100%;min-width:0;box-sizing:border-box}.woocommerce-MyAccount-navigation ul{max-width:100%;list-style:none;margin:0;padding:0;border:1px solid var(--nahang-line);border-radius:var(--nhc-card-radius);overflow:hidden;background:rgba(255,255,255,.76)}.woocommerce-MyAccount-navigation a{display:block;padding:12px 14px;border-bottom:1px solid var(--nahang-line);text-decoration:none}.woocommerce-MyAccount-navigation li:last-child a{border-bottom:0}.woocommerce-MyAccount-navigation .is-active a{background:var(--nahang-ink);color:#fff}.woocommerce-MyAccount-content{padding:clamp(18px,2.5vw,28px);border:1px solid var(--nahang-line);border-radius:var(--nhc-card-radius);background:rgba(255,255,255,.72);overflow-wrap:anywhere}.woocommerce-MyAccount-content>*{max-width:100%;min-width:0}.woocommerce-MyAccount-content p,.woocommerce-MyAccount-content a,.woocommerce-MyAccount-content td,.woocommerce-MyAccount-content th{overflow-wrap:anywhere;word-break:normal}


/* Nahang product gallery: one dependency-free lightbox owned by Commerce. */
.single-product .woocommerce-product-gallery__trigger{display:none}
.nhc-gallery-launcher{position:absolute;z-index:12;inset-block-start:14px;inset-inline-end:14px;display:grid;place-items:center;width:44px;height:44px;padding:0;border:1px solid rgba(255,255,255,.55);border-radius:999px;background:rgba(255,253,250,.82);color:var(--nahang-ink);box-shadow:0 10px 26px rgba(23,20,17,.12);backdrop-filter:blur(12px);cursor:pointer;font:700 1.35rem/1 system-ui,sans-serif}
.nhc-gallery-launcher:hover{background:#fff;transform:translateY(-1px)}
body.nhc-gallery-open{overflow:hidden}
.nhc-gallery-lightbox[hidden]{display:none}
.nhc-gallery-lightbox{position:fixed;z-index:100100;inset:0;display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:10px;padding:max(12px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));background:rgba(12,11,10,.96);color:#fff;opacity:0;transition:opacity .16s ease}
.nhc-gallery-lightbox.is-open{opacity:1}
.nhc-gallery-lightbox__toolbar{z-index:2;display:flex;align-items:center;justify-content:center;gap:7px;direction:ltr}
.nhc-gallery-lightbox__toolbar button,.nhc-gallery-lightbox__toolbar a{display:grid;place-items:center;width:42px;height:42px;margin:0;padding:0;border:1px solid rgba(255,255,255,.18);border-radius:999px;background:rgba(255,255,255,.085);color:#fff;text-decoration:none;font:500 1.25rem/1 system-ui,sans-serif;cursor:pointer;backdrop-filter:blur(12px)}.nhc-gallery-lightbox__toolbar .nahang-icon{width:19px;height:19px}.nhc-gallery-launcher .nahang-icon{width:20px;height:20px}
.nhc-gallery-lightbox__toolbar button:hover,.nhc-gallery-lightbox__toolbar a:hover{background:rgba(255,255,255,.18)}
.nhc-gallery-lightbox__toolbar button:disabled{opacity:.35;cursor:default}
.nhc-gallery-lightbox__stage{position:relative;display:grid;place-items:center;min-width:0;min-height:0;overflow:hidden;touch-action:none;cursor:default}
.nhc-gallery-lightbox__stage.is-dragging{cursor:grabbing}
.nhc-gallery-lightbox__stage img{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;user-select:none;will-change:transform;transition:transform .12s ease}
.nhc-gallery-lightbox__stage img.is-zoomed{cursor:grab;transition:none}
.nhc-gallery-lightbox__counter{justify-self:center;min-width:70px;padding:7px 12px;border:1px solid rgba(255,255,255,.14);border-radius:999px;background:rgba(255,255,255,.06);color:rgba(255,255,255,.78);text-align:center;font-size:.78rem;direction:ltr}

@media (max-width:1100px){
  .nhc-catalog-shell{grid-template-columns:1fr}.nhc-mobile-filter-row{display:block;margin-bottom:12px}.nhc-mobile-filter-row button{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:46px;padding:0 15px;border:1px solid var(--nahang-line);border-radius:12px;background:rgba(255,255,255,.82);font-weight:800}
  .nhc-filter-panel{position:fixed;z-index:720;inset:0 0 0 auto;width:min(90vw,390px);height:100dvh;max-height:none;overflow:auto;transform:translateX(105%);transition:transform .2s var(--nahang-ease);border-radius:0;top:0;padding:20px}.admin-bar .nhc-filter-panel{top:0;max-height:none}.nhc-filter-panel.is-open{transform:none}.nhc-filter-actions{bottom:-20px;margin-inline:-20px;padding-inline:20px}.nhc-filter-head button{display:grid;place-items:center}.nhc-filter-backdrop{position:fixed;z-index:710;inset:0;background:rgba(17,14,12,.38);backdrop-filter:blur(3px)}.nhc-filter-backdrop:not([hidden]){display:block}body.nhc-filter-open{overflow:hidden}
  .woocommerce ul.products{grid-template-columns:repeat(3,minmax(0,1fr))}.woocommerce div.product{grid-template-columns:1fr}.woocommerce div.product>div.images,.woocommerce div.product>div.summary{grid-column:1}.woocommerce div.product .summary{position:relative}.woocommerce-cart .woocommerce,.woocommerce-checkout form.checkout,.woocommerce-account .woocommerce{grid-template-columns:1fr}.woocommerce-cart .cart_totals,.woocommerce-checkout #order_review{position:static}.woocommerce-checkout #order_review_heading,.woocommerce-checkout #order_review{grid-column:1}
}
@media (max-width:767px){
  :root{--nhc-page-y:28px}.nhc-archive-hero{margin-inline:0;margin-bottom:18px;padding:26px 20px;border-radius:22px}.nhc-archive-hero h1{max-width:17ch;font-size:clamp(1.8rem,7.8vw,2.35rem);line-height:1.2}.nhc-archive-hero__desc{font-size:.88rem;line-height:1.85}.nhc-catalog-toolbar{align-items:stretch;flex-direction:column}.nhc-catalog-toolbar .woocommerce-ordering,.nhc-catalog-toolbar select{width:100%}
  .woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.woocommerce ul.products li.product .woocommerce-loop-product__title{padding:11px 11px 5px;font-size:.8rem}.woocommerce ul.products li.product .price{min-height:3.2em;padding:0 11px 9px;font-size:.76rem}.woocommerce ul.products li.product .button{width:calc(100% - 22px);margin:0 11px 11px;min-height:37px;padding-inline:6px;font-size:.66rem}
  .woocommerce div.product .product_title{font-size:1.9rem}.woocommerce div.product form.cart{display:grid;grid-template-columns:78px 1fr}.woocommerce div.product form.cart .variations{grid-column:1/-1}.woocommerce div.product form.cart .button{min-width:0}.nhc-product-trust{grid-template-columns:1fr}.woocommerce div.product .summary,.woocommerce div.product .woocommerce-tabs{padding:16px}.woocommerce div.product .woocommerce-tabs ul.tabs li a{padding:10px 11px}
  .woocommerce table.shop_table{font-size:.8rem}.woocommerce table.shop_table th,.woocommerce table.shop_table td{padding:9px 7px}.woocommerce-cart table.shop_table_responsive tr{display:block;padding:8px;border-bottom:1px solid var(--nahang-line)}.woocommerce-cart table.shop_table_responsive td{display:flex!important;align-items:center;justify-content:space-between;gap:12px;padding:7px!important}.woocommerce-cart .product-thumbnail{display:flex!important}.woocommerce-cart .product-thumbnail::before{display:none}
  .woocommerce-checkout .col2-set .col-1,.woocommerce-checkout .col2-set .col-2,.woocommerce-checkout #order_review,.woocommerce-MyAccount-content,.woocommerce-cart .cart_totals{padding:15px}
  .woocommerce-account .woocommerce{width:100%;max-width:100%;min-width:0}.woocommerce-account .woocommerce-MyAccount-navigation{min-width:0;max-width:100%;overflow:hidden}.woocommerce-account .woocommerce-MyAccount-navigation ul{display:flex;width:100%;max-width:100%;overflow-x:auto;overflow-y:hidden;overscroll-behavior-inline:contain;scrollbar-width:none}.woocommerce-account .woocommerce-MyAccount-navigation ul::-webkit-scrollbar{display:none}.woocommerce-account .woocommerce-MyAccount-navigation li{flex:0 0 auto;min-width:0}.woocommerce-account .woocommerce-MyAccount-navigation a{white-space:nowrap}.woocommerce-account .woocommerce-MyAccount-content{width:100%!important;max-width:100%;min-width:0;overflow:hidden;font-size:.92rem;line-height:1.95}.woocommerce-account .woocommerce-MyAccount-content p{max-width:100%;margin-inline:0}.woocommerce-account .woocommerce-MyAccount-content table,.woocommerce-account .woocommerce-MyAccount-content form,.woocommerce-account .woocommerce-MyAccount-content fieldset{max-width:100%;min-width:0}.woocommerce-account .woocommerce-MyAccount-content input,.woocommerce-account .woocommerce-MyAccount-content select,.woocommerce-account .woocommerce-MyAccount-content textarea{max-width:100%}
  .nhc-gallery-launcher{inset-block-start:10px;inset-inline-end:10px;width:40px;height:40px}.nhc-gallery-lightbox{padding:8px}.nhc-gallery-lightbox__toolbar{gap:5px;justify-content:flex-start;overflow-x:auto;padding-bottom:2px}.nhc-gallery-lightbox__toolbar button,.nhc-gallery-lightbox__toolbar a{flex:0 0 40px;width:40px;height:40px}
    body.single-product{padding-bottom:calc(80px + env(safe-area-inset-bottom))}.nhc-mobile-buy-bar{position:fixed;z-index:190;inset-inline:0;inset-block-end:0;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px var(--nahang-gutter) calc(9px + env(safe-area-inset-bottom));background:rgba(255,253,250,.94);border-top:1px solid var(--nahang-line);backdrop-filter:blur(14px)}.nhc-mobile-buy-bar>span{font-size:.8rem;font-weight:850}.nhc-mobile-buy-bar button{min-height:42px;padding-inline:18px;border:0;border-radius:var(--nahang-pill);background:var(--nahang-ink);color:#fff;font-weight:800}
}
@media (max-width:479px){.woocommerce div.product form.cart{grid-template-columns:1fr}.woocommerce .quantity .qty{width:100%}.woocommerce ul.products li.product .button{font-size:.62rem}.nhc-filter-panel{width:92vw}}

@media (max-width:767px){
  .woocommerce-cart table.shop_table_responsive td.actions{display:grid!important;grid-template-columns:minmax(0,1fr)!important;align-items:stretch!important;justify-content:stretch!important;gap:10px;width:100%;padding:12px 8px!important}
  .woocommerce-cart table.shop_table_responsive td.actions::before{display:none!important;content:none!important}
  .woocommerce-cart table.shop_table_responsive td.actions .coupon{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:8px;width:100%!important;max-width:none!important;float:none!important;margin:0!important}
  .woocommerce-cart table.shop_table_responsive td.actions .coupon .input-text,.woocommerce-cart table.shop_table_responsive td.actions .coupon button{display:block;width:100%!important;max-width:none!important;min-width:0!important;min-height:46px;float:none!important;margin:0!important}
  .woocommerce-cart table.shop_table_responsive td.actions>button[name="update_cart"]{display:block;width:100%!important;max-width:none!important;min-height:46px;float:none!important;margin:0!important}
  .woocommerce-cart .cart_totals .wc-proceed-to-checkout a.checkout-button{width:100%;margin:0;text-align:center}
}

/* WooCommerce review authoring: local, dependency-free star controls. */
.woocommerce #review_form .comment-form-rating{margin:16px 0}.woocommerce #review_form .comment-form-rating>label{display:block;margin:0 0 8px;font-weight:800}.woocommerce #review_form p.stars{margin:0}.woocommerce #review_form p.stars span{display:inline-flex;direction:ltr;gap:4px;vertical-align:middle}.woocommerce #review_form p.stars a{position:relative;display:inline-grid;place-items:center;width:42px;height:42px;overflow:hidden;border:1px solid var(--nahang-line);border-radius:12px;background:var(--nahang-surface);color:transparent!important;font-size:0;line-height:1;text-indent:-9999px;text-decoration:none!important;transition:border-color .15s ease,background .15s ease,transform .15s ease}.woocommerce #review_form p.stars a::before{content:"☆";position:absolute;inset:0;display:grid;place-items:center;color:var(--nahang-accent-text,var(--nahang-accent));font-family:Arial,sans-serif;font-size:27px;line-height:1;text-indent:0}.woocommerce #review_form p.stars:hover a::before,.woocommerce #review_form p.stars.selected a::before{content:"★"}.woocommerce #review_form p.stars a:hover~a::before,.woocommerce #review_form p.stars.selected a.active~a::before{content:"☆"}.woocommerce #review_form p.stars a:hover,.woocommerce #review_form p.stars a:focus-visible,.woocommerce #review_form p.stars.selected a.active{border-color:var(--nahang-accent-text,var(--nahang-accent));background:color-mix(in srgb,var(--nahang-accent) 7%,var(--nahang-surface));transform:translateY(-1px)}.woocommerce #review_form p.stars a:focus-visible{outline:3px solid color-mix(in srgb,var(--nahang-accent) 28%,transparent);outline-offset:2px}.woocommerce #review_form .comment-form-comment label{display:block;margin-bottom:8px;font-weight:800}.woocommerce #review_form #comment{display:block;width:100%;min-height:150px;max-width:100%;box-sizing:border-box;resize:vertical}.woocommerce #review_form .form-submit{margin-top:14px}
@media(max-width:480px){.woocommerce #review_form p.stars span{gap:3px}.woocommerce #review_form p.stars a{width:40px;height:40px;border-radius:11px}.woocommerce #review_form p.stars a::before{font-size:25px}.woocommerce #review_form #comment{min-height:132px}}
