/* Shared layout, collection, story, contact and responsive rules. */
:root {
  --ink: #194979;
  --paper: #f8f9fc;
  --muted: #526278;
  --line: #d5deeb;
  --space: clamp(20px, 5vw, 80px);
}

/* About page: quiet typography and a compact, uncropped family photograph. */
body:has(.about-page) { background:#fff; }
.about-page { max-width:1120px; margin:0 auto; padding:52px 32px 72px; }
.about-heading { margin-bottom:36px; padding-bottom:26px; border-bottom:1px solid #e1e7ed; }
.about-heading .eyebrow { font-size:10px; letter-spacing:2.4px; }
.about-heading h1 { font-family:Georgia,'Times New Roman',serif; font-size:clamp(36px,4vw,52px); font-weight:400; line-height:1.14; letter-spacing:-1px; margin:14px 0 16px; }
.about-heading .about-intro { font-size:17px; line-height:1.7; color:var(--muted); margin:0; }
.about-layout { display:grid; grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr); align-items:start; gap:56px; }
.about-copy { max-width:570px; min-width:0; }
.about-copy p { font-size:16px; line-height:1.85; color:var(--muted); margin:0 0 20px; }
.about-photo { display:block; width:100%; max-width:400px; height:auto; aspect-ratio:3/4; object-fit:contain; justify-self:center; border-radius:3px; box-shadow:0 8px 24px #18354b0a; }
.about-collection-link { gap:20px; margin-top:4px; }
.nav a[aria-current='page'] { text-decoration:underline; text-underline-offset:5px; }
@media (max-width:760px) {
  .about-page { padding:34px 20px 48px; }
  .about-heading { margin-bottom:26px; padding-bottom:22px; }
  .about-heading h1 { letter-spacing:-.7px; }
  .about-heading .about-intro { font-size:16px; }
  .about-layout { grid-template-columns:minmax(0,1fr); gap:28px; }
  .about-photo { order:-1; justify-self:center; max-width:340px; }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a,
input {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
  color: inherit;
}

button:disabled {
  cursor: not-allowed;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #286aab;
  outline-offset: 4px;
}

img,
svg {
  max-width: 100%;
}

p {
  margin-top: 0;
}

.skip-link {
  position: fixed;
  left: 12px;
  top: 12px;
  padding: 12px 18px;
  background: #fff;
  color: var(--ink);
  z-index: 20;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: none;
}

.announcement {
  background: var(--ink);
  color: white;
  text-align: center;
  padding: 10px 18px;
  font-size: 11px;
  letter-spacing: 1.6px;
  line-height: 1.6;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 8px var(--space);
  background: #fff;
  min-height: 144px;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.header .official-logo {
  display: block;
  width: 174px;
  height: 128px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 28px;
  font-size: 14px;
}

.nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 5px 0;
}

.nav a:hover,
.text-link:hover,
footer a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.cart-button {
  min-height: 44px;
  min-width: 78px;
  border: 1px solid var(--ink);
  background: white;
  padding: 9px 14px;
  font-size: 14px;
  white-space: nowrap;
}

.cart-button span {
  display: inline-block;
  margin-left: 8px;
  font-weight: 700;
}

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: clamp(480px, 65vw, 650px);
  padding: 70px max(7%, var(--space)) 105px;
  background: #244f71 url('/ocean.dfea6675e02f.jpg') center 53% / cover;
  color: white;
}

.hero:before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 31, 55, 0.78), rgba(8, 31, 55, 0.28));
  z-index: -1;
}

.hero > div:first-child {
  max-width: 760px;
}

.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  line-height: 1.8;
}

.hero h1 {
  font-size: clamp(56px, 7vw, 100px);
  font-weight: 500;
  letter-spacing: -3px;
  line-height: 1.04;
  margin: 24px 0;
}

.hero p {
  font-size: 17px;
  line-height: 1.75;
  max-width: 400px;
  color: #fff;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 48px;
  padding: 14px 20px;
  border: 1px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.7px;
  line-height: 1.6;
  text-align: left;
  max-width: 100%;
}

.button:hover {
  background: #e8edf5;
}

.hero .button {
  margin-top: 10px;
  border-color: white;
}

.hero-bottom {
  position: absolute;
  bottom: 25px;
  left: 7%;
  right: 7%;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 10px;
  letter-spacing: 1.3px;
}

