/* Supplify commerce: loaded after production.css and editorial.css.
   Uses the approved brand palette and the site's existing semantic controls. */

:root {
  --commerce-white: #fffdf9;
  --commerce-soft: #e8ebdf;
  --commerce-border: rgba(24, 42, 30, .2);
}

/* Shopping destinations remain present at every screen size. */
.nav-inner { gap: 22px; }
.shop-actions { gap: 8px; flex: 0 0 auto; }
.shop-action {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  gap: 9px; min-width: 48px; min-height: 48px; padding: 10px 11px;
  border: 1px solid transparent; border-radius: 5px; color: var(--juniper);
  font-size: 13px; font-weight: 500; line-height: 1.3;
}
.shop-action .stock-icon { width: 21px; height: 21px; }
.shop-action:hover, .shop-action[aria-current=page] { border-color: var(--commerce-border); background: var(--commerce-soft); }
.cart-count { display: inline-grid; place-items: center; min-width: 21px; height: 21px; padding: 1px 5px; border-radius: 50%; background: var(--juniper); color: var(--kaolin); font-size: 11px; line-height: 1; font-variant-numeric: tabular-nums; }
.shop-actions .mobile-menu { min-width: 48px; min-height: 48px; }
.shop-actions .bag-link { border: 1px solid transparent; }

/* The full catalogue has one clear search/filter row and scannable categories. */
.collection-masthead .masthead-copy h1 { max-width: 730px; }
.shop-tools.collection-search { display: grid; grid-template-columns: minmax(180px, 1.4fr) minmax(150px, .85fr) minmax(140px, .7fr) auto; gap: 14px; align-items: end; margin-bottom: 24px; }
.shop-tools > * { min-width: 0; }
.shop-tools label { display: grid; gap: 8px; font-size: 13px; line-height: 1.5; font-weight: 500; }
.shop-tools .btn { min-height: 48px; padding-inline: 22px; }
.shop-tools input, .shop-tools select { width: 100%; min-width: 0; min-height: 48px; padding: 11px 13px; font-size: 16px; background: var(--commerce-white); border: 1px solid #aab4a2; border-radius: 5px; }
.category-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 30px; padding: 0; list-style: none; }
.category-chip { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; padding: 9px 14px; border: 1px solid var(--commerce-border); border-radius: 4px; font-size: 12px; line-height: 1.4; text-align: center; color: var(--verdigris); }
.category-chip:hover { background: var(--commerce-soft); border-color: var(--verdigris); }
.category-chip[aria-current=page], .category-chip[aria-pressed=true] { color: var(--kaolin); background: var(--juniper); border-color: var(--juniper); }
.category-chip small { font-size: inherit; opacity: .8; }
.collection-meta { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; padding-block: 0 22px; margin-bottom: 28px; border-bottom: 1px solid var(--line); color: var(--verdigris); font-size: 13px; line-height: 1.6; }
.collection-meta .result-count { margin: 0; }
.collection-meta strong { color: var(--juniper); font-weight: 600; }
.collection-meta a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-underline-offset: 4px; }
.catalog-products { align-items: stretch; }
.catalog-products .product-copy { padding-top: 18px; }
.catalog-products .product-copy h3 { margin-bottom: 10px; }
.product-meta { display: grid; gap: 7px; margin: 0 0 14px; }
.product-availability { display: inline-flex; align-items: baseline; gap: 7px; width: fit-content; color: var(--verdigris); font-size: 12px; line-height: 1.6; }
.product-availability.is-available { color: var(--juniper); font-weight: 500; }
.product-card-note { margin: 0; color: var(--verdigris); font-size: 13px; line-height: 1.7; }
.product-price-small { font-size: 17px; font-weight: 600; line-height: 1.5; font-variant-numeric: tabular-nums; }
.catalog-products .card-bottom { margin-top: auto; gap: 12px; }
.catalog-products .card-bottom > a { min-height: 44px; }
.catalog-products .card-bottom .btn { width: 100%; justify-content: space-between; min-height: 46px; padding: 10px 14px; font-size: 13px; }
.catalog-products .card-bottom > form { width: 100%; }
.catalog-products .preview-art-top { letter-spacing: .13em; }
.product-sku { margin: 0 0 18px; color: var(--verdigris); font-size: 12px; line-height: 1.6; letter-spacing: .035em; }
.product-info .product-availability { font-size: 14px; }
.availability-note { padding: 22px 0; margin-block: 22px; border-block: 1px solid var(--line); }
.availability-note h2, .availability-note h3, .availability-note strong { display: block; margin: 0 0 9px; color: var(--juniper); font-size: 19px; font-weight: 500; line-height: 1.4; }
.availability-note p { margin: 0; color: var(--verdigris); font-size: 15px; line-height: 1.8; }

