/* RUSTIC local storefront commerce */
.option-selector__btns { gap: 10px; }
.option-selector .opt-label {
  border: 0 !important;
  border-radius: 999px !important;
  background: #f0ebe0 !important;
  color: #24382f !important;
  box-shadow: inset 0 0 0 1px rgba(36, 56, 47, .16);
  transition: background .2s ease, color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.option-selector .opt-label:hover { transform: translateY(-1px); box-shadow: inset 0 0 0 1px #8b6545, 0 5px 14px rgba(36,56,47,.12); }
.option-selector input[type="radio"]:checked + .opt-label,
.option-selector .opt-label.rustic-option-selected {
  background: #263e34 !important;
  color: #fff !important;
  box-shadow: inset 0 0 0 2px #263e34, inset 0 0 0 4px #d9c6a2 !important;
}
.option-selector .opt-label.is-unavailable:after { display: none !important; }
.rustic-cart-toast {
  position: fixed; z-index: 99999; right: 24px; bottom: 24px; width: min(360px, calc(100vw - 32px));
  display: grid; gap: 4px; padding: 18px 20px; color: #fff; background: #263e34;
  border-radius: 14px; box-shadow: 0 18px 45px rgba(21, 35, 29, .28); opacity: 0;
  transform: translateY(18px); pointer-events: none; transition: opacity .25s ease, transform .25s ease;
}
.rustic-cart-toast.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.rustic-cart-toast strong { font-size: 16px; }
.rustic-cart-toast span { opacity: .84; }
.rustic-cart-toast a { color: #e5c98f; margin-top: 4px; text-decoration: underline; }
.rustic-eyebrow { margin: 0 0 10px; color: #8b6545; font-size: 11px; font-weight: 700; letter-spacing: .18em; }
.rustic-cart-shell { width: min(1240px, calc(100% - 40px)); margin: 64px auto 90px; }
.rustic-cart-heading { display: flex; align-items: end; justify-content: space-between; padding-bottom: 24px; border-bottom: 1px solid #d8d0c2; }
.rustic-cart-heading h1, .rustic-cart-empty h1 { margin: 0; color: #24382f; font-size: clamp(36px, 5vw, 64px); line-height: 1; }
.rustic-cart-heading > p { margin: 0; color: #685f55; }
.rustic-cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 50px; margin-top: 34px; }
.rustic-cart-item { display: grid; grid-template-columns: 150px minmax(0, 1fr) 150px 110px; gap: 24px; align-items: center; padding: 24px 0; border-bottom: 1px solid #ddd5c8; }
.rustic-cart-item__image { aspect-ratio: 1; overflow: hidden; display: grid; place-items: center; border-radius: 18px; background: #eee8dc; }
.rustic-cart-item__image img { width: 100%; height: 100%; object-fit: cover; }
.rustic-cart-item__details h2 { margin: 0 0 8px; font-size: 19px; line-height: 1.3; }
.rustic-cart-item__details h2 a { color: #1f3029; }
.rustic-cart-item__variant { margin: 0 0 12px; color: #70675d; }
.rustic-text-button { padding: 0; border: 0; color: #8b6545; background: transparent; text-decoration: underline; cursor: pointer; }
.rustic-cart-item__quantity > span { display: block; margin-bottom: 8px; color: #71685d; font-size: 12px; }
.rustic-quantity-control { display: grid; grid-template-columns: 38px 48px 38px; height: 40px; overflow: hidden; border: 1px solid #bdb3a4; border-radius: 999px; }
.rustic-quantity-control button, .rustic-quantity-control input { width: 100%; border: 0; background: transparent; text-align: center; }
.rustic-quantity-control button { cursor: pointer; font-size: 20px; }
.rustic-quantity-control input { appearance: textfield; padding: 0; }
.rustic-cart-item__total { color: #24382f; text-align: right; }
.rustic-cart-summary { align-self: start; position: sticky; top: 25px; padding: 30px; border-radius: 22px; background: #263e34; color: #fff; }
.rustic-cart-summary > div { display: flex; justify-content: space-between; padding: 18px 0; border-block: 1px solid rgba(255,255,255,.2); font-size: 18px; }
.rustic-cart-summary > p:not(.rustic-eyebrow) { color: rgba(255,255,255,.72); font-size: 13px; }
.rustic-cart-summary .rustic-checkout-button { display: block; width: 100%; margin-top: 22px; border: 0; background: #e2c68c; color: #203229; text-align: center; }
.rustic-continue { display: block; margin: 16px 0 24px; color: #fff; text-align: center; text-decoration: underline; }
.rustic-cart-summary ul { display: grid; gap: 9px; margin: 0; padding: 18px 0 0; border-top: 1px solid rgba(255,255,255,.2); list-style: none; font-size: 12px; color: rgba(255,255,255,.74); }
.rustic-cart-summary li:before { content: '✓'; margin-right: 9px; color: #e2c68c; }
.rustic-cart-empty { min-height: 45vh; display: grid; place-content: center; justify-items: center; text-align: center; }
.rustic-cart-empty p:not(.rustic-eyebrow) { max-width: 520px; color: #6a6258; }
.rustic-checkout-main { background: #f6f1e8; }
.rustic-checkout-shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 60px 0 90px; }
.rustic-checkout-header { display: flex; align-items: end; justify-content: space-between; margin-bottom: 34px; }
.rustic-checkout-header h1 { margin: 0; color: #24382f; font-size: clamp(38px, 5vw, 62px); }
.rustic-checkout-header a { color: #6f5944; text-decoration: underline; }
.rustic-checkout-layout { display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: 44px; align-items: start; }
.rustic-checkout-form, .rustic-checkout-summary { padding: clamp(24px, 4vw, 42px); border-radius: 24px; background: #fff; box-shadow: 0 16px 50px rgba(50,43,34,.08); }
.rustic-checkout-form fieldset { margin: 0 0 34px; padding: 0; border: 0; }
.rustic-checkout-form legend { width: 100%; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 1px solid #ded6ca; color: #24382f; font-size: 22px; font-weight: 700; }
.rustic-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.rustic-form-field { display: grid; gap: 7px; }
.rustic-form-field--wide { grid-column: 1 / -1; }
.rustic-form-field label { color: #4e574f; font-size: 12px; font-weight: 700; }
.rustic-form-field input, .rustic-form-field select { width: 100%; height: 50px; padding: 0 14px; border: 1px solid #cfc5b7; border-radius: 10px; background: #fcfaf6; color: #203229; }
.rustic-form-field input:focus, .rustic-form-field select:focus { outline: 2px solid #a9865f; outline-offset: 1px; border-color: transparent; }
.rustic-checkout-submit { width: 100%; border: 0; background: #263e34 !important; color: #fff !important; }
.rustic-checkout-submit:disabled { opacity: .45; cursor: not-allowed; }
.rustic-checkout-notice { margin-top: 18px; padding: 14px; border-radius: 10px; background: #e8f1e9; color: #23452f; }
.rustic-checkout-summary { position: sticky; top: 24px; background: #263e34; color: #fff; }
.rustic-checkout-summary h2 { margin: 0 0 20px; color: #fff; }
.rustic-checkout-items { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.rustic-checkout-items li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,.16); font-size: 13px; }
.rustic-checkout-items small { display: block; margin-top: 4px; color: rgba(255,255,255,.6); }
.rustic-checkout-total { display: flex; justify-content: space-between; margin-top: 22px; font-size: 20px; }
.rustic-checkout-summary > p { color: rgba(255,255,255,.68); font-size: 12px; }
@media (max-width: 900px) {
  .rustic-cart-layout, .rustic-checkout-layout { grid-template-columns: 1fr; }
  .rustic-cart-summary, .rustic-checkout-summary { position: static; }
  .rustic-cart-item { grid-template-columns: 100px minmax(0, 1fr); gap: 16px; }
  .rustic-cart-item__quantity { grid-column: 2; }
  .rustic-cart-item__total { grid-column: 2; text-align: left; }
}
@media (max-width: 560px) {
  .rustic-cart-shell, .rustic-checkout-shell { width: min(100% - 24px, 1180px); }
  .rustic-cart-heading, .rustic-checkout-header { align-items: flex-start; flex-direction: column; gap: 14px; }
  .rustic-form-grid { grid-template-columns: 1fr; }
  .rustic-form-field--wide { grid-column: auto; }
  .rustic-cart-toast { right: 16px; bottom: 16px; }
}
