:root {
  --ivory: #f7f2e9;
  --paper: #fffdf9;
  --ink: #241f1a;
  --muted: #756d64;
  --line: rgba(36, 31, 26, .14);
  --soft-line: rgba(36, 31, 26, .08);
  --serif: Georgia, 'Times New Roman', serif;
  --sans: Arial, Helvetica, sans-serif;
  --container: min(1380px, calc(100vw - 80px));
  --header-height: 76px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 15px; line-height: 1.65; overflow-x: hidden; }
body.menu-open, body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { color: inherit; font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
ul { list-style: none; }
.container { margin-inline: auto; width: var(--container); }
.section { padding: 92px 0; }
.section--soft { background: linear-gradient(135deg, var(--ivory), #efe5d5); }
.eyebrow { display: block; font-size: 10px; font-weight: 600; letter-spacing: .24em; margin-bottom: 18px; text-transform: uppercase; }
.display { font-family: var(--serif); font-size: clamp(48px, 5.6vw, 82px); font-weight: 400; letter-spacing: -.045em; line-height: .98; }
.section-title { font-family: var(--serif); font-size: clamp(36px, 3.7vw, 56px); font-weight: 400; letter-spacing: -.035em; line-height: 1.05; }
.lead { color: var(--muted); font-size: clamp(16px, 1.4vw, 19px); font-weight: 300; line-height: 1.7; }
.muted { color: var(--muted); }
.link-arrow { align-items: center; display: inline-flex; font-size: 11px; font-weight: 600; gap: 14px; letter-spacing: .16em; text-transform: uppercase; }
.link-arrow::after { content: '\2192'; font-size: 17px; transition: transform .3s var(--ease); }
.link-arrow:hover::after { transform: translateX(5px); }
.btn { align-items: center; border: 1px solid var(--ink); display: inline-flex; font-size: 11px; font-weight: 600; justify-content: center; letter-spacing: .17em; min-height: 52px; padding: 0 30px; text-transform: uppercase; transition: .35s var(--ease); }
.btn--dark { background: var(--ink); color: var(--paper); }
.btn--dark:hover { background: transparent; color: var(--ink); }
.btn--light { border-color: rgba(255,255,255,.5); color: #fff; }
.btn--light:hover { background: #fff; color: var(--ink); }
.btn--full { width: 100%; }
.icon-button { align-items: center; background: transparent; border: 0; display: inline-flex; height: 44px; justify-content: center; position: relative; width: 44px; }
.icon-button svg { fill: none; height: 21px; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.6; width: 21px; }
.badge { align-items: center; background: var(--ink); border-radius: 50%; color: #fff; display: flex; font-size: 8px; height: 16px; justify-content: center; position: absolute; right: 0; top: 2px; width: 16px; }

/* Header */
.site-header { align-items: center; background: rgba(255,253,249,.98); border-bottom: 1px solid var(--line); display: grid; grid-template-columns: auto minmax(0,1fr) auto; height: 76px; left: 0; padding: 0 max(22px,3.5vw); position: sticky; right: 0; top: 0; transition: box-shadow .35s ease, height .35s ease; z-index: 1000; }
.header-main { display: contents; }
.header-actions { align-items: center; display: flex; gap: 2px; }
.header-main > .header-actions:first-child { grid-column: 3; grid-row: 1; margin-right: 88px; }
.header-main > .header-actions:last-child { grid-column: 3; grid-row: 1; justify-content: flex-end; }
.header-label { display: none; }
.brand { align-items: center; display: flex; grid-column: 1; grid-row: 1; justify-content: flex-start; }
.brand img { height: 59px; object-fit: contain; transition: .35s var(--ease); width: 158px; }
.brand-name { display: none; }
.nav-row { display: flex; grid-column: 2; grid-row: 1; height: 76px; justify-content: center; max-height: none; opacity: 1; overflow: visible; transition: .35s var(--ease); }
.main-nav { align-items: center; display: flex; gap: clamp(24px, 2.4vw, 44px); }
.main-nav > a, .main-nav > li > a, .nav-parent > button { background: none; border: 0; display: block; font-size: 13px; font-weight: 500; letter-spacing: .06em; padding: 28px 0 26px; position: relative; text-transform: uppercase; white-space: nowrap; }
.main-nav > a::after, .main-nav > li > a::after, .nav-parent > button::after { background: var(--ink); bottom: 22px; content: ''; height: 1px; left: 0; position: absolute; transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); width: 100%; }
.main-nav > a:hover::after, .main-nav > a.active::after, .main-nav > li > a:hover::after, .main-nav > li.current-menu-item > a::after, .main-nav > li.current-product_cat-ancestor > a::after, .nav-parent:hover > button::after { transform: scaleX(1); transform-origin: left; }
.nav-parent { position: relative; }
.mega-menu { background: var(--paper); border: 1px solid var(--line); display: grid; gap: 34px; grid-template-columns: repeat(3, 150px); left: 50%; opacity: 0; padding: 30px; pointer-events: none; position: fixed; top: 104px; transform: translate(-50%, 8px); transition: .25s ease; visibility: hidden; }
.nav-parent:hover .mega-menu, .nav-parent:focus-within .mega-menu { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); visibility: visible; }
.mega-menu strong { display: block; font-family: var(--serif); font-size: 19px; font-weight: 400; margin-bottom: 10px; }
.mega-menu a { color: var(--muted); display: block; font-size: 12px; padding: 4px 0; }
.mega-menu a:hover { color: var(--ink); }
.site-header.is-compact { box-shadow: 0 8px 28px rgba(36,31,26,.07); height: 68px; }
.site-header.is-compact .nav-row { height: 68px; }
.site-header.is-compact .brand img { height: 52px; width: 140px; }
.menu-toggle { display: none; }
.mobile-actions { display: none; }
.menu-toggle svg path { transform-box: fill-box; transform-origin: center; transition: transform .25s ease, opacity .2s ease; }
.menu-toggle[aria-expanded="true"] svg path:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] svg path:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] svg path:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Search and mobile navigation */
.search-panel { background: var(--paper); inset: 0; opacity: 0; padding: 34px max(24px,5vw); pointer-events: none; position: fixed; transform: translateY(-14px); transition: .35s var(--ease); visibility: hidden; z-index: 1500; }
.search-panel.open { opacity: 1; pointer-events: auto; transform: none; visibility: visible; }
.search-top { align-items: center; display: flex; justify-content: space-between; }
.search-top span { font-family: var(--serif); font-size: 24px; }
.search-form { border-bottom: 1px solid var(--ink); display: flex; margin: min(25vh, 190px) auto 40px; max-width: 920px; }
.search-form input { background: transparent; border: 0; flex: 1; font-family: var(--serif); font-size: clamp(31px, 5vw, 64px); outline: 0; padding: 14px 0; }
.search-suggestions { color: var(--muted); display: flex; flex-wrap: wrap; font-size: 11px; gap: 10px 28px; letter-spacing: .1em; margin: auto; max-width: 920px; text-transform: uppercase; }
.mobile-panel { display: none; }
.mobile-panel ul { list-style: none; }
.announcement-bar { background: var(--ink); color: var(--paper); font-size: 9px; letter-spacing: .16em; padding: 8px 20px; text-align: center; text-transform: uppercase; }

/* Hero */
.hero { background: var(--ivory); height: clamp(540px, 49.45vw, 760px); min-height: 0; overflow: hidden; position: relative; }
.hero-media { inset: 0; position: absolute; }
.hero-media img { height: 100%; object-fit: cover; width: 100%; }
.hero-content { align-items: flex-start; display: flex; flex-direction: column; height: clamp(540px, 49.45vw, 760px); justify-content: center; min-height: 0; padding: 50px 0 70px; position: relative; width: min(530px, 44%); z-index: 1; }
.hero .display { margin-bottom: 26px; }
.hero .lead { margin-bottom: 36px; max-width: 450px; }
.value-strip { border-bottom: 1px solid var(--line); border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3,1fr); }
.value-item { align-items: center; display: flex; gap: 14px; justify-content: center; min-height: 66px; padding: 14px 20px; text-align: left; }
.value-item + .value-item { border-left: 1px solid var(--line); }
.value-item svg { fill: none; height: 25px; stroke: currentColor; stroke-width: 1.25; width: 25px; }
.value-item strong { display: block; font-size: 10px; letter-spacing: .13em; text-transform: uppercase; }
.value-item small { color: var(--muted); font-size: 11px; }

/* Homepage category mosaic */
.section-head { align-items: flex-end; display: flex; justify-content: space-between; margin-bottom: 48px; }
.section-head p { color: var(--muted); max-width: 430px; }
.category-mosaic { display: grid; gap: 1px; grid-auto-rows: 380px; grid-template-columns: repeat(2, minmax(0,1fr)); }
.category-tile { background: var(--ink); color: #fff; overflow: hidden; position: relative; }
.category-tile:first-child, .category-tile:nth-child(4) { grid-column: auto; grid-row: auto; }
.category-tile img { height: 100%; object-fit: cover; transition: transform 1s var(--ease); width: 100%; }
.category-tile::after { background: linear-gradient(180deg, transparent 35%, rgba(25,21,18,.78)); content: ''; inset: 0; position: absolute; }
.category-tile:hover img { transform: scale(1.045); }
.category-copy { bottom: 0; left: 0; padding: clamp(22px,3vw,42px); position: absolute; right: 0; z-index: 1; }
.category-copy h3 { font-family: var(--serif); font-size: clamp(25px,2.4vw,38px); font-weight: 400; }
.category-copy p { color: rgba(255,255,255,.65); font-size: 9px; letter-spacing: .16em; margin-top: 4px; text-transform: uppercase; }
.category-copy span { display: inline-block; font-size: 9px; letter-spacing: .15em; margin-top: 18px; opacity: 0; text-transform: uppercase; transform: translateY(7px); transition: .35s var(--ease); }
.category-tile:hover .category-copy span { opacity: 1; transform: none; }

/* Products */
.product-grid { display: grid; gap: 34px 18px; grid-template-columns: repeat(4,1fr); }
.product-card { min-width: 0; position: relative; }
.product-media { background: var(--ivory); margin-bottom: 18px; overflow: hidden; position: relative; }
.product-media > a { display: block; }
.product-media img { aspect-ratio: 1/1.18; object-fit: cover; transition: transform .8s var(--ease); width: 100%; }
.product-card:hover .product-media img { transform: scale(1.035); }
.pill { background: rgba(255,253,249,.9); font-size: 8px; left: 12px; letter-spacing: .15em; padding: 7px 10px; position: absolute; text-transform: uppercase; top: 12px; z-index: 1; }
.wish { background: rgba(255,253,249,.88); border: 0; border-radius: 50%; display: grid; height: 36px; place-items: center; position: absolute; right: 12px; top: 12px; width: 36px; z-index: 2; }
.wish svg { fill: none; height: 16px; stroke: currentColor; width: 16px; }
.wish.active svg { fill: var(--ink); }
.quick-add { background: rgba(36,31,26,.95); border: 0; bottom: 0; color: #fff; font-size: 9px; left: 0; letter-spacing: .16em; padding: 14px; position: absolute; right: 0; text-align: center; text-transform: uppercase; transform: translateY(100%); transition: .35s var(--ease); }
.product-card:hover .quick-add { transform: none; }
.product-meta { align-items: flex-start; display: flex; justify-content: space-between; }
.product-meta small { color: var(--muted); display: block; font-size: 9px; letter-spacing: .12em; margin-bottom: 3px; text-transform: uppercase; }
.product-meta h3 { font-family: var(--serif); font-size: 20px; font-weight: 400; line-height: 1.25; }
.price { font-size: 12px; white-space: nowrap; }
.old-price { color: var(--muted); margin-right: 6px; text-decoration: line-through; }
.new-arrivals .section-head { margin-bottom: 54px; }

/* Editorial */
.editorial-duo { display: grid; grid-template-columns: 1fr 1fr; }
.editorial-card { min-height: 730px; overflow: hidden; position: relative; }
.editorial-card img { height: 100%; object-fit: cover; transition: transform 1s var(--ease); width: 100%; }
.editorial-card:hover img { transform: scale(1.025); }
.editorial-card::after { background: linear-gradient(180deg,transparent 42%,rgba(25,21,18,.72)); content: ''; inset: 0; position: absolute; }
.editorial-card__copy { bottom: 0; color: #fff; padding: clamp(30px,5vw,72px); position: absolute; z-index: 1; }
.editorial-card__copy h2 { font-family: var(--serif); font-size: clamp(44px,5vw,76px); font-weight: 400; }
.editorial-card__copy p { color: rgba(255,255,255,.75); margin: 10px 0 28px; max-width: 420px; }
.story-split { align-items: center; display: grid; gap: clamp(50px,8vw,130px); grid-template-columns: 1.1fr .9fr; }
.story-media { position: relative; }
.story-media::before { border: 1px solid var(--ink); content: ''; inset: 28px -28px -28px 28px; position: absolute; z-index: 0; }
.story-media img { aspect-ratio: 1.4/1; object-fit: cover; position: relative; width: 100%; z-index: 1; }
.story-copy .section-title { margin-bottom: 28px; }
.story-copy .lead { margin-bottom: 30px; }
.story-signature { border-top: 1px solid var(--line); display: grid; gap: 18px; grid-template-columns: repeat(3,1fr); margin-top: 34px; padding-top: 24px; }
.story-signature strong { display: block; font-family: var(--serif); font-size: 25px; font-weight: 400; }
.story-signature small { color: var(--muted); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }

/* Inner pages */
.page-hero { align-items: end; background: linear-gradient(135deg,var(--ivory),#eadfce); display: flex; min-height: 320px; padding: 70px 0; }
.page-hero .section-title { font-size: clamp(50px,6vw,84px); }
.breadcrumbs { color: var(--muted); font-size: 9px; letter-spacing: .14em; margin-bottom: 25px; text-transform: uppercase; }
.category-chips { border-bottom: 1px solid var(--line); display: flex; gap: 10px; overflow-x: auto; padding: 22px max(20px, calc((100vw - min(1380px, calc(100vw - 80px))) / 2)); scrollbar-width: none; }
.category-chips::-webkit-scrollbar { display: none; }
.chip { background: transparent; border: 1px solid var(--line); border-radius: 30px; font-size: 9px; letter-spacing: .12em; padding: 10px 18px; text-transform: uppercase; white-space: nowrap; }
.chip.active, .chip:hover { background: var(--ink); color: #fff; }
.shop-layout { display: grid; gap: 55px; grid-template-columns: 230px 1fr; padding: 70px 0 120px; }
.filter-head { display: flex; justify-content: space-between; margin-bottom: 28px; }
.filter-head .icon-button { display: none; }
.filter-head strong, .filter-block h3 { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }
.filter-block { border-top: 1px solid var(--line); padding: 24px 0; }
.filter-block h3 { margin-bottom: 16px; }
.filter-option { align-items: center; color: var(--muted); display: flex; font-size: 12px; justify-content: space-between; padding: 5px 0; }
.filter-option label { align-items: center; cursor: pointer; display: flex; gap: 9px; }
.filter-option input { accent-color: var(--ink); }
.shop-toolbar { align-items: center; display: flex; justify-content: space-between; margin-bottom: 30px; }
.shop-toolbar p { color: var(--muted); font-size: 11px; }
.shop-toolbar select { background: transparent; border: 0; border-bottom: 1px solid var(--line); font-size: 11px; outline: 0; padding: 9px 25px 9px 0; }
.shop-main .product-grid { grid-template-columns: repeat(3,1fr); }
.filter-toggle { background: transparent; border: 1px solid var(--line); display: none; font-size: 9px; letter-spacing: .13em; padding: 10px 14px; text-transform: uppercase; }

/* Product detail */
.product-page { padding: 60px 0 120px; }
.product-detail { display: grid; gap: clamp(40px,7vw,100px); grid-template-columns: 1.1fr .9fr; }
.product-gallery { display: grid; gap: 12px; grid-template-columns: 86px 1fr; }
.thumbnails { display: flex; flex-direction: column; gap: 12px; }
.thumb { background: var(--ivory); border: 1px solid transparent; padding: 0; }
.thumb.active { border-color: var(--ink); }
.thumb img { aspect-ratio: 1/1.12; object-fit: cover; }
.main-product-image { background: var(--ivory); overflow: hidden; }
.main-product-image img { aspect-ratio: 1/1.12; object-fit: cover; transition: opacity .25s; width: 100%; }
.product-summary { padding-top: 12px; position: sticky; top: 100px; }
.product-summary h1 { font-family: var(--serif); font-size: clamp(42px,4vw,62px); font-weight: 400; line-height: 1; margin: 14px 0 18px; }
.product-rating { align-items: center; color: var(--muted); display: flex; font-size: 11px; gap: 12px; }
.stars { color: var(--ink); letter-spacing: 2px; }
.detail-price { font-size: 17px; margin: 24px 0; }
.product-description { color: var(--muted); font-weight: 300; margin-bottom: 30px; }
.custom-size-field { margin-bottom: 28px; }
.custom-size-field label { display: block; font-size: 10px; font-weight: 600; letter-spacing: .13em; margin-bottom: 10px; text-transform: uppercase; }
.custom-size-field label span { color: #9f2f25; }
.custom-size-field input { background: transparent; border: 1px solid var(--line); border-radius: 0; height: 52px; outline: 0; padding: 0 15px; transition: border-color .25s ease, box-shadow .25s ease; width: 100%; }
.custom-size-field input:focus { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.custom-size-field input.is-invalid { border-color: #9f2f25; }
.purchase-row { display: grid; gap: 10px; grid-template-columns: 120px 1fr; margin-bottom: 14px; }
.quantity { align-items: center; border: 1px solid var(--line); display: flex; justify-content: space-between; }
.quantity button { background: transparent; border: 0; height: 100%; width: 38px; }
.quantity input { background: transparent; border: 0; text-align: center; width: 30px; }
.accordion { border-top: 1px solid var(--line); }
.accordion-item { border-bottom: 1px solid var(--line); }
.accordion-button { background: transparent; border: 0; display: flex; font-size: 10px; justify-content: space-between; letter-spacing: .14em; padding: 20px 0; text-align: left; text-transform: uppercase; width: 100%; }
.accordion-content { color: var(--muted); display: grid; font-size: 13px; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease); }
.accordion-content > div { overflow: hidden; }
.accordion-content p { padding-bottom: 20px; }
.accordion-item.open .accordion-content { grid-template-rows: 1fr; }
.product-information { display: grid; gap: 14px; padding-top: 22px; }
.product-sku { align-items: center; display: flex; font-size: 11px; gap: 8px; }
.product-sku strong, .product-categories strong { font-size: 11px; }
.product-sku span { color: var(--muted); letter-spacing: .08em; }
.product-categories { align-items: center; display: flex; flex-wrap: wrap; gap: 8px; }
.product-categories strong { margin-right: 3px; }
.product-categories a { background: var(--ivory); border-radius: 999px; font-size: 11px; padding: 7px 13px; transition: background .25s ease, color .25s ease; }
.product-categories a:hover { background: var(--ink); color: var(--paper); }

/* WordPress and WooCommerce integration */
.site-main { min-height: 50vh; }
.main-nav { list-style: none; }
.primary-navigation > .main-nav { height: 100%; }
.custom-logo-link { display: block; }
.entry-content { max-width: 900px; }
.entry-content > * + * { margin-top: 1.4em; }
.entry-content img { height: auto; }
.entry-card { border-top: 1px solid var(--line); padding: 28px 0; }
.entry-card h2 { font-family: var(--serif); font-size: 32px; font-weight: 400; }
.mm-setup-note { background: var(--ivory); border: 1px solid var(--line); grid-column: 1 / -1; padding: 30px; }
.woocommerce-catalog-page { padding-bottom: 110px; }
.woocommerce-catalog-page > .container { width: 100%; }
.woocommerce-catalog-page .woocommerce-notices-wrapper, .woocommerce-catalog-page .woocommerce-ordering, .woocommerce-catalog-page ul.products, .woocommerce-catalog-page .woocommerce-pagination, .woocommerce-catalog-page > .container > p { margin-left: auto; margin-right: auto; width: var(--container); }
.woocommerce-catalog-page .page-hero { margin-bottom: 0; }
.woocommerce .woocommerce-ordering { float: none; margin-bottom: 34px; padding-top: 54px; text-align: right; }
.woocommerce .woocommerce-ordering select { background: transparent; border: 0; border-bottom: 1px solid var(--line); font-size: 11px; padding: 9px 24px 9px 0; }
.woocommerce ul.products { display: grid; gap: 34px 18px; grid-template-columns: repeat(3, 1fr); }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product { float: none !important; margin: 0 !important; width: auto !important; }
.woocommerce ul.products li.product a img { aspect-ratio: 1/1.18; background: var(--ivory); margin-bottom: 17px; object-fit: cover; width: 100%; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-family: var(--serif); font-size: 20px; font-weight: 400; padding: 0; }
.woocommerce ul.products li.product .price { color: var(--ink); font-size: 12px; margin-top: 7px; }
.woocommerce ul.products li.product .button { background: var(--ink); border-radius: 0; color: var(--paper); font-size: 9px; letter-spacing: .14em; margin-top: 13px; padding: 13px 16px; text-transform: uppercase; }
.woocommerce span.onsale { background: var(--paper); border-radius: 0; color: var(--ink); font-size: 8px; left: 12px; letter-spacing: .12em; line-height: 1; min-height: 0; min-width: 0; padding: 8px 10px; top: 12px; }
.woocommerce div.product { padding-top: 60px; }
.woocommerce div.product div.images, .woocommerce div.product div.summary { margin-bottom: 70px; }
.woocommerce div.product .product_title { font-family: var(--serif); font-size: clamp(42px,4vw,62px); font-weight: 400; line-height: 1; }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--ink); font-size: 17px; }
.woocommerce div.product form.cart .button { background: var(--ink); border-radius: 0; min-height: 52px; padding: 0 32px; text-transform: uppercase; }
.woocommerce div.product form.cart div.quantity { float: left; height: 52px; margin-right: 10px; }
.woocommerce div.product form.cart div.quantity .qty { height: 50px; }
.woocommerce div.product .woocommerce-tabs { clear: both; }
.woocommerce div.product .woocommerce-tabs ul.tabs { padding-left: 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { background: transparent; border: 0; border-radius: 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs li::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error { background: var(--ivory); border-top-color: var(--ink); }
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit { background: var(--ink); border-radius: 0; color: var(--paper); }
.woocommerce table.shop_table { border-color: var(--line); border-radius: 0; }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { border-color: var(--line); }
.woocommerce-checkout #customer_details, .woocommerce-checkout #order_review_heading, .woocommerce-checkout #order_review { margin-bottom: 40px; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .select2-container--default .select2-selection--single { background: transparent; border: 1px solid var(--line); border-radius: 0; min-height: 48px; padding: 10px 12px; }
.woocommerce-checkout-payment { background: var(--ivory) !important; border-radius: 0 !important; }
.woocommerce #payment #place_order { min-height: 52px; width: 100%; }
.woocommerce .section--soft.new-arrivals { clear: both; margin-left: calc((var(--container) - 100vw) / 2); margin-right: calc((var(--container) - 100vw) / 2); padding-left: calc((100vw - var(--container)) / 2); padding-right: calc((100vw - var(--container)) / 2); }

/* About and contact */
.about-intro { align-items: start; display: grid; gap: 100px; grid-template-columns: .75fr 1.25fr; }
.about-intro .lead { color: var(--ink); font-family: var(--serif); font-size: clamp(30px,3.4vw,49px); line-height: 1.25; }
.about-intro__body { color: var(--muted); columns: 2; column-gap: 45px; }
.about-intro__body p + p { margin-top: 18px; }
.about-banner { height: min(70vw,760px); overflow: hidden; }
.about-banner img { height: 100%; object-fit: cover; width: 100%; }
.values-grid { display: grid; gap: 1px; grid-template-columns: repeat(3,1fr); }
.value-card { background: var(--ivory); min-height: 320px; padding: 50px; }
.value-card span { font-family: var(--serif); font-size: 54px; }
.value-card h3 { font-family: var(--serif); font-size: 30px; font-weight: 400; margin: 45px 0 12px; }
.value-card p { color: var(--muted); font-size: 13px; }
.contact-grid { display: grid; gap: 80px; grid-template-columns: .8fr 1.2fr; }
.contact-hero p { color: var(--muted); margin-top: 22px; max-width: 430px; }
.contact-details h2 { font-family: var(--serif); font-size: clamp(38px,4vw,60px); font-weight: 400; line-height: 1.1; margin-bottom: 25px; }
.contact-details > p { color: var(--muted); margin-bottom: 55px; max-width: 440px; }
.contact-item { border-top: 1px solid var(--line); display: grid; gap: 20px; grid-template-columns: 110px 1fr; padding: 22px 0; }
.contact-item strong { font-size: 9px; letter-spacing: .14em; text-transform: uppercase; }
.contact-item p, .contact-item a { color: var(--muted); font-size: 13px; }
.form-card { background: var(--ivory); padding: clamp(30px,5vw,70px); }
.form-card h3 { font-family: var(--serif); font-size: 36px; font-weight: 400; margin-bottom: 8px; }
.form-intro { color: var(--muted); margin-bottom: 32px; }
.form-card .form-row { display: grid; gap: 20px; grid-template-columns: 1fr 1fr; }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 9px; letter-spacing: .14em; margin-bottom: 8px; text-transform: uppercase; }
.field input, .field textarea, .field select { background: transparent; border: 0; border-bottom: 1px solid var(--line); outline: 0; padding: 13px 0; width: 100%; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--ink); }
.contact-map-section { background: var(--ivory); border-top: 1px solid var(--line); padding: 82px 0 100px; }
.contact-map-head { align-items: end; display: grid; gap: 60px; grid-template-columns: 1fr 1fr; margin-bottom: 40px; }
.contact-map-head > div:last-child { justify-self: end; max-width: 430px; }
.contact-map-head p { color: var(--muted); margin-bottom: 16px; }
.contact-map { background: #e8e1d7; border: 1px solid var(--line); height: clamp(380px, 42vw, 590px); overflow: hidden; }
.contact-map iframe { border: 0; height: 100%; width: 100%; }

/* Cart */
.cart-page { padding: 70px 0 120px; }
.cart-layout { display: grid; gap: 70px; grid-template-columns: 1.25fr .75fr; }
.cart-title { font-family: var(--serif); font-size: clamp(44px,5vw,70px); font-weight: 400; margin-bottom: 45px; }
.cart-item { border-top: 1px solid var(--line); display: grid; gap: 25px; grid-template-columns: 150px 1fr auto; padding: 28px 0; }
.cart-item img { aspect-ratio: 1/1.15; object-fit: cover; }
.cart-item h3 { font-family: var(--serif); font-size: 23px; font-weight: 400; }
.cart-item p { color: var(--muted); font-size: 11px; margin: 6px 0 25px; }
.remove { background: transparent; border: 0; color: var(--muted); font-size: 9px; letter-spacing: .12em; margin-top: 14px; text-decoration: underline; text-transform: uppercase; }
.cart-summary { background: var(--ivory); padding: 40px; position: sticky; top: 95px; }
.cart-summary h2 { font-family: var(--serif); font-size: 32px; font-weight: 400; margin-bottom: 25px; }
.summary-row { color: var(--muted); display: flex; font-size: 12px; justify-content: space-between; padding: 9px 0; }
.summary-row.total { border-top: 1px solid var(--line); color: var(--ink); font-size: 16px; margin-top: 15px; padding: 20px 0 28px; }
.cart-summary small { color: var(--muted); display: block; font-size: 10px; margin-top: 15px; text-align: center; }
.empty-cart { border-top: 1px solid var(--line); display: none; padding: 60px 0; text-align: center; }
.empty-cart h2 { font-family: var(--serif); font-size: 36px; font-weight: 400; margin-bottom: 20px; }

/* Checkout */
.checkout-page { padding: 62px 0 120px; }
.checkout-title { font-family: var(--serif); font-size: clamp(44px,5vw,70px); font-weight: 400; line-height: 1; margin-bottom: 42px; }
.checkout-layout { align-items: start; display: grid; gap: clamp(45px,7vw,100px); grid-template-columns: 1.15fr .85fr; }
.checkout-form-card > h2, .checkout-summary > h2 { font-family: var(--serif); font-size: 29px; font-weight: 400; margin-bottom: 28px; }
.checkout-fields { display: grid; gap: 20px 16px; grid-template-columns: 1fr 1fr; }
.checkout-fields label { font-size: 11px; font-weight: 600; }
.checkout-fields label > span { color: #a3322a; }
.checkout-fields label small { color: var(--muted); font-weight: 400; }
.checkout-fields input, .checkout-fields textarea { background: transparent; border: 1px solid var(--line); border-radius: 0; display: block; margin-top: 8px; outline: 0; padding: 14px; resize: vertical; width: 100%; }
.checkout-fields input:focus, .checkout-fields textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.field-wide { grid-column: 1 / -1; }
.payment-methods { border: 0; margin-top: 38px; }
.payment-methods legend { font-family: var(--serif); font-size: 26px; margin-bottom: 18px; }
.payment-option { align-items: center; border: 1px solid var(--line); cursor: pointer; display: flex; gap: 14px; margin-top: 10px; padding: 18px; transition: border-color .25s ease, background .25s ease; }
.payment-option.active { background: var(--ivory); border-color: var(--ink); }
.payment-option input { accent-color: var(--ink); }
.payment-option strong, .payment-option small { display: block; }
.payment-option strong { font-size: 12px; }
.payment-option small { color: var(--muted); font-size: 10px; margin-top: 2px; }
.payment-notice { color: #b42318; display: none; font-size: 12px; font-weight: 600; margin-top: 10px; }
.payment-notice.show { display: block; }
.checkout-summary { background: var(--ivory); padding: 36px; position: sticky; top: 96px; }
.checkout-product { align-items: center; border-bottom: 1px solid var(--line); display: grid; gap: 14px; grid-template-columns: 76px 1fr auto; margin-bottom: 18px; padding-bottom: 24px; }
.checkout-product img { aspect-ratio: 1/1.1; object-fit: cover; width: 76px; }
.checkout-product strong, .checkout-product small { display: block; }
.checkout-product strong { font-family: var(--serif); font-size: 17px; font-weight: 400; }
.checkout-product small { color: var(--muted); font-size: 10px; margin-top: 5px; }
.checkout-product > span { font-size: 11px; white-space: nowrap; }
.checkout-help { color: var(--muted); display: block; font-size: 10px; margin-top: 14px; text-align: center; }

/* Footer */
.site-footer { background: var(--ivory); border-top: 1px solid var(--line); padding: 82px 0 24px; }
.footer-top { display: grid; gap: 60px; grid-template-columns: 1.6fr repeat(3,1fr); padding-bottom: 70px; }
.footer-brand img { height: 86px; margin-bottom: 18px; object-fit: cover; object-position: 50% 57%; width: 86px; }
.footer-brand p { color: var(--muted); max-width: 330px; }
.footer-column h3 { font-size: 9px; letter-spacing: .16em; margin-bottom: 20px; text-transform: uppercase; }
.footer-column a { color: var(--muted); display: block; font-size: 12px; padding: 5px 0; }
.footer-column a:hover { color: var(--ink); }
.footer-bottom { border-top: 1px solid var(--line); color: var(--muted); display: flex; font-size: 9px; justify-content: space-between; letter-spacing: .1em; padding-top: 22px; text-transform: uppercase; }

/* Toast and reveal */
.toast { background: var(--ink); bottom: 24px; color: #fff; font-size: 11px; left: 50%; opacity: 0; padding: 14px 22px; pointer-events: none; position: fixed; transform: translate(-50%,20px); transition: .3s var(--ease); z-index: 1800; }
.toast.show { opacity: 1; transform: translate(-50%,0); }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1100px) {
  :root { --container: min(100% - 44px, 1100px); }
  .main-nav { gap: 18px; }
  .main-nav > a, .main-nav > li > a, .nav-parent > button { font-size: 10px; letter-spacing: .045em; }
  .category-mosaic { grid-auto-rows: 330px; grid-template-columns: 1fr 1fr; }
  .product-grid { grid-template-columns: repeat(2,1fr); }
  .shop-main .product-grid { grid-template-columns: repeat(2,1fr); }
  .story-split { gap: 55px; }
  .footer-top { grid-template-columns: 1.5fr repeat(3,1fr); gap: 30px; }
}

@media (max-width: 820px) {
  :root { --container: calc(100vw - 36px); --header-height: 68px; }
  .site-header, .site-header.is-compact { display: block; height: 68px; padding: 0; top: 0; }
  .header-main, .site-header.is-compact .header-main { display: block; height: 68px; position: relative; }
  .brand { left: 14px; position: absolute; top: 8px; }
  .brand img, .site-header.is-compact .brand img { height: 52px; width: 138px; }
  body .site-header .header-main > .header-actions { display: none; }
  .nav-row { display: none; }
  .header-label { display: none; }
  .header-actions { gap: 0; }
  .site-header > .mobile-actions { align-items: center; display: flex; flex-wrap: nowrap; gap: 1px; justify-content: flex-end; left: auto; position: absolute; right: 10px; top: 10px; width: 136px; z-index: 1100; }
  .mobile-actions .menu-toggle { align-items: center; background: var(--ink); border-radius: 50%; color: var(--paper); display: inline-flex; height: 38px; margin-left: 8px; position: static; width: 38px; }
  .menu-toggle svg { height: 18px; width: 18px; }
  .account-button { display: none; }
  .mobile-panel { background: var(--paper); display: flex; flex-direction: column; inset: 68px 0 0; opacity: 0; overflow-y: auto; padding: 30px 24px 40px; pointer-events: none; position: fixed; transform: translateX(100%); transition: .4s var(--ease); visibility: hidden; z-index: 1050; }
  .mobile-panel.open { opacity: 1; pointer-events: auto; transform: none; visibility: visible; }
  .mobile-panel > a { align-items: center; border-bottom: 1px solid var(--line); display: flex; font-family: var(--serif); font-size: 30px; justify-content: space-between; padding: 12px 0; }
  .mobile-panel > a::after { content: '\2197'; font-family: var(--sans); font-size: 14px; }
  .mobile-panel .mobile-nav-list, .mobile-panel > .main-nav { display: block; }
  .mobile-panel li { border-bottom: 1px solid var(--line); }
  .mobile-panel li a { align-items: center; display: flex; font-family: var(--serif); font-size: 30px; justify-content: space-between; padding: 12px 0; }
  .mobile-panel li a::after { content: '\2197'; font-family: var(--sans); font-size: 14px; }
  .mobile-panel small { color: var(--muted); font-size: 9px; letter-spacing: .15em; margin: 24px 0 9px; text-transform: uppercase; }
  .mobile-panel__meta { display: flex; gap: 20px; margin-top: 28px; }
  .mobile-panel__meta a { border: 0; font-family: var(--sans); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
  .search-form { margin-top: 18vh; }
  .hero, .hero-content { height: calc(100svh - 68px); min-height: 610px; }
  .hero-media::after { background: linear-gradient(90deg,rgba(247,242,233,.94),rgba(247,242,233,.25)); content: ''; inset: 0; position: absolute; }
  .hero-media img { object-position: 62% center; }
  .hero-content { padding: 55px 0 110px; width: 70%; }
  .value-strip { grid-template-columns: 1fr; }
  .value-item { justify-content: flex-start; padding-left: 8vw; }
  .value-item + .value-item { border-left: 0; border-top: 1px solid var(--line); }
  .section { padding: 82px 0; }
  .section-head { align-items: flex-start; flex-direction: column; gap: 20px; }
  .editorial-card { min-height: 590px; }
  .story-split { grid-template-columns: 1fr; }
  .story-media::before { display: none; }
  .shop-layout { grid-template-columns: 1fr; }
  .shop-sidebar { background: var(--paper); inset: 68px 0 0; overflow: auto; padding: 30px; position: fixed; transform: translateX(-100%); transition: .4s var(--ease); z-index: 900; }
  .shop-sidebar.open { transform: none; }
  .filter-head .icon-button { display: inline-flex; }
  .filter-toggle { display: block; }
  .product-detail { grid-template-columns: 1fr; }
  .product-summary { position: static; }
  .about-intro { gap: 35px; grid-template-columns: 1fr; }
  .about-intro__body { columns: 1; }
  .contact-grid { gap: 45px; grid-template-columns: 1fr; }
  .contact-map-head { align-items: start; gap: 20px; grid-template-columns: 1fr; }
  .contact-map-head > div:last-child { justify-self: start; }
  .cart-layout { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
  .checkout-layout { grid-template-columns: 1fr; }
  .checkout-summary { position: static; }
  .woocommerce ul.products { grid-template-columns: repeat(2,1fr); }
  .footer-top { grid-template-columns: 1.3fr 1fr 1fr; }
  .footer-brand { grid-column: span 3; }
}

@media (max-width: 560px) {
  .brand img, .site-header.is-compact .brand img { height: 48px; width: 118px; }
  .display { font-size: clamp(47px,15vw,70px); }
  .hero-media img { object-position: 68% center; }
  .hero-content { width: 78%; }
  .hero .lead { font-size: 14px; }
  .category-mosaic { display: flex; gap: 10px; margin-right: -18px; overflow-x: auto; padding-right: 18px; scroll-snap-type: x mandatory; }
  .category-tile { flex: 0 0 82%; min-height: 490px; scroll-snap-align: start; }
  .category-tile:first-child { min-height: 490px; }
  .product-grid, .shop-main .product-grid { gap: 30px 10px; grid-template-columns: repeat(2,1fr); }
  .product-meta { display: block; }
  .product-meta h3 { font-size: 17px; }
  .price { display: block; margin-top: 6px; }
  .quick-add { display: none; }
  .editorial-duo { grid-template-columns: 1fr; }
  .editorial-card { min-height: 540px; }
  .story-signature { grid-template-columns: 1fr 1fr; }
  .page-hero { min-height: 260px; }
  .shop-layout { padding-top: 42px; }
  .shop-toolbar { align-items: flex-start; gap: 16px; }
  .shop-toolbar p { display: none; }
  .product-gallery { display: flex; flex-direction: column; }
  .thumbnails { flex-direction: row; margin-top: 0; order: 2; overflow-x: auto; }
  .thumb { flex: 0 0 72px; }
  .main-product-image { margin-bottom: 0; order: 1; }
  .purchase-row { grid-template-columns: 100px 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .value-card { min-height: 250px; }
  .form-card .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-item { grid-template-columns: 90px 1fr; }
  .contact-map-section { padding: 68px 0; }
  .contact-map { height: 430px; }
  .cart-item { gap: 14px; grid-template-columns: 92px 1fr; }
  .cart-item__price { grid-column: 2; }
  .cart-summary { padding: 28px 22px; }
  .checkout-fields { grid-template-columns: 1fr; }
  .checkout-fields .field-wide { grid-column: auto; }
  .checkout-summary { padding: 28px 20px; }
  .checkout-product { grid-template-columns: 64px 1fr; }
  .checkout-product img { width: 64px; }
  .checkout-product > span { grid-column: 2; }
  .woocommerce div.product div.images, .woocommerce div.product div.summary { float: none; width: 100%; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
  .footer-bottom { flex-direction: column; gap: 12px; }
}

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

/* ========================================================================== */
/* Premium storefront refinements — version 1.1                               */
/* ========================================================================== */

:root { --wp-admin-offset: 0px; }
.announcement-bar { display: none !important; }

/* Stable desktop and mobile header */
.site-header,
.site-header.is-compact {
  display: block;
  height: 76px;
  padding: 0;
  top: var(--wp-admin-offset);
}
.header-main,
.site-header.is-compact .header-main {
  align-items: center;
  display: grid;
  grid-template-columns: 175px minmax(0, 1fr) 175px;
  height: 100%;
  margin: 0 auto;
  max-width: 1660px;
  padding: 0 3.5vw;
  position: relative;
  width: 100%;
}
.brand,
.site-header.is-compact .brand {
  align-items: center;
  display: flex;
  grid-column: 1;
  justify-content: flex-start;
  left: auto;
  position: static;
  top: auto;
}
.brand img,
.site-header.is-compact .brand img {
  height: 60px;
  object-fit: contain;
  width: 145px;
}
.nav-row,
.site-header.is-compact .nav-row {
  display: flex;
  grid-column: 2;
  height: 100%;
  justify-content: center;
}
.primary-navigation,
.primary-navigation > .main-nav { height: 100%; }
.primary-navigation > .main-nav > li { height: 100%; }
.main-nav { gap: clamp(20px, 2.15vw, 42px); }
.main-nav > li > a {
  align-items: center;
  display: flex;
  font-size: 13px;
  height: 100%;
  letter-spacing: .055em;
  padding: 0;
}
.main-nav > a::after,
.main-nav > li > a::after,
.nav-parent > button::after {
  bottom: 14px;
  display: block !important;
}
.desktop-actions {
  display: flex;
  grid-column: 3;
  justify-content: flex-end;
}
.header-main > .header-actions:first-child,
.header-main > .header-actions:last-child { margin: 0; }
.mobile-actions { display: none; }
.search-panel { padding-top: calc(34px + var(--wp-admin-offset)); }

/* Homepage hero: use a wide outer container and a genuinely left-aligned copy block. */
.hero-container {
  height: 100%;
  position: relative;
  width: calc(100vw - clamp(48px, 9vw, 176px));
}
.hero-content {
  align-items: flex-start;
  display: flex;
  height: 100%;
  justify-content: center;
  margin: 0;
  padding: 50px 0 70px;
  width: min(540px, 48%);
}
.hero-copy { max-width: 540px; width: 100%; }
.hero-copy .display { max-width: 520px; }
.hero-copy .lead { max-width: 490px; }

/* Shop archive: one controlled header, useful filters and a balanced grid */
.woocommerce-products-header,
.woocommerce .woocommerce-breadcrumb { display: none; }
.woocommerce-catalog-page { padding-bottom: 120px; }
.woocommerce-catalog-page > .container { width: 100%; }
.catalog-hero { min-height: 400px; }
.catalog-hero .container { overflow: hidden; }
.catalog-hero .section-title { max-width: 1200px; }
.category-chips {
  flex-wrap: wrap;
  overflow: visible;
  padding-left: max(20px, calc((100vw - min(1380px, calc(100vw - 80px))) / 2));
  padding-right: max(20px, calc((100vw - min(1380px, calc(100vw - 80px))) / 2));
}
.category-chips .chip { font-size: 11px; padding: 11px 21px; }
.shop-layout {
  align-items: start;
  display: grid;
  gap: clamp(40px, 5vw, 70px);
  grid-template-columns: 230px minmax(0, 1fr);
  padding: 70px 0 20px;
}
.shop-sidebar { min-width: 0; }
.filter-head { align-items: center; }
.filter-head .icon-button { display: none; }
.filter-head strong,
.filter-block h3 { font-size: 11px; }
.filter-option { font-size: 14px; padding: 7px 0; }
.filter-option > span { align-items: center; display: flex; gap: 11px; }
.filter-option b { color: var(--muted); font-size: 13px; font-weight: 400; }
.filter-box {
  border: 1px solid #8d867f;
  display: inline-block;
  height: 15px;
  position: relative;
  width: 15px;
}
.filter-option.selected { color: var(--ink); }
.filter-option.selected .filter-box { background: var(--ink); border-color: var(--ink); }
.filter-option.selected .filter-box::after {
  border: solid var(--paper);
  border-width: 0 1px 1px 0;
  content: '';
  height: 6px;
  left: 4px;
  position: absolute;
  top: 1px;
  transform: rotate(45deg);
  width: 3px;
}
.shop-main { min-width: 0; }
.shop-toolbar {
  align-items: center;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) auto;
  margin-bottom: 34px;
  min-height: 42px;
  width: 100%;
}
.shop-toolbar .woocommerce-result-count {
  color: var(--muted);
  float: none;
  font-size: 13px;
  grid-column: 1;
  justify-self: start;
  line-height: 1.4;
  margin: 0;
  white-space: nowrap;
}
.shop-toolbar .woocommerce-ordering {
  float: none;
  grid-column: 2;
  justify-self: end;
  margin: 0;
  padding: 0;
}
.shop-main .woocommerce-notices-wrapper { margin: 0 0 24px; width: 100%; }
.shop-main .products { margin: 0 !important; width: 100% !important; }
.shop-main .woocommerce-pagination { width: 100% !important; }
.filter-toggle { margin-right: 18px; }

/* Single product */
.single-product .product-page { padding: 72px 0 120px; }
.single-product .product-page > .container { width: var(--container); }
.single-product div.product {
  align-items: start;
  display: grid;
  gap: clamp(48px, 6.5vw, 105px);
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
  padding-top: 0;
}
.single-product div.product div.images,
.single-product div.product div.summary {
  float: none;
  margin: 0 0 76px;
  width: auto;
}
.single-product div.product div.images { min-width: 0; }
.single-product div.product div.images .woocommerce-product-gallery__wrapper {
  background: #f3f5f4;
}
.single-product div.product div.images img { width: 100%; }
.single-product div.product div.summary {
  padding-top: 10px;
  position: sticky;
  top: calc(98px + var(--wp-admin-offset));
}
.single-product div.product .product_title {
  font-size: clamp(48px, 5vw, 76px);
  letter-spacing: -.045em;
  margin: 0 0 22px;
}
.single-product .woocommerce-product-details__short-description {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
  margin: 30px 0 34px;
  max-width: 680px;
}
.single-product div.product p.price {
  font-size: 19px;
  margin: 0 0 30px;
}
.single-product div.product form.cart {
  display: grid;
  gap: 14px 16px;
  grid-template-columns: max-content minmax(0, 1fr);
  margin: 0 0 38px;
}
.single-product .custom-size-field { grid-column: 1 / -1; margin-bottom: 12px; order: 0; }
.single-product .custom-size-field input { height: 66px; padding: 0 18px; }
.woocommerce .quantity {
  align-items: stretch;
  background: transparent;
  border: 0;
  display: grid;
  float: none !important;
  gap: 7px;
  grid-template-columns: repeat(3, 58px);
  height: 58px !important;
  margin: 0 !important;
  width: max-content;
}
.woocommerce .quantity .mm-qty-button {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 18px;
  line-height: 1;
  padding: 0;
  width: 58px;
}
.woocommerce .quantity .qty {
  appearance: textfield;
  background: transparent;
  border: 1px solid var(--line) !important;
  height: 56px !important;
  margin: 0;
  padding: 0;
  text-align: center;
  width: 58px;
}
.woocommerce .quantity .qty::-webkit-inner-spin-button,
.woocommerce .quantity .qty::-webkit-outer-spin-button { appearance: none; margin: 0; }
.single-product div.product form.cart .single_add_to_cart_button {
  min-height: 58px;
  order: 2;
  width: 100%;
}
.single-product div.product form.cart .quantity { order: 1; }
.single-product div.product .product_meta {
  border-top: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.7;
  padding-top: 26px;
}
.single-product .product_meta .sku_wrapper,
.single-product .product_meta .posted_in,
.single-product .product_meta .tagged_as { display: block; }
.single-product .product_meta .posted_in,
.single-product .product_meta .tagged_as { margin-top: 12px; }
.single-product .product_meta .posted_in a {
  background: var(--ivory);
  border-radius: 999px;
  display: inline-block;
  font-size: 11px;
  margin: 3px 3px 3px 5px;
  padding: 5px 12px;
}
.single-product .woocommerce-tabs,
.single-product .section--soft.new-arrivals,
.single-product .related { grid-column: 1 / -1; }

/* Cart */
.woocommerce-cart .cart-page { padding-top: 72px; }
.woocommerce-cart .woocommerce-cart-form { margin-bottom: 55px; }
.woocommerce-cart table.shop_table { border-collapse: collapse; }
.woocommerce-cart table.shop_table th,
.woocommerce-cart table.shop_table td { padding: 18px 16px; }
.woocommerce-cart table.shop_table td.product-name a { font-family: var(--serif); font-size: 20px; }
.woocommerce-cart table.shop_table .product-thumbnail img { width: 76px; }
.woocommerce-cart table.shop_table td.actions { padding: 16px; }
.woocommerce-cart table.shop_table td.actions .coupon {
  align-items: stretch;
  display: flex;
  gap: 8px;
}
.woocommerce-cart table.shop_table td.actions .coupon .input-text {
  border: 1px solid var(--line);
  float: none;
  min-height: 46px;
  padding: 0 14px;
  width: 230px;
}
.woocommerce-cart table.shop_table td.actions button[name="update_cart"] {
  float: right;
  min-height: 46px;
  min-width: 150px;
}
.woocommerce-cart table.shop_table td.actions button:disabled {
  background: var(--ivory) !important;
  border: 1px solid var(--line) !important;
  color: var(--muted) !important;
  opacity: 1;
}
.woocommerce-cart .cart-collaterals .cart_totals { float: right; width: min(680px, 100%); }
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
  background: var(--ink);
  border-radius: 0;
  color: var(--paper);
  font-size: 12px;
  letter-spacing: .12em;
  padding: 20px;
  text-transform: uppercase;
}

/* Checkout */
.woocommerce-checkout .checkout-page { padding: 72px 0 120px; }
.woocommerce-checkout form.checkout {
  align-items: start;
  display: grid;
  gap: clamp(55px, 7vw, 110px);
  grid-template-columns: minmax(0, 1.15fr) minmax(390px, .85fr);
}
.woocommerce-checkout #customer_details {
  grid-column: 1;
  margin: 0;
  min-width: 0;
}
.woocommerce-checkout #customer_details::before {
  content: 'Contact and delivery';
  display: block;
  font-family: var(--serif);
  font-size: 34px;
  line-height: 1.1;
  margin-bottom: 30px;
}
.woocommerce-checkout #customer_details .col-1,
.woocommerce-checkout #customer_details .col-2 {
  float: none;
  width: 100%;
}
.woocommerce-checkout .woocommerce-billing-fields > h3,
.woocommerce-checkout .woocommerce-additional-fields > h3,
.woocommerce-checkout #order_review_heading { display: none; }
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 0 18px;
}
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper .form-row-first,
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper .form-row-last {
  float: none;
  width: calc(50% - 9px);
}
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper .form-row-wide { width: 100%; }
.woocommerce-checkout form .form-row { display: block; margin: 0 0 20px; padding: 0; }
.woocommerce-checkout form .form-row label {
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 7px;
}
.woocommerce-checkout form .form-row input.input-text,
.woocommerce-checkout form .form-row textarea,
.woocommerce-checkout .select2-container--default .select2-selection--single {
  min-height: 58px;
  padding: 15px 16px;
}
.woocommerce-checkout form .form-row textarea { min-height: 105px; }
.woocommerce-checkout .woocommerce-additional-fields { margin-top: 4px; }
.woocommerce-checkout #order_review {
  background: var(--ivory);
  grid-column: 2;
  margin: 0;
  padding: clamp(28px, 3.3vw, 48px);
  position: sticky;
  top: calc(98px + var(--wp-admin-offset));
}
.woocommerce-checkout #order_review::before {
  content: 'Order summary';
  display: block;
  font-family: var(--serif);
  font-size: 34px;
  line-height: 1.1;
  margin-bottom: 28px;
}
.woocommerce-checkout #order_review table.shop_table {
  border: 0;
  margin-bottom: 24px;
}
.woocommerce-checkout #order_review table.shop_table th,
.woocommerce-checkout #order_review table.shop_table td {
  border-color: var(--line);
  padding: 15px 0;
}
.woocommerce-checkout #payment {
  background: transparent !important;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.woocommerce-checkout #payment ul.payment_methods {
  border: 0;
  padding: 0 0 16px;
}
.woocommerce-checkout #payment ul.payment_methods li {
  border: 1px solid var(--line);
  margin: 10px 0 0;
  padding: 16px;
}
.woocommerce-checkout #payment ul.payment_methods li:has(input:checked) { border-color: var(--ink); }
.woocommerce-checkout #payment div.payment_box {
  background: rgba(36, 31, 26, .055);
  color: var(--muted);
  margin: 14px 0 0;
}
.woocommerce-checkout #payment div.payment_box::before { border-bottom-color: rgba(36, 31, 26, .055); }
.woocommerce-checkout #payment .place-order { padding: 18px 0 0; }
.woocommerce-checkout #payment #place_order {
  background: var(--ink) !important;
  color: var(--paper) !important;
  float: none;
  font-size: 11px;
  letter-spacing: .16em;
  min-height: 60px;
  text-transform: uppercase;
  width: 100%;
}
.woocommerce-checkout .payment-notice { color: #b42318; }

/* Our Story */
.about-intro-section { padding-bottom: 100px; }
.about-intro { gap: 52px 80px; }
.about-intro .lead { margin: 0; }
.about-intro__body { column-gap: 55px; }
.about-banner { height: min(55vw, 680px); }
.about-values .section-head { margin-bottom: 58px; }
.about-home .story-copy .lead { max-width: 720px; }

/* Contact page and Contact Form 7 */
.contact-grid { gap: clamp(40px, 4.5vw, 78px); grid-template-columns: 1.12fr 1fr; }
.contact-cards { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.contact-card {
  align-items: center;
  background: var(--ivory);
  border: 1px solid var(--line);
  color: var(--ink);
  display: flex;
  gap: 18px;
  justify-content: flex-start;
  min-height: 185px;
  padding: 34px 30px;
  text-align: left;
}
.contact-card svg { fill: none; flex: 0 0 30px; height: 30px; stroke: currentColor; stroke-width: 1.5; width: 30px; }
.contact-card span { max-width: none; min-width: 0; }
.contact-card strong { display: block; font-family: var(--serif); font-size: 23px; font-weight: 400; line-height: 1.2; }
.contact-card small { color: var(--muted); display: block; font-size: 14px; line-height: 1.55; margin-top: 10px; overflow-wrap: anywhere; }
.contact-card[href^="mailto:"] small { font-size: 13px; overflow-wrap: normal; white-space: nowrap; }
.contact-form-wrap h2 { font-family: var(--serif); font-size: 38px; font-weight: 400; }
.contact-form-wrap .form-intro { font-size: 16px; line-height: 1.6; }
.contact-form-wrap .mm-setup-note { background: var(--paper); padding: 22px; }
.wpcf7-form { display: block; }
.wpcf7-form .form-row { display: grid; gap: 20px; grid-template-columns: 1fr 1fr; }
.wpcf7-form > p { margin: 0 0 18px; }
.wpcf7-form .mm-field-wide { display: block; margin-bottom: 18px; }
.wpcf7-form label { display: block; font-size: 12px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; }
.wpcf7-form input:not([type="submit"]),
.wpcf7-form select,
.wpcf7-form textarea {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  font-size: 15px;
  line-height: 1.5;
  margin-top: 8px;
  min-height: 52px;
  outline: 0;
  padding: 12px 0;
  width: 100%;
}
.wpcf7-form textarea { min-height: 130px; }
.wpcf7-form input[type="submit"] {
  background: var(--ink);
  border: 1px solid var(--ink);
  color: var(--paper);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .15em;
  min-height: 52px;
  padding: 0 28px;
  text-transform: uppercase;
}
.wpcf7-form input::placeholder,
.wpcf7-form textarea::placeholder { color: var(--muted); font-size: 15px; opacity: 1; }
.wpcf7-response-output { margin: 18px 0 0 !important; }

/* Keep all WooCommerce actions inside the brand palette */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
  background: var(--ink);
  color: var(--paper);
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover { background: #3a332d; color: #fff; }

@media (max-width: 1100px) {
  .header-main { grid-template-columns: 145px minmax(0, 1fr) 145px; padding-inline: 22px; }
  .main-nav { gap: 17px; }
  .main-nav > li > a { font-size: 10px; }
  .single-product div.product { gap: 45px; grid-template-columns: 1fr 1fr; }
  .contact-card { min-height: 155px; padding: 24px 20px; }
}

@media (max-width: 820px) {
  .site-header,
  .site-header.is-compact { height: 72px; top: var(--wp-admin-offset); }
  .header-main,
  .site-header.is-compact .header-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    height: 72px;
    padding: 0 12px 0 16px;
  }
  .brand,
  .site-header.is-compact .brand { grid-column: 1; }
  .brand img,
  .site-header.is-compact .brand img { height: 54px; width: 128px; }
  .nav-row,
  .desktop-actions { display: none !important; }
  .mobile-actions {
    align-items: center;
    display: flex;
    gap: 1px;
    grid-column: 2;
    justify-content: flex-end;
    position: static;
    width: auto;
  }
  .mobile-actions .icon-button { height: 40px; width: 40px; }
  .mobile-actions .menu-toggle {
    background: var(--ink);
    border-radius: 50%;
    color: var(--paper);
    height: 44px;
    margin-left: 8px;
    width: 44px;
  }
  .mobile-panel {
    inset: calc(var(--wp-admin-offset) + 72px) 0 0;
    padding: 28px 28px 44px;
    z-index: 999;
  }
  .mobile-panel li a { font-size: clamp(30px, 8vw, 38px); padding: 16px 0; }
  .search-panel { padding-top: calc(24px + var(--wp-admin-offset)); }

  .hero,
  .hero-container,
  .hero-content { height: calc(100svh - 72px); min-height: 620px; }
  .hero-container { width: calc(100vw - 40px); }
  .hero-content { align-items: flex-start; padding: 24px 0 176px; width: min(460px, 84%); }
  .hero-copy { max-width: 460px; width: 100%; }
  .hero-copy .display { font-size: clamp(48px, 14vw, 72px); }
  .hero-media::after { background: linear-gradient(90deg,rgba(247,242,233,.94),rgba(247,242,233,.22)); }

  .catalog-hero { min-height: 300px; padding: 62px 0; }
  .catalog-hero .section-title { font-size: clamp(44px, 12vw, 64px); overflow-wrap: normal; }
  .category-chips { gap: 8px; padding: 18px; }
  .category-chips .chip { font-size: 10px; padding: 10px 16px; }
  .shop-layout { display: block; padding: 42px 0 0; }
  .shop-sidebar {
    inset: calc(var(--wp-admin-offset) + 72px) 0 0;
    padding: 28px;
    z-index: 1200;
  }
  .filter-head .icon-button {
    background: var(--ink);
    border-radius: 50%;
    color: var(--paper);
    display: inline-flex;
    flex: 0 0 40px;
    height: 40px;
    width: 40px;
  }
  .shop-toolbar { gap: 12px; grid-template-columns: max-content minmax(0, 1fr); }
  .shop-toolbar .filter-toggle {
    align-items: center;
    display: inline-flex;
    justify-content: center;
    margin-right: 0;
    min-height: 42px;
    min-width: 132px;
    white-space: nowrap;
  }
  .shop-toolbar .woocommerce-result-count { display: none; }
  .shop-toolbar .woocommerce-ordering select { max-width: 145px; }

  .single-product .product-page { padding-top: 42px; }
  .single-product div.product { display: block; }
  .single-product div.product div.images,
  .single-product div.product div.summary { margin-bottom: 52px; width: 100%; }
  .single-product div.product div.summary { position: static; }
  .single-product div.product .product_title { font-size: clamp(44px, 11vw, 64px); }

  .woocommerce-checkout form.checkout { display: block; }
  .woocommerce-checkout #customer_details { margin-bottom: 46px; }
  .woocommerce-checkout #order_review { padding: 30px 24px; position: static; }
  .about-intro { gap: 30px; }
  .about-intro__spacer { display: none; }
  .about-banner { height: min(85vw, 580px); }
  .contact-grid { display: block; }
  .contact-form-wrap { margin-top: 48px; }
}

@media (max-width: 1050px) {
  .contact-grid { display: block; }
  .contact-form-wrap { margin-top: 48px; }
}

@media (max-width: 560px) {
  .brand img,
  .site-header.is-compact .brand img { height: 50px; width: 116px; }
  .mobile-actions .icon-button { height: 36px; width: 36px; }
  .mobile-actions .menu-toggle { height: 43px; margin-left: 6px; width: 43px; }
  .mobile-panel { padding: 24px 28px 40px; }
  .mobile-panel li a { font-size: 31px; padding: 14px 0; }

  .hero-container { width: calc(100vw - 36px); }
  .hero-content { width: 88%; }
  .hero-copy { width: 100%; }
  .hero .lead { font-size: 14px; }
  .catalog-hero .section-title { font-size: 46px; line-height: 1.02; }
  .shop-main .products { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .single-product div.product form.cart { gap: 10px; grid-template-columns: max-content minmax(0, 1fr); }
  .single-product .custom-size-field { grid-column: 1 / -1; }
  .woocommerce .quantity { gap: 5px; grid-template-columns: repeat(3, 40px); height: 54px !important; }
  .woocommerce .quantity .mm-qty-button { height: 54px; width: 40px; }
  .woocommerce .quantity .qty { height: 54px !important; width: 40px; }
  .single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; padding-inline: 14px; }

  .woocommerce-cart table.shop_table td.actions .coupon { display: grid; grid-template-columns: 1fr auto; width: 100%; }
  .woocommerce-cart table.shop_table td.actions .coupon .input-text { min-width: 0; width: 100%; }
  .woocommerce-cart table.shop_table td.actions button[name="update_cart"] { float: none; margin-top: 12px; width: 100%; }
  .woocommerce-cart table.shop_table_responsive tr td.product-quantity::before { padding-top: 17px; }

  .woocommerce-checkout .woocommerce-billing-fields__field-wrapper .form-row-first,
  .woocommerce-checkout .woocommerce-billing-fields__field-wrapper .form-row-last { width: 100%; }
  .checkout-title { font-size: 54px; }
  .woocommerce-checkout #customer_details::before,
  .woocommerce-checkout #order_review::before { font-size: 30px; }

  .about-intro .lead { font-size: 34px; }
  .about-banner { height: 72vw; }
  .value-card { min-height: 225px; padding: 34px 28px; }
  .value-card h3 { margin-top: 28px; }

  .contact-cards { grid-template-columns: 1fr; }
  .contact-card { min-height: 135px; }
  .wpcf7-form .form-row { grid-template-columns: 1fr; }
}

/* Final storefront QA: product discovery, cart drawer and consistent spacing */
body.cart-drawer-open { overflow: hidden; }

/* The Site Identity logo is shared by the header and footer without cropping. */
.footer-brand img,
.footer-brand .custom-logo {
  height: auto;
  margin-bottom: 24px;
  max-height: 128px;
  object-fit: contain;
  object-position: left center;
  width: min(250px, 100%);
}

/* Product cards only navigate to the product page. */
.product-card { display: flex; flex-direction: column; }
.product-card .product-media > a { height: 100%; }
.product-card .product-meta { flex: 1; gap: 16px; }
.product-card .product-meta > div { min-width: 0; }
.product-card .product-meta h3 a { display: inline; }
.product-card .quick-add,
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .added_to_cart,
.products .added_to_cart.wc-forward,
.single-product form.cart .added_to_cart.wc-forward { display: none !important; }
.woocommerce ul.products li.product { display: flex; flex-direction: column; }
.woocommerce ul.products li.product .woocommerce-loop-product__link {
  display: flex;
  flex: 1;
  flex-direction: column;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  line-height: 1.25;
  min-height: 2.5em;
}
.woocommerce ul.products li.product .price { margin-top: auto; padding-top: 8px; }

/* Right-side shopping cart drawer */
.mm-cart-drawer-overlay {
  background: rgba(22, 19, 16, .48);
  inset: 0;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  transition: opacity .3s ease;
  z-index: 1800;
}
.mm-cart-drawer-overlay.open { opacity: 1; pointer-events: auto; }
.mm-cart-drawer {
  background: var(--paper);
  display: flex;
  flex-direction: column;
  height: 100vh;
  height: 100dvh;
  max-width: 100%;
  overflow: hidden;
  position: fixed;
  right: 0;
  top: 0;
  transform: translateX(100%);
  transition: transform .42s var(--ease);
  width: min(520px, 100vw);
  z-index: 1810;
}
.mm-cart-drawer.open { transform: none; }
.mm-cart-drawer.is-loading::after {
  background: rgba(255,253,249,.62);
  content: '';
  inset: 0;
  position: absolute;
  z-index: 4;
}
.mm-cart-drawer-header {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  min-height: 106px;
  padding: 24px 30px;
}
.mm-cart-drawer-header .eyebrow { margin-bottom: 4px; }
.mm-cart-drawer-header h2 { font-family: var(--serif); font-size: 30px; font-weight: 400; line-height: 1.1; }
.mm-cart-drawer-content { display: flex; flex: 1 1 auto; flex-direction: column; min-height: 0; overflow: hidden; }
.mm-cart-drawer-items { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 8px 30px; }
.mm-cart-drawer-item {
  display: grid;
  gap: 18px;
  grid-template-columns: 96px minmax(0, 1fr);
  padding: 24px 0;
}
.mm-cart-drawer-item + .mm-cart-drawer-item { border-top: 1px solid var(--line); }
.mm-cart-drawer-image img { aspect-ratio: 1/1.12; height: 108px; object-fit: cover; width: 96px; }
.mm-cart-drawer-details { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr) auto; }
.mm-cart-drawer-copy { min-width: 0; }
.mm-cart-drawer-name { font-family: var(--serif); font-size: 19px; line-height: 1.25; }
.mm-cart-drawer-copy .variation,
.mm-cart-drawer-copy .wc-item-meta { color: var(--muted); font-size: 11px; margin: 7px 0 0; }
.mm-cart-drawer-copy .variation dt,
.mm-cart-drawer-copy .variation dd,
.mm-cart-drawer-copy .wc-item-meta li { display: inline; float: none; margin: 0; }
.mm-cart-drawer-copy .variation dd p { display: inline; }
.mm-cart-drawer-price { font-size: 12px; white-space: nowrap; }
.mm-cart-drawer-controls { align-items: center; display: flex; gap: 14px; grid-column: 1 / -1; }
.mm-cart-drawer-quantity { display: grid; grid-template-columns: repeat(3, 42px); height: 42px; }
.mm-cart-drawer-quantity button,
.mm-cart-drawer-quantity span { align-items: center; background: transparent; border: 1px solid var(--line); display: flex; justify-content: center; }
.mm-cart-drawer-quantity button + span,
.mm-cart-drawer-quantity span + button { border-left: 0; }
.mm-cart-drawer-remove { background: transparent; border: 0; color: var(--muted); font-size: 10px; letter-spacing: .1em; text-decoration: underline; text-transform: uppercase; }
.mm-cart-drawer-footer { background: var(--paper); border-top: 1px solid var(--line); flex: 0 0 auto; padding: 24px 30px 30px; position: relative; z-index: 2; }
.mm-cart-drawer-total { display: flex; font-size: 14px; justify-content: space-between; margin-bottom: 20px; }
.mm-cart-drawer-empty { margin: auto; padding: 45px; text-align: center; }
.mm-cart-drawer-empty p { color: var(--muted); margin-bottom: 22px; }

/* Checkout payment hierarchy and breathing room. */
.woocommerce-checkout #payment .woocommerce-privacy-policy-text { line-height: 1.65; margin: 16px 0 28px; }
.woocommerce-checkout #payment .place-order { padding-top: 26px; }
.woocommerce-checkout #payment .place-order .woocommerce-privacy-policy-text + #place_order { margin-top: 4px; }

/* Contact Form 7 rhythm. */
.wpcf7-form .form-row { gap: 30px; margin-bottom: 28px; }
.wpcf7-form > p { margin-bottom: 26px; }
.wpcf7-form .mm-field-wide { margin-bottom: 26px; }
.wpcf7-form label { line-height: 1.5; }
.wpcf7-form input:not([type="submit"]),
.wpcf7-form select { margin-top: 11px; min-height: 58px; }
.wpcf7-form textarea { height: 170px; margin-top: 11px; min-height: 170px; }
.wpcf7-form input[type="submit"] { margin-top: 8px; }

/* Cart line metadata is separated from the product title. */
.woocommerce-cart table.shop_table td.product-name .variation,
.woocommerce-cart table.shop_table td.product-name .wc-item-meta { margin: 9px 0 0; }
.woocommerce-cart table.shop_table td.product-name .variation p { margin: 0; }

@media (max-width: 820px) {
  .shop-toolbar {
    align-items: center;
    display: flex;
    gap: 10px;
    justify-content: space-between;
  }
  .shop-toolbar .filter-toggle { flex: 0 0 auto; min-width: 126px; }
  .shop-toolbar .woocommerce-ordering { flex: 0 1 145px; margin-left: auto; }
  .shop-toolbar .woocommerce-ordering select { height: 42px; max-width: 100%; width: 100%; }

  .woocommerce ul.products li.product .woocommerce-loop-product__title { min-height: 2.6em; }
  .product-card .product-meta h3 { min-height: 2.5em; }
  .product-card .product-meta { align-items: stretch; }
  .product-card .price { margin-left: auto; }

  .wpcf7-form .form-row { gap: 24px; margin-bottom: 24px; }
  .wpcf7-form > p,
  .wpcf7-form .mm-field-wide { margin-bottom: 24px; }
  .wpcf7-form textarea { height: 150px; min-height: 150px; }
}

/* Keep quantity and Add to Cart as one stable row before and after AJAX. */
.single-product div.product form.cart {
  align-items: stretch;
  display: grid !important;
  grid-template-columns: 188px minmax(0, 1fr);
}
.single-product div.product form.cart .quantity {
  grid-column: 1;
  min-width: 0;
  order: 1;
  width: 100%;
}
.single-product div.product form.cart .single_add_to_cart_button {
  grid-column: 2;
  margin: 0 !important;
  min-width: 0;
  order: 2;
  width: 100%;
}

@media (max-width: 560px) {
  .footer-brand img,
  .footer-brand .custom-logo { max-height: 110px; width: min(220px, 100%); }

  .mm-cart-drawer-header { min-height: 88px; padding: 18px 20px; }
  .mm-cart-drawer-header h2 { font-size: 27px; }
  .mm-cart-drawer-items { padding: 4px 20px; }
  .mm-cart-drawer-item { gap: 14px; grid-template-columns: 82px minmax(0, 1fr); padding: 20px 0; }
  .mm-cart-drawer-image img { height: 94px; width: 82px; }
  .mm-cart-drawer-details { gap: 12px; }
  .mm-cart-drawer-name { font-size: 17px; }
  .mm-cart-drawer-footer { padding: 18px 20px max(20px, env(safe-area-inset-bottom)); }

  .single-product div.product form.cart { grid-template-columns: 130px minmax(0, 1fr); }
  .single-product div.product form.cart .quantity { grid-template-columns: repeat(3, 40px); }

  .shop-toolbar .filter-toggle { min-width: 118px; padding-inline: 10px; }
  .shop-toolbar .woocommerce-ordering { flex-basis: 136px; }

  .woocommerce ul.products { align-items: stretch; }
  .woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 18px; min-height: 2.7em; }
  .woocommerce ul.products li.product .price { font-size: 12px; }
  .woocommerce ul.products li.product a img { aspect-ratio: 1/1.18; }
  .product-grid { align-items: stretch; }
  .product-card .product-meta { display: flex; flex-direction: column; gap: 7px; }
  .product-card .product-meta h3 { font-size: 18px; min-height: 2.5em; }
  .product-card .price { margin-left: 0; }

  .woocommerce-cart table.shop_table_responsive tr td.product-name { padding-bottom: 22px; }
  .woocommerce-cart table.shop_table_responsive tr td.product-name::before { margin-right: 18px; }
  .woocommerce-cart table.shop_table td.product-name .variation,
  .woocommerce-cart table.shop_table td.product-name .wc-item-meta { clear: both; display: block; margin-top: 12px; }

  .wpcf7-form .form-row { gap: 26px; margin-bottom: 26px; }
  .wpcf7-form input:not([type="submit"]),
  .wpcf7-form select { margin-top: 10px; min-height: 56px; }
  .wpcf7-form textarea { margin-top: 10px; }
  .wpcf7-form input[type="submit"] { margin-top: 12px; width: 100%; }
}

