/*
 * Young Green Editorial v1.2.1
 * Three layers: primitive -> semantic -> component tokens.
 */

/* === PRIMITIVES === */
:root {
  --yg-black: #000000;
  --yg-white: #ffffff;
  --yg-gray-50: #f7f7f5;
  --yg-gray-100: #f0efe7;
  --yg-gray-200: #e5e7eb;
  --yg-gray-400: #a7a7a3;
  --yg-gray-700: #333333;
  --yg-green-800: #173f2b;
  --yg-space-1: 4px;
  --yg-space-2: 8px;
  --yg-space-3: 12px;
  --yg-space-4: 16px;
  --yg-space-5: 20px;
  --yg-space-6: 24px;
  --yg-space-8: 32px;
  --yg-space-10: 40px;
  --yg-space-12: 48px;
  --yg-space-16: 64px;
  --yg-space-20: 80px;
  --yg-radius: 4px;
  --yg-font: "Helvetica Neue", Helvetica, Arial, ui-sans-serif, system-ui, -apple-system, sans-serif;
  --yg-page-width: 1920px;
  --yg-nav-height: 64px;
  --yg-border: 1px solid currentColor;
}

/* === SEMANTIC === */
:root {
  --yg-color-ink: var(--yg-black);
  --yg-color-paper: var(--yg-white);
  --yg-color-accent: var(--yg-green-800);
  --yg-color-muted: var(--yg-gray-100);
  --yg-color-subtle: var(--yg-gray-700);
  --yg-color-line: color-mix(in srgb, var(--yg-color-ink) 18%, transparent);
  --yg-section-gap: var(--yg-space-20);
  --yg-control-height: 44px;
  --yg-focus: 2px solid var(--yg-color-accent);
}

