:root {
  --bg: #fdf9f1;
  --ink: #161616;
  --muted: #6d655c;
  --line: #e6dccb;
  --sale: #87171b;
  --header: 64px;
  --pad: 22px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Palatino, "Palatino Linotype", "Book Antiqua", "Libre Baskerville", Georgia, serif;
  font-size: 16px;
  line-height: 1.5;
}
img { max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font-family: inherit; color: inherit; }
button { cursor: pointer; }
.screen-reader, .skip {
  position: absolute; left: -999px; top: 0;
}
.skip:focus { left: 8px; top: 8px; background: #fff; padding: 8px 12px; z-index: 100; }
body.locked { overflow: hidden; }

.sticky-top {
  position: sticky; top: 0; z-index: 40;
  background: var(--bg);
}
.announce {
  min-height: 36px;
  display: grid;
  place-items: center;
  padding: 6px 16px;
  text-align: center;
  font-size: 13px;
  letter-spacing: .01em;
}
.announce-track { position: relative; width: 100%; min-height: 1.4em; }
.announce-item {
  display: none;
  text-decoration: none;
}
.announce-item.is-on { display: block; }

.site-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  min-height: var(--header);
  padding: 8px var(--pad) 10px;
  border-bottom: 1px solid transparent;
}
.logo { display: flex; justify-content: center; }
.logo img { height: 42px; width: auto; }
.header-tools { display: flex; justify-content: flex-end; align-items: center; gap: 2px; }
.icon-btn {
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  background: none; border: 0; padding: 0; text-decoration: none; position: relative;
}
.nav-toggle { display: none; justify-self: start; }
.burger, .burger:before, .burger:after {
  display: block; width: 18px; height: 1px; background: var(--ink); content: ""; position: relative;
}
.burger:before { position: absolute; top: -6px; }
.burger:after { position: absolute; top: 6px; }
.primary-nav { min-width: 0; }
.nav-list { display: flex; flex-wrap: wrap; gap: 4px 14px; list-style: none; margin: 0; padding: 0; align-items: center; }
.nav-list > li > a { text-decoration: none; font-size: 15px; }
.nav-list > li > a:hover { opacity: .6; }
.has-sub { position: static; }
.mega {
  display: none;
  position: absolute; left: 0; right: 0;
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding: 28px 40px 36px;
  grid-template-columns: minmax(180px, 280px) 1fr;
  gap: 28px;
  box-shadow: 0 20px 40px rgba(0,0,0,.05);
}
.has-sub:hover > .mega, .has-sub:focus-within > .mega { display: grid; }
.mega-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.mega-links a { text-decoration: none; font-size: 15px; }
.mega-links a:hover { opacity: .55; }
.mega-cards { display: flex; gap: 16px; }
.mega-card { width: 180px; text-decoration: none; }
.mega-card img { width: 100%; aspect-ratio: 2/3; object-fit: cover; display: block; }
.mega-card span { display: block; margin-top: 8px; font-size: 14px; }

.js-cart-count {
  position: absolute; top: 6px; right: 2px;
  min-width: 16px; height: 16px; border-radius: 99px;
  background: var(--ink); color: var(--bg);
  font-size: 10px; line-height: 16px; text-align: center; padding: 0 4px;
  font-family: Georgia, serif;
}
.js-cart-count:empty { display: none; }