.ticker {
  display: flex;
  justify-content: space-around;
  gap: 12px;
  flex-wrap: wrap;
  padding: 20px var(--space);
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  letter-spacing: 1.4px;
}

.ticker span:nth-child(even) {
  color: #29639e;
}

.collection {
  padding: 70px var(--space);
}

.section-top {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 30px;
}

h2 {
  font-size: clamp(32px, 3.8vw, 50px);
  font-weight: 400;
  letter-spacing: -1.2px;
  line-height: 1.15;
  margin: 12px 0 20px;
}

.section-top p {
  max-width: 290px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted);
  margin-bottom: 0;
}

.filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.filter {
  border: 1px solid #a7b7cc;
  background: transparent;
  border-radius: 24px;
  min-height: 44px;
  padding: 10px 18px;
  font-size: 13px;
  color: var(--ink);
}

.filter[aria-pressed='true'] {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px 20px;
  min-height: 250px;
}

.product {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  padding: 0;
  text-align: left;
  min-width: 0;
}

.product-image {
  position: relative;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0;
  background: #f4f3ef;
}

.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #fff;
  color: var(--ink);
  padding: 6px 9px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  z-index: 1;
}

.product-info {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  padding-top: 15px;
}

.product h3 {
  font-size: 16px;
  line-height: 1.5;
  margin: 0;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.product-info > span {
  font-size: 20px;
}

.product p {
  margin: 6px 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}

.concept-note {
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin-top: 30px;
}

.story {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  background: #edf0f6;
}

.story-art {
  position: relative;
  overflow: hidden;
  background: #fff;
  min-height: 430px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.story-art > svg {
  position: absolute;
  width: 140%;
  height: 100%;
  opacity: 0.06;
}

.story-art > svg g {
  stroke: #194979;
}

.official-story {
  position: relative;
  width: 80%;
  max-width: 410px;
}

.official-story svg {
  display: block;
  width: 100%;
  height: auto;
}

.story-copy {
  padding: 60px 12%;
  align-self: center;
  min-width: 0;
}

.story-copy p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 12px;
  letter-spacing: 0.5px;
  border-bottom: 1px solid var(--ink);
  margin-top: 12px;
  line-height: 1.8;
}

.instagram {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 60px var(--space);
  border-bottom: 1px solid var(--line);
}

.instagram h2 {
  font-size: clamp(30px, 3.5vw, 40px);
}

.instagram p {
  font-size: 15px;
  color: var(--muted);
}

.instagram .button {
  background: transparent;
  flex-shrink: 0;
}

.contact-section {
  padding: 60px var(--space);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  background: #edf0f6;
  border-bottom: 1px solid var(--line);
}

.contact-section h2 {
  font-size: 38px;
}

.contact-section p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 350px;
}

.contact-links {
  align-self: center;
  min-width: 0;
}

.contact-links > .eyebrow {
  display: block;
}

.contact-email {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: clamp(16px, 1.8vw, 24px);
  min-height: 56px;
  padding: 12px 0;
  border-bottom: 1px solid #aebdd1;
  overflow-wrap: anywhere;
  line-height: 1.6;
}

.contact-links .text-link {
  font-size: 11px;
  overflow-wrap: anywhere;
}

.contact-email:hover {
  color: #286aab;
}

footer {
  padding: 40px var(--space) 25px;
}

.footer-row {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 30px;
}

.footer-row .official-logo {
  display: block;
  width: 240px;
  height: 65px;
}

.footer-row p {
  font-size: 13px;
  line-height: 1.9;
  color: var(--muted);
  min-width: 0;
  overflow-wrap: anywhere;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin-top: 35px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  color: var(--muted);
  line-height: 1.8;
}

.footer-row p a {
  display: inline-block;
  padding: 5px 0;
}

.footer-row .nav {
  font-size: 13px;
  gap: 8px 20px;
}

.cart-content {
  padding: 55px 30px 30px;
}

.cart-content h2 {
  margin-bottom: 25px;
}

