/* ================================================================
   THE DIEGO DE NICOLA COLLECTION — style.css
   Shared component styles for all pages.
   All values reference tokens from tokens.css.
   Load order: tokens.css → style.css → page-specific overrides (if any)
================================================================ */

/* ============================================================
   RESET
============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

:root {
  --cart-drawer-width: min(436px, 100vw);
}

body {
  background-color: var(--color-page-bg);
  background-image: url('../img/fine-grain-bg.jpg');
  background-repeat: repeat;
  background-size: 250px 250px;
  color: var(--colours-brand-primary-brand);
  font-family: 'Plus Jakarta Sans', sans-serif;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* ============================================================
   SITE HEADER — base styles (shared)
   Figma: 1440×92, bg colours/Surface base/base-100 (#FAFAFA)
   Padding: layout/space/26 top/bottom, layout/space/150 left/right
============================================================ */
.site-header {
  width: 100%;
  height: 92px;
  background: var(--colours-Surface-base-base-100);
  display: flex;
  align-items: center;
  padding: var(--layout-space-26) var(--layout-space-150);
}

/* SHOP page variant: nav centred, no wordmark */
.site-header--shop {
  justify-content: center;
}

/* INTERIOR page variant: space-between (wordmark left, nav right) */
.site-header--interior {
  justify-content: flex-start;
}

.header-nav {
  display: flex;
  align-items: center;
}

/* Shop header-nav: 435px, gap 50px (menu ↔ cart), centred */
.site-header--shop .header-nav {
  gap: var(--layout-space-gap-46);   /* 50px — nearest is gap-46, or use raw */
  gap: 50px;
}

/* Interior header-nav: full 1140px, space-between */
.site-header--interior .header-nav {
  width: 100%;
  max-width: var(--layout-box-sizing-box-sizing-1140);
  margin-inline: auto;
  justify-content: space-between;
  gap: var(--layout-space-72);
}

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

.header-wordmark img {
  height: var(--icon-icon-size--16);
  width: auto;
  display: block;
}

.navigation-bar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 50px;
}

/* nav-menu: gap 56px between items */
.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--layout-space-56);
}

.nav-menu a {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: var(--typography-desktop-font-scale-display-font-size-display-11);
  font-weight: var(--typography-desktop-font-weight-font-weight-700);
  letter-spacing: 0.136em;  /* letter-spacing-800 = 1.5px ÷ 11px */
  text-transform: uppercase;
  color: var(--colours-brand-primary-brand);
  white-space: nowrap;
  line-height: 1;
  transition: color 0.15s;
}

.nav-menu a:hover {
  color: var(--colours-accent-accent-primary);
}

.nav-menu a.is-active {
  color: var(--colours-accent-accent-primary);
  font-weight: var(--typography-desktop-font-weight-font-weight-800);
}

/* nav-cart: 50×50, radius/radius-9999 */
.nav-cart {
  width: 50px;
  height: 50px;
  /* stroke colour = colours/border/border-primary → colours/brand/primary-brand = #1A1A1A */
  border: var(--border-border-100) solid var(--colours-border-border-primary);
  border-radius: var(--radius-radius-9999);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: border-color 0.2s;
}

.nav-cart:hover {
  border-color: var(--colours-border-border-focus);
}

.nav-cart svg { width: 20px; height: 20px; display: block; }

/* ============================================================
   PRODUCT GRID — shared between shop archive and product page
   "More From The Collection" section uses identical markup
============================================================ */

/* product-row: HORIZONTAL gap 12px */
.product-row {
  display: flex;
  gap: var(--layout-space-gap-12);
}

/* product-thumbnail: 275×479 */
.product-thumbnail {
  width: 275px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: var(--layout-space-10);
}

/* thumbnail-image: 275×305, overflow hidden */
.thumbnail-image {
  position: relative;
  width: 275px;
  height: 305px;
  overflow: hidden;
  background: #111;
}

.thumbnail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.product-thumbnail:hover .thumbnail-image img {
  transform: scale(1.04);
}

/* thumbnail eye overlay */
.thumbnail-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0);
  transition: background 0.3s;
  pointer-events: none;
}

.product-thumbnail:hover .thumbnail-overlay {
  background: rgba(0,0,0,0.57);
}

.thumbnail-overlay svg,
.thumbnail-overlay img {
  opacity: 0;
  width: var(--icon-icon-size--48);
  height: auto;
  transition: opacity 0.3s;
}

.product-thumbnail:hover .thumbnail-overlay svg,
.product-thumbnail:hover .thumbnail-overlay img {
  opacity: 1;
}

/* product-meta-data: 275×164, pad 32px top/bottom
   strokeTopWeight = border/border-50 = 0.5px
   strokeBottomWeight = border/border-300 = 3px
   stroke colour = colours/border/border-primary = #1A1A1A */
.product-meta-data {
  width: 275px;
  height: 164px;
  padding: var(--layout-space-32) 0;
  border-top: var(--border-border-50) solid var(--colours-border-border-primary);
  border-bottom: var(--border-border-300) solid var(--colours-border-border-primary);
  display: flex;
  flex-direction: column;
  gap: 0;
}

.thumbnail-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: var(--typography-desktop-font-scale-display-font-size-display-18);
  font-weight: var(--typography-desktop-font-weight-font-weight-800);
  letter-spacing: 0.044em;
  color: var(--colours-brand-primary-brand);
  line-height: 1.3;
  margin-bottom: 13px;
}

.thumbnail-price {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: var(--typography-desktop-font-scale-body-font-size-body-16);
  font-weight: var(--typography-desktop-font-weight-font-weight-600);
  letter-spacing: 0.025em;
  color: var(--colours-brand-primary-brand);
  line-height: 1.3;
  margin-bottom: var(--layout-space-12);
}

.thumbnail-edition {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: var(--typography-desktop-font-scale-body-font-size-body-15);
  font-weight: var(--typography-desktop-font-weight-font-weight-400);
  letter-spacing: 0.013em;
  text-transform: uppercase;
  color: var(--colours-text-text-100);
  line-height: 1.3;
}

/* ============================================================
   SITE FOOTER — shared
   Figma: 1440×307 (product page) / 180 (shop page), bg #1A1A1A
   VERTICAL, gap 32/20, centered
============================================================ */
.site-footer {
  width: 100%;
  height: 307.26px;
  background: var(--colours-brand-primary-brand);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--layout-space-32);
  padding: 0;
}

/* Shop footer uses gap-20 */
.site-footer--compact {
  height: 180px;
  gap: var(--layout-space-20);
}

.site-footer img.footer-logo {
  width: var(--icon-logo-size-m);
  height: var(--icon-logo-size-m);
}

.footer-nav {
  width: 548px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--layout-space-16) var(--layout-space-24);
}

.footer-nav a {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: var(--typography-desktop-font-scale-display-font-size-display-11);
  font-weight: var(--typography-desktop-font-weight-font-weight-600);
  letter-spacing: 0.136em;  /* letter-spacing-800 = 1.5px ÷ 11px */
  text-transform: uppercase;
  color: var(--colours-brand-secondary-brand);
  opacity: 0.7;
  white-space: nowrap;
  line-height: 1;
  transition: opacity 0.2s;
}

.footer-nav a:hover { opacity: 1; }

