/* ============================================================================
   Hollis & Hem — style.css
   ----------------------------------------------------------------------------
   A single mobile-first stylesheet for the whole storefront.

   Contents
     01  Design tokens
     02  Reset and base elements
     03  Typography
     04  Layout helpers
     05  Buttons and form controls
     06  Skip link, announcement bar, header, navigation
     07  Footer
     08  Cards, grids and product tiles
     09  Home page sections
     10  Shop: filters, toolbar, results
     11  Product detail
     12  Cart
     13  Checkout
     14  Policies, FAQ, accordions, tables
     15  Contact, about, size guide, 404
     16  Cookie notice and toasts
     17  Responsive breakpoints (480 / 768 / 1024 / 1280)
     18  Reduced motion and print
   ==========================================================================*/

/* ---------------------------------------------------------------------------
   01  Design tokens
   ------------------------------------------------------------------------ */
:root {
  /* Brand palette */
  --blush: #f6e7e4;
  --cream: #fbf8f4;
  --plum: #7a2e4a;
  --plum-dark: #5f2239;
  --plum-tint: #f2e3e8;
  --charcoal: #2b2b2b;
  --gold: #c9a96e;

  /* Applied colors */
  --bg: var(--cream);
  --bg-alt: #ffffff;
  --bg-soft: var(--blush);
  --text: var(--charcoal);
  --text-muted: #5c5550;
  --text-inverse: #ffffff;
  --border: #e4dbd2;
  --border-strong: #cbbfb3;
  /* Borders that identify an interactive control must clear 3:1 against the
     page background (WCAG 1.4.11). This one measures 3.6:1 on cream. */
  --border-input: #8e8075;
  --accent: var(--plum);
  --accent-contrast: #ffffff;

  /* Status colors (contrast-checked against white/cream) */
  --success: #1f6b4a;
  --success-bg: #e8f3ed;
  --error: #a3261f;
  --error-bg: #fbeceb;
  --info-bg: #eef2f7;

  /* Typography */
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "DM Sans", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;

  --step--1: 0.875rem;
  --step-0: 1rem;
  --step-1: 1.125rem;
  --step-2: 1.375rem;
  --step-3: 1.75rem;
  --step-4: 2.125rem;
  --step-5: 2.75rem;

  /* Spacing scale */
  --space-3xs: 0.25rem;
  --space-2xs: 0.5rem;
  --space-xs: 0.75rem;
  --space-s: 1rem;
  --space-m: 1.5rem;
  --space-l: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;

  /* Shape */
  --radius-s: 8px;
  --radius-m: 12px;
  --radius-l: 20px;
  --radius-pill: 999px;

  --shadow-s: 0 1px 2px rgba(43, 43, 43, 0.06), 0 2px 8px rgba(43, 43, 43, 0.04);
  --shadow-m: 0 4px 12px rgba(43, 43, 43, 0.08), 0 12px 28px rgba(43, 43, 43, 0.06);
  --shadow-l: 0 18px 40px rgba(43, 43, 43, 0.12);

  --transition: 180ms ease;

  /* Layout */
  --container: 1200px;
  --container-narrow: 760px;
  --header-height: 68px;
}

/* ---------------------------------------------------------------------------
   02  Reset and base elements
   ------------------------------------------------------------------------ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
picture,
svg,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

ul,
ol {
  margin: 0 0 var(--space-s);
  padding-left: 1.25rem;
}

li + li {
  margin-top: var(--space-3xs);
}

a {
  color: var(--plum);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--plum-dark);
}

hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: var(--space-l) 0;
}

/* Visible focus for every interactive element (WCAG 2.4.7). */
:focus-visible {
  outline: 3px solid var(--plum);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Headings we move focus to programmatically (checkout steps, the payment
   result) should not draw a focus ring for mouse users — keyboard users still
   get one through :focus-visible above. */
[tabindex="-1"]:focus:not(:focus-visible) {
  outline: none;
}

/* ---------------------------------------------------------------------------
   03  Typography
   ------------------------------------------------------------------------ */
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--charcoal);
  margin: 0 0 var(--space-s);
  letter-spacing: -0.01em;
}

h1 {
  font-size: var(--step-4);
}
h2 {
  font-size: var(--step-3);
}
h3 {
  font-size: var(--step-2);
}
h4 {
  font-size: var(--step-1);
}

p {
  margin: 0 0 var(--space-s);
  max-width: 72ch;
}

small,
.text-small {
  font-size: var(--step--1);
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--plum);
  margin: 0 0 var(--space-2xs);
}

.lede {
  font-size: var(--step-1);
  color: var(--text-muted);
  max-width: 62ch;
}

.muted {
  color: var(--text-muted);
}

.section-head {
  margin-bottom: var(--space-l);
}

.section-head p {
  color: var(--text-muted);
}

.section-head--center {
  text-align: center;
}

.section-head--center p {
  margin-left: auto;
  margin-right: auto;
}

/* Screen-reader-only text that remains focusable when needed. */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------------------------------------------------------------------------
   04  Layout helpers
   ------------------------------------------------------------------------ */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--space-s);
}

.container--narrow {
  max-width: var(--container-narrow);
}

.section {
  padding-block: var(--space-xl);
}

.section--tight {
  padding-block: var(--space-l);
}

.section--soft {
  background-color: var(--bg-soft);
}

.section--white {
  background-color: var(--bg-alt);
}

.stack > * + * {
  margin-top: var(--space-s);
}