.cart-line {
  display: grid;
  grid-template-columns: 88px minmax(0,1fr) auto;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.cart-thumbnail { display:flex; align-items:center; justify-content:center; width:88px; height:88px; background:#f4f3ef; overflow:hidden; border:1px solid var(--line); border-radius:3px; }
.cart-thumbnail .product-photo { width:min(100%,calc(var(--photo-ratio,1) * 100%)); height:auto; flex:none; }
.cart-line-controls { display:flex; align-items:center; gap:12px; }

.cart-line > div {
  min-width: 0;
  overflow-wrap: anywhere;
}

.cart-line strong {
  font-size: 15px;
}

.cart-line p {
  font-size: 13px;
  line-height: 1.7;
  margin: 5px 0;
}

.cart-line label {
  font-size: 12px;
  white-space: nowrap;
}

.cart-line input {
  width: 60px;
  min-height: 44px;
  padding: 8px;
  border: 1px solid #a7b7cc;
  background: #fff;
  color: var(--ink);
  font-size: 16px;
}

.cart-line button {
  border: 0;
  background: transparent;
  text-decoration: underline;
  color: var(--ink);
  font-size: 13px;
  min-height: 44px;
  padding: 8px;
}

.cart-content button:disabled {
  background: #e5e9f0;
  color: #526278;
  border-color: #b9c4d4;
  margin-top: 12px;
}

image {
  filter: url(#logo-contrast);
}

@media (min-width: 1600px) {
  .hero {
    padding-left: 12%;
  }

  .hero-bottom {
    left: 12%;
  }

}

@media (max-width: 1100px) {
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 22px;
  }

  .header .official-logo {
    width: 155px;
    height: 118px;
  }

  .header {
    min-height: 130px;
  }

  .nav {
    gap: 8px 22px;
  }

  .story-copy {
    padding: 40px 9%;
  }

  .story-art {
    min-height: 380px;
  }

  .footer-row {
    flex-wrap: wrap;
  }

  .footer-row .nav {
    justify-content: flex-start;
  }

  .contact-email {
    font-size: 18px;
  }

}

@media (max-width: 760px) {
  .section-top {
    display: block;
  }

  .section-top p {
    margin-top: 16px;
    max-width: 420px;
  }

  .instagram {
    display: block;
  }

  .instagram .button {
    margin-top: 12px;
  }

  .story {
    grid-template-columns: 1fr;
  }

  .story-art {
    min-height: 330px;
  }

  .official-story {
    width: min(70%, 340px);
  }

  .story-copy {
    padding: 40px var(--space);
  }

  .contact-section {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .contact-email {
    font-size: 20px;
  }

  .hero {
    min-height: 530px;
  }

  .hero h1 {
    font-size: clamp(52px, 9vw, 70px);
  }

  .hero-bottom {
    font-size: 9px;
    letter-spacing: 0.7px;
  }

  .ticker {
    font-size: 10px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }

}

@media (max-width: 560px) {
  .announcement {
    font-size: 10px;
    letter-spacing: 1px;
  }

  .header {
    flex-wrap: wrap;
    min-height: 0;
    padding: 8px var(--space);
    gap: 4px 16px;
  }

  .header .official-logo {
    width: 140px;
    height: 112px;
  }

  .header .nav {
    order: 3;
    justify-content: space-between;
    max-width: none;
    width: 100%;
    font-size: 13px;
    gap: 5px 14px;
    border-top: 1px solid #e8edf5;
    padding-top: 4px;
  }

  .cart-button {
    font-size: 13px;
    min-width: 76px;
  }

  .hero {
    padding: 45px var(--space) 85px;
    min-height: 480px;
  }

  .hero h1 {
    font-size: clamp(48px, 12vw, 65px);
    letter-spacing: -2px;
  }

  .hero p {
    font-size: 16px;
  }

  .hero .eyebrow {
    font-size: 10px;
    letter-spacing: 1.3px;
  }

  .hero-bottom {
    left: var(--space);
    right: var(--space);
    bottom: 22px;
    font-size: 9px;
    line-height: 1.6;
  }

  .hero-bottom span:last-child {
    display: none;
  }

  .hero .button {
    font-size: 11px;
    gap: 16px;
  }

  .ticker span:nth-child(3),
  .ticker span:nth-child(4) {
    display: none;
  }

  .collection {
    padding: 45px var(--space);
  }

  .grid {
    gap: 26px 14px;
  }

  .product h3 {
    font-size: 14px;
  }

  .product p {
    font-size: 12px;
  }

  .badge {
    font-size: 9px;
    top: 8px;
    left: 8px;
    padding: 5px 7px;
  }

  .product-info {
    padding-top: 12px;
  }

  .filters {
    gap: 8px;
  }

  .filter {
    font-size: 12px;
    padding: 10px 14px;
  }

  .story-art {
    min-height: 300px;
  }

  .instagram,
  .contact-section {
    padding: 42px var(--space);
  }

  .contact-section h2 {
    font-size: 33px;
  }

  .contact-email {
    font-size: clamp(15px, 4.4vw, 20px);
  }

  .contact-links .text-link {
    font-size: 10px;
    letter-spacing: 0;
  }

  .footer-row {
    display: block;
  }

  .footer-row > p {
    margin-top: 22px;
  }

  .footer-row .official-logo {
    width: 230px;
  }

  .footer-row .nav {
    margin-top: 15px;
    gap: 10px 25px;
  }

  .cart-content {
    padding: 55px 20px 25px;
  }

  .cart-line {
    grid-template-columns:64px minmax(0,1fr);
    gap: 12px;
  }
  .cart-thumbnail { width:64px; height:64px; grid-row:1 / span 2; align-self:start; }
  .cart-item-details,.cart-line-controls { grid-column:2; }
  .cart-line-controls { flex-wrap:wrap; gap:4px 12px; }

  .cart-line > div {
    width: 100%;
  }

}

@media (max-width: 350px) {
  .grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 48px;
  }

  .hero .button {
    padding: 13px 14px;
    font-size: 10px;
  }

  .header .nav {
    font-size: 12px;
  }

  .contact-email {
    font-size: 15px;
  }

}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }

}