.footer-copy {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 11px;
  font-weight: var(--typography-desktop-font-weight-font-weight-400);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--colours-brand-secondary-brand);
  opacity: 0.35;
  text-align: center;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 22px;
}

.footer-social a {
  display: flex;
  align-items: center;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.footer-social a:hover { opacity: 1; }

.footer-social svg {
  width: var(--icon-icon-size--20);
  height: var(--icon-icon-size--20);
  display: block;
}

/* ============================================================
   SHOP PAGE — page-specific
============================================================ */

/* Content width system:
   shop-page frame = 1440px total
   Content sections = 1140px (box-sizing-1140) via 150px padding each side */
.hero-wrap,
.intro-block,
.grid-container {
  max-width: var(--layout-breakpoint-breakpoint-desktop);
  margin-left: auto;
  margin-right: auto;
}

/* HERO — site-hero 1140×686, logo-white 290×290 */
.hero-wrap { padding: 0 var(--layout-space-150); }

.site-hero {
  position: relative;
  width: 100%;
  height: 686px;
  overflow: hidden;
}

.hero-media {
  width: 100%;
  height: 100%;
  position: relative;
}

.hero-media img.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  /* colours/gradient/gradient-100 — reversed to match the updated Figma overlay */
  background: linear-gradient(
    to bottom,
    var(--colours-gradient-gradient-end),
    var(--colours-gradient-gradient-start)
  );
  pointer-events: none;
}

.hero-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: var(--icon-logo-size-l);
  height: var(--icon-logo-size-l);
}

/* INTRO BLOCK — 60px top/bottom, text max-width 842px */
.intro-block {
  padding: var(--layout-space-64) var(--layout-space-150) var(--layout-space-64);
}

.intro-block p {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: var(--typography-desktop-font-scale-body-font-size-body-16);
  font-weight: var(--typography-desktop-font-weight-font-weight-400);
  line-height: 1.75;
  color: var(--colours-brand-primary-brand);
  max-width: 842px;
  margin-bottom: var(--layout-space-16);
}

.intro-block p:last-child { margin-bottom: 0; }

/* GRID CONTAINER — VERTICAL gap 32, 80px bottom padding */
.grid-container {
  padding: 0 var(--layout-space-150);
  display: flex;
  flex-direction: column;
  gap: var(--layout-space-gap-32);
}

/* CIRCLEMARK SECTION — 1440×299, bg cream, logo-black 211×211 */
.circlemark-section {
  width: 100%;
  height: 299px;
  background: var(--color-page-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--layout-space-44) 0;
}

.circlemark-section img {
  width: 211px;
  height: 211px;
}

/* ============================================================
   PRODUCT PAGE — page-specific
============================================================ */

/* Container/Main: 1440px, VERTICAL gap 72, pad-top 96 */
.container-main {
  max-width: var(--layout-breakpoint-breakpoint-desktop);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: var(--layout-space-72);
  padding-top: var(--layout-space-96);
}

/* PRODUCT PANEL — HORIZONTAL gap 44, 150px side padding */
.product-panel {
  max-width: var(--layout-breakpoint-breakpoint-desktop);
  min-height: 796.49px;
  margin-inline: auto;
  padding: 0 var(--layout-space-150);
  display: flex;
  gap: var(--layout-space-44);
  align-items: flex-start;
}

/* Product image — 528×793, border/border-2000 = 20px white frame */
.product-image {
  flex-shrink: 0;
  width: var(--image-image-size-l);
  height: 793px;
  outline: var(--border-border-2000) solid var(--colours-neutral-white);
  outline-offset: calc(-1 * var(--border-border-2000));
  overflow: hidden;
  position: relative;
  background: #111;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Product info panel — 570px, VERTICAL gap 44, pad-top 16 */
.product-info-panel {
  width: var(--layout-box-sizing-box-sizing-570);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: var(--layout-space-44);
  padding-top: var(--layout-space-16);
}

/* product-details: VERTICAL gap 56 */
.product-details {
  display: flex;
  flex-direction: column;
  gap: var(--layout-space-56);
}

.product-heading {
  display: flex;
  flex-direction: column;
}

/* Product title — Fraunces display, 34px */
.product-title {
  font-family: 'Fraunces', serif;
  font-size: var(--typography-desktop-font-scale-display-font-size-display-48);
  font-weight: var(--typography-desktop-font-weight-font-weight-600);
  text-transform: uppercase;
  color: var(--colours-brand-primary-brand);
  line-height: 1.1;
  margin-bottom: var(--layout-space-16);
}

/* Price range — 15px */
.product-price {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: var(--typography-desktop-font-scale-display-font-size-display-20);
  font-weight: var(--typography-desktop-font-weight-font-weight-300);
  color: var(--colours-brand-primary-brand);
  line-height: 1.4;
  margin-bottom: var(--layout-space-24);
}

/* Short description — Fraunces italic 16px */
.product-short-desc {
  font-family: 'Fraunces', serif;
  font-size: var(--typography-desktop-font-scale-display-font-size-display-16);
  font-weight: var(--typography-desktop-font-weight-font-weight-400);
  font-style: italic;
  letter-spacing: 0.013em;
  color: var(--colours-brand-primary-brand);
  line-height: 1.6;
  max-width: 536px;
}

.product-short-desc p {
  margin: 0;
}

/* VARIATIONS — VERTICAL gap 44 */
.product-variations {
  display: flex;
  flex-direction: column;
  gap: var(--layout-space-44);
}

.ddnc-product-form {
  margin: 0;
}

.ddnc-variation-selects {
  display: none;
}

/* variation group: VERTICAL gap 20 */
.variation-group {
  display: flex;
  flex-direction: column;
  gap: var(--layout-space-20);
}

/* Variation label — 9px uppercase */
.variation-label {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: var(--typography-desktop-font-scale-display-font-size-display-12);
  font-weight: var(--typography-desktop-font-weight-font-weight-800);
  letter-spacing: 0.092em;
  text-transform: uppercase;
  color: var(--colours-brand-primary-brand);
  line-height: 1;
}

/* Swatch row — gap 6 */
.variation-swatches {
  display: flex;
  gap: var(--layout-space-gap-6);
  flex-wrap: wrap;
}

/* btn-variation: 45px height, pad 8,12,8,12
   border: border-100 (1px) colours/border/border-default rgba(0,0,0,0.23) */
.btn-variation {
  height: 45px;
  padding: var(--layout-space-8) var(--layout-space-12);
  background: var(--colours-neutral-white);
  border: var(--border-border-100) solid var(--colours-border-border-default);
  border-radius: var(--radius-radius-5);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: var(--typography-desktop-font-scale-display-font-size-display-12);
  font-weight: var(--typography-desktop-font-weight-font-weight-600);
  letter-spacing: 0.067em;
  text-transform: uppercase;
  color: var(--colours-brand-primary-brand);
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.15s, background 0.15s;
  line-height: 1;
}

.btn-variation:hover {
  border-color: var(--colours-brand-primary-brand);
}

.btn-variation.is-selected {
  background: var(--colours-brand-primary-brand);
  color: var(--colours-brand-secondary-brand);
  border-color: var(--colours-brand-primary-brand);
}

/* variation-price block */
.variation-price {
  display: flex;
  flex-direction: column;
  gap: var(--layout-space-20);  /* variation-price VERTICAL gap:20 from Figma */
}

.btn-clear {
  width: 94px;
  height: 27px;
  border: var(--border-border-100) solid var(--colours-border-border-focus);
  border-radius: var(--radius-radius-9999);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: var(--typography-desktop-font-scale-display-font-size-display-10);
  font-weight: var(--typography-desktop-font-weight-font-weight-600);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--colours-accent-accent-primary);
  background: none;
  padding: 0;
  cursor: pointer;
  text-align: center;
  line-height: 1;
}