/* ========================================================================== */
/* Storefront refinement pass — version 1.4                                   */
/* ========================================================================== */

/* Branding comes only from Appearance > Customize > Site Identity. */
.brand-text,
.footer-brand-text {
  font-family: var(--serif);
  font-size: 21px;
  letter-spacing: .04em;
  white-space: nowrap;
}
.footer-brand-text { display: block; font-size: 30px; margin-bottom: 20px; }

/* Archive headers should introduce the catalog without dominating the page. */
.catalog-hero {
  min-height: 248px;
  padding: 46px 0 42px;
}
.catalog-hero .breadcrumbs { margin-bottom: 14px; }
.catalog-hero .eyebrow { margin-bottom: 12px; }
.catalog-hero .section-title {
  font-size: clamp(44px, 4.7vw, 68px);
  line-height: 1;
}
.category-chips { padding-bottom: 18px; padding-top: 18px; }

/* Refined WooCommerce sale treatment. */
.mm-sale-price {
  align-items: flex-start;
  display: inline-flex;
  flex-direction: column;
  gap: 7px;
  white-space: normal;
}
.mm-sale-price__amounts {
  align-items: baseline;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
}
.mm-sale-price__amounts del {
  color: var(--muted);
  font-size: .88em;
  opacity: 1;
  text-decoration-thickness: 1px;
}
.mm-sale-price__amounts ins {
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}
.mm-sale-price__saving {
  background: #dfe5d4;
  border-radius: 999px;
  color: #34412f;
  display: inline-flex;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .07em;
  line-height: 1;
  padding: 7px 10px;
  text-transform: uppercase;
}
.product-card .price,
.woocommerce ul.products li.product .price { white-space: normal; }
.woocommerce ul.products li.product .price .mm-sale-price { align-items: flex-start; }
.single-product div.product p.price .mm-sale-price { gap: 9px; }
.single-product div.product p.price .mm-sale-price__saving { font-size: 10px; }
.woocommerce span.onsale,
.product-card .pill {
  background: var(--ink);
  color: var(--paper);
  font-weight: 700;
  letter-spacing: .15em;
}