/* A compact title and restrained progress indicator frame practical tasks. */
.commerce-intro { padding-block: 52px 34px; border-bottom: 1px solid var(--line); background: var(--kaolin); }
.commerce-intro .container { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 24px 40px; }
.commerce-intro .eyebrow { margin-bottom: 12px; }
.commerce-intro h1 { margin: 0 0 12px; font-size: clamp(38px, 4.2vw, 58px); font-weight: 500; line-height: 1.08; letter-spacing: -.05em; }
.commerce-intro p { max-width: 610px; margin: 0; color: var(--verdigris); font-size: 16px; line-height: 1.8; }
.commerce-steps { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; list-style: none; padding: 0; margin: 0 0 4px; color: var(--verdigris); font-size: 13px; line-height: 1.5; }
.commerce-steps li { display: inline-flex; align-items: center; gap: 8px; }
.commerce-steps a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.commerce-steps li > span:first-child, .commerce-steps a > span:first-child { display: inline-grid; place-items: center; width: 25px; height: 25px; border: 1px solid var(--commerce-border); border-radius: 50%; font-size: 11px; }
.commerce-steps [aria-current=step] { color: var(--juniper); font-weight: 600; }
.commerce-steps [aria-current=step] > span:first-child { background: var(--juniper); border-color: var(--juniper); color: var(--kaolin); }
.commerce-section { padding-block: 46px 86px; }
.commerce-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(280px, .85fr); gap: 54px; align-items: start; }
.commerce-layout > *, .cart-lines, .cart-line-info, .checkout-form, .account-layout > *, .auth-layout > * { min-width: 0; }
.commerce-layout > .order-summary { position: sticky; top: 112px; }
.order-summary { padding: 28px; border: 1px solid rgba(24, 42, 30, .12); border-radius: 6px; background: var(--commerce-soft); }
.order-summary h2 { margin-bottom: 16px; font-size: 27px; }
.order-summary dl { margin-block: 22px; }
.order-summary dl > div { gap: 18px; align-items: baseline; font-size: 14px; }
.order-summary dt { min-width: 0; }
.order-summary dd { flex: 0 0 auto; font-variant-numeric: tabular-nums; }
.order-summary .total { padding-top: 18px; font-size: 22px; font-weight: 500; }
.order-summary .btn { width: 100%; white-space: normal; }
.order-summary > .text-link { min-height: 44px; }
.order-summary .summary-note { margin: 18px 0 0; padding-top: 18px; border-top: 1px solid rgba(24, 42, 30, .18); font-size: 13px; line-height: 1.8; color: var(--verdigris); }
.summary-item { align-items: start; font-size: 14px; gap: 16px; }
.summary-item > span { min-width: 0; overflow-wrap: anywhere; }
.summary-item strong { font-variant-numeric: tabular-nums; font-weight: 500; }
.summary-item small { display: block; margin-top: 4px; color: var(--verdigris); font-size: 12px; }
.summary-help { display: flex; align-items: flex-start; gap: 10px; margin: 20px 0 0; color: var(--verdigris); font-size: 13px; line-height: 1.7; }
.summary-help .stock-icon { width: 19px; height: 19px; margin-top: 1px; }