.selected-price {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: var(--typography-desktop-font-scale-display-font-size-display-20);
  font-weight: var(--typography-desktop-font-weight-font-weight-300);
  color: var(--colours-brand-primary-brand);
  line-height: 1;
}

.stock-label {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: var(--typography-desktop-font-scale-display-font-size-display-10);
  font-weight: var(--typography-desktop-font-weight-font-weight-600);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--colours-brand-primary-brand);
  line-height: 1;
}

/* btn-add-to-cart group: VERTICAL gap 20 */
.btn-add-to-cart-wrap {
  display: flex;
  flex-direction: column;
  gap: var(--layout-space-20);
}

/* btn: 220×44, bg primary-brand, pad 14,32,14,32 */
.btn-add-to-cart {
  width: 220px;
  height: 44px;
  background: var(--colours-brand-primary-brand);
  color: var(--colours-brand-secondary-brand);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: var(--typography-desktop-font-scale-display-font-size-display-12);
  font-weight: var(--typography-desktop-font-weight-font-weight-600);
  letter-spacing: 0.067em;  /* letter-spacing-400 = 0.8px ÷ 12px */
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius-radius-5);
  padding: var(--layout-space-14) var(--layout-space-32);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
}

.btn-add-to-cart:hover { opacity: 0.82; }

.btn-add-to-cart:disabled,
.btn-add-to-cart.is-disabled {
  background: var(--colours-text-text-100);
  cursor: not-allowed;
  opacity: 1;
}

.btn-add-to-cart:disabled:hover,
.btn-add-to-cart.is-disabled:hover {
  opacity: 1;
}

/* Trust line — Fraunces italic 13px */
.trust-line {
  font-family: 'Fraunces', serif;
  font-size: var(--typography-desktop-font-scale-body-font-size-body-13);
  font-weight: var(--typography-desktop-font-weight-font-weight-400);
  font-style: italic;
  letter-spacing: 0.008em;
  color: var(--colours-text-text-100);
  line-height: 1;
}

.woocommerce-page-main {
  padding: var(--layout-space-44) var(--layout-space-20) var(--layout-space-96);
}

.woocommerce-page-content {
  width: min(var(--layout-box-sizing-box-sizing-1140), 100%);
  margin-inline: auto;
  color: var(--colours-brand-primary-brand);
  font-family: 'Plus Jakarta Sans', sans-serif;
}

/* PRODUCT GALLERY — HORIZONTAL gap 12, 150px side padding */
.product-gallery {
  max-width: var(--layout-breakpoint-breakpoint-desktop);
  margin-inline: auto;
  padding: 0 var(--layout-space-150);
  display: flex;
  gap: var(--layout-space-gap-12);
  align-items: stretch;
}

.gallery-img {
  overflow: hidden;
  background: #111;
  position: relative;
  flex-shrink: 0;
}

.gallery-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* image-hover: 340×496, lightbox trigger */
.gallery-img--hover {
  width: var(--image-image-size-m);
  height: 496px;
  cursor: pointer;
}

.gallery-img--hover .gallery-hover-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--colours-modal-overlay);
}

.gallery-img--hover .gallery-hover-overlay svg,
.gallery-img--hover .gallery-hover-overlay img {
  width: auto;
  height: var(--icon-icon-size--56);
}

/* gallery images 2+3: 388×496 */
.gallery-img--standard {
  width: 388px;
  height: 496px;
}

/* TABS + METADATA SECTION */
.tabs-section {
  width: 100%;
  max-width: none;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: var(--layout-space-72);
  padding-top: var(--layout-space-8);
  padding-bottom: var(--layout-space-72);
  border-top: 0;
}

/* Tab bar — full-width border-bottom colours/border/border-default */
.tabs-bar {
  border-bottom: var(--border-border-100) solid var(--colours-border-border-default);
  width: 100%;
}

.tabs-bar-inner {
  max-width: var(--layout-breakpoint-breakpoint-desktop);
  margin-inline: auto;
  padding: 0 var(--layout-space-150);
  display: flex;
  align-items: flex-end;
}

.tab {
  height: 43px;
  padding: var(--layout-space-16) var(--layout-space-32);
  display: flex;
  align-items: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: var(--typography-desktop-font-scale-display-font-size-display-11);
  font-weight: var(--typography-desktop-font-weight-font-weight-900);
  letter-spacing: 0.136em;
  text-transform: uppercase;
  color: var(--colours-brand-brand-30);
  cursor: pointer;
  border-bottom: var(--border-border-300) solid transparent;
  margin-bottom: -1px;
  transition: color 0.15s, border-color 0.15s;
  line-height: 1;
}

.tab:hover {
  color: var(--colours-brand-primary-brand);
  border-bottom-color: var(--colours-border-border-focus);
}

/* Active tab: border-bottom = colours/border/border-focus = accent-primary */
.tab.is-active {
  color: var(--colours-brand-primary-brand);
  border-bottom-color: var(--colours-border-border-focus);
}

.tab-panel {
  display: none;
  width: 100%;
}

.tab-panel.is-active { display: block; }

/* photo-meta-data-icon-container: padding-left 312px */
.photo-metadata-container {
  padding: 0 0 0 var(--layout-space-312);
}

/* photo-metadata: 522px, VERTICAL gap 32 */
.photo-metadata {
  width: 522px;
  display: flex;
  flex-direction: column;
  gap: var(--layout-space-32);
}

/* meta rows: HORIZONTAL gap 44, pad-bottom 26, border-bottom 0.5px border-default */
.meta-row {
  display: flex;
  align-items: center;
  gap: var(--layout-space-44);
  padding-bottom: var(--layout-space-26);
  border-bottom: var(--border-border-50) solid var(--colours-border-border-default);
}

.meta-row:last-child {
  border-bottom: none;
  padding-bottom: 23px;
}

.meta-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--icon-icon-size--32);
}

.meta-icon svg { display: block; }

.meta-value {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: var(--typography-desktop-font-scale-display-font-size-display-12);
  font-weight: var(--typography-desktop-font-weight-font-weight-800);
  letter-spacing: 0.092em;
  text-transform: uppercase;
  color: var(--colours-brand-primary-brand);
  line-height: 1;
}

.tab-content-inner { padding: 0 var(--layout-space-150); }

.tab-description,
.tab-prose {
  max-width: var(--typography-desktop-length-line-length);
}

.tab-description p,
.tab-prose p {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: var(--typography-desktop-font-scale-body-font-size-body-16);
  font-weight: var(--typography-desktop-font-weight-font-weight-400);
  line-height: 1.75;
  color: var(--colours-brand-primary-brand);
  margin-bottom: var(--layout-space-16);
}

.tab-description p:last-child,
.tab-prose p:last-child { margin-bottom: 0; }

.mobile-tab-links {
  display: none;
}

.mobile-accordion-tabs {
  display: none;
}