/* Product information must scroll naturally and never cover the description. */
.single-product div.product div.summary {
  position: static;
  top: auto;
}
.single-product .woocommerce-tabs,
.single-product .section--soft.new-arrivals,
.single-product .related {
  clear: both;
  position: relative;
  z-index: 1;
}
.single-product .woocommerce-tabs { padding-top: 18px; }

/* Keep both audience panels visible together on a normal desktop viewport. */
.editorial-card {
  height: clamp(500px, 58vh, 610px);
  min-height: 500px;
}
.editorial-card__copy { padding-bottom: clamp(34px, 4vw, 58px); }

@media (max-width: 820px) {
  /* The hero and values share the opening screen instead of each taking one. */
  .hero,
  .hero-container,
  .hero-content {
    height: clamp(430px, 58svh, 540px);
    min-height: 430px;
  }
  .hero-content {
    justify-content: center;
    padding: 34px 0 46px;
    width: min(460px, 88%);
  }
  .hero-copy .display { font-size: clamp(45px, 12vw, 64px); }
  .hero .display { margin-bottom: 18px; }
  .hero .lead { margin-bottom: 24px; }

  .value-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .value-item {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    justify-content: center;
    min-height: 112px;
    padding: 14px 12px;
  }
  .value-item + .value-item {
    border-left: 1px solid var(--line);
    border-top: 0;
  }
  .value-item small { font-size: 9px; line-height: 1.35; }

  .catalog-hero {
    min-height: 205px;
    padding: 34px 0 30px;
  }
  .catalog-hero .section-title { font-size: clamp(38px, 9.5vw, 52px); }

  .editorial-card { height: min(72vh, 560px); min-height: 470px; }
}

