@charset "UTF-8";

/* NAIM LABS · storefront, product, cart and checkout */
:root {
  --forest: #214e3e;
  --forest-dark: #173c30;
  --forest-soft: #edf4ef;
  --ink: #202c26;
  --body: #526159;
  --muted: #59675e;
  --line: #e4e9e5;
  --soft-line: #eef1ee;
  --paper: #f8f6f0;
  --wash: #f1eee6;
  --warm: #e9e4d8;
  --danger: #a33a32;
  --radius: 12px;
  --wrap: 1160px;
  --header-height: 132px;
  --shadow: 0 12px 38px rgb(24 56 42 / 8%);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 24px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif; font-size: 16px; line-height: 1.65; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
body, input, textarea, select, button { font-synthesis: none; }
button, input, textarea, select { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }
button, input, textarea, select { color: inherit; }
button { border: 0; background: none; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
svg { display: block; flex: none; }
button svg, a svg { width: 20px; height: 20px; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding-left: 1.25em; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #79a48c; outline-offset: 3px; }
::selection { color: var(--forest-dark); background: #dceadf; }
.wrap { width: min(var(--wrap), calc(100% - 48px)); margin-inline: auto; }
.visually-hidden, .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.announcement { min-height: 32px; padding: 7px 24px; text-align: center; background: var(--forest); color: #fff; font-size: 16px; font-weight: 500; letter-spacing: .035em; }
.announcement a { text-decoration: underline; text-underline-offset: 3px; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgb(248 246 240 / 97%); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.header-inner { min-height: 74px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; color: var(--forest); }
.brand img { width: 36px; height: 36px; object-fit: contain; }
.brand-type { display: flex; flex-direction: column; line-height: 1.1; }
.brand-type strong { font-size: 24px; letter-spacing: -.06em; font-weight: 800; }
.brand-type small { font-size: 8px; font-weight: 650; letter-spacing: .16em; margin-top: 5px; }
.header-search { display: none; }
.header-search:focus-within { outline: 3px solid #79a48c; outline-offset: 2px; }
.header-search input { width: 100%; min-width: 0; min-height: 46px; padding: 10px 14px; border: 0; border-radius: 0; font-size: 16px; background: transparent; }
.header-search input:focus { outline: none; }
.header-search input::placeholder { color: var(--muted); opacity: 1; }
.header-search button { display: inline-flex; align-items: center; justify-content: center; flex: none; gap: 6px; min-height: 46px; min-width: 82px; padding: 10px 13px; font-size: 16px; font-weight: 700; background: var(--forest); color: #fff; }
.header-search button:hover { background: var(--forest-dark); }
.header-search button:focus-visible { outline-color: #fff; outline-offset: -5px; }
.header-browse { display: flex; align-items: center; gap: 30px; min-height: 49px; overflow-x: auto; scrollbar-width: none; }
.header-browse::-webkit-scrollbar { display: none; }
.header-categories { display: flex; align-items: center; gap: 27px; flex: none; white-space: nowrap; }
.header-categories a { display: inline-flex; align-items: center; min-height: 48px; border-bottom: 3px solid transparent; padding-top: 3px; font-size: 16px; font-weight: 650; color: var(--body); }
.header-categories a:hover, .header-categories a[aria-current="page"] { border-bottom-color: var(--forest); color: var(--forest); }
.header-nav { display: flex; align-items: center; gap: 24px; margin-left: auto; flex: none; white-space: nowrap; }
.header-nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 16px; font-weight: 600; color: var(--body); }
.header-nav a:hover, .header-nav a[aria-current="page"] { color: var(--forest); }
.header-actions { margin-left: auto; display: flex; gap: 6px; align-items: center; flex: none; }
.header-action { min-height: 44px; min-width: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; position: relative; border-radius: 8px; font-size: 16px; font-weight: 600; padding: 8px 10px; }
.header-action:hover { background: var(--wash); }
.header-action svg { width: 21px; height: 21px; }
.count-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 19px; height: 19px; padding-inline: 5px; border-radius: 50px; color: #fff; background: var(--forest); font-size: 10px; font-weight: 750; line-height: 1; }
.mobile-nav { display: none; }
#app { min-height: 58vh; }
.page-head { padding: 42px 0 26px; }
.eyebrow { display: block; color: var(--forest); font-size: 16px; font-weight: 750; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 9px; }
.page-title { font-size: clamp(25px, 3vw, 32px); line-height: 1.3; letter-spacing: -.055em; font-weight: 750; }
.page-intro { font-size: 16px; color: var(--body); margin-top: 9px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 22px 0; color: var(--muted); font-size: 16px; }
.breadcrumb a:hover { color: var(--forest); text-decoration: underline; }
.shop-banner { display: grid; grid-template-columns: 1fr .85fr; min-height: 228px; margin: 30px 0 32px; overflow: hidden; background: #f1f3ed; border-radius: 14px; }
.banner-copy { align-self: center; padding: 32px 40px; position: relative; z-index: 1; }
.banner-copy h1 { font-size: clamp(25px, 3.1vw, 36px); line-height: 1.3; letter-spacing: -.055em; font-weight: 700; color: var(--forest); }
.banner-copy p { margin-top: 13px; font-size: 16px; line-height: 1.7; color: var(--body); }
.banner-photo { overflow: hidden; position: relative; min-height: 228px; }
.banner-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 77% 52%; position: absolute; inset: 0; }
.category-tabs { display: flex; gap: 5px; overflow-x: auto; padding: 0 0 16px; scrollbar-width: none; border-bottom: 1px solid var(--line); }
.category-tabs::-webkit-scrollbar { display: none; }
.category-tabs button, .category-tabs a { min-height: 44px; padding: 10px 21px; flex: none; color: var(--body); font-size: 16px; font-weight: 650; border-radius: 8px; transition: background .15s, color .15s; }
.category-tabs button:hover, .category-tabs a:hover { background: var(--wash); color: var(--forest); }
.category-tabs button.is-active, .category-tabs a.is-active { background: var(--forest); color: #fff; }
.catalog-toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; padding: 22px 0; }
/* Categories stay in the common header; product search lives in the catalog. */
.catalog-page .category-tabs { display: none; }
.catalog-meta { color: var(--body); font-size: 16px; white-space: nowrap; }
.catalog-meta strong { color: var(--forest); font-weight: 750; }
.search-field { position: relative; width: 250px; display: flex; align-items: center; }
.search-field svg { position: absolute; left: 13px; width: 17px; height: 17px; color: var(--muted); pointer-events: none; }
.search-field input { width: 100%; height: 44px; padding: 10px 13px; background: var(--wash); border: 1px solid var(--line); border-radius: 8px; font-size: 16px; outline-offset: 2px; }
.search-field:has(svg) input { padding-left: 38px; }
.search-field input::placeholder { color: #637168; }
#product-search { gap: 6px; width: 300px; }
#product-search input { min-width: 0; flex: 1; }
.catalog-search-submit { flex: none; min-width: 56px; min-height: 44px; padding: 9px 12px; border-radius: 7px; background: var(--forest); color: #fff; font-size: 16px; font-weight: 650; }
.catalog-search-submit:hover { background: var(--forest-dark); }
.catalog-controls { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.catalog-controls select { min-height: 44px; border: 1px solid var(--line); background: #fff; border-radius: 7px; padding: 0 30px 0 11px; font-size: 16px; cursor: pointer; max-width: 155px; }
.view-toggle { display: flex; border: 1px solid var(--line); border-radius: 7px; overflow: hidden; }
.view-toggle button { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 10px; color: var(--muted); background: #fff; }
.view-toggle button+button { border-left: 1px solid var(--line); }
.view-toggle button.is-active { color: #fff; background: var(--forest); }
.view-toggle svg { width: 17px; height: 17px; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 38px 24px; }
.product-card { min-width: 0; display: flex; flex-direction: column; position: relative; }
.product-visual { position: relative; min-width: 0; align-self: stretch; }
.quick-add { position: absolute; right: 12px; bottom: 12px; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgb(33 78 62 / 12%); border-radius: 50%; background: rgb(255 255 255 / 97%); color: var(--forest); box-shadow: 0 2px 8px rgb(26 52 35 / 7%); transition: background .15s, color .15s, transform .15s; }
.quick-add svg { width: 21px; height: 21px; }
.quick-add:hover { color: #fff; background: var(--forest); transform: translateY(-1px); }
.quick-add:disabled { opacity: .5; }
.product-image { display: block; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: #f6f6f2; border: 1px solid #f0f1ed; position: relative; }
.product-image img { width: 100%; height: 100%; object-fit: contain; transition: transform .25s; }
a.product-image:hover img { transform: scale(1.035); }
.image-placeholder { display: flex; height: 100%; min-height: inherit; flex-direction: column; align-items: center; justify-content: center; gap: 9px; background: #f3f5f0; color: #8b9b8d; text-align: center; padding: 18px; font-size: 16px; }
.image-placeholder svg { width: 36px; height: 36px; opacity: .55; }
.image-placeholder strong { font-size: 16px; font-weight: 650; letter-spacing: -.03em; color: #758b78; }
.product-info { min-width: 0; display: flex; flex-direction: column; flex: 1; padding-top: 14px; }
.product-category { color: var(--forest); font-size: 16px; font-weight: 650; letter-spacing: .01em; margin-bottom: 5px; }
.product-name { font-size: 18px; font-weight: 650; line-height: 1.55; letter-spacing: -.025em; overflow-wrap: anywhere; }
.product-name a:hover { text-decoration: underline; text-underline-offset: 3px; }
.product-spec { color: var(--muted); font-size: 16px; line-height: 1.55; margin-top: 4px; overflow-wrap: anywhere; }
.product-price { font-size: 22px; font-weight: 800; letter-spacing: -.035em; color: #24382b; margin-top: 11px; }
.product-price small { font-size: 16px; color: var(--muted); font-weight: 450; letter-spacing: 0; margin-left: 3px; }
.product-actions { display: flex; gap: 6px; padding-top: 13px; margin-top: auto; }
.product-actions .button { flex: 1; font-size: 16px; padding-inline: 8px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 7px; min-height: 46px; padding: 12px 22px; border: 1px solid transparent; border-radius: 7px; font-size: 16px; font-weight: 650; line-height: 1.35; text-align: center; transition: background .15s, border-color .15s, color .15s; }
.button-primary { background: var(--forest); border-color: var(--forest); color: #fff; }
.button-primary:hover { background: var(--forest-dark); border-color: var(--forest-dark); }
.button-outline { background: #fff; border-color: #cbd7cf; color: var(--forest); }
.button-outline:hover { background: var(--forest-soft); border-color: #a6bcad; }
.button-quiet { background: var(--wash); border-color: var(--line); color: var(--body); }
.button-quiet:hover { background: #edf1ed; }
.button-small { min-height: 44px; padding: 9px 13px; font-size: 16px; }
.button:disabled { background: #e5eae5; border-color: #e5eae5; color: #8a968e; }
.button[aria-disabled="true"] { pointer-events: none; background: #e5eae5; border-color: #e5eae5; color: #8a968e; }
.product-grid[data-layout="list"] { grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--line); }
.product-grid[data-layout="list"] .product-card { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.product-grid[data-layout="list"] .product-image { width: 140px; align-self: start; }
.product-grid[data-layout="list"] .product-visual { align-self: start; }
.product-grid[data-layout="list"] .product-info { padding: 2px 0; position: relative; }
.product-grid[data-layout="list"] .product-name { font-size: 18px; }
.product-grid[data-layout="list"] .product-spec { font-size: 16px; }
.product-grid[data-layout="list"] .product-price { font-size: 22px; }
.product-grid[data-layout="list"] .product-actions { margin-top: 0; max-width: 235px; padding-top: 12px; }
.pagination { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 7px; padding: 37px 0 12px; }
.page-button { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; border: 1px solid var(--line); border-radius: 7px; padding: 9px 13px; color: var(--body); font-size: 16px; background: #fff; }
.page-button:hover { background: var(--wash); border-color: #bdcfc2; }
.page-button.is-active { color: #fff; background: var(--forest); border-color: var(--forest); font-weight: 700; }
.page-button:disabled { color: #bec7c0; border-color: var(--soft-line); background: #fafbfa; }
.page-button svg { width: 16px; height: 16px; }
.empty-state { grid-column: 1 / -1; text-align: center; padding: 70px 24px; border: 1px solid var(--line); background: var(--wash); border-radius: 12px; color: var(--body); }
.empty-state svg { width: 42px; height: 42px; margin: 0 auto 18px; color: #9caf9f; }
.empty-state h2, .empty-state h3 { font-size: 20px; color: var(--ink); letter-spacing: -.04em; }
.empty-state p { margin: 10px 0 20px; font-size: 16px; }
.brand-note { margin-top: 54px; padding: 24px 28px; border-top: 1px solid var(--line); color: var(--body); font-size: 16px; line-height: 1.8; background: var(--wash); }
.brand-note strong { color: var(--forest); }

/* A distinct, compact brand home leads into the separate product catalog. */
.home-hero { display: grid; grid-template-columns: 1fr; position: relative; isolation: isolate; min-height: 250px; margin: 24px 0 28px; border-radius: 15px; background: var(--warm); overflow: hidden; }
.home-hero::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgb(248 246 240 / 72%) 0%, rgb(248 246 240 / 45%) 34%, rgb(248 246 240 / 8%) 62%, transparent 78%); }
.home-hero .banner-copy { width: 65%; padding: 18px 28px; z-index: 2; }
.home-hero .banner-copy .eyebrow { font-size: 12px; line-height: 1.5; margin-bottom: 7px; letter-spacing: .12em; }
.home-hero .banner-copy h1 { font-size: 28px; line-height: 1.3; }
.home-hero .banner-copy p { font-size: 16px; margin-top: 8px; line-height: 1.5; }
.home-hero .banner-copy .button { margin-top: 12px; min-height: 44px; padding: 10px 18px; min-width: 150px; }
.home-hero .banner-photo { position: absolute; inset: 0; min-height: 0; z-index: 0; }
.home-hero .banner-photo img { object-position: center 58%; }
.home-products { display: block; min-width: 0; margin-bottom: 28px; }
.home-products-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.home-products-heading h2 { color: var(--forest); font-size: 22px; line-height: 1.3; letter-spacing: -.04em; }
.home-products-heading p { color: var(--muted); font-size: 16px; margin-top: 5px; }
.home-products-heading>a { flex: none; min-height: 44px; padding-block: 10px; font-size: 16px; font-weight: 650; color: var(--forest); }
.home-product-rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 64px) / 5); gap: 16px; position: relative; min-width: 0; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: #a5b9ab transparent; padding: 3px 2px 12px; }
.home-product-rail .product-card { min-width: 0; scroll-snap-align: start; scroll-margin-inline: 2px; }
@media (min-width: 761px) {
  .home-product-rail .product-card { scroll-snap-align: none; }
  .home-product-rail .product-card:nth-child(5n + 1) { scroll-snap-align: start; }
  .home-product-rail[data-group-padding="true"]::after { content: ""; grid-column: span var(--home-carousel-empty, 1); }
}
.home-product-rail .product-info { padding-top: 10px; }
.home-product-rail .product-name { font-size: 18px; font-weight: 700; line-height: 1.4; }
.home-product-rail .product-price { font-size: 22px; margin-top: 8px; }
.home-product-rail .product-spec { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.home-product-rail .quick-add { right: 7px; bottom: 7px; }
.home-product-rail .image-placeholder img { width: 42px; height: 42px; }
.home-products-controls { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 8px; }
.home-products-controls>span { color: var(--muted); font-size: 16px; }
.home-products-controls>div { display: flex; gap: 6px; }
.home-products-controls button { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #cbd5cd; border-radius: 50%; background: #fffdf8; color: var(--forest); }
.home-products-controls button:hover { background: var(--forest-soft); }
.home-products-controls button:disabled { opacity: .45; }
.home-categories { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.home-categories>a, .home-category { display: flex; min-width: 0; min-height: 108px; flex-direction: column; justify-content: center; gap: 5px; padding: 22px; background: #fffdf8; transition: background .15s; }
.home-categories>a+a, .home-category+.home-category { border-left: 1px solid var(--line); }
.home-categories>a:hover, .home-category:hover { background: var(--forest-soft); }
.home-categories strong, .home-categories h2, .home-categories h3 { color: var(--forest); font-size: 16px; font-weight: 700; letter-spacing: -.025em; }
.home-categories p, .home-categories small, .home-categories span { color: var(--muted); font-size: 16px; line-height: 1.65; }
.home-categories svg { width: 21px; height: 21px; color: var(--forest); margin-bottom: 6px; }
.home-trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 32px; padding: 25px 0 0; }
.home-trust>div { min-width: 0; }
.home-trust strong, .home-trust h2, .home-trust h3 { display: block; color: var(--forest); font-size: 16px; font-weight: 650; }
.home-trust p, .home-trust small, .home-trust span { display: block; font-size: 16px; color: var(--muted); margin-top: 5px; line-height: 1.8; }

/* Product information and intentional purchase actions */
.product-detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; padding: 6px 0 56px; }
.detail-media { aspect-ratio: 1; border: 1px solid var(--line); background: #f7f7f2; border-radius: 12px; overflow: hidden; }
.detail-media>img { width: 100%; height: 100%; object-fit: contain; }
.detail-info { padding-top: 8px; min-width: 0; }
.detail-category { color: var(--forest); font-weight: 650; font-size: 16px; margin-bottom: 9px; }
.detail-title { font-size: clamp(24px, 2.5vw, 32px); line-height: 1.4; letter-spacing: -.055em; font-weight: 750; }
.detail-info>p { margin-top: 10px; font-size: 16px; color: var(--body); }
.detail-info>.detail-price { margin-top: 22px; color: var(--forest-dark); font-size: 28px; font-weight: 800; letter-spacing: -.045em; }
.detail-price small { font-size: 16px; font-weight: 450; color: var(--muted); letter-spacing: 0; }
.detail-facts { margin: 26px 0; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 12px 16px; font-size: 16px; }
.detail-facts dt { color: var(--muted); }
.detail-facts dd { margin: 0; color: var(--body); }
.detail-facts>div { display: flex; justify-content: space-between; gap: 18px; grid-column: 1 / -1; }
.detail-facts strong { color: var(--forest); font-weight: 650; }
.qty-control { display: inline-flex; align-items: center; border: 1px solid #dce3dd; border-radius: 6px; background: #fff; overflow: hidden; flex: none; }
.qty-control button { width: 44px; height: 44px; padding: 0; display: grid; place-items: center; font-size: 20px; color: var(--body); background: #fff; }
.qty-control button:hover { background: var(--wash); }
.qty-control button:disabled { color: #c4cdc6; }
.qty-control input { width: 50px; height: 44px; text-align: center; border: 0; border-inline: 1px solid var(--line); outline-offset: -3px; padding: 0; font-size: 16px; font-weight: 600; appearance: textfield; -moz-appearance: textfield; }
.qty-control input::-webkit-inner-spin-button, .qty-control input::-webkit-outer-spin-button { appearance: none; margin: 0; }
.detail-total { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 16px; color: var(--body); }
.detail-total strong { font-size: 25px; font-weight: 800; color: var(--forest); letter-spacing: -.035em; }
.detail-actions { display: flex; gap: 10px; margin-top: 22px; }
.detail-actions .button { flex: 1; min-height: 54px; font-size: 16px; }
.detail-tabs { position: sticky; top: var(--header-height); z-index: 20; display: flex; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.detail-tabs a, .detail-tabs button { flex: 1; text-align: center; padding: 18px 8px; font-size: 16px; font-weight: 650; color: var(--body); }
.detail-tabs a:hover, .detail-tabs .is-active { color: var(--forest); background: var(--wash); }
.detail-section { padding: 34px 0; scroll-margin-top: calc(var(--header-height) + 76px); }
.detail-section h2 { font-size: 21px; letter-spacing: -.04em; margin-bottom: 22px; }
.detail-section h3 { margin-top: 25px; margin-bottom: 12px; font-size: 16px; }
.detail-section p, .detail-section li { color: var(--body); font-size: 16px; line-height: 1.9; }
.spec-table { border-collapse: collapse; width: 100%; font-size: 16px; line-height: 1.65; }
.spec-table th, .spec-table td { padding: 14px 18px; border-block: 1px solid var(--line); text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.spec-table th, .spec-table td:first-child { width: 24%; min-width: 100px; background: var(--wash); color: var(--body); font-weight: 500; }
.notice { margin: 20px 0; padding: 16px 20px; background: var(--wash); border-radius: 8px; font-size: 16px; color: var(--body); line-height: 1.8; }
.notice strong { color: var(--forest); }

/* Cart and checkout use ordinary page layouts, never a side drawer. */
.checkout-steps { display: flex; align-items: center; justify-content: center; gap: 24px; padding: 3px 0 28px; list-style: none; color: var(--muted); font-size: 16px; }
.checkout-steps>span, .checkout-steps>li, .checkout-steps>a { display: inline-flex; gap: 7px; align-items: center; }
.checkout-steps b { font-size: 16px; width: 24px; height: 24px; border-radius: 50%; background: #eef1ee; display: inline-grid; place-items: center; }
.checkout-steps .is-current { color: var(--forest); font-weight: 700; }
.checkout-steps .is-current b { background: var(--forest); color: #fff; }
.commerce-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; padding-bottom: 48px; }
.commerce-main { min-width: 0; }
.commerce-aside { position: sticky; top: calc(var(--header-height) + 24px); min-width: 0; }
.panel { border: 1px solid var(--line); border-radius: 12px; padding: 24px; background: #fff; margin-bottom: 18px; }
.panel-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 17px; font-weight: 700; letter-spacing: -.035em; margin-bottom: 22px; }
.panel-title small { font-size: 16px; font-weight: 450; color: var(--muted); }
.cart-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; margin-bottom: 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); font-size: 16px; }
.cart-toolbar label { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.cart-toolbar button { min-height: 44px; color: var(--muted); font-size: 16px; padding: 8px; }
input[type="checkbox"], input[type="radio"] { accent-color: var(--forest); width: 18px; height: 18px; flex: none; margin: 0; cursor: pointer; }
.cart-item { display: grid; grid-template-columns: 20px 90px minmax(0, 1fr) auto; grid-template-areas: "select image info remove" "select image quantity total"; align-items: start; gap: 14px 16px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.item-select { grid-area: select; padding-top: 4px; display: flex; align-items: center; justify-content: center; min-height: 24px; }
.cart-image { grid-area: image; width: 90px; aspect-ratio: 1; border-radius: 7px; overflow: hidden; border: 1px solid var(--soft-line); background: var(--wash); }
.cart-image img { width: 100%; height: 100%; object-fit: contain; }
.cart-image .image-placeholder { padding: 5px; font-size: 16px; }
.cart-image .image-placeholder strong { font-size: 16px; }
.cart-info { grid-area: info; min-width: 0; }
.cart-name { font-size: 18px; font-weight: 650; letter-spacing: -.025em; line-height: 1.55; overflow-wrap: anywhere; }
.cart-meta { color: var(--muted); font-size: 16px; line-height: 1.55; margin-top: 5px; }
.cart-quantity { grid-area: quantity; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.cart-quantity small { color: var(--muted); font-size: 16px; }
.cart-quantity .qty-control button { width: 38px; min-height: 44px; }
.cart-quantity .qty-control input { width: 40px; }
.cart-line-total { grid-area: total; justify-self: end; align-self: center; font-size: 16px; font-weight: 750; letter-spacing: -.035em; white-space: nowrap; }
.remove-item { grid-area: remove; justify-self: end; color: var(--muted); min-width: 44px; min-height: 44px; padding: 8px; border-radius: 6px; font-size: 16px; margin-top: -8px; margin-right: -8px; }
.remove-item:hover { color: var(--danger); background: #fbf4f2; }
.summary-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 14px; color: var(--body); font-size: 16px; }
.summary-row strong, .summary-row b { font-weight: 650; color: var(--ink); white-space: nowrap; }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; border-top: 1px solid var(--line); padding-top: 21px; margin-top: 21px; font-size: 16px; font-weight: 650; }
.summary-total strong, .summary-total b { color: var(--forest); font-size: 25px; font-weight: 800; letter-spacing: -.04em; white-space: nowrap; }
.shipping-note { color: var(--body); font-size: 16px; line-height: 1.8; margin-top: 16px; padding: 13px 14px; border-radius: 7px; background: var(--forest-soft); }
.shipping-note strong { color: var(--forest); }
.summary-actions { display: grid; gap: 9px; margin-top: 22px; }
.summary-actions .button { width: 100%; min-height: 49px; }
.summary-actions small { color: var(--muted); font-size: 16px; text-align: center; }
.mobile-orderbar { display: none; }
.checkout-products { display: grid; gap: 0; }
.checkout-item { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 17px 0; border-bottom: 1px solid var(--soft-line); }
.checkout-item:first-child { padding-top: 0; }
.checkout-item:last-child { padding-bottom: 0; border-bottom: 0; }
.checkout-thumb { width: 64px; aspect-ratio: 1; border: 1px solid var(--soft-line); border-radius: 6px; overflow: hidden; background: var(--wash); }
.checkout-thumb img { width: 100%; height: 100%; object-fit: contain; }
.checkout-thumb .image-placeholder { font-size: 16px; padding: 5px; }
.checkout-thumb .image-placeholder strong { font-size: 16px; }
.checkout-item-info { min-width: 0; font-size: 18px; font-weight: 550; overflow-wrap: anywhere; }
.checkout-item-info p, .checkout-item-info small { display: block; margin-top: 4px; color: var(--muted); font-size: 16px; font-weight: 450; }
.checkout-item-price { white-space: nowrap; font-size: 16px; font-weight: 700; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 21px 18px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field-full { grid-column: 1 / -1; }
.field label { display: block; color: var(--body); font-size: 16px; font-weight: 600; }
.field label span, .field label abbr { color: var(--forest); text-decoration: none; }
.field label small { color: var(--muted); font-size: 16px; font-weight: 400; }
.field input:not([type="checkbox"]):not([type="radio"]), .field textarea, .field select { display: block; width: 100%; min-width: 0; border: 1px solid #dce3dd; background: #fff; border-radius: 6px; min-height: 48px; padding: 11px 13px; font-size: 16px; line-height: 1.6; }
.field input::placeholder, .field textarea::placeholder { color: #637168; font-size: 16px; }
.field input[readonly] { background: var(--wash); color: var(--body); }
.field textarea { min-height: 88px; resize: vertical; }
.field select { cursor: pointer; }
.field input[aria-invalid="true"] { border-color: var(--danger); }
.field>small { color: var(--muted); font-size: 16px; }
.address-row { display: flex; align-items: stretch; gap: 8px; }
.address-row input { flex: 1; min-width: 0; }
.address-row .button { flex: none; min-width: 105px; padding-inline: 16px; }
.address-display { min-height: 48px; border: 1px solid #dce3dd; background: var(--wash); padding: 12px 13px; border-radius: 6px; color: var(--muted); font-size: 16px; line-height: 1.7; }
.address-display.filled { color: var(--ink); background: #fff; }
.agree-row { display: flex; align-items: flex-start; gap: 10px; padding: 11px 0; font-size: 16px; color: var(--body); line-height: 1.7; cursor: pointer; }
.agree-row input { margin-top: 2px; }
.agree-row a { text-decoration: underline; text-underline-offset: 3px; }
.all-agree { font-weight: 700; color: var(--ink); border-bottom: 1px solid var(--line); padding-bottom: 15px; margin-bottom: 6px; font-size: 16px; }
.payment-box { min-height: 90px; }
.payment-box #payment-method { margin-inline: -12px; }
.preview-note { background: #f5f5ed; border: 1px solid #e6e7d9; border-radius: 7px; padding: 13px 15px; font-size: 16px; line-height: 1.8; color: #707451; margin-bottom: 18px; }
.inline-error { background: #fff5f2; color: var(--danger); border: 1px solid #f1d5cc; border-radius: 7px; padding: 12px 14px; margin: 12px 0; font-size: 16px; line-height: 1.65; }
.checkout-submit { width: 100%; margin-top: 22px; min-height: 54px; }
.checkout-note { color: var(--muted); font-size: 16px; line-height: 1.8; margin-top: 13px; }
.checkout-note a { text-decoration: underline; text-underline-offset: 3px; }
.order-success { max-width: 560px; margin: 60px auto; padding: 44px 30px; text-align: center; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.order-success h1, .order-success h2 { font-size: 25px; color: var(--forest); letter-spacing: -.045em; }
.order-success p { margin-top: 16px; font-size: 16px; color: var(--body); }
.order-success .button { margin-top: 26px; }
.track-form { width: min(100%, 520px); margin: 0 auto 48px; }
.track-form .field { margin-bottom: 20px; }
.customer-orders {padding-block:32px 56px;max-width:960px}
.customer-orders .track-form {max-width:620px}
.customer-orders input,.customer-orders textarea {font:inherit;font-size:16px}
.customer-orders .track-result {display:grid;gap:20px;margin-top:24px}
.customer-order-card {padding:24px;font-size:16px;overflow-wrap:anywhere}
.customer-order-heading {display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.customer-order-heading h2 {font-size:20px;margin:0}
.customer-order-badge {padding:6px 12px;border-radius:20px;background:#eaf1eb;color:#214e3e;font-weight:700}
.customer-order-date,.customer-order-message {color:#56635c;line-height:1.7}
.customer-order-message {margin-top:18px}
.customer-order-items {white-space:pre-line;line-height:1.7}
.customer-order-total {font-size:20px;font-weight:750;color:#214e3e}
.customer-orders .customer-delivery {margin:24px 0;padding:20px;background:#f3f6f0;border:1px solid #d7e2d8;border-radius:12px}
.customer-orders .customer-delivery h3 {margin:0;font-size:18px}
.customer-orders .customer-delivery-status {margin:8px 0 16px;color:#214e3e;font-size:20px;font-weight:750}
.customer-orders .customer-delivery-steps {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));list-style:none;margin:0 0 20px;padding:0;gap:8px}
.customer-orders .customer-delivery-step {position:relative;display:flex;flex-direction:column;align-items:center;gap:7px;text-align:center;color:#59675e;font-size:16px}
.customer-orders .customer-delivery-step:not(:last-child)::after {content:"";position:absolute;top:17px;left:calc(50% + 22px);width:calc(100% - 36px);height:2px;background:#c9d5cb}
.customer-orders .customer-delivery-marker {display:flex;align-items:center;justify-content:center;width:36px;height:36px;border:2px solid #c0cec3;border-radius:50%;background:#f3f6f0;font-weight:750}
.customer-orders .customer-delivery-step.is-complete .customer-delivery-marker {background:#214e3e;border-color:#214e3e;color:#fff}
.customer-orders .customer-delivery-step.is-complete::after {background:#214e3e}
.customer-orders .customer-delivery-step.is-current .customer-delivery-marker {border:3px solid #214e3e;color:#214e3e;background:#fff}
.customer-orders .customer-delivery-step.is-current strong,.customer-orders .customer-delivery-step.is-complete strong {color:#173c30}
.customer-orders .customer-delivery-step-state {font-size:16px}
.customer-orders .customer-delivery-invoice {display:flex;align-items:baseline;gap:8px 14px;flex-wrap:wrap;margin:16px 0;font-size:16px}
.customer-orders .customer-delivery-carrier {width:100%}
.customer-orders .customer-tracking-number {font-size:18px;font-weight:750;color:#214e3e;user-select:all;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.customer-orders .customer-delivery-link {min-height:48px;font-size:16px}
.customer-orders .customer-delivery .checkout-note {font-size:16px;margin:12px 0 0;line-height:1.7}
@media(max-width:440px){.customer-orders .customer-delivery{padding:16px 12px}.customer-orders .customer-delivery-steps{gap:4px}.customer-orders .customer-delivery-step{gap:5px}.customer-orders .customer-delivery-link{width:100%}}
.customer-request-status {padding:18px;margin-top:20px;border:1px solid #c9d9ce;background:#eff5ee;border-radius:12px}
.customer-request-status p {margin:8px 0;line-height:1.7}
.customer-cancel-form {margin-top:20px;padding-top:20px;border-top:1px solid #dce3dc}
.customer-cancel-form>label:not(.customer-cancel-ack) {display:block;font-weight:700;margin-bottom:8px}
.customer-cancel-form textarea {display:block;box-sizing:border-box;width:100%;padding:12px;border:1px solid #b4c2b7;border-radius:8px;min-height:104px;resize:vertical;background:#fff}
.customer-cancel-ack {display:flex;align-items:flex-start;gap:12px;margin:18px 0;line-height:1.7;cursor:pointer}
.customer-cancel-ack input {width:20px;height:20px;flex:0 0 20px;margin-top:4px;accent-color:#214e3e}
.customer-cancel-actions {display:flex;gap:12px;flex-wrap:wrap}
@media(max-width:600px){.customer-order-card{padding:20px}.customer-order-heading{gap:10px}.customer-order-heading h2{font-size:18px}.customer-cancel-actions .button{flex:1;min-height:48px}.customer-orders .checkout-note{font-size:16px}}
.track-form .button { width: 100%; }
.track-result { width: min(100%, 760px); margin: 24px auto 50px; }
.order-record { padding: 22px 24px; margin-top: 13px; border: 1px solid var(--line); border-radius: 10px; }
.order-record h3 { font-size: 16px; color: var(--forest); }
.order-record p { color: var(--body); font-size: 16px; margin-top: 8px; overflow-wrap: anywhere; }

/* The existing purchase guide keeps its complete content in readable cards. */
.naim-guide { padding: 36px 0 10px; }
.ng-inner { min-width: 0; }
.ng-head { margin-bottom: 30px; }
.ng-eyebrow { display: block; color: var(--forest); font-size: 16px; font-weight: 750; letter-spacing: .16em; margin-bottom: 9px; }
.ng-head h2 { color: var(--ink); font-size: 30px; font-weight: 750; line-height: 1.35; letter-spacing: -.05em; }
.ng-head p { margin-top: 10px; color: var(--body); font-size: 16px; line-height: 1.8; }
.ng-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; align-items: start; }
.ng-box { min-width: 0; padding: 28px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.ng-wide { grid-column: 1 / -1; }
.ng-box h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 21px; color: var(--forest); font-size: 18px; font-weight: 700; letter-spacing: -.035em; }
.ng-num { display: inline-grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--forest-soft); color: var(--forest); font-size: 16px; }
.ng-box h4 { margin: 26px 0 11px; font-size: 16px; font-weight: 700; color: var(--ink); }
.ng-box p, .ng-box li { color: var(--body); font-size: 16px; line-height: 1.9; overflow-wrap: anywhere; }
.ng-box ul, .ng-box ol { margin: 10px 0 0; padding-left: 20px; }
.ng-box li+li { margin-top: 9px; }
.ng-box strong { color: var(--ink); font-weight: 650; }
.ng-addr { padding: 16px 18px; background: var(--forest-soft); color: var(--forest); border-radius: 7px; font-size: 16px; line-height: 1.8; overflow-wrap: anywhere; }
.ng-box table { width: 100%; table-layout: fixed; border-collapse: collapse; margin-top: 11px; font-size: 16px; line-height: 1.8; }
.ng-box th, .ng-box td { padding: 13px 15px; border-block: 1px solid var(--line); color: var(--body); text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.ng-box th { color: var(--forest); background: var(--wash); font-weight: 650; }
.ng-box th:first-child, .ng-box td:first-child { width: 38%; }
.ng-box th:nth-child(2), .ng-box td:nth-child(2) { width: 13%; }
.ng-note { margin-top: 20px; padding: 17px 19px; background: var(--wash); border-radius: 8px; }
.ng-note p { font-size: 16px; }
.ng-note p+p { margin-top: 9px; }
.ng-cols { display: grid; gap: 18px; }
.ng-contact { padding-bottom: 17px; border-bottom: 1px solid var(--soft-line); }
.ng-contact:last-child { padding-bottom: 0; border-bottom: 0; }
.ng-label { color: var(--muted); font-size: 16px; margin-bottom: 5px; }
.ng-value { color: var(--forest); font-size: 16px; font-weight: 650; overflow-wrap: anywhere; }
.ng-value a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ng-sub { color: var(--muted); font-size: 16px; margin-top: 5px; line-height: 1.8; }
.ng-foot { margin-top: 24px; color: var(--muted); font-size: 16px; line-height: 1.8; }
.ng-foot a { color: var(--body); text-decoration: underline; text-underline-offset: 3px; }

/* Brand information and small, non-blocking cart feedback */
.site-footer { margin-top: 56px; padding: 36px 0 30px; border-top: 1px solid var(--line); background: var(--wash); color: var(--muted); }
.footer-grid { display: flex; align-items: flex-start; justify-content: space-between; gap: 30px; padding-bottom: 25px; }
.footer-grid>div { min-width: 0; }
.footer-grid>div:nth-child(2) { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; flex: none; }
.footer-grid p { font-size: 16px; margin-top: 12px; line-height: 1.8; max-width: 36em; }
.footer-grid .brand img { width: 28px; height: 28px; }
.footer-grid .brand-type strong { font-size: 20px; }
.footer-grid .brand-type small { font-size: 7px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px 20px; padding-top: 5px; font-size: 16px; color: var(--body); }
.footer-links a { min-height: 44px; display: inline-flex; align-items: center; }
.footer-links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.legal { padding-top: 22px; border-top: 1px solid var(--line); font-size: 16px; line-height: 1.9; color: var(--muted); overflow-wrap: anywhere; }
.legal strong { color: #6f7c73; font-weight: 600; }
.legal a { text-decoration: underline; text-underline-offset: 3px; }
.toast { position: fixed; z-index: 120; left: 50%; bottom: 28px; transform: translateX(-50%); width: min(480px, calc(100% - 32px)); }
.toast-inner { display: flex; align-items: center; gap: 14px; justify-content: space-between; padding: 15px 18px; border-radius: 10px; background: #233f31; box-shadow: 0 10px 32px rgb(20 41 29 / 22%); color: #fff; font-size: 16px; line-height: 1.6; }
.toast-inner>span { flex: 1; }
.toast-inner a, .toast-inner button { flex: none; min-height: 44px; padding: 8px 10px; color: #d8edce; font-size: 16px; font-weight: 700; white-space: nowrap; }
.toast-inner a:hover { text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 1000px) {
  .header-inner { gap: 20px; }
  .header-browse { gap: 24px; }
  .header-categories, .header-nav { gap: 22px; }
  .header-actions { gap: 2px; }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 17px; }
  .commerce-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; }
  .panel { padding: 20px; }
  .cart-item { grid-template-columns: 20px 72px minmax(0, 1fr) auto; gap: 12px; }
  .cart-image { width: 72px; }
  .cart-quantity { grid-column: 3 / -1; }
  .cart-line-total { grid-column: 3 / -1; grid-row: 3; margin-top: -5px; }
  .product-detail { gap: 34px; }
  .banner-copy { padding: 30px; }
}

@media (max-width: 760px) {
  :root { --header-height: 0px; }
  html { scroll-padding-top: 80px; }
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .announcement { font-size: 16px; min-height: 29px; padding: 6px 16px; letter-spacing: 0; }
  .site-header { position: relative; }
  .header-inner { grid-template-columns: minmax(0, 1fr) auto; gap: 6px 8px; min-height: 0; padding-block: 8px; }
  .brand img { width: 29px; height: 29px; }
  .brand { gap: 8px; }
  .brand-type strong { font-size: 22px; }
  .brand-type small { font-size: 7px; margin-top: 4px; }
  .header-actions { grid-column: 2; grid-row: 1; margin: 0; gap: 4px; }
  .header-action { min-width: 44px; min-height: 44px; gap: 4px; padding: 8px 3px; font-size: 16px; }
  .header-action svg { width: 20px; height: 20px; }
  .header-action>span:not(.count-badge) { font-size: 16px; }
  .count-badge { min-width: 17px; height: 17px; font-size: 9px; padding-inline: 4px; }
  .header-search { display: none; }
  .header-search input { padding-inline: 12px; }
  .header-browse { gap: 24px; min-height: 48px; }
  .header-categories, .header-nav { gap: 22px; }
  .header-nav { margin: 0; padding-left: 24px; border-left: 1px solid #cbd5cd; }
  .header-nav a { min-height: 44px; font-size: 16px; flex: none; }
  .page-head { padding: 27px 0 22px; }
  .page-title { font-size: 26px; }
  .page-intro { font-size: 16px; line-height: 1.75; }
  .eyebrow { font-size: 16px; margin-bottom: 7px; }
  .breadcrumb { padding: 16px 0; font-size: 16px; }
  .shop-banner { min-height: 166px; grid-template-columns: 1.15fr .85fr; margin: 20px 0 24px; border-radius: 10px; }
  .banner-copy { padding: 22px 0 22px 20px; }
  .banner-copy h1 { font-size: 22px; line-height: 1.38; letter-spacing: -.06em; }
  .banner-copy p { font-size: 16px; line-height: 1.65; margin-top: 10px; max-width: 20ch; }
  .banner-copy .eyebrow { font-size: 16px; }
  .banner-photo { min-height: 166px; }
  .banner-photo img { object-position: 79% center; }
  .category-tabs { gap: 4px; padding-bottom: 13px; margin-inline: -16px; padding-inline: 16px; }
  .category-tabs button, .category-tabs a { min-height: 42px; padding: 10px 16px; font-size: 16px; border-radius: 6px; }
  .catalog-toolbar { gap: 11px 8px; padding: 17px 0; }
  .catalog-toolbar #product-search { display: flex; }
  .search-field { width: 100%; order: -1; }
  .search-field input { height: 44px; background: #f8faf8; }
  .catalog-meta { font-size: 16px; flex: 1; }
  .catalog-controls { gap: 7px; flex-wrap: wrap; }
  .catalog-controls select { max-width: 150px; font-size: 16px; min-height: 44px; padding-left: 9px; padding-right: 26px; }
  .view-toggle button { min-width: 44px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 12px; }
  .product-image { border-radius: 7px; }
  .quick-add { right: 8px; bottom: 8px; width: 44px; height: 44px; }
  .quick-add svg { width: 20px; height: 20px; }
  .product-info { padding-top: 11px; }
  .product-category { font-size: 16px; margin-bottom: 4px; }
  .product-name { font-size: 18px; line-height: 1.55; letter-spacing: -.035em; }
  .product-spec { font-size: 16px; line-height: 1.6; }
  .product-price { font-size: 22px; margin-top: 9px; }
  .product-price small { font-size: 16px; }
  .product-actions { flex-direction: column; gap: 7px; padding-top: 14px; }
  .product-actions .button { font-size: 16px; padding-inline: 4px; min-height: 44px; border-radius: 5px; gap: 3px; }
  .product-actions svg { width: 15px; height: 15px; }
  .product-grid[data-layout="list"] .product-card { grid-template-columns: 96px minmax(0, 1fr); padding: 19px 0; gap: 16px; align-items: center; }
  .product-grid[data-layout="list"] .product-image { width: 96px; }
  .product-grid[data-layout="list"] .quick-add { right: 3px; bottom: 3px; width: 44px; height: 44px; }
  .product-grid[data-layout="list"] .quick-add svg { width: 18px; height: 18px; }
  .product-grid[data-layout="list"] .product-name { font-size: 18px; }
  .product-grid[data-layout="list"] .product-spec { font-size: 16px; }
  .product-grid[data-layout="list"] .product-price { font-size: 22px; margin-top: 7px; }
  .product-grid[data-layout="list"] .product-actions { padding-top: 12px; max-width: 220px; }
  .pagination { gap: 6px; padding-top: 28px; }
  .page-button { font-size: 16px; padding-inline: 11px; }
  .home-hero { min-height: 238px; margin: 14px 0 24px; border-radius: 10px; }
  .home-hero::after { background: linear-gradient(90deg, rgb(248 246 240 / 88%) 0%, rgb(248 246 240 / 72%) 48%, rgb(248 246 240 / 12%) 100%); }
  .home-hero .banner-copy { align-self: center; width: 100%; padding: 18px; }
  .home-hero .banner-copy .eyebrow { font-size: 12px; line-height: 1.5; margin-bottom: 7px; letter-spacing: .12em; }
  .home-hero .banner-copy h1 { font-size: clamp(22px, 5.8vw, 26px); line-height: 1.3; }
  .home-hero .banner-copy p { font-size: 16px; margin-top: 8px; line-height: 1.5; max-width: none; }
  .home-hero .banner-copy .button { margin-top: 12px; min-height: 44px; min-width: 140px; padding: 10px 16px; font-size: 16px; }
  .home-hero .banner-photo { min-height: 0; aspect-ratio: auto; }
  .home-hero .banner-photo img { object-position: 68% 56%; }
  .home-product-rail { grid-auto-columns: calc((100% - 12px) / 2.12); gap: 12px; }
  .home-categories { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-categories>a, .home-category { min-height: 91px; padding: 17px; }
  .home-categories>a:nth-child(2n+1), .home-category:nth-child(2n+1) { border-left: 0; }
  .home-categories>a:nth-child(n+3), .home-category:nth-child(n+3) { border-top: 1px solid var(--line); }
  .home-categories strong, .home-categories h2, .home-categories h3 { font-size: 16px; }
  .home-categories p, .home-categories small, .home-categories span { font-size: 16px; }
  .home-trust { grid-template-columns: 1fr; gap: 0; margin-top: 22px; padding-top: 6px; }
  .home-trust>div { padding-block: 17px; }
  .home-trust>div+div { border-top: 1px solid var(--line); }
  .home-trust strong, .home-trust h2, .home-trust h3 { font-size: 16px; }
  .home-trust p, .home-trust small, .home-trust span { font-size: 16px; }
  .brand-note { margin-top: 34px; padding: 18px; font-size: 16px; border-radius: 8px; }
  .empty-state { padding: 52px 20px; }
  .empty-state h2, .empty-state h3 { font-size: 18px; }
  .empty-state p { font-size: 16px; }
  .product-detail { grid-template-columns: 1fr; gap: 24px; padding-bottom: 30px; }
  .detail-media { max-width: 520px; width: 100%; margin-inline: auto; border-radius: 9px; }
  .detail-info { padding-top: 0; }
  .detail-title { font-size: 25px; }
  .detail-category { font-size: 16px; }
  .detail-info>p { font-size: 16px; }
  .detail-info>.detail-price { font-size: 25px; margin-top: 17px; }
  .detail-facts { margin: 22px 0; padding: 17px 0; font-size: 16px; grid-template-columns: 75px minmax(0, 1fr); gap: 11px 12px; }
  .detail-total { padding-top: 20px; margin-top: 22px; font-size: 16px; }
  .detail-total strong { font-size: 23px; }
  .detail-actions { position: fixed; z-index: 65; bottom: 0; left: 0; right: 0; margin: 0; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgb(255 255 255 / 98%); border-top: 1px solid var(--line); box-shadow: 0 -3px 15px rgb(28 52 36 / 4%); gap: 8px; }
  .detail-actions .button { min-height: 48px; font-size: 16px; }
  body:has(.detail-actions) { padding-bottom: 82px; }
  .detail-tabs { top: 0; }
  .detail-tabs a, .detail-tabs button { padding: 16px 6px; font-size: 16px; }
  .detail-section { padding: 27px 0; scroll-margin-top: 78px; }
  .detail-section h2 { font-size: 19px; margin-bottom: 18px; }
  .detail-section p, .detail-section li { font-size: 16px; }
  .spec-table { font-size: 16px; }
  .spec-table th, .spec-table td { padding: 12px 10px; }
  .spec-table th, .spec-table td:first-child { width: 30%; min-width: 85px; }
  .notice { font-size: 16px; padding: 14px 16px; }
  .checkout-steps { justify-content: space-between; gap: 8px; font-size: 16px; padding-bottom: 22px; }
  .checkout-steps>li { flex: 1; min-width: 0; }
  .checkout-steps b { width: 22px; height: 22px; font-size: 16px; }
  .commerce-layout { grid-template-columns: 1fr; gap: 20px; padding-bottom: 15px; }
  .commerce-aside { position: static; }
  .panel { padding: 20px 18px; border-radius: 9px; margin-bottom: 15px; }
  .panel-title { font-size: 16px; margin-bottom: 20px; }
  .panel-title small { font-size: 16px; }
  .cart-toolbar { font-size: 16px; padding: 8px 0; }
  .cart-toolbar button { font-size: 16px; }
  .cart-item { grid-template-columns: 18px 64px minmax(0, 1fr) 44px; grid-template-areas: "select image info remove" "select image quantity quantity" "select image total total"; gap: 10px; padding: 20px 0; }
  .cart-image { width: 64px; }
  .cart-info { align-self: start; }
  .cart-name { font-size: 18px; line-height: 1.5; }
  .cart-meta { font-size: 16px; }
  .cart-quantity { grid-area: quantity; }
  .cart-line-total { grid-area: total; justify-self: start; font-size: 16px; margin-top: 0; }
  .remove-item { min-width: 44px; width: 44px; padding: 7px 4px; margin-right: 0; margin-top: -9px; font-size: 16px; }
  .cart-quantity .qty-control button { width: 38px; }
  .cart-quantity .qty-control input { width: 42px; }
  .summary-row { font-size: 16px; }
  .summary-total { font-size: 16px; padding-top: 18px; margin-top: 18px; }
  .summary-total strong, .summary-total b { font-size: 25px; }
  .summary-actions .button { min-height: 49px; }
  .mobile-orderbar { position: fixed; display: flex; justify-content: space-between; align-items: center; gap: 16px; z-index: 65; bottom: 0; left: 0; right: 0; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgb(255 255 255 / 98%); border-top: 1px solid var(--line); box-shadow: 0 -3px 15px rgb(28 52 36 / 4%); }
  .mobile-orderbar .button { min-height: 48px; flex: 1; max-width: 230px; padding-inline: 12px; font-size: 16px; }
  .mobile-orderbar>div { display: flex; flex-direction: column; min-width: 0; flex: none; }
  .mobile-orderbar small { font-size: 16px; color: var(--muted); }
  .mobile-orderbar strong { font-size: 19px; font-weight: 800; color: var(--forest); letter-spacing: -.04em; }
  body:has(.mobile-orderbar) { padding-bottom: 80px; }
  body:has(.mobile-orderbar) .summary-actions>.button-primary { display: none; }
  .checkout-item { grid-template-columns: 58px minmax(0, 1fr); gap: 5px 12px; }
  .checkout-thumb { width: 58px; grid-row: 1 / 3; }
  .checkout-item-info { font-size: 18px; }
  .checkout-item-info p, .checkout-item-info small { font-size: 16px; }
  .checkout-item-price { font-size: 16px; grid-column: 2; }
  .form-grid { grid-template-columns: 1fr; gap: 20px; }
  .field-full { grid-column: auto; }
  .field input:not([type="checkbox"]):not([type="radio"]), .field textarea, .field select { font-size: 16px; }
  .field label { font-size: 16px; }
  .address-row .button { min-width: 92px; padding-inline: 10px; font-size: 16px; }
  .agree-row { font-size: 16px; gap: 9px; }
  .all-agree { font-size: 16px; }
  .preview-note, .inline-error { font-size: 16px; }
  .checkout-submit { min-height: 52px; }
  .checkout-note { font-size: 16px; }
  .order-success { padding: 35px 22px; margin: 30px auto; }
  .order-success h1, .order-success h2 { font-size: 22px; }
  .order-success p { font-size: 16px; }
  .track-form { margin-bottom: 30px; }
  .order-record { padding: 18px; }
  .naim-guide { padding-top: 25px; }
  .ng-head { margin-bottom: 23px; }
  .ng-eyebrow { font-size: 16px; }
  .ng-head h2 { font-size: 26px; }
  .ng-head p { font-size: 16px; }
  .ng-grid { grid-template-columns: 1fr; gap: 16px; }
  .ng-wide { grid-column: auto; }
  .ng-box { padding: 21px 18px; border-radius: 9px; }
  .ng-box h3 { font-size: 16px; margin-bottom: 17px; gap: 8px; }
  .ng-num { width: 25px; height: 25px; font-size: 16px; }
  .ng-box h4 { font-size: 16px; margin-top: 23px; }
  .ng-box p, .ng-box li { font-size: 16px; }
  .ng-box li+li { margin-top: 8px; }
  .ng-addr { font-size: 16px; padding: 13px 14px; }
  .ng-box table { font-size: 16px; }
  .ng-box th, .ng-box td { padding: 11px 8px; }
  .ng-box th:nth-child(2), .ng-box td:nth-child(2) { width: 16%; }
  .ng-note { padding: 14px; }
  .ng-note p, .ng-foot { font-size: 16px; }
  .ng-value { font-size: 16px; }
  .site-footer { margin-top: 36px; padding: 28px 0 24px; }
  .footer-grid { flex-direction: column; gap: 20px; padding-bottom: 20px; }
  .footer-links { justify-content: flex-start; gap: 6px 16px; padding: 0; font-size: 16px; }
  .footer-grid p { font-size: 16px; margin-top: 10px; }
  .legal { font-size: 16px; padding-top: 18px; }
  .toast { bottom: 16px; }
  .toast-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; padding: 10px 13px; gap: 7px; font-size: 16px; }
  .toast-inner>span { grid-column: 1; }
  .toast-inner>a { grid-column: 1; padding-left: 0; justify-self: start; }
  .toast-inner>button { grid-column: 2; grid-row: 1 / 3; }
  .toast-inner a, .toast-inner button { font-size: 16px; padding-inline: 7px; }
  body:has(.detail-actions) .toast, body:has(.mobile-orderbar) .toast { bottom: calc(88px + env(safe-area-inset-bottom)); }
}

@media (max-width: 360px) {
  .wrap { width: calc(100% - 24px); }
  .header-categories, .header-nav { gap: 20px; }
  .shop-banner { grid-template-columns: 1.2fr .8fr; }
  .banner-copy { padding-left: 16px; }
  .banner-copy h1 { font-size: 20px; }
  .category-tabs { margin-inline: -12px; padding-inline: 12px; }
  .category-tabs button, .category-tabs a { padding-inline: 12px; }
  .product-grid { gap: 24px 10px; }
  .product-name { font-size: 18px; }
  .product-actions .button { font-size: 16px; }
  .product-grid[data-layout="list"] .product-card { grid-template-columns: 92px minmax(0, 1fr); gap: 12px; }
  .product-grid[data-layout="list"] .product-image { width: 92px; }
  .cart-item { grid-template-columns: 18px 60px minmax(0, 1fr) 44px; gap: 9px; }
  .cart-image { width: 60px; }
  .checkout-steps { gap: 8px; font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media print {
  .announcement, .site-header, .site-footer, .detail-actions, .mobile-orderbar, .toast { display: none !important; }
  .wrap { width: 100%; }
  .commerce-layout { display: block; }
  .commerce-aside { position: static; }
  .panel { break-inside: avoid; }
}

/* Same-page confirmation after adding a product. Native dialog keeps keyboard focus inside. */
.skip-link { position: fixed; z-index: 200; top: -80px; left: 16px; background: white; color: var(--forest); padding: 12px; box-shadow: var(--shadow); }
.skip-link:focus { top: 10px; }
.added-dialog { width: min(560px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 1px solid var(--line); border-radius: 14px; color: var(--ink); box-shadow: 0 24px 90px #10291f33; }
.added-dialog::backdrop { background: #10291f55; }
.added-heading { display: flex; align-items: center; justify-content: space-between; padding: 16px 22px; border-bottom: 1px solid var(--line); }
.added-heading h2 { font-size: 17px; }
.added-heading button { width: 44px; height: 44px; font-size: 28px; color: var(--body); }
.added-product { display: grid; grid-template-columns: 116px minmax(0,1fr); gap: 22px; padding: 24px; align-items: center; }
.added-image { aspect-ratio: 1; background: var(--wash); overflow: hidden; border-radius: 6px; }
.added-image img { width: 100%; height: 100%; object-fit: contain; }
.added-product p { margin-top: 7px; font-size: 16px; color: var(--body); }
.added-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 0 24px 20px; }
.added-actions button:last-child { grid-column: 1/-1; }
.detail-quantity { display: flex; justify-content: space-between; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); }
.unit-note { font-size: 16px; color: var(--muted); }
.detail-section>p { margin: 16px 0; }
.detail-facts div { display: grid; grid-template-columns: 90px 1fr; gap: 12px; }
.detail-facts dd { margin: 0; }
.catalog-page { padding-bottom: 15px; }
.guide-page { padding-top: 42px; }
.home-categories svg { width: 28px; height: 28px; }
.home-categories b { margin-left: auto; }
.track-form .field { margin-bottom: 20px; }
.home-hero .button, .shop-banner .button { margin-top: 24px; }
@media(max-width:760px) {
 .added-heading { padding: 10px 14px; }
 .added-heading h2 { font-size: 16px; }
 .added-product { grid-template-columns: 92px minmax(0,1fr); padding: 20px 16px; gap: 16px; }
 .added-product strong { font-size: 18px; }
 .added-actions { padding: 0 16px 16px; }
 .added-actions .button { font-size: 16px; padding-inline: 8px; }
 .unit-note { font-size: 16px; }
}

/* Sale units remain readable beside prices, including on narrow product cards. */
.product-sale-summary,.purchase-unit-summary {color:var(--forest);font-size:16px;line-height:1.65;font-weight:650;overflow-wrap:anywhere}
.product-info .product-sale-summary {margin-top:9px}
.product-info .unit-note {display:block;line-height:1.7;margin-top:5px}
.detail-info>.purchase-unit-summary {padding:12px 14px;background:var(--forest-soft);border-radius:8px;color:var(--forest);margin-top:18px}
.minimum-price {font-size:16px;line-height:1.8;color:var(--body);overflow-wrap:anywhere}
.minimum-price strong {font-size:20px;font-weight:750;color:var(--forest)}
.minimum-price span {white-space:normal}
.small-quantity-guide-link,.purchase-guide-callout {display:flex;align-items:center;justify-content:space-between;gap:14px;padding:17px 20px;border:1px solid #cbd8cd;border-radius:9px;background:#f3f6ed;color:var(--forest);font-size:16px;font-weight:650;line-height:1.7;text-decoration:none;overflow-wrap:anywhere}
.small-quantity-guide-link:hover,.purchase-guide-callout:hover {background:var(--forest-soft)}
.small-quantity-guide-link>span {flex:none}
.home-small-quantity {margin-top:28px}
.detail-purchase-link {margin-top:20px;padding:13px 16px}
.product-sale-guide {padding:26px;margin:25px 0;background:#f7f7ef;border:1px solid #d7e1d4;border-radius:12px;font-size:16px;line-height:1.9;overflow-wrap:anywhere}
.product-sale-guide h3 {font-size:21px;color:var(--forest);margin:0 0 16px}
.product-sale-guide p {margin:12px 0}
.product-sale-guide dl {margin:20px 0}
.product-sale-guide dl>div {display:grid;grid-template-columns:105px minmax(0,1fr);gap:14px;padding:12px 0;border-bottom:1px solid var(--line)}
.product-sale-guide dt {color:var(--muted)}
.product-sale-guide dd {margin:0}
.purchase-packaging {font-size:16px;line-height:1.9;color:var(--body);overflow-wrap:anywhere}
.related-products {margin:35px 0 55px;padding-top:30px;border-top:1px solid var(--line)}
.related-products>h2 {font-size:24px;line-height:1.5;color:var(--forest);margin-bottom:24px}
.related-products>.small-quantity-guide-link {margin-top:25px}
.small-quantity-guide {padding-bottom:50px;font-size:16px;line-height:1.9;overflow-wrap:anywhere}
.small-quantity-guide h2 {font-size:25px;line-height:1.5;color:var(--forest)}
.small-quantity-guide h3 {font-size:21px;line-height:1.5;color:var(--forest)}
.small-guide-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin:26px 0}
.small-guide-product {min-width:0;padding:26px;border:1px solid var(--line);border-radius:12px;background:#fffdf8}
.small-guide-product p {margin:12px 0}
.small-guide-product .button {white-space:normal;text-align:center}
.small-guide-product img {max-width:100%;height:auto}
@media(max-width:760px){.product-sale-guide{padding:20px 17px}.product-sale-guide dl>div{grid-template-columns:1fr;gap:4px}.product-sale-guide dt{font-weight:650}.small-quantity-guide-link,.purchase-guide-callout{padding:15px 16px}.product-sale-summary,.purchase-unit-summary{font-size:16px}.related-products>h2{font-size:22px}.small-guide-grid{grid-template-columns:1fr;gap:18px}.small-guide-product{padding:22px 18px}.small-quantity-guide h2{font-size:23px}.small-quantity-guide h3{font-size:20px}}