/* MORE FROM THE COLLECTION */
.more-from-collection {
  /* Product-thumbs: no top padding or stroke in the updated Figma component */
  width: 100%;
  height: 657px;
  max-width: var(--layout-breakpoint-breakpoint-desktop);
  margin-inline: auto;
  padding: 0 var(--layout-space-150) var(--layout-space-72);
}

.more-heading {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: var(--typography-desktop-font-scale-display-font-size-display-24);
  font-weight: var(--typography-desktop-font-weight-font-weight-600);
  color: var(--colours-brand-primary-brand);
  line-height: 1.3;
  margin-bottom: var(--layout-space-32);
}

.product-grid {
  display: flex;
  flex-direction: column;
  gap: var(--layout-space-gap-32);
}

/* ============================================================
   MOBILE — 360px (breakpoint-mobile)
============================================================ */
@media (max-width: 900px) {

  /* Header */
  .site-header,
  .site-header--shop,
  .site-header--interior {
    height: 126px;
    padding: var(--layout-space-26) 26px;
    justify-content: flex-start;
  }

  .header-nav,
  .site-header--shop .header-nav,
  .site-header--interior .header-nav {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--layout-space-16);
    width: 100%;
    max-width: 100%;
  }

  .navigation-bar {
    flex-direction: row;
    justify-content: center;
    gap: var(--layout-space-20);
  }

  .nav-menu { gap: var(--layout-space-20); }

  /* Shop page sections */
  .hero-wrap { padding: 0; }

  .intro-block {
    height: 448px;
    padding: 78px 12px 0;
  }

  .intro-block p {
    max-width: 100%;
    padding-top: 0;
  }

  .grid-container {
    padding: 0 var(--layout-space-12);
    gap: var(--layout-space-gap-32);
  }

  .grid-container > .product-row:nth-of-type(n + 3) {
    display: none;
  }

  .product-row {
    flex-direction: column;
    gap: var(--layout-space-20);
    padding: 0;
  }

  .product-thumbnail { width: 100%; max-width: 100%; }
  .thumbnail-image { width: 100%; max-width: 100%; }
  .product-meta-data { width: 100%; }

  .circlemark-section { height: auto; padding: var(--layout-space-44) 0; }
  .circlemark-section img { width: var(--icon-logo-size-m); height: var(--icon-logo-size-m); }

  /* Product page sections */
  .container-main {
    padding-top: var(--layout-space-24);
    padding-bottom: var(--layout-space-96);
    gap: var(--layout-space-gap-38);
  }

  .product-panel {
    flex-direction: column;
    min-height: 0;
    padding: 0 10px;
    gap: var(--layout-space-44);
  }

  .product-image {
    width: 100%;
    height: 511px;
    outline: none;
  }

  .product-info-panel {
    width: 100%;
    min-height: 813px;
  }

  .product-title {
    font-size: var(--typography-desktop-font-scale-display-font-size-display-26);
    line-height: 1;
    margin-bottom: var(--layout-space-24);
  }

  .product-price {
    font-size: var(--typography-desktop-font-scale-body-font-size-body-15);
    line-height: 1;
    margin-bottom: var(--layout-space-24);
  }

  .product-short-desc {
    max-width: 100%;
    font-size: var(--typography-desktop-font-scale-body-font-size-body-11);
    line-height: 20px;
  }

  .variation-price {
    display: flex;
  }

  .product-gallery {
    flex-direction: column;
    padding: 0 10px;
    gap: var(--layout-space-gap-12);
  }

  .gallery-img--hover,
  .gallery-img--standard {
    width: 100%;
    height: 453.333px;
  }

  .tabs-section {
    width: var(--image-image-size-m);
    height: 647px;
    gap: 0;
    padding-top: var(--layout-space-8);
    padding-bottom: 0;
    border-top: 0;
    overflow: hidden;
  }

  .tabs-bar {
    display: none;
  }

  .tab-panel,
  .tab-panel.is-active {
    display: none;
  }

  .mobile-accordion-tabs {
    display: block;
    width: 360px;
    margin-left: -10px;
  }

  .mobile-accordion-item {
    width: 100%;
  }

  .mobile-accordion-trigger {
    width: 100%;
    height: 42px;
    display: flex;
    align-items: center;
    padding: var(--layout-space-16) var(--layout-space-32) var(--layout-space-16) 0;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: var(--typography-desktop-font-scale-display-font-size-display-11);
    font-weight: var(--typography-desktop-font-weight-font-weight-900);
    letter-spacing: 0.136em;
    text-transform: uppercase;
    color: var(--colours-brand-brand-30);
    line-height: 1;
    text-align: left;
  }

  .mobile-accordion-item.is-open > .mobile-accordion-trigger {
    height: 45px;
    color: var(--colours-brand-primary-brand);
    border-bottom: var(--border-border-300) solid var(--colours-border-border-focus);
  }

  .mobile-accordion-panel {
    display: none;
  }

  .mobile-accordion-item.is-open > .mobile-accordion-panel {
    display: block;
    min-height: 468px;
    padding-top: var(--layout-space-32);
    padding-bottom: var(--layout-space-32);
  }

  .mobile-accordion-panel .tab-description,
  .mobile-accordion-panel .tab-description p,
  .mobile-accordion-panel .tab-prose,
  .mobile-accordion-panel .tab-prose p {
    max-width: 360px;
  }

  .mobile-accordion-panel .tab-description {
    min-height: 404px;
  }

  .mobile-accordion-panel .tab-description p,
  .mobile-accordion-panel .tab-prose p {
    font-size: var(--typography-desktop-font-scale-body-font-size-body-11);
    line-height: 20px;
  }

  .mobile-tab-links {
    display: none;
  }

  .photo-metadata-container { padding: 0 16px; }
  .photo-metadata { width: 100%; max-width: 100%; }
  .photo-metadata--mobile {
    gap: var(--layout-space-20);
  }
  .photo-metadata--mobile .meta-row {
    gap: var(--layout-space-20);
    padding-bottom: var(--layout-space-16);
  }
  .photo-metadata--mobile .meta-icon img {
    width: var(--icon-icon-size--24);
    height: var(--icon-icon-size--24);
    display: block;
    object-fit: contain;
  }

  .tab-content-inner { padding: 0 16px; }

  .more-from-collection {
    height: 2026px;
    padding: 0 16px;
  }

  .more-heading {
    font-size: var(--typography-desktop-font-scale-display-font-size-display-20);
    line-height: 18px;
    margin-bottom: var(--layout-space-32);
  }

  .more-from-collection .product-row { padding: 0; }

  /* Footer */
  .site-footer {
    height: 335.26px;
    gap: var(--layout-space-20);
  }

  .site-footer--compact {
    height: 200px;
  }

  .footer-nav { width: 100%; padding: 0 var(--layout-space-20); }
}

/* ============================================================
   HEADER — MOBILE VARIANT (header--mobile)
   Figma: 360×126, pad 26px all sides
   header-nav: VERTICAL gap 16 (cart top, menu below)
   nav-menu: gap 20px, cart 50×50 centred
============================================================ */
@media (max-width: 900px) {
  .site-header--shop,
  .site-header--interior {
    height: 126px;
    padding: var(--layout-space-26) var(--layout-space-26);
    justify-content: center;
  }

  .header-nav,
  .site-header--shop .header-nav,
  .site-header--interior .header-nav {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--layout-space-16);
    width: 100%;
    max-width: 100%;
  }

  /* nav-cart goes first (top) in mobile */
  .nav-cart { order: -1; }
  .nav-menu  { order:  1; gap: var(--layout-space-20); }

  .navigation-bar {
    flex-direction: column;
    align-items: center;
    gap: var(--layout-space-16);
    width: 100%;
  }

  .header-wordmark { display: none; }
}