.header .nav {
  min-width: 0;
}

.section-top > div,
.instagram > div {
  min-width: 0;
}

#cart-message:empty {
  display: none;
}

.product-photo {
  width: 100%;
  aspect-ratio: var(--photo-ratio,1);
  background-image: var(--photo);
  background-size: var(--photo-size-x,400%) var(--photo-size-y,200%);
  background-position: var(--photo-x) var(--photo-y);
  background-repeat: no-repeat;
}

.product-image .product-photo {
  height: auto;

  width: min(100%,calc(var(--photo-ratio,1) * 100%));
  flex: none;
}

.card-swatches {
  display: flex;
  gap: 7px;
  margin: 15px 0 8px;
}

.card-swatches span {
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--swatch);
  border: 1px solid #89918d;
}

.product .card-description {
  font-size: 14px;
  line-height: 1.65;
  color: #43504c;
  text-transform: none;
  letter-spacing: 0;
  margin-top: 12px;

  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

@media(max-width:700px) {
  .product .card-description {
    font-size: 13px;
  }

}






dialog {
  position: fixed;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  padding: 0;
  width: 760px;
  max-width: calc(100vw - 32px);
  max-height: calc(100dvh - 32px);
  overflow: auto;
  overscroll-behavior: contain;
}

dialog::backdrop {
  background: #0b2637aa;
  backdrop-filter: blur(4px);
}

body:has(dialog[open]) {
  overflow: hidden;
}

.close {
  position: sticky;
  float: right;
  right: 8px;
  top: 8px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  width: 44px;
  height: 44px;
  font-size: 27px;
  line-height: 1;
  margin: 8px 8px -52px 0;
}

#detail {
  width: 860px;
  max-width: calc(100vw - 40px);
  max-height: min(760px,88dvh);
  border-radius: 8px;
  scrollbar-gutter: stable;
}

#detail[open] {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.dialog-toolbar {
  position: relative;
  top: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 60px;
  padding: 8px 12px 8px 22px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  flex: none;
}

.dialog-toolbar .eyebrow {
  font-size: 10px;
  letter-spacing: 1px;
}

.dialog-toolbar .close {
  position: static;
  float: none;
  margin: 0;
  flex: none;
}

.dialog-inner {
  display: grid;
  grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr);
  align-items: start;
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  scroll-padding: 12px;
}

.gallery-panel {
  position: sticky;
  top: 0;
  padding-top: 16px;
  min-width: 0;
  background: #f4f3ef;
  align-self: start;
}

.dialog-art {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  min-width: 0;
  min-height: 0;
  height: auto;
  background: #f4f3ef;
}

#detail-art .product-photo {
  flex: none;
  width: min(100%,calc(330px * var(--photo-ratio,1)));
  height: auto;
}