.cluster {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2xs);
  align-items: center;
}

.grid {
  display: grid;
  gap: var(--space-m);
}

/* Grid and flex children default to min-width:auto, so a wide child (a data
   table, a long URL) can push a column past the viewport. Opt every layout
   grid out of that so nothing ever causes a horizontal scrollbar. */
.grid > *,
.shop-layout > *,
.product-layout > *,
.cart-layout > *,
.checkout-layout > *,
.policy-layout > *,
.split > * {
  min-width: 0;
}

.table-wrap {
  max-width: 100%;
}

.breadcrumbs {
  font-size: var(--step--1);
  color: var(--text-muted);
  padding-block: var(--space-s);
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3xs) var(--space-2xs);
  list-style: none;
  margin: 0;
  padding: 0;
}

.breadcrumbs li + li::before {
  content: "/";
  margin-right: var(--space-2xs);
  color: var(--border-strong);
}

.breadcrumbs li + li {
  margin-top: 0;
}

.page-header {
  background-color: var(--bg-soft);
  padding-block: var(--space-l) var(--space-xl);
}

.page-header h1 {
  margin-bottom: var(--space-2xs);
}

/* ---------------------------------------------------------------------------
   05  Buttons and form controls
   ------------------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2xs);
  min-height: 46px;
  padding: 0.7rem 1.4rem;
  border: 1px solid transparent;
  border-radius: var(--radius-s);
  font-family: var(--font-body);
  font-size: var(--step-0);
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--transition), color var(--transition),
    border-color var(--transition), transform var(--transition),
    box-shadow var(--transition);
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background-color: var(--plum);
  color: var(--accent-contrast);
}

.btn--primary:hover {
  background-color: var(--plum-dark);
  color: var(--accent-contrast);
}

.btn--secondary {
  background-color: transparent;
  border-color: var(--plum);
  color: var(--plum);
}

.btn--secondary:hover {
  background-color: var(--plum-tint);
  color: var(--plum-dark);
}

.btn--quiet {
  background-color: transparent;
  border-color: var(--border-strong);
  color: var(--text);
}

.btn--quiet:hover {
  border-color: var(--charcoal);
  color: var(--charcoal);
}

.btn--block {
  width: 100%;
}

.btn--small {
  min-height: 38px;
  padding: 0.4rem 0.9rem;
  font-size: var(--step--1);
}

.btn[disabled],
.btn[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

/* Forms */
.field {
  margin-bottom: var(--space-s);
}

.field label,
.fieldset-legend {
  display: block;
  font-size: var(--step--1);
  font-weight: 600;
  margin-bottom: var(--space-3xs);
  color: var(--charcoal);
}

.field .hint {
  display: block;
  font-size: var(--step--1);
  color: var(--text-muted);
  margin-top: var(--space-3xs);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="search"],
input[type="number"],
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 0.6rem 0.8rem;
  font-family: inherit;
  font-size: var(--step-0);
  color: var(--text);
  background-color: #fff;
  border: 1px solid var(--border-input);
  border-radius: var(--radius-s);
  transition: border-color var(--transition), box-shadow var(--transition);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

input:hover,
select:hover,
textarea:hover {
  border-color: var(--charcoal);
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid var(--plum);
  outline-offset: 1px;
  border-color: var(--plum);
}

input[aria-invalid="true"],
select[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-color: var(--error);
  background-color: var(--error-bg);
}

.field-error {
  display: block;
  margin-top: var(--space-3xs);
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--error);
}

.field-error:empty {
  display: none;
}

fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 var(--space-m);
}

legend {
  padding: 0;
}

.form-status {
  margin-top: var(--space-s);
  padding: var(--space-s);
  border-radius: var(--radius-s);
  border: 1px solid transparent;
  font-weight: 600;
}

.form-status:empty {
  display: none;
}

.form-status--success {
  background-color: var(--success-bg);
  border-color: var(--success);
  color: var(--success);
}

.form-status--error {
  background-color: var(--error-bg);
  border-color: var(--error);
  color: var(--error);
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2xs);
  font-size: var(--step--1);
}

.checkbox input {
  width: 20px;
  height: 20px;
  min-height: 0;
  margin-top: 2px;
  flex: 0 0 auto;
  accent-color: var(--plum);
}

.checkbox label {
  font-weight: 400;
  margin: 0;
  font-size: var(--step--1);
}

/* ---------------------------------------------------------------------------
   06  Skip link, announcement bar, header, navigation
   ------------------------------------------------------------------------ */
.skip-link {
  position: absolute;
  left: var(--space-s);
  top: -100px;
  z-index: 200;
  padding: 0.75rem 1.25rem;
  background-color: var(--plum);
  color: #fff;
  border-radius: 0 0 var(--radius-s) var(--radius-s);
  font-weight: 600;
  text-decoration: none;
  transition: top var(--transition);
}

.skip-link:focus {
  top: 0;
  color: #fff;
}

.announcement {
  background-color: var(--plum);
  color: #fff;
  text-align: center;
  font-size: var(--step--1);
  padding: 0.55rem var(--space-s);
}

.announcement p {
  margin: 0;
  max-width: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(251, 248, 244, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-s);
  min-height: var(--header-height);
}

