/* Store surfaces extend the approved visual-r2 type, paper and rail system. */
.drain-nest { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
.drain-nest main { flex: 1; min-width: 0; }
.store-nav { gap: clamp(14px, 2.5vw, 38px); }
.store-nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; }
.cart-nav { gap: 5px; }
#cart-count {
  display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding-inline: 4px;
  background: var(--petrol); color: var(--paper-light); font-size: .76em; font-weight: 750;
}
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; touch-action: manipulation; }
.button, .text-action {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 13px;
  min-height: 46px; width: fit-content; font-size: .94rem; font-weight: 750;
  text-decoration: none; touch-action: manipulation;
}
.button { padding: 10px 17px; background: var(--petrol); color: var(--paper-light); border: 1px solid var(--petrol); }
.button:hover { background: #194956; }
.button-quiet { background: transparent; color: var(--petrol); }
.button-quiet:hover { background: #e1e9e7; }
.button:focus-visible { outline-color: #2a6573; outline-offset: 3px; }
.text-action, .home-product-link, .plain { color: var(--petrol); text-decoration: underline; text-underline-offset: .22em; }
.text-action:hover, .home-product-link:hover, .plain:hover { color: #0a5965; }
.plain {
  padding: 5px 0; min-height: 44px; border: 0; background: transparent; text-align: left;
  font-size: .9rem; font-weight: 700;
}
.home-product-link { display: inline-flex; align-items: center; min-height: 44px; font-size: .9rem; font-weight: 750; }
.basket-fit .home-product-link { margin-top: 2px; }
.assembly-copy .home-product-link { margin-top: 5px; }
.home-section-action { margin-top: 18px; }
.assemblies .home-section-action { color: var(--paper-light); }
.store-index {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap;
  gap: 19px 40px; background: #e1e8e7; padding-block: clamp(32px, 4.8vw, 71px);
}
.store-index h2 { font-size: clamp(36px, 4.4vw, 65px); line-height: 1; }
.store-index p { margin-top: 7px; color: var(--muted); }
.store-footer {
  display: block;
  padding: 0;
  border-top: 0;
}
.footer-guide, .footer-support {
  display: grid;
  align-items: start;
  gap: 24px clamp(25px, 6vw, 96px);
}
.footer-guide {
  grid-template-columns: minmax(0, .65fr) minmax(0, 1.35fr);
  align-items: center;
  padding-block: clamp(26px, 3.25vw, 50px);
}
.footer-intro .footer-mark { display: block; width: 160px; margin-bottom: 14px; }
.footer-intro p {
  max-width: 37ch;
  color: #d6e3e0;
  font-size: clamp(1rem, 1.27vw, 1.2rem);
  line-height: 1.55;
  text-wrap: pretty;
}
.footer-fit h2 {
  margin-bottom: 10px;
  font-size: clamp(34px, 3.1vw, 49px);
  line-height: 1;
}
.footer-fit a {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr) auto;
  gap: 4px clamp(9px, 1.9vw, 30px);
  align-items: center;
  min-height: 55px;
  padding-block: 8px;
  border-block-start: 1px solid #587880;
  text-decoration: none;
}
.footer-fit a:last-child { border-block-end: 1px solid #587880; }
.footer-fit a strong { font-size: clamp(1rem, 1.2vw, 1.13rem); font-weight: 750; }
.footer-fit a span { color: #d6e3e0; }
.footer-fit a:hover strong { text-decoration: underline; }
.footer-fit a:focus-visible { outline-offset: 3px; }
.footer-support {
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  gap: 22px clamp(25px, 6vw, 96px);
  background: var(--paper);
  color: var(--ink);
  padding-block: clamp(20px, 2.3vw, 35px);
}
.footer-support h2 {
  font-size: clamp(24px, 2.1vw, 34px);
  line-height: 1.1;
  margin-bottom: 7px;
}
.footer-email,
.footer-support-links a,
.footer-utility a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.footer-email {
  font-size: clamp(1rem, 1.35vw, 1.25rem);
  font-weight: 750;
  overflow-wrap: anywhere;
}
.footer-support-links, .footer-utility { display: flex; flex-wrap: wrap; gap: 0 19px; }
.footer-support-links a { min-width: 44px; text-decoration: underline; }
.footer-business h2 { font-size: clamp(24px, 1.75vw, 28px); }
.footer-operator-name { margin-bottom: 3px; font-weight: 750; }
.footer-business address { color: var(--muted); font-style: normal; line-height: 1.5; }
.footer-business address span { display: block; }
.footer-utility { padding-block: 4px; column-gap: clamp(13px, 2.7vw, 42px); }
.footer-utility a { min-width: 44px; color: #d6e3e0; text-decoration: none; }
.footer-utility a:hover { color: var(--paper-light); text-decoration: underline; }
@media (max-width: 800px) {
  .footer-guide, .footer-support { grid-template-columns: minmax(0, 1fr); }
  .footer-guide { gap: 20px; }
  .footer-intro .footer-mark { width: 145px; margin-bottom: 9px; }
  .footer-intro p { max-width: 44ch; }
  .footer-fit a { grid-template-columns: minmax(0, 1fr) auto; min-height: 54px; gap: 1px 12px; }
  .footer-fit a span { grid-column: 1; font-size: 1rem; }
  .footer-fit .chevron { grid-area: 1 / 2 / 3; }
  .footer-support { gap: 18px; }
  .footer-support-links { column-gap: 13px; }
  .footer-business { padding-block-start: 15px; border-block-start: 1px solid var(--line); }
}
.page-shell { padding-block: clamp(30px, 4.3vw, 68px) clamp(63px, 7.2vw, 111px); }
.page-head { padding-bottom: clamp(22px, 2.75vw, 43px); }
.page-head h1, .product-copy h1 { font-size: clamp(47px, 5.15vw, 81px); line-height: .98; }
.page-head > p:not(.breadcrumb) { font-size: clamp(1rem, 1.52vw, 1.34rem); margin-top: 13px; color: var(--muted); max-width: 62ch; }
.breadcrumb {
  display: flex; gap: 10px; align-items: center; flex-wrap: wrap;
  margin: 0 0 20px; font-size: .91rem; font-weight: 650; color: var(--muted);
}
.breadcrumb a { display: inline-flex; align-items: center; min-height: 37px; }
.shop-layout { display: grid; grid-template-columns: minmax(192px, .24fr) minmax(0, 1fr); gap: clamp(22px, 3.2vw, 48px); }
.shop-index { background: #dce5e5; width: 100%; align-self: start; }
.shop-index > p { padding: 12px 16px; background: var(--petrol); color: var(--paper-light); font-weight: 750; }
.shop-index a {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3px 6px;
  padding: 13px 15px; border-bottom: 1px solid #a7b5b5; text-decoration: none;
}
.shop-index a strong { font: 600 1.38rem/1.02 var(--display); }
.shop-index a span { grid-area: 2 / 1; font-size: .84rem; line-height: 1.35; }
.shop-index a .chevron { grid-area: 1 / 2 / 3 / 3; }
.shop-index a:hover { background: #c9d8d9; }
.shop-index a[aria-current] { background: var(--petrol); color: var(--paper-light); }
.shop-index a:focus-visible { outline-offset: -4px; }
.shop-results { min-width: 0; }
.stock-search { display: grid; grid-template-columns: minmax(165px, 1fr) minmax(165px,.36fr) auto; gap: 9px; align-items: end; }
.field { display: grid; gap: 5px; min-width: 0; font-size: .94rem; font-weight: 650; }
.field input, .field select {
  min-height: 46px; width: 100%; min-width: 0; padding: 8px 10px;
  border: 1px solid #788a8a; border-radius: 0; background: #fcfaf5; color: var(--ink); font-size: 1rem;
}
.field select { padding-right: 8px; cursor: pointer; }
.field input::placeholder { color: #526365; opacity: 1; }
.field input:focus-visible, .field select:focus-visible { outline: 2px solid #226375; outline-offset: 2px; }
.stock-count { margin-block: 13px 11px; padding: 0 0 8px; border-bottom: 1px solid #9da8a6; font-size: .88rem; color: var(--muted); }
.stock-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 3vw, 44px) clamp(15px, 1.8vw, 29px); }
.stock-card { min-width: 0; background: transparent; border-bottom: 1px solid #a5b0ae; }
.stock-photo {
  height: clamp(150px, 16vw, 250px); position: relative; overflow: hidden; display: block; background: #e4ebea; isolation: isolate;
}
.stock-photo img { position: absolute; top: 6.5%; left: 5%; width: 90%; height: 87%; object-fit: contain; mix-blend-mode: multiply; }
.stock-photo:hover { background: #d8e4e5; }
.stock-body { padding-block: 11px 14px; }
.model-label { color: var(--muted); font-size: .87rem; font-weight: 750; overflow-wrap: anywhere; }
.stock-body h2, .stock-body h3 { font-size: clamp(24px, 2.1vw, 34px); line-height: 1.04; margin-top: 4px; }
.stock-body h2 a, .stock-body h3 a { text-decoration: none; }
.stock-body h2 a:hover, .stock-body h3 a:hover { text-decoration: underline; }
.fit-label { font-size: .88rem; color: var(--muted); margin-top: 7px; text-wrap: pretty; }
.stock-price { font-size: 1.03rem; font-weight: 750; margin-top: 8px; }

.product-page { padding-top: clamp(18px, 2.3vw, 32px); }
.product-layout { display: grid; align-items: start; grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr); gap: clamp(25px, 5vw, 78px); }
.product-plate { background: #b2c0c6 url("assets/sleeve.webp") center / cover; padding: clamp(18px, 3.3vw, 45px); }
.product-plate > img {
  width: 100%; height: clamp(310px, 32vw, 540px); object-fit: contain; background: #fcfdfc; padding: clamp(13px, 2vw, 27px);
}
.product-plate figcaption {
  display: flex; gap: 12px; align-items: center; justify-content: space-between;
  border-top: 1px solid #658086; color: var(--ink); margin-top: 16px; font-size: .9rem; font-weight: 700;
}
.product-copy h1 { font-size: clamp(45px, 4.7vw, 78px); }
.product-copy > .model-label { margin-top: 8px; font-size: 1.03rem; }
.product-price { font: 600 clamp(31px, 3.15vw, 48px)/1 var(--display); margin-top: 16px; }
.product-price small, .summary-lines small { font: 700 .83rem/1.3 var(--body-face); color: var(--muted); }
.product-fit {
  padding: 13px 16px; display: grid; gap: 2px; background: #dce7e6;
  margin-block: 19px; border-top: 1px solid #708c92;
}
.product-fit span { color: var(--muted); font-size: .88rem; font-weight: 650; }
.product-fit strong { font-size: clamp(1rem, 1.35vw, 1.24rem); }
#add-to-cart { display: flex; align-items: end; flex-wrap: wrap; gap: 10px; }
.quantity-field { width: 89px; }
.product-notice { display: flex; gap: 9px 15px; align-items: center; flex-wrap: wrap; margin-top: 10px; color: var(--petrol); font-weight: 700; }
.product-notice a { display: inline-flex; align-items: center; min-height: 44px; }
.product-shipping { color: var(--muted); margin-top: 12px; font-size: .92rem; }
.product-copy h2 { font-size: clamp(27px, 2.55vw, 41px); margin: 26px 0 10px; line-height: 1; }
.specs { margin: 0; }
.specs > div {
  display: grid; grid-template-columns: minmax(85px,.63fr) minmax(0,1fr); gap: 10px;
  border-top: 1px solid #9ba8a5; padding: 9px 0;
}
.specs dt { color: var(--muted); }
.specs dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
.related-parts { margin-top: clamp(40px, 6.6vw, 101px); padding-top: 23px; border-top: 1px solid #9ba8a5; }
.related-parts > h2 { font-size: clamp(36px, 4.15vw, 58px); margin-bottom: 22px; }
.related-parts .stock-grid { max-width: 1100px; }
.gallery-dialog {
  width: min(92vw, 830px); max-height: 92vh; padding: clamp(14px, 2vw, 28px);
  border: 1px solid var(--petrol); background: var(--paper-light); color: var(--ink);
  overscroll-behavior: contain;
}
.gallery-dialog::backdrop { background: rgb(7 33 39 / 72%); }
.gallery-head { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 12px; }
.gallery-head h2 { font-size: clamp(25px, 3.1vw, 40px); }
.gallery-dialog > img { width: 100%; max-height: 73vh; height: auto; object-fit: contain; background: white; }

.checkout-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(270px, .48fr); gap: clamp(24px, 5vw, 81px); align-items: start; margin-bottom: 24px; }
.cart-lines { border-top: 1px solid #899c9d; }
.cart-line {
  display: grid; grid-template-columns: minmax(72px, .43fr) minmax(122px, 1fr) minmax(72px,auto) minmax(78px,auto);
  column-gap: clamp(12px, 2vw, 27px); padding-block: 14px; align-items: center; border-bottom: 1px solid #a0adab;
}
.cart-photo { display: grid; place-items: center; min-height: 110px; background: #e2eaea; isolation: isolate; }
.cart-photo img { width: 90%; height: 98px; object-fit: contain; mix-blend-mode: multiply; }
.cart-part h2 { font-size: clamp(24px, 2.6vw, 39px); line-height: 1.02; }
.cart-part h2 a { text-decoration: none; }
.cart-part h2 a:hover { text-decoration: underline; }
.cart-part p { margin-top: 5px; }
.cart-quantity { width: 80px; }
.cart-total { text-align: right; justify-self: end; display: grid; justify-items: end; }
.order-summary { border-top: 4px solid var(--petrol); background: #e1e9e7; padding: clamp(17px, 2.5vw, 36px); }
.order-summary h2 { font-size: clamp(29px, 2.8vw, 42px); line-height: .99; margin-bottom: 16px; }
.summary-lines > div { grid-template-columns: minmax(0,1fr) auto; }
.summary-lines dd { text-align: right; }
.summary-lines > div:last-child { padding-top: 13px; font-size: 1.16rem; }
.summary-lines > div:last-child dt { font-weight: 750; color: var(--ink); }
.order-summary > p { font-size: .87rem; color: var(--muted); margin-top: 9px; }
.order-summary .button { display: flex; width: 100%; margin-top: 16px; }
.order-items { list-style: none; margin: 0 0 9px; padding: 0; }
.order-items li { display: flex; justify-content: space-between; gap: 8px; padding-block: 5px; font-size: .91rem; }
.empty-panel { padding: clamp(26px, 5vw, 69px); background: #e2eaea; border-top: 1px solid #789094; }
.empty-panel h2 { font-size: clamp(32px, 3.7vw, 55px); line-height: 1; }
.empty-panel p { margin: 9px 0 17px; color: var(--muted); }
.form-sheet { padding: clamp(20px, 3.2vw, 48px); background: #f6f3ed; border-top: 1px solid #879c9d; }
.form-sheet fieldset { border: 0; margin: 0; padding: 0; min-inline-size: 0; }
.form-sheet fieldset + fieldset { margin-top: 24px; }
.form-sheet legend, .form-sheet h2 { padding: 0; margin-bottom: 9px; font: 600 clamp(28px,3vw,40px)/1 var(--display); letter-spacing: -.02em; }
.address-fields { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 11px 15px; }
.address-fields > :nth-child(-n+3) { grid-column: 1 / -1; }
.form-links { margin: 17px 0; color: var(--muted); font-size: .89rem; }
.checkout-review h2:not(:first-child) { margin-top: 22px; }
.checkout-review address { font-style: normal; margin-bottom: 20px; overflow-wrap: anywhere; }
.checkout-review > p { overflow-wrap: anywhere; }
.account-sheet, .account-overview { max-width: 640px; }
.account-switch { display: flex; flex-wrap: wrap; gap: 0 15px; margin-bottom: 22px; border-bottom: 1px solid #a3adaa; }
.account-switch a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font-weight: 700; }
.account-switch a[aria-current], .account-switch a:hover { text-decoration: underline; }
#account-form { display: grid; align-items: start; gap: 13px; }
#account-form .button, .account-overview .button { margin-top: 12px; }
.account-overview .plain { margin-left: 12px; }

.info-layout { display: grid; grid-template-columns: minmax(188px,.26fr) minmax(0,1fr); gap: clamp(23px, 5vw, 79px); }
.info-rail {
  display: grid; align-self: start; border-top: 2px solid var(--petrol); background: #e0e8e7;
}
.info-rail a {
  display: flex; align-items: center; justify-content: space-between; min-height: 47px;
  gap: 9px; padding: 7px 12px; border-bottom: 1px solid #9aafaf; font-size: .93rem; font-weight: 700; text-decoration: none;
}
.info-rail a[aria-current], .info-rail a:hover { background: var(--petrol); color: var(--paper-light); }
.policy-copy { max-width: 73ch; }
.policy-date { color: var(--muted); font-size: .94rem; padding-block: 4px 15px; }
.policy-copy section { border-top: 1px solid #95a8a6; padding: 19px 0 24px; }
.policy-copy h2, .about-spread h2 { font-size: clamp(30px, 3.2vw, 47px); line-height: 1; }
.policy-copy section p { margin-top: 8px; line-height: 1.54; }
.info-bottom { display: flex; align-items: center; flex-wrap: wrap; gap: 5px 24px; }
.info-bottom a { display: inline-flex; min-height: 45px; align-items: center; font-weight: 700; }
.about-spread { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); background: #e0e8e7; }
.about-spread .sink { min-height: 370px; }
.about-spread .sink figcaption { left: 15px; }
.about-spread article { padding: clamp(25px, 5vw, 80px); align-self: center; }
.about-spread article p { margin-top: 13px; max-width: 55ch; }
.about-spread .button { margin-top: 17px; }
.about-spread + .info-bottom { margin-top: 16px; }

@media (max-width: 1050px) {
  .store-nav { gap: 14px; }
  .stock-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 860px) {
  .store-nav .nav-category { display: none; }
  .cart-line { grid-template-columns: 80px minmax(0,1fr) auto; }
  .cart-total { grid-column: 2 / 4; grid-row: 2; display: flex; align-items: center; gap: 16px; }
}
@media (max-width: 720px) {
  .store-nav { gap: 11px; }
  .store-nav a { font-size: .8rem; }
  .mast { gap: 10px; }
  .store-nav .cart-nav { gap: 4px; }
  .page-shell { padding-block: 28px 53px; }
  .page-head { padding-bottom: 21px; }
  .page-head h1, .product-copy h1 { font-size: clamp(43px, 10vw, 66px); }
  .shop-layout, .product-layout, .checkout-grid, .info-layout, .about-spread { grid-template-columns: minmax(0,1fr); }
  .shop-layout { gap: 18px; }
  .shop-index { display: flex; flex-wrap: wrap; background: transparent; border-top: 1px solid #8da0a1; }
  .shop-index > p { display: none; }
  .shop-index a { min-height: 44px; display: inline-flex; align-items: center; padding: 5px 9px; }
  .shop-index a strong { font: 750 .88rem/1.18 var(--body-face); }
  .shop-index a span, .shop-index a i { display: none; }
  .stock-search { grid-template-columns: minmax(0, 1fr) minmax(0, .76fr) auto; gap: 6px; }
  .stock-search .field { font-size: .82rem; }
  .stock-search .field:first-child { grid-column: 1 / -1; }
  .stock-search .sort-field { grid-column: 1 / 3; }
  .stock-search .button { padding-inline: 8px; }
  .stock-search .field input, .stock-search .field select { padding-inline: 5px; font-size: .9rem; }
  .stock-photo { height: clamp(130px, 41vw, 250px); }
  .stock-body { padding-block: 9px 12px; }
  .stock-body h2, .stock-body h3 { font-size: clamp(23px, 5.3vw, 34px); }
  .fit-label, .model-label { font-size: .82rem; }
  .product-layout { gap: 19px; }
  .product-plate { padding: 14px; }
  .product-plate > img { height: clamp(235px, 69vw, 400px); padding: 13px; }
  .product-plate figcaption { margin-top: 9px; gap: 5px 9px; flex-wrap: wrap; }
  .breadcrumb { margin-bottom: 10px; }
  .checkout-grid { gap: 24px; }
  .cart-line { grid-template-columns: minmax(65px, .36fr) minmax(0,1fr) auto; gap: 3px 10px; }
  .cart-part p { margin-top: 4px; font-size: .87rem; }
  .cart-quantity { width: 66px; }
  .cart-photo { min-height: 89px; }
  .cart-photo img { height: 80px; }
  .info-layout { gap: 20px; }
  .info-rail { display: flex; flex-wrap: wrap; gap: 0 4px; background: transparent; }
  .info-rail a { min-height: 44px; padding: 5px 8px; font-size: .85rem; }
  .info-rail .chevron { display: none; }
  .about-spread .sink { min-height: 0; height: 228px; }
}
@media (max-width: 370px) {
  .store-nav { gap: 8px; }
  .store-nav a { font-size: .76rem; }
  .wordmark { width: 116px; }
  .address-fields { grid-template-columns: 1fr; }
}
