/* Djontier — site styles */

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Newsreader";
  src: url("../fonts/newsreader-300.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Newsreader";
  src: url("../fonts/newsreader-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Newsreader";
  src: url("../fonts/newsreader-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Newsreader";
  src: url("../fonts/newsreader-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/ibm-plex-mono-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/ibm-plex-mono-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Palette */
  --color-primary: #363636;
  --color-secondary: #717171;
  --color-tertiary: #f2f2f2;
  --color-brand: #0f2130;
  --color-alternate: #a09473;
  --color-link: #4573a7;
  --color-grey: #737577;
  --color-line: #e2e2e2;
  --color-line-strong: #c2c2c2;
  --bg: #ffffff;

  /* Type */
  --font-sans: "Inter", Helvetica, Arial, "Lucida Grande", sans-serif;
  --font-serif: "Newsreader", Georgia, Times, "Times New Roman", serif;
  --font-mono: "IBM Plex Mono", "Courier New", Courier, monospace;

  /* Metrics */
  --header-h: 76px;
  --hero-h: 600px;
  --max: 1280px;
  --gutter: 40px;
  --section-gap: 60px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  height: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--color-primary);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--color-link);
  outline-offset: 3px;
}

.wrap {
  width: min(var(--max), calc(100% - var(--gutter) * 2));
  margin: 0 auto;
}

.wrap-wide,
.header-inner {
  width: min(1440px, calc(100% - var(--gutter) * 2));
  margin: 0 auto;
}

/* Shared type helpers */
.eyebrow,
.mono {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.2;
}

.serif {
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: -0.03em;
}

/* Scroll reveal — only hides content when JS is available to bring it back */
.js .reveal {
  opacity: 1;
  transform: translateY(14px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.js .reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  background: #fff;
  border-bottom: 1px solid var(--color-line);
  z-index: 100;
  transition: box-shadow 0.25s ease;
}

.site-header.scrolled {
  box-shadow: 0 1px 14px rgba(0, 0, 0, 0.07);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  position: relative;
  margin: 0 auto;
}

.logo {
  display: block;
  z-index: 2;
}

.logo img {
  height: 32px;
  width: auto;
}

.nav {
  position: absolute;
  left: 40%;
  transform: translateX(-50%);
  display: flex;
  gap: 80px;
}

.nav a {
  font-size: 17px;
  font-weight: 500;
  padding: 8px 0;
  position: relative;
  /* color: var(--color-primary); */
  transition: color 0.2s ease;
  color: #6b6b6b;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--color-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav a:hover {
  color: var(--color-link);
}

.nav a:hover::after {
  transform: scaleX(1);
}

.nav a.is-active {
  color: var(--color-link);
}

.nav a.is-active::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  z-index: 2;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-primary);
  margin: 5px auto;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  margin-top: var(--header-h);
  height: auto;
  aspect-ratio: 1920 / 600;
  position: relative;
  overflow: hidden;
  display: block;
  line-height: 0;
}

.hero > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transition: transform 1.2s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.hero:hover > img {
  transform: scale(1.03);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 33, 48, 0.28) 0%, rgba(15, 33, 48, 0.38) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 24px;
  line-height: 1.55;
}

.hero-overlay h1 {
  font-family: var(--font-serif);
  font-size: clamp(40px, 5.2vw, 62px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.08;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.4);
}

.hero-overlay p {
  margin-top: 14px;
  font-size: 15px;
  max-width: 430px;
  color: rgba(255, 255, 255, 0.92);
}

/* ---------- Buttons ---------- */
.btn-light,
.btn-dark,
.btn-outline {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 26px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn-light {
  margin-top: 26px;
  background: #fff;
  color: var(--color-primary);
  border-color: #fff;
}

.hero:hover .btn-light,
.btn-light:hover {
  background: transparent;
  color: #fff;
}

.btn-dark {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

.btn-dark:hover {
  background: #fff;
  color: var(--color-primary);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-primary);
  color: #fff;
}

/* ---------- Sections ---------- */
.section {
  padding-top: var(--section-gap);
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.section-title {
  font-family: var(--font-sans);
  font-size: clamp(20px, 2.2vw, 24px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 28px;
}

.section-head .section-title {
  margin-bottom: 0;
}

.section-link {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-link);
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  white-space: nowrap;
  transition: opacity 0.2s ease;
}

.section-link:hover {
  opacity: 0.7;
}

/* ---------- Categories ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.cat-card {
  text-align: left;
}

.cat-card .img-wrap {
  overflow: hidden;
  aspect-ratio: 460 / 600;
  background: var(--color-tertiary);
}

.cat-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.cat-card:hover img {
  transform: scale(1.06);
}

.cat-card .label {
  display: inline-block;
  margin-top: 16px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-link);
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.cat-card:hover .label {
  opacity: 0.7;
}

/* ---------- Promise banner ---------- */
.promise {
  display: block;
  margin-top: var(--section-gap);
  height: auto;
  aspect-ratio: 1920 / 600;
  position: relative;
  overflow: hidden;
  line-height: 0;
}

.promise img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 1.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.promise:hover img {
  transform: scale(1.04);
}

.promise-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 33, 48, 0.34);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 32px;
}