/* ============================================================
   LIGHTBOX
   Figma: lightbox-modal — full viewport, bg #000000
   Desktop: image 720px wide centred, close icon 32×32 #ececec top-right pad 20px
   Mobile:  image 340px, pad 10px top/bottom 26px left/right
   Triggered by: .thumbnail-image click (shop + product "More From") and
                 .gallery-img--hover click (product gallery first image)
   Dismissed by: overlay click or close button
============================================================ */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: var(--colours-modal-overlay);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.lightbox-overlay.is-open {
  opacity: 1;
  pointer-events: all;
}

.lightbox-inner {
  position: relative;
  width: 100%;
  max-width: 720px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img {
  display: block;
  width: 100%;
  height: 1073px;
  max-height: none;
  object-fit: cover;
}

/* close button: icon-close-200, 32×32, colour #ECECEC, top-right 20px */
.lightbox-close {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ececec;
}

.lightbox-close svg {
  width: 32px;
  height: 32px;
  display: block;
}

@media (max-width: 900px) {
  .lightbox-overlay {
    padding: 10px;
  }

  .lightbox-inner {
    max-width: 340px;
  }

  .lightbox-img {
    height: 510.958px;
  }

  .lightbox-close {
    top: 23px;
    right: 26px;
  }
}

/* ============================================================
   PRODUCT IMAGE — 500% zoom on hover
   transform-origin follows cursor via JS (CSS alone can't do dynamic origin)
   Cursor: crosshair to signal zoomable
============================================================ */
.product-image {
  cursor: zoom-in;
  overflow: hidden;
}

.product-image img {
  transition: transform 0.4s ease;
  transform-origin: center center;
}

.product-image:hover img {
  transform: scale(3);
  cursor: zoom-in;
}

/* ============================================================
   THUMBNAIL IMAGES — lightbox trigger cursor
============================================================ */
.gallery-img--hover {
  cursor: zoom-in;
}

/* ============================================================
   CHECKOUT / ORDER COMPONENTS
============================================================ */
.nav-cart {
  position: relative;
}

.nav-cart img {
  width: 20px;
  height: 20px;
}

.bag-black {
  filter: brightness(0) saturate(100%);
}

body.cart-drawer-open::before {
  content: none;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: var(--cart-drawer-width);
  height: 100vh;
  z-index: 900;
  transform: translateX(100%);
  transition: transform 0.32s ease;
  background: var(--colours-Surface-base-base-200);
  color: var(--colours-brand-primary-brand);
  padding: var(--layout-space-10);
  display: flex;
  flex-direction: column;
  gap: var(--layout-space-20);
  overflow-y: auto;
}

body.cart-drawer-open .cart-drawer {
  transform: translateX(0);
}

.cart-drawer-titlebar {
  width: 100%;
  height: var(--layout-space-72);
  padding: var(--layout-space-20);
  background: var(--color-page-bg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--layout-space-20);
}

.cart-drawer-titlebar h2 {
  font-family: 'Fraunces', serif;
  font-size: var(--typography-desktop-font-scale-display-font-size-display-20);
  font-weight: var(--typography-desktop-font-weight-font-weight-600);
  letter-spacing: 0.2px;
  text-transform: uppercase;
  line-height: 28px;
}

.cart-drawer-close {
  width: var(--icon-icon-size--32);
  height: var(--icon-icon-size--32);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--colours-brand-primary-brand);
}

.cart-drawer-close svg,
.cart-drawer-close img {
  width: var(--icon-icon-size--18);
  height: var(--icon-icon-size--18);
}

.cart-drawer-items {
  width: 100%;
  display: flex;
  flex-direction: column;
  min-height: 197px;
}

.cart-drawer-empty {
  padding: var(--layout-space-26) var(--layout-space-20);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: var(--typography-desktop-font-scale-body-font-size-body-16);
  line-height: 1.5;
  color: var(--colours-brand-primary-brand);
}

.cart-drawer--empty .cart-drawer-remove {
  display: none;
}

.cart-drawer-item {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: var(--layout-space-24);
  align-items: start;
  min-height: 254px;
  padding: var(--layout-space-26) var(--layout-space-20);
  border-bottom: var(--border-border-100) solid var(--colours-border-border-default);
}

.cart-drawer-item:last-child {
  border-bottom: 0;
}

.cart-drawer-thumb {
  width: 112px;
  height: 125px;
  object-fit: cover;
}

.cart-drawer-item-copy {
  display: flex;
  flex-direction: column;
  gap: var(--layout-space-8);
  min-width: 0;
}

.cart-drawer-item-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--layout-space-20);
}

.cart-drawer-item-title {
  font-family: 'Fraunces', serif;
  font-size: var(--typography-desktop-font-scale-display-font-size-display-20);
  font-weight: var(--typography-desktop-font-weight-font-weight-600);
  letter-spacing: 0.1px;
  line-height: 28px;
}

.cart-drawer-item-options {
  display: flex;
  flex-direction: column;
  gap: var(--layout-space-8);
}

.cart-drawer-item-meta {
  display: flex;
  flex-direction: column;
  gap: var(--layout-space-gap-4);
}

.cart-drawer-meta-label,
.cart-drawer-meta-value {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: var(--typography-desktop-font-scale-body-font-size-body-15);
  color: var(--colours-brand-primary-brand);
}

.cart-drawer-meta-label {
  font-weight: var(--typography-desktop-font-weight-font-weight-800);
  letter-spacing: 0;
  text-transform: none;
  line-height: 20px;
}

.cart-drawer-meta-value {
  font-weight: var(--typography-desktop-font-weight-font-weight-400);
  line-height: 20px;
}

.cart-drawer-item-remove {
  width: var(--icon-icon-size--20);
  height: var(--icon-icon-size--20);
  flex: 0 0 auto;
}

.cart-drawer-item-remove svg,
.cart-drawer-item-remove img {
  width: auto;
  height: var(--icon-icon-size--18);
  display: block;
  object-fit: contain;
}

.cart-drawer-footer {
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--layout-space-10);
}

.cart-drawer-remove {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
}

.cart-drawer-remove-all {
  width: 172px;
  height: var(--buttons-button--50);
  border: var(--border-border-100) solid var(--colours-accent-accent-primary);
  border-radius: var(--radius-radius-9999);
  color: var(--colours-accent-accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: var(--typography-desktop-font-scale-display-font-size-display-10);
  font-weight: var(--typography-desktop-font-weight-font-weight-600);
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.cart-drawer-total {
  min-height: 123px;
  padding: var(--layout-space-20);
  border-top: var(--border-border-100) solid var(--colours-border-border-default);
  display: flex;
  flex-direction: column;
  gap: var(--layout-space-20);
}

.cart-drawer-subtotal {
  display: flex;
  justify-content: space-between;
  gap: var(--layout-space-20);
}

.cart-drawer-subtotal span,
.cart-drawer-subtotal strong {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: var(--typography-desktop-font-scale-body-font-size-body-16);
  font-weight: var(--typography-desktop-font-weight-font-weight-400);
  line-height: 18px;
}

.cart-drawer-subtotal span {
  text-transform: uppercase;
}

.cart-drawer-subtotal strong {
  font-weight: var(--typography-desktop-font-weight-font-weight-800);
}

.cart-drawer-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--layout-space-16);
}

