/*
Theme Name: NSL Lightweight
Theme URI: https://nostylelike.net/
Author: No Style Like
Description: Lightweight WooCommerce theme prototype for No Style Like.
Version: 0.9.1
Text Domain: nsl-lightweight
Requires at least: 6.5
Requires PHP: 8.1
*/

:root {
  --nsl-brand: #d53f70;
  --nsl-brand-dark: #9f2450;
  --nsl-ink: #20242c;
  --nsl-muted: #667085;
  --nsl-line: #e8e9ed;
  --nsl-soft: #fff4f7;
  --nsl-white: #fff;
  --nsl-radius: 18px;
  --nsl-shadow: 0 12px 34px rgba(32, 36, 44, .08);
  --nsl-container: min(1180px, calc(100% - 32px));
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--nsl-ink); background: #fff; font-family: Tahoma, Arial, sans-serif; line-height: 1.65; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.nsl-container { width: var(--nsl-container); margin-inline: auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.nsl-topbar { background: #22252c; color: #fff; font-size: 13px; }
.nsl-topbar__inner { min-height: 36px; display: flex; align-items: center; justify-content: center; gap: 28px; flex-wrap: wrap; }
.nsl-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--nsl-line); backdrop-filter: blur(12px); }
.admin-bar .nsl-header { top: 32px; }
.nsl-header__main { min-height: 82px; display: grid; grid-template-columns: 190px minmax(300px, 1fr) auto; gap: 24px; align-items: center; }
.nsl-logo img { max-height: 54px; width: auto; }
.nsl-search { display: grid; grid-template-columns: 1fr auto; border: 2px solid #ececf0; border-radius: 14px; overflow: hidden; transition: .2s ease; }
.nsl-search-row { min-width: 0; }
.nsl-search-wrap { position: relative; min-width: 0; }
.nsl-search:focus-within { border-color: var(--nsl-brand); box-shadow: 0 0 0 4px rgba(213,63,112,.10); }
.nsl-search input { min-width: 0; height: 50px; padding: 0 18px; border: 0; outline: 0; background: transparent; }
.nsl-search button { min-width: 58px; border: 0; color: #fff; background: var(--nsl-brand); cursor: pointer; }
.nsl-search-results { position: absolute; z-index: 80; top: calc(100% + 8px); inset-inline: 0; max-height: min(480px, 70vh); overflow: auto; padding: 8px; border: 1px solid var(--nsl-line); border-radius: 14px; background: #fff; box-shadow: var(--nsl-shadow); }
.nsl-search-result { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 9px; border-radius: 10px; }
.nsl-search-result:hover { background: var(--nsl-soft); }
.nsl-search-result img { width: 56px; height: 56px; object-fit: contain; border-radius: 8px; }
.nsl-search-result strong { display: block; font-size: 14px; line-height: 1.5; }
.nsl-search-result small { color: var(--nsl-muted); }
.nsl-search-result__price { color: var(--nsl-brand-dark); font-weight: 800; white-space: nowrap; }
.nsl-header__tools { display: flex; align-items: center; gap: 10px; }
.nsl-mobile-menu { display: none; }
.nsl-mobile-menu summary { width: 50px; height: 50px; padding: 12px 14px; border: 1px solid var(--nsl-line); border-radius: 13px; background: #fff; cursor: pointer; list-style: none; }
.nsl-mobile-menu summary::-webkit-details-marker { display: none; }
.nsl-mobile-menu summary span { display: block; height: 2px; margin: 5px 0; border-radius: 2px; background: var(--nsl-ink); transition: transform .2s ease,opacity .2s ease; }
.nsl-mobile-menu[open] summary span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nsl-mobile-menu[open] summary span:nth-child(2) { opacity: 0; }
.nsl-mobile-menu[open] summary span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nsl-mobile-dropdown { position: absolute; z-index: 120; top: calc(100% + 8px); inset-inline: 0; max-height: 65vh; overflow: auto; padding: 10px; border: 1px solid var(--nsl-line); border-radius: 14px; background: #fff; box-shadow: 0 18px 35px rgba(32,36,44,.16); }
.nsl-mobile-dropdown ul { display: flex; align-items: stretch; flex-direction: column; gap: 0; padding: 0; margin: 0; list-style: none; }
.nsl-mobile-dropdown a { display: block; padding: 11px 13px; border-radius: 8px; font-weight: 700; }
.nsl-mobile-dropdown a:hover { background: var(--nsl-soft); }
.nsl-mobile-account { display: flex !important; align-items: center; gap: 9px; margin-top: 7px; border-top: 1px solid var(--nsl-line); color: var(--nsl-brand-dark); }
.nsl-language { position: relative; }
.nsl-language summary { min-width: 58px; height: 44px; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 0 9px; border: 1px solid var(--nsl-line); border-radius: 12px; background: #fff; cursor: pointer; list-style: none; font-size: 11px; font-weight: 900; }
.nsl-language summary::-webkit-details-marker { display: none; }
.nsl-language img { width: 24px; height: 16px; object-fit: cover; border-radius: 2px; }
.nsl-language__menu { position: absolute; z-index: 100; top: calc(100% + 8px); inset-inline-end: 0; min-width: 160px; padding: 7px; border: 1px solid var(--nsl-line); border-radius: 12px; background: #fff; box-shadow: var(--nsl-shadow); }
.nsl-language__menu a { display: flex; align-items: center; gap: 9px; padding: 9px 10px; border-radius: 8px; font-size: 13px; font-weight: 700; }
.nsl-language__menu a:hover,.nsl-language__menu a[aria-current="page"] { background: var(--nsl-soft); }
.nsl-tool { display: inline-flex; min-width: 44px; height: 44px; padding: 0 12px; align-items: center; justify-content: center; gap: 7px; border: 1px solid var(--nsl-line); border-radius: 12px; background: #fff; }
.nsl-tool--cart { color: #fff; background: var(--nsl-brand); border-color: var(--nsl-brand); }
.nsl-nav { border-top: 1px solid var(--nsl-line); }
.nsl-nav__inner { display: flex; align-items: center; gap: 28px; min-height: 50px; overflow-x: auto; scrollbar-width: none; }
.nsl-nav__inner > a, .nsl-nav .menu > li > a { font-weight: 700; white-space: nowrap; }
.nsl-nav .menu { display: flex; gap: 26px; align-items: center; padding: 0; margin: 0; list-style: none; }

.nsl-main { overflow: hidden; }
.nsl-hero { padding: 54px 0 42px; background: linear-gradient(135deg, #fff 5%, #fff4f7 100%); }
.nsl-hero__grid { min-height: 430px; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 56px; }
.nsl-eyebrow { display: inline-flex; padding: 7px 12px; color: var(--nsl-brand-dark); background: #fff; border: 1px solid #f2cad8; border-radius: 999px; font-size: 13px; font-weight: 700; }
.nsl-hero__title { max-width: 720px; margin: 16px 0; font-size: clamp(36px, 5vw, 62px); line-height: 1.17; letter-spacing: -.8px; }
.nsl-hero p { max-width: 650px; margin: 0 0 26px; color: var(--nsl-muted); font-size: 18px; }
.nsl-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.nsl-btn { display: inline-flex; min-height: 48px; padding: 0 22px; align-items: center; justify-content: center; border: 1px solid var(--nsl-brand); border-radius: 12px; font-weight: 700; }
.nsl-btn--primary { color: #fff; background: var(--nsl-brand); }
.nsl-btn--ghost { color: var(--nsl-brand-dark); background: #fff; }
.nsl-hero__visual { position: relative; min-height: 360px; display: grid; place-items: center; }
.nsl-hero__orb { width: min(380px, 82vw); aspect-ratio: 1; border-radius: 42% 58% 61% 39% / 46% 38% 62% 54%; background: linear-gradient(145deg, #f7bad0, #d53f70); box-shadow: var(--nsl-shadow); transform: rotate(7deg); }
.nsl-hero__card { position: absolute; max-width: 250px; padding: 18px; background: rgba(255,255,255,.94); border: 1px solid rgba(255,255,255,.8); border-radius: 16px; box-shadow: var(--nsl-shadow); font-weight: 700; }

.nsl-section { padding: 66px 0; }
.nsl-section--soft { background: #fafafa; }
.nsl-section__head { display: flex; justify-content: space-between; gap: 20px; align-items: end; margin-bottom: 28px; }
.nsl-section h2 { margin: 0; font-size: clamp(27px, 3.5vw, 40px); line-height: 1.25; }
.nsl-section__head p { margin: 7px 0 0; color: var(--nsl-muted); }
.nsl-more { color: var(--nsl-brand-dark); font-weight: 700; white-space: nowrap; }
.nsl-grid { display: grid; gap: 18px; }
.nsl-grid--categories { grid-template-columns: repeat(4, 1fr); }
.nsl-category { min-height: 180px; padding: 22px; display: flex; flex-direction: column; justify-content: end; border: 1px solid var(--nsl-line); border-radius: var(--nsl-radius); background: linear-gradient(145deg,#fff,#fff6f8); box-shadow: 0 8px 24px rgba(32,36,44,.05); transition: transform .2s ease, box-shadow .2s ease; }
.nsl-category:hover { transform: translateY(-4px); box-shadow: var(--nsl-shadow); }
.nsl-category img { width: 76px; height: 76px; margin-bottom: 20px; object-fit: contain; }
.nsl-category strong { font-size: 18px; }
.nsl-grid--needs { grid-template-columns: repeat(4, 1fr); }
.nsl-need { padding: 24px 18px; text-align: center; border: 1px solid var(--nsl-line); border-radius: 16px; background: #fff; font-weight: 700; }
.nsl-need span { display: block; margin-bottom: 8px; font-size: 30px; }

.nsl-products ul.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; padding: 0; margin: 0; list-style: none; }
.nsl-products ul.products::before, .nsl-products ul.products::after { display: none; }
.nsl-products li.product { width: auto !important; margin: 0 !important; padding: 14px 14px 18px; border: 1px solid var(--nsl-line); border-radius: 16px; background: #fff; }
.nsl-products li.product img { width: 100%; aspect-ratio: 1; object-fit: contain; border-radius: 12px; }
.nsl-products li.product .woocommerce-loop-product__title { min-height: 3.4em; margin: 12px 0 7px; font-size: 15px; line-height: 1.7; }
.nsl-products li.product .price { color: var(--nsl-brand-dark); font-weight: 800; }
.nsl-products li.product .button { width: 100%; margin-top: 12px; padding: 10px 14px; text-align: center; color: #fff; background: var(--nsl-brand); border-radius: 10px; }
.nsl-trust { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; overflow: hidden; border: 1px solid var(--nsl-line); border-radius: var(--nsl-radius); background: var(--nsl-line); }
.nsl-trust__item { padding: 24px; background: #fff; text-align: center; }
.nsl-trust__item strong { display: block; margin-bottom: 4px; }
.nsl-trust__item span { color: var(--nsl-muted); font-size: 14px; }

/* Premium homepage */
.nsl-hero--premium { position: relative; padding: 72px 0 58px; overflow: hidden; background: radial-gradient(circle at 12% 20%, rgba(255,255,255,.92), transparent 34%), linear-gradient(135deg,#fff7fa 0%,#fde8ef 54%,#f9d9e6 100%); }
.nsl-hero--premium::after { content: ''; position: absolute; width: 360px; height: 360px; top: -190px; inset-inline-end: -100px; border: 80px solid rgba(213,63,112,.06); border-radius: 50%; }
.nsl-hero--premium .nsl-hero__grid { min-height: 500px; grid-template-columns: minmax(0,1.06fr) minmax(380px,.94fr); gap: 70px; }
.nsl-hero__content { position: relative; z-index: 2; }
.nsl-hero--premium .nsl-eyebrow { color: #8d2348; background: rgba(255,255,255,.8); backdrop-filter: blur(10px); }
.nsl-hero--premium .nsl-hero__title { max-width: 680px; font-size: clamp(42px,5.8vw,70px); letter-spacing: -1.5px; }
.nsl-hero--premium .nsl-actions { margin-top: 30px; }
.nsl-hero--premium .nsl-btn { min-height: 54px; padding-inline: 28px; border-radius: 14px; }
.nsl-hero__proof { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 24px; color: #4f5660; font-size: 13px; font-weight: 700; }
.nsl-hero-products { position: relative; min-height: 460px; }
.nsl-hero-products__glow { position: absolute; width: 330px; height: 330px; top: 60px; inset-inline-start: 50%; border-radius: 50%; background: rgba(255,255,255,.75); box-shadow: 0 40px 80px rgba(133,35,72,.18); transform: translateX(-50%); }
[dir="rtl"] .nsl-hero-products__glow { transform: translateX(50%); }
.nsl-hero-product { position: absolute; z-index: 2; width: 220px; padding: 14px 14px 12px; border: 1px solid rgba(255,255,255,.85); border-radius: 24px; background: rgba(255,255,255,.9); box-shadow: 0 22px 55px rgba(76,25,46,.15); backdrop-filter: blur(14px); transition: transform .25s ease; }
.nsl-hero-product:hover { transform: translateY(-8px) rotate(0); }
.nsl-hero-product img { width: 100%; aspect-ratio: 1; object-fit: contain; border-radius: 18px; background: #fff; }
.nsl-hero-product span { display: block; min-height: 2.8em; padding: 9px 4px 0; overflow: hidden; font-size: 12px; font-weight: 800; line-height: 1.4; }
.nsl-hero-product--1 { top: 38px; inset-inline-start: 34px; transform: rotate(-4deg); }
.nsl-hero-product--2 { top: 165px; inset-inline-end: 0; transform: rotate(5deg); }
.nsl-hero-product--3 { bottom: 0; inset-inline-start: 0; width: 180px; transform: rotate(3deg); }
.nsl-quick-trust { border-block: 1px solid var(--nsl-line); background: #fff; }
.nsl-quick-trust__grid { display: grid; grid-template-columns: repeat(4,1fr); }
.nsl-quick-trust__grid > div { min-height: 94px; display: flex; align-items: center; justify-content: center; gap: 10px; border-inline-end: 1px solid var(--nsl-line); }
.nsl-quick-trust__grid > div:last-child { border-inline-end: 0; }
.nsl-quick-trust b { color: var(--nsl-brand); font-size: 25px; }
.nsl-quick-trust span { max-width: 130px; color: var(--nsl-muted); font-size: 13px; line-height: 1.4; }
.nsl-kicker { display: block; margin-bottom: 6px; color: var(--nsl-brand); font-size: 12px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.nsl-section__head--center { justify-content: center; text-align: center; }
.nsl-section--categories { background: linear-gradient(#fff,#fffafa); }
.nsl-section--categories .nsl-grid--categories { gap: 14px; }
.nsl-section--categories .nsl-category { min-height: 210px; padding: 16px; justify-content: flex-start; background: #fff; }
.nsl-category__image { min-height: 120px; display: grid; place-items: center; margin-bottom: 12px; border-radius: 15px; background: linear-gradient(145deg,#fff7fa,#f7f8fa); }
.nsl-section--categories .nsl-category img { width: 92px; height: 92px; margin: 0; }
.nsl-section--categories .nsl-category strong { font-size: 16px; }
.nsl-section--categories .nsl-category span { color: var(--nsl-muted); font-size: 12px; }
.nsl-needs-section { background: #fff; }
.nsl-needs-section .nsl-need { position: relative; min-height: 168px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 24px; overflow: hidden; text-align: start; background: linear-gradient(145deg,#fff,#fff7fa); transition: transform .2s ease,border-color .2s ease; }
.nsl-needs-section .nsl-need::after { content: ''; position: absolute; width: 78px; height: 78px; inset-inline-end: -25px; bottom: -28px; border-radius: 50%; background: rgba(213,63,112,.07); }
.nsl-needs-section .nsl-need:hover { transform: translateY(-4px); border-color: #edb4c8; }
.nsl-needs-section .nsl-need span { width: 46px; height: 46px; display: grid; place-items: center; margin: 0 0 14px; border-radius: 13px; color: #fff; background: var(--nsl-brand); font-size: 24px; }
.nsl-needs-section .nsl-need b { font-size: 15px; }
.nsl-needs-section .nsl-need small { margin-top: 4px; color: var(--nsl-muted); }
.nsl-section--offers { color: #fff; background: linear-gradient(135deg,#6f1739,#a82759 56%,#d53f70); }
.nsl-offer-banner { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.nsl-offer-banner span { color: #ffd9e6; font-size: 12px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.nsl-offer-banner h2 { margin: 5px 0; color: #fff; }
.nsl-offer-banner p { margin: 0; color: #f9dce7; }
.nsl-btn--light { color: #8e2149; border-color: #fff; background: #fff; }
.nsl-section--offers .products li.product { color: var(--nsl-ink); border: 0; }
.nsl-section--offers .products li.product .price { color: var(--nsl-brand-dark); }
.nsl-section--brands { border-block: 1px solid var(--nsl-line); background: #fff; }
.nsl-brands { display: grid; grid-template-columns: repeat(5,1fr); gap: 12px; }
.nsl-brands a { min-height: 82px; display: grid; place-items: center; padding: 12px; border: 1px solid var(--nsl-line); border-radius: 14px; color: #343943; background: #fff; font-weight: 900; text-align: center; transition: border-color .2s ease,box-shadow .2s ease; }
.nsl-brands a:hover { border-color: #e9adc3; box-shadow: 0 10px 24px rgba(32,36,44,.06); }
.nsl-specialized { padding-top: 34px; }
.nsl-specialized__inner { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 26px; padding: 34px; border: 1px solid #dce9e6; border-radius: 24px; background: linear-gradient(135deg,#f2fbf9,#fff); }
.nsl-specialized__icon { width: 84px; height: 84px; display: grid; place-items: center; border-radius: 22px; color: #fff; background: #24947e; font-size: 36px; box-shadow: 0 14px 30px rgba(36,148,126,.2); }
.nsl-specialized h2 { margin: 2px 0 6px; }
.nsl-specialized p { margin: 0; color: var(--nsl-muted); }
.nsl-why { background: #20242c; color: #fff; }
.nsl-why .nsl-section__head p { color: #c4c9d0; }
.nsl-why__grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.nsl-why__grid > div { padding: 26px; border: 1px solid rgba(255,255,255,.1); border-radius: 18px; background: rgba(255,255,255,.045); }
.nsl-why__grid i { display: block; margin-bottom: 30px; color: #f28bb0; font-style: normal; font-size: 13px; font-weight: 900; }
.nsl-why__grid strong { display: block; margin-bottom: 8px; font-size: 17px; }
.nsl-why__grid p { margin: 0; color: #bdc3cb; font-size: 13px; }
.nsl-articles__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.nsl-articles article { overflow: hidden; border: 1px solid var(--nsl-line); border-radius: 18px; background: #fff; }
.nsl-article__image { min-height: 210px; display: block; background: #f1f2f4; }
.nsl-article__image img { width: 100%; height: 210px; object-fit: cover; }
.nsl-articles article > div { padding: 20px; }
.nsl-articles time { color: var(--nsl-brand); font-size: 11px; font-weight: 800; }
.nsl-articles h3 { min-height: 3em; margin: 7px 0; font-size: 18px; line-height: 1.5; }
.nsl-articles article p { color: var(--nsl-muted); font-size: 13px; }

@media (max-width: 980px) {
  .nsl-hero--premium .nsl-hero__grid { grid-template-columns: 1fr; gap: 22px; }
  .nsl-hero-products { min-height: 360px; max-width: 540px; width: 100%; margin-inline: auto; }
  .nsl-hero-product { width: 190px; }
  .nsl-quick-trust__grid, .nsl-why__grid { grid-template-columns: repeat(2,1fr); }
  .nsl-brands { grid-template-columns: repeat(3,1fr); }
}

@media (max-width: 700px) {
  .nsl-hero--premium { padding-top: 42px; }
  .nsl-hero--premium .nsl-hero__title { font-size: clamp(38px,12vw,54px); }
  .nsl-hero-products { min-height: 305px; }
  .nsl-hero-product { width: 145px; padding: 9px; border-radius: 18px; }
  .nsl-hero-product--1 { top: 18px; inset-inline-start: 5px; }
  .nsl-hero-product--2 { top: 105px; inset-inline-end: 2px; }
  .nsl-hero-product--3 { width: 128px; }
  .nsl-quick-trust__grid { grid-template-columns: 1fr 1fr; }
  .nsl-quick-trust__grid > div { min-height: 82px; padding: 10px; border-bottom: 1px solid var(--nsl-line); }
  .nsl-section__head { align-items: flex-start; }
  .nsl-offer-banner { align-items: flex-start; flex-direction: column; }
  .nsl-brands { grid-template-columns: repeat(2,1fr); }
  .nsl-specialized__inner { grid-template-columns: 1fr; text-align: center; }
  .nsl-specialized__icon { margin-inline: auto; }
  .nsl-why__grid, .nsl-articles__grid { grid-template-columns: 1fr; }
}

.nsl-footer { padding: 46px 0 24px; color: #dfe2e8; background: #20242c; }
.nsl-footer__grid { display: grid; grid-template-columns: 1.4fr repeat(3,1fr); gap: 34px; }
.nsl-footer h3 { color: #fff; font-size: 16px; }
.nsl-footer ul { padding: 0; margin: 0; list-style: none; }
.nsl-footer li { margin: 7px 0; }
.nsl-footer__bottom { margin-top: 30px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; }
.nsl-cart-overlay { position: fixed; z-index: 99998; inset: 0; background: rgba(20,24,31,.46); }
.nsl-cart-drawer { position: fixed; z-index: 100000; top: 0; bottom: 0; inset-inline-end: 0; width: min(390px, 92vw); display: grid; grid-template-rows: auto 1fr auto; background: #fff; box-shadow: 0 0 45px rgba(0,0,0,.22); transform: translateX(105%); transition: transform .25s ease; }
[dir="rtl"] .nsl-cart-drawer { transform: translateX(-105%); }
body.nsl-cart-open { overflow: hidden; }
body.nsl-cart-open .nsl-cart-drawer { transform: translateX(0); }
.nsl-cart-drawer__head { min-height: 68px; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--nsl-line); }
.nsl-cart-close { width: 40px; height: 40px; border: 0; border-radius: 10px; background: #f4f4f5; font-size: 25px; cursor: pointer; }
.nsl-cart-drawer__body { padding: 14px 20px; overflow: auto; }
.nsl-cart-item { display: grid; grid-template-columns: 64px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--nsl-line); }
.nsl-cart-item img { width: 64px; height: 64px; object-fit: contain; border-radius: 10px; }
.nsl-cart-item strong { display: block; font-size: 14px; line-height: 1.5; }
.nsl-cart-item span { color: var(--nsl-muted); font-size: 13px; }
.nsl-cart-drawer__foot { padding: 18px 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; border-top: 1px solid var(--nsl-line); }
.nsl-cart-subtotal { grid-column: 1 / -1; display: flex; justify-content: space-between; font-weight: 800; }

/* WooCommerce store and product pages */
.nsl-shop-main { min-height: 60vh; padding: 34px 0 70px; background: #fafafa; }
.nsl-shop-shell { max-width: 1240px; }
.woocommerce-breadcrumb { margin: 0 0 22px; color: var(--nsl-muted); font-size: 13px; }
.woocommerce-breadcrumb span { margin: 0 8px; color: #b6b8bd; }
.woocommerce-products-header { margin-bottom: 24px; }
.woocommerce-products-header__title.page-title { margin: 0 0 10px; font-size: clamp(26px, 3vw, 38px); }
.woocommerce .woocommerce-result-count { margin: 10px 0 22px; color: var(--nsl-muted); }
.woocommerce .woocommerce-ordering { margin: 0 0 22px; }
.woocommerce .woocommerce-ordering select { min-height: 44px; padding: 0 14px; border: 1px solid var(--nsl-line); border-radius: 10px; background: #fff; }
.woocommerce ul.products { clear: both; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; padding: 0; margin: 0; list-style: none; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product { position: relative; width: auto !important; margin: 0 !important; padding: 14px 14px 18px; overflow: hidden; border: 1px solid var(--nsl-line); border-radius: 16px; background: #fff; transition: transform .2s ease, box-shadow .2s ease; }
.woocommerce ul.products li.product:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(21,31,42,.08); }
.woocommerce ul.products li.product a img { width: 100%; aspect-ratio: 1; margin: 0; object-fit: contain; border-radius: 12px; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { min-height: 3.4em; margin: 12px 0 7px; padding: 0; color: var(--nsl-text); font-size: 15px; line-height: 1.7; }
.woocommerce ul.products li.product .price { display: block; min-height: 28px; margin: 0; color: var(--nsl-brand-dark); font-size: 16px; font-weight: 800; }
.woocommerce ul.products li.product .button { display: block; width: 100%; margin-top: 12px; padding: 11px 14px; border: 0; border-radius: 10px; color: #fff; background: var(--nsl-brand); text-align: center; }
.woocommerce span.onsale { z-index: 2; top: 12px; right: 12px; left: auto; min-width: auto; min-height: auto; margin: 0; padding: 5px 10px; border-radius: 999px; color: #fff; background: #d34848; font-size: 12px; line-height: 1.4; }
.woocommerce nav.woocommerce-pagination { margin-top: 36px; }
.woocommerce nav.woocommerce-pagination ul { overflow: visible; border: 0; }
.woocommerce nav.woocommerce-pagination ul li { margin: 0 3px; border: 0; }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span { min-width: 40px; padding: 11px; border: 1px solid var(--nsl-line); border-radius: 9px; background: #fff; }
.woocommerce nav.woocommerce-pagination ul li span.current { color: #fff; border-color: var(--nsl-brand); background: var(--nsl-brand); }
.woocommerce div.product { display: flow-root; padding: 26px; border: 1px solid var(--nsl-line); border-radius: 20px; background: #fff; }
.woocommerce div.product div.images, .woocommerce div.product div.summary { margin-bottom: 36px; }
.woocommerce div.product div.images img { border-radius: 14px; }
.woocommerce div.product .product_title { margin: 0 0 14px; font-size: clamp(25px, 3vw, 36px); line-height: 1.35; }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--nsl-brand-dark); font-size: 24px; font-weight: 800; }
.woocommerce div.product .woocommerce-product-details__short-description { color: #4f5660; line-height: 1.9; }
.woocommerce div.product form.cart { display: flex; align-items: stretch; gap: 10px; margin: 24px 0; }
.woocommerce .quantity .qty { min-height: 48px; border: 1px solid var(--nsl-line); border-radius: 10px; }
.woocommerce div.product form.cart .button { min-height: 48px; padding: 0 28px; border-radius: 10px; background: var(--nsl-brand); }
.woocommerce div.product .stock { font-weight: 700; }
.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { border: 0; border-radius: 9px; background: #f1f3f4; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { color: #fff; background: var(--nsl-brand); }
.woocommerce div.product .woocommerce-tabs .panel { line-height: 1.9; }
.woocommerce div.product .related.products, .woocommerce div.product .up-sells.products { clear: both; padding-top: 28px; }
.woocommerce-message, .woocommerce-info, .woocommerce-error { border-radius: 12px; background: #fff; }
.woocommerce-message { border-top-color: var(--nsl-brand); }

/* Pages, cart, checkout and account */
.nsl-page-main { min-height: 60vh; padding: 38px 0 72px; background: #fafafa; }
.nsl-page-shell { max-width: 1120px; }
.nsl-page-article { padding: 28px; border: 1px solid var(--nsl-line); border-radius: 20px; background: #fff; }
.nsl-page-title, .woocommerce-cart .entry-title, .woocommerce-checkout .entry-title, .woocommerce-account .entry-title { margin: 0 0 26px; font-size: clamp(28px, 3vw, 38px); }

/* Blog archive */
.nsl-blog-main { min-height: 65vh; padding: 42px 0 76px; background: #f7f8fa; }
.nsl-blog-hero { margin-bottom: 30px; padding: 32px; border: 1px solid var(--nsl-line); border-radius: 24px; background: linear-gradient(135deg,#fff 0%,#f1f7f5 100%); }
.nsl-blog-hero__eyebrow { display: block; margin-bottom: 8px; color: var(--nsl-brand); font-size: 12px; font-weight: 800; }
.nsl-blog-hero h1 { margin: 0 0 10px; font-size: clamp(30px,4vw,48px); line-height: 1.25; }
.nsl-blog-hero p { max-width: 720px; margin: 0; color: var(--nsl-muted); font-size: 16px; line-height: 1.8; }
.nsl-blog-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
.nsl-blog-card { display: flex; min-width: 0; flex-direction: column; overflow: hidden; border: 1px solid var(--nsl-line); border-radius: 20px; background: #fff; box-shadow: 0 10px 30px rgba(24,39,35,.05); transition: transform .2s ease,box-shadow .2s ease; }
.nsl-blog-card:hover { transform: translateY(-3px); box-shadow: 0 16px 38px rgba(24,39,35,.09); }
.nsl-blog-card__image { display: block; aspect-ratio: 16/10; overflow: hidden; background: #edf1ef; }
.nsl-blog-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.nsl-blog-card:hover .nsl-blog-card__image img { transform: scale(1.035); }
.nsl-blog-card__placeholder { display: grid; width: 100%; height: 100%; place-items: center; color: var(--nsl-brand); font-size: 38px; font-weight: 900; }
.nsl-blog-card__body { display: flex; flex: 1; flex-direction: column; padding: 20px; }
.nsl-blog-card__meta { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-bottom: 9px; color: var(--nsl-muted); font-size: 12px; }
.nsl-blog-card__meta a { color: var(--nsl-brand); font-weight: 700; }
.nsl-blog-card h2 { margin: 0 0 10px; font-size: 19px; line-height: 1.55; }
.nsl-blog-card h2 a { color: var(--nsl-text); }
.nsl-blog-card__excerpt { margin: 0 0 18px; color: var(--nsl-muted); font-size: 13px; line-height: 1.85; }
.nsl-blog-card__more { margin-top: auto; color: var(--nsl-brand); font-size: 13px; font-weight: 800; }
.nsl-blog-pagination { margin-top: 34px; }
.nsl-blog-pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.nsl-blog-pagination .page-numbers { display: grid; min-width: 42px; height: 42px; padding: 0 10px; place-items: center; border: 1px solid var(--nsl-line); border-radius: 12px; background: #fff; }
.nsl-blog-pagination .current { border-color: var(--nsl-brand); background: var(--nsl-brand); color: #fff; }
.nsl-blog-empty { padding: 40px; border-radius: 20px; background: #fff; text-align: center; }
.nsl-single-main { padding: 38px 0 76px; background: #f7f8fa; }
.nsl-single-article { max-width: 900px; margin: 0 auto; padding: clamp(20px,4vw,48px); border: 1px solid var(--nsl-line); border-radius: 24px; background: #fff; }
.nsl-single-article__meta { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-bottom: 12px; color: var(--nsl-muted); font-size: 13px; }
.nsl-single-article__meta a { color: var(--nsl-brand); font-weight: 700; }
.nsl-single-article h1 { margin: 0 0 24px; font-size: clamp(30px,4vw,46px); line-height: 1.35; }
.nsl-single-article__image { width: 100%; margin: 0 0 30px; border-radius: 18px; aspect-ratio: 3/2; object-fit: cover; }
.nsl-single-content { color: #283330; font-size: 17px; line-height: 2; }
.nsl-single-content h2 { margin: 38px 0 12px; font-size: clamp(23px,3vw,30px); line-height: 1.45; }
.nsl-single-content h3 { margin: 28px 0 10px; font-size: 21px; }
.nsl-single-content img { max-width: 100%; height: auto; border-radius: 16px; }
.nsl-single-content a { color: var(--nsl-brand); text-decoration: underline; text-underline-offset: 3px; }
.nsl-single-content li { margin-bottom: 8px; }

@media (min-width: 701px) {
  .single-product.nsl-has-mobile-actions { padding-bottom: 92px; }
  .nsl-mobile-product-actions { position: fixed; z-index: 99990; bottom: 18px; left: 50%; display: grid; width: min(680px,calc(100% - 40px)); grid-template-columns: minmax(0,1.35fr) minmax(0,1fr); gap: 10px; padding: 10px; border: 1px solid rgba(25,35,32,.12); border-radius: 18px; background: rgba(255,255,255,.96); box-shadow: 0 12px 40px rgba(20,30,27,.18); backdrop-filter: blur(12px); transform: translate(-50%,calc(100% + 40px)); opacity: 0; pointer-events: none; transition: transform .22s ease,opacity .22s ease; }
  .nsl-mobile-product-actions.is-visible { transform: translate(-50%,0); opacity: 1; pointer-events: auto; }
  .nsl-mobile-product-actions button { min-height: 54px; padding: 9px 18px; border: 0; border-radius: 12px; color: #fff; font-family: inherit; font-size: 15px; font-weight: 800; cursor: pointer; }
  .nsl-mobile-product-actions__cart { background: var(--nsl-brand); }
  .nsl-mobile-product-actions__whatsapp { background: #18a957; }
  .nsl-mobile-product-actions button:disabled { opacity: .5; cursor: not-allowed; }
  .single-product #ht-ctc-chat { display: none !important; }
}

@media (max-width: 900px) { .nsl-blog-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 620px) {
  .nsl-blog-main { padding: 22px 0 54px; }
  .nsl-blog-hero { margin-bottom: 20px; padding: 22px 18px; border-radius: 18px; }
  .nsl-blog-grid { grid-template-columns: 1fr; gap: 16px; }
  .nsl-blog-card__body { padding: 17px; }
  .nsl-single-main { padding: 18px 0 50px; }
  .nsl-single-article { padding: 18px; border-radius: 18px; }
  .nsl-single-content { font-size: 16px; }
}
.woocommerce table.shop_table { overflow: hidden; border: 1px solid var(--nsl-line); border-radius: 14px; border-collapse: separate; background: #fff; }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { padding: 15px 14px; border-color: var(--nsl-line); }
.woocommerce-cart table.cart img { width: 76px; border-radius: 10px; }
.woocommerce-cart table.cart .product-name a { font-weight: 700; }
.woocommerce-cart table.cart td.actions { padding: 18px; }
.woocommerce-cart table.cart td.actions .button, .woocommerce .cart .button { min-height: 44px; border-radius: 9px; }
.woocommerce-cart .cart-collaterals { display: flex; justify-content: flex-end; margin-top: 28px; }
.woocommerce-cart .cart-collaterals .cart_totals { width: min(480px, 100%); padding: 24px; border: 1px solid var(--nsl-line); border-radius: 16px; background: #fff; }
.woocommerce-cart .wc-proceed-to-checkout { padding-bottom: 0; }
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button { margin: 16px 0 0; padding: 15px; border-radius: 11px; background: var(--nsl-brand); font-size: 17px; }
.nsl-cart-reassurance { display: grid; gap: 8px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--nsl-line); color: var(--nsl-muted); font-size: 13px; }
.nsl-cart-reassurance span::before { content: '✓'; margin-inline-end: 7px; color: var(--nsl-brand); font-weight: 900; }
.nsl-checkout-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 0; margin: 0 0 28px; list-style: none; counter-reset: checkout-step; }
.nsl-checkout-steps li { padding: 12px 8px; border-radius: 10px; color: var(--nsl-muted); background: #f1f2f4; text-align: center; font-size: 14px; font-weight: 700; }
.nsl-checkout-steps li.is-done { color: var(--nsl-brand-dark); background: var(--nsl-soft); }
.nsl-checkout-steps li.is-current { color: #fff; background: var(--nsl-brand); }
.woocommerce-checkout form.checkout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(330px, .85fr); gap: 28px; align-items: start; }
.woocommerce-checkout #customer_details { width: 100%; }
.woocommerce-checkout #customer_details .col-1, .woocommerce-checkout #customer_details .col-2 { float: none; width: 100%; }
.woocommerce-checkout #customer_details .col-2 { margin-top: 24px; }
.woocommerce-checkout #order_review_heading, .woocommerce-checkout #order_review { width: 100%; }
.woocommerce-checkout #order_review_heading { grid-column: 2; margin: 0 0 -12px; padding: 0 22px; }
.woocommerce-checkout #order_review { grid-column: 2; padding: 20px; border: 1px solid var(--nsl-line); border-radius: 16px; background: #fff; }
.woocommerce-checkout #customer_details { grid-row: 1 / span 3; }
.woocommerce form .form-row { margin: 0 0 14px; padding: 0; }
.woocommerce form .form-row label { margin-bottom: 5px; font-size: 13px; font-weight: 700; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select, .woocommerce .select2-container .select2-selection--single { min-height: 48px; padding: 10px 13px; border: 1px solid #dcdfe4; border-radius: 9px; background: #fff; }
.woocommerce .select2-container .select2-selection--single .select2-selection__rendered { padding: 0; line-height: 26px; }
.woocommerce-checkout #payment { border-radius: 12px; background: #f5f6f7; }
.woocommerce-checkout #payment div.payment_box { background: #fff; }
.woocommerce-checkout #payment #place_order { width: 100%; min-height: 52px; margin-top: 10px; border-radius: 10px; background: var(--nsl-brand); font-size: 17px; }
.woocommerce-account .woocommerce { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 26px; }
.woocommerce-account .woocommerce-MyAccount-navigation, .woocommerce-account .woocommerce-MyAccount-content { float: none; width: 100%; }
.woocommerce-account .woocommerce-MyAccount-navigation ul { padding: 10px; margin: 0; border: 1px solid var(--nsl-line); border-radius: 14px; list-style: none; }
.woocommerce-account .woocommerce-MyAccount-navigation li a { display: block; padding: 11px 13px; border-radius: 8px; }
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a { color: #fff; background: var(--nsl-brand); }
.woocommerce-account .woocommerce-MyAccount-content { padding: 22px; border: 1px solid var(--nsl-line); border-radius: 14px; }

:where(a, button, input, select, textarea):focus-visible { outline: 3px solid var(--nsl-brand); outline-offset: 3px; }
.screen-reader-text:focus { z-index: 100001; top: 8px; right: 8px; width: auto; height: auto; padding: 10px 14px; clip: auto; color: #fff; background: var(--nsl-ink); border-radius: 8px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

@media (max-width: 980px) {
  .woocommerce ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 801px) and (max-width: 980px) {
  .nsl-hero--premium .nsl-hero__grid { min-height: 500px; grid-template-columns: minmax(0,1fr) 350px; gap: 28px; }
  .nsl-hero--premium .nsl-hero__title { font-size: clamp(40px,5.5vw,54px); }
  .nsl-hero-products { min-height: 420px; max-width: none; }
  .nsl-hero-product { width: 170px; }
  .nsl-hero-product--3 { width: 145px; }
}

@media (max-width: 700px) {
  .nsl-shop-main { padding-top: 22px; }
  .woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .woocommerce ul.products li.product { padding: 10px 10px 14px; }
  .woocommerce div.product { padding: 16px; }
  .woocommerce div.product div.images, .woocommerce div.product div.summary { float: none; width: 100%; }
  .single-product .woocommerce-product-gallery { display: block !important; width: 100% !important; min-height: 280px; opacity: 1 !important; visibility: visible !important; }
  .single-product .woocommerce-product-gallery .flex-viewport { width: 100%; min-height: 280px; }
  .single-product .woocommerce-product-gallery__wrapper { display: block; width: 100%; margin: 0; }
  .single-product .woocommerce-product-gallery__image { width: 100%; }
  .single-product .woocommerce-product-gallery__image:first-child { display: block !important; opacity: 1 !important; visibility: visible !important; }
  .single-product .woocommerce-product-gallery__image > a > img { display: block !important; width: 100% !important; height: auto !important; max-height: 430px; margin: 0 auto; object-fit: contain; opacity: 1 !important; visibility: visible !important; }
  .single-product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 8px; margin-top: 10px; }
  .single-product .flex-control-thumbs li { float: none; width: auto; }
  .single-product.nsl-has-mobile-actions { padding-bottom: calc(82px + env(safe-area-inset-bottom)); }
  .nsl-mobile-product-actions { position: fixed; z-index: 99990; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: minmax(0,1.35fr) minmax(0,1fr); gap: 9px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(25,35,32,.12); background: rgba(255,255,255,.96); box-shadow: 0 -8px 28px rgba(20,30,27,.14); backdrop-filter: blur(12px); transform: translateY(110%); opacity: 0; pointer-events: none; transition: transform .22s ease,opacity .22s ease; }
  .nsl-mobile-product-actions.is-visible { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nsl-mobile-product-actions button { min-width: 0; min-height: 52px; padding: 8px 12px; border: 0; border-radius: 13px; color: #fff; font-family: inherit; font-size: 14px; font-weight: 800; cursor: pointer; }
  .nsl-mobile-product-actions__cart { background: var(--nsl-brand); }
  .nsl-mobile-product-actions__whatsapp { background: #18a957; }
  .nsl-mobile-product-actions button:disabled { opacity: .5; cursor: not-allowed; }
  .single-product #ht-ctc-chat { display: none !important; }
  .woocommerce div.product form.cart { flex-wrap: wrap; }
  .nsl-page-main { padding-top: 20px; }
  .nsl-page-article { padding: 16px; }
  .woocommerce-cart table.cart thead { display: none; }
  .woocommerce-cart table.cart, .woocommerce-cart table.cart tbody, .woocommerce-cart table.cart tr, .woocommerce-cart table.cart td { display: block; width: 100%; }
  .woocommerce-cart table.cart tr.cart_item { position: relative; padding: 12px; border-bottom: 1px solid var(--nsl-line); }
  .woocommerce-cart table.cart td { padding: 8px 8px; border: 0; text-align: start !important; }
  .woocommerce-cart table.cart td.product-remove { position: absolute; z-index: 2; top: 8px; inset-inline-end: 8px; width: auto; }
  .woocommerce-cart table.cart td.product-thumbnail { width: 90px; }
  .woocommerce-checkout form.checkout { display: block; }
  .woocommerce-checkout #order_review_heading { margin: 28px 0 12px; padding: 0; }
  .woocommerce-checkout #order_review { padding: 14px; }
  .woocommerce-account .woocommerce { grid-template-columns: 1fr; }
}

@media (max-width: 980px) {
  .nsl-header__main { grid-template-columns: 150px 1fr auto; gap: 12px; }
  .nsl-tool__label { display: none; }
  .nsl-hero__grid { grid-template-columns: 1fr; min-height: auto; }
  .nsl-hero__visual { display: none; }
  .nsl-grid--categories, .nsl-grid--needs, .nsl-products ul.products { grid-template-columns: repeat(2, 1fr); }
  .nsl-footer__grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 700px) {
  .admin-bar .nsl-header { top: 46px; }
  .nsl-topbar__inner span:nth-child(n+2) { display: none; }
  .nsl-header__main { min-height: 116px; grid-template-columns: 1fr auto; }
  .nsl-logo img { max-height: 45px; }
  .nsl-search-row { position: relative; grid-column: 1 / -1; grid-row: 2; display: grid; grid-template-columns: 50px minmax(0,1fr); gap: 9px; width: 100%; }
  .nsl-mobile-menu { display: block; position: static; }
  .nsl-language summary { min-width: 48px; padding: 0 7px; }
  .nsl-language summary span { display: none; }
  .nsl-tool--account { display: none; }
  .nsl-nav { position: absolute; top: 100%; inset-inline: 0; display: none; max-height: 65vh; overflow: auto; border-top: 1px solid var(--nsl-line); background: #fff; box-shadow: 0 18px 35px rgba(32,36,44,.14); }
  .nsl-nav__inner { min-height: 0; display: block; padding-block: 10px; overflow: visible; }
  .nsl-nav .menu { align-items: stretch; flex-direction: column; gap: 0; }
  .nsl-nav__inner > a, .nsl-nav .menu > li > a { display: block; padding: 11px 13px; border-radius: 8px; }
  .nsl-nav__inner > a:hover, .nsl-nav .menu > li > a:hover { background: var(--nsl-soft); }
  .nsl-hero { padding-top: 38px; }
  .nsl-section { padding: 48px 0; }
  .nsl-section__head { align-items: start; flex-direction: column; }
  .nsl-grid--categories, .nsl-grid--needs, .nsl-products ul.products, .nsl-trust, .nsl-footer__grid { grid-template-columns: 1fr 1fr; }
  .nsl-category { min-height: 145px; }
}

@media (max-width: 430px) {
  .nsl-grid--categories, .nsl-products ul.products, .nsl-trust, .nsl-footer__grid { grid-template-columns: 1fr; }
  .nsl-grid--needs { grid-template-columns: 1fr 1fr; }
}