.logo {
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-weight: 700;
  color: var(--charcoal);
  text-decoration: none;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.logo:hover {
  color: var(--plum);
}

.logo small {
  display: none;
}

.site-nav {
  display: none;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: var(--space-m);
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav li + li {
  margin-top: 0;
}

.site-nav a {
  display: inline-block;
  padding: 0.5rem 0;
  color: var(--charcoal);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--plum);
  border-bottom-color: var(--plum);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3xs);
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3xs);
  min-width: 44px;
  min-height: 44px;
  padding: 0 0.5rem;
  background: none;
  border: 0;
  border-radius: var(--radius-s);
  color: var(--charcoal);
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--transition), color var(--transition);
}

.icon-btn:hover {
  background-color: var(--blush);
  color: var(--plum);
}

.icon-btn svg {
  width: 22px;
  height: 22px;
}

.cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  background-color: var(--plum);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
  border-radius: var(--radius-pill);
}

/* Search panel */
.search-panel {
  display: none;
  border-top: 1px solid var(--border);
  background-color: var(--bg-alt);
  padding-block: var(--space-s);
}

.search-panel[data-open="true"] {
  display: block;
}

.search-panel form {
  display: flex;
  gap: var(--space-2xs);
}

/* Mobile menu */
.mobile-nav {
  display: none;
  border-top: 1px solid var(--border);
  background-color: var(--bg-alt);
  padding-block: var(--space-s);
}

.mobile-nav[data-open="true"] {
  display: block;
}

.mobile-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-nav li + li {
  margin-top: 0;
  border-top: 1px solid var(--border);
}

.mobile-nav a {
  display: block;
  padding: 0.85rem 0;
  color: var(--charcoal);
  font-weight: 500;
  text-decoration: none;
}

.mobile-nav a:hover,
.mobile-nav a[aria-current="page"] {
  color: var(--plum);
}

/* ---------------------------------------------------------------------------
   07  Footer
   ------------------------------------------------------------------------ */
.site-footer {
  background-color: var(--charcoal);
  color: #e9e4de;
  padding-block: var(--space-xl) var(--space-m);
  margin-top: var(--space-2xl);
}

.site-footer h2,
.site-footer h3 {
  color: #fff;
  font-family: var(--font-body);
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: var(--space-s);
}

.site-footer a {
  color: #e9e4de;
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li + li {
  margin-top: var(--space-2xs);
}

.footer-grid {
  display: grid;
  gap: var(--space-l);
  grid-template-columns: 1fr;
}

.footer-brand p {
  color: #c9c2bb;
  font-size: var(--step--1);
}

.footer-contact {
  font-size: var(--step--1);
  color: #d8d2cb;
}

.footer-contact dt {
  font-weight: 700;
  color: #fff;
  margin-top: var(--space-2xs);
}

.footer-contact dd {
  margin: 0;
}

.footer-newsletter input[type="email"] {
  background-color: #3a3a3a;
  border-color: #56504a;
  color: #fff;
}

.footer-newsletter input[type="email"]::placeholder {
  color: #b5aea7;
}

.footer-newsletter .btn--primary {
  background-color: var(--gold);
  color: #2b2b2b;
}

.footer-newsletter .btn--primary:hover {
  background-color: #b8965a;
  color: #2b2b2b;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2xs);
  list-style: none;
  padding: 0;
  margin: var(--space-s) 0 0;
}

.social-links li + li {
  margin-top: 0;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid #56504a;
  border-radius: var(--radius-pill);
  transition: background-color var(--transition), border-color var(--transition);
}

.social-links a:hover {
  background-color: var(--plum);
  border-color: var(--plum);
}

.social-links svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2xs) var(--space-m);
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #453f3a;
  margin-top: var(--space-xl);
  padding-top: var(--space-m);
  font-size: var(--step--1);
  color: #c9c2bb;
}

.footer-bottom ul {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2xs) var(--space-s);
}

.footer-bottom li + li {
  margin-top: 0;
}

.footer-note {
  margin-top: var(--space-s);
  font-size: 0.8125rem;
  color: #b5aea7;
}

/* ---------------------------------------------------------------------------
   08  Cards, grids and product tiles
   ------------------------------------------------------------------------ */
.card {
  background-color: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  padding: var(--space-m);
  box-shadow: var(--shadow-s);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-m) var(--space-s);
  list-style: none;
  margin: 0;
  padding: 0;
}

.product-grid > li + li {
  margin-top: 0;
}

.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background-color: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-m);
}

.product-card__media {
  position: relative;
  aspect-ratio: 3 / 4;
  background-color: var(--blush);
  overflow: hidden;
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.product-card:hover .product-card__media img {
  transform: scale(1.03);
}

.product-card__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-3xs);
  padding: var(--space-s);
  flex: 1 1 auto;
}

.product-card__title {
  font-family: var(--font-display);
  font-size: var(--step-1);
  margin: 0;
  line-height: 1.3;
}

.product-card__title a {
  color: var(--charcoal);
  text-decoration: none;
}

.product-card__title a:hover {
  color: var(--plum);
  text-decoration: underline;
}

/* The whole tile is clickable, but the link text stays the accessible name. */
.product-card__title a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.product-card {
  position: relative;
}

.product-card__meta {
  font-size: var(--step--1);
  color: var(--text-muted);
  margin: 0;
}

.product-card__price {
  font-weight: 700;
  font-size: var(--step-1);
  margin: auto 0 0;
  padding-top: var(--space-2xs);
}

.badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.badge--new {
  background-color: var(--plum);
  color: #fff;
}

.badge--bestseller {
  background-color: var(--gold);
  color: #2b2b2b;
}