.cart-drawer-action {
  height: var(--layout-space-44);
  border-radius: var(--radius-radius-5);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--layout-space-14) var(--layout-space-32);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: var(--typography-desktop-font-scale-display-font-size-display-12);
  font-weight: var(--typography-desktop-font-weight-font-weight-600);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  line-height: 1;
}

.cart-drawer-view-cart {
  background: var(--colours-neutral-white);
  color: var(--colours-brand-primary-brand);
  border: var(--border-border-100) solid var(--colours-border-border-default);
}

.cart-drawer-checkout {
  background: var(--colours-brand-primary-brand);
  color: var(--colours-brand-secondary-brand);
}

@media (max-width: 900px) {
  :root {
    --cart-drawer-width: 100vw;
  }

  .cart-drawer-item {
    grid-template-columns: 112px 1fr;
    min-height: 0;
    padding: var(--layout-space-26) var(--layout-space-20);
  }

  .cart-drawer-thumb {
    width: 112px;
    height: 125px;
  }

  .cart-drawer-item-copy {
    width: auto;
  }

  .cart-drawer-item-title {
    font-size: var(--typography-desktop-font-scale-display-font-size-display-20);
  }

  .cart-drawer-meta-label,
  .cart-drawer-meta-value {
    font-size: var(--typography-desktop-font-scale-body-font-size-body-15);
    line-height: 20px;
  }

  .cart-drawer {
    gap: 0;
  }

  .cart-drawer--preview .cart-drawer-item:first-child,
  .cart-drawer--preview .cart-drawer-item:nth-child(n+4) {
    display: none;
  }

  .cart-drawer--preview .cart-drawer-item:nth-child(3) {
    border-bottom: 0;
  }

  .cart-drawer-subtotal span {
    text-transform: none;
  }
}

.cart-badge {
  position: absolute;
  top: -1px;
  right: -1px;
  width: 15px;
  height: 15px;
  border-radius: var(--radius-radius-9999);
  background: var(--colours-accent-accent-primary);
  color: var(--colours-brand-secondary-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  font-weight: var(--typography-desktop-font-weight-font-weight-800);
  line-height: 1;
}

.checkout-main,
.confirmation-main,
.about-main,
.policy-main {
  max-width: var(--layout-breakpoint-breakpoint-desktop);
  margin-inline: auto;
}

.checkout-main {
  height: 1571.19px;
  padding-top: var(--layout-space-24);
}

.bag-heading {
  width: var(--layout-box-sizing-box-sizing-1140);
  height: 156px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--layout-space-20);
}

.bag-heading-icon {
  width: 68px;
  height: 68px;
  border: var(--border-border-100) solid var(--colours-border-border-primary);
  border-radius: var(--radius-radius-9999);
  display: flex;
  align-items: center;
  justify-content: center;
}

.bag-heading-icon img {
  width: 31px;
  height: 32px;
}

.page-title {
  font-family: 'Fraunces', serif;
  font-size: var(--typography-desktop-font-scale-display-font-size-display-42);
  font-weight: var(--typography-desktop-font-weight-font-weight-400);
  color: var(--colours-brand-primary-brand);
  line-height: 1.05;
}

.checkout-grid {
  width: var(--layout-box-sizing-box-sizing-1140);
  height: 1319.19px;
  margin-inline: auto;
  display: flex;
  border: var(--border-border-100) solid var(--colours-border-border-default);
}

.billing-panel,
.checkout-order-panel {
  width: 570px;
  height: 100%;
}

.billing-panel {
  background: var(--colours-Surface-base-base-100);
  border-right: var(--border-border-100) solid var(--colours-border-border-default);
  padding: 55px var(--layout-space-24) 0;
}

.checkout-order-panel {
  background: var(--colours-Surface-base-base-200);
  padding: 55px var(--layout-space-24) 0;
}

.panel-heading {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: var(--typography-desktop-font-scale-display-font-size-display-24);
  font-weight: var(--typography-desktop-font-weight-font-weight-400);
  line-height: 1;
  color: var(--colours-brand-primary-brand);
}

.billing-form {
  margin-top: 55px;
  width: 522px;
  display: flex;
  flex-direction: column;
  gap: 31.25px;
}

.form-row {
  display: flex;
  gap: var(--layout-space-16);
}

.form-field {
  width: 100%;
  min-width: 0;
}

.form-field--half {
  width: 253px;
}

.field-label {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: var(--typography-desktop-font-scale-display-font-size-display-12);
  font-weight: var(--typography-desktop-font-weight-font-weight-900);
  letter-spacing: 0.092em;
  text-transform: uppercase;
  color: var(--colours-brand-primary-brand);
  line-height: 1;
  margin-bottom: 13px;
}

.field-value {
  height: 27.5px;
  border-bottom: var(--border-border-50) solid var(--colours-border-border-default);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: var(--typography-desktop-font-scale-body-font-size-body-13);
  font-weight: var(--typography-desktop-font-weight-font-weight-400);
  color: var(--colours-text-text-200);
  line-height: 1;
}

.order-list {
  width: 538px;
  margin-top: 55px;
}

.cart-item-row {
  width: 538px;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr var(--icon-icon-size--24);
  align-items: start;
  gap: var(--layout-space-24);
  padding: 0 var(--layout-space-20) var(--layout-space-16);
  border-bottom: var(--border-border-50) solid var(--colours-border-border-default);
}

.cart-item-row + .cart-item-row {
  padding-top: var(--layout-space-20);
}

.cart-item-product {
  display: flex;
  align-items: flex-start;
  gap: var(--layout-space-24);
  min-width: 0;
}

.cart-thumb {
  width: 112px;
  height: 112px;
  flex-shrink: 0;
  object-fit: cover;
}

.cart-item-detail {
  min-width: 0;
}

.cart-item-remove {
  width: var(--icon-icon-size--24);
  height: var(--icon-icon-size--24);
  color: var(--colours-accent-accent-primary);
}

.cart-item-remove img,
.cart-item-remove svg {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.cart-item-title,
.total-label,
.total-value,
.shipping-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: var(--typography-desktop-font-scale-body-font-size-body-16);
  font-weight: var(--typography-desktop-font-weight-font-weight-800);
  line-height: 1.25;
  color: var(--colours-brand-primary-brand);
}

.cart-item-title {
  font-size: var(--typography-desktop-font-scale-body-font-size-body-13);
  font-weight: var(--typography-desktop-font-weight-font-weight-800);
  line-height: 20px;
}

.cart-item-copy {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: var(--typography-desktop-font-scale-body-font-size-body-13);
  font-weight: var(--typography-desktop-font-weight-font-weight-500);
  line-height: 20px;
  color: var(--colours-brand-primary-brand);
}

.cart-item-copy strong {
  font-weight: var(--typography-desktop-font-weight-font-weight-600);
}

.order-totals {
  width: 538px;
}

