/* Product catalogue */
#products, #wearables, #watchfaces {
  --catalog-ink: #20241f;
  --catalog-muted: #525951;
  --catalog-line: #d8dbd3;
  --catalog-paper: #f2f3ef;
  --catalog-accent: #9c4218;
  padding-block: clamp(3.5rem, 6vw, 6rem);
  color: var(--catalog-ink);
}
.catalog-heading, .studio-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.75rem;
  margin-bottom: clamp(1.4rem, 3vw, 2.6rem);
}
#products-heading, #watchfaces-heading, #wearables-heading {
  margin: 0;
  color: var(--catalog-ink);
  font-size: clamp(2.1rem, 4.5vw, 4.25rem);
  font-weight: 500;
  letter-spacing: -.065em;
  line-height: 1.05;
}
#products .segment-tabs {
  display: flex;
  justify-content: flex-end;
  gap: clamp(.75rem, 2vw, 1.6rem);
  width: auto;
  margin: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
}
#products .segment {
  min-width: 0;
  min-height: 44px;
  padding: .45rem .1rem;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: transparent;
  color: var(--catalog-muted);
  font-size: .875rem;
}
#products .segment[aria-selected="true"] { color: var(--catalog-ink); border-bottom-color: var(--catalog-accent); }
#products .segment:hover { color: var(--catalog-accent); }
#products .product-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2.1vw, 2rem);
  max-width: none;
}
#products .product-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  border: 1px solid var(--catalog-line);
  border-radius: 0;
  background: #fff;
}
#products .product-image-wrap {
  aspect-ratio: 1.7;
  border-radius: 0;
  background: var(--catalog-paper);
}
#products .product-image-button img {
  padding: clamp(.3rem, 1.3vw, 1.2rem);
  mix-blend-mode: multiply;
}
#products .product-tag, #products .product-description { display: none; }
#products .compare-toggle {
  right: clamp(.6rem, 1vw, .9rem);
  bottom: clamp(.6rem, 1vw, .9rem);
  min-height: 36px;
  padding: .35rem .65rem;
  border-radius: 0;
  border-color: var(--catalog-line);
  background: #fff;
  color: var(--catalog-ink);
}
#products .compare-toggle[aria-pressed="true"] {
  color: var(--catalog-accent);
  border-color: currentColor;
}
#products .product-info {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: clamp(1.25rem, 2vw, 1.8rem);
}
#products .product-series {
  margin: 0 0 .4rem;
  color: var(--catalog-muted);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .04em;
}
#products .product-info h3 {
  margin: 0 0 .8rem;
  color: var(--catalog-ink);
  font-size: clamp(1.4rem, 2.1vw, 2.05rem);
  font-weight: 500;
  letter-spacing: -.045em;
}
#products .spec-chips {
  gap: .25rem 1.12rem;
  align-items: baseline;
  min-height: 0;
  margin: 0 0 1.2rem;
}
#products .spec-chips span {
  position: relative;
  min-height: auto;
  padding: 0;
  background: transparent;
  color: var(--catalog-muted);
  font-size: .8125rem;
}
#products .spec-chips span + span::before {
  position: absolute;
  left: -.67rem;
  color: #899181;
  content: "·";
}
#products .product-actions { margin-top: auto; gap: 1.2rem; }
#products .product-actions .button, #products .collection-action .button,
#wearables .button, #watchfaces .watchface-product-cta .button {
  min-height: 44px;
  border-radius: 0;
}
#products .product-actions .text-link { display: inline-flex; align-items: center; min-height: 44px; }
#products .collection-action { margin-top: 1.75rem; }
#products .collection-action .button { font-size: .8125rem; }

/* W1 */
#wearables .w1-feature {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  background: #ecede7;
}
.w1-copy { padding: clamp(1.5rem, 4.8vw, 4.5rem); }
#wearables-heading span { color: var(--catalog-muted); }
.w1-links { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem 1.25rem; margin-top: 1.65rem; }
.w1-links .button { gap: .7rem; }
.w1-links .text-link { min-height: 44px; font-size: .875rem; }
.w1-photo {
  display: block;
  width: min(100%, 620px);
  max-height: 310px;
  object-fit: cover;
  object-position: 50% 55%;
  margin-inline: auto;
  mix-blend-mode: multiply;
}