.product-card__badges {
  position: absolute;
  top: var(--space-2xs);
  left: var(--space-2xs);
  display: flex;
  gap: var(--space-3xs);
  z-index: 1;
}

.swatch-row {
  display: flex;
  gap: 5px;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.swatch-row li + li {
  margin-top: 0;
}

.swatch {
  display: inline-block;
  width: 16px;
  height: 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
}

/* ---------------------------------------------------------------------------
   09  Home page sections
   ------------------------------------------------------------------------ */
.hero {
  background-color: var(--blush);
  overflow: hidden;
}

.hero__inner {
  display: grid;
  gap: var(--space-l);
  align-items: center;
  padding-block: var(--space-xl);
}

.hero__content h1 {
  font-size: var(--step-5);
  margin-bottom: var(--space-s);
}

.hero__content p {
  font-size: var(--step-1);
  color: var(--text-muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2xs);
  margin-top: var(--space-m);
}

.hero__media {
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: var(--shadow-l);
  aspect-ratio: 4 / 5;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__points {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-s) var(--space-m);
  margin: var(--space-m) 0 0;
  padding: 0;
  list-style: none;
  font-size: var(--step--1);
  color: var(--text-muted);
}

.hero__points li {
  display: flex;
  align-items: center;
  gap: var(--space-3xs);
  margin-top: 0;
}

.hero__points svg {
  width: 18px;
  height: 18px;
  color: var(--plum);
  flex: 0 0 auto;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-s);
  list-style: none;
  margin: 0;
  padding: 0;
}

.category-grid li + li {
  margin-top: 0;
}

.category-tile {
  position: relative;
  display: block;
  border-radius: var(--radius-m);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  text-decoration: none;
  background-color: var(--blush);
}

.category-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.category-tile:hover img {
  transform: scale(1.04);
}

.category-tile__label {
  position: absolute;
  inset: auto 0 0 0;
  padding: var(--space-m) var(--space-s) var(--space-s);
  background: linear-gradient(to top, rgba(28, 24, 22, 0.78), rgba(28, 24, 22, 0));
  color: #fff;
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 600;
}

.category-tile__label span {
  display: block;
  font-family: var(--font-body);
  font-size: var(--step--1);
  font-weight: 400;
  opacity: 0.9;
}

.value-grid {
  display: grid;
  gap: var(--space-m);
  grid-template-columns: 1fr;
  list-style: none;
  margin: 0;
  padding: 0;
}

.value-grid li + li {
  margin-top: 0;
}

.value-card {
  background-color: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  padding: var(--space-m);
  height: 100%;
}

.value-card svg {
  width: 28px;
  height: 28px;
  color: var(--plum);
  margin-bottom: var(--space-2xs);
}

.value-card h3 {
  font-size: var(--step-1);
  margin-bottom: var(--space-3xs);
}

.value-card p {
  margin: 0;
  font-size: var(--step--1);
  color: var(--text-muted);
}

.lookbook-grid {
  display: grid;
  gap: var(--space-s);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}

.lookbook-grid li + li {
  margin-top: 0;
}

.lookbook-card {
  border-radius: var(--radius-m);
  overflow: hidden;
  background-color: var(--bg-alt);
  border: 1px solid var(--border);
  height: 100%;
}

.lookbook-card img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}

.lookbook-card__body {
  padding: var(--space-s);
}

.lookbook-card__body h3 {
  font-size: var(--step-1);
  margin-bottom: var(--space-3xs);
}

.lookbook-card__body p {
  font-size: var(--step--1);
  color: var(--text-muted);
  margin: 0;
}

.review-grid {
  display: grid;
  gap: var(--space-m);
  grid-template-columns: 1fr;
  list-style: none;
  margin: 0;
  padding: 0;
}

.review-grid li + li {
  margin-top: 0;
}

.review-card {
  background-color: var(--bg-alt);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius-m);
  padding: var(--space-m);
  height: 100%;
}

.review-card blockquote {
  margin: 0 0 var(--space-s);
  font-size: var(--step-0);
  color: var(--text);
}

.review-card figcaption {
  font-size: var(--step--1);
  color: var(--text-muted);
}

.sample-note {
  font-size: var(--step--1);
  color: var(--text-muted);
  background-color: var(--info-bg);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-s);
  padding: var(--space-s);
}

.newsletter {
  background-color: var(--plum);
  color: #fff;
  border-radius: var(--radius-l);
  padding: var(--space-l);
}

.newsletter h2,
.newsletter h3 {
  color: #fff;
}

.newsletter p {
  color: #f2e3e8;
}

.newsletter form {
  display: grid;
  gap: var(--space-2xs);
  margin-top: var(--space-s);
  max-width: 460px;
}

.newsletter label {
  color: #fff;
}

.newsletter .field-error {
  color: #ffd9d6;
}

.newsletter .form-status--success {
  background-color: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

.trust-row {
  display: grid;
  gap: var(--space-s);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
}

.trust-row li {
  margin-top: 0;
  padding: var(--space-s);
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  background-color: var(--bg-alt);
  font-size: var(--step--1);
  color: var(--text-muted);
}

.trust-row strong {
  display: block;
  color: var(--charcoal);
  font-family: var(--font-display);
  font-size: var(--step-1);
}

/* ---------------------------------------------------------------------------
   10  Shop: filters, toolbar, results
   ------------------------------------------------------------------------ */
.shop-layout {
  display: grid;
  gap: var(--space-l);
  grid-template-columns: 1fr;
  align-items: start;
}

.filters {
  background-color: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  padding: var(--space-m);
}

.filters h2 {
  font-size: var(--step-1);
  margin-bottom: var(--space-s);
}

.filter-group {
  border-top: 1px solid var(--border);
  padding-top: var(--space-s);
  margin-top: var(--space-s);
}

.filter-group:first-of-type {
  border-top: 0;
  margin-top: 0;
  padding-top: 0;
}

.filter-group legend {
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--charcoal);
  margin-bottom: var(--space-2xs);
}

