/* Local shopping UI. Styles are scoped to commerce components. */
.commerce-overlay,
.commerce-page {
  --commerce-ink: #151515;
  --commerce-muted: #747474;
  --commerce-line: #e5e5e5;
  color: var(--commerce-ink);
  font-family: Outfit, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  font-weight: 400;
}

.commerce-overlay *, .commerce-page * { box-sizing: border-box; }
.commerce-overlay a, .commerce-page a { color: inherit; text-decoration: none; }
.commerce-overlay button, .commerce-overlay input, .commerce-overlay textarea,
.commerce-page button, .commerce-page input, .commerce-page textarea { font: inherit; }
.commerce-overlay button, .commerce-page button { cursor: pointer; }
.commerce-overlay button:disabled, .commerce-page button:disabled { cursor: not-allowed; opacity: .45; }
.commerce-overlay :focus-visible, .commerce-page :focus-visible { outline: 2px solid #8a6441; outline-offset: 4px; }
.commerce-overlay [hidden], .commerce-page [hidden] { display: none !important; }
.commerce-overlay { position: fixed; inset: 0; z-index: 1000; background: rgb(0 0 0 / 40%); display: flex; justify-content: flex-end; animation: commerce-backdrop-in .18s ease both; }
.commerce-panel { width: min(100%, 490px); height: 100%; height: 100dvh; display: flex; flex-direction: column; background: #fff; box-shadow: -8px 0 35px rgb(0 0 0 / 8%); outline: 0; animation: commerce-panel-in .24s ease both; }
.commerce-panel-header { display: flex; justify-content: space-between; align-items: center; flex: 0 0 auto; gap: 20px; padding: 26px 32px; border-bottom: 1px solid var(--commerce-line); }
.commerce-panel-header h2 { font-size: 22px; line-height: 1.3; font-weight: 500; margin: 0; }
.commerce-panel-content { overflow-y: auto; overscroll-behavior: contain; padding: 26px 32px 40px; flex: 1; }
.commerce-icon-button { border: 0; background: transparent; color: inherit; width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 38px; padding: 8px; }
.commerce-icon-button:hover { background: #f2f2f2; }
.commerce-button { display: inline-flex; align-items: center; justify-content: center; min-height: 49px; padding: 13px 24px; border: 1px solid #151515; background: #151515; color: #fff !important; font-size: 13px; font-weight: 500; line-height: 1.5; letter-spacing: .025em; text-align: center; transition: background .15s, color .15s; }
.commerce-button:hover { background: #373737; }
.commerce-button--outline { background: #fff; color: #151515 !important; }
.commerce-button--outline:hover { background: #f4f4f4; }
.commerce-stack { display: grid; gap: 10px; }
.commerce-text-button { display: inline-block; border: 0; padding: 0; background: none; color: inherit; font-size: 12px !important; text-decoration: underline !important; text-underline-offset: 3px; text-align: left; }
.commerce-text-button:hover { color: #777; }
.commerce-small-print { font-size: 12px; line-height: 1.7; color: var(--commerce-muted); margin: 15px 0 22px; }
.commerce-panel-intro { margin: 0 0 15px; color: var(--commerce-muted); font-size: 13px; }
.commerce-empty { min-height: 320px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 30px 8px; }
.commerce-empty-symbol { font: 58px Georgia, serif; color: #c5c5c5; line-height: 1.3; }
.commerce-empty h3 { font-size: 21px; font-weight: 400; margin: 18px 0 8px; }
.commerce-empty p { color: var(--commerce-muted); font-size: 14px; max-width: 320px; margin: 0 0 27px; }
.commerce-empty .commerce-button { min-width: 180px; }
.commerce-cart-item { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; align-items: start; gap: 17px; padding: 24px 0; border-bottom: 1px solid var(--commerce-line); }
.commerce-cart-item:first-child { padding-top: 0; }
.commerce-cart-image { width: 76px; height: 96px; display: flex; align-items: center; justify-content: center; overflow: hidden; background: #f7f7f7; }
.commerce-cart-image img { width: 100%; height: 100%; object-fit: contain; }
.commerce-product-name { display: block; line-height: 1.4; font-size: 14px; font-weight: 400; }
.commerce-product-name:hover { text-decoration: underline; text-underline-offset: 4px; }
.commerce-unit-price { display: block; margin-top: 7px; font-size: 13px; color: var(--commerce-muted); }
.commerce-cart-item-end { display: flex; align-items: flex-end; flex-direction: column; gap: 16px; }
.commerce-cart-item-end strong { font-size: 13px; font-weight: 500; white-space: nowrap; }
.commerce-cart-item-end .commerce-text-button { color: #888; font-size: 11px !important; }
.commerce-quantity { width: 108px; display: inline-flex; align-items: stretch; height: 35px; border: 1px solid #ddd; margin-top: 14px; }
.commerce-quantity button { flex: 0 0 31px; border: 0; background: #fff; color: #333; padding: 0; font-size: 15px; }
.commerce-quantity button:hover { background: #f5f5f5; }
.commerce-quantity input { min-width: 0; width: 44px; flex: 1; border: 0; border-radius: 0; background: #fff; padding: 0; font-size: 12px; text-align: center; color: #151515; appearance: textfield; -moz-appearance: textfield; }
.commerce-quantity input::-webkit-outer-spin-button, .commerce-quantity input::-webkit-inner-spin-button { margin: 0; -webkit-appearance: none; }
.commerce-drawer-total { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-top: 25px; font-size: 17px; }
.commerce-drawer-total strong { font-size: 19px; font-weight: 500; }
.commerce-stock-warning { display: block; color: #9d4d38; font-size: 11px; margin-top: 5px; }
.commerce-mini-product { position: relative; display: grid; grid-template-columns: 75px minmax(0, 1fr) auto; gap: 18px; align-items: center; border-bottom: 1px solid var(--commerce-line); padding: 18px 0; }
.commerce-mini-image { display: flex; width: 75px; height: 90px; background: #f7f7f7; }
.commerce-mini-image img { width: 100%; height: 100%; object-fit: contain; }
.commerce-mini-product .commerce-text-button { margin-top: 10px; color: #666; }
.commerce-image-placeholder { width: 100%; min-height: 80px; display: flex; align-items: center; justify-content: center; font: 24px Georgia, serif; color: #aaa; }
.commerce-label { display: block; font-size: 13px; margin-bottom: 13px; }
.commerce-search-input-wrap { display: flex; gap: 13px; align-items: center; border-bottom: 1px solid #151515; padding: 10px 0 13px; }
.commerce-search-input-wrap input { min-width: 0; flex: 1; border: 0; outline-offset: 2px; background: #fff; color: #151515; font-size: 19px; padding: 0; border-radius: 0; }
.commerce-search-input-wrap svg { flex: 0 0 auto; }
.commerce-search-count { font-size: 12px; color: var(--commerce-muted); margin: 24px 0 8px; }
.commerce-no-results { padding: 25px 0; color: var(--commerce-muted); }
.commerce-overlay--wide { align-items: center; justify-content: center; padding: 32px; }
.commerce-overlay--wide .commerce-panel { height: auto; max-height: calc(100dvh - 64px); width: min(100%, 1000px); animation: commerce-modal-in .2s ease both; }
.commerce-overlay--wide .commerce-panel-header { padding-top: 18px; padding-bottom: 18px; }
.commerce-overlay--wide .commerce-panel-header h2 { font-size: 16px; }
.commerce-overlay--wide .commerce-panel-content { padding: 30px; }
.commerce-quickview { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 40px; }
.commerce-quickview-image { display: flex; align-items: center; justify-content: center; aspect-ratio: 1; background: #f8f8f8; }
.commerce-quickview-image img { width: 100%; height: 100%; object-fit: contain; }
.commerce-eyebrow { margin: 0 0 13px; color: #888; text-transform: uppercase; font-size: 10px; letter-spacing: .16em; }
.commerce-quickview h3 { font-size: 29px; line-height: 1.2; margin: 0 0 17px; font-weight: 400; }
.commerce-quickview-price { font-size: 22px; margin: 0 0 24px; }
.commerce-product-description { font-size: 13px; color: #666; line-height: 1.75; }
.commerce-product-description p { margin: 0 0 12px; }
.commerce-product-description ul { padding-left: 18px; }
.commerce-availability { font-size: 12px; margin: 20px 0; }
.commerce-availability::before { content: ''; display: inline-block; width: 5px; height: 5px; background: #57725c; border-radius: 50%; margin-right: 8px; vertical-align: middle; }
.commerce-availability.is-unavailable::before { background: #9d4d38; }
.commerce-quickview-form { display: flex; gap: 10px; align-items: stretch; margin: 0 0 22px; }
.commerce-quickview-form .commerce-quantity { flex-shrink: 0; height: 49px; margin-top: 0; }
.commerce-quickview-form .commerce-button { flex: 1; padding-inline: 10px; }
.commerce-save-button { display: flex; align-items: center; gap: 11px; border: 0; background: none; padding: 0; font-size: 12px !important; }
.commerce-save-button[aria-pressed="true"] svg { fill: #151515; }
.commerce-full-details { display: inline-flex; align-items: center; gap: 25px; margin-top: 30px; border-bottom: 1px solid #bbb; padding-bottom: 4px; font-size: 12px; }
.commerce-page { background: #fff; min-height: 60vh; padding: 35px max(24px, calc((100vw - 1360px) / 2)) 100px; }
.commerce-breadcrumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 11px; font-size: 11px; color: #888; }
.commerce-breadcrumbs a:hover { color: #151515; }
.commerce-page-heading { padding: 47px 0 45px; }
.commerce-page-heading h1 { font-size: clamp(34px, 4vw, 51px); font-weight: 400; line-height: 1.15; margin: 0; letter-spacing: -.035em; }
.commerce-cart-layout { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(270px, 1fr); gap: clamp(35px, 5vw, 85px); align-items: start; }
.commerce-cart-table-heading { display: flex; justify-content: space-between; border-bottom: 1px solid var(--commerce-line); color: #777; font-size: 12px; padding-bottom: 15px; }
.commerce-page .commerce-cart-item { grid-template-columns: 100px minmax(0, 1fr) auto; gap: 24px; padding-block: 25px; }
.commerce-page .commerce-cart-image { width: 100px; height: 118px; }
.commerce-page .commerce-product-name { font-size: 16px; }
.commerce-page .commerce-cart-item-end strong { font-size: 15px; }
.commerce-continue-link { display: inline-block; margin-top: 26px; font-size: 13px; }
.commerce-order-summary { padding: 29px; border: 1px solid var(--commerce-line); }
.commerce-order-summary h2 { font-size: 20px; font-weight: 400; margin: 0 0 25px; }
.commerce-order-total { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; border-top: 1px solid var(--commerce-line); padding-top: 20px; font-size: 14px; }
.commerce-order-total strong { font-weight: 500; font-size: 18px; white-space: nowrap; }
.commerce-order-summary > .commerce-button { width: 100%; }
.commerce-checkout-notice { border: 1px solid #ddd3c8; background: #faf7f2; padding: 19px 23px; font-size: 13px; margin-bottom: 37px; }
.commerce-checkout-notice strong { font-weight: 500; font-size: 14px; }
.commerce-checkout-notice p { margin: 5px 0 0; color: #6c6257; max-width: 900px; }
.commerce-checkout-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(300px, 1fr); gap: clamp(35px, 6vw, 95px); align-items: start; }
.commerce-contact-fields h2 { font-size: 23px; font-weight: 400; margin: 0 0 26px; }
.commerce-contact-fields label { display: block; font-size: 13px; margin-bottom: 22px; }
.commerce-contact-fields label > input, .commerce-contact-fields label > textarea { display: block; width: 100%; min-height: 45px; border: 1px solid #ddd; background: #fff; color: #151515; border-radius: 0; padding: 11px 13px; margin-top: 8px; font-size: 14px; }
.commerce-contact-fields textarea { resize: vertical; }
.commerce-field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.commerce-optional { color: #888; }
.commerce-order-lines > div { display: flex; align-items: baseline; justify-content: space-between; gap: 22px; padding: 14px 0; font-size: 12px; border-top: 1px solid #efefef; }
.commerce-order-lines strong { font-size: 13px; font-weight: 400; white-space: nowrap; }
.commerce-order-lines small { color: #888; white-space: nowrap; }
.commerce-order-lines .commerce-stock-warning { color: #9d4d38; }
.commerce-order-lines { margin-bottom: 15px; }
.commerce-form-status { font-size: 12px; color: #516a50; line-height: 1.5; }
.commerce-print-request { display: none; }
@keyframes commerce-backdrop-in { from { background-color: transparent; } }
@keyframes commerce-panel-in { from { transform: translateX(100%); } }
@keyframes commerce-modal-in { from { opacity: 0; transform: translateY(12px); } }

@media (max-width: 850px) {
  .commerce-cart-layout { grid-template-columns: minmax(0, 1fr) 290px; gap: 25px; }
  .commerce-checkout-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 25px; }
  .commerce-order-summary { padding: 22px; }
  .commerce-page .commerce-cart-item { grid-template-columns: 75px minmax(0, 1fr) auto; gap: 14px; }
  .commerce-page .commerce-cart-image { width: 75px; height: 95px; }
  .commerce-page .commerce-product-name { font-size: 14px; }
  .commerce-field-pair { grid-template-columns: 1fr; gap: 0; }
  .commerce-quickview { gap: 25px; }
  .commerce-quickview h3 { font-size: 25px; }
}
@media (max-width: 680px) {
  .commerce-panel-header { padding: 20px 23px; }
  .commerce-panel-content { padding: 23px 23px 35px; }
  .commerce-panel-header h2 { font-size: 20px; }
  .commerce-cart-item { gap: 13px; grid-template-columns: 67px minmax(0, 1fr) auto; }
  .commerce-cart-image { width: 67px; height: 88px; }
  .commerce-cart-item-end strong { font-size: 12px; }
  .commerce-product-name { font-size: 13px; }
  .commerce-overlay--wide { padding: 15px; }
  .commerce-overlay--wide .commerce-panel { max-height: calc(100dvh - 30px); }
  .commerce-overlay--wide .commerce-panel-content { padding: 22px; }
  .commerce-quickview { grid-template-columns: 1fr; gap: 25px; }
  .commerce-quickview-image { aspect-ratio: 1.25; max-height: 300px; }
  .commerce-quickview h3 { font-size: 28px; }
  .commerce-quickview-price { margin-bottom: 20px; }
  .commerce-page { padding: 24px 22px 70px; }
  .commerce-page-heading { padding: 35px 0; }
  .commerce-cart-layout, .commerce-checkout-layout { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .commerce-page .commerce-cart-item { grid-template-columns: 70px minmax(0, 1fr) auto; gap: 13px; }
  .commerce-page .commerce-cart-image { width: 70px; height: 90px; }
  .commerce-page .commerce-cart-item-end strong { font-size: 13px; }
  .commerce-field-pair { grid-template-columns: 1fr 1fr; gap: 16px; }
  .commerce-checkout-notice { padding: 18px; font-size: 12px; }
}
@media (max-width: 380px) {
  .commerce-cart-item { grid-template-columns: 58px minmax(0, 1fr); }
  .commerce-cart-image { width: 58px; height: 76px; }
  .commerce-cart-item-end { grid-column: 2; flex-direction: row; justify-content: space-between; align-items: center; }
  .commerce-field-pair { grid-template-columns: 1fr; gap: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .commerce-overlay, .commerce-panel { animation: none !important; }
}
@media print {
  body.commerce-is-printing > :not(.commerce-print-request) { display: none !important; }
  body.commerce-is-printing { background: #fff !important; color: #000 !important; }
  body.commerce-is-printing .commerce-print-request { display: block !important; color: #000; background: #fff; font: 12px/1.5 Arial, sans-serif; padding: 20px; }
  .commerce-print-request h1 { font-size: 23px; font-weight: 400; }
  .commerce-print-request h2 { font-size: 16px; margin-top: 25px; }
  .commerce-print-request table { width: 100%; border-collapse: collapse; margin: 25px 0; }
  .commerce-print-request th, .commerce-print-request td { padding: 10px 8px; text-align: left; border-bottom: 1px solid #ccc; }
  .commerce-print-request th:last-child, .commerce-print-request td:last-child { text-align: right; }
}