.total-row {
  min-height: 64px;
  display: flex;
  justify-content: space-between;
  gap: var(--layout-space-24);
  padding: var(--layout-space-16) var(--layout-space-20);
  border-bottom: var(--border-border-50) solid var(--colours-border-border-default);
}

.shipping-row {
  min-height: 279.19px;
}

.shipping-options {
  width: 296px;
  display: flex;
  flex-direction: column;
  gap: var(--layout-space-20);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: var(--typography-desktop-font-scale-body-font-size-body-16);
  font-weight: var(--typography-desktop-font-weight-font-weight-700);
  line-height: 1.25;
  color: var(--colours-brand-primary-brand);
}

.shipping-option {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: var(--layout-space-12);
  align-items: flex-start;
}

.radio-dot {
  width: 14px;
  height: 14px;
  margin-top: 3px;
  border: var(--border-border-100) solid var(--colours-accent-accent-primary);
  border-radius: var(--radius-radius-9999);
  background: transparent;
  position: relative;
}

.radio-dot.is-selected::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: inherit;
  background: var(--colours-accent-accent-primary);
}

.shipping-price {
  display: block;
  margin-top: var(--layout-space-12);
}

.payment-block {
  width: 538px;
  height: 165px;
  padding-top: 56px;
}

.privacy-note {
  width: 408px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: var(--typography-desktop-font-scale-body-font-size-body-12);
  font-weight: var(--typography-desktop-font-weight-font-weight-400);
  line-height: 1.55;
  color: var(--colours-text-text-100);
  margin-bottom: var(--layout-space-16);
}

.payment-button {
  width: 538px;
  height: 44px;
  border-radius: var(--radius-radius-5);
  background: var(--colours-brand-primary-brand);
  color: var(--colours-brand-secondary-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: var(--typography-desktop-font-scale-display-font-size-display-12);
  font-weight: var(--typography-desktop-font-weight-font-weight-700);
  letter-spacing: 0.067em;
  text-transform: uppercase;
}

.confirmation-main {
  height: 1100px;
  padding-top: var(--layout-space-44);
}

.confirmation-heading {
  width: var(--layout-box-sizing-box-sizing-1140);
  height: 145px;
  margin-inline: auto;
  text-align: center;
  border-bottom: var(--border-border-50) solid var(--colours-border-border-default);
  padding-top: var(--layout-space-44);
}

.confirmation-heading .page-title {
  margin-bottom: var(--layout-space-20);
}

.confirmation-subtitle {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: var(--typography-desktop-font-scale-body-font-size-body-16);
  font-weight: var(--typography-desktop-font-weight-font-weight-400);
  line-height: 1;
}

.confirmation-grid {
  width: 970px;
  height: 775px;
  margin: var(--layout-space-64) auto 0;
  display: flex;
  gap: var(--layout-space-32);
}

.order-details {
  width: 398px;
  height: 295px;
}

.order-received {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: var(--typography-desktop-font-scale-body-font-size-body-16);
  line-height: 1;
  margin-bottom: var(--layout-space-44);
}

.order-summary {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: var(--typography-desktop-font-scale-display-font-size-display-20);
  font-weight: var(--typography-desktop-font-weight-font-weight-800);
  line-height: 1.2;
  margin-bottom: var(--layout-space-44);
}

.billing-address-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: var(--typography-desktop-font-scale-display-font-size-display-18);
  font-weight: var(--typography-desktop-font-weight-font-weight-800);
  line-height: 1;
  margin-bottom: var(--layout-space-44);
}

.billing-address-copy {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: var(--typography-desktop-font-scale-body-font-size-body-16);
  line-height: 1.6;
}

.confirmation-order-panel {
  width: 538px;
  height: 775px;
}

.confirmation-products {
  width: 538px;
  height: 552px;
  border: var(--border-border-50) solid var(--colours-border-border-default);
  padding: var(--layout-space-16) var(--layout-space-20);
  display: flex;
  flex-direction: column;
  gap: var(--layout-space-24);
}

.confirmation-products .cart-item-row {
  width: 310px;
  height: 112px;
  border-bottom: 0;
  padding: 0;
}

.confirmation-products + .order-totals {
  margin-top: var(--layout-space-32);
}

.confirmation-order-panel .shipping-row {
  min-height: 80px;
}

.confirmation-order-panel .shipping-options {
  width: 280px;
  font-size: var(--typography-desktop-font-scale-body-font-size-body-15);
  font-weight: var(--typography-desktop-font-weight-font-weight-500);
}

/* ============================================================
   ABOUT AND POLICY PAGES
============================================================ */
.about-main {
  height: 1830px;
  padding-top: var(--layout-space-44);
}

.about-content {
  width: var(--layout-box-sizing-box-sizing-1140);
  height: 1714px;
  margin-inline: auto;
  padding-top: var(--layout-space-96);
}

.about-title {
  width: 559px;
  margin-bottom: var(--layout-space-44);
}

.content-title {
  font-family: 'Fraunces', serif;
  font-size: var(--typography-desktop-font-scale-display-font-size-display-42);
  font-weight: var(--typography-desktop-font-weight-font-weight-400);
  color: var(--colours-brand-primary-brand);
  line-height: 1.08;
}

.content-prose {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: var(--typography-desktop-font-scale-body-font-size-body-16);
  font-weight: var(--typography-desktop-font-weight-font-weight-400);
  line-height: 1.75;
  color: var(--colours-brand-primary-brand);
}

.content-prose p + p {
  margin-top: var(--layout-space-24);
}

.about-intro {
  width: var(--typography-desktop-length-line-length-795);
  margin-bottom: var(--layout-space-44);
}

.about-copy-1 {
  width: var(--typography-desktop-length-line-length-795);
  margin: var(--layout-space-44) 0;
}

.about-copy-2 {
  width: var(--typography-desktop-length-line-length-795);
  margin-top: var(--layout-space-44);
  padding-bottom: var(--layout-space-44);
  border-bottom: var(--border-border-50) solid var(--colours-border-border-default);
}

.about-gallery,
.about-gallery-2 {
  display: flex;
  gap: var(--layout-space-gap-10);
}

.about-gallery {
  width: 1140px;
  height: 351px;
}

.about-gallery-2 {
  width: 885px;
  height: 338px;
}

.about-gallery img,
.about-gallery-2 img {
  object-fit: cover;
  height: 100%;
}

.about-gallery img:nth-child(1),
.about-gallery-2 img:nth-child(1) {
  width: 528px;
}

.about-gallery img:nth-child(2) {
  width: 236px;
}

.about-gallery-2 img:nth-child(2) {
  width: 347px;
}

.policy-main {
  padding-top: var(--layout-space-44);
}

.policy-main--terms {
  height: 2252px;
}

.policy-main--privacy {
  height: 2805px;
}

.policy-main--refunds {
  height: 1790px;
}

.policy-content {
  width: var(--layout-box-sizing-box-sizing-1140);
  margin-inline: auto;
  padding-top: var(--layout-space-96);
}

.policy-title {
  margin-bottom: var(--layout-space-44);
}

.policy-section {
  width: var(--typography-desktop-length-line-length-795);
  margin-bottom: var(--layout-space-44);
}

