@font-face {
  font-family: "Barlow Condensed";
  src: url(fonts/barlowcondensed.woff2) format("woff2");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url(fonts/dmsans.woff2) format("woff2");
  font-weight: 400 750;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans Devanagari";
  src: url(fonts/notosansdevanagari.woff2) format("woff2");
  font-weight: 400 650;
  font-display: swap;
}

:root {
  color-scheme: light;
  --page: #f8f8f2;
  --ink: #1b2b20;
  --muted: #4b5c50;
  --green: #244533;
  --line: #d9ded2;
  --image-outline: 1px solid oklch(0 0 0 / 0.1);
  --shadow-border: 0 0 0 1px oklch(0 0 0 / 0.06),
    0 1px 2px -1px oklch(0 0 0 / 0.06),
    0 2px 4px oklch(0 0 0 / 0.04);
  --shell: min(1480px, calc(100% - 88px));
  --font-display: "Barlow Condensed", "Arial Narrow", "DM Sans", sans-serif;
  --font-body: "DM Sans", Arial, sans-serif;
  --text-caption: .8125rem;
  --text-control: .875rem;
  --text-body: 1rem;
  --text-card: clamp(1rem, .88rem + .48vw, 1.375rem);
  --space-inline: clamp(16px, 4vw, 64px);
  font-family: var(--font-body);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: var(--ink);
  background: var(--page);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
html { scroll-behavior: smooth; }
a { color: inherit; text-underline-offset: .25em; text-decoration-thickness: from-font; }
:lang(ne) { font-family: "Noto Sans Devanagari", "Kohinoor Devanagari", sans-serif; }
h2, h3 { text-wrap: balance; overflow-wrap: break-word; }
:is(.hero-description, .catalogue-heading p, .detail-description) { text-wrap: pretty; }
:is(.dock-price, .product-price, .bag-count, .bag-line strong, .bag-total strong, .quantity span, .hero-specs dd) { font-variant-numeric: tabular-nums; }
button, select { font: inherit; color: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
button:focus-visible, a:focus-visible, select:focus-visible { outline: 2px solid #657e30; outline-offset: 4px; }
h1, h2, h3, p, dl, dd { margin: 0; }
svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }
.icon-library { display: none; }
.shell { width: var(--shell); margin-inline: auto; }
.visually-hidden, .skip-link:not(:focus) { position: absolute; clip-path: inset(50%); overflow: hidden; width: 1px; height: 1px; white-space: nowrap; }
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 5; padding: 12px; background: white; }

.site-header { min-height: 84px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.brand { justify-self: start; }
.brand img { height: 56px; width: auto; }
.site-header nav { display: flex; align-items: center; gap: clamp(20px, 3.5vw, 55px); }
.site-header nav a { text-decoration: none; color: var(--muted); font-size: var(--text-control); font-weight: 600; }
.site-header nav a:hover { text-decoration: underline; color: var(--ink); }
.bag-button { justify-self: end; display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 6px 9px 6px 13px; border: 1px solid var(--line); border-radius: 99px; background: transparent; font-size: var(--text-control); font-weight: 650; }
.bag-button:hover { background: #e9eddf; }
.bag-button svg { width: 18px; height: 18px; stroke-width: 2; }
.bag-count { display: grid; place-items: center; min-width: 25px; height: 25px; padding-inline: 4px; border-radius: 99px; background: #e6ebdb; font-size: 12px; }

.hero { --split: 58%; --feature: #38533b; --hero-left: #edf0e4; --hero-text-light: #dceab5; --studio-axis: 90deg; --photo-align: -50%; scroll-margin-top: 16px; }
.hero:dir(rtl) { --studio-axis: 270deg; --photo-align: 50%; }
.hero-layout { position: relative; isolation: isolate; display: grid; grid-template-columns: var(--split) 1fr; grid-template-rows: 1fr auto; min-height: 588px; border-radius: 22px; overflow: hidden; background: linear-gradient(112deg, #fff7, transparent 57%), linear-gradient(var(--studio-axis), var(--hero-left) var(--split), var(--feature) var(--split)); }
.hero-word { position: absolute; z-index: -1; inset: 34px 0 auto; text-align: center; white-space: nowrap; color: transparent; background: linear-gradient(var(--studio-axis), #253d2c20 var(--split), #e2edc92b var(--split)); background-clip: text; font: 700 clamp(5rem, 19.6vw, 18rem)/.82 var(--font-display); letter-spacing: -.025em; pointer-events: none; }
.hero-copy { grid-column: 1; padding-block: 32px 20px; padding-inline-start: var(--space-inline); z-index: 2; align-self: start; width: min(440px, 76%); }
.hero-origin { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: var(--text-caption); font-weight: 600; }
.hero-origin span { width: 15px; height: 1px; background: #839684; }
#hero-summary { padding-top: 58px; }
.native-name { color: var(--muted); font-size: var(--text-control); font-weight: 550; line-height: 1.55; }
.hero h2 { max-inline-size: 12ch; min-block-size: 2em; align-content: end; font: 700 clamp(2.625rem, 4.6vw, 4.5rem)/1 var(--font-display); letter-spacing: -.015em; }
#hero-native { margin-top: 6px; }
.hero-description { margin-top: 12px; max-inline-size: 34ch; min-block-size: 4.5em; color: var(--muted); font-size: var(--text-body); line-height: 1.5; }
.control-dock { display: inline-flex; align-items: center; gap: 8px; width: max-content; max-width: 100%; margin-top: 16px; min-height: 58px; padding: 6px 6px 6px 14px; border: 1px solid #fff9; border-radius: 29px; background: #fff9; box-shadow: var(--shadow-border); backdrop-filter: blur(20px) saturate(160%); }
.dock-price { white-space: nowrap; font-size: var(--text-body); }
.pack-control select { display: block; min-height: 44px; min-width: 63px; padding: 0 5px; border: 1px solid var(--line); border-radius: 22px; background: #fafbf7; color: var(--ink); font-size: var(--text-caption); cursor: pointer; }
.solid-button { display: inline-grid; place-items: center; min-height: 44px; padding: 10px 15px; border: 0; border-radius: 22px; color: #fff; background: var(--green); font-size: var(--text-control); font-weight: 650; text-decoration: none; white-space: nowrap; }
.solid-button:hover { background: #365c45; }
.solid-button, .bag-button, .icon-button, .preview, .filter, .quantity button { transition: scale 150ms ease-out, background-color 150ms ease-out; }
:is(.solid-button, .bag-button, .icon-button, .preview, .filter, .quantity button):active:not(:disabled) { scale: .96; }

.hero-art { z-index: 1; pointer-events: none; position: absolute; inset-block-start: 52px; inset-inline-start: 58%; width: clamp(235px, 32vw, 468px); height: 422px; translate: var(--photo-align) 0; }
.hero-photos { position: absolute; inset: 0; }
.hero-shot { --contact: 52%; position: absolute; inset: 0; opacity: 0; transform-origin: center bottom; }
.hero-shot.is-active { z-index: 1; opacity: 1; }
.hero-shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: bottom center; }
.hero-shot::before { content: ''; position: absolute; bottom: -8px; left: 50%; width: var(--contact); height: 16px; border-radius: 50%; transform: translateX(-34%) skewX(-28deg); background: #18231564; filter: blur(9px); }
.hero-shot[data-hero-shot^="mustard"] { --contact: 24%; }
.hero-photo-status {
  position: absolute;
  z-index: 2;
  inset: auto 0 12% 0;
  margin-inline: auto;
  width: fit-content;
  max-width: 100%;
  color: var(--ink);
  font-size: var(--text-control);
  line-height: 1.4;
  text-align: center;
}
.hero-photo-status:not(:empty) {
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--page);
  box-shadow: var(--shadow-border);
}
.slide-rail { position: absolute; inset-inline-end: clamp(17px, 3vw, 48px); top: 50%; translate: 0 -50%; display: grid; }
.slide-dot { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; color: #f0f1dd; }
.slide-dot::after { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.slide-dot[aria-pressed="true"]::after { width: 14px; height: 14px; border: 1px solid currentColor; background: transparent; box-shadow: inset 0 0 0 3px var(--feature), inset 0 0 0 6px currentColor; }
.slide-dot:hover::after { opacity: .72; }
.slide-dot:focus-visible { outline-color: #f0f1dd; }
.hero-previews { z-index: 2; grid-area: 2 / 1; width: min(100%, 421px); padding-block-end: 27px; padding-inline-start: var(--space-inline); }
.preview-heading { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 8px; font-size: var(--text-caption); font-weight: 650; }
.carousel-controls { display: flex; gap: 5px; }
.icon-button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: var(--page); box-shadow: var(--shadow-border); }
.icon-button:hover { background: #e5eadb; }
.icon-button svg { width: 20px; height: 20px; stroke-width: 2; }
.carousel-controls .icon-button { background: #f8f8f2b8; }
.carousel-controls .icon-button:hover { background: var(--page); }
.carousel-controls .icon-button svg { width: 16px; height: 16px; }
#slide-prev svg { rotate: 180deg; }
.carousel-controls:dir(rtl) svg { scale: -1 1; }
.preview-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.preview { display: grid; grid-template-rows: 47px auto; align-items: center; justify-items: center; gap: 5px; padding: 6px 3px; border: 1px solid transparent; border-radius: 10px; background: var(--stage); box-shadow: var(--shadow-border); font-size: 12px; line-height: 1.2; font-weight: 650; text-align: center; }
.preview:hover { background-color: #f8f9ef; }
.preview[aria-pressed="true"] { border-color: #536c49; background-color: #f8f9ef; }
.preview img { max-width: 75%; max-height: 100%; width: auto; height: 100%; object-fit: contain; }
.hero-specs { z-index: 2; grid-area: 2 / 2; align-self: end; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 22px; margin-block-end: 38px; margin-inline: max(26px, 10%) var(--space-inline); padding-top: 15px; border-top: 1px solid #edf0d94a; color: #fff; font-size: var(--text-caption); }
.hero-specs dt { margin-bottom: 6px; color: var(--hero-text-light); font-size: var(--text-caption); }
.hero-specs dd { line-height: 1.35; }

.catalogue { padding-top: clamp(44px, 5vw, 76px); scroll-margin-top: 24px; }
.catalogue-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; padding-bottom: 24px; }
.catalogue-heading h2 { font: 700 clamp(3.5rem, 7.8vw, 7rem)/.9 var(--font-display); letter-spacing: -.015em; }
.catalogue-heading h2 span { color: #708053; }
.catalogue-heading p { max-inline-size: 36ch; color: var(--muted); font-size: var(--text-body); line-height: 1.5; }
.catalogue-toolbar { display: grid; grid-template: "filters sort" auto "count count" auto / minmax(0, 1fr) auto; align-items: center; gap: 14px 24px; padding-block: 14px 16px; border-block-start: 1px solid var(--line); }
.filters { grid-area: filters; display: flex; flex-wrap: wrap; gap: 6px; }
.filter { min-height: 40px; padding: 7px 11px; border-radius: 99px; background: transparent; border: 1px solid transparent; font-size: var(--text-control); font-weight: 600; white-space: nowrap; }
.filter:hover { border-color: var(--line); }
.filter[aria-pressed="true"] { color: white; background: var(--green); }
.sort { grid-area: sort; justify-self: end; display: flex; align-items: center; flex-shrink: 0; gap: 7px; color: var(--muted); font-size: var(--text-caption); }
.sort select { min-height: 40px; max-inline-size: 100%; padding-inline: 8px; border: 1px solid var(--line); border-radius: 7px; background: transparent; font-size: var(--text-caption); color: var(--ink); }
.product-count { grid-area: count; color: var(--muted); font-size: var(--text-caption); }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px clamp(12px, 1.6vw, 24px); }
.product { min-width: 0; }
.product-link { display: flex; flex-direction: column; min-inline-size: 0; height: 100%; text-decoration: none; }
.product-link:is(:hover, :focus-visible) .product-name { text-decoration: underline; }
.product-stage { position: relative; isolation: isolate; display: grid; place-items: center; width: 100%; aspect-ratio: 1.13; overflow: hidden; border-radius: 14px; outline: var(--image-outline); outline-offset: -1px; background: linear-gradient(128deg, #fff8, transparent 66%), var(--stage); }
.product-stage img { position: absolute; z-index: 1; inset: 11.5% 15%; width: 70%; height: 77%; object-fit: contain; }
.product-stage::before { content: ''; position: absolute; left: 43%; top: 86%; width: var(--contact, 34%); height: 4%; border-radius: 50%; background: #2b38294d; filter: blur(7px); transform: skewX(-28deg); }
.product-stage:has(img[src*="mustard"]) { --contact: 23%; }
.product-meta { display: flex; flex: 1; flex-direction: column; align-items: start; gap: 3px; padding-block: 12px 10px; border-block-end: 1px solid var(--line); }
.product-native { color: var(--muted); font-size: var(--text-caption); line-height: 1.4; }
.product-name { font-size: var(--text-card); font-weight: 750; line-height: 1.16; letter-spacing: -.025em; }
.product-price { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 4px 10px; align-self: stretch; margin-top: auto; padding-top: 5px; line-height: 1.4; }
.product-price strong { font-size: var(--text-control); }
.product-price span { color: var(--muted); font-size: var(--text-caption); }

.site-footer {
  margin-top: clamp(40px, 6vw, 80px);
  background: #1f4e3d;
  color: rgb(255 255 255 / 75%);
}
.footer-inner { max-width: 1240px; margin-inline: auto; padding: 40px 20px 28px; }
.footer-columns { display: grid; gap: 28px; border-top: 1px solid rgb(255 255 255 / 15%); padding-top: 32px; }
.footer-brand a { display: inline-block; margin-bottom: 8px; }
.footer-brand img { height: 56px; width: auto; }
.footer-brand p { max-width: 36ch; font-size: var(--text-caption); line-height: 1.6; }
.footer-links h2 {
  margin-bottom: 14px;
  color: #fff;
  font-size: var(--text-caption);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.footer-links a { display: block; width: fit-content; margin-bottom: 8px; font-size: var(--text-control); text-decoration: none; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.site-footer a:focus-visible { outline-color: #fff; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 16px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgb(255 255 255 / 10%);
  font-size: .75rem;
}
@media (min-width: 768px) {
  .footer-inner { padding-inline: 32px; }
  .footer-columns { grid-template-columns: 2fr 1fr 1fr; }
}

dialog { max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: 26px; background: var(--page); color: var(--ink); box-shadow: var(--shadow-border); }
dialog::backdrop { background: #0e1e17a0; }
body:has(dialog[open]) { overflow: hidden; }
.product-dialog { width: min(680px, calc(100% - 28px)); }
.dialog-close { position: absolute; z-index: 3; inset-block-start: 12px; inset-inline-end: 12px; }
.detail { display: grid; grid-template-columns: .88fr 1fr; gap: 20px; padding: 12px; }
.detail .product-stage { min-height: 270px; aspect-ratio: auto; }
.detail-content { padding-block: 36px 12px; padding-inline-end: 10px; }
.detail h2 { margin-block-start: 3px; font: 700 clamp(2.125rem, 4vw, 3rem)/1.05 var(--font-display); letter-spacing: -.01em; }
.detail .native-name { margin-block: 6px 12px; }
.detail-description { max-inline-size: 40ch; color: var(--muted); line-height: 1.5; }
.detail .control-dock { border-color: var(--line); }
.detail .photo-note { color: var(--muted); margin-top: 12px; font-size: 12px; line-height: 1.4; }
.bag-dialog { position: fixed; inset: 0 0 0 auto; width: min(460px, 100%); height: 100dvh; max-height: none; max-width: 100%; margin: 0; border-radius: 14px 0 0 14px; padding: 20px; }
.bag-dialog[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.bag-items { overflow-y: auto; padding-inline: 4px; margin-inline: -4px; }
.bag-dialog header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.bag-dialog h2 { font: 700 2.5rem/1 var(--font-display); letter-spacing: -.01em; }
.bag-empty { display: grid; justify-items: center; text-align: center; gap: 14px; margin: 55px 0 24px; }
.bag-empty svg { width: 34px; height: 34px; }
.bag-empty h3 { font-size: 21px; letter-spacing: -.02em; }
.bag-line { display: grid; grid-template-columns: 62px 1fr auto; align-items: start; gap: 12px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.bag-line img { width: 100%; height: 77px; object-fit: contain; background: #e9edde; padding: 6px; border-radius: 8px; outline: var(--image-outline); outline-offset: -1px; }
.bag-line h3, .bag-line strong { font-size: var(--text-control); }
.bag-line p { margin: 4px 0; color: var(--muted); font-size: var(--text-caption); }
.quantity { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; font-size: var(--text-caption); }
.quantity button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: transparent; font-size: var(--text-body); }
.quantity button:hover:not(:disabled) { background: #e8edde; }
.quantity button:disabled { cursor: default; opacity: .45; }
.quantity .remove-line { border: 0; background: transparent; width: auto; padding: 0 4px; border-radius: 0; color: var(--muted); font-size: 12px; text-decoration: underline; }
.bag-total { border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 15px; padding: 20px 0; font-size: 15px; }
.bag-total[hidden] { display: none; }
.toast { position: fixed; z-index: 4; right: 18px; bottom: 18px; max-width: calc(100% - 36px); padding: 13px 16px; border-radius: 9px; color: white; background: var(--green); font-size: var(--text-control); }
.toast:empty { display: none; }

@media (max-width: 1120px) {
  :root { --shell: calc(100% - 56px); }
  .hero-art { height: 389px; }
  .hero-previews { width: min(100%, 375px); }
  .hero-copy { width: min(360px, 66%); }
  #hero-summary { padding-top: 65px; }
}
@media (max-width: 900px) {
  .hero-layout { min-height: 550px; }
  .hero-art { width: 33vw; height: 326px; top: 73px; inset-inline-start: 64%; }
  .hero-copy { width: min(312px, 72%); }
  .hero-description { max-inline-size: 29ch; }
  .hero-previews { width: min(100%, 312px); }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 850px) {
  .catalogue-toolbar { grid-template-areas: "filters filters" "count sort"; }
}
@media (max-width: 650px) {
  :root { --shell: calc(100% - 28px); --space-inline: 16px; }
  .site-header { min-height: 65px; grid-template-columns: minmax(0, 1fr) auto auto; gap: 10px; }
  .brand img { height: 48px; }
  .site-header nav a:not([href="#catalogue"]) { display: none; }
  .site-header nav a { display: grid; align-items: center; min-height: 44px; white-space: nowrap; font-size: var(--text-caption); }
  .bag-label { position: absolute; clip-path: inset(50%); }
  .bag-button { gap: 5px; padding: 5px 7px; }
  .bag-count { min-width: 22px; height: 22px; }
  .hero { --split: 56%; --photo-zone: clamp(198px, 57vw, 264px); }
  .hero-layout { min-height: 0; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto var(--photo-zone) auto auto auto; border-radius: 14px; background: linear-gradient(var(--studio-axis), var(--hero-left) var(--split), var(--feature) var(--split)) 0 0 / 100% calc(35px + var(--photo-zone)) no-repeat, var(--hero-left); }
  .hero-word { inset: 54px 0 auto; font-size: clamp(3.5rem, 19vw, 7rem); }
  .hero-copy { display: contents; }
  .hero-origin { grid-area: 1 / 1; z-index: 2; gap: 6px; padding: 20px 16px 0; font-size: 12px; }
  .hero-origin span { width: 10px; }
  #hero-summary { grid-area: 3 / 1; z-index: 2; padding: 14px 16px 0; }
  .hero h2 { max-inline-size: none; min-block-size: 1em; font-size: clamp(2.25rem, 9.5vw, 3.625rem); }
  .hero-description { max-inline-size: 34ch; margin-top: 8px; }
  .pack-control select, .sort select { font-size: var(--text-body); }
  .control-dock { grid-area: 4 / 1; z-index: 2; margin: 13px 16px 0; }
  .hero-art { top: 41px; inset-inline-start: 56%; width: min(56vw, 320px); height: calc(var(--photo-zone) - 28px); }
  .slide-rail { top: calc(18px + var(--photo-zone) / 2); inset-inline-end: 4px; }
  .hero-specs { display: none; }
  .hero-previews { grid-area: 5 / 1; width: 100%; padding: 8px 16px 16px; }
  .preview { grid-template-rows: 38px minmax(2.4em, auto); padding: 5px 4px; font-size: .75rem; }
  .catalogue { padding-top: 46px; }
  .catalogue-heading { display: block; padding-bottom: 20px; }
  .catalogue-heading p { margin-top: 12px; }
  .catalogue-toolbar { padding-block: 12px 16px; gap: 12px 8px; }
  .filters { max-width: 100%; gap: 4px; }
  .filter { font-size: var(--text-caption); padding-inline: 9px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
  .product-stage { border-radius: 10px; }
  .product-price { display: grid; }
}
@media (max-width: 520px) {
  .detail { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 12px; }
  .product-dialog { border-radius: 22px; }
  .detail .product-stage { min-height: 195px; height: 37dvh; max-height: 245px; }
  .detail-content { padding: 13px 4px 4px; }
  .detail .control-dock { margin-inline: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .solid-button, .bag-button, .icon-button, .preview, .filter, .quantity button { transition: none; }
  :is(.solid-button, .bag-button, .icon-button, .preview, .filter, .quantity button):active:not(:disabled) { scale: 1; }
}