.promise-overlay h2 {
  font-family: var(--font-serif);
  font-size: clamp(34px, 4.6vw, 58px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.08;
  max-width: 12em;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.35);
}

.promise-overlay .link {
  display: inline-block;
  margin-top: 22px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255, 255, 255, 0.7);
  padding-bottom: 3px;
  transition: border-color 0.25s ease;
}

.promise:hover .link {
  border-bottom-color: #fff;
}

/* ---------- Product grid ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 44px 24px;
}

.product-card .img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 3.7;
  background: var(--color-tertiary);
  display: block;
}

.product-card .img-wrap > a {
  display: block;
  position: absolute;
  inset: 0;
}

.product-card .img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transition: opacity 0.5s ease, transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.product-card .img-wrap .main-img {
  z-index: 0;
}

.product-card .img-wrap .hover-img {
  z-index: 1;
  opacity: 0;
}

.product-card .img-wrap:hover .hover-img {
  opacity: 1;
  transform: scale(1.03);
}

.product-card .img-wrap:hover .main-img {
  opacity: 0;
}

.product-card .flag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  background: rgba(255, 255, 255, 0.94);
  color: var(--color-primary);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 9px;
}

.size-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  padding: 12px 8px 14px;
  background: linear-gradient(transparent, rgba(15, 33, 48, 0.55));
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}

.product-card:hover .size-overlay {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.size-chip {
  min-width: 36px;
  height: 28px;
  padding: 0 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: var(--color-primary);
  font-size: 11px;
  font-weight: 500;
}

.size-chip:hover {
  background: var(--color-primary);
  color: #fff;
}

.product-card .meta {
  margin-top: 14px;
}

.product-card .name-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.product-card .name {
  font-size: 13px;
  line-height: 1.35;
  color: var(--color-grey);
  transition: color 0.2s ease;
}

.product-card:hover .name {
  color: var(--color-link);
}

.product-card .price {
  margin-top: 4px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-primary);
  white-space: nowrap;
}

.product-card .color-line {
  font-size: 13px;
  color: var(--color-grey);
}

.product-card .blurb {
  margin-top: 6px;
  font-size: 13px;
  color: var(--color-grey);
  line-height: 1.4;
}

.swatches {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.swatch {
  appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  padding: 0;
  margin: 0;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.15);
  box-shadow: 0 0 0 1px #fff inset;
  display: block;
  cursor: pointer;
  flex-shrink: 0;
}

.swatch.is-on {
  box-shadow: 0 0 0 1px #fff inset, 0 0 0 1px var(--color-primary);
}

.swatch-more {
  font-size: 12px;
  color: var(--color-grey);
}

.center-cta {
  display: flex;
  justify-content: center;
  padding-top: 56px;
}

.home-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  padding-top: 40px;
}

.home-cta .btn-dark,
.home-cta .btn-outline {
  min-width: 188px;
  text-align: center;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: none;
  padding: 12px 22px;
}

.home-cta .btn-dark:hover {
  background: #1c1c1c;
  color: #fff;
  border-color: #1c1c1c;
}

.home-products .blurb,
.home-products .swatches,
.home-products .flag,
.home-products .size-overlay {
  display: none;
}

/* ---------- Gallery (display only) ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
  padding: var(--section-gap) 0;
}

.gallery img {
  width: 100%;
  height: auto;
  aspect-ratio: 701 / 821;
  object-fit: cover;
}

.gallery img.tall {
  height: auto;
}

.gallery img.full {
  grid-column: 1 / -1;
  aspect-ratio: auto;
  height: auto;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 0;
  padding: 72px 0 32px;
  background-color: #f3f4f6;
  background-image: url("../image/bg_di.png");
  background-position: left bottom;
  background-repeat: no-repeat;
  background-size: cover;
  flex: 1 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.6fr 0.6fr 1.7fr;
  gap: 48px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding-right: 40px;
}

.footer-brand .logo {
  display: flex;
  justify-content: flex-start;
}

.footer-brand .logo img {
  height: 65px;
  width: auto;
}

.footer-brand .tagline,
.footer-brand .footer-blurb {
  max-width: 22em;
}

.footer-brand .tagline {
  margin-top: 13px;
  font-size: 15px;
  line-height: 1.45;
  text-align: left;
  color: #2c333a;
}

.footer-brand .footer-blurb {
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.5;
  color: #2c333a;
}

.footer-social {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  margin-top: 18px;
}

.footer-social a {
  display: block;
  line-height: 0;
  transition: opacity 0.2s ease;
}

.footer-social a:hover {
  opacity: 0.75;
}

.footer-social img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}

.footer-col h3 {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  /* color: var(--color-grey); */
  margin-bottom: 14px;
}