.policy-section h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: var(--typography-desktop-font-scale-display-font-size-display-24);
  font-weight: var(--typography-desktop-font-weight-font-weight-400);
  line-height: 1.1;
  color: var(--colours-brand-primary-brand);
  margin-bottom: var(--layout-space-32);
}

.policy-section p {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: var(--typography-desktop-font-scale-body-font-size-body-16);
  font-weight: var(--typography-desktop-font-weight-font-weight-400);
  line-height: 1.75;
  color: var(--colours-brand-primary-brand);
}

.policy-section p + p {
  margin-top: var(--layout-space-24);
}

.footer-social img {
  width: var(--icon-icon-size--20);
  height: var(--icon-icon-size--20);
  object-fit: contain;
}

.footer-social img[src$="icon-instagram-2.svg"] {
  filter: invert(1) brightness(1.08);
}

@media (min-width: 901px) {
  .policy-main--privacy .policy-section {
    margin-bottom: var(--layout-space-40, 40px);
  }
}

@media (max-width: 900px) {
  .cart-badge {
    top: -1px;
    right: -1px;
  }

  .checkout-main {
    height: 2402.59px;
    padding-top: var(--layout-space-24);
  }

  .bag-heading {
    width: 360px;
    height: 156px;
    justify-content: flex-start;
    padding-left: var(--layout-space-12);
  }

  .bag-heading .page-title {
    font-size: var(--typography-desktop-font-scale-display-font-size-display-36);
  }

  .checkout-grid {
    width: 360px;
    height: 2222.59px;
    flex-direction: column;
  }

  .billing-panel,
  .checkout-order-panel {
    width: 100%;
    border-right: 0;
    padding-left: var(--layout-space-12);
    padding-right: var(--layout-space-12);
  }

  .billing-panel {
    height: 859.4px;
    padding-top: var(--layout-space-44);
    border-bottom: var(--border-border-100) solid var(--colours-border-border-default);
  }

  .checkout-order-panel {
    height: 1363.19px;
    padding-top: var(--layout-space-24);
  }

  .billing-form {
    width: 336px;
    margin-top: var(--layout-space-32);
    gap: 31.25px;
  }

  .form-row {
    flex-direction: column;
    gap: var(--layout-space-16);
  }

  .form-field--half {
    width: 336px;
  }

  .panel-heading {
    font-size: var(--typography-desktop-font-scale-display-font-size-display-24);
  }

  .order-list {
    width: 310px;
    margin-top: var(--layout-space-44);
  }

  .cart-item-row {
    width: 310px;
    min-height: 176px;
    position: relative;
    grid-template-columns: 1fr;
    padding: 0 0 var(--layout-space-16);
    gap: var(--layout-space-24);
  }

  .cart-item-row + .cart-item-row {
    padding-top: var(--layout-space-20);
  }

  .cart-item-product {
    width: 310px;
  }

  .cart-item-remove {
    position: absolute;
    left: 0;
    bottom: var(--layout-space-16);
  }

  .cart-item-copy {
    font-size: var(--typography-desktop-font-scale-body-font-size-body-13);
    line-height: 20px;
  }

  .order-totals,
  .payment-block,
  .payment-button {
    width: 336px;
  }

  .shipping-row {
    min-height: 323.19px;
  }

  .shipping-options {
    width: 260px;
  }

  .privacy-note {
    width: 336px;
    font-size: var(--typography-desktop-font-scale-body-font-size-body-11);
  }

  .confirmation-main {
    height: 1529px;
    padding-top: var(--layout-space-44);
  }

  .confirmation-heading {
    width: 360px;
    height: 201px;
    padding: var(--layout-space-44) var(--layout-space-20) 0;
  }

  .confirmation-heading .page-title {
    width: 274px;
    margin-inline: auto;
    font-size: var(--typography-desktop-font-scale-display-font-size-display-36);
    line-height: 1.1;
  }

  .confirmation-grid {
    width: 360px;
    height: 1148px;
    margin-top: var(--layout-space-64);
    display: block;
  }

  .order-details {
    width: 336px;
    height: 295px;
    margin-left: var(--layout-space-12);
  }

  .order-received {
    margin-bottom: var(--layout-space-44);
  }

  .order-summary {
    font-size: var(--typography-desktop-font-scale-display-font-size-display-20);
  }

  .confirmation-order-panel {
    width: 336px;
    height: 819px;
    margin: var(--layout-space-32) 0 0 var(--layout-space-12);
  }

  .confirmation-products {
    width: 336px;
    height: 552px;
  }

  .confirmation-products .cart-item-row {
    width: 310px;
  }

  .confirmation-order-panel .order-totals {
    width: 312px;
  }

  .confirmation-order-panel .shipping-row {
    min-height: 124px;
  }

  .confirmation-order-panel .shipping-options {
    width: 220px;
  }

  .about-main {
    height: auto;
    padding-top: var(--layout-space-44);
  }

  .about-content {
    width: 336px;
    height: auto;
    padding-top: var(--layout-space-32);
    padding-bottom: var(--layout-space-44);
  }

  .about-title {
    width: 331px;
    margin-bottom: var(--layout-space-44);
  }

  .content-title {
    font-size: var(--typography-desktop-font-scale-display-font-size-display-32);
    line-height: 1.17;
  }

  .content-prose {
    font-size: var(--typography-desktop-font-scale-body-font-size-body-13);
    line-height: 1.75;
  }

  .about-intro,
  .about-copy-1,
  .about-copy-2 {
    width: 336px;
  }

  .about-copy-1 {
    margin: var(--layout-space-44) 0;
  }

  .about-copy-2 {
    margin-top: var(--layout-space-44);
  }

  .about-gallery,
  .about-gallery-2 {
    width: 336px;
    flex-direction: column;
    gap: var(--layout-space-gap-10);
  }

  .about-gallery {
    height: 733.543px;
  }

  .about-gallery-2 {
    height: 552.371px;
  }

  .about-gallery img,
  .about-gallery-2 img,
  .about-gallery img:nth-child(1),
  .about-gallery img:nth-child(2),
  .about-gallery-2 img:nth-child(1),
  .about-gallery-2 img:nth-child(2) {
    width: 336px;
  }

  .about-gallery img:nth-child(1) {
    height: 223.543px;
  }

  .about-gallery img:nth-child(2) {
    height: 500px;
  }

  .about-gallery-2 img:nth-child(1) {
    height: 214.371px;
  }

  .about-gallery-2 img:nth-child(2) {
    height: 328px;
  }

  .policy-main {
    padding-top: var(--layout-space-44);
  }

  .policy-main--terms {
    height: 2990px;
  }

  .policy-main--privacy {
    height: 2753px;
  }

  .policy-main--refunds {
    height: 1856px;
  }

  .policy-content {
    width: 336px;
    padding-top: var(--layout-space-44);
  }

  .policy-title {
    margin-bottom: var(--layout-space-44);
  }

  .policy-section {
    width: 336px;
    margin-bottom: var(--layout-space-44);
  }

  .policy-section h2 {
    font-size: var(--typography-desktop-font-scale-display-font-size-display-24);
    line-height: 1.15;
  }

  .policy-section p {
    font-size: var(--typography-desktop-font-scale-body-font-size-body-13);
    line-height: 1.65;
  }

  .policy-main--refunds .policy-content {
    width: 304px;
  }

  .policy-main--refunds .policy-section {
    width: 304px;
  }
}