/* Cart lines keep quantity, removal and prices close to each item. */
.cart-lines { display: grid; }
.cart-line { display: grid; grid-template-columns: 76px minmax(0, 1fr) 88px 95px; grid-template-areas: 'thumb info quantity total' 'thumb remove quantity total'; gap: 5px 20px; align-items: center; padding-block: 26px; border-bottom: 1px solid var(--line); }
.cart-line:first-child { padding-top: 0; }
.cart-thumb { grid-area: thumb; display: grid; place-items: center; align-self: start; width: 76px; height: 94px; border-radius: 4px; overflow: hidden; background: var(--commerce-soft); }
.cart-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 10px; }
.cart-thumb > .stock-icon { width: 30px; height: 30px; color: var(--verdigris); }
.cart-thumb .preview-symbol { width: 43px; height: auto; padding: 0; margin: 0; }
.cart-line-info { grid-area: info; align-self: end; }
.cart-line-info h2, .cart-line-info h3 { margin: 0 0 6px; font-size: 17px; font-weight: 500; letter-spacing: -.025em; line-height: 1.45; overflow-wrap: anywhere; }
.cart-line-info p { margin: 0; color: var(--verdigris); font-size: 13px; line-height: 1.7; }
.cart-line-info .product-sku { font-size: 11px; margin-bottom: 5px; }
.cart-line-info a:hover { text-decoration: underline; text-underline-offset: 4px; }
.cart-quantity { grid-area: quantity; display: grid; gap: 6px; font-size: 12px; line-height: 1.5; }
.cart-quantity input { min-width: 0; width: 100%; min-height: 48px; padding: 10px 11px; background: var(--commerce-white); border: 1px solid #aab4a2; border-radius: 5px; font-size: 16px; line-height: 1.5; }
.cart-line-total { grid-area: total; text-align: right; font-size: 15px; line-height: 1.5; font-weight: 600; font-variant-numeric: tabular-nums; }
.cart-remove { grid-area: remove; justify-self: start; align-self: start; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 0; border: 0; background: transparent; color: var(--verdigris); font-size: 12px; line-height: 1.5; text-decoration: underline; text-underline-offset: 4px; }
.cart-remove .stock-icon { width: 15px; height: 15px; }
.cart-remove:hover { color: var(--juniper); }
.cart-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin-top: 24px; }
.cart-actions .text-link { min-height: 48px; }
.cart-lines > .form-hint { margin-top: 20px; }
.commerce-empty { max-width: 740px; margin-inline: auto; padding: 44px 28px; border: 1px solid var(--commerce-border); border-radius: 6px; background: var(--commerce-white); text-align: center; }
.commerce-empty .empty-icon { display: grid; place-items: center; width: 70px; height: 70px; margin: 0 auto 24px; border: 1px solid rgba(24, 42, 30, .18); border-radius: 50%; background: var(--commerce-soft); }
.empty-icon .stock-icon { width: 29px; height: 29px; }
.commerce-empty h2 { margin: 0 0 18px; font-size: clamp(28px, 3vw, 38px); font-weight: 500; line-height: 1.2; letter-spacing: -.04em; }
.commerce-empty > p { max-width: 500px; margin: 0 auto 24px; font-size: 15px; color: var(--verdigris); line-height: 1.8; }
.commerce-empty .hero-cta { justify-content: center; }
.commerce-empty .text-link { min-height: 44px; }
.commerce-empty > form { margin-top: 18px; }
.commerce-empty + .shopping-help { margin-top: 32px; }
.shopping-help { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; max-width: 900px; margin-inline: auto; }
.shopping-help > div { min-width: 0; padding-top: 20px; border-top: 1px solid var(--line); }
.shopping-help h3 { margin: 0 0 7px; font-size: 15px; font-weight: 500; line-height: 1.5; }
.shopping-help p { margin: 0; font-size: 13px; line-height: 1.8; color: var(--verdigris); }

