.ks-page {
  width: min(90%, 1440px);
  margin-inline: auto;
  padding: 26px 0 clamp(64px, 8vw, 116px);
  color: var(--ink, #162c24);
  font-family: var(--sans, "DM Sans", Arial, sans-serif);
}
.ks-page *, .ks-page *::before, .ks-page *::after { box-sizing: border-box; }
.ks-page a { color: inherit; text-decoration: none; }
.ks-page button, .ks-page input, .ks-page select { font: inherit; }
.ks-page button, .ks-page select { cursor: pointer; }
.ks-page :is(a, button, input, select):focus-visible { outline: 2px solid #527e65; outline-offset: 4px; }
.ks-page h1, .ks-page h2, .ks-page p, .ks-page dl, .ks-page dd { margin: 0; }
.ks-page h1, .ks-page h2 { font-family: var(--serif, 'Instrument Serif', Georgia, serif); font-weight: 400; }
.ks-page h1 { font-size: clamp(52px, 6.4vw, 98px); line-height: 1; letter-spacing: -.034em; }
.ks-crumb { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; font-size: 12px; color: #53635a; }
.ks-crumb a:hover, .ks-continue:hover, .ks-cart-info h2 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ks-crumb [aria-current] { color: var(--ink); }
.ks-page-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; padding: clamp(36px, 5vw, 72px) 0 clamp(24px, 3vw, 42px); }
.ks-page-heading > span { font-size: .9rem; }
.ks-filter-list { display: flex; flex-wrap: wrap; gap: 8px; }
.ks-filter-list a { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 7px 19px; font-size: 14px; border: 1px solid var(--line); border-radius: 24px; }
.ks-filter-list a:hover { border-color: var(--green); }
.ks-filter-list a[aria-current="page"] { background: var(--green); color: white; border-color: var(--green); }
.ks-results-bar { margin: 23px 0; padding: 13px 0; display: flex; justify-content: space-between; align-items: center; border-block: 1px solid var(--line); font-size: 13px; color: #53635a; }
.ks-results-bar label { display: inline-flex; align-items: center; gap: 6px; }
.ks-results-bar select { max-width: 145px; color: var(--ink); border: 0; background: transparent; padding: 7px 0 7px 4px; }
.ks-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 38px clamp(14px, 2.3vw, 34px); }
.ks-item { display: block; min-width: 0; }
.ks-item-photo { position: relative; background: #e5e6dd; aspect-ratio: 1.38; overflow: hidden; }
.ks-item-photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease-out; }
.ks-item:hover .ks-item-photo img { transform: scale(1.035); }
.ks-item-photo .ks-tag { position: absolute; left: 11px; top: 11px; }
.ks-tag { display: inline-flex; gap: 7px; align-items: center; padding: 5px 9px; background: #f8f8f2; color: #21392d; border-radius: 2px; font-size: 11px; line-height: 1.25; white-space: nowrap; font-weight: 600; }
.ks-tag i { width: 6px; height: 6px; border-radius: 50%; background: #5d7952; }
.ks-tag-preorder i { background: #a57732; }
.ks-tag-archive i { background: #777c78; }
.ks-card-meta, .ks-maker { color: #566659; font-size: 11px; font-weight: 600; letter-spacing: .095em; text-transform: uppercase; }
.ks-card-meta { margin: 18px 0 7px; }
.ks-card-meta span, .ks-maker span { margin: 0 5px; opacity: .65; }
.ks-item-title { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.ks-item-title h2 { font-size: clamp(28px, 3vw, 43px); line-height: 1.08; letter-spacing: -.02em; }
.ks-item-title > span { font-size: 19px; }
.ks-item-price { padding-top: 7px; font-size: 14px; }
.ks-search { display: flex; border-bottom: 1px solid var(--green); max-width: 700px; gap: 16px; padding: 4px 0 10px; }
.ks-search input { min-width: 0; flex: 1; background: transparent; border: 0; padding: 10px 3px; color: var(--ink); font-size: clamp(16px, 1.8vw, 22px); }
.ks-search button { display: flex; align-items: center; gap: 12px; border: 0; background: transparent; color: var(--green); font-weight: 600; }
.ks-visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.ks-empty { grid-column: 1 / -1; text-align: center; border-block: 1px solid var(--line); padding: clamp(48px, 8vw, 100px) 16px; }
.ks-empty h2 { font-size: clamp(35px, 4vw, 62px); line-height: 1; }
.ks-empty p { color: #58675c; margin: 14px 0 0; }
.ks-empty .ks-button { margin-top: 26px; }
.ks-button { display: inline-flex; gap: 16px; justify-content: space-between; align-items: center; min-height: 48px; border: 1px solid transparent; border-radius: 2px; padding: 12px 20px; font-family: inherit; line-height: 1.4; font-weight: 600; font-size: 14px; }
.ks-page .ks-primary { background: var(--green, #204d3c); color: #fff; }
.ks-page .ks-primary:hover { background: #183a2e; }
.ks-product-layout { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(0,1fr); gap: clamp(32px, 5.2vw, 88px); margin-top: clamp(25px, 3vw, 45px); align-items: start; }
.ks-gallery { min-width: 0; }
.ks-main-photo { aspect-ratio: 1.19; background: #e7e7de; }
.ks-main-photo img { width: 100%; height: 100%; display: block; object-fit: contain; }
.ks-thumbs { display: flex; align-items: center; gap: 9px; overflow-x: auto; padding: 8px 3px; }
.ks-thumbs button { border: 1px solid transparent; padding: 2px; flex: 0 0 78px; height: 58px; background: transparent; }
.ks-thumbs button[aria-pressed="true"] { border-color: var(--ink); }
.ks-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ks-buy-panel { padding-top: 5px; min-width: 0; }
.ks-buy-panel h1 { margin: 12px 0 17px; font-size: clamp(46px, 5vw, 79px); line-height: .98; }
.ks-price-row { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
.ks-price-row > span:first-child { font-size: 23px; }
.ks-price-row .ks-tag { border: 1px solid var(--line); }
.ks-product-intro { padding: 20px 0 25px; line-height: 1.6; color: #4e6053; }
.ks-purchase { border-top: 1px solid var(--line); padding-top: 22px; }
.ks-options { border: 0; margin: 0 0 19px; padding: 0; min-width: 0; }
.ks-options legend, .ks-facts dt { padding: 0; font-size: 13px; font-weight: 600; color: var(--ink); }
.ks-options > div { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 8px; }
.ks-options label { position: relative; cursor: pointer; }
.ks-options input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.ks-options label span { display: block; padding: 8px 15px; font-size: 13px; border: 1px solid var(--line); border-radius: 2px; }
.ks-options input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.ks-options input:focus-visible + span { outline: 2px solid var(--green); outline-offset: 3px; }
.ks-extra-parts { margin: 2px 0 20px; border-block: 1px solid var(--line); }
.ks-extra-parts summary { padding: 14px 0; font-weight: 600; cursor: pointer; }
.ks-extra-parts summary span, .ks-extra-row small { color: var(--muted); font-size: 12px; font-weight: 400; }
.ks-extra-parts summary span { margin-left: 6px; }
.ks-extra-parts > p { font-size: 13px; margin: 0 0 8px; }
.ks-extra-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; font-size: 14px; }
.ks-extra-row:last-child { padding-bottom: 16px; }
.ks-extra-row small { display: block; }
.ks-extra-row input { width: 4.4em; padding: 6px; border: 1px solid var(--line); color: var(--ink); background: var(--paper); font: inherit; }
.ks-facts { display: grid; gap: 13px; border-block: 1px solid var(--line); padding: 18px 0; }
.ks-facts div { display: grid; grid-template-columns: 73px minmax(0,1fr); gap: 10px; line-height: 1.55; }
.ks-facts dd { font-size: 13px; color: #526252; }
.ks-purchase > .ks-button { width: 100%; min-height: 53px; margin-top: 20px; }
.ks-add > span { display: inline-flex; align-items: center; gap: 14px; }
.ks-added { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: var(--green); font-size: 14px; }
.ks-added:not(:empty) { background: #ebefe6; padding: 13px; margin-top: 10px; }
.ks-added a { text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
.ks-cart-layout { display: grid; grid-template-columns: minmax(0,1.85fr) minmax(265px,.9fr); gap: clamp(24px,5vw,80px); align-items: start; }
.ks-cart-row { display: grid; grid-template-columns: 114px 1fr auto; align-items: start; gap: 19px; border-bottom: 1px solid var(--line); padding: 21px 0; }
.ks-cart-row:first-child { border-top: 1px solid var(--line); }
.ks-cart-photo { width: 100%; aspect-ratio: 1.12; background: #e8e7de; }
.ks-cart-photo img { width: 100%; height: 100%; display: block; object-fit: cover; }
.ks-cart-info h2 { font-size: 31px; line-height: 1.12; margin: 5px 0 7px; }
.ks-cart-info p { font-size: 12px; line-height: 1.5; color: #546458; }
.ks-line-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 13px; margin-top: 12px; }
.ks-quantity { display: inline-flex; align-items: center; border: 1px solid var(--line); }
.ks-quantity button, .ks-remove { border: 0; background: transparent; color: var(--ink); }
.ks-quantity button { min-width: 32px; min-height: 31px; }
.ks-quantity button:disabled { color: #82877f; cursor: default; }
.ks-quantity span { min-width: 18px; text-align: center; font-size: 13px; }
.ks-remove { padding: 4px 0; font-size: 12px !important; text-decoration: underline; text-underline-offset: 3px; }
.ks-line-total { padding-top: 4px; font-size: 14px; white-space: nowrap; }
.ks-summary { background: #eeefe6; padding: clamp(23px,3vw,40px); }
.ks-summary h2 { font-size: clamp(32px, 3.2vw, 44px); line-height: 1.1; }
.ks-total { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; margin-top: 23px; padding-top: 19px; border-top: 1px solid #c9d0c1; font-size: 15px; }
.ks-total strong { font-size: 18px; }
.ks-summary > p, .ks-local-note p { margin: 9px 0 20px; color: #506154; font-size: 13px; line-height: 1.56; }
.ks-summary .ks-primary { width: 100%; }
.ks-preview-caption { text-align: center; font-size: 11px; color: #546458; margin-top: 8px; }
.ks-continue { display: block; width: max-content; max-width: 100%; margin: 20px auto 0; font-size: 13px; }
.ks-summary .ks-continue { text-decoration: underline; text-underline-offset: 3px; }
.ks-local-note { border-top: 1px solid #c9d0c1; padding-top: 15px; }
.ks-local-note strong { font-size: 14px; }
@media (max-width: 850px) {
  .ks-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .ks-product-layout { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 25px; }
  .ks-cart-layout { grid-template-columns: 1fr; }
  .ks-cart-lines { width: 100%; }
  .ks-summary { max-width: none; }
}
@media (max-width: 650px) {
  .ks-page { width: calc(100% - 36px); padding-top: 20px; }
  .ks-page-heading { padding-top: 34px; }
  .ks-page-heading > span { white-space: nowrap; }
  .ks-product-layout { grid-template-columns: 1fr; gap: 22px; margin-top: 22px; }
  .ks-main-photo { aspect-ratio: 1.27; }
  .ks-thumbs button { flex-basis: 65px; height: 49px; }
  .ks-grid { gap: 27px 12px; }
  .ks-product-intro { padding: 16px 0 18px; }
  .ks-filter-list { gap: 5px; }
  .ks-filter-list a { padding: 6px 12px; min-height: 38px; font-size: 12px; }
  .ks-item-photo { aspect-ratio: 1.14; }
  .ks-card-meta { margin-top: 11px; font-size: 9px; letter-spacing: .04em; }
  .ks-card-meta span { margin: 0 1px; }
  .ks-item-title h2 { font-size: 26px; }
  .ks-item-title > span { font-size: 15px; }
  .ks-item-price { padding-top: 4px; font-size: 12px; }
  .ks-item-photo .ks-tag { left: 5px; top: 5px; font-size: 10px; padding: 4px 6px; }
  .ks-cart-row { grid-template-columns: 78px minmax(0,1fr); gap: 8px 13px; }
  .ks-cart-photo { grid-row: 1 / span 2; }
  .ks-cart-info h2 { font-size: 27px; }
  .ks-line-total { grid-column: 2; }
  .ks-search { gap: 6px; }
}
@media (max-width: 340px) {
  .ks-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .ks-item-photo img { transition: none; }
}
.ks-main-photo { position: relative; }
.ks-photo-caption { position: absolute; left: 12px; bottom: 12px; max-width: calc(100% - 24px); padding: 5px 9px; background: rgba(250,249,245,.93); color: #27382b; font-size: 12px; }
.ks-photo-caption:empty { display: none; }
.ks-filter-list + .ks-search { margin-top: 20px; }

.ks-has-specs{grid-template-areas:"gallery buy" "specs buy";row-gap:32px}
.ks-has-specs .ks-gallery{grid-area:gallery}.ks-has-specs .ks-buy-panel{grid-area:buy}
.ks-dispatch{border-left:3px solid #aa8858;background:#f1f0e8;padding:10px 14px;color:var(--ink)}
.ks-dispatch summary{cursor:pointer;font-size:13px;line-height:1.6}
.ks-dispatch summary span{margin-right:8px;color:#546154}.ks-dispatch summary strong{font-weight:600}
.ks-dispatch p,.ks-option-hint,.ks-layout-preview figcaption,.ks-specs p{font-size:12px;line-height:1.55;color:#536457}
.ks-dispatch p{padding-top:7px}.ks-dispatch a,.ks-specs p a,.ks-jump-specs{text-decoration:underline;text-underline-offset:3px}
.ks-jump-specs{border:0;background:none;padding:8px 0;margin:4px 0 10px;font:inherit;font-size:12px!important;color:var(--green)}
.ks-options.ks-visual-options>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
.ks-visual-options label .ks-choice-card{height:100%;padding:9px 12px}
.ks-choice-card strong,.ks-choice-card small{display:block}.ks-choice-card strong{font-size:15px}.ks-choice-card small{font-size:11px;margin-top:2px;line-height:1.35}
.ks-layout-preview{margin:10px 0 0;padding:12px;background:#f0f1e9;border:1px solid var(--line)}
.ks-layout-preview img{display:block;width:100%;height:clamp(90px,8vw,135px);object-fit:contain}
.ks-layout-preview figcaption{margin-top:8px}.ks-option-hint{padding-top:6px}
.ks-specs{grid-area:specs;min-width:0;border-top:1px solid var(--line);padding-top:19px}
.ks-specs h2{font-size:clamp(34px,3.2vw,50px);line-height:1.1;letter-spacing:-.025em;scroll-margin-top:18px}
.ks-specs dl{margin-top:15px}.ks-specs dl div{display:grid;grid-template-columns:minmax(90px,.45fr) 1fr;gap:14px;padding:9px 0;border-bottom:1px solid var(--line);font-size:13px;line-height:1.5}
.ks-specs dt{font-weight:600}.ks-specs dd{color:#4c5f52}.ks-specs p{margin-top:12px}
@media(max-width:650px){.ks-has-specs{grid-template-areas:"gallery" "buy" "specs"}.ks-dispatch summary strong{display:block}.ks-layout-preview img{height:100px}}
.ks-key-guide{margin-top:7px;font-size:12px;color:#425746}
.ks-key-guide summary{cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.ks-key-guide figure{margin:12px 0 0;padding:10px;border:1px solid var(--line)}
.ks-key-guide figure img{width:100%;height:auto;max-height:270px;object-fit:contain}
.ks-key-guide figcaption{padding-top:7px;font-size:12px}
.ks-purchase > .ks-key-guide{margin:0 0 16px}
.ks-cart-info{min-width:0;overflow-wrap:anywhere}
.ks-plate-note-editor,.ks-cart-info .ks-plate-note{display:block;margin:10px 0 4px;color:var(--ink);font-size:13px}
.ks-plate-note-editor textarea{display:block;width:100%;max-width:34rem;margin-top:5px;padding:7px 9px;border:1px solid var(--line);border-radius:2px;background:var(--paper);color:inherit;font:inherit;line-height:1.45;resize:vertical}
.ks-cart-info .ks-plate-note{white-space:pre-wrap}
.ks-plate-note strong{display:block;font-weight:600}
.ks-summary>.ks-plate-shipping{padding:12px 0;border-block:1px solid var(--line);color:var(--ink)}