@media (max-width: 560px) {
  .hero,
  .hero-container,
  .hero-content {
    height: clamp(410px, 56svh, 500px);
    min-height: 410px;
  }
  .hero-content { padding-bottom: 36px; width: 92%; }
  .hero-copy .display { font-size: clamp(43px, 12.5vw, 58px); }
  .hero .lead { font-size: 13px; line-height: 1.55; }
  .hero .btn { min-height: 48px; padding-inline: 22px; }

  .value-item { min-height: 98px; padding: 12px 8px; }
  .value-item svg { height: 21px; width: 21px; }
  .value-item strong { font-size: 8px; line-height: 1.35; }
  .value-item small { display: none; }

  .catalog-hero { min-height: 175px; padding: 28px 0 25px; }
  .catalog-hero .breadcrumbs { margin-bottom: 10px; }
  .catalog-hero .eyebrow { font-size: 8px; margin-bottom: 9px; }
  .catalog-hero .section-title { font-size: clamp(34px, 9vw, 44px); }

  .editorial-duo { display: block; }
  .editorial-card { display: block; height: 72vw; min-height: 340px; }
  .editorial-card__copy h2 { font-size: 45px; }

  .product-card .product-meta .price,
  .woocommerce ul.products li.product .price { line-height: 1.4; }
  .mm-sale-price__amounts { gap: 5px; }
  .mm-sale-price__saving { font-size: 7px; padding: 6px 8px; }
}