.view-controls {
  display: flex;
  gap: 8px;
  justify-content: center;
  padding: 8px 12px;
}

.mockup-caption {
  margin: 0;
  font-size: 11px;
  line-height: 1.6;
  text-align: center;
  padding: 0 16px 14px;
  color: #52615d;
}

.dialog-copy {
  padding: 20px 24px 24px;
  min-width: 0;
}

.dialog-copy p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

#detail-title {
  font-size: 28px;
  line-height: 1.18;
  margin: 0 0 14px;
  letter-spacing: -.6px;
  overflow-wrap: break-word;
}

#detail-description {
  margin-bottom: 16px;
}

.option-label {
  margin-top: 16px;
}

.color-options {
  display: flex;
  flex-wrap: wrap;
  margin: 8px 0 16px;
  gap: 6px;
}

.color-option,.view-controls button {
  min-height: 44px;
  padding: 9px 12px;
  border: 1px solid #a6aea7;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}

.color-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
}

.color-option[aria-pressed='true'],.view-controls button[aria-pressed='true'] {
  border-color: #173d44;
  box-shadow: inset 0 0 0 1px #173d44;
  background: #e8ede8;
}

.color-dot {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid #89918d;
  background: var(--swatch);
}

.sizes {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 8px 0 16px;
}

.sizes button {
  background: white;
  color: var(--ink);
  border: 1px solid #90a4be;
  min-width: 44px;
  min-height: 44px;
  padding: 9px 12px;
  font-size: 13px;
}

.sizes button[aria-pressed='true'] {
  background: var(--ink);
  color: white;
}

.preview-label {
  padding: 15px;
  background: #e4eaf3;
  font-size: 13px;
  line-height: 1.8;
}

#detail .preview-label {
  padding: 10px 12px;
  font-size: 12px;
  line-height: 1.6;
}

.concept-details {
  margin-top: 8px;
  font-size: 12px;
}

.concept-details[hidden] {
  display: none;
}

.concept-details summary {
  display: list-item;
  cursor: pointer;
  min-height: 44px;
  padding: 12px 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.concept-details p {
  font-size: 12px;
  margin: 0;
}

.quantity-picker { display:flex; align-items:center; justify-content:space-between; gap:16px; margin:16px 0 20px; }
.quantity-picker input { width:76px; min-height:44px; padding:8px 10px; border:1px solid #90a4be; border-radius:0; background:#fff; color:var(--ink); font-size:16px; }

.product-details-heading {
  font-size: 14px;
  font-weight: 600;
  margin: 22px 0 8px;
}

.product-actions {
  flex: none;
  padding: 12px 22px max(12px,env(safe-area-inset-bottom));
  background: var(--paper);
  border-top: 1px solid var(--line);
  box-shadow: 0 -6px 16px #1949790a;
}

#product-price {
  font-size: 12px;
  margin: 0 0 6px;
}

#product-feedback {
  font-size: 12px;
  line-height: 1.7;
  margin: 0 0 8px;
}

#product-feedback:empty {
  display: none;
}

.product-action-buttons {
  display: flex;
  align-items: stretch;
  gap: 8px;
}

#detail .product-action-buttons .button {
  margin: 0;
  justify-content: center;
  min-width: 0;
  min-height: 48px;
  padding: 10px 14px;
  text-align: center;
}

.cart-add {
  background: var(--ink);
  color: white;
  font-size: 12px;
  white-space: normal;
}

.cart-add:hover {
  background: #103960;
}

#detail .product-action-buttons .cart-add {
  flex: 1;
  width: auto;
}

#view-preview-bag {
  flex: 0 1 145px;
  background: white;
  font-size: 12px;
  letter-spacing: 0;
}

#view-preview-bag[hidden] {
  display: none;
}

#cart-message {
  font-size: 13px;
  line-height: 1.7;
}

.product:focus-visible,.color-option:focus-visible,.view-controls button:focus-visible {
  outline: 3px solid #19677b;
  outline-offset: 4px;
}

@media (min-width:761px) and (max-height:650px) {
  .gallery-panel { position:static; }
  #detail-art .product-photo {
    width: min(100%,calc(240px * var(--photo-ratio,1)));
  }

}