/* Watch face studio. Preserve the calibrated device figure and its screen overlay as one unit. */
.studio-heading p { max-width: 24rem; margin: 0; color: var(--catalog-muted); font-size: 1rem; line-height: 1.6; }
#watchfaces .watchface-studio {
  grid-template-columns: minmax(0, 1.22fr) minmax(0, 1fr);
  align-items: stretch;
  gap: 0;
  margin-top: 0;
  border: 1px solid var(--catalog-line);
  background: #fff;
}
#watchfaces .watch-preview-stage {
  position: relative;
  top: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  max-width: none;
  padding: clamp(1.15rem, 2.5vw, 2rem);
  border: 0;
  border-radius: 0;
  background: var(--catalog-paper);
}
#watchfaces .watch-preview-figure {
  flex-shrink: 0;
  width: min(100%, 430px);
  mix-blend-mode: multiply;
}
#watchfaces .watch-preview-actions { flex-wrap: wrap; }
#watchfaces .watch-preview-actions button { min-height: 42px; border-radius: 0; background: #fff; font-size: .8125rem; }
#watchfaces .watch-studio-panel { min-width: 0; padding: clamp(1.2rem, 3vw, 2.6rem); }
#watchfaces .watch-studio-step { margin-bottom: .8rem; }
#watchfaces .watch-studio-step > label, #watchfaces .watch-studio-label { color: var(--catalog-ink); font-weight: 600; }
#watchfaces #watchface-model { border-radius: 0; border-color: #9ca39b; }
#watchfaces .watch-studio-model-card { margin: -.15rem 0 1.3rem; padding: 0; background: transparent; }
#watchfaces .watch-studio-model-card img, #watchfaces .watch-studio-model-card strong { display: none; }
#watchfaces .watch-studio-model-card > span > span { color: var(--catalog-muted); }
#watchfaces .face-choice-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .25rem .75rem; }
#watchfaces .selected-face-name { margin: 0; color: var(--catalog-muted); font-size: .8125rem; }
#watchfaces .watchface-picker { gap: .45rem; }
#watchfaces .face-swatch {
  justify-content: flex-start;
  gap: .45rem;
  min-height: 94px;
  padding: .6rem .25rem;
  border-radius: 0;
  background: #fff;
}
#watchfaces .face-swatch[aria-pressed="true"] {
  border-color: var(--catalog-accent);
  background: #f9f5ee;
  box-shadow: inset 0 0 0 1px var(--catalog-accent);
}
#watchfaces .face-swatch-image { height: 64px; }
#watchfaces .face-swatch img { width: 53px; height: 64px; }
#watchfaces .face-swatch > span:last-child { min-height: 0; font-size: .75rem; line-height: 1.3; }
#watchfaces .watchface-compatibility { margin-top: 1rem; padding: .6rem .8rem; border-left-color: #87927d; border-radius: 0; background: var(--catalog-paper); color: #434d40; font-size: .8125rem; }
#watchfaces .watchface-preview-note { margin-top: .5rem; color: var(--catalog-muted); font-size: .8125rem; }
#watchfaces .watchface-product-cta { margin-top: 1rem; padding-top: 1rem; }

@media (max-width: 760px) {
  .catalog-heading, .studio-heading { align-items: flex-start; flex-direction: column; gap: 1rem; }
  #products .segment-tabs { justify-content: flex-start; max-width: 100%; }
  #products .product-grid { gap: .85rem; }
  #watchfaces .watchface-studio { grid-template-columns: 1fr; }
  #watchfaces .watch-preview-figure { width: min(100%, 300px); }
  #watchfaces .watch-studio-panel { padding: 1.25rem; }
  #wearables .w1-feature { grid-template-columns: 1fr; }
  .w1-copy { grid-row: 2; padding: 0 1.4rem 1.6rem; }
  .w1-photo { width: min(100%, 480px); height: clamp(160px, 41vw, 230px); object-fit: cover; }
  #wearables-heading br { display: none; }
  #wearables-heading span::before { content: " "; }
  .w1-links { margin-top: 1.2rem; }
}
@media (max-width: 560px) {
  #products .product-grid { grid-template-columns: 1fr; gap: 1.2rem; }
  #products .segment { padding-inline: .05rem; font-size: .8125rem; }
  #products .product-image-wrap { aspect-ratio: 1.6; }
  #products .product-actions { justify-content: flex-start; }
}
.dial-collection {
  display: flex;
  width: fit-content;
  padding: 3px;
  margin-bottom: 18px;
  border: 1px solid #c7cec7;
  border-radius: 4px;
  background: #f4f5f1;
}
.dial-collection button {
  padding: 9px 14px;
  border: 0;
  border-radius: 2px;
  background: transparent;
  color: #303730;
  font: inherit;
  font-size: .875rem;
}
.dial-collection button[aria-pressed="true"] { background: #253028; color: #fff; }
#watchfaces .face-swatch[data-face-shape="round"] img { width: 58px; height: 58px; object-fit: contain; }

.live-dial {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 50%;
  line-height: 0;
}
.live-dial > img,
.live-dial > canvas,
#watchfaces .face-swatch[data-face-shape="round"] .live-dial > img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}
#watchfaces .face-swatch-image:has(.live-dial) {
  width: min(100%, 104px);
  height: auto;
  aspect-ratio: 1;
}
.dial-closeup-trigger { margin-top: .85rem; min-height: 40px; }
.dialog:has(.dial-closeup) { width: min(calc(100% - 24px), 560px); }
.dial-closeup h2 { margin: 0 0 1.2rem; font-size: clamp(1.5rem, 4vw, 2rem); line-height: 1.15; }
.dial-closeup-art { width: min(100%, 466px, 54dvh); aspect-ratio: 1; margin: 0 auto; }
.dial-closeup-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .5rem 1rem; margin-top: 1rem; }
.dial-closeup-footer span { font-size: .8125rem; color: #535b54; }
.dial-closeup-footer button { min-height: 44px; }
@media (max-width: 480px) {
  #watchfaces .watchface-picker:has(.live-dial) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