.footer-col a {
  display: inline-block;
  font-size: 14px;
  margin-bottom: 11px;
  position: relative;
  transition: color 0.2s ease;
}

.footer-col a:not(.btn-contact)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.footer-col a:not(.btn-contact):hover {
  color: var(--color-link);
}

.footer-col a:not(.btn-contact):hover::after {
  transform: scaleX(1);
}

.footer-address {
  font-size: 14px;
  color: var(--color-secondary);
  margin-bottom: 16px;
  line-height: 1.5;
}

.footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-col a.btn-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-width: 0;
  gap: 8px;
  margin-bottom: 0;
  padding: 16px 12px;
  border: 1px solid var(--color-line);
  background: #fff;
  text-align: center;
  font-size: inherit;
  font-weight: 400;
  line-height: 1.3;
  transition: border-color 0.2s ease;
}

.footer-col a.btn-contact.btn-contact-left {
  align-items: flex-start;
  text-align: left;
}

.btn-contact-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 400;
  color: var(--color-grey);
}

.btn-contact-value {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-primary);
  overflow-wrap: anywhere;
}

.btn-contact img {
  height: 20px;
  width: auto;
  margin-right: 10px;
}

.btn-contact:hover,
.footer-col a.btn-contact:hover {
  background: #fff;
  color: inherit;
  border-color: var(--color-primary);
}

.contact-note {
  font-size: 14px;
  color: var(--color-secondary);
  max-width: 300px;
  margin-bottom: 20px;
}

.contact-boxes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  max-width: 440px;
}

.contact-box {
  border: 1px solid var(--color-line-strong);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  transition: border-color 0.25s ease;
}

.contact-box:hover {
  border-color: var(--color-primary);
}

.contact-box svg {
  width: 18px;
  height: 18px;
  color: var(--color-grey);
}

.contact-box strong {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-box a {
  font-size: 13px;
  color: var(--color-secondary);
  margin: 0;
  transition: color 0.2s ease;
}

.contact-box a:hover {
  color: var(--color-link);
}

.copyright {
  text-align: center;
  margin-top: 50px;
  padding-top: 26px;
  /* border-top: 1px solid rgba(0, 0, 0, 0.08); */
  font-family: var(--font-sans);
  font-size: 16px;
  letter-spacing: 0.02em;
  color: var(--color-grey);
}

/* ---------- Inner pages ---------- */
.page-hero {
  margin-top: var(--header-h);
  padding: 84px 0 28px;
}

.page-hero .eyebrow {
  color: var(--color-grey);
  margin-bottom: 14px;
  display: block;
}

.page-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.06;
  max-width: 14em;
}

.page-hero p {
  margin-top: 16px;
  max-width: 580px;
  color: var(--color-secondary);
  font-size: 16px;
}

.prose {
  max-width: 680px;
}

.prose h2 {
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -0.03em;
  margin: 0 0 14px;
}

.prose p {
  margin-bottom: 18px;
  color: var(--color-primary);
  font-size: 16px;
  line-height: 2rem;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px 80px;
  padding: 80px 0;
  align-items: center;
}

.split img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.filter-btn {
  border: 1px solid var(--color-line-strong);
  background: #fff;
  padding: 9px 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.filter-btn:hover {
  border-color: var(--color-primary);
}

.filter-btn.is-on {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

.result-count {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-grey);
  margin-bottom: 24px;
}

/* ---------- Product detail ---------- */
.pdp-page {
  margin-top: var(--header-h);
  padding: 28px 0 72px;
}

.pdp-page .breadcrumb {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: #9a9a9a;
  margin: 0 0 22px;
}

.pdp-page .breadcrumb span {
  margin: 0 6px;
}

.pdp-page .breadcrumb a:hover {
  color: var(--color-link);
}

.pdp {
  margin-top: 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(300px, 0.72fr);
  gap: 40px 56px;
  align-items: start;
}

.pdp-gallery .main-shot {
  width: 100%;
  aspect-ratio: 3 / 3.7;
  object-fit: cover;
  background: var(--color-tertiary);
}

.pdp-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 12px;
}