@media (max-width:760px) {
  #detail {
    width: 520px;
    max-width: calc(100vw - 24px);
    max-height: 90dvh;
  }

  .dialog-inner {
    grid-template-columns: minmax(0,1fr);
  }

  .gallery-panel {
    position: static;
    padding-top: 10px;
  }

  #detail-art .product-photo {
    width: min(100%,calc(clamp(130px,24dvh,190px) * var(--photo-ratio,1)));
  }

  .mockup-caption {
    display: none;
  }

  .view-controls {
    padding: 6px 12px 10px;
  }

  .dialog-copy {
    padding: 16px 20px 20px;
  }

  #detail-title {
    font-size: 26px;
    margin-bottom: 10px;
  }

  #detail-description {
    font-size: 14px;
  }

  .option-label {
    margin-top: 0;
  }

  .color-option {
    flex: 1 1 42%;
  }

  .dialog-toolbar {
    padding-left: 16px;
  }

  .product-actions {
    padding: 10px 16px max(10px,env(safe-area-inset-bottom));
  }

  #detail .product-action-buttons .button {
    padding: 10px;
    font-size: 11px;
    letter-spacing: 0;
  }

  #view-preview-bag {
    flex-basis: 125px;
  }

}

@media (max-width:560px) {
  dialog {
    max-width: calc(100vw - 24px);
    max-height: calc(100dvh - 24px);
  }

}

@media (max-width:350px) {
  .dialog-toolbar .eyebrow {
    font-size: 9px;
    letter-spacing: .4px;
  }

  .dialog-copy {
    padding: 14px;
  }

  #detail-title {
    font-size: 24px;
  }

}


