/* Shopping-first navigation and purchase choices shared across ROTT pages. */
header nav .shop-nav { position: relative; }
header nav .shop-nav > summary { list-style: none; cursor: pointer; padding: 12px 16px; border-radius: 50px; font-size: 12px; transition: background .2s; }
header nav .shop-nav > summary::-webkit-details-marker { display: none; }
header nav .shop-nav > summary:hover,
header nav .shop-nav[open] > summary { background: #e1d2b9; }
header nav .shop-nav > summary span { display: inline-block; margin-left: 5px; transition: transform .2s; }
header nav .shop-nav[open] > summary span { transform: rotate(180deg); }
.shop-nav-panel { position: absolute; z-index: 30; top: calc(100% + 18px); left: 0; width: 280px; padding: 9px; background: var(--cream); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 18px 45px #412b2125; }
.shop-nav-panel a { display: flex; flex-direction: column; gap: 5px; padding: 14px 13px; border-radius: 10px; }
.shop-nav-panel a:hover { background: var(--paper); }
.shop-nav-panel a:after { display: none; }
.shop-nav-panel strong { font-size: 13px; font-weight: 600; }
.shop-nav-panel small { font-size: 10px; color: var(--muted); }
.nav-buy { display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: 46px; padding: 0 20px; border-radius: 50px; background: var(--brown); color: var(--cream); font-size: 12px; white-space: nowrap; transition: background .2s, transform .2s; }
.nav-buy:hover { background: #654330; transform: translateY(-2px); }
.mobile-buy { display: none !important; }
.buy-options { margin: 22px 0 12px; scroll-margin-top: 130px; }
.buy-options-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 11px; }
.buy-options-heading .eyebrow { margin: 0; }
.buy-options-heading > span { font-size: 10px; color: var(--muted); }
.buy-choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.buy-choice { min-width: 0; min-height: 116px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 15px; border: 1px solid var(--line); border-radius: 13px; background: transparent; text-align: left; transition: border .2s, background .2s, transform .2s; }
.buy-choice:hover { transform: translateY(-2px); border-color: #997044; }
.buy-choice[aria-pressed="true"] { border-color: var(--brown); background: #e9e1d2; box-shadow: inset 0 0 0 1px var(--brown); }
.buy-choice-title { font-size: 15px; font-weight: 650; }
.buy-choice-detail { font-size: 10px; line-height: 1.5; color: var(--muted); }
.buy-choice strong { margin-top: auto; font-size: 12px; font-weight: 600; }
.buy-selection-note { min-height: 20px; margin: 9px 0 0; color: var(--muted); font-size: 10px; }
.buy-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 10px 0 0; font-size: 12px; }
.buy-total strong { font-size: 21px; }
.buy-unit-price { margin: 3px 0 12px; text-align: right; color: var(--muted); font-size: 10px; }
#live-product .button { width: 100%; justify-content: center; }
.pdp-purchase-note { border: 1px solid var(--line); border-radius: 13px; padding: 18px; background: #eee6d8; }
.pdp-purchase-note > .eyebrow { margin: 0 0 8px; }
.pdp-purchase-note > strong { font-size: 15px; }
.pdp-purchase-note > p:not(.eyebrow) { margin: 8px 0 12px; font-size: 12px; line-height: 1.65; color: var(--muted); }
.pdp-coming-soon { min-height: 46px; width: 100%; border: 0; border-radius: 30px; background: #cfc2ae; color: #635548; font-size: 12px; }
.pdp-purchase-note .text-link { margin-top: 7px; }
.bag [data-bag-count] { display: inline-grid; place-items: center; min-width: 21px; height: 21px; margin-left: 10px; padding: 0 5px; border-radius: 50%; background: var(--brown); color: var(--cream); font-size: 10px; }
@media (max-width: 1100px) and (min-width: 761px) {
  header nav { gap: 0; }
  header nav > a, header nav .shop-nav > summary { padding: 10px 9px; font-size: 10px; }
  .nav-buy { padding: 0 13px; gap: 8px; font-size: 10px; }
  .shop-nav-panel { top: calc(100% + 20px); }
}
@media (max-width: 760px) {
  .mobile-buy { display: flex !important; justify-content: center; min-height: 50px !important; margin-top: 8px; padding: 12px 16px !important; border-radius: 30px; background: var(--brown) !important; color: var(--cream); }
  .buy-options { scroll-margin-top: 105px; }
}
@media (max-width: 420px) {
  .buy-options-heading { align-items: flex-start; flex-direction: column; gap: 3px; }
  .buy-choice { min-height: 123px; padding: 12px; }
  .buy-choice-title { font-size: 14px; }
}

/* Product-listing treatment inspired by the reference, translated to ROTT's palette. */
.buy-section {
  align-items: stretch;
  gap: clamp(14px, 2vw, 26px);
  padding-top: clamp(54px, 7vw, 96px);
  padding-bottom: clamp(54px, 7vw, 96px);
  background: #fbfaf7;
}
.buy-section .product-art {
  min-height: 590px;
  height: auto;
  overflow: hidden;
  border: 1px solid #dedbd5;
  border-radius: 26px;
  background: radial-gradient(ellipse at 50% 42%, #fff 0, #f0efec 68%);
}
.buy-section .product-photo img {
  object-fit: contain;
  object-position: center;
  padding: clamp(18px, 3vw, 42px);
  transition: transform .65s cubic-bezier(.2,.7,.2,1);
}
.buy-section .product-photo:hover img { transform: scale(1.045); }
.buy-section .product-badge {
  top: 18px;
  left: 18px;
  gap: 0;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--brown);
  color: var(--cream);
  font-size: 9px;
  letter-spacing: .12em;
}
.buy-section .product-badge span { display: none; }
.buy-section .product-photo > p {
  left: 50%;
  right: auto;
  bottom: 17px;
  transform: translateX(-50%);
  margin: 0;
  white-space: nowrap;
  border: 1px solid #d9d5cd;
  background: #fbfaf7ed;
  color: #51483d;
  padding: 10px 15px;
  border-radius: 999px;
  font-size: 10px;
}
.buy-section .product-copy {
  align-self: stretch;
  min-width: 0;
  padding: clamp(25px, 4vw, 48px);
  border: 1px solid #e2dfd9;
  border-radius: 26px;
  background: #f3f2ef;
}
.buy-section .product-copy h2 {
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  margin: 16px 0 18px;
}
.buy-section .product-status {
  width: fit-content;
  padding: 10px 13px;
  gap: 9px;
  border: 1px solid #d8d3ca;
  border-radius: 999px;
  background: #fbfaf7;
  margin: 20px 0;
  font-size: 10px;
}
.buy-section .buy-options { margin: 18px 0 12px; }
.buy-section .buy-choice-grid { gap: 9px; }
.buy-section .buy-choice {
  min-height: 124px;
  padding: 16px;
  border-radius: 16px;
  background: #fbfaf7;
}
.buy-section .buy-choice[aria-pressed="true"] {
  border-color: #8e6b46;
  background: #ece5d9;
  box-shadow: inset 0 0 0 1px #8e6b46;
}
.buy-section .pdp-purchase-note { border-radius: 17px; }
@media (max-width: 760px) {
  .buy-section { gap: 14px; padding-left: 5%; padding-right: 5%; }
  .buy-section .product-art { min-height: 0; height: min(112vw, 450px); border-radius: 22px; }
  .buy-section .product-photo img { padding: 18px; }
  .buy-section .product-copy { padding: 25px 20px; border-radius: 22px; }
  .buy-section .product-copy h2 { font-size: clamp(2.65rem, 12vw, 4rem); }
}
@media (prefers-reduced-motion: reduce) {
  .buy-section .product-photo img { transition: none; }
  .buy-section .product-photo:hover img { transform: none; }
}
/* One product, variable quantity, optional monthly home delivery. */
.purchase-mode-grid { display: grid; gap: 9px; }
.purchase-mode-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
  padding: 15px 16px;
  border: 1px solid #dedbd5;
  border-radius: 15px;
  background: #fbfaf7;
  cursor: pointer;
  transition: border-color .2s, background .2s, transform .2s;
}
.purchase-mode-card:hover { transform: translateY(-1px); border-color: #997044; }
.purchase-mode-card:has(input:checked) { border-color: #8e6b46; background: #ece5d9; box-shadow: inset 0 0 0 1px #8e6b46; }
.purchase-mode-card input { flex: 0 0 auto; width: 17px; height: 17px; margin: 2px 0 0; accent-color: var(--brown); }
.purchase-mode-copy { display: grid; gap: 5px; min-width: 0; }
.purchase-mode-copy strong { font-size: 13px; }
.purchase-mode-copy small { color: var(--muted); font-size: 10px; line-height: 1.55; }
.monthly-pending { flex: 0 0 auto; margin-left: auto; padding: 6px 9px; border-radius: 999px; background: #e5d2b7; color: #523a27; font-size: 8px; font-weight: 650; letter-spacing: .05em; }
.quantity-picker { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 15px; padding: 14px 0; border-top: 1px solid #dedbd5; border-bottom: 1px solid #dedbd5; }
.quantity-picker > div:first-child { display: grid; gap: 4px; }
.quantity-picker > div:first-child strong { font-size: 12px; }
.quantity-picker > div:first-child small { color: var(--muted); font-size: 10px; }
.quantity-stepper { display: inline-flex; align-items: center; min-height: 42px; border: 1px solid #d8d3ca; border-radius: 999px; background: #fbfaf7; overflow: hidden; }
.quantity-stepper button { width: 40px; height: 40px; border: 0; background: transparent; font-size: 19px; transition: background .2s; }
.quantity-stepper button:hover { background: #e9e1d2; }
.quantity-stepper input { width: 40px; height: 40px; padding: 0; border: 0; outline: 0; background: transparent; text-align: center; font-size: 13px; font-weight: 650; appearance: textfield; }
.quantity-stepper input::-webkit-inner-spin-button,.quantity-stepper input::-webkit-outer-spin-button { margin: 0; appearance: none; }
.buy-section .buy-selection-note { margin: 9px 0 0; min-height: auto; }
@media (max-width: 430px) {
  .purchase-mode-card { padding: 13px 12px; }
  .monthly-pending { padding: 5px 7px; font-size: 7px; }
  .quantity-stepper button { width: 38px; }
}

.buy-section .pdp-purchase-note {
  border-color: #412b21;
  background: #412b21;
  color: #f4efe5;
}
.buy-section .pdp-purchase-note > .eyebrow { color: #dfbd95; }
.buy-section .pdp-purchase-note > p:not(.eyebrow) { color: #e5dacb; }
.buy-section .pdp-purchase-note .pdp-coming-soon {
  opacity: 1;
  background: #b99161;
  color: #2c2118;
}