.pdp-thumbs img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: var(--color-tertiary);
  cursor: pointer;
  border: 1px solid transparent;
  transition: border-color 0.2s ease, opacity 0.2s ease;
  opacity: 0.75;
}

.pdp-thumbs img:hover {
  opacity: 1;
}

.pdp-thumbs img.is-on {
  border-color: var(--color-primary);
  opacity: 1;
}

.breadcrumb {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-grey);
  margin-bottom: 18px;
}

.breadcrumb a:hover {
  color: var(--color-link);
}

.pdp-info h1 {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.pdp-price {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 20px 0 28px;
}

.pdp-info .desc {
  color: #4a4a4a;
  margin-bottom: 16px;
}

.spec-list {
  list-style: none;
  border-top: 1px solid var(--color-line);
  margin-top: 28px;
  padding-top: 20px;
}

.spec-list li {
  display: flex;
  gap: 16px;
  font-size: 14px;
  padding: 7px 0;
  color: #4a4a4a;
}

.spec-list span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-grey);
  min-width: 90px;
  padding-top: 3px;
}

.field-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-grey);
  margin-top: 26px;
}

.size-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 20px;
}

.size-row button {
  flex: 1 1 0;
  min-width: 0;
  height: 44px;
  border: 1px solid var(--color-line-strong);
  border-radius: 0;
  background: #fff;
  cursor: pointer;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  padding: 0 4px;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.size-row button:hover {
  border-color: var(--color-brand);
}

.size-row button.is-on {
  border-color: var(--color-brand);
  background: var(--color-brand);
  color: #fff;
}

.pdp-info .btn-dark {
  width: 100%;
  text-align: center;
}

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--color-brand);
  color: #fff;
  padding: 13px 22px;
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transition: 0.28s ease;
  z-index: 200;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ---------- Forms ---------- */
.form {
  display: grid;
  gap: 18px;
  max-width: 540px;
}

.form label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-grey);
  margin-bottom: 8px;
}

.form input,
.form textarea {
  width: 100%;
  border: 1px solid var(--color-line-strong);
  padding: 13px 15px;
  font-size: 15px;
  background: #fff;
  transition: border-color 0.2s ease;
}

.form input:focus,
.form textarea:focus {
  border-color: var(--color-primary);
  outline: none;
}

.form textarea {
  min-height: 150px;
  resize: vertical;
}

/* ---------- Values ---------- */
.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding-bottom: var(--section-gap);
}

.value .num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--color-alternate);
  margin-bottom: 12px;
}

.value h3 {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}

.value p {
  color: var(--color-secondary);
  font-size: 15px;
}

.empty {
  grid-column: 1 / -1;
  padding: 100px 0;
  color: var(--color-secondary);
  text-align: center;
  line-height: 2rem;
}

.product-card[hidden],
.pdp-view[hidden] {
  display: none !important;
}

/* ---------- Responsive ---------- */
/*
 * 平板横屏仍使用桌面导航，但导航项较多时不能继续以 40% 为中心，
 * 否则首个 Home 链接会伸入左侧 logo 区域。
 */
@media (min-width: 901px) and (max-width: 1100px) {
  .nav {
    left: 50%;
    gap: 36px;
  }
}

@media (max-width: 1024px) {
  :root {
    --section-gap: 64px;
  }

  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 900px) {
  :root {
    --hero-h: 440px;
    --gutter: 20px;
  }

  .nav {
    display: none;
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    transform: none;
    left: 0;
    background: #fff;
    flex-direction: column;
    padding: 20px var(--gutter) 26px;
    gap: 14px;
    border-bottom: 1px solid var(--color-line);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  }

  .nav.open {
    display: flex;
  }

  .nav a::after {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .cat-grid,
  .product-grid,
  .gallery,
  .split,
  .values {
    grid-template-columns: 1fr 1fr;
  }

  .split,
  .pdp {
    gap: 32px;
  }

  .pdp {
    grid-template-columns: 1fr;
  }

  .gallery img,
  .gallery img.tall {
    height: auto;
  }

  .split img {
    height: auto;
  }

  .promise {
    height: auto;
  }

  .hero-overlay {
    background: rgba(15, 33, 48, 0.42);
  }
}

@media (max-width: 620px) {
  .gallery,
  .footer-grid,
  .split,
  .pdp,
  .values {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    padding-right: 0;
  }

  .product-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px 16px;
  }

  .contact-boxes {
    grid-template-columns: 1fr;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .pdp-info h1 {
    font-size: 28px;
  }

  .pdp-price {
    font-size: 30px;
  }

  .gallery img.tall {
    height: auto;
  }
}

/* ---------- Collection / PLP ---------- */
.cat-hero {
  margin-top: var(--header-h);
  height: 380px;
  position: relative;
  overflow: hidden;
  display: block;
}

.cat-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.cat-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 72px;
  background: linear-gradient(transparent, rgba(15, 33, 48, 0.18));
  pointer-events: none;
}