/* Customer-care pages share the quiet typography of our story. */
body:has(.policy-page) { background: #fff; }
.policy-page { max-width: 900px; margin: 0 auto; padding: 52px 32px 72px; }
.policy-page .about-heading { margin-bottom: 20px; }
.policy-nav, .footer-policies { display: flex; flex-wrap: wrap; gap: 4px 26px; }
.policy-nav { margin-bottom: 26px; font-size: 14px; }
.policy-nav a, .footer-policies a { display: inline-flex; align-items: center; min-height: 44px; }
.policy-nav a[aria-current="page"], .footer-policies a[aria-current="page"] { text-decoration: underline; text-underline-offset: 5px; }
.policy-notice { padding: 20px 24px; background: #f2f6fa; border-left: 3px solid var(--ink); margin-bottom: 36px; }
.policy-notice p { margin: 6px 0 0; color: var(--muted); font-size: 14px; line-height: 1.8; }
.policy-copy section { margin: 0 0 30px; }
.policy-copy h2 { font-size: 21px; font-weight: 500; line-height: 1.4; margin: 0 0 12px; letter-spacing: -.3px; }
.policy-copy p { color: var(--muted); line-height: 1.85; font-size: 16px; margin: 0 0 14px; overflow-wrap: anywhere; }
.policy-copy a { text-decoration: underline; text-underline-offset: 3px; }
.policy-contact { border-top: 1px solid var(--line); padding-top: 28px; }
.footer-policies { margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13px; }
.footer-policies + .footer-bottom { margin-top: 14px; }
@media (max-width: 760px) {
  .policy-page { padding: 34px 20px 48px; }
  .policy-nav, .footer-policies { gap: 4px 20px; }
  .policy-notice { padding: 18px; }
}

/* Collection navigation stays separate from garment-type filters. */
.audience-filters { display:flex; gap:8px; margin:28px 0 12px; border-bottom:1px solid var(--line); padding-bottom:14px; }
.audience-filter { min-height:46px; min-width:90px; padding:10px 24px; border:1px solid var(--line); background:transparent; font-size:15px; }
.audience-filter[aria-pressed="true"] { background:var(--ink); border-color:var(--ink); color:#fff; }
.collection-status { margin:0 0 18px; color:var(--muted); font-size:13px; }
.filter:disabled { opacity:.4; cursor:default; }
@media(max-width:460px) { .audience-filters { gap:6px; } .audience-filter { flex:1; min-width:0; padding:10px 12px; } }

/* Accessories and coordinated preview bundles. */
.filters[hidden], #bundle-view-bag[hidden] { display:none; }
.bundle-section { padding:64px var(--space); border-top:1px solid var(--line); background:#fff; }
.bundle-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; margin-top:28px; }
.bundle-card { border:1px solid var(--line); padding:24px; min-width:0; }
.bundle-card h3 { font-size:26px; margin:14px 0 12px; font-weight:500; }
.bundle-card p:not(.eyebrow) { color:var(--muted); font-size:15px; line-height:1.8; }
.bundle-card .button { margin-top:16px; }
.bundle-card-images { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:6px; margin-bottom:20px; }
.bundle-card-images > span { min-width:0; }
#bundle-dialog { width:760px; max-width:calc(100vw - 32px); max-height:88dvh; padding:0; border-radius:8px; }
#bundle-dialog[open] { display:flex; flex-direction:column; overflow:hidden; }
.bundle-form { display:flex; flex-direction:column; min-height:0; max-height:calc(88dvh - 60px); }
.bundle-body { padding:24px; overflow-y:auto; min-height:0; }
.bundle-body h2 { font-size:30px; line-height:1.2; margin:0 0 14px; }
#bundle-description { font-size:14px; color:var(--muted); line-height:1.75; margin-bottom:24px; }
.bundle-item { display:grid; grid-template-columns:100px minmax(0,1fr); gap:20px; padding:20px 0; border-top:1px solid var(--line); }
.bundle-thumb { min-width:0; }
.bundle-choices h3 { font-size:18px; line-height:1.4; margin:0 0 4px; }
.bundle-choices p { font-size:12px; color:var(--muted); margin:0 0 12px; }
.bundle-choices label { display:block; font-size:13px; margin:10px 0 4px; }
.bundle-choices select { display:block; width:100%; min-height:44px; padding:8px; border:1px solid var(--line); background:white; color:var(--ink); }
.bundle-bar { flex:none; padding:14px 24px 20px; border-top:1px solid var(--line); background:var(--paper); }
.bundle-bar .button { width:100%; justify-content:center; margin-top:8px; }
#bundle-feedback { font-size:13px; line-height:1.5; margin:0; }
@media(max-width:760px) { .bundle-grid { grid-template-columns:minmax(0,1fr); } .bundle-section { padding:40px var(--space); } }
@media(max-width:460px) {
 .audience-filters { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); }
 .bundle-item { grid-template-columns:70px minmax(0,1fr); gap:14px; }
 .bundle-body { padding:20px 16px; } .bundle-bar { padding:10px 16px 16px; }
 .bundle-card { padding:18px; }
}

.bundle-shortcut { display:inline-flex; align-items:center; gap:12px; min-height:44px; margin:0 0 12px; font-size:13px; text-decoration:underline; text-underline-offset:4px; }

/* Inspection viewer: original selected color/view, with native touch scrolling. */
button.dialog-art { border:0; width:100%; flex-direction:column; cursor:zoom-in; color:var(--ink); border-radius:0; }
.zoom-open-label { padding:8px 10px 0; font-size:12px; text-decoration:underline; text-underline-offset:3px; }
#image-zoom { width:1100px; max-width:calc(100vw - 24px); height:90dvh; max-height:900px; padding:0; border-radius:8px; }
#image-zoom[open] { display:flex; flex-direction:column; overflow:hidden; }
#zoom-title { margin:0; font-size:14px; line-height:1.4; font-weight:500; letter-spacing:normal; }
.zoom-controls { display:flex; gap:10px; align-items:center; justify-content:center; padding:8px 12px; flex:none; flex-wrap:wrap; }
.zoom-controls button { min-width:44px; min-height:44px; padding:8px 12px; border:1px solid var(--line); border-radius:4px; background:var(--paper); color:var(--ink); }
.zoom-controls button:disabled { opacity:.4; cursor:default; }
#zoom-level { min-width:48px; text-align:center; font-size:13px; }
#zoom-help { margin:0; padding:0 14px 8px; text-align:center; font-size:12px; line-height:1.4; flex:none; }
#zoom-viewport { min-height:0; flex:1; overflow:auto; overscroll-behavior:contain; background:#f6f3ed; }
#zoom-stage { width:max-content; min-width:100%; min-height:100%; display:grid; place-items:center; --zoom:1; }
#zoom-stage .product-photo { width:calc(min(82vw, 62dvh, 900px) * var(--zoom)); flex:none; }
@media (max-height:450px) { #image-zoom { height:96dvh; } #image-zoom .dialog-toolbar { min-height:44px; } .zoom-controls { padding:4px 12px; } #zoom-help { font-size:11px; } }