/* === COMPONENT === */
:root {
  --yg-button-bg: var(--yg-color-ink);
  --yg-button-fg: var(--yg-color-paper);
  --yg-card-bg: var(--yg-color-paper);
  --yg-drawer-width: min(430px, 92vw);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--yg-color-paper);
  color: var(--yg-color-ink);
  font-family: var(--yg-font);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: .025em;
  -webkit-font-smoothing: antialiased;
}
body.yg-scroll-lock { overflow: hidden; }
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { color: inherit; font: inherit; letter-spacing: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { background: none; border: 0; cursor: pointer; padding: 0; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
li { list-style: none; }
table { border-collapse: collapse; width: 100%; }
input, select, textarea { border-radius: 0; }
:focus-visible { outline: var(--yg-focus); outline-offset: 3px; }
[hidden] { display: none !important; }

.yg-visually-hidden {
  border: 0 !important;
  clip: rect(0 0 0 0) !important;
  height: 1px !important;
  margin: -1px !important;
  overflow: hidden !important;
  padding: 0 !important;
  position: absolute !important;
  white-space: nowrap !important;
  width: 1px !important;
}
.yg-skip-link {
  background: var(--yg-color-paper);
  border: 1px solid var(--yg-color-ink);
  left: 12px;
  padding: 10px 14px;
  position: fixed;
  top: -100px;
  z-index: 1000;
}
.yg-skip-link:focus { top: 12px; }
.yg-container { margin-inline: auto; max-width: var(--yg-page-width); padding-inline: 24px; width: 100%; }
.yg-main { min-height: 60vh; }
.yg-section { margin-top: var(--yg-section-gap); }
.yg-section:last-child { margin-bottom: var(--yg-section-gap); }
.yg-kicker { font-size: 10px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
.yg-rte { color: var(--yg-color-subtle); font-size: 14px; line-height: 1.75; }
.yg-rte > * + * { margin-top: 1em; }
.yg-rte h2, .yg-rte h3 { color: var(--yg-color-ink); font-weight: 500; line-height: 1.25; }
.yg-rte h2 { font-size: 24px; }
.yg-rte h3 { font-size: 18px; }
.yg-rte ul, .yg-rte ol { padding-left: 20px; }
.yg-rte li { list-style: disc; margin-block: 5px; }
.yg-rte a { text-decoration: underline; text-underline-offset: 3px; }

/* Header */
.yg-header { background: var(--yg-color-paper); position: relative; z-index: 100; }
.yg-announcement {
  align-items: center;
  background: var(--yg-color-ink);
  color: var(--yg-color-paper);
  display: flex;
  font-size: 9px;
  justify-content: center;
  min-height: 24px;
  padding: 4px 16px;
  text-align: center;
  text-transform: uppercase;
}
.yg-announcement a { border-bottom: 1px solid currentColor; }
.yg-nav-shell {
  align-items: center;
  border-bottom: 1px solid var(--yg-color-line);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  height: var(--yg-nav-height);
  padding-inline: 24px;
  position: relative;
}
.yg-desktop-nav { align-items: center; align-self: stretch; display: flex; gap: 24px; min-width: 0; }
.yg-desktop-nav > a, .yg-mega-trigger { align-items: center; display: flex; font-size: 11px; font-weight: 500; height: 100%; text-transform: uppercase; white-space: nowrap; }
.yg-desktop-nav > a::after, .yg-mega-trigger::after { background: currentColor; content: ""; display: block; height: 1px; position: absolute; transform: scaleX(0); transform-origin: right; transition: transform .25s ease; }
.yg-desktop-nav > a:hover::after, .yg-desktop-nav > a[aria-current="page"]::after, .yg-mega-trigger:hover::after, .yg-mega-trigger[aria-expanded="true"]::after { transform: scaleX(1); transform-origin: left; }
.yg-desktop-nav > a, .yg-mega-trigger { position: relative; }
.yg-desktop-nav > a::after, .yg-mega-trigger::after { bottom: 15px; left: 0; right: 0; }
.yg-mega-item { align-items: center; align-self: stretch; display: flex; position: static; }
.yg-mega-panel {
  background: var(--yg-color-paper);
  border-bottom: 1px solid var(--yg-color-line);
  border-top: 1px solid var(--yg-color-line);
  display: grid;
  gap: clamp(30px, 4vw, 78px);
  grid-template-columns: 1.05fr repeat(3, minmax(150px, .75fr)) minmax(260px, 1.1fr);
  left: 0;
  opacity: 0;
  padding: 28px 24px 36px;
  pointer-events: none;
  position: absolute;
  right: 0;
  top: 100%;
  transform: translateY(-8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
  visibility: hidden;
  z-index: 110;
}
.yg-mega-item:hover .yg-mega-panel, .yg-mega-item:focus-within .yg-mega-panel, .yg-mega-item.is-open .yg-mega-panel { opacity: 1; pointer-events: auto; transform: translateY(0); visibility: visible; }
.yg-mega-featured, .yg-mega-column { align-content: start; display: grid; gap: 12px; }
.yg-mega-featured a { font-size: clamp(17px, 1.3vw, 23px); font-weight: 500; letter-spacing: -.02em; line-height: 1.15; }
.yg-mega-column h2 { font-size: 10px; font-weight: 600; margin: 2px 0 16px; text-transform: uppercase; }
.yg-mega-column a { color: var(--yg-color-subtle); font-size: 12px; }
.yg-mega-column a:hover, .yg-mega-featured a:hover { text-decoration: underline; text-underline-offset: 3px; }
.yg-mega-campaign { align-self: start; display: block; position: relative; }
.yg-mega-campaign img { aspect-ratio: 4 / 3; height: min(250px, 27vh); object-fit: cover; width: 100%; }
.yg-mega-campaign span { align-items: center; bottom: 0; color: var(--yg-color-paper); display: flex; font-size: 10px; justify-content: space-between; left: 0; padding: 14px; position: absolute; right: 0; text-transform: uppercase; }
.yg-mega-campaign::after { background: linear-gradient(180deg, transparent 55%, rgb(0 0 0 / .52)); content: ""; inset: 0; position: absolute; }
.yg-mega-campaign span { z-index: 1; }
.yg-wordmark {
  align-items: center;
  display: flex;
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 700;
  justify-content: center;
  letter-spacing: -.015em;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}
.yg-wordmark img { height: 38px; object-fit: contain; width: auto; }
.yg-header-actions { align-items: center; display: flex; gap: 14px; justify-content: flex-end; }
.yg-icon-button { align-items: center; display: inline-flex; height: 32px; justify-content: center; min-width: 32px; position: relative; }
.yg-icon-button svg { fill: none; height: 21px; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.5; width: 21px; }
.yg-cart-count {
  align-items: center;
  background: var(--yg-color-ink);
  border-radius: 50%;
  color: var(--yg-color-paper);
  display: flex;
  font-size: 8px;
  height: 15px;
  justify-content: center;
  position: absolute;
  right: -3px;
  top: -2px;
  width: 15px;
}
.yg-mobile-only { display: none; }

/* Drawers and search */
.yg-drawer { inset: 0; pointer-events: none; position: fixed; visibility: hidden; z-index: 300; }
.yg-drawer.is-open { pointer-events: auto; visibility: visible; }
.yg-drawer-backdrop { background: rgb(0 0 0 / .38); inset: 0; opacity: 0; position: absolute; transition: opacity .25s ease; width: 100%; }
.yg-drawer-panel { background: var(--yg-color-paper); height: 100%; left: 0; max-width: var(--yg-drawer-width); position: absolute; transform: translateX(-100%); transition: transform .3s ease; width: 100%; }
.yg-drawer.is-open .yg-drawer-backdrop { opacity: 1; }
.yg-drawer.is-open .yg-drawer-panel { transform: translateX(0); }
.yg-drawer-head { align-items: center; border-bottom: 1px solid var(--yg-color-line); display: flex; font-size: 11px; font-weight: 500; height: 64px; justify-content: space-between; padding-inline: 20px; }
.yg-mobile-nav { max-height: calc(100% - 122px); overflow-y: auto; padding: 16px 20px 30px; }
.yg-mobile-nav > a, .yg-mobile-nav > details > summary { align-items: center; border-bottom: 1px solid var(--yg-color-line); display: flex; font-size: 18px; justify-content: space-between; list-style: none; padding-block: 15px; text-transform: uppercase; }
.yg-mobile-nav > details > summary::-webkit-details-marker { display: none; }
.yg-mobile-nav > details[open] > summary span { transform: rotate(45deg); }
.yg-mobile-nav > details > summary span { transition: transform .2s ease; }
.yg-mobile-subnav { display: grid; gap: 12px; padding: 14px 12px 8px; }
.yg-mobile-subnav a { color: var(--yg-color-subtle); font-size: 12px; text-transform: uppercase; }
.yg-drawer-foot { bottom: 0; display: flex; gap: 20px; left: 0; padding: 20px; position: absolute; }
.yg-drawer-foot a { font-size: 11px; text-decoration: underline; text-underline-offset: 3px; text-transform: uppercase; }
.yg-search-panel { background: var(--yg-color-paper); border-bottom: 1px solid var(--yg-color-ink); left: 0; opacity: 0; padding: 32px 24px; pointer-events: none; position: absolute; right: 0; top: 100%; transform: translateY(-12px); transition: opacity .2s ease, transform .2s ease; visibility: hidden; }
.yg-search-panel.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); visibility: visible; }
.yg-search-inner { align-items: end; display: grid; gap: 40px; grid-template-columns: minmax(0, 780px) auto; justify-content: center; margin: auto; }
.yg-search-inner form > label { display: block; font-size: 10px; margin-bottom: 12px; }
.yg-search-field { align-items: center; border-bottom: 1px solid var(--yg-color-ink); display: flex; }
.yg-search-field input { background: transparent; border: 0; font-size: 20px; height: 48px; outline: 0; width: 100%; }

/* Buttons */
.yg-button {
  align-items: center;
  background: var(--yg-button-bg);
  border: 1px solid var(--yg-button-bg);
  border-radius: var(--yg-radius);
  color: var(--yg-button-fg);
  display: inline-flex;
  font-size: 11px;
  font-weight: 500;
  justify-content: center;
  min-height: var(--yg-control-height);
  padding: 10px 24px;
  text-transform: uppercase;
  transition: background-color .2s ease, color .2s ease;
}
.yg-button:hover { background: transparent; color: var(--yg-color-ink); }
.yg-button--ghost { background: var(--yg-color-paper); border-color: var(--yg-color-ink); color: var(--yg-color-ink); }
.yg-button--ghost:hover { background: var(--yg-color-ink); color: var(--yg-color-paper); }
.yg-button--light { background: var(--yg-color-paper); border-color: var(--yg-color-paper); color: var(--yg-color-ink); }
.yg-button--light:hover { background: transparent; color: var(--yg-color-paper); }
.yg-button[disabled], .yg-button.is-disabled { background: var(--yg-gray-200); border-color: var(--yg-gray-200); color: var(--yg-gray-400); cursor: not-allowed; }

/* Home hero */
.yg-hero { background: var(--yg-color-muted); min-height: min(760px, calc(100vh - 88px)); overflow: hidden; position: relative; }
.yg-hero-media { height: 100%; inset: 0; position: absolute; width: 100%; }
.yg-hero-media::after { background: linear-gradient(180deg, transparent 45%, rgb(0 0 0 / .34)); content: ""; inset: 0; position: absolute; }
.yg-hero-media img { height: 100%; object-fit: cover; object-position: center 42%; width: 100%; }
.yg-hero-content { align-items: center; color: var(--yg-color-paper); display: flex; flex-direction: column; inset: 0; justify-content: flex-end; padding: 64px 24px; position: absolute; text-align: center; }
.yg-hero h1 { font-size: clamp(30px, 4.25vw, 64px); font-weight: 400; letter-spacing: -.02em; line-height: 1.04; max-width: 900px; }
.yg-hero p { font-size: 13px; margin-top: 12px; max-width: 520px; }
.yg-hero .yg-button { margin-top: 24px; }
.yg-hero-index { bottom: 18px; display: flex; gap: 8px; left: 50%; position: absolute; transform: translateX(-50%); }
.yg-hero-index span { background: rgb(255 255 255 / .5); height: 2px; width: 44px; }
.yg-hero-index span:first-child { background: var(--yg-color-paper); }

/* Sections and editorial */
.yg-section-head { align-items: end; display: flex; gap: 20px; justify-content: space-between; margin-bottom: 24px; }
.yg-section-head h2 { font-size: clamp(21px, 1.55vw, 28px); font-weight: 500; letter-spacing: -.025em; line-height: 1.1; }
.yg-text-link { border-bottom: 1px solid currentColor; font-size: 10px; font-weight: 500; padding-bottom: 2px; text-transform: uppercase; white-space: nowrap; }
.yg-category-tabs { display: flex; gap: 6px; margin-bottom: 24px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.yg-category-tabs::-webkit-scrollbar { display: none; }
.yg-category-tabs a { border: 1px solid var(--yg-color-line); font-size: 10px; padding: 7px 12px; text-transform: uppercase; white-space: nowrap; }
.yg-category-tabs a:hover, .yg-category-tabs a.is-active { background: var(--yg-color-ink); border-color: var(--yg-color-ink); color: var(--yg-color-paper); }
.yg-editorial-heading { margin-bottom: 18px; }
.yg-editorial-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.yg-editorial-card { aspect-ratio: 4 / 5; color: var(--yg-color-paper); display: block; overflow: hidden; position: relative; }
.yg-editorial-card::after { background: linear-gradient(180deg, transparent 55%, rgb(0 0 0 / .35)); content: ""; inset: 0; position: absolute; }
.yg-editorial-card > img { height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.6,.2,1); width: 100%; }
.yg-editorial-card:hover > img { transform: scale(1.015); }
.yg-editorial-card .yg-contact-crop { height: 200%; max-width: none; object-fit: cover; position: absolute; width: 200%; }
.yg-editorial-card--left .yg-contact-crop { left: 0; top: 0; }
.yg-editorial-card--right .yg-contact-crop { left: -100%; top: 0; }
.yg-editorial-copy { bottom: 0; left: 0; padding: 32px; position: absolute; right: 0; z-index: 1; }
.yg-editorial-copy h2 { font-size: clamp(26px, 3vw, 44px); font-weight: 400; letter-spacing: -.02em; line-height: 1.05; }
.yg-editorial-copy .yg-button { margin-top: 18px; }
.yg-campaign-banner { aspect-ratio: 1.86 / 1; margin-top: var(--yg-section-gap); overflow: hidden; position: relative; }
.yg-campaign-banner::after { background: linear-gradient(90deg, rgb(0 0 0 / .2), transparent 58%); content: ""; inset: 0; pointer-events: none; position: absolute; }
.yg-campaign-banner img { height: 100%; object-fit: cover; width: 100%; }
.yg-campaign-copy { bottom: clamp(24px, 5vw, 72px); color: var(--yg-color-paper); left: clamp(20px, 5vw, 72px); max-width: 560px; position: absolute; z-index: 1; }
.yg-campaign-copy h2 { font-size: clamp(34px, 5vw, 68px); font-weight: 400; letter-spacing: -.035em; line-height: 1; margin: 10px 0 22px; }
.yg-promise-grid { border-block: 1px solid var(--yg-color-line); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: var(--yg-section-gap); }
.yg-promise { border-right: 1px solid var(--yg-color-line); padding: 32px 24px; }
.yg-promise:last-child { border-right: 0; }
.yg-promise h3 { font-size: 11px; font-weight: 500; margin-bottom: 8px; text-transform: uppercase; }
.yg-promise p { color: var(--yg-color-subtle); font-size: 12px; }

/* Product grids and cards */
.yg-product-grid { display: grid; gap: 56px 12px; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.yg-product-rail { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 4px; scroll-behavior: smooth; scroll-snap-type: x mandatory; scrollbar-width: none; }
.yg-product-rail::-webkit-scrollbar { display: none; }
.yg-product-rail .yg-product-card { flex: 0 0 clamp(270px, 21.2vw, 405px); scroll-snap-align: start; }
.yg-product-card { background: var(--yg-card-bg); min-width: 0; position: relative; }
.yg-product-media { aspect-ratio: 4 / 5; background: var(--yg-gray-100); overflow: hidden; position: relative; }
.yg-product-media > a { display: block; height: 100%; }
.yg-product-media img { height: 100%; object-fit: cover; transition: opacity .28s ease, transform .45s cubic-bezier(.2,.6,.2,1); width: 100%; }
.yg-product-image-secondary { inset: 0; opacity: 0; position: absolute; }
.yg-product-card:hover .yg-product-media.has-secondary .yg-product-image-primary { opacity: 0; }
.yg-product-card:hover .yg-product-media.has-secondary .yg-product-image-secondary { opacity: 1; transform: scale(1.012); }
.yg-product-placeholder { align-items: center; color: var(--yg-gray-400); display: flex; font-size: 11px; height: 100%; justify-content: center; letter-spacing: .18em; }
.yg-badge { background: var(--yg-color-paper); font-size: 9px; left: 8px; padding: 5px 7px; position: absolute; top: 8px; }
.yg-badge-sold { background: var(--yg-color-ink); color: var(--yg-color-paper); }
.yg-wishlist { background: rgb(255 255 255 / .82); height: 30px; position: absolute; right: 7px; top: 7px; width: 30px; }
.yg-wishlist svg { fill: none; height: 17px; margin: auto; stroke: currentColor; stroke-width: 1.5; width: 17px; }
.yg-wishlist[aria-pressed="true"] svg { fill: currentColor; }
.yg-product-info { display: flex; flex-direction: column; gap: 5px; padding: 10px 8px 0; }
.yg-product-vendor { color: var(--yg-color-subtle); display: block; font-size: 9px; margin-bottom: 5px; text-transform: uppercase; }
.yg-product-info h3 { font-size: 12px; font-weight: 400; line-height: 1.35; min-height: 32px; }
.yg-product-info h3 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.yg-product-price { align-items: center; display: flex; flex-wrap: wrap; font-size: 12px; gap: 6px; }
.yg-product-price s { color: var(--yg-gray-400); }
.yg-card-swatches { display: flex; gap: 5px; min-height: 14px; }
.yg-card-swatches:empty { display: none; }
.yg-card-swatch { background: var(--yg-gray-200); border: 1px solid rgb(0 0 0 / .28); height: 14px; width: 14px; }
.yg-product-card-row { align-items: end; display: flex; gap: 10px; justify-content: space-between; margin-top: auto; }
.yg-quick-add { flex: 0 0 auto; margin: 0; }
.yg-quick-add button { background: var(--yg-color-ink); border: 1px solid var(--yg-color-ink); border-radius: 0; color: var(--yg-color-paper); font-size: 9px; min-height: 25px; padding: 5px 9px; text-transform: uppercase; transition: background-color .2s ease, color .2s ease; white-space: nowrap; }
.yg-quick-add button:hover { background: var(--yg-color-paper); color: var(--yg-color-ink); }
.yg-quick-add.is-loading button { opacity: .55; pointer-events: none; }
.yg-quick-add-link { align-items: center; background: var(--yg-color-ink); border: 1px solid var(--yg-color-ink); color: var(--yg-color-paper); display: flex; font-size: 9px; justify-content: center; min-height: 25px; padding: 5px 9px; text-align: center; text-transform: uppercase; white-space: nowrap; }
.yg-quick-add-link:hover { background: var(--yg-color-paper); color: var(--yg-color-ink); }

/* Collection */
.yg-page-header { padding-block: 56px 32px; }
.yg-page-header h1 { font-size: clamp(34px, 4vw, 62px); font-weight: 400; letter-spacing: -.025em; line-height: 1; }
.yg-page-header p { color: var(--yg-color-subtle); margin-top: 12px; max-width: 680px; }
.yg-collection-toolbar { align-items: center; border-block: 1px solid var(--yg-color-line); display: flex; justify-content: space-between; margin-bottom: 32px; min-height: 54px; }
.yg-collection-count { font-size: 10px; text-transform: uppercase; }
.yg-sort { align-items: center; display: flex; gap: 12px; }
.yg-sort label { font-size: 10px; text-transform: uppercase; }
.yg-sort select { background: transparent; border: 0; border-bottom: 1px solid var(--yg-color-ink); font-size: 11px; min-height: 36px; outline: 0; }
.yg-empty { align-items: center; border: 1px solid var(--yg-color-line); display: flex; flex-direction: column; gap: 16px; justify-content: center; min-height: 320px; padding: 40px; text-align: center; }
.yg-empty h2 { font-size: 24px; font-weight: 400; }
.yg-pagination { align-items: center; display: flex; gap: 4px; justify-content: center; margin-block: 64px; }
.yg-pagination a, .yg-pagination span { align-items: center; display: inline-flex; font-size: 11px; height: 38px; justify-content: center; min-width: 38px; }
.yg-pagination [aria-current="page"] { background: var(--yg-color-ink); color: var(--yg-color-paper); }

/* Product detail */
.yg-breadcrumbs { color: var(--yg-color-subtle); font-size: 10px; padding-block: 16px; text-transform: uppercase; }
.yg-breadcrumbs a:hover { color: var(--yg-color-ink); }
.yg-product-layout { display: grid; gap: clamp(40px, 4.7vw, 90px); grid-template-columns: minmax(0, 2.15fr) minmax(420px, .95fr); }
.yg-product-gallery-shell { align-self: start; min-width: 0; overflow: hidden; position: relative; }
.yg-product-gallery { display: flex; gap: 2px; overflow-x: auto; overscroll-behavior-x: contain; scroll-behavior: smooth; scroll-snap-type: x mandatory; scrollbar-width: none; }
.yg-product-gallery::-webkit-scrollbar { display: none; }
.yg-product-gallery figure { aspect-ratio: 4 / 5; background: var(--yg-gray-50); flex: 0 0 calc((100% - 2px) / 2); margin: 0; overflow: hidden; scroll-snap-align: start; }
.yg-product-gallery figure > a { display: block; height: 100%; }
.yg-product-gallery img { height: 100%; object-fit: contain; width: 100%; }
.yg-gallery-nav { align-items: center; bottom: 8px; display: flex; gap: 2px; position: absolute; right: 8px; z-index: 2; }
.yg-gallery-status { align-items: center; background: var(--yg-color-paper); display: flex; font-size: 9px; height: 40px; padding-inline: 12px; }
.yg-gallery-arrow { align-items: center; background: var(--yg-color-paper); border: 1px solid var(--yg-color-line); display: flex; height: 40px; justify-content: center; width: 40px; }
.yg-gallery-arrow svg { fill: none; height: 18px; stroke: currentColor; stroke-width: 1.4; width: 18px; }
.yg-gallery-arrow--prev svg { transform: rotate(180deg); }
.yg-gallery-arrow:disabled { color: var(--yg-gray-400); cursor: default; }
.yg-product-summary { align-self: start; padding: 24px 0 0; position: sticky; top: 24px; }
.yg-product-summary h1 { font-size: clamp(24px, 1.55vw, 30px); font-weight: 400; letter-spacing: -.02em; line-height: 1.12; }
.yg-product-summary .yg-product-vendor { margin-bottom: 10px; }
.yg-product-main-price { align-items: center; display: flex; font-size: 16px; gap: 10px; margin-top: 16px; }
.yg-product-main-price s { color: var(--yg-gray-400); font-size: 13px; }
.yg-product-status { color: var(--yg-color-subtle); font-size: 10px; margin-top: 8px; text-transform: uppercase; }
.yg-product-form { margin-top: 24px; }
.yg-variant-picker { margin-bottom: 22px; }
.yg-option-row { border: 0; margin: 0 0 18px; padding: 0; }
.yg-option-row legend { font-size: 10px; margin-bottom: 9px; text-transform: uppercase; }
.yg-option-choices { display: flex; flex-wrap: wrap; gap: 8px; }
.yg-option-button { align-items: center; border: 1px solid var(--yg-color-line); display: inline-flex; font-size: 10px; gap: 10px; justify-content: center; min-height: 40px; min-width: 54px; padding: 8px 14px; text-transform: uppercase; }
.yg-option-button:hover, .yg-option-button[aria-pressed="true"] { border-color: var(--yg-color-ink); }
.yg-option-button[aria-pressed="true"] { box-shadow: inset 0 0 0 1px var(--yg-color-ink); }
.yg-option-button:disabled { cursor: not-allowed; opacity: .32; text-decoration: line-through; }
.yg-option-row--color .yg-option-button { justify-content: flex-start; width: 100%; }
.yg-color-swatch { border: 1px solid rgb(0 0 0 / .2); display: inline-block; height: 22px; width: 22px; }
.yg-field { margin-bottom: 20px; }
.yg-field label { display: block; font-size: 10px; margin-bottom: 8px; text-transform: uppercase; }
.yg-field input, .yg-field select, .yg-field textarea { background: transparent; border: 1px solid var(--yg-color-ink); min-height: var(--yg-control-height); padding: 10px 12px; width: 100%; }
.yg-field textarea { min-height: 140px; resize: vertical; }
.yg-product-form-actions { display: grid; gap: 8px; grid-template-columns: 96px 1fr; }
.yg-buy-now { border: 1px solid var(--yg-color-ink); font-size: 10px; margin-top: 9px; min-height: var(--yg-control-height); text-transform: uppercase; width: 100%; }
.yg-buy-now:hover { background: var(--yg-color-muted); }
.yg-size-guide-trigger { align-items: center; border-bottom: 1px solid var(--yg-color-line); display: flex; font-size: 10px; gap: 8px; margin-top: 18px; min-height: 42px; text-align: left; width: 100%; }
.yg-size-guide-trigger strong { font-weight: 500; margin-left: auto; text-decoration: underline; text-underline-offset: 3px; }
.yg-quantity { align-items: center; border: 1px solid var(--yg-color-ink); display: grid; grid-template-columns: 30px 1fr 30px; min-height: var(--yg-control-height); }
.yg-quantity button { height: 100%; }
.yg-quantity button svg { fill: none; height: 15px; margin: auto; stroke: currentColor; stroke-width: 1.4; width: 15px; }
.yg-quantity input { border: 0; min-width: 0; outline: 0; text-align: center; width: 100%; }
.yg-product-description { margin-top: 28px; }
.yg-accordion { border-top: 1px solid var(--yg-color-line); }
.yg-accordion:last-child { border-bottom: 1px solid var(--yg-color-line); }
.yg-accordion summary { align-items: center; cursor: pointer; display: flex; font-size: 10px; justify-content: space-between; list-style: none; padding-block: 16px; text-transform: uppercase; }
.yg-accordion summary::-webkit-details-marker { display: none; }
.yg-accordion summary::after { content: "+"; font-size: 18px; font-weight: 300; }
.yg-accordion[open] summary::after { content: "−"; }
.yg-accordion .yg-rte { padding-bottom: 20px; }
.yg-product-description .yg-rte img, .yg-product-description .yg-rte p:has(img) { display: none !important; }
.yg-size-guide .yg-drawer-panel { left: auto; max-width: min(700px, 94vw); overflow-y: auto; right: 0; transform: translateX(100%); }
.yg-size-guide.is-open .yg-drawer-panel { transform: translateX(0); }
.yg-size-guide-body { padding: 34px 28px 56px; }
.yg-size-guide-body h2 { font-size: clamp(30px, 4vw, 48px); font-weight: 400; letter-spacing: -.025em; margin: 8px 0 12px; }
.yg-size-guide-body > p { color: var(--yg-color-subtle); max-width: 560px; }
.yg-size-table-wrap { margin-top: 30px; overflow-x: auto; }
.yg-size-table { border-collapse: collapse; min-width: 600px; width: 100%; }
.yg-size-table th, .yg-size-table td { background: var(--yg-color-muted); border: 3px solid var(--yg-color-paper); font-size: 11px; padding: 14px 12px; text-align: center; }
.yg-size-table thead th { background: var(--yg-color-ink); color: var(--yg-color-paper); font-size: 9px; font-weight: 500; text-transform: uppercase; }
.yg-size-unit { font-size: 9px; margin-top: 8px; text-transform: uppercase; }
.yg-measure-grid { border-top: 1px solid var(--yg-color-line); display: grid; gap: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 32px; }
.yg-measure-grid > div { border-bottom: 1px solid var(--yg-color-line); padding: 22px 20px 22px 0; }
.yg-measure-grid > div:nth-child(odd) { border-right: 1px solid var(--yg-color-line); }
.yg-measure-grid > div:nth-child(even) { padding-left: 20px; }
.yg-measure-grid span { color: var(--yg-color-subtle); display: block; font-size: 9px; }
.yg-measure-grid strong { display: block; font-size: 12px; margin: 6px 0; text-transform: uppercase; }
.yg-measure-grid p { color: var(--yg-color-subtle); font-size: 11px; }

/* Cart */
.yg-cart-layout { display: grid; gap: 64px; grid-template-columns: minmax(0, 1.4fr) minmax(300px, .6fr); }
.yg-cart-items { border-top: 1px solid var(--yg-color-line); }
.yg-cart-line { align-items: center; border-bottom: 1px solid var(--yg-color-line); display: grid; gap: 20px; grid-template-columns: 120px minmax(0, 1fr) 120px 100px; padding-block: 20px; }
.yg-cart-line img { aspect-ratio: 4 / 5; background: var(--yg-gray-100); height: 150px; object-fit: cover; width: 120px; }
.yg-cart-line h2 { font-size: 14px; font-weight: 400; }
.yg-cart-line-meta { color: var(--yg-color-subtle); font-size: 10px; margin-top: 5px; }
.yg-cart-line-remove { border-bottom: 1px solid currentColor; display: inline-block; font-size: 9px; margin-top: 12px; text-transform: uppercase; }
.yg-cart-line input { border: 1px solid var(--yg-color-line); height: 40px; text-align: center; width: 72px; }
.yg-cart-summary { align-self: start; background: var(--yg-color-muted); padding: 28px; position: sticky; top: 24px; }
.yg-cart-summary h2 { font-size: 20px; font-weight: 400; }
.yg-cart-total { border-block: 1px solid var(--yg-color-line); display: flex; justify-content: space-between; margin-block: 22px; padding-block: 16px; }
.yg-cart-summary textarea { background: var(--yg-color-paper); border: 1px solid var(--yg-color-line); margin-top: 8px; min-height: 90px; padding: 10px; resize: vertical; width: 100%; }
.yg-cart-summary .yg-button { margin-top: 10px; width: 100%; }
.yg-cart-note { color: var(--yg-color-subtle); font-size: 10px; margin-top: 12px; }

/* Blog and content */
.yg-blog-grid { display: grid; gap: 48px 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.yg-article-card-media { aspect-ratio: 4 / 3; background: var(--yg-gray-100); overflow: hidden; }
.yg-article-card-media img { height: 100%; object-fit: cover; transition: transform .45s ease; width: 100%; }
.yg-article-card:hover img { transform: scale(1.015); }
.yg-article-card time { color: var(--yg-color-subtle); display: block; font-size: 9px; margin-top: 14px; text-transform: uppercase; }
.yg-article-card h2 { font-size: 18px; font-weight: 400; line-height: 1.25; margin-top: 7px; }
.yg-article-card p { color: var(--yg-color-subtle); font-size: 12px; margin-top: 8px; }
.yg-article { margin-inline: auto; max-width: 900px; padding-inline: 24px; }
.yg-article-header { padding-block: 64px 32px; text-align: center; }
.yg-article-header h1 { font-size: clamp(34px, 5vw, 68px); font-weight: 400; letter-spacing: -.03em; line-height: 1.04; }
.yg-article-meta { color: var(--yg-color-subtle); font-size: 10px; margin-top: 16px; text-transform: uppercase; }
.yg-article-hero { margin-bottom: 48px; width: 100%; }
.yg-article-hero img { max-height: 720px; object-fit: cover; width: 100%; }
.yg-article .yg-rte { font-size: 15px; }
.yg-article-nav { border-top: 1px solid var(--yg-color-line); display: flex; justify-content: space-between; margin-top: 48px; padding-top: 20px; }
.yg-article-nav a { font-size: 10px; text-transform: uppercase; }
.yg-content-page { margin-inline: auto; max-width: 960px; padding: 56px 24px 80px; }
.yg-content-page h1 { font-size: clamp(34px, 4vw, 58px); font-weight: 400; letter-spacing: -.025em; margin-bottom: 32px; }
.yg-contact-grid { display: grid; gap: 72px; grid-template-columns: .7fr 1.3fr; }

/* Forms and accounts */
.yg-form { max-width: 620px; }
.yg-form-errors { background: #fff0f0; border: 1px solid #b00020; color: #7b0016; margin-bottom: 20px; padding: 14px; }
.yg-form-row { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.yg-form-actions { align-items: center; display: flex; flex-wrap: wrap; gap: 14px; }
.yg-form-actions a { font-size: 10px; text-decoration: underline; text-underline-offset: 3px; text-transform: uppercase; }
.yg-account-shell { display: grid; gap: 64px; grid-template-columns: minmax(0, 1.4fr) minmax(260px, .6fr); }
.yg-data-table th, .yg-data-table td { border-bottom: 1px solid var(--yg-color-line); font-size: 12px; padding: 14px 8px; text-align: left; }
.yg-data-table th { font-size: 9px; font-weight: 500; text-transform: uppercase; }
.yg-address-card { border: 1px solid var(--yg-color-line); margin-bottom: 16px; padding: 20px; }

/* Footer */
.yg-footer { background: var(--yg-color-paper); border-top: 1px solid var(--yg-color-line); color: var(--yg-color-ink); margin-top: 48px; overflow: hidden; }
.yg-footer-top { display: grid; grid-template-columns: minmax(320px, 1.8fr) repeat(4, minmax(150px, 1fr)); min-height: 290px; }
.yg-newsletter { border-right: 1px solid var(--yg-color-line); padding: 34px 24px; }
.yg-newsletter h2 { font-size: 13px; font-weight: 400; line-height: 1.35; margin-top: 16px; }
.yg-newsletter-copy { font-size: 12px; margin-top: 9px; max-width: 380px; }
.yg-newsletter-form { align-items: stretch; display: grid; grid-template-columns: 1fr auto; margin-top: 18px; max-width: 440px; }
.yg-newsletter-form input { background: transparent; border: 1px solid var(--yg-color-ink); border-right: 0; color: inherit; height: 42px; outline: 0; padding: 0 12px; width: 100%; }
.yg-newsletter-form input::placeholder { color: var(--yg-color-subtle); }
.yg-newsletter-form button { background: var(--yg-color-ink); border: 1px solid var(--yg-color-ink); color: var(--yg-color-paper); font-size: 9px; font-weight: 600; min-width: 76px; padding: 0 12px; }
.yg-newsletter-form button:hover { background: var(--yg-color-paper); color: var(--yg-color-ink); }
.yg-newsletter-note { font-size: 8px; line-height: 1.45; margin-top: 12px; max-width: 440px; }
.yg-footer-column { align-content: start; display: grid; gap: 11px; padding: 34px 18px; }
.yg-footer-column h3 { font-size: 10px; font-weight: 600; margin-bottom: 10px; }
.yg-footer-column a, .yg-footer-column span, .yg-footer-column button { color: var(--yg-color-subtle); font-size: 11px; text-align: left; }
.yg-footer-column a:hover, .yg-footer-column button:hover { color: var(--yg-color-ink); text-decoration: underline; text-underline-offset: 3px; }
.yg-footer-giant-wordmark { border-top: 1px solid var(--yg-color-line); display: block; font-size: clamp(92px, 14vw, 268px); font-weight: 700; letter-spacing: -.065em; line-height: .75; padding: .12em .02em .04em 0; text-align: center; text-transform: uppercase; white-space: nowrap; }
.yg-footer-commerce { align-items: center; border-top: 1px solid var(--yg-color-line); display: flex; font-size: 9px; justify-content: space-between; min-height: 58px; padding: 12px 24px; text-transform: uppercase; }
.yg-payment-list { display: flex; flex-wrap: wrap; gap: 5px; justify-content: flex-end; }
.yg-payment-list span { border: 1px solid var(--yg-color-line); font-size: 8px; padding: 4px 6px; }
.yg-footer-bottom { align-items: center; border-top: 1px solid var(--yg-color-line); color: var(--yg-color-subtle); display: grid; font-size: 8px; gap: 16px; grid-template-columns: 1fr 1fr; min-height: 58px; padding: 14px 24px; text-transform: uppercase; }
.yg-footer-bottom span:last-child { text-align: right; }
.yg-footer-bottom a { text-decoration: underline; text-underline-offset: 2px; }

/* Toast */
.yg-toast { background: var(--yg-color-ink); bottom: 20px; color: var(--yg-color-paper); font-size: 11px; left: 50%; max-width: calc(100vw - 32px); opacity: 0; padding: 12px 18px; pointer-events: none; position: fixed; transform: translate(-50%, 16px); transition: opacity .2s ease, transform .2s ease; z-index: 500; }
.yg-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 1100px) {
  .yg-desktop-nav { gap: 15px; }
  .yg-desktop-nav > a, .yg-mega-trigger { font-size: 10px; }
  .yg-mega-panel { gap: 28px; grid-template-columns: 1fr repeat(3, minmax(125px, .75fr)); }
  .yg-mega-campaign { display: none; }
  .yg-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .yg-product-layout { gap: 28px; grid-template-columns: minmax(0, 1.55fr) minmax(320px, .65fr); }
  .yg-footer-top { grid-template-columns: 1.45fr repeat(2, 1fr); }
  .yg-footer-column:nth-of-type(3), .yg-footer-column:nth-of-type(4) { border-top: 1px solid var(--yg-color-line); }
  .yg-footer-column:nth-of-type(4) { grid-column: 2 / -1; }
}

@media (max-width: 820px) {
  :root { --yg-nav-height: 56px; --yg-section-gap: 56px; }
  .yg-container { padding-inline: 16px; }
  .yg-desktop-only, .yg-desktop-nav { display: none; }
  .yg-mobile-only { display: inline-flex; }
  [data-menu-open]::before { background: linear-gradient(to bottom, currentColor 0 1px, transparent 1px 6px, currentColor 6px 7px, transparent 7px 12px, currentColor 12px 13px); content: ""; height: 13px; width: 18px; }
  [data-menu-open] > svg { display: none; }
  .yg-nav-shell { display: flex; justify-content: space-between; padding-inline: 10px; position: relative; }
  .yg-header-actions { gap: 2px; }
  .yg-wordmark { font-size: 24px; left: 50%; max-width: calc(100% - 150px); position: absolute; top: 50%; transform: translate(-50%, -50%); }
  .yg-wordmark img { height: 32px; }
  .yg-search-panel { padding: 24px 16px; }
  .yg-search-inner { gap: 12px; grid-template-columns: 1fr auto; }
  .yg-hero { min-height: calc(100svh - 80px); }
  .yg-hero-media img { object-position: 34% center; }
  .yg-hero-content { padding: 48px 20px 76px; }
  .yg-hero h1 { font-size: 36px; }
  .yg-product-grid { gap: 40px 8px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .yg-product-rail { gap: 8px; }
  .yg-product-rail .yg-product-card { flex-basis: 46vw; }
  .yg-section-head { margin-bottom: 18px; }
  .yg-section-head h2 { font-size: 26px; }
  .yg-editorial-copy { padding: 20px; }
  .yg-editorial-copy h2 { font-size: 28px; }
  .yg-campaign-banner { aspect-ratio: 4 / 5; }
  .yg-campaign-banner img { object-position: 54% center; }
  .yg-campaign-copy { bottom: 30px; }
  .yg-promise-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .yg-promise:nth-child(2) { border-right: 0; }
  .yg-promise:nth-child(-n+2) { border-bottom: 1px solid var(--yg-color-line); }
  .yg-product-layout { display: block; }
  .yg-product-gallery figure { flex-basis: 100%; }
  .yg-product-summary { padding-top: 32px; position: static; }
  .yg-cart-layout, .yg-contact-grid, .yg-account-shell { display: block; }
  .yg-cart-summary { margin-top: 32px; position: static; }
  .yg-blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .yg-footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .yg-newsletter { border-bottom: 1px solid var(--yg-color-line); border-right: 0; grid-column: 1 / -1; padding-inline: 16px; }
  .yg-footer-column { border-top: 0 !important; padding: 28px 16px; }
  .yg-footer-column:nth-of-type(4) { grid-column: auto; }
  .yg-footer-giant-wordmark { font-size: 15.4vw; }
}

@media (max-width: 560px) {
  .yg-announcement { font-size: 8px; }
  .yg-wordmark { font-size: 22px; }
  .yg-icon-button { min-width: 30px; }
  .yg-hero h1 { font-size: 32px; }
  .yg-hero p { font-size: 11px; }
  .yg-section-head { align-items: start; flex-direction: column; }
  .yg-product-info { padding-top: 10px; }
  .yg-product-info h3, .yg-product-price { font-size: 11px; }
  .yg-product-rail .yg-product-card { flex-basis: 72vw; }
  .yg-product-info { padding-inline: 2px; }
  .yg-product-card-row { align-items: start; flex-direction: column; }
  .yg-quick-add button, .yg-quick-add-link { min-height: 28px; }
  .yg-editorial-grid { display: block; }
  .yg-editorial-card { aspect-ratio: 4 / 5; }
  .yg-editorial-card--right { margin-top: 2px; }
  .yg-page-header { padding-block: 40px 24px; }
  .yg-page-header h1 { font-size: 38px; }
  .yg-collection-toolbar { align-items: start; flex-direction: column; gap: 10px; padding-block: 12px; }
  .yg-sort { justify-content: space-between; width: 100%; }
  .yg-gallery-nav { bottom: 6px; right: 6px; }
  .yg-gallery-status { height: 36px; }
  .yg-gallery-arrow { height: 36px; width: 36px; }
  .yg-product-form-actions { grid-template-columns: 88px 1fr; }
  .yg-cart-line { align-items: start; gap: 12px; grid-template-columns: 84px 1fr; }
  .yg-cart-line img { height: 105px; width: 84px; }
  .yg-cart-line > :nth-child(3), .yg-cart-line > :nth-child(4) { grid-column: 2; }
  .yg-blog-grid { grid-template-columns: 1fr; }
  .yg-article-header { padding-top: 44px; }
  .yg-content-page { padding-top: 40px; }
  .yg-form-row { grid-template-columns: 1fr; }
  .yg-newsletter { padding-block: 30px; }
  .yg-footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .yg-footer-column { padding-block: 24px; }
  .yg-footer-column h3 { font-size: 9px; }
  .yg-footer-column a, .yg-footer-column span, .yg-footer-column button { font-size: 10px; }
  .yg-footer-commerce { align-items: flex-start; flex-direction: column; gap: 10px; padding-inline: 16px; }
  .yg-footer-bottom { align-items: flex-start; display: flex; flex-direction: column; gap: 6px; padding-inline: 16px; }
  .yg-footer-bottom span:last-child { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

@supports not (color: color-mix(in srgb, black 10%, white)) {
  :root { --yg-color-line: #d6d6d2; }
}