/* 9A: plum frames, warm paper and lime navigation. */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.mast-inner { gap: 10px clamp(12px,3vw,56px); }
.mast .utility-nav { gap: 13px; }
.mast .garden-nav { gap: clamp(14px,2.65vw,43px); }
.bag-link { gap: 6px; }
.bag-link span { min-width: 24px; display: inline-grid; place-items: center; min-height: 24px; background: var(--plum); color: var(--paper); padding-inline: 4px; }
.footer-index { display: grid; grid-template-columns: minmax(190px,1.25fr) repeat(3,minmax(0,1fr)); gap: clamp(20px,5vw,80px); padding-block: 36px 33px; }
.footer-brand img { width: 155px; }
.footer-brand p { margin-top: 10px; font-size: 14px; }
.footer-index nav { display: flex; flex-direction: column; align-items: start; gap: 2px; }
.footer-index nav strong { font: 700 25px/1.1 var(--display); margin-bottom: 3px; }
.footer-index nav a { font-size: 14px; min-height: 34px; font-weight: 660; }
.absolute-footer { background: var(--plum); color: var(--paper); }
.absolute-layout { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 22px; padding-block: 16px; }
.absolute-layout .rights-lines { min-width: 0; max-width: 100%; font-size: .875rem; line-height: 1.45; overflow-wrap: anywhere; }
.absolute-footer[data-layout="B"] .rights-lines p + p { margin-top: 4px; }
.absolute-layout .payment-marks { display: flex; flex-wrap: wrap; gap: 8px; max-width: 100%; }
.absolute-layout .payment-marks img { flex: none; width: 38px; height: 24px; object-fit: contain; }
@media (max-width: 640px) { .absolute-layout { flex-direction: column; align-items: flex-start; } }
.home-shop { margin: 15px 0 24px; }
.range .item p a { display: inline-block; margin-left: .32em; font-weight: 700; }
:where(input,textarea,select):focus-visible { outline: 3px solid #aa552e; outline-offset: 2px; }

.route-heading { background: var(--plum); color: var(--paper); padding: clamp(30px,4vw,62px) 0 clamp(33px,4.5vw,67px); }
.route-heading h1, .catalog-lead h1, .about-lead h1 { font: 700 clamp(58px,8vw,120px)/.9 var(--display); letter-spacing: -.055em; }
.route-heading p, .catalog-lead p, .about-lead p { font: 500 clamp(20px,1.85vw,29px)/1.25 var(--display); margin-top: 13px; max-width: 43ch; }
:where(.commerce,.account-layout,.contact-layout,.policy-layout,.about-copy,.product-page,.directory) h2 {
  font: 700 clamp(33px,3.7vw,57px)/.98 var(--display); letter-spacing: -.038em; text-wrap: balance;
}
button.solid { border: 1px solid var(--ink); cursor: pointer; font-family: inherit; font-size: 16px; }
.outline { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 14px; color: var(--ink); background: transparent; border: 1px solid var(--ink); font: 730 15px var(--sans); cursor: pointer; }
.outline:hover { background: var(--lime); }
.field { min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.field > span { font-size: 14px; font-weight: 740; }
.field > span small { font-size: .9em; font-weight: 500; }
.field :is(input,textarea,select) { display: block; width: 100%; min-width: 0; min-height: 46px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 0; background: var(--white-paper); color: var(--ink); font: 500 16px var(--sans); }
.field textarea { resize: vertical; }
.field input::placeholder { color: #694f60; }
.quiet { display: grid; align-items: start; justify-items: start; gap: 9px; padding: clamp(18px,3vw,43px); border: 1px solid var(--line); background: #e9e2cd; }
.quiet p { max-width: 63ch; }
.quiet .solid, .quiet .outline { margin-top: 8px; }
.feedback { font-size: 14px; font-weight: 700; margin-top: 3px; }
.feedback-link { display: inline-flex; align-items: center; min-height: 38px; font-size: 14px; font-weight: 750; }

/* Catalogue pages */
.catalog-lead { background: var(--plum); color: var(--paper); }
.catalog-inner { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(0,.78fr); align-items: stretch; min-height: 320px; }
.catalog-inner > div { align-self: center; padding: 32px clamp(20px,4vw,69px) 38px 0; }
.catalog-inner figure { overflow: hidden; min-width: 0; min-height: 100%; background: var(--plum-deep); position: relative; }
.catalog-inner figure img { position: absolute; inset: 0; height: 100%; object-fit: cover; object-position: 50% 66%; }
.section-tabs { background: var(--lime); color: var(--ink); }
.section-tabs > div { display: flex; gap: 0 clamp(12px,3vw,46px); flex-wrap: wrap; }
.section-tabs a { display: inline-flex; align-items: center; min-height: 54px; padding: 0 7px; border-bottom: 3px solid transparent; font-size: 15px; font-weight: 760; text-decoration: none; }
.section-tabs a:hover, .section-tabs a[aria-current] { border-color: var(--ink); }
.catalog-body { padding-block: 38px 72px; }
.shelf-tools { display: flex; align-items: end; gap: 13px; padding: 0 0 18px; border-bottom: 1px solid var(--soft-line); }
.search-stock { flex: 2; }
.sort-stock, .sort-pattern { flex: 1; max-width: 235px; }
.result-count { margin: 11px 0 17px; font-size: 14px; font-weight: 700; }
.shelf { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 23px clamp(17px,2.6vw,45px); }
.shelf-item { min-width: 0; padding-bottom: 15px; border-bottom: 1px solid var(--soft-line); }
.shelf-item a { display: block; text-decoration: none; }
.shelf-item a:hover h2 { text-decoration: underline; text-underline-offset: .17em; }
.shelf-item figure, .product-related figure { position: relative; aspect-ratio: 1.26; overflow: hidden; background: #e5d8e2; }
.shelf-item:nth-child(3n+2) figure, .product-related a:nth-child(2) figure { background: #e3e4bd; }
.shelf-item:nth-child(3n+3) figure, .product-related a:nth-child(3) figure { background: #ece5d2; }
.shelf-item img, .product-related img { position: absolute; inset: 0; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.shelf-label { display: grid; gap: 5px; padding-top: 12px; }
.shelf-label span { color: #684e61; font-size: 12px; font-weight: 730; }
.shelf-label h2 { font: 700 clamp(21px,2.6vw,37px)/1.01 var(--display); letter-spacing: -.025em; text-wrap: pretty; }
.shelf-item > p { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-top: 10px; font-size: 14px; }
.shelf-item > p strong { font-variant-numeric: tabular-nums; }

/* Product and photographic views */
.product-page { padding-block: 18px 66px; }
.crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 7px 17px; font-size: 14px; margin-bottom: 18px; }
.crumb a { display: inline-flex; align-items: center; min-height: 44px; }
.crumb a + a { border-left: 1px solid var(--soft-line); padding-left: 16px; }
.product-grid { display: grid; grid-template-columns: minmax(0,1.37fr) minmax(0,1fr); gap: 13px clamp(23px,4vw,68px); align-items: start; }
.product-intro { grid-column: 2; padding: 3px 0 0; min-width: 0; }
.product-intro h1 { font: 700 clamp(43px,5.4vw,82px)/.91 var(--display); letter-spacing: -.045em; text-wrap: balance; overflow-wrap: anywhere; }
.product-intro > p { margin-top: 12px; font-size: clamp(16px,1.35vw,21px); max-width: 35ch; }
.product-gallery { grid-column: 1; grid-row: 1 / 3; display: grid; grid-template-columns: auto minmax(0,1fr); gap: 11px; padding: clamp(11px,1.5vw,22px); background: var(--plum); color: var(--paper); }
.product-gallery:not(:has(.thumbs)) { grid-template-columns: minmax(0,1fr); }
.thumbs { display: grid; gap: 6px; align-content: start; }
.thumbs button { width: clamp(48px,5.1vw,75px); height: clamp(48px,5.1vw,75px); padding: 2px; border: 1px solid #8f657e; background: var(--paper); color: var(--ink); cursor: pointer; }
.thumbs button[aria-pressed=true], .thumbs button:hover { border: 3px solid var(--lime); padding: 0; }
.thumbs img { height: 100%; object-fit: contain; }
.gallery-stage { background: #e4d9e3; color: var(--ink); display: grid; }
.gallery-stage > img { width: 100%; aspect-ratio: 1.15; object-fit: contain; mix-blend-mode: multiply; }
.gallery-stage figcaption { min-height: 30px; padding: 5px 9px; font-size: 13px; font-weight: 720; border-top: 1px solid #beabbd; }
.product-order { grid-column: 2; }
.product-price { font-size: 25px; font-weight: 760; font-variant-numeric: tabular-nums; margin-bottom: 15px; }
.product-spec { border-top: 1px solid var(--line); margin-bottom: 16px; }
.product-spec > div { display: grid; grid-template-columns: minmax(80px,.60fr) minmax(0,1.4fr); gap: 7px 15px; padding: 8px 0; border-bottom: 1px solid var(--soft-line); }
.product-spec dt { font-weight: 750; }
.product-spec dd { margin: 0; }
.add-form { display: flex; align-items: end; gap: 9px; margin-bottom: 8px; }
.amount-field { width: 99px; flex: 0 0 auto; }
.add-form .solid { flex: 1; text-align: center; justify-content: center; min-height: 46px; }
.delivery-note { display: flex; flex-direction: column; align-items: start; gap: 6px; border-top: 1px solid var(--soft-line); margin-top: 12px; padding-top: 10px; font-size: 14px; }
.product-related { margin-top: 54px; }
.product-related > div { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 15px clamp(13px,3vw,40px); margin-top: 17px; }
.product-related a { display: grid; gap: 6px; text-decoration: none; }
.product-related a:hover strong { text-decoration: underline; }
.product-related a strong { font-family: var(--display); font-size: clamp(17px,2vw,28px); line-height: 1.07; }
.product-related a span { font-size: 14px; font-variant-numeric: tabular-nums; }

/* Bag, checkout, account and support */
.commerce, .account-layout, .contact-layout, .policy-layout, .directory { padding-block: 36px 68px; }
.commerce-grid { display: grid; grid-template-columns: minmax(0,1.6fr) minmax(0,.78fr); gap: clamp(18px,4vw,66px); align-items: start; }
.bag-items header, .section-line { display: flex; align-items: baseline; justify-content: space-between; gap: 8px 20px; flex-wrap: wrap; padding-bottom: 13px; border-bottom: 1px solid var(--line); }
.bag-row { display: grid; grid-template-columns: minmax(72px,101px) minmax(0,1fr) auto auto; gap: 9px 13px; align-items: center; padding: 15px 0; border-bottom: 1px solid var(--soft-line); }
.line-photo { display: block; background: #e6dce2; }
.line-photo img { aspect-ratio: 1; object-fit: contain; mix-blend-mode: multiply; }
.line-copy { display: grid; align-items: start; justify-items: start; gap: 4px; }
.line-copy > a { font: 700 clamp(18px,2.1vw,32px)/1.05 var(--display); }
.line-copy > span { font-size: 13px; }
.plain-link { color: var(--ink); font: 700 13px var(--sans); background: transparent; padding: 2px 0; min-height: 35px; cursor: pointer; border: 0; text-decoration: underline; }
.qty-stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); }
.qty-stepper button { height: 42px; width: 40px; padding: 0; border: 0; background: var(--white-paper); color: var(--ink); cursor: pointer; font: 700 18px var(--sans); }
.qty-stepper button:disabled { color: #7c6072; background: #eee5de; cursor: default; }
.qty-stepper button:not(:disabled):hover { background: var(--lime); }
.qty-stepper span { width: 29px; text-align: center; font-variant-numeric: tabular-nums; }
.line-sum, .checkout-line strong { white-space: nowrap; font-variant-numeric: tabular-nums; font-size: 14px; }
.live-note { font-size: 14px; min-height: 22px; margin-top: 8px; }
.summary { padding: clamp(16px,2.65vw,40px); color: var(--ink); background: #e7e6b9; border: 1px solid #9c9774; }
.summary h2 { font-size: clamp(29px,3.15vw,46px); margin-bottom: 13px; }
.summary dl > div { display: flex; justify-content: space-between; gap: 14px; padding: 6px 0; font-variant-numeric: tabular-nums; }
.summary dl .total { margin-top: 5px; border-top: 1px solid #8c8666; padding-top: 10px; font-weight: 760; }
.shipping-note { font-size: 13px; margin: 10px 0; }
.summary .solid { width: 100%; justify-content: center; margin-top: 7px; }
.summary > a:not(.solid) { display: inline-flex; min-height: 41px; align-items: center; font-size: 14px; }
.summary nav { display: flex; flex-wrap: wrap; gap: 10px; font-size: 13px; margin-top: 10px; }
.checkout-form, .compact-form { display: grid; gap: 13px; }
.checkout-form > .solid, .compact-form > .solid { justify-self: start; }
.section-line { margin-bottom: 1px; padding-bottom: 8px; }
.checkout-form .section-line:not(:first-child) { margin-top: 12px; }
.section-line h2 { font-size: clamp(27px,3.1vw,46px); }
.form-pair { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 10px; }
.purchase-note { font-size: 14px; }
.review-box { padding: 19px; }
.review-box h2 { font-size: 34px; }
.checkout-line { display: grid; grid-template-columns: 47px minmax(0,1fr) auto; gap: 8px; align-items: center; padding-block: 8px; border-bottom: 1px solid #a89d79; font-size: 13px; }
.checkout-line img { background: var(--paper); mix-blend-mode: multiply; }
.line-quantity { display: block; margin-top: 2px; font-size: 12px; }
#checkout-items { margin-bottom: 10px; }
.account-layout, .contact-layout { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(0,.78fr); gap: clamp(18px,5vw,77px); align-items: start; }
.contact-layout { grid-template-columns: minmax(0,.68fr) minmax(0,1.42fr); }
.account-forms, .contact-content { padding: clamp(17px,2.8vw,45px); border: 1px solid var(--line); }
.account-forms h2, .contact-content h2 { margin-bottom: 13px; }
.account-forms > div > p, .contact-content > p { margin-block: 9px 14px; }
.account-forms nav { display: flex; flex-wrap: wrap; gap: 10px; font-size: 14px; margin-top: 13px; }
.account-forms .compact-form { max-width: 540px; }
.account-forms .quiet h3 { font-family: var(--display); font-size: 26px; }
.care-panel { background: #e8e7ba; padding: clamp(17px,2.8vw,41px); }
.care-panel h2 { font-size: clamp(28px,3.25vw,50px); margin-bottom: 11px; }
.care-panel p { margin-bottom: 11px; }
.care-panel a { display: flex; align-items: center; min-height: 40px; font-weight: 730; }
#contact-result .field { width: 100%; }

/* Information pages */
.about-lead { background: var(--plum); color: var(--paper); }
.about-spread { display: grid; grid-template-columns: minmax(0,1.32fr) minmax(0,.88fr); min-height: 385px; }
.about-spread > div { align-self: center; padding: clamp(25px,5vw,81px) clamp(14px,4vw,65px) clamp(25px,5vw,81px) 0; }
.about-spread figure { position: relative; overflow: hidden; }
.about-spread figure img { position: absolute; inset: 0; height: 100%; object-fit: cover; object-position: 53% 59%; }
.about-lead .solid { color: var(--ink); background: var(--lime); margin-top: 23px; }
.about-lead .solid:hover { background: var(--lime-hover); }
.about-copy { padding-block: 44px 69px; }
.about-copy > p { max-width: 66ch; margin-block: 11px 14px; }
.about-copy > p a { display: inline-flex; min-height: 42px; align-items: center; margin-right: 13px; }
.about-types { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px; margin: 24px 0 43px; }
.about-types a { display: grid; gap: 3px; text-decoration: none; border: 1px solid var(--line); background: #e3e4ba; padding: clamp(12px,2.8vw,36px); }
.about-types a:hover strong { text-decoration: underline; }
.about-types strong { font: 700 clamp(25px,3.35vw,50px)/1.01 var(--display); }
.about-types a:nth-child(2) { background: #e7dbe4; }
.policy-layout { display: grid; grid-template-columns: minmax(0,.47fr) minmax(0,1.53fr); align-items: start; gap: 20px clamp(24px,7vw,110px); }
.contents { background: #e5e5b6; padding: clamp(14px,2vw,32px); position: sticky; top: 19px; }
.contents strong { display: block; font: 700 24px/1.1 var(--display); margin-bottom: 8px; }
.contents a { display: flex; align-items: center; min-height: 40px; font-size: 14px; }
.policy-body { max-width: 74ch; }
.effective { font-size: 14px; color: #5e4655; margin-bottom: 13px; }
.policy-body section { border-top: 1px solid var(--soft-line); padding: 16px 0 23px; }
.policy-body section h2 { font-size: clamp(25px,3vw,48px); margin-bottom: 7px; }
.policy-body p { max-width: 62ch; }
.policy-help { padding-top: 11px; border-top: 1px solid var(--soft-line); font-weight: 730; }
.directory { display: grid; gap: 8px; justify-items: start; }
.directory a { display: inline-flex; min-height: 50px; align-items: center; padding-inline: 10px; font: 700 28px var(--display); border-bottom: 1px solid var(--line); }

@media (max-width: 980px) {
  .mast nav a { font-size: 14px; }
  .mast .brand { width: 240px; }
  .footer-index { gap: 17px; }
  .checkout-line { grid-template-columns: 38px minmax(0,1fr) auto; }
}
@media (max-width: 760px) {
  .mast-inner { display: grid; grid-template-columns: minmax(0,1fr) auto; grid-template-areas: "logo utilities" "browse browse"; gap: 1px 7px; padding: 5px 0 1px; min-height: 0; }
  .brand { grid-area: logo; width: min(100%,240px); }
  .mast .brand { width: min(100%,240px); }
  .garden-nav { grid-area: browse; }
  .utility-nav { grid-area: utilities; justify-self: end; gap: 8px !important; }
  .mast .utility-nav a { font-size: 12px; }
  .mast .bag-link { gap: 4px; }
  .mast .bag-link span { min-width: 21px; min-height: 21px; }
  .mast .garden-nav { justify-content: space-between; gap: 6px 15px; }
  .mast .garden-nav a { font-size: 14px; }
  .footer-index { grid-template-columns: repeat(2,minmax(0,1fr)); padding-block: 23px; }
  .footer-index .footer-brand { grid-column: 1 / -1; }
  .footer-index nav a { min-height: 34px; }
  .home-shop { margin: 10px 0 19px; }
  .catalog-inner { grid-template-columns: 1fr; min-height: 0; }
  .catalog-inner > div { padding: 25px 0 16px; }
  .catalog-inner figure { height: 190px; min-height: 0; }
  .catalog-inner figure img { object-position: 50% 72%; }
  .route-heading h1, .catalog-lead h1, .about-lead h1 { font-size: clamp(47px,11.5vw,72px); }
  .section-tabs > div { justify-content: space-between; gap: 5px; }
  .section-tabs a { min-height: 48px; padding-inline: 2px; font-size: 13px; }
  .catalog-body { padding-block: 22px 44px; }
  .shelf-tools { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 11px; }
  .search-stock { grid-column: 1 / -1; }
  .sort-stock, .sort-pattern { max-width: none; }
  .shelf { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px 10px; }
  .shelf-label { gap: 4px; padding-top: 7px; }
  .shelf-label h2 { font-size: 21px; }
  .shelf-item > p { display: grid; font-size: 13px; gap: 3px; margin-top: 6px; }
  .product-page { padding-block: 10px 42px; }
  .crumb { margin-bottom: 2px; }
  .product-grid { grid-template-columns: 1fr; gap: 11px; }
  .product-intro, .product-gallery, .product-order { grid-column: auto; grid-row: auto; }
  .product-intro h1 { font-size: clamp(43px,10.3vw,65px); }
  .product-intro > p { margin-top: 7px; }
  .product-gallery { grid-template-columns: 1fr; }
  .thumbs { grid-row: 2; display: flex; gap: 6px; flex-wrap: wrap; }
  .thumbs button { width: 50px; height: 50px; }
  .product-price { margin-bottom: 9px; }
  .product-related { margin-top: 35px; }
  .product-related > div { gap: 7px; }
  .product-related strong { overflow-wrap: anywhere; }
  .commerce, .account-layout, .contact-layout, .policy-layout, .directory { padding-block: 22px 39px; }
  .commerce-grid, .account-layout, .contact-layout { grid-template-columns: 1fr; gap: 17px; }
  .bag-row { grid-template-columns: 68px minmax(0,1fr) auto; gap: 8px; }
  .bag-row .line-photo { grid-column: 1; grid-row: 1; align-self: start; }
  .line-copy { grid-column: 2 / -1; }
  .qty-stepper { grid-column: 2; justify-self: start; }
  .qty-stepper button { width: 44px; height: 44px; }
  .line-sum { justify-self: end; }
  .about-spread { grid-template-columns: 1fr; }
  .about-spread > div { padding: 30px 0 14px; }
  .about-spread figure { height: 240px; }
  .about-lead p { margin-top: 10px; }
  .about-lead .solid { margin-top: 12px; }
  .about-copy { padding-block: 30px 42px; }
  .about-types { grid-template-columns: 1fr; margin: 17px 0 31px; }
  .policy-layout { grid-template-columns: 1fr; gap: 15px; }
  .contents { position: static; }
  .contents a { min-height: 35px; }
}
@media (max-width: 365px) {
  .mast-inner { grid-template-columns: 1fr; grid-template-areas: "logo" "utilities" "browse"; }
  .utility-nav { justify-self: start; }
  .form-pair { grid-template-columns: 1fr; }
  .shelf-label h2 { font-size: 19px; }
}

/* Let the amount lead on narrow screens while desktop keeps it beside the form. */
#review-delivery { white-space: pre-line; font-style: normal; }
.form-pair { align-items: end; }
@media (min-width: 761px) {
  .checkout-form { grid-column: 1; grid-row: 1; }
  .checkout-summary { grid-column: 2; grid-row: 1; }
}