/* Checkout sections use real labels and preserve the no-JavaScript form. */
.checkout-form { gap: 26px; }
.checkout-account { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 20px; padding: 18px 20px; border: 1px solid var(--commerce-border); border-radius: 5px; color: var(--verdigris); background: var(--commerce-white); font-size: 14px; line-height: 1.7; }
.checkout-account p { margin: 0; min-width: 0; }
.checkout-account a { display: inline-flex; align-items: center; min-height: 44px; color: var(--juniper); text-decoration: underline; text-underline-offset: 4px; font-weight: 500; }
.checkout-block { min-width: 0; display: grid; gap: 20px; padding: 26px 0 0; margin: 0; border: 0; border-top: 1px solid var(--line); }
.checkout-block legend { float: left; width: 100%; padding: 0; margin: 0; font-size: 24px; line-height: 1.3; font-weight: 500; letter-spacing: -.035em; }
.checkout-block legend + * { clear: both; }
.step-number { display: inline-grid; place-items: center; vertical-align: 3px; width: 26px; height: 26px; margin-right: 10px; border: 1px solid rgba(24, 42, 30, .3); border-radius: 50%; font-size: 12px; font-weight: 500; line-height: 1; letter-spacing: 0; }
.checkout-block > p { margin: 0; color: var(--verdigris); font-size: 14px; line-height: 1.8; }
.payment-option { display: flex; align-items: flex-start; gap: 15px; padding: 20px; border: 1px solid var(--verdigris); border-radius: 5px; background: var(--commerce-soft); }
.payment-option > .stock-icon { width: 23px; height: 23px; margin-top: 2px; }
.payment-option > input { flex: 0 0 auto; margin-top: 4px; width: 18px; height: 18px; accent-color: var(--juniper); }
.payment-option strong { display: block; margin-bottom: 5px; font-size: 15px; font-weight: 600; }
.payment-option p, .payment-option small { display: block; margin: 0; font-size: 13px; line-height: 1.8; color: var(--verdigris); }
.checkout-form > .btn { width: 100%; justify-self: stretch; min-height: 52px; }
.checkout-terms { display: grid; gap: 12px; padding-block: 8px; }
.checkout-form .form-hint { margin: 0; }