.filter-options {
  display: grid;
  gap: var(--space-3xs);
}

.filter-options--inline {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3xs);
}

.size-chip input,
.color-chip input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.size-chip label,
.color-chip label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 0.3rem 0.75rem;
  margin: 0;
  border: 1px solid var(--border-input);
  border-radius: var(--radius-pill);
  font-size: var(--step--1);
  font-weight: 500;
  cursor: pointer;
  transition: background-color var(--transition), border-color var(--transition),
    color var(--transition);
}

.size-chip label:hover,
.color-chip label:hover {
  border-color: var(--plum);
  color: var(--plum);
}

.size-chip input:checked + label,
.color-chip input:checked + label {
  background-color: var(--plum);
  border-color: var(--plum);
  color: #fff;
}

.size-chip input:focus-visible + label,
.color-chip input:focus-visible + label {
  outline: 3px solid var(--plum);
  outline-offset: 2px;
}

.shop-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2xs);
  margin-bottom: var(--space-m);
}

.shop-toolbar .result-count {
  font-size: var(--step--1);
  color: var(--text-muted);
  margin: 0;
}

.sort-control {
  display: flex;
  align-items: center;
  gap: var(--space-2xs);
}

.sort-control label {
  margin: 0;
  white-space: nowrap;
}

.sort-control select {
  min-width: 190px;
}

.active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3xs);
  list-style: none;
  margin: 0 0 var(--space-s);
  padding: 0;
}

.active-filters li {
  margin-top: 0;
}

.active-filters button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 0.2rem 0.7rem;
  background-color: var(--plum-tint);
  border: 1px solid var(--plum);
  border-radius: var(--radius-pill);
  color: var(--plum);
  font-size: var(--step--1);
  font-weight: 600;
  cursor: pointer;
}

.active-filters button:hover {
  background-color: var(--plum);
  color: #fff;
}

.empty-state {
  text-align: center;
  padding: var(--space-xl) var(--space-s);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-m);
  background-color: var(--bg-alt);
}

/* ---------------------------------------------------------------------------
   11  Product detail
   ------------------------------------------------------------------------ */
.product-layout {
  display: grid;
  gap: var(--space-l);
  grid-template-columns: 1fr;
  align-items: start;
}

.gallery__main {
  border-radius: var(--radius-m);
  overflow: hidden;
  background-color: var(--blush);
  aspect-ratio: 3 / 4;
}

.gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery__thumbs {
  display: flex;
  gap: var(--space-2xs);
  margin-top: var(--space-2xs);
  padding: 0;
  list-style: none;
  overflow-x: auto;
}

.gallery__thumbs li {
  margin-top: 0;
  flex: 0 0 84px;
}

.gallery__thumbs button {
  display: block;
  width: 100%;
  padding: 0;
  border: 2px solid transparent;
  border-radius: var(--radius-s);
  overflow: hidden;
  background: none;
  cursor: pointer;
}

.gallery__thumbs button[aria-current="true"] {
  border-color: var(--plum);
}

.gallery__thumbs img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.product-info__price {
  font-size: var(--step-3);
  font-weight: 700;
  font-family: var(--font-display);
  margin: 0 0 var(--space-3xs);
}

.product-info__tax-note {
  font-size: var(--step--1);
  color: var(--text-muted);
  margin-bottom: var(--space-m);
}

.option-group {
  margin-bottom: var(--space-m);
}

.option-group__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-2xs);
  margin-bottom: var(--space-2xs);
}

.option-group__head .selected-value {
  font-size: var(--step--1);
  color: var(--text-muted);
}

.color-options {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2xs);
  list-style: none;
  margin: 0;
  padding: 0;
}

.color-options li {
  margin-top: 0;
}

.color-options input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.color-options label {
  display: block;
  width: 34px;
  height: 34px;
  margin: 0;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-input);
  cursor: pointer;
  box-shadow: inset 0 0 0 3px #fff;
  transition: box-shadow var(--transition), border-color var(--transition);
}

.color-options input:checked + label {
  border-color: var(--plum);
  box-shadow: inset 0 0 0 3px #fff, 0 0 0 2px var(--plum);
}

.color-options input:focus-visible + label {
  outline: 3px solid var(--plum);
  outline-offset: 2px;
}

.qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border-input);
  border-radius: var(--radius-s);
  overflow: hidden;
  background-color: #fff;
}

.qty-control button {
  width: 44px;
  height: 46px;
  border: 0;
  background: none;
  font-size: var(--step-1);
  color: var(--charcoal);
  cursor: pointer;
}

.qty-control button:hover {
  background-color: var(--blush);
  color: var(--plum);
}

.qty-control input {
  width: 56px;
  min-height: 46px;
  text-align: center;
  border: 0;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  border-radius: 0;
}

.add-to-cart-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2xs);
  align-items: center;
  margin-bottom: var(--space-s);
}

