@font-face { font-family: Barlow; src: url("assets/barlow.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: Barlow; src: url("assets/barlow-semibold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Libre Baskerville"; src: url("assets/libre-baskerville.woff2") format("woff2"); font-display: swap; }
.commerce-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.saff-add, .saff-primary, .saff-secondary {
  display: inline-flex; justify-content: center; align-items: center; gap: 6px; min-height: 40px;
  padding: 8px 13px; border: 1px solid #111; border-radius: 4px; font: 600 14px Barlow, Arial, sans-serif;
  text-decoration: none; cursor: pointer;
}
.product-price { margin: 6px 0 0; color: #111; font-size: 16px; font-weight: 600; }
.saff-add { background: #fff; color: #111; margin-top: 9px; }
.saff-primary { background: #0b0b0b; color: white; }
.saff-primary:hover { background: #303030; }
.saff-primary:disabled { opacity: .45; cursor: default; }
.saff-secondary { background: #fff; color: #111; }
.saff-add:hover, .saff-add:focus-visible { background: #000; color: #fff; }
.saff-secondary:hover { background: #f3f3f3; }
[data-cart-trigger] { position: relative; }
[data-cart-trigger][data-count]:not([data-count=""])::after {
  content: attr(data-count); position: absolute; top: 3px; right: 1px; display: grid; place-items: center;
  min-width: 17px; height: 17px; border-radius: 99px; background: #111; color: white; font-size: 11px;
}
html:has(#sepet[open]) { overflow: hidden; }
#sepet.saff-cart {
  inset: 8px 8px 8px auto; margin: 0; width: min(100% - 16px, 448px); max-width: none;
  height: calc(100dvh - 16px); max-height: none; padding: 0; overflow: hidden; border: 0;
  border-radius: 12px; color: #111; background: white; box-shadow: 0 12px 40px #0003;
}
#sepet::backdrop { background: #070707b5; }
.saff-cart-layout { height: 100%; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.saff-cart-head { position: relative; text-align: center; padding: 16px 18px 12px; border-bottom: 1px solid #ebebeb; }
.saff-cart-head h2, .saff-empty h3, .saff-recommendations h3 {
  margin: 0; font: 400 19px/1.35 "Libre Baskerville", Georgia, serif;
}
.saff-close {
  position: absolute; inset: 5px 7px auto auto; width: 44px; height: 44px;
  border: 0; background: transparent; font-size: 24px;
}
.saff-shipping { margin-top: 16px; font-size: 13px; }
.saff-shipping span { display: block; color: #555; font-size: 12px; }
.saff-shipping progress {
  display: block; appearance: none; width: 100%; height: 7px; margin: 7px 0 6px;
  border: 0; border-radius: 999px; background: #ebebeb; color: #525252;
}
.saff-shipping progress::-webkit-progress-bar { border-radius: 999px; background: #ebebeb; }
.saff-shipping progress::-webkit-progress-value { border-radius: 999px; background: #525252; }
.saff-shipping progress::-moz-progress-bar { border-radius: 999px; background: #525252; }
.saff-cart-scroll { overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.saff-empty { padding: 62px 22px 70px; text-align: center; }
.saff-empty .saff-primary { width: 100%; margin-top: 16px; }
.saff-recommendations { border-top: 1px solid #e9e9e9; padding: 16px 14px 8px; }
.saff-recommendations h3 { text-align: center; font-size: 17px; margin-bottom: 8px; }
.saff-cart-line, .saff-recommendation {
  display: grid; grid-template-columns: minmax(84px, 110px) minmax(0, 1fr) auto; gap: 10px;
  align-items: center; padding: 10px 13px; font-size: 14px;
}
.saff-cart-line { border-bottom: 1px solid #eee; min-height: 124px; }
.saff-recommendation { min-height: 112px; padding-inline: 0; }
.saff-recommendation .saff-primary { padding-inline: 8px; font-size: 12px; }
.saff-thumb { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; background: white; }
.saff-line-info { min-width: 0; }
.saff-line-info > a, .saff-recommendation a { display: block; line-height: 1.2; font-weight: 600; }
.saff-muted { display: block; color: #666; font-size: 12px; margin: 4px 0; }
.saff-line-price { display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end; align-self: stretch; gap: 8px; }
.saff-line-price button { border: 0; background: transparent; width: 36px; height: 36px; font-size: 20px; }
.saff-line-price strong, .saff-recommendation strong { white-space: nowrap; }
.saff-quantity { display: inline-flex; align-items: center; border: 1px solid #ddd; margin-top: 5px; }
.saff-quantity button { width: 32px; height: 34px; background: white; border: 0; }
.saff-quantity span { min-width: 25px; text-align: center; }
.saff-note { padding: 12px 15px; border-bottom: 1px solid #eee; font-size: 13px; }
.saff-note textarea { display: block; width: 100%; margin-top: 8px; resize: vertical; padding: 7px; }
.saff-cart-footer { display: grid; gap: 8px; padding: 12px 15px 15px; border-top: 1px solid #eee; background: #fff; }
.saff-cart-footer[hidden], .saff-recommendations[hidden] { display: none; }
.saff-totals { display: flex; justify-content: space-between; gap: 10px; }

.saff-checkout { margin: 0; color: #111; background: white; font: 16px/1.42 Barlow, Arial, sans-serif; }
.saff-checkout *, .saff-checkout *::before, .saff-checkout *::after { box-sizing: border-box; }
.saff-checkout a { color: inherit; }
.checkout-header {
  display: flex; align-items: center; justify-content: space-between; padding: 18px max(18px, calc((100vw - 920px) / 2));
  border-bottom: 1px solid #e9e9e9;
}
.checkout-header .brand-mark { display: block; width: min(34vw, 144px); height: auto; }
.checkout-header a { font-size: 14px; text-decoration: none; }
.checkout-layout { display: grid; grid-template-columns: 53% 47%; min-height: calc(100dvh - 60px); }
.checkout-form-side { grid-area: 1 / 1; padding: 24px 30px 50px 18px; }
.checkout-form { width: min(100%, 460px); margin-left: auto; }
.checkout-form h1 { margin: 0 0 8px; font: 400 27px/1.22 "Libre Baskerville", Georgia, serif; }
.checkout-form h2, .checkout-summary h2 { margin: 0 0 11px; font-size: 20px; font-weight: 600; }
.checkout-form h3 { font-size: 15px; margin: 10px 0 8px; }
.checkout-form section { margin: 22px 0; }
.checkout-notice { padding: 9px 11px; font-size: 13px; background: #f2f2f2; color: #444; }
.checkout-form label { display: block; font-size: 13px; margin: 0 0 8px; }
.checkout-form input:not([type="radio"]), .discount-form input {
  display: block; width: 100%; min-height: 44px; margin-top: 3px; padding: 9px 11px;
  border: 1px solid #d9d9d9; border-radius: 8px; background: #fff; color: #111; font: inherit;
}
.checkout-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.checkout-option, .checkout-payment { border: 1px solid #dedede; border-radius: 9px; background: #fafafa; }
.checkout-option { display: flex; justify-content: space-between; padding: 11px; font-size: 14px; }
.checkout-payment label { display: flex; align-items: center; gap: 8px; padding: 12px 10px; margin: 0; }
.checkout-payment label + label { border-top: 1px solid #dedede; }
.checkout-payment label span { margin-left: auto; font-weight: 600; }
.checkout-payment input { accent-color: #111; }
.checkout-form > .saff-primary { width: 100%; min-height: 45px; }
.checkout-summary { grid-area: 1 / 2; color: #fff; background: #070707; padding: 24px 18px 35px 30px; }
.checkout-summary-inner { position: sticky; top: 22px; width: min(100%, 390px); }
.checkout-item { display: grid; grid-template-columns: 88px minmax(0, 1fr) auto; gap: 11px; align-items: center; margin-bottom: 11px; font-size: 14px; }
.checkout-photo { position: relative; }
.checkout-photo img { border-radius: 9px; }
.checkout-photo span {
  position: absolute; top: -5px; right: -5px; display: grid; place-items: center;
  min-width: 20px; height: 20px; background: #595959; border-radius: 100%; font-size: 11px;
}
.checkout-muted { display: block; font-size: 13px; color: #666; }
.checkout-summary .checkout-muted { color: #c5c5c5; }
.discount-form { display: flex; align-items: center; gap: 6px; margin-top: 15px; padding: 4px; background: white; border-radius: 8px; }
.discount-form input { margin: 0; border: 0; min-height: 36px; min-width: 0; }
.discount-form button { border: 1px solid #ddd; border-radius: 6px; background: #f6f6f6; padding: 7px 9px; cursor: pointer; }
.checkout-totals { margin-top: 18px; }
.checkout-totals > div { display: flex; justify-content: space-between; gap: 10px; margin: 5px 0; }
.checkout-totals dd { margin: 0; white-space: nowrap; }
.checkout-grand-total { padding-top: 9px; font-size: 20px; font-weight: 600; }
.saff-checkout :focus-visible { outline: 2px solid #747474; outline-offset: 2px; }
@media (max-width: 760px) {
  .checkout-layout { grid-template-columns: 1fr; }
  .checkout-summary, .checkout-form-side { grid-area: auto; padding: 20px 17px; }
  .checkout-summary-inner, .checkout-form { width: min(100%, 480px); margin: auto; }
  .checkout-item { grid-template-columns: 78px minmax(0, 1fr) auto; }
}
@media (max-width: 380px) {
  .saff-cart-line, .saff-recommendation { grid-template-columns: 77px minmax(0, 1fr) auto; gap: 7px; }
  .saff-recommendation .saff-primary { padding-inline: 6px; }
}
.saff-cart-discount { margin: 10px 15px 3px; padding: 0; }
.saff-cart-discount[hidden] { display: none; }
.saff-cart-discount input { border: 1px solid #ccc; border-radius: 4px; }
.saff-cart-discount button { min-height: 36px; background: #111; color: #fff; padding-inline: 12px; }
.saff-discount-status { padding: 0 15px 9px; color: #555; font-size: 12px; }
.saff-discount-status:empty { display: none; }
.checkout-form select {
  display: block; width: 100%; min-width: 0; min-height: 44px; margin-top: 3px; padding: 9px 11px;
  border: 1px solid #d9d9d9; border-radius: 8px; background: #fff; color: #111; font: inherit;
}
.checkout-form select:disabled { background: #f5f5f5; color: #6a6a6a; }
.checkout-account { min-width: 0; margin: 21px 0 0; padding: 0; border: 0; }
.checkout-account legend { padding: 0; margin: 0 0 9px; font-size: 18px; font-weight: 600; }
.checkout-account .checkout-account-option {
  display: flex; align-items: flex-start; gap: 9px; margin: 0 0 8px; padding: 10px 11px;
  border: 1px solid #dedede; border-radius: 8px; cursor: pointer;
}
.checkout-account-option:has(input:checked) { border-color: #242424; background: #f6f6f6; }
.checkout-account-option input { margin-top: 3px; accent-color: #111; }
.checkout-account-option small { display: block; color: #5c5c5c; font-size: 12px; }
.membership-hint { margin-top: 8px; }
.membership-hint[hidden], .discount-form[hidden], #discount-status[hidden] { display: none; }
.tracking-page { width: min(100% - 36px, 600px); margin: clamp(32px, 7vw, 95px) auto; }
.tracking-page h1 { margin: 5px 0 12px; font: 400 clamp(26px, 5vw, 40px)/1.2 "Libre Baskerville", Georgia, serif; }
.tracking-kicker { margin: 0; letter-spacing: .13em; font-size: 12px; font-weight: 600; }
.tracking-form { margin-top: 24px; }
.tracking-form label { display: block; margin-bottom: 5px; font-weight: 600; }
.tracking-form > div { display: flex; align-items: stretch; gap: 8px; }
.tracking-form input { flex: 1; min-width: 0; min-height: 44px; padding: 9px 11px; border: 1px solid #bbb; border-radius: 5px; font: inherit; }
.tracking-result { margin-top: 20px; padding: 20px; border: 1px solid #dbdbdb; background: #f6f6f6; border-radius: 8px; }
.tracking-result h2 { margin: 0 0 10px; font: 400 20px/1.3 "Libre Baskerville", Georgia, serif; }
.tracking-result dl > div { display: flex; justify-content: space-between; gap: 8px 12px; flex-wrap: wrap; margin-block: 8px; }
.tracking-result dd { margin: 0; font-weight: 600; }
.tracking-result p { margin-bottom: 0; color: #555; font-size: 14px; }
#tracking-status:empty { display: none; }