/* Customer accounts are small, useful workspaces in the same visual language. */
.auth-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 54px; align-items: start; max-width: 1080px; margin-inline: auto; }
.auth-story { padding: 40px; background: var(--juniper); color: var(--kaolin); border-radius: 6px; }
.auth-story .eyebrow { color: var(--absinthe); margin-bottom: 20px; }
.auth-story h2 { margin: 0 0 22px; font-size: clamp(32px, 3.8vw, 46px); font-weight: 500; line-height: 1.12; letter-spacing: -.045em; }
.auth-story p { color: #d8dfd0; margin: 0 0 25px; font-size: 15px; line-height: 1.85; }
.auth-story ul { list-style: none; display: grid; gap: 0; padding: 0; margin: 30px 0 0; }
.auth-story li { display: flex; align-items: flex-start; gap: 13px; padding: 17px 0; border-top: 1px solid rgba(247, 244, 237, .24); font-size: 14px; line-height: 1.7; }
.auth-story li .stock-icon { width: 20px; height: 20px; margin-top: 2px; color: var(--absinthe); }
.auth-story .auth-photo { display: block; width: 100%; height: 225px; object-fit: cover; border-radius: 4px; margin-top: 26px; }
.auth-panel { padding: 36px; border: 1px solid var(--commerce-border); border-radius: 6px; background: var(--commerce-white); }
.auth-panel h1, .auth-panel h2 { margin: 0 0 14px; font-size: clamp(30px, 3vw, 40px); font-weight: 500; line-height: 1.13; letter-spacing: -.04em; }
.auth-panel > p { margin: 0 0 26px; color: var(--verdigris); font-size: 15px; line-height: 1.8; }
.auth-panel .site-form { gap: 20px; }
.auth-panel .site-form > .btn { width: 100%; justify-self: stretch; }
.auth-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px; margin-top: 18px; }
.auth-links a { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; color: var(--verdigris); text-decoration: underline; text-underline-offset: 4px; }
.auth-switch { padding-top: 24px; margin: 24px 0 0; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.8; color: var(--verdigris); }
.auth-switch a { display: inline-flex; align-items: center; min-height: 44px; color: var(--juniper); text-decoration: underline; text-underline-offset: 4px; font-weight: 500; }
.account-layout { display: grid; grid-template-columns: 225px minmax(0, 1fr); gap: 44px; align-items: start; }
.account-nav { display: grid; gap: 0; border-top: 1px solid var(--line); position: sticky; top: 112px; }
.account-nav > p { min-width: 0; width: 100%; margin: 0; padding: 18px 14px; border-bottom: 1px solid var(--line); color: var(--juniper); font-size: 14px; font-weight: 600; line-height: 1.6; overflow-wrap: anywhere; }
.account-nav > nav { display: grid; grid-template-columns: minmax(0, 1fr); min-width: 0; width: 100%; gap: 0; }
.account-nav > nav > a, .account-nav > form > button { display: flex; align-items: center; gap: 12px; min-width: 0; width: 100%; min-height: 54px; padding: 13px 14px; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--verdigris); text-align: left; font-size: 14px; font-weight: 500; line-height: 1.5; }
.account-nav > nav > a > span { min-width: 0; overflow-wrap: anywhere; }
.account-nav > nav > a .stock-icon, .account-nav > form > button .stock-icon { width: 20px; height: 20px; }
.account-nav > nav > a:hover, .account-nav > form > button:hover { background: var(--commerce-soft); color: var(--juniper); }
.account-nav > nav > a[aria-current=page] { background: var(--juniper); color: var(--kaolin); border-color: var(--juniper); }
.account-nav > nav > a[aria-current=page]:focus-visible { outline-offset: 3px; }
.account-nav > form { margin: 0; }
.account-panel { padding: 34px; border: 1px solid var(--commerce-border); border-radius: 6px; background: var(--commerce-white); }
.account-panel > h2 { margin: 0 0 16px; font-size: 29px; font-weight: 500; line-height: 1.25; letter-spacing: -.035em; }
.account-panel > p { color: var(--verdigris); font-size: 15px; line-height: 1.8; margin: 0 0 24px; }
.account-panel .site-form { max-width: 720px; }
.account-panel .site-form + .site-form { margin-top: 36px; padding-top: 32px; border-top: 1px solid var(--line); }
.account-panel .site-form h3 { margin: 0; font-size: 22px; font-weight: 500; line-height: 1.3; letter-spacing: -.025em; }
.account-welcome { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 16px 24px; margin-bottom: 30px; }
.account-welcome h2 { margin: 0 0 10px; font-size: clamp(28px, 3vw, 38px); font-weight: 500; line-height: 1.15; letter-spacing: -.04em; overflow-wrap: anywhere; }
.account-welcome p { margin: 0; font-size: 14px; color: var(--verdigris); line-height: 1.8; overflow-wrap: anywhere; }
.account-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.account-cards + .btn { margin-top: 24px; }
.account-card { min-width: 0; padding: 24px; border: 1px solid var(--commerce-border); border-radius: 5px; background: var(--kaolin); }
.account-card > .stock-icon { width: 24px; height: 24px; margin-bottom: 20px; color: var(--verdigris); }
.account-card h3 { font-size: 20px; font-weight: 500; line-height: 1.35; letter-spacing: -.025em; margin: 0 0 10px; }
.account-card p { margin: 0 0 16px; color: var(--verdigris); font-size: 14px; line-height: 1.8; overflow-wrap: anywhere; }
.account-card .text-link { min-height: 44px; font-size: 13px; }
.account-heading { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; padding-bottom: 22px; margin-bottom: 22px; border-bottom: 1px solid var(--line); }
.account-heading h2 { margin: 0; font-size: 29px; font-weight: 500; line-height: 1.25; letter-spacing: -.035em; }
.account-heading p { margin: 8px 0 0; color: var(--verdigris); font-size: 14px; line-height: 1.7; }
.account-heading .text-link { min-height: 44px; }
.order-list { display: grid; }
.order-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 16px 24px; align-items: center; padding-block: 22px; border-bottom: 1px solid var(--line); }
.order-row:first-child { padding-top: 0; }
.order-row h3 { margin: 0 0 6px; font-size: 16px; font-weight: 600; line-height: 1.5; overflow-wrap: anywhere; }
.order-row p, .order-row time { margin: 0; color: var(--verdigris); font-size: 12px; line-height: 1.7; }
.order-row > strong { font-weight: 600; font-size: 15px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.order-row .text-link { min-height: 44px; font-size: 13px; }
.order-row .status-pill { margin-top: 8px; }
.status-pill { display: inline-flex; align-items: center; justify-content: center; width: fit-content; padding: 4px 9px; background: var(--commerce-soft); border: 1px solid rgba(24, 42, 30, .15); border-radius: 4px; color: var(--juniper); font-size: 11px; font-weight: 500; line-height: 1.5; }
.status-pill[data-status=cancelled] { background: #f2e9df; border-color: #d5c8b8; color: #604b36; }
.status-pill[data-status=delivered] { background: #e3efd9; border-color: #b6cca3; }
.account-facts { margin: 0; }
.account-facts > div { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 20px; padding-block: 16px; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 1.8; }
.account-facts dt { color: var(--verdigris); }
.account-facts dd { margin: 0; overflow-wrap: anywhere; }
.order-detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; margin-top: 30px; }
.order-detail-grid h3 { font-size: 18px; font-weight: 500; margin: 0 0 12px; }
.order-detail-grid p, .order-detail-grid address { margin: 0; font-style: normal; color: var(--verdigris); font-size: 14px; line-height: 1.9; overflow-wrap: anywhere; }
.account-panel .commerce-empty { border: 0; border-radius: 0; background: transparent; padding: 22px 0; }
.account-panel .commerce-empty h2, .account-panel .commerce-empty h3 { font-size: 27px; }
.account-panel .commerce-empty p { font-size: 14px; }
.recovery-notice { margin: 0 0 28px; padding: 24px; border: 1px solid #a0b58c; border-radius: 5px; background: #edf2e4; color: var(--juniper); }
.recovery-notice h2, .recovery-notice h3 { margin: 0 0 12px; font-size: 23px; font-weight: 500; line-height: 1.3; letter-spacing: -.025em; }
.recovery-notice p { margin: 0 0 15px; font-size: 14px; line-height: 1.8; color: var(--verdigris); }
.recovery-notice p:last-child { margin-bottom: 0; }
.recovery-code { display: block; max-width: 100%; padding: 16px 18px; margin: 16px 0; border: 1px solid #b2bfa4; border-radius: 4px; background: var(--commerce-white); color: var(--juniper); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 18px; line-height: 1.7; letter-spacing: .065em; overflow-wrap: anywhere; user-select: all; }
.security-note { padding-top: 22px; margin-top: 24px; border-top: 1px solid var(--line); color: var(--verdigris); font-size: 13px; line-height: 1.8; }
.security-note p { margin: 0 0 10px; }
.security-note a { text-decoration: underline; text-underline-offset: 4px; }
.commerce-layout input, .commerce-layout select, .commerce-layout textarea, .auth-panel input, .auth-panel select, .auth-panel textarea, .account-panel input, .account-panel select, .account-panel textarea { font-size: 16px; }
select:focus-visible, textarea:focus-visible { outline: 3px solid var(--verdigris); outline-offset: 4px; }
.btn[aria-disabled=true], .btn:disabled { color: #53624b; background: #e0e5d8; border-color: #bdc5b3; cursor: not-allowed; }
.site-form [aria-invalid=true] { border-color: #975041; }
.field-error { margin: 0; color: #813b2d; font-size: 13px; line-height: 1.7; }

@media (max-width: 1100px) {
  .nav-links { gap: 18px; }
  .shop-action-label { display: none; }
  .shop-action { width: 48px; padding: 10px; }
  .shop-action .cart-count { position: absolute; right: 0; top: 2px; min-width: 18px; height: 18px; padding-inline: 4px; font-size: 10px; }
  .commerce-layout { grid-template-columns: minmax(0, 1.35fr) minmax(270px, .85fr); gap: 32px; }
  .cart-line { grid-template-columns: 64px minmax(0, 1fr) 74px 82px; gap: 5px 14px; }
  .cart-thumb { width: 64px; height: 82px; }
  .auth-layout { gap: 32px; }
  .auth-story { padding: 32px; }
  .account-layout { grid-template-columns: 195px minmax(0, 1fr); gap: 28px; }
  .account-panel { padding: 28px; }
}

@media (min-width: 781px) and (max-width: 950px) {
  .nav-inner { gap: 14px; }
  .brand-logo { width: 150px; }
  .nav-links { gap: 12px; }
  .nav-links > a { font-size: 12px; }
  .shop-actions { gap: 2px; }
  .shop-tools.collection-search { grid-template-columns: minmax(180px, 1fr) minmax(150px, 1fr); }
  .shop-tools .btn { justify-self: stretch; }
}

@media (max-width: 780px) {
  .shop-actions { gap: 4px; }
  .nav-inner { gap: 12px; }
  .shop-tools.collection-search { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 14px; }
  .shop-tools label:first-of-type { grid-column: 1 / -1; }
  .shop-tools .btn { grid-column: 1 / -1; justify-self: stretch; }
  .category-chips { gap: 7px; margin-bottom: 24px; }
  .category-chip { padding: 9px 12px; font-size: 12px; }
  .collection-meta { margin-bottom: 24px; padding-bottom: 16px; }
  .commerce-intro { padding-block: 36px 28px; }
  .commerce-intro h1 { font-size: 44px; }
  .commerce-intro .container { gap: 20px; }
  .commerce-steps { width: 100%; gap: 12px 20px; font-size: 12px; }
  .commerce-section { padding-block: 32px 64px; }
  .commerce-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .commerce-layout > .order-summary { position: static; }
  .cart-line { grid-template-columns: 76px minmax(0, 1fr) 86px 90px; gap: 5px 18px; }
  .cart-thumb { width: 76px; height: 94px; }
  .order-summary { padding: 26px; }
  .shopping-help { gap: 20px; }
  .auth-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .auth-story { padding: 30px; }
  .auth-story h2 { max-width: 550px; font-size: 36px; }
  .auth-story p { max-width: 600px; margin-bottom: 18px; }
  .auth-story ul { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 20px; }
  .auth-story li { flex-direction: column; gap: 12px; padding-bottom: 0; font-size: 13px; }
  .auth-story .auth-photo { height: 220px; }
  .auth-panel { padding: 30px; }
  .account-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .account-nav { display: grid; grid-template-columns: minmax(0, 1fr); position: static; gap: 0; }
  .account-nav > p { padding: 15px 12px; }
  .account-nav > nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .account-nav > nav > a, .account-nav > form > button { min-height: 52px; padding: 12px; font-size: 13px; }
  .account-panel { padding: 28px; }
  .account-cards { gap: 16px; }
}

@media (max-width: 520px) {
  .brand-logo { width: 145px; }
  .shop-actions { gap: 2px; }
  .nav-inner { gap: 8px; }
  .shop-actions .shop-action, .shop-actions .mobile-menu { min-width: 48px; width: 48px; height: 48px; min-height: 48px; padding: 10px; }
  .shop-actions .mobile-menu { border-color: transparent; }
  .shop-action .cart-count { right: 0; top: 2px; }
  .shop-action .stock-icon, .shop-actions .mobile-menu .stock-icon { width: 21px; height: 21px; }
  .shop-tools.collection-search { gap: 16px; }
  .shop-tools label { grid-column: 1 / -1; }
  .category-chips { gap: 7px; }
  .category-chip { min-height: 44px; padding-inline: 11px; font-size: 11px; }
  .collection-meta { font-size: 12px; gap: 4px 20px; }
  .product-card-note { font-size: 12px; }
  .catalog-products .product-copy h3 { font-size: 16px; }
  .catalog-products .card-bottom { flex-direction: column; align-items: stretch; }
  .catalog-products .card-bottom .btn { padding-inline: 10px; font-size: 12px; }
  .product-availability { font-size: 11px; }
  .commerce-intro { padding-block: 32px 25px; }
  .commerce-intro h1 { font-size: 38px; margin-bottom: 14px; }
  .commerce-intro p { font-size: 15px; }
  .commerce-steps { gap: 8px 14px; font-size: 11px; }
  .commerce-steps li, .commerce-steps a { gap: 6px; }
  .commerce-steps li > span:first-child, .commerce-steps a > span:first-child { width: 23px; height: 23px; font-size: 10px; }
  .commerce-section { padding-block: 28px 54px; }
  .cart-line { grid-template-columns: 70px minmax(0, 1fr); grid-template-areas: 'thumb info' 'thumb quantity' 'remove total'; gap: 12px 18px; align-items: start; padding-block: 24px; }
  .cart-thumb { width: 70px; height: 88px; }
  .cart-line-info { align-self: start; }
  .cart-line-info h2, .cart-line-info h3 { font-size: 16px; }
  .cart-quantity { grid-template-columns: minmax(0, 1fr) 76px; align-items: center; gap: 12px; max-width: 220px; font-size: 12px; }
  .cart-line-total { align-self: center; text-align: right; font-size: 16px; }
  .cart-remove { align-self: center; }
  .cart-actions { align-items: stretch; gap: 12px; }
  .cart-actions > .btn { width: 100%; }
  .cart-actions > .text-link { justify-content: center; width: 100%; }
  .order-summary { padding: 23px 20px; }
  .order-summary h2 { font-size: 26px; }
  .order-summary .total { font-size: 21px; }
  .summary-item { font-size: 13px; }
  .commerce-empty { padding: 32px 18px; }
  .commerce-empty .empty-icon { width: 64px; height: 64px; margin-bottom: 22px; }
  .commerce-empty h2 { font-size: 30px; }
  .commerce-empty > p { font-size: 15px; }
  .commerce-empty .hero-cta { display: grid; gap: 10px; }
  .commerce-empty .hero-cta .btn { width: 100%; font-size: 14px; }
  .shopping-help { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .shopping-help > div { padding-top: 18px; }
  .shopping-help p { font-size: 14px; }
  .checkout-account { padding: 16px; font-size: 13px; gap: 4px; }
  .checkout-block { gap: 18px; padding-top: 24px; }
  .checkout-block legend { font-size: 23px; }
  .payment-option { padding: 18px 16px; gap: 12px; }
  .checkout-form .btn { padding-inline: 15px; font-size: 14px; }
  .auth-story { padding: 26px 22px; }
  .auth-story h2 { font-size: 33px; }
  .auth-story ul { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .auth-story li { flex-direction: row; gap: 12px; padding-block: 15px; }
  .auth-story li:last-child { padding-bottom: 0; }
  .auth-story .auth-photo { height: 180px; }
  .auth-panel { padding: 26px 20px; }
  .auth-panel h1, .auth-panel h2 { font-size: 32px; }
  .auth-panel > p { font-size: 14px; }
  .auth-links { align-items: flex-start; gap: 4px 16px; }
  .auth-switch { margin-top: 20px; padding-top: 20px; }
  .account-nav > p { padding-inline: 10px; }
  .account-nav > nav > a, .account-nav > form > button { font-size: 13px; gap: 9px; padding: 11px 10px; }
  .account-nav > nav > a .stock-icon, .account-nav > form > button .stock-icon { width: 18px; height: 18px; }
  .account-panel { padding: 25px 20px; }
  .account-panel > h2, .account-heading h2 { font-size: 27px; }
  .account-welcome { margin-bottom: 25px; }
  .account-welcome h2 { font-size: 30px; }
  .account-cards { grid-template-columns: minmax(0, 1fr); }
  .account-card { padding: 22px; }
  .account-card > .stock-icon { margin-bottom: 15px; }
  .order-row { grid-template-columns: minmax(0, 1fr) auto; gap: 10px 14px; }
  .order-row > .text-link { grid-column: 1 / -1; justify-self: start; }
  .order-row h3 { font-size: 15px; }
  .account-facts > div { grid-template-columns: minmax(0, 1fr); gap: 4px; padding-block: 14px; }
  .account-facts dt { font-size: 12px; }
  .order-detail-grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .recovery-notice { padding: 22px 18px; }
  .recovery-notice h2, .recovery-notice h3 { font-size: 22px; }
  .recovery-code { padding: 14px; font-size: 16px; letter-spacing: .025em; }
  .account-panel .form-grid, .auth-panel .form-grid, .checkout-form .form-grid { grid-template-columns: minmax(0, 1fr); }
  .account-panel .site-form > .btn { width: 100%; justify-self: stretch; }
}

@media (max-width: 359px) {
  .brand-logo { width: 104px; }
  .shop-actions { gap: 0; }
  .nav-inner { gap: 6px; }
  .shop-action .cart-count { right: 0; }
  .catalog-products .product-copy h3 { font-size: 18px; }
  .catalog-products .card-bottom .btn { font-size: 13px; padding-inline: 14px; }
  .product-card-note, .product-availability { font-size: 12px; }
  .commerce-steps { gap: 7px 10px; }
  .commerce-steps li, .commerce-steps a { gap: 4px; }
  .commerce-intro h1 { font-size: 35px; }
  .cart-line { grid-template-columns: 60px minmax(0, 1fr); gap: 10px 14px; }
  .cart-thumb { width: 60px; height: 78px; }
  .cart-quantity { grid-template-columns: minmax(0, 1fr) 67px; gap: 8px; }
  .cart-quantity input { padding-inline: 8px; }
  .auth-panel, .account-panel { padding-inline: 16px; }
  .order-summary { padding-inline: 18px; }
  .recovery-code { padding-inline: 12px; font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  .shop-action, .category-chip, .account-nav a, .account-nav button { transition: none; }
}