.add-to-cart-row .btn {
  flex: 1 1 200px;
}

.shipping-summary {
  background-color: var(--blush);
  border-radius: var(--radius-m);
  padding: var(--space-s);
  font-size: var(--step--1);
  margin-bottom: var(--space-m);
}

.shipping-summary ul {
  margin: 0;
  padding-left: 1.1rem;
}

/* ---------------------------------------------------------------------------
   12  Cart
   ------------------------------------------------------------------------ */
.cart-layout {
  display: grid;
  gap: var(--space-l);
  grid-template-columns: 1fr;
  align-items: start;
}

.cart-lines {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--border);
}

.cart-lines li {
  margin-top: 0;
  border-bottom: 1px solid var(--border);
  padding-block: var(--space-m);
}

.cart-line {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: var(--space-s);
  align-items: start;
}

.cart-line__media {
  border-radius: var(--radius-s);
  overflow: hidden;
  background-color: var(--blush);
}

.cart-line__media img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.cart-line__title {
  font-family: var(--font-display);
  font-size: var(--step-1);
  margin: 0 0 var(--space-3xs);
}

.cart-line__title a {
  color: var(--charcoal);
  text-decoration: none;
}

.cart-line__title a:hover {
  color: var(--plum);
  text-decoration: underline;
}

.cart-line__meta {
  font-size: var(--step--1);
  color: var(--text-muted);
  margin: 0 0 var(--space-2xs);
}

.cart-line__controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-s);
}

.link-button {
  background: none;
  border: 0;
  padding: 0;
  color: var(--plum);
  font: inherit;
  font-size: var(--step--1);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.link-button:hover {
  color: var(--plum-dark);
}

.order-summary {
  background-color: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  padding: var(--space-m);
  box-shadow: var(--shadow-s);
}

.order-summary h2 {
  font-size: var(--step-2);
}

.summary-rows {
  margin: 0 0 var(--space-s);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: var(--space-s);
  padding-block: var(--space-3xs);
  font-size: var(--step-0);
}

.summary-row dt {
  color: var(--text-muted);
}

.summary-row dd {
  margin: 0;
  font-variant-numeric: tabular-nums;
}

.summary-row--total {
  border-top: 1px solid var(--border);
  margin-top: var(--space-2xs);
  padding-top: var(--space-2xs);
  font-size: var(--step-1);
  font-weight: 700;
}

.summary-row--total dt {
  color: var(--charcoal);
  font-weight: 700;
}

.summary-note {
  font-size: var(--step--1);
  color: var(--text-muted);
}

.policy-links {
  list-style: none;
  margin: var(--space-s) 0 0;
  padding: var(--space-s) 0 0;
  border-top: 1px solid var(--border);
  font-size: var(--step--1);
}

/* ---------------------------------------------------------------------------
   13  Checkout
   ------------------------------------------------------------------------ */
.checkout-layout {
  display: grid;
  gap: var(--space-l);
  grid-template-columns: 1fr;
  align-items: start;
}

.checkout-steps {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2xs);
  list-style: none;
  margin: 0 0 var(--space-l);
  padding: 0;
  counter-reset: step;
}

.checkout-steps li {
  display: flex;
  align-items: center;
  gap: var(--space-3xs);
  margin-top: 0;
  font-size: var(--step--1);
  color: var(--text-muted);
}

.checkout-steps li::before {
  counter-increment: step;
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
  font-weight: 700;
  font-size: 0.8125rem;
}

.checkout-steps li[aria-current="step"] {
  color: var(--plum);
  font-weight: 700;
}

.checkout-steps li[aria-current="step"]::before {
  background-color: var(--plum);
  border-color: var(--plum);
  color: #fff;
}

.checkout-steps li[data-complete="true"]::before {
  background-color: var(--success);
  border-color: var(--success);
  color: #fff;
  content: "\2713";
}

.checkout-step {
  display: none;
}

.checkout-step[data-active="true"] {
  display: block;
}

.field-row {
  display: grid;
  gap: 0 var(--space-s);
  grid-template-columns: 1fr;
}

.shipping-methods {
  display: grid;
  gap: var(--space-2xs);
}

.method-card {
  position: relative;
}

.method-card input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.method-card label {
  display: flex;
  align-items: center;
  gap: var(--space-s);
  margin: 0;
  padding: var(--space-s);
  border: 1px solid var(--border-input);
  border-radius: var(--radius-m);
  background-color: #fff;
  font-size: var(--step-0);
  font-weight: 500;
  cursor: pointer;
  transition: border-color var(--transition), box-shadow var(--transition),
    background-color var(--transition);
}

.method-card label:hover {
  border-color: var(--plum);
}

.method-card input:checked + label {
  border-color: var(--plum);
  box-shadow: 0 0 0 1px var(--plum);
  background-color: var(--plum-tint);
}

.method-card input:focus-visible + label {
  outline: 3px solid var(--plum);
  outline-offset: 2px;
}

.method-card__text {
  flex: 1 1 auto;
}

.method-card__text strong {
  display: block;
}

.method-card__text span {
  font-size: var(--step--1);
  color: var(--text-muted);
  font-weight: 400;
}

.method-card__price {
  font-weight: 700;
  white-space: nowrap;
}

.method-card__icon {
  width: 40px;
  height: 28px;
  flex: 0 0 auto;
  border-radius: 4px;
  border: 1px solid var(--border);
  background-color: #fff;
  display: grid;
  place-items: center;
}