.plp {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 72px;
  align-items: start;
  padding: 48px 0 80px;
}

.plp-side h3 {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.plp-side h3::before {
  content: "";
  width: 2px;
  height: 0.85em;
  background: currentColor;
  flex-shrink: 0;
}

.plp-side a {
  display: block;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
  padding: 7px 0;
  color: var(--color-primary);
  transition: color 0.2s ease;
}

.plp-side a:hover {
  color: var(--color-link);
}

.plp-side a.is-on {
  background: none;
  color: var(--color-link);
}

.plp-main .breadcrumb {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: #9a9a9a;
  margin: 0 0 28px;
}

.plp-main .breadcrumb span {
  margin: 0 6px;
}

.plp-main .breadcrumb a:hover {
  color: var(--color-link);
}

.product-grid.cols-3 {
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 28px;
}

.plp .product-card .flag,
.plp .size-overlay {
  display: none;
}

.plp .product-card .name-row {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "name price"
    "color color";
  align-items: baseline;
  column-gap: 12px;
  row-gap: 4px;
}

.plp .product-card .name {
  grid-area: name;
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--color-primary);
}

.plp .product-card:hover .name {
  color: var(--color-link);
}

.plp .product-card .price {
  grid-area: price;
  margin-top: 0;
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 500;
  color: var(--color-primary);
}

.plp .product-card .color-line {
  grid-area: color;
  font-size: 13px;
  color: var(--color-link);
  text-transform: capitalize;
}

.plp .product-card .blurb {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.45;
  color: var(--color-primary);
}

.plp .swatch {
  width: 16px;
  height: 16px;
  border-radius: 0;
}

/* ---------- PDP mosaic ---------- */
.pdp-mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.pdp-mosaic-shot {
  appearance: none;
  display: block;
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  background: var(--color-tertiary);
  cursor: zoom-in;
  overflow: hidden;
}

.pdp-mosaic img,
.pdp-mosaic-shot img {
  width: 100%;
  aspect-ratio: 1 / 1.12;
  object-fit: cover;
  background: var(--color-tertiary);
  transition: transform 0.45s ease;
}

@media (hover: hover) {
  .pdp-mosaic-shot:hover img {
    transform: scale(1.045);
  }
}

.pdp-info {
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.pdp-info .lede {
  font-size: 14px;
  line-height: 1.55;
  color: var(--color-secondary);
  margin: 10px 0 0;
  max-width: 34em;
}

.pdp-info .field-label {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--color-primary);
  margin-top: 0;
}

.color-label,
.size-label-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-top: 22px;
}

.size-label-row .field-label {
  margin: 0;
}

.link-quiet {
  font-family: var(--font-sans);
  font-size: 13px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--color-primary);
  border-bottom: 1px solid currentColor;
  background: none;
  border-top: 0;
  border-left: 0;
  border-right: 0;
  padding: 0 0 1px;
  cursor: pointer;
}

.link-quiet:hover {
  color: var(--color-link);
}

.pdp-info .swatches {
  margin-top: 12px;
  margin-bottom: 8px;
  gap: 10px;
}

.pdp-info .swatch {
  width: 28px;
  height: 28px;
  border: 2px solid transparent;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12);
}

.pdp-info .swatch.is-on {
  border-color: var(--color-primary);
  box-shadow: inset 0 0 0 2px #fff;
}

.btn-amazon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  background: #2f6fb8;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  padding: 14px 20px;
  margin-top: 4px;
  border-radius: 0;
  transition: background 0.2s ease;
}

.btn-amazon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.btn-amazon:hover {
  background: #255a96;
}

.accordion {
  border-top: 1px solid var(--color-line);
  margin-top: 32px;
}

.accordion details {
  border-bottom: 1px solid var(--color-line);
}

.accordion summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 0;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.accordion summary::-webkit-details-marker {
  display: none;
}