/* Small-screen containment: keep every storefront control inside the viewport. */
@media (max-width: 820px) {
  .brand { min-width: 0; }
  .brand-text {
    display: block;
    font-size: 16px;
    max-width: 128px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .value-item,
  .value-item > div,
  .catalog-hero .container,
  .single-product div.product,
  .single-product div.product div.summary,
  .single-product div.product form.cart {
    max-width: 100%;
    min-width: 0;
  }
  .value-item { overflow: hidden; }
  .value-item svg { flex: 0 0 auto; }
  .value-item > div { width: 100%; }
  .value-item strong { overflow-wrap: anywhere; }
  .catalog-hero .section-title,
  .single-product div.product .product_title { overflow-wrap: anywhere; }

  .category-chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    padding-left: 18px;
    padding-right: 18px;
  }

  .product-card,
  .woocommerce ul.products li.product { min-width: 0; overflow: hidden; }
  .product-card h3,
  .woocommerce ul.products li.product .woocommerce-loop-product__title {
    overflow-wrap: anywhere;
  }
}

@media (max-width: 380px) {
  .header-main,
  .site-header.is-compact .header-main { padding-left: 12px; padding-right: 8px; }
  .brand-text { font-size: 14px; max-width: 104px; }
  .mobile-actions .icon-button { height: 34px; width: 34px; }
  .mobile-actions .menu-toggle { height: 41px; margin-left: 3px; width: 41px; }

  .value-item { padding-left: 5px; padding-right: 5px; }
  .value-item strong { font-size: 7px; letter-spacing: .09em; }

  .single-product div.product .product_title {
    font-size: clamp(37px, 11.5vw, 46px);
  }
  .single-product div.product form.cart {
    gap: 8px;
    grid-template-columns: 118px minmax(0, 1fr);
  }
  .single-product div.product form.cart .quantity {
    gap: 5px;
    grid-template-columns: repeat(3, 36px);
  }
  .single-product div.product form.cart .quantity .mm-qty-button,
  .single-product div.product form.cart .quantity .qty { width: 36px; }
  .single-product div.product form.cart .single_add_to_cart_button {
    font-size: 9px;
    letter-spacing: .11em;
    padding-inline: 8px;
  }
}