.method-card__icon svg {
  width: 26px;
  height: 18px;
}

.checkout-nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2xs);
  justify-content: space-between;
  margin-top: var(--space-m);
}

.secure-note {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2xs);
  font-size: var(--step--1);
  color: var(--text-muted);
  background-color: var(--info-bg);
  border-radius: var(--radius-s);
  padding: var(--space-s);
  margin-top: var(--space-s);
}

.secure-note svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  color: var(--success);
}

.demo-banner {
  background-color: #fff6e5;
  border: 1px solid var(--gold);
  border-radius: var(--radius-m);
  padding: var(--space-s) var(--space-m);
  margin-bottom: var(--space-l);
  font-size: var(--step--1);
}

.demo-banner strong {
  display: block;
  font-size: var(--step-0);
  margin-bottom: var(--space-3xs);
}

/* Processing + failure states */
.processing {
  display: none;
  text-align: center;
  padding: var(--space-xl) var(--space-s);
}

.processing[data-active="true"] {
  display: block;
}

.spinner {
  width: 46px;
  height: 46px;
  margin: 0 auto var(--space-s);
  border: 4px solid var(--border);
  border-top-color: var(--plum);
  border-radius: 50%;
  animation: spin 900ms linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.payment-failed {
  display: none;
  text-align: center;
  max-width: 560px;
  margin-inline: auto;
  padding: var(--space-xl) var(--space-m);
  background-color: var(--bg-alt);
  border: 1px solid var(--error);
  border-radius: var(--radius-m);
}

.payment-failed[data-active="true"] {
  display: block;
}

.payment-failed__icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-s);
  border-radius: var(--radius-pill);
  background-color: var(--error-bg);
  color: var(--error);
}

.payment-failed__icon svg {
  width: 34px;
  height: 34px;
}

.payment-failed h2 {
  color: var(--error);
}

.payment-failed .cluster {
  justify-content: center;
  margin-top: var(--space-m);
}

/* ---------------------------------------------------------------------------
   14  Policies, FAQ, accordions, tables
   ------------------------------------------------------------------------ */
.policy-layout {
  display: grid;
  gap: var(--space-l);
  grid-template-columns: 1fr;
  align-items: start;
}

.toc {
  background-color: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  padding: var(--space-m);
}

.toc h2 {
  font-size: var(--step-1);
  margin-bottom: var(--space-2xs);
}

.toc ol {
  margin: 0;
  padding-left: 1.2rem;
  font-size: var(--step--1);
}

.policy-body h2 {
  margin-top: var(--space-xl);
  padding-top: var(--space-s);
  border-top: 1px solid var(--border);
  scroll-margin-top: calc(var(--header-height) + var(--space-s));
}

.policy-body h2:first-of-type {
  margin-top: var(--space-l);
}

.policy-body h3 {
  font-size: var(--step-1);
  margin-top: var(--space-m);
}

.effective-date {
  display: inline-block;
  background-color: var(--blush);
  border-radius: var(--radius-pill);
  padding: 0.3rem 0.9rem;
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--plum);
}

.contact-block {
  background-color: var(--bg-alt);
  border: 1px solid var(--border);
  border-left: 3px solid var(--plum);
  border-radius: var(--radius-m);
  padding: var(--space-m);
  margin-top: var(--space-xl);
}

.contact-block h2 {
  border: 0;
  margin-top: 0;
  padding-top: 0;
  font-size: var(--step-2);
}

.contact-block dl {
  margin: 0;
  font-size: var(--step-0);
}

.contact-block dt {
  font-weight: 700;
  margin-top: var(--space-2xs);
}

.contact-block dd {
  margin: 0;
}

.owner-note {
  border: 1px dashed var(--border-strong);
  background-color: var(--info-bg);
  border-radius: var(--radius-s);
  padding: var(--space-s);
  font-size: var(--step--1);
  color: var(--text-muted);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  background-color: var(--bg-alt);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--step-0);
  min-width: 460px;
}

caption {
  text-align: left;
  padding: var(--space-s) var(--space-s) 0;
  font-size: var(--step--1);
  color: var(--text-muted);
}

th,
td {
  text-align: left;
  padding: 0.7rem var(--space-s);
  border-bottom: 1px solid var(--border);
}

thead th {
  background-color: var(--blush);
  font-size: var(--step--1);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

tbody tr:last-child td {
  border-bottom: 0;
}

/* Accordion */
.accordion {
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  overflow: hidden;
  background-color: var(--bg-alt);
}

.accordion + .accordion {
  margin-top: var(--space-2xs);
}

.accordion__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-s);
  width: 100%;
  padding: var(--space-s) var(--space-m);
  background: none;
  border: 0;
  font-family: var(--font-body);
  font-size: var(--step-0);
  font-weight: 600;
  text-align: left;
  color: var(--charcoal);
  cursor: pointer;
}

.accordion__trigger:hover {
  background-color: var(--blush);
  color: var(--plum);
}

.accordion__trigger::after {
  content: "";
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform var(--transition);
}

.accordion__trigger[aria-expanded="true"]::after {
  transform: rotate(225deg) translate(-2px, -2px);
}

.accordion__panel {
  padding: 0 var(--space-m) var(--space-m);
  border-top: 1px solid var(--border);
}

.accordion__panel[hidden] {
  display: none;
}

.accordion__panel > *:first-child {
  margin-top: var(--space-s);
}