.accordion summary::after {
  content: "";
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  background: url("../image/ic_jia.png") center / contain no-repeat;
}

.accordion details[open] summary::after {
  background-image: url("../image/ic_jian.png");
}

.accordion .acc-body {
  padding: 0 0 18px;
  color: #4a4a4a;
  font-size: 14px;
  line-height: 1.6;
}

.accordion .acc-body li {
  margin: 0 0 6px 18px;
}

.pdp-related {
  padding: 8px 0 88px;
}

.pdp-related .section-title {
  font-family: var(--font-serif);
  font-size: clamp(24px, 2.4vw, 30px);
  font-weight: 500;
  letter-spacing: -0.03em;
  margin-bottom: 32px;
}

.pdp-related .blurb,
.pdp-related .swatches,
.pdp-related .flag,
.pdp-related .size-overlay {
  display: none;
}

.pdp-related .product-card .name {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--color-primary);
}

.pdp-related .product-card:hover .name {
  color: var(--color-link);
}

.pdp-related .product-card .color-line {
  font-size: 14px;
  color: var(--color-secondary);
}

.pdp-related .product-card .price {
  margin-top: 6px;
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 500;
}

/* ---------- Modal ---------- */
.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(54, 54, 54, 0.28);
}

.modal-panel {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(1040px, 70%);
  max-height: 100%;
  overflow: auto;
  background: #fff;
  padding: 36px 48px 56px;
  box-shadow: 8px 0 32px rgba(0, 0, 0, 0.1);
}

.modal-head {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  background: #fff;
  padding: 4px 0 8px;
}

.modal-close {
  flex: none;
  width: 44px;
  height: 44px;
  margin: -6px -10px 0 0;
  border: 0;
  background: none;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  color: var(--color-primary);
}

.modal-close:hover {
  color: var(--color-link);
}

.modal-panel:focus {
  outline: none;
}

.modal-close:focus-visible {
  outline: 2px solid var(--color-link);
  outline-offset: 2px;
}

.modal-panel h2 {
  font-family: var(--font-serif);
  font-size: 40px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 8px 0 14px;
}

.modal-tabs,
.modal-kinds {
  display: flex;
  gap: 28px;
  border-bottom: 1px solid var(--color-line);
  margin-bottom: 28px;
}

.modal-kinds {
  margin-bottom: 16px;
}

.modal-tabs button,
.modal-kinds button {
  border: 0;
  background: none;
  padding: 8px 0 12px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-grey);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}

.modal-tabs button.is-on,
.modal-kinds button.is-on {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
}

.size-chart-title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}

.size-chart-wrap {
  overflow-x: auto;
}

.modal-panel table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin-bottom: 12px;
}

.modal-panel th,
.modal-panel td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--color-line);
  white-space: nowrap;
}

.modal-panel th {
  background: var(--color-tertiary);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--color-primary);
}

.modal-panel td:first-child {
  font-weight: 500;
}

.size-chart-note {
  font-size: 13px;
  color: var(--color-secondary);
  margin: 0;
  line-height: 1.5;
}

.how-to-measure {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
  margin-top: 36px;
}

.measure-steps {
  list-style: none;
  counter-reset: measure;
}

.measure-steps li {
  counter-increment: measure;
  display: grid;
  grid-template-columns: 22px 1fr;
  column-gap: 8px;
  margin-bottom: 18px;
}

.measure-steps li::before {
  content: counter(measure);
  font-weight: 500;
  line-height: 1.45;
}

.measure-steps strong {
  font-weight: 600;
  line-height: 1.45;
}

.measure-steps p {
  grid-column: 2;
  margin: 4px 0 0;
  font-size: 14px;
  color: var(--color-secondary);
  line-height: 1.55;
}

.measure-figure {
  margin: 0;
}

.measure-figure img {
  display: block;
  width: 100%;
  max-width: 420px;
  height: auto;
  margin-left: auto;
}

.measure-figure-sm img {
  max-width: 340px;
}

.measure-figure-tall img {
  width: auto;
  max-width: 200px;
  max-height: 480px;
  margin-left: auto;
  margin-right: auto;
}

.size-guide-kind[hidden] {
  display: none;
}

/* ---------- PDP zoom lightbox ---------- */
.zoom-lightbox[hidden] {
  display: none;
}

.zoom-lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}

.zoom-lightbox-stage {
  position: relative;
  max-width: calc(100vw - 160px);
  max-height: calc(100vh - 48px);
}

