@import url("fonts.css");

*,:before,:after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  --gutter: clamp(22px,2.5vw,52px);
  --ground: #f1ede3; --ink: #092831; --rail: #0a4042; --rule: #1a3f43;
  --focus: #a84d09; --pale: #dbe5df; --soft: #e7e8db; --muted: #395452;
  margin: 0; background: var(--ground); color: var(--ink); font: 500 1rem/1.5 "DM Sans",sans-serif;
}
.shell[data-page] { min-height: 100svh; display: flex; flex-direction: column; }
.shell[data-page] > main { flex: 1; }
h1,h2,h3,p,figure,dl,dd { margin: 0; }
h1,h2,h3 { line-height: 1; text-wrap: balance; letter-spacing: -.038em; }
h1 { font-size: clamp(2.8rem,5vw,5rem); font-weight: 790; }
h2 { font-size: clamp(1.85rem,3vw,3.5rem); font-weight: 750; }
h3 { font-size: clamp(1.2rem,2vw,1.5rem); font-weight: 730; }
img { display: block; max-width: 100%; object-fit: cover; }
a { color: inherit; text-underline-offset: .27em; }
address { font-style: normal; }
button,input,select { color: inherit; font: inherit; }
button,a,select,summary,input { touch-action: manipulation; }
button,summary { cursor: pointer; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
::selection { background: var(--rail); color: #fff; }
[hidden] { display: none !important; }
.section,.sitehead,.lede,.footer-main,.copyright { padding-inline: max(var(--gutter),env(safe-area-inset-left)); }
.section { scroll-margin-block-start: 12px; }
[tabindex="-1"]:focus:not(:focus-visible) { outline: none; }
.skip { position: fixed; z-index: 9; top: 12px; left: 12px; transform: translateY(-160%); background: var(--rail); color: #fff; padding: 12px 18px; }
.skip:focus { transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; border: 0; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.sitehead { min-height: 63px; display: flex; gap: clamp(14px,3vw,44px); align-items: center; border-bottom: 1px solid var(--rule); z-index: 2; position: relative; }
.brand { display: inline-flex; align-items: center; min-height: 44px; flex: none; text-decoration: none; }
.brand img { width: clamp(132px,12.4vw,190px); height: auto; object-fit: contain; }
.nav-full { margin-left: auto; display: flex; gap: clamp(15px,2.7vw,43px); align-items: center; }
.sitehead nav a,.header-tools > a,.mobile-menu summary { min-height: 44px; display: flex; align-items: center; font-weight: 670; text-decoration: none; white-space: nowrap; }
.sitehead nav a:hover,.header-tools a:hover,.mobile-menu summary:hover { text-decoration: underline; }
.header-tools { display: flex; align-items: center; gap: clamp(6px,2vw,20px); }
.header-cart { gap: 7px; }
.header-cart span { color: #fff; background: var(--rail); font-size: .77em; padding: 1px 5px; min-width: 19px; text-align: center; font-variant-numeric: tabular-nums; }
.mobile-menu,.header-tools .mobile-shop { display: none; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu nav { position: absolute; right: var(--gutter); top: calc(100% - 1px); width: min(245px,calc(100vw - 2 * var(--gutter))); background: var(--ground); border: 1px solid var(--rule); padding: 4px 14px; }
.mobile-menu nav a + a { border-top: 1px solid #9aa8a0; }
.jump { display: inline-block; position: relative; width: 17px; height: 17px; flex: none; }
.jump::before { content: ""; position: absolute; inset: 7px 1px auto; border-top: 2px solid currentColor; }
.jump::after { content: ""; position: absolute; width: 7px; height: 7px; right: 1px; top: 4.5px; border: solid currentColor; border-width: 2px 2px 0 0; rotate: 45deg; }
.action {
  min-height: 49px; display: inline-flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 8px 16px; font-weight: 700; text-decoration: none;
  background: var(--rail); color: #fbf9ee; border: 1px solid var(--rail); width: fit-content;
}
.action:not(:disabled):hover { background: #176062; }
.action:disabled { background: #e1e4da; color: #405953; border-color: #849890; cursor: default; }
.action .jump,.text-action .jump,.product-card .jump { transition: translate .27s cubic-bezier(.22,1,.36,1); }
:is(.action,.text-action,.product-card):hover .jump { translate: 3px; }
.text-action { display: inline-flex; align-items: center; min-height: 44px; width: fit-content; gap: 9px; font-weight: 700; }
.text-button { appearance: none; border: 0; background: transparent; min-height: 44px; font-weight: 650; text-decoration: underline; text-underline-offset: .2em; padding: 5px 3px; }
.text-button:hover { color: #244e47; }
.breadcrumbs { color: var(--muted); font-size: .87rem; margin-bottom: clamp(14px,2.2vw,33px); }
.breadcrumbs span { margin-inline: 4px; }
.media-caption { font-size: .75rem; line-height: 1.2; padding: 6px 10px; }

/* Approved 2A waterline composition */
.water-lede { display: flex; align-items: center; justify-content: space-between; gap: 2rem; min-height: clamp(112px, 9.35vw, 148px); }
.water h1 { font-size: clamp(3.5rem, 5.1vw, 5.2rem); letter-spacing: -.04em; font-weight: 790; }
.water-lede p { font-size: clamp(1rem, 1.34vw, 1.3rem); max-width: 34ch; font-weight: 640; }
.water-scenes {
  position: relative; display: grid; grid-template-columns: 47fr 27fr 26fr;
  background: var(--rail); color: #faf7ef; isolation: isolate;
}
.water-light {
  position: absolute; z-index: -1; inset: 0 0 var(--rail-height, 74px);
  width: 100%; height: calc(100% - var(--rail-height, 74px)); object-position: center 73.5%;
}
.water-scene {
  appearance: none; border: 0; border-radius: 0; background: none; padding: 0; text-align: left;
  display: grid; grid-template-rows: clamp(315px, 35.35vw, 568px) var(--rail-height, 74px); min-width: 0;
}
.water-scene .room { position: relative; }
.water-scene .room img { display: none; }
.water-scene .room::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; background: #10383b;
  opacity: 0; transition: opacity .28s ease;
}
.water-scenes:has(.water-scene:hover) .water-scene:not(:hover) .room::after { opacity: .23; }
.water-scene .room-label { padding: 0 var(--gutter); align-self: stretch; display: flex; gap: 10px; align-items: center; justify-content: space-between; }
.room-name { display: block; position: relative; font-size: clamp(.95rem, 1.7vw, 1.64rem); font-weight: 690; line-height: 1.18; }
.room-name::after {
  content: ""; position: absolute; inset: auto 0 -.35em; border-bottom: 3px solid currentColor; transform: scaleX(0);
  transform-origin: 0 50%; transition: transform .36s cubic-bezier(.22,1,.36,1);
}
.water-scene:is([aria-pressed="true"],:hover) .room-name::after { transform: scaleX(1); }
.water-scene:focus-visible { outline-color: #ffce76; outline-offset: -5px; }
.water-scenes figcaption { position: absolute; background: #092c2e; inset: auto var(--gutter) calc(var(--rail-height, 74px) + 10px) auto; pointer-events: none; }


.room-tub { --plate-width: 212.766%; --plate-left: 0%; }
.room-shower { --plate-width: 370.370%; --plate-left: -174.074%; }
.room-floor { --plate-width: 384.615%; --plate-left: -284.615%; }

/* The store keeps the material seams and dark waterline from the home scene. */
.home-shelf { display: grid; grid-template-columns: 25fr 75fr; gap: clamp(16px,2vw,36px); padding-block: clamp(26px,3vw,48px) clamp(52px,6vw,100px); }
.home-shelf h2 { font-size: clamp(2.25rem,4.1vw,4rem); max-width: 8ch; }
.shelf-summary { margin-top: 12px; width: fit-content; border-bottom: 1px solid currentColor; }
.home-shelf .text-action { margin-top: 8px; font-size: .92rem; }
.product-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(17px,2vw,31px) clamp(11px,1.65vw,27px); align-items: start; min-width: 0; }
.product-grid:has(> :nth-child(2):last-child):not(.catalog-grid) { grid-template-columns: repeat(2,minmax(0,1fr)); }
.product-card { display: block; min-width: 0; text-decoration: none; }
.card-photo { display: block; overflow: hidden; background: #d2d9ce; }
.card-photo img { width: 100%; height: auto; aspect-ratio: 1.29; transition: scale .48s cubic-bezier(.22,1,.36,1); }
.product-card:hover .card-photo img,.product-card:focus-visible .card-photo img { scale: 1.045; }
.card-body { min-width: 0; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 4px 8px; border-bottom: 1px solid #7d928a; padding: 12px 0; }
.card-title { font-size: clamp(1.02rem,1.45vw,1.4rem); line-height: 1.14; font-weight: 750; overflow-wrap: anywhere; }
.card-price { font-weight: 720; font-size: .96rem; text-align: right; align-self: start; white-space: nowrap; font-variant-numeric: tabular-nums; }
.card-spec { font-size: .83rem; color: var(--muted); }
.card-body .jump { justify-self: end; }
.chapter-heading {
  display: grid; grid-template-columns: minmax(0,1.55fr) minmax(0,1fr);
  align-items: end; gap: 18px; margin-bottom: clamp(18px,2.5vw,38px);
}
.chapter-heading h2,.edge-copy h2 { font-size: clamp(2.15rem,4.1vw,4rem); }
.chapter-heading p { max-width: 39ch; }
.tub-fit { padding-block: clamp(32px,4vw,65px) clamp(42px,5.7vw,87px); border-top: 1px solid #97a89c; background: #e8ebe0; }
.tub-pair { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(0,1fr); border: 1px solid #819c91; }
.comparison-photo { position: relative; min-width: 0; overflow: hidden; isolation: isolate; background: #b8c6bd; }
.comparison-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-position: 50% 55%; }
.comparison-photo figcaption {
  position: absolute; bottom: 0; left: 0; padding: 6px 11px;
  background: var(--rail); color: #f8f6eb; font-size: .8rem;
}
.tub-pair .comparison-photo { min-height: clamp(325px,34vw,600px); }
.tub-pair-body { align-self: center; padding: clamp(16px,4vw,56px); min-width: 0; }
.fit-choices { display: grid; border-top: 1px solid #819c91; }
.fit-choice {
  display: grid; grid-template-columns: 92px minmax(0,1fr); align-items: center;
  gap: 12px; width: 100%; min-height: 64px; text-align: left; padding: 8px 9px;
  border: 0; border-bottom: 1px solid #819c91; background: transparent; color: inherit;
}
.fit-choice strong,.fit-choice small { display: block; font-variant-numeric: tabular-nums; }
.fit-choice small { font-size: .86rem; }
.fit-choice:hover { background: #d2e1d6; }
.fit-choice[aria-pressed="true"] { background: var(--rail); color: #f8f6eb; }
.fit-print { display: block; height: 34px; border: 1px solid currentColor; border-radius: 5px; }
.fit-print-short { width: 59.5px; }
.fit-print-long { width: 82.875px; }
.fit-choice[aria-pressed="true"] .fit-print { background: #6c9a99; }
.comparison-info { padding-top: 16px; }
.comparison-info p { max-width: 38ch; }
.comparison-info .compare-spec { display: flex; gap: 5px 13px; flex-wrap: wrap; align-items: baseline; max-width: none; margin-bottom: 6px; }
.compare-spec span { font-variant-numeric: tabular-nums; font-weight: 650; }
.compare-spec strong { font-size: 1.13rem; }
.comparison-info .action { margin-top: 15px; }
.edge-feature { display: grid; grid-template-columns: 46fr 54fr; color: #f8f6eb; background: var(--rail); --focus: #f8c57b; }
.edge-feature .comparison-photo { min-height: clamp(410px,41vw,660px); }
.edge-feature img { object-position: 50% 57%; }
.edge-copy { padding: clamp(23px,5vw,73px); align-self: center; }
.edge-copy h2 { max-width: 14ch; }
.edge-copy > p { max-width: 39ch; margin-block: 13px 17px; }
.curve-choices { display: flex; flex-wrap: wrap; gap: 7px; }
.curve-choice {
  display: inline-flex; align-items: center; gap: 8px; background: transparent; color: inherit;
  padding: 7px 10px; min-height: 46px; border: 1px solid #abc2b9; font-weight: 690; text-align: left;
}
.curve-choice:hover { background: #225a59; }
.curve-choice[aria-pressed="true"] { background: var(--ground); color: var(--rail); border-color: var(--ground); }
.curve-print { display: block; width: 21px; height: 21px; border: 1px solid currentColor; flex: none; }
.quarter-print { border-radius: 0 0 100% 0; }
.circular-print { border-radius: 50%; }
.threshold { padding-block: clamp(39px,5.9vw,86px); }
.threshold-pair { display: grid; grid-template-columns: 52fr 48fr; border: 1px solid #8ca296; }
.threshold-item { min-width: 0; display: grid; grid-template-rows: auto 1fr; }
.threshold-item img { object-fit: cover; width: 100%; height: auto; aspect-ratio: 1.62; }
.threshold-wet { background: #dce7dd; }
.threshold-wet img { object-position: 50% 66%; }
.threshold-dry { background: #ece1ca; border-left: 1px solid #8ca296; }
.threshold-dry img { object-position: 50% 60%; }
.threshold-note {
  padding: clamp(13px,2.25vw,33px); display: grid; align-content: start; gap: 4px;
  border-top: 1px solid #8ca296;
}
.threshold-note p { margin-top: 7px; }
.light-action { background: #f1ede3; color: var(--rail); border-color: #f1ede3; }
.light-action:not(:disabled):hover { background: #dbe5df; }
.range-section { background: var(--pale); padding-block: clamp(42px,6vw,90px); display: grid; gap: 25px; }
.range-list { border-top: 1px solid var(--rule); }
.range-link { display: grid; grid-template-columns: minmax(0,1.1fr) 1fr auto; align-items: center; min-height: 54px; gap: .9rem; padding: 12px 6px 12px 0; text-decoration: none; border-bottom: 1px solid var(--rule); }
.range-link span:first-child { font-size: clamp(1.25rem,2.45vw,2rem); font-weight: 750; letter-spacing: -.025em; }
.range-link small { font-size: .9rem; }
.range-link:hover { background: #edf2e9; }
.shop-lede { min-height: clamp(194px,20vw,310px); padding-block: 25px 32px; display: grid; grid-template-columns: minmax(0,1.65fr) minmax(110px,.9fr); align-items: end; gap: 15px; }
.shop-lede p:last-child,.service-lede > p:not(.breadcrumbs) { margin-top: 12px; max-width: 49ch; }
.collection-swatch { min-width: 0; min-height: clamp(90px,13vw,190px); background: url("assets/scenes/waterline.webp") center 58%/cover; }
.collection-swatch[data-area="tub"] { background-size: 212.766% auto; background-position: left 51%; }
.collection-swatch[data-area="shower"] { background-size: 370.370% auto; background-position: 64.4% 52%; }
.collection-swatch[data-area="corner"] { background-image: url("assets/products/quarter-round-shower-mat-01.webp"); background-position: 50% 56%; }
.collection-swatch[data-area="floor"] { background-size: 384.615% auto; background-position: right 52%; }
.shop-feed { padding-block: 0 clamp(48px,6vw,94px); }
.category-rail { display: flex; flex-wrap: wrap; background: var(--rail); color: #fcf7ed; align-items: stretch; --focus: #f4c980; }
.category-rail a { display: flex; align-items: center; padding: 10px clamp(9px,2vw,26px); font-size: clamp(.85rem,1.4vw,1.05rem); min-height: 49px; font-weight: 680; text-decoration: none; }
.category-rail a[aria-current],.category-rail a:hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: .42em; }
.catalog-controls { margin-block: 22px 14px; display: flex; align-items: end; justify-content: space-between; gap: 12px; }
.search-line { display: flex; max-width: 430px; }
.search-line input { flex: 1; min-width: 0; }
.search-line .action { min-height: 44px; }
.catalog-controls label { display: block; font-weight: 700; font-size: .88rem; margin-bottom: 4px; }
.result-count { margin-block: 0 11px; color: var(--muted); font-size: .91rem; }
.no-results { grid-column: 1/-1; padding: 32px 24px; background: var(--pale); }
.no-results p { margin-block: 12px 18px; }
.product-page { padding-block: 22px clamp(42px,5.4vw,85px); }
.product-layout { display: grid; grid-template-columns: 56fr 44fr; align-items: start; gap: clamp(20px,4vw,69px); }
.gallery-view { overflow: hidden; background: var(--pale); }
.gallery-view img { aspect-ratio: 1.17; height: auto; width: 100%; }
.gallery-rail { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 10px; }
.gallery-rail button { display: block; width: 65px; height: 55px; padding: 0; background: none; border: 2px solid transparent; }
.gallery-rail button[aria-pressed="true"],.gallery-rail button:hover { border-color: var(--rail); }
.gallery-rail img { width: 100%; height: 100%; }
.gallery figcaption { font-size: .79rem; margin-top: 8px; color: var(--muted); }
.product-info { min-width: 0; padding-block: 5px; }
.product-info h1 { font-size: clamp(2.6rem,4.65vw,4.6rem); }
.purchase-price { margin-block: 12px; font-size: 1.62rem; font-weight: 760; font-variant-numeric: tabular-nums; }
.mat-intro { max-width: 42ch; margin-bottom: 19px; }
.product-options,.buy-line,.form-pair { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
label { min-width: 0; }
.product-options label,.buy-line label,.line-controls label,.form-stack label,.card-fields label { display: grid; align-content: start; gap: 4px; font-size: .92rem; font-weight: 680; }
input,select {
  width: 100%; min-width: 0; min-height: 44px; border: 1px solid #788d83; border-radius: 0; color: var(--ink);
  background-color: #f8f6ec; padding: 7px 9px; font-size: 1rem;
}
input:disabled { background: #e5e7da; color: var(--muted); }
.buy-line { margin-top: 12px; grid-template-columns: 100px minmax(0,1fr); align-items: end; }
.buy-line .action { min-height: 44px; width: 100%; }
.add-confirmation { background: var(--pale); margin-top: 9px; padding: 8px 11px; }
.add-confirmation a { margin-left: 5px; font-weight: 700; display: inline-flex; align-items: center; gap: 5px; min-height: 36px; }
.product-notes { border-top: 1px solid #8da196; margin-top: 24px; }
.product-notes details { border-bottom: 1px solid #8da196; padding-block: 10px; }
.product-notes summary { font-weight: 720; min-height: 25px; }
.product-notes p { margin-top: 8px; font-size: .91rem; }
.related-section {
  padding-block: clamp(31px,4vw,65px); background: var(--pale); display: grid;
  grid-template-columns: 25fr 75fr; gap: clamp(16px,2vw,36px);
}
.related-section h2 { max-width: 13ch; }
.related-section .product-grid:has(> .product-card:only-child) { grid-template-columns: minmax(0,420px); }

.transaction-page { padding-block: 24px clamp(45px,6vw,96px); }
.transaction-page > h1 { margin-bottom: clamp(24px,3vw,44px); }
.transaction-grid { display: grid; grid-template-columns: minmax(0,1.55fr) minmax(275px,1fr); align-items: start; gap: clamp(25px,5vw,85px); }
.empty-state { padding: clamp(24px,4vw,63px); min-height: 230px; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 15px; align-items: center; background: var(--pale); border-top: 3px solid var(--rail); }
.empty-state p { margin-block: 12px 17px; }
.empty-state img { width: clamp(51px,10vw,108px); height: auto; }
.cart-lines { border-top: 1px solid var(--rule); }
.cart-line { display: grid; grid-template-columns: minmax(96px,150px) minmax(0,1fr) auto; align-items: start; gap: clamp(10px,1.65vw,25px); border-bottom: 1px solid #89a097; padding-block: 17px; }
.line-photo img { aspect-ratio: 1.22; width: 100%; height: auto; }
.line-copy h2 { font-size: clamp(1.19rem,2vw,1.8rem); letter-spacing: -.02em; }
.line-copy h2 a { text-decoration: none; }
.line-copy h2 a:hover { text-decoration: underline; }
.line-copy p { font-size: .91rem; color: var(--muted); margin-top: 7px; }
.line-controls { display: flex; align-items: end; gap: 12px; margin-top: 12px; }
.line-controls label { width: 86px; }
.line-controls input { width: 78px; }
.line-total { font-weight: 750; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cart-service { margin-top: 15px; font-size: .93rem; }
.order-summary { background: var(--pale); border-top: 3px solid var(--rail); padding: clamp(19px,2.6vw,39px); min-width: 0; }
.order-summary h2 { font-size: clamp(1.58rem,2.8vw,2.65rem); margin-bottom: 18px; }
.order-summary dl { display: grid; }
.order-summary dl > div { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; border-bottom: 1px solid #91a59a; padding-block: 8px; font-variant-numeric: tabular-nums; }
.order-summary dl > div:last-child { font-weight: 740; }
.order-summary dd { text-align: right; }
.order-summary p { margin-top: 13px; font-size: .88rem; }
.order-summary .action { margin-top: 18px; width: 100%; }
.checkout-grid { grid-template-columns: minmax(0,1.35fr) minmax(280px,1fr); }
.checkout-steps { display: grid; gap: 23px; }
.checkout-step { border-top: 1px solid var(--rule); padding-top: 18px; }
.checkout-step h2,.account-form h2,.account-content h2 { font-size: clamp(1.65rem,2.9vw,2.5rem); }
.form-stack { display: grid; margin-top: 16px; gap: 12px; }
.form-stack [role="status"] { padding: 9px 10px; background: var(--pale); }
.form-stack > .action { margin-top: 7px; }
.payment-head { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 12px; }
.card-fields { display: grid; gap: 12px; margin-top: 15px; }
.checkout-step > p { margin-top: 10px; font-size: .91rem; }
.checkout-step > .action { margin-top: 13px; }
.checkout-step .muted { color: var(--muted); }
.checkout-items { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--rule); }
.checkout-items li { display: flex; justify-content: space-between; gap: 10px; padding-block: 12px; border-bottom: 1px solid #8ba096; font-weight: 690; }
.checkout-items li:last-child { border: 0; }
.checkout-items small { display: block; font-size: .8em; color: var(--muted); font-weight: 510; }
.checkout-note { margin-top: 10px; font-size: .87rem; }
.account-gateway { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.87fr); gap: clamp(24px,6vw,91px); max-width: 1120px; }
.account-form { border-top: 1px solid var(--rule); padding-top: 18px; }
.account-links { display: flex; flex-wrap: wrap; margin-top: 9px; gap: 5px 14px; }
.account-links a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 660; font-size: .92rem; }
.account-intro { background: var(--rail); color: #f7f4ea; padding: clamp(23px,4vw,54px); --focus: #f8c57b; }
.account-intro h2 { max-width: 12ch; }
.account-intro > p { margin-top: 14px; max-width: 28ch; }
.account-intro .text-action { margin-top: 10px; }
.account-member { display: grid; grid-template-columns: minmax(170px,1fr) minmax(0,2.45fr); gap: clamp(18px,5vw,64px); max-width: 1150px; }
.account-menu { border-top: 1px solid var(--rule); }
.account-menu a { display: flex; align-items: center; min-height: 48px; border-bottom: 1px solid #8a9f93; padding: 4px 9px; text-decoration: none; font-weight: 700; }
.account-menu a[aria-current],.account-menu a:hover { background: var(--pale); text-decoration: underline; }
.account-content { border-top: 1px solid var(--rule); padding-top: 17px; }
.account-content > p,.account-content > .action,.account-content > .text-action { margin-top: 14px; }
.account-content .member-help { display: flex; margin-top: 17px; }
.member-links { display: grid; justify-items: start; margin-top: 12px; }
.account-order { margin-block: 12px; }
.account-order > div { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px solid #8b9f94; padding-block: 10px; }
.account-order dd { text-align: right; }
.about-intro { padding-block: 28px clamp(40px,5vw,75px); display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.14fr); align-items: center; gap: clamp(22px,5vw,85px); }
.about-intro figure { position: relative; }
.about-intro img { width: 100%; height: auto; aspect-ratio: 1.4; object-position: 50% 59%; }
.about-intro figcaption { color: #fff; background: var(--rail); position: absolute; bottom: 0; left: 0; font-size: .8rem; padding: 6px 11px; }
.about-copy > p:not(.breadcrumbs) { max-width: 40ch; margin-top: 14px; }
.about-copy .action { margin-top: 18px; }
.about-address,.contact-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.3fr); gap: clamp(20px,6vw,92px); padding-block: clamp(28px,5vw,72px); background: var(--pale); }
.about-address p { max-width: 49ch; }
.about-address address { margin-top: 12px; }
.service-lede { padding-block: 30px clamp(22px,4.5vw,66px); }
.service-lede .effective { font-weight: 690; color: var(--muted); font-size: .89rem; }
.contact-layout { grid-template-columns: minmax(0,1.35fr) minmax(0,1fr); }
.contact-layout h2 { margin-bottom: 13px; }
.contact-email { display: inline-block; font-size: clamp(1.12rem,2.85vw,2.25rem); font-weight: 735; overflow-wrap: anywhere; }
.contact-main p { margin-block: 11px 16px; max-width: 45ch; }
.contact-aside address { margin: 6px 0 7px; }
.contact-aside .text-action { display: flex; }
.policy-layout { display: grid; grid-template-columns: minmax(175px,1fr) minmax(0,2.6fr); gap: clamp(20px,6vw,105px); max-width: 1310px; padding-bottom: clamp(36px,5vw,78px); }
.policy-index { display: grid; align-content: start; border-top: 1px solid var(--rule); }
.policy-index a { display: flex; align-items: center; min-height: 43px; border-bottom: 1px solid #91a59a; text-decoration: none; font-weight: 670; padding: 4px 5px; }
.policy-index a:hover { text-decoration: underline; background: var(--pale); }
.policy-copy { border-top: 1px solid var(--rule); min-width: 0; }
.policy-copy section { padding: 19px 0 22px; border-bottom: 1px solid #91a59a; scroll-margin-top: 12px; }
.policy-copy h2 { font-size: clamp(1.36rem,2.05vw,2.1rem); line-height: 1.1; }
.policy-copy p { margin-top: 9px; max-width: 73ch; }
.policy-copy [data-policy-payment] { margin-top: 13px; }
.destinations { columns: 3; padding-left: 20px; }
.sitefooter { background: var(--rail); color: #f7f3e9; --focus: #ffc981; }
.footer-main { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(0,1fr) minmax(0,1fr); gap: clamp(15px,4vw,64px); padding-block: 29px; }
.footer-identity .brand { margin-bottom: 8px; }
.footer-identity p { margin-top: 7px; }
.footer-main nav { display: grid; justify-items: start; align-content: start; }
.footer-main nav a { min-height: 37px; display: inline-flex; align-items: center; font-size: .92rem; }
.footer-main h2 { font-size: 1.19rem; margin-bottom: 7px; letter-spacing: 0; }
.copyright {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  border-top: 1px solid #759591; padding-block: 15px 17px; font-size: .85rem;
}
.copyright > p { min-width: 0; line-height: 1.4; }
.copyright > .slime-footer-payment-icons { flex: none; }
.copyright .slime-footer-payment-icons,.payment-head .slime-footer-payment-icons,[data-policy-payment] .slime-footer-payment-icons {
  isolation: isolate;
}
@media (max-width: 790px) {
  body { --gutter: 17px; }
  .sitehead { min-height: 59px; gap: 5px; justify-content: space-between; }
  .brand img { width: clamp(105px,29vw,150px); }
  .nav-full { display: none; }
  .header-tools { gap: 12px; font-size: .82rem; }
  .header-tools .mobile-shop,.mobile-menu { display: block; }
  .mobile-menu summary { list-style: none; }
  .mobile-menu summary,.header-tools > a { min-height: 44px; }
  .header-tools .mobile-shop { display: flex; }
  .header-cart { gap: 4px; }
  .water-lede { align-items: start; flex-direction: column; justify-content: end; gap: .55rem; padding-block: 23px 20px; min-height: 0; }
  .water h1 { font-size: clamp(2.45rem,10.2vw,4.75rem); letter-spacing: -.035em; }
  .water-lede p { font-size: .95rem; max-width: 35ch; }
  .water-scenes { grid-template-columns: 1fr 1fr; }
  .water-light { display: none; }
  .water-scene { grid-template-rows: clamp(109px,30vw,200px) 49px; }
  .water-scene.room-tub { grid-column: 1/-1; grid-template-rows: clamp(190px,52vw,350px) 50px; }
  .water-scene.room-shower { border-right: 1px solid #d7e4cf; }
  .water-scene .room { overflow: hidden; }
  .water-scene .room img { position: absolute; display: block; width: var(--plate-width); height: auto; max-width: none; left: var(--plate-left); top: 50%; translate: 0 -61%; }
  .water-scene.room-tub .room img { translate: 0 -48%; }
  .water-scene .room-label { padding-inline: var(--gutter); }
  .water-scene .room-label .jump { width: 14px; }
  .water-scenes figcaption { top: calc(clamp(190px,52vw,350px) - 30px); bottom: auto; right: 8px; }
  .water-scenes:has(.water-scene:hover) .water-scene:not(:hover) .room::after { opacity: 0; }
  .home-shelf { grid-template-columns: 1fr; padding-block-end: 42px; gap: 11px; }
  .home-shelf h2 { max-width: none; }
  .home-shelf .shelf-summary { margin-top: 9px; }
  .home-shelf .text-action { margin-top: 1px; }
  .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 17px 10px; }
  .card-body { gap: 4px 6px; padding-block: 8px; }
  .card-title,.card-price { grid-column: 1/-1; text-align: left; }
  .card-price { font-size: .88rem; }
  .card-spec { font-size: .76rem; }
  .chapter-heading { grid-template-columns: 1fr; gap: 10px; }
  .tub-pair,.edge-feature,.threshold-pair { grid-template-columns: 1fr; }
  .tub-pair .comparison-photo,.edge-feature .comparison-photo { min-height: 0; aspect-ratio: 1.29; }
  .tub-pair-body { padding: 15px; }
  .edge-copy > p { margin-block: 11px 13px; }
  .threshold-dry { border-left: 0; border-top: 1px solid #8ca296; }
  .threshold-item img { aspect-ratio: 1.45; }
  .threshold-note { padding: 15px; }
  .range-link { grid-template-columns: minmax(0,1fr) auto; gap: 3px 9px; }
  .range-link small { grid-row: 2; }
  .range-link .jump { grid-row: span 2; grid-column: 2; }
  .shop-lede { grid-template-columns: 1fr; min-height: auto; gap: 14px; padding-block: 22px 16px; }
  .collection-swatch { min-height: clamp(88px,20vw,148px); }
  .shop-lede p:last-child { max-width: 35ch; }
  .catalog-controls { align-items: start; margin-block: 16px 10px; }
  .search-line .action { padding-inline: 8px; }
  .sort-control select { max-width: 150px; }
  .product-layout,.transaction-grid,.account-gateway,.about-intro,.about-address,.contact-layout { grid-template-columns: 1fr; }
  .related-section { grid-template-columns: 1fr; }
  .related-section h2 { max-width: none; }
  .gallery-view img { aspect-ratio: 1.32; }
  .product-page,.transaction-page { padding-block-start: 16px; }
  .cart-line { grid-template-columns: 80px minmax(0,1fr) auto; }
  .cart-line .line-total { font-size: .91rem; }
  .line-controls { gap: 7px; }
  .line-controls label { width: 68px; }
  .line-controls input { width: 65px; }
  .checkout-grid .checkout-review { grid-row: 1; }
  .account-intro { min-height: 180px; }
  .account-member,.policy-layout { grid-template-columns: 1fr; }
  .account-menu { display: flex; flex-wrap: wrap; }
  .account-menu a { font-size: .9rem; min-height: 44px; padding-inline: 8px; }
  .about-intro figure { grid-row: 2; }
  .policy-index { display: flex; flex-wrap: wrap; gap: 0 9px; }
  .policy-index a { font-size: .84rem; }
  .destinations { columns: 2; }
  .footer-main { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px 12px; }
  .footer-identity { grid-column: 1/-1; }
  .footer-main nav a { min-height: 44px; }
  .copyright { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 380px) {
  .header-tools { gap: 9px; }
  .catalog-controls { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { transition-duration: .001ms !important; animation-duration: .001ms !important; scroll-behavior: auto !important; }
}
.review-entry main { padding-block: clamp(30px,5vw,68px); }
.review-entry main > p { margin-block: 10px 15px; }
.review-links { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; margin-top: 24px; border-top: 1px solid var(--rule); padding-top: 18px; }
.review-links section { display: grid; align-content: start; }
.review-links h2 { font-size: 1.3rem; margin-bottom: 5px; }
.review-links a { display: flex; align-items: center; min-height: 44px; }
@media (max-width: 720px) { .review-links { grid-template-columns: repeat(2,minmax(0,1fr)); } }
.collection-swatch[data-area="round"] { background-image: url("assets/products/curved-bath-mat-for-round-shower-00.webp"); background-position: 50% 60%; }