/* ---------------------------------------------------------------------------
   15  Contact, about, size guide, 404
   ------------------------------------------------------------------------ */
.split {
  display: grid;
  gap: var(--space-l);
  grid-template-columns: 1fr;
  align-items: center;
}

.split__media img {
  width: 100%;
  border-radius: var(--radius-m);
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 2px solid var(--blush);
}

.timeline li {
  position: relative;
  margin: 0 0 var(--space-m);
  padding-left: var(--space-m);
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: var(--radius-pill);
  background-color: var(--plum);
}

.timeline h3 {
  font-size: var(--step-1);
  margin-bottom: var(--space-3xs);
}

.timeline p {
  margin: 0;
  color: var(--text-muted);
  font-size: var(--step--1);
}

.team-grid {
  display: grid;
  gap: var(--space-m);
  grid-template-columns: 1fr;
  list-style: none;
  margin: 0;
  padding: 0;
}

.team-grid li {
  margin-top: 0;
}

.team-card {
  background-color: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  overflow: hidden;
  height: 100%;
}

.team-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.team-card__body {
  padding: var(--space-m);
}

.team-card__body h3 {
  font-size: var(--step-1);
  margin-bottom: var(--space-3xs);
}

.team-card__body p {
  margin: 0;
  font-size: var(--step--1);
  color: var(--text-muted);
}

.error-page {
  text-align: center;
  padding-block: var(--space-3xl);
}

.error-page h1 {
  font-size: var(--step-5);
}

.error-code {
  font-family: var(--font-display);
  font-size: 4.5rem;
  line-height: 1;
  color: var(--plum);
  margin: 0 0 var(--space-s);
}

/* ---------------------------------------------------------------------------
   16  Cookie notice and toasts
   ------------------------------------------------------------------------ */
.cookie-notice {
  position: fixed;
  left: var(--space-s);
  right: var(--space-s);
  bottom: var(--space-s);
  z-index: 120;
  display: none;
  gap: var(--space-s);
  align-items: center;
  flex-wrap: wrap;
  padding: var(--space-m);
  background-color: #fff;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-l);
  font-size: var(--step--1);
}

.cookie-notice[data-open="true"] {
  display: flex;
}

.cookie-notice p {
  flex: 1 1 320px;
  margin: 0;
}

.cookie-notice .cluster {
  flex: 0 0 auto;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: var(--space-l);
  transform: translateX(-50%) translateY(20px);
  z-index: 130;
  max-width: min(92vw, 420px);
  padding: var(--space-s) var(--space-m);
  background-color: var(--charcoal);
  color: #fff;
  border-radius: var(--radius-s);
  box-shadow: var(--shadow-l);
  font-size: var(--step--1);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
}

.toast[data-open="true"] {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Keep the toast clear of the cookie notice while that is still showing. */
.cookie-notice[data-open="true"] ~ .toast {
  bottom: calc(var(--space-l) + 112px);
}

.toast a {
  color: #f6e7e4;
}

/* ---------------------------------------------------------------------------
   17  Responsive breakpoints
   ------------------------------------------------------------------------ */
@media (min-width: 480px) {
  .container {
    padding-inline: var(--space-m);
  }

  .field-row--2 {
    grid-template-columns: 1fr 1fr;
  }

  .newsletter form {
    grid-template-columns: 1fr auto;
    align-items: end;
  }

  .newsletter form .field {
    margin-bottom: 0;
  }

  .newsletter form .form-status {
    grid-column: 1 / -1;
  }
}

@media (min-width: 768px) {
  :root {
    --step-4: 2.5rem;
    --step-5: 3.25rem;
  }

  .section {
    padding-block: var(--space-2xl);
  }

  .logo small {
    display: block;
    font-family: var(--font-body);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: var(--text-muted);
  }

  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .value-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .review-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .lookbook-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .trust-row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .team-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero__inner {
    grid-template-columns: 1.05fr 0.95fr;
    padding-block: var(--space-2xl);
  }

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

  .cart-layout,
  .checkout-layout {
    grid-template-columns: minmax(0, 1.6fr) minmax(300px, 0.9fr);
  }

  .cart-line {
    grid-template-columns: 120px 1fr auto;
  }

  .newsletter {
    padding: var(--space-xl);
  }

  .field-row--3 {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .site-nav {
    display: block;
  }

  .nav-toggle {
    display: none;
  }

  .mobile-nav {
    display: none !important;
  }

  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .category-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .value-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr));
  }

  .shop-layout {
    grid-template-columns: 268px minmax(0, 1fr);
  }

  .product-layout {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: var(--space-xl);
  }

  .policy-layout {
    grid-template-columns: 260px minmax(0, 1fr);
    gap: var(--space-xl);
  }

  .toc {
    position: sticky;
    top: calc(var(--header-height) + var(--space-s));
  }

  .order-summary {
    position: sticky;
    top: calc(var(--header-height) + var(--space-s));
  }

  .gallery__main {
    position: sticky;
    top: calc(var(--header-height) + var(--space-s));
  }
}

@media (min-width: 1280px) {
  .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .section {
    padding-block: var(--space-3xl);
  }
}

/* ---------------------------------------------------------------------------
   18  Reduced motion and print
   ------------------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .product-card:hover,
  .product-card:hover .product-card__media img,
  .category-tile:hover img {
    transform: none;
  }
}

@media print {
  .site-header,
  .site-footer,
  .cookie-notice,
  .announcement,
  .skip-link,
  .toast {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  a::after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
  }
}