.zoom-lightbox-stage img {
  width: auto;
  height: auto;
  max-width: calc(100vw - 160px);
  max-height: calc(100vh - 48px);
  object-fit: contain;
  user-select: none;
}

.zoom-lightbox-count {
  position: absolute;
  top: 22px;
  left: 28px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.zoom-lightbox-close,
.zoom-lightbox-nav {
  position: absolute;
  z-index: 2;
  border: 0;
  background: none;
  cursor: pointer;
  color: var(--color-primary);
  line-height: 1;
}

.zoom-lightbox-close {
  top: 14px;
  right: 18px;
  width: 44px;
  height: 44px;
  font-size: 32px;
}

.zoom-lightbox-nav {
  top: 50%;
  width: 48px;
  height: 48px;
  transform: translateY(-50%);
  font-size: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-secondary);
}

.zoom-lightbox-nav:hover {
  color: var(--color-primary);
}

.zoom-lightbox-prev {
  left: 10px;
}

.zoom-lightbox-next {
  right: 10px;
}

.zoom-lightbox-nav[hidden] {
  display: none;
}

@media (max-width: 900px) {
  .zoom-lightbox-stage,
  .zoom-lightbox-stage img {
    max-width: calc(100vw - 24px);
    max-height: calc(100vh - 72px);
  }

  .zoom-lightbox-nav {
    width: 40px;
    height: 40px;
    font-size: 34px;
  }

  .zoom-lightbox-prev {
    left: 0;
  }

  .zoom-lightbox-next {
    right: 0;
  }

  .zoom-lightbox-count {
    top: 16px;
    left: 16px;
  }

  .modal-panel {
    width: 100%;
    padding: 28px 20px 40px;
  }

  .modal-panel h2 {
    font-size: 32px;
  }

  .how-to-measure {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .measure-figure img {
    margin-left: 0;
    max-width: 360px;
  }

  .measure-figure-sm img {
    max-width: 280px;
  }

  .measure-figure-tall img {
    max-width: 180px;
    max-height: 400px;
    margin-left: 0;
  }

  .modal-panel th,
  .modal-panel td {
    padding: 10px 8px;
    font-size: 13px;
  }
}

/* ---------- Page banners ---------- */
.page-banner {
  margin-top: var(--header-h);
  height: 380px;
  position: relative;
  overflow: hidden;
}

.page-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-banner .copy {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background: rgba(15, 33, 48, 0.32);
  padding: 24px;
}

.page-banner h1 {
  font-family: var(--font-serif);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 500;
  letter-spacing: -0.03em;
}

.page-banner .eyebrow {
  color: #fff;
  margin-top: 14px;
}

.page-banner.about-banner {
  height: 480px;
}

.page-banner.contact-banner {
  height: 480px;
}

.page-banner.contact-banner h1 {
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: 0.14em;
  font-size: clamp(28px, 4vw, 42px);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
}

.prose-commitment p {
  margin-bottom: 8px;
  line-height: 1.7;
}

.prose-commitment p + p {
  margin-bottom: 0;
}

.company-legal {
  margin: 16px 0 0;
  display: grid;
  gap: 12px;
}

.company-legal dt {
  margin: 0 0 2px;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-secondary);
}

.company-legal dd {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-primary);
}

.split.reverse {
  direction: rtl;
}

.split.reverse > * {
  direction: ltr;
}

.contact-section {
  padding: calc(var(--header-h) + 72px) 0 80px;
}

.contact-intro {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 56px;
  padding: 0 8px;
}

.contact-intro h1 {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4vw, 40px);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--color-primary);
}

.contact-intro p {
  margin-top: 16px;
  font-size: 12px;
  line-height: 1.7;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-grey);
  overflow-wrap: break-word;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(320px, 380px) minmax(0, 1fr);
  gap: 48px 56px;
  align-items: start;
}

.contact-aside {
  display: flex;
  flex-direction: column;
  gap: 36px;
  padding-top: 6px;
}

.contact-info-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-icon {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #f6ddd6;
  color: #e39a88;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-icon svg {
  width: 24px;
  height: 24px;
  display: block;
}

.contact-info-row h2,
.contact-form h2 {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  margin-bottom: 8px;
  color: var(--color-primary);
}

.contact-info-row p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-secondary);
  overflow-wrap: break-word;
}

.contact-info-row a {
  color: var(--color-secondary);
}

.contact-info-row a:hover {
  color: var(--color-link);
}

.contact-form {
  display: grid;
  gap: 22px;
}

.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.contact-form label {
  display: block;
  font-size: 14px;
  font-weight: 400;
  color: var(--color-primary);
}