.drawer[hidden], .overlay[hidden] { display: none !important; }
.drawer, .overlay {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(20,16,12,.35);
}
.drawer-panel {
  background: var(--bg);
  width: min(440px, 100%);
  height: 100%;
  overflow: auto;
  padding: 8px 18px calc(24px + env(safe-area-inset-bottom));
}
.drawer-right .drawer-panel { margin-left: auto; }
.drawer-bar { display: flex; justify-content: space-between; align-items: center; min-height: 52px; }
.drawer-nav { list-style: none; margin: 0; padding: 0; }
.drawer-nav > li { border-bottom: 1px solid var(--line); }
.drawer-link, .drawer-nav summary {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 52px; text-decoration: none; font-size: 18px; cursor: pointer;
}
.drawer-nav summary { list-style: none; }
.drawer-nav summary::-webkit-details-marker { display: none; }
.drawer-nav ul { list-style: none; margin: 0 0 12px; padding: 0 0 8px 4px; }
.drawer-nav ul a { display: flex; min-height: 42px; align-items: center; text-decoration: none; color: var(--muted); }
.search-panel {
  background: var(--bg);
  padding: 28px 20px 32px;
}
.search-panel form { display: flex; gap: 8px; }
.search-panel input {
  flex: 1; min-height: 48px; font-size: 16px;
  border: 0; border-bottom: 1px solid var(--ink); background: transparent; padding: 8px 0;
}
.search-panel button, .text-close {
  background: none; border: 0; min-height: 44px; font-size: 16px;
}
.hero { position: relative; color: #fff; background: #1a1a1a; }
.hero img { width: 100%; height: min(86vh, 920px); object-fit: cover; display: block; }
.hero-copy, .editorial-copy {
  position: absolute; left: 0; right: 0; bottom: 10%;
  text-align: center; padding: 0 20px;
  text-shadow: 0 1px 16px rgba(0,0,0,.35);
}
.hero h1, .editorial h2, .natural h2 {
  font-weight: 400; font-style: italic;
  font-size: clamp(30px, 4.6vw, 58px);
  margin: 0 0 14px; line-height: 1.15;
}
.editorial { position: relative; color: #fff; margin-top: 28px; }
.editorial img { width: 100%; height: min(78vh, 820px); object-fit: cover; display: block; }
.editorial p { max-width: 560px; margin: 0 auto 16px; font-size: 16px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 22px;
  border: 1px solid var(--ink); background: transparent; color: var(--ink);
  text-decoration: none; letter-spacing: .03em;
}
.btn-solid, .btn-solid:hover { background: var(--ink); color: var(--bg); }
.btn-light { border-color: #fff; color: #fff; }
.home-section { padding: 26px var(--pad) 8px; }
.product-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px 12px;
}
.pcard-media { position: relative; display: block; background: #efe8dc; }
.pcard-img { width: 100%; aspect-ratio: 2/3; object-fit: cover; display: block; }
.pcard-img-hover { position: absolute; inset: 0; opacity: 0; transition: opacity .35s ease; }
.pcard-media:hover .pcard-img-hover { opacity: 1; }
.sticker {
  position: absolute; top: 10px; left: 10px;
  background: rgba(253,249,241,.92); color: var(--ink);
  font-size: 12px; padding: 3px 7px; letter-spacing: .02em;
}
.sticker-sale { color: var(--sale); }
.pcard-info { padding-top: 10px; }
.pcard-title { font-size: 15px; font-weight: 400; margin: 0 0 4px; }
.pcard-title a { text-decoration: none; }
.pcard-price { font-size: 14px; margin-bottom: 8px; }
.pcard-price del, .pdp-price del { color: var(--muted); margin-right: 6px; }
.pcard-price ins, .pdp-price ins { text-decoration: none; color: var(--sale); }
.pcard-sizes, .pdp-sizes { display: flex; flex-wrap: wrap; gap: 6px; }
.size-pill {
  border: 1px solid var(--ink); background: transparent;
  min-height: 34px; padding: 4px 8px; font-size: 11px; line-height: 1.25; text-align: left;
}
.size-pill.is-on { background: var(--ink); color: var(--bg); }
.size-pill.is-out { opacity: .35; text-decoration: line-through; }
.tile-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  padding: 28px var(--pad);
}
.tile { position: relative; display: block; color: #fff; text-decoration: none; }
.tile img { width: 100%; aspect-ratio: 3/4; object-fit: cover; display: block; }
.tile span {
  position: absolute; left: 0; right: 0; bottom: 8%;
  text-align: center; font-size: clamp(22px, 3vw, 36px); font-style: italic;
  text-shadow: 0 1px 12px rgba(0,0,0,.4);
}
.natural { padding: 36px var(--pad) 20px; text-align: center; }
.natural-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.natural-photos img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.natural-copy { max-width: 720px; margin: 28px auto 0; }
.natural h2 { font-size: clamp(22px, 3vw, 34px); }

.shop-head, .page-narrow, .search-page { width: min(860px, calc(100% - 40px)); margin: 36px auto 10px; text-align: center; }
.shop-head h1, .page-narrow h1 { font-weight: 400; font-style: italic; font-size: clamp(32px, 5vw, 52px); margin: 0 0 8px; }
.shop-head + .toolbar, .toolbar {
  width: min(1440px, calc(100% - 40px));
  margin: 8px auto 18px;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  font-size: 14px;
}
.toolbar select { min-height: 40px; background: transparent; border: 1px solid var(--line); padding: 0 8px; }
.archive .product-grid, .tax-product_cat .product-grid, .post-type-archive-product .product-grid,
.search .product-grid, .related-wrap .products, .page-wide .product-grid, .page-narrow .product-grid {
  width: min(1440px, calc(100% - 40px));
  margin-left: auto; margin-right: auto;
}
.page-wide { width: min(1100px, calc(100% - 28px)); margin: 28px auto 60px; }
.page-body { text-align: left; font-size: 16px; }
.page-body img { height: auto; }
.page-body table { display: block; width: 100%; overflow-x: auto; }
.page-body h2, .page-body h3 { font-weight: 400; }
.woocommerce-pagination { width: min(1440px, calc(100% - 40px)); margin: 28px auto 48px; text-align: center; }
.woocommerce-pagination ul { list-style: none; display: flex; gap: 8px; justify-content: center; padding: 0; flex-wrap: wrap; }
.woocommerce-pagination a, .woocommerce-pagination span { display: inline-flex; min-width: 40px; min-height: 40px; align-items: center; justify-content: center; text-decoration: none; border: 1px solid var(--line); padding: 0 8px; }

.pdp {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
  gap: 36px; width: min(1440px, calc(100% - 40px)); margin: 18px auto 40px;
}
.pdp-summary { position: sticky; top: 96px; align-self: start; }
.pdp-summary h1 { font-weight: 400; font-size: clamp(28px, 3vw, 40px); margin: 0 0 8px; }
.pdp-price { font-size: 18px; margin-bottom: 16px; }
.size-label { margin: 0 0 8px; font-size: 14px; }
.size-help { font-size: 14px; }
.pdp-thumbs { display: flex; gap: 8px; overflow-x: auto; margin-top: 10px; padding-bottom: 4px; }
.pdp-thumbs button { border: 1px solid transparent; padding: 0; background: none; }
.pdp-thumbs button.is-on { border-color: var(--ink); }
.pdp-thumbs img { width: 72px; height: 96px; object-fit: cover; display: block; }
.pdp-scroll { display: none; }
.pdp-form .quantity { display: none; }
.pdp-form.is-swatch table.variations {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0);
}
.pdp-form:not(.is-swatch) table.variations { width: 100%; margin-bottom: 12px; }
.pdp-form:not(.is-swatch) table.variations select { width: 100%; min-height: 44px; font-size: 16px; background: #fff; border: 1px solid var(--line); }
.pdp-form .single_add_to_cart_button, .pdp-form .button {
  width: 100%; min-height: 48px; background: var(--ink); color: var(--bg); border: 0; font-size: 16px; margin-top: 8px;
}
.pdp-form .single_add_to_cart_button:disabled { opacity: .45; }
.accord { margin-top: 22px; border-top: 1px solid var(--line); }
.accord details { border-bottom: 1px solid var(--line); }
.accord summary { min-height: 48px; display: flex; align-items: center; cursor: pointer; font-size: 16px; }
.accord-body { padding: 0 0 14px; color: var(--muted); font-size: 15px; }
.pdp-bar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  background: var(--bg); border-top: 1px solid var(--line);
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
  align-items: center; justify-content: space-between; gap: 10px;
}
.pdp-bar strong { display: block; font-weight: 400; font-size: 14px; }
.related-wrap { padding: 10px 0 50px; }
.related-wrap h2 { text-align: center; font-weight: 400; font-style: italic; font-size: 32px; }
.related-wrap ul.products { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 26px 12px; }

.site-footer { border-top: 1px solid var(--line); margin-top: 40px; padding: 42px var(--pad) 28px; }
.footer-grid { display: grid; grid-template-columns: minmax(240px, 1fr) 2fr; gap: 32px; width: min(1200px, 100%); margin: 0 auto; }
.footer-news h3 { font-weight: 400; font-size: 22px; margin: 0 0 12px; }
.news-form { display: flex; gap: 8px; border-bottom: 1px solid var(--ink); }
.news-form input { flex: 1; border: 0; background: transparent; min-height: 48px; font-size: 16px; }
.news-form button { border: 0; background: none; min-height: 48px; }
.news-ok { color: var(--sale); }
.footer-cols { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.footer-cols a { display: flex; align-items: center; min-height: 36px; text-decoration: none; font-size: 15px; }
.footer-cols a:hover { opacity: .6; }
.footer-base { width: min(1200px, 100%); margin: 36px auto 0; display: flex; flex-wrap: wrap; gap: 10px 18px; justify-content: space-between; align-items: center; font-size: 13px; color: var(--muted); }
.footer-brand { text-decoration: none; color: var(--ink); font-size: 16px; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 14px; }
.footer-legal a { color: var(--muted); }

.wc-page { width: min(1100px, calc(100% - 28px)); margin: 20px auto 64px; }
.wc-page table.shop_table { width: 100%; border-collapse: collapse; }
.wc-page td, .wc-page th { text-align: left; padding: 12px 8px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.wc-page img { width: 72px; height: 96px; object-fit: cover; }
.wc-page .button, .wc-page button.button, .woocommerce a.button, .woocommerce button.button {
  background: var(--ink); color: var(--bg); border: 0; min-height: 44px; padding: 0 16px; text-decoration: none; display: inline-flex; align-items: center;
}
.co-wrap { width: min(1120px, calc(100% - 28px)); margin: 18px auto 48px; }
.co-logo { display: flex; justify-content: center; margin-bottom: 18px; }
.co-logo img { height: 42px; width: auto; }
.co-shell { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(260px, .85fr); gap: 34px; align-items: start; }
.co-block h2, .co-summary h2 { font-weight: 400; font-size: 22px; margin: 0 0 12px; }
.co-summary { background: #f7f1e6; padding: 18px 16px 8px; }
.woocommerce-billing-fields > h3, #ship-to-different-address, .shipping_address { display: none !important; }
.co-fields .form-row { margin: 0 0 12px; }
.co-fields label { display: block; font-size: 13px; margin-bottom: 4px; }
.co-fields .input-text, .co-fields select, .co-fields textarea, .woocommerce form .form-row input.input-text, .woocommerce form .form-row select, .woocommerce form .form-row textarea {
  width: 100%; min-height: 48px; font-size: 16px; border: 1px solid #d9d0c2; background: #fff; padding: 10px 12px; border-radius: 0;
}
.woocommerce-checkout-review-order-table { width: 100%; border-collapse: collapse; }
.woocommerce-checkout-review-order-table th { display: none; }
.woocommerce-checkout-review-order-table td, .woocommerce-checkout-review-order-table th.product-total { padding: 10px 0; border-bottom: 1px solid var(--line); vertical-align: middle; }
.woocommerce-checkout-review-order-table img { width: 64px; height: 84px; object-fit: cover; }
.woocommerce-checkout-review-order-table .product-name { font-size: 14px; }
#payment { background: transparent; }
.wc_payment_methods { list-style: none; padding: 0; margin: 0 0 12px; }
.wc_payment_methods li { border: 1px solid var(--line); background: #fff; padding: 12px; margin-bottom: 8px; }
.payment_box { font-size: 14px; color: var(--muted); padding-top: 8px; }
#place_order {
  width: 100%; min-height: 52px; background: var(--ink); color: var(--bg); border: 0; font-size: 16px; letter-spacing: .04em;
}
.co-foot { display: flex; flex-wrap: wrap; gap: 10px 16px; justify-content: center; margin-top: 28px; font-size: 13px; }
.co-foot a { color: var(--muted); }
.woocommerce-error, .woocommerce-message, .woocommerce-info {
  list-style: none; padding: 12px 14px; background: #fff; border: 1px solid var(--line); margin: 12px 0;
}
.woocommerce-NoticeGroup { margin-bottom: 12px; }
#mp-mini-cart { padding-bottom: 12px; }
#mp-mini-cart .woocommerce-mini-cart { list-style: none; margin: 0; padding: 0; }
#mp-mini-cart .woocommerce-mini-cart-item { display: grid; grid-template-columns: 72px 1fr; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); position: relative; }
#mp-mini-cart img { width: 72px; height: 96px; object-fit: cover; }
#mp-mini-cart .remove { position: absolute; right: 0; top: 8px; text-decoration: none; }
.woocommerce-mini-cart__buttons { display: grid; gap: 8px; margin-top: 14px; }
.woocommerce-mini-cart__buttons .button { display: flex; align-items: center; justify-content: center; min-height: 46px; background: var(--ink); color: var(--bg); text-decoration: none; }
.woocommerce-mini-cart__total { display: flex; justify-content: space-between; margin-top: 12px; }
.mini-empty, .woocommerce-mini-cart__empty-message { padding: 24px 0; }

@media (max-width: 1180px) {
  .primary-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-header { grid-template-columns: auto 1fr auto; }
  .product-grid, .related-wrap ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 800px) {
  :root { --pad: 14px; }
  .logo img, .co-logo img { height: 32px; }
  .product-grid, .related-wrap ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 8px; }
  .tile-row, .natural-photos, .footer-grid, .footer-cols, .pdp, .co-shell { grid-template-columns: 1fr; }
  .co-summary { order: -1; }
  .pdp-summary { position: static; }
  .pdp-stage, .pdp-thumbs { display: none; }
  .pdp-scroll { display: flex; gap: 0; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
  .pdp-scroll img { flex: 0 0 100%; scroll-snap-align: center; width: 100%; aspect-ratio: 2/3; object-fit: cover; }
  .pdp-bar { display: flex; }
  .pdp { width: 100%; margin: 0 auto 90px; gap: 16px; }
  .pdp-summary { padding: 4px 14px 0; }
  .footer-cols a { min-height: 44px; }
  .hero img, .editorial img { height: 72vh; }
  .shop-head, .page-narrow { width: calc(100% - 28px); }
  .archive .product-grid, .search .product-grid, .related-wrap .products, .page-narrow .product-grid, .page-wide .product-grid,
  .tax-product_cat .product-grid, .post-type-archive-product .product-grid { width: calc(100% - 20px); }
  .toolbar { width: calc(100% - 20px); flex-wrap: wrap; }
  .wc-page table.shop_table { font-size: 14px; }
  .wc-page .product-remove, .wc-page .product-thumbnail { }
}
@media (hover: none) {
  .pcard-img-hover { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pcard-img-hover { transition: none; }
}