.contact-form input,
.contact-form textarea {
  display: block;
  width: 100%;
  margin-top: 8px;
  border: 1px solid var(--color-line-strong);
  background: #fff;
  padding: 12px 14px;
  font-size: 14px;
  color: var(--color-primary);
  transition: border-color 0.2s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #b7b7b7;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--color-primary);
  outline: none;
}

.contact-form textarea {
  min-height: 220px;
  resize: vertical;
}

.contact-submit {
  justify-self: start;
  margin-top: 6px;
  background: #d0122d;
  color: #fff;
  border: 0;
  padding: 14px 36px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease;
}

.contact-submit:hover {
  background: #b40f26;
}

@media (max-width: 1024px) {
  .plp {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 32px;
  }

  .plp-side {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 20px;
    align-items: baseline;
  }

  .plp-side h3 {
    width: 100%;
    margin-bottom: 8px;
  }

  .plp-side a {
    margin: 0;
    padding: 4px 0;
  }

  .product-grid.cols-3 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .cat-hero {
    height: 220px;
  }

  .pdp-info {
    position: static;
  }

  .contact-section {
    padding: calc(var(--header-h) + 40px) 0 56px;
  }

  .contact-intro {
    margin-bottom: 40px;
  }

  .contact-intro h1 {
    font-size: 28px;
  }

  .contact-intro p {
    font-size: 11px;
    letter-spacing: 0.04em;
    padding: 0 10px;
  }

  .contact-layout,
  .contact-form-row {
    grid-template-columns: 1fr;
  }

  .contact-layout {
    gap: 36px;
  }

  .page-banner {
    height: 260px;
  }

  .page-banner.about-banner,
  .page-banner.contact-banner {
    height: 320px;
  }

  .size-overlay {
    display: none;
  }
}

@media (max-width: 620px) {
  .pdp-mosaic,
  .product-grid.cols-3 {
    grid-template-columns: 1fr 1fr;
  }

  .size-row button {
    flex: 1 1 calc(33.33% - 8px);
    min-width: 88px;
  }
}

/* ---------- Cookie preferences ---------- */
.cookie-modal[hidden] {
  display: none;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.cookie-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 33, 48, 0.55);
}

.cookie-modal-panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 640px;
  min-width: 0;
  max-height: calc(100vh - 32px);
  overflow: hidden;
  background: #fff;
  padding: 28px 32px 24px;
  box-shadow: 0 18px 48px rgba(15, 33, 48, 0.22);
}

.cookie-modal-panel:focus {
  outline: none;
}

.cookie-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex: none;
}

.cookie-modal-head h2 {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--color-primary);
  margin: 0;
}

.cookie-modal-head .modal-close {
  margin: -8px -10px 0 0;
}

.cookie-modal-body {
  overflow: auto;
  flex: 1 1 auto;
  min-width: 0;
  margin: 16px 0 8px;
  padding-right: 4px;
}

.cookie-modal-intro {
  margin: 0 0 22px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--color-secondary);
  overflow-wrap: break-word;
}

.cookie-pref {
  display: grid;
  grid-template-columns: 108px 1fr auto;
  gap: 12px 16px;
  align-items: start;
  padding: 14px 0;
}

.cookie-pref + .cookie-pref {
  border-top: 1px solid var(--color-line);
}

.cookie-pref-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-primary);
  line-height: 1.4;
}

.cookie-pref-text {
  margin: 0;
  min-width: 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--color-secondary);
  overflow-wrap: break-word;
}

.cookie-toggle {
  flex: none;
  min-width: 52px;
  height: 28px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: var(--color-line-strong);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  line-height: 28px;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s ease;
}

.cookie-toggle.is-on {
  background: var(--color-brand);
}

.cookie-toggle:focus-visible {
  outline: 2px solid var(--color-link);
  outline-offset: 2px;
}

.cookie-modal-foot {
  flex: none;
  padding-top: 18px;
}

.cookie-modal-foot .btn-dark {
  width: 100%;
  text-align: center;
}

body.cookie-modal-open {
  overflow: hidden;
}

@media (max-width: 720px) {
  .cookie-modal-panel {
    padding: 22px 18px 18px;
  }

  .cookie-modal-head h2 {
    font-size: 24px;
  }

  .cookie-pref {
    grid-template-columns: 1fr auto;
  }

  .cookie-pref-label {
    grid-column: 1;
  }

  .cookie-toggle {
    grid-column: 2;
    grid-row: 1;
  }

  .cookie-pref-text {
    grid-column: 1 / -1;
  }
}
