/*
Theme Name: Atelier North
Theme URI: https://example.com/atelier-north
Author: Studio
Description: Editorial WooCommerce storefront theme for a premium jewelry brand.
Version: 0.1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: atelier-north
*/

:root {
  --paper: #f5f1ea;
  --ink: #1f2925;
  --mineral: #0f3d3a;
  --brass: #b98b55;
  --mist: #d9dfd8;
  --white: #fffdf9;
  --muted: #6c756f;
  --line: rgba(31, 41, 37, 0.16);
  --display: Georgia, 'Times New Roman', serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max: 1380px;
  --ease: cubic-bezier(.22, .75, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
img { display: block; max-width: 100%; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; }

.site-shell { overflow: clip; }
.announcement {
  min-height: 35px;
  padding: 8px 24px;
  color: var(--paper);
  background: var(--mineral);
  font-size: 11px;
  letter-spacing: .16em;
  text-align: center;
  text-transform: uppercase;
}
.site-header { position: relative; z-index: 20; background: var(--paper); }
.utility-bar, .main-nav { max-width: var(--max); margin: 0 auto; padding: 0 32px; }
.utility-bar {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.utility-links { display: flex; gap: 20px; align-items: center; }
.main-nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 84px; }
.brand { display: inline-flex; align-items: baseline; gap: 8px; color: var(--mineral); }
.brand-mark { font-family: var(--display); font-size: 28px; letter-spacing: -.06em; }
.brand-sub { color: var(--brass); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; }
.nav-links { display: flex; justify-content: flex-start; gap: 24px; padding: 0; margin: 0; list-style: none; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.nav-links a { position: relative; padding: 10px 0; }
.nav-links a::after { position: absolute; right: 0; bottom: 4px; left: 0; height: 1px; content: ''; background: var(--brass); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-actions { display: flex; align-items: center; justify-content: flex-end; gap: 16px; font-size: 12px; }
.nav-action { display: inline-flex; gap: 6px; align-items: center; border: 0; background: none; cursor: pointer; }
.bag-count { display: inline-grid; width: 20px; height: 20px; place-items: center; color: var(--paper); background: var(--mineral); border-radius: 50%; font-size: 10px; }
.menu-toggle { display: none; border: 0; background: none; cursor: pointer; }

.hero { max-width: var(--max); margin: 0 auto; padding: 0 32px 32px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; min-height: min(680px, 72vh); }
.hero-panel { position: relative; display: flex; min-height: 560px; align-items: flex-end; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-panel::after { position: absolute; inset: 0; z-index: 1; content: ''; background: linear-gradient(0deg, rgba(15,61,58,.78), rgba(15,61,58,0) 58%); pointer-events: none; }
.hero-panel--stone { background: #cab9a7 url('https://images.unsplash.com/photo-1605100804763-247f67b3557e?auto=format&fit=crop&w=1400&q=85') center/cover; }
.hero-panel--nature { background: #195854 url('https://images.unsplash.com/photo-1515562141207-7a88fb7ce338?auto=format&fit=crop&w=1400&q=85') center/cover; }
.hero-copy { position: relative; z-index: 2; max-width: 430px; padding: 44px; color: var(--white); }
.hero-copy h1 { max-width: 420px; margin: 0 0 16px; font-family: var(--display); font-size: clamp(3rem, 6vw, 6.5rem); font-weight: 400; letter-spacing: -.06em; line-height: .88; }
.hero-copy p { max-width: 32ch; margin: 0 0 24px; color: rgba(255,253,249,.84); }
.hero-panel--nature .hero-copy { color: var(--paper); }
.hero-panel--nature::after { background: linear-gradient(0deg, rgba(4,24,23,.68), rgba(4,24,23,.12) 62%); }
.hero-panel--nature .hero-copy h1 { font-style: italic; }
.button { display: inline-flex; min-height: 45px; align-items: center; justify-content: center; padding: 0 18px; border: 1px solid currentColor; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; transition: color .35s var(--ease), background .35s var(--ease), transform .35s var(--ease); }
.button:hover { color: var(--mineral); background: var(--paper); transform: translateY(-2px); }
.button--dark { color: var(--paper); background: var(--mineral); border-color: var(--mineral); }
.button--dark:hover { color: var(--paper); background: var(--brass); border-color: var(--brass); }
.hero-panel .button { color: var(--white); }
.hero-panel .button:hover { color: var(--mineral); }

.section { max-width: var(--max); margin: 0 auto; padding: 104px 32px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
.section-heading h2 { max-width: 620px; margin: 0; font-family: var(--display); font-size: clamp(2.3rem, 4vw, 4.5rem); font-weight: 400; letter-spacing: -.055em; line-height: .96; }
.section-heading p { max-width: 32ch; margin: 0; color: var(--muted); }
.section-link { color: var(--mineral); border-bottom: 1px solid var(--brass); font-size: 11px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; white-space: nowrap; }

.category-rail { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.category-link { position: relative; min-height: 360px; display: flex; align-items: end; overflow: hidden; color: var(--white); background: var(--mineral); }
.category-link::before { position: absolute; inset: 0; content: ''; background: var(--category-image) center/cover; transition: transform .8s var(--ease); }
.category-link::after { position: absolute; inset: 0; content: ''; background: linear-gradient(0deg, rgba(15,61,58,.88), rgba(15,61,58,0) 65%); }
.category-link:hover::before { transform: scale(1.05); }
.category-copy { position: relative; z-index: 1; padding: 24px; }
.category-copy h3 { margin: 0 0 4px; font-family: var(--display); font-size: 28px; font-weight: 400; }
.category-copy span { color: rgba(255,253,249,.76); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }

.product-section { background: var(--mineral); color: var(--paper); }
.product-section .section { padding-top: 96px; padding-bottom: 96px; }
.product-section .section-heading p { color: rgba(245,241,234,.7); }
.product-section .section-link { color: var(--paper); }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.product-card { min-width: 0; }
.product-image { position: relative; aspect-ratio: 4/5; overflow: hidden; background: #d6d0c6; }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.product-card:hover .product-image img { transform: scale(1.04); }
.product-meta { display: flex; align-items: start; justify-content: space-between; gap: 12px; padding-top: 15px; }
.product-title { margin: 0; font-family: var(--display); font-size: 23px; font-weight: 400; line-height: 1.08; }
.product-kind { margin: 4px 0 0; color: rgba(245,241,234,.64); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.product-price { color: var(--brass); font-size: 13px; white-space: nowrap; }

.story { display: grid; grid-template-columns: 1.02fr .98fr; min-height: 560px; background: var(--mist); }
.story-image { min-height: 520px; background: url('https://images.unsplash.com/photo-1515562141207-7a88fb7ce338?auto=format&fit=crop&w=1200&q=85') center/cover; }
.story-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(36px, 7vw, 96px); }
.story-copy h2 { max-width: 500px; margin: 0 0 22px; font-family: var(--display); font-size: clamp(2.5rem, 5vw, 5.5rem); font-weight: 400; letter-spacing: -.06em; line-height: .9; }
.story-copy p { max-width: 42ch; margin: 0 0 28px; color: #54615a; }

.newsletter { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: end; padding: 78px 0 0; border-top: 1px solid var(--line); }
.newsletter h2 { margin: 0; font-family: var(--display); font-size: clamp(2.2rem, 4vw, 4.1rem); font-weight: 400; letter-spacing: -.06em; line-height: .94; }
.newsletter p { max-width: 38ch; margin: 0 0 16px; color: var(--muted); }
.newsletter-form { display: flex; border-bottom: 1px solid var(--ink); }
.newsletter-form input { min-width: 0; flex: 1; padding: 15px 0; color: var(--ink); background: transparent; border: 0; outline: 0; }
.newsletter-form button { padding: 15px 0 15px 15px; color: var(--mineral); border: 0; background: none; cursor: pointer; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }

.site-footer { color: var(--paper); background: var(--ink); }
.footer-inner { max-width: var(--max); margin: 0 auto; padding: 68px 32px 30px; }
.footer-top { display: flex; align-items: start; justify-content: space-between; gap: 48px; padding-bottom: 62px; }
.footer-brand { color: var(--paper); }
.footer-brand .brand-sub { color: var(--brass); }
.footer-links { display: grid; grid-template-columns: repeat(3, minmax(110px, 1fr)); gap: 40px; }
.footer-column h3 { margin: 0 0 14px; color: var(--brass); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; }
.footer-column a { display: block; margin: 8px 0; color: rgba(245,241,234,.72); font-size: 13px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 22px; border-top: 1px solid rgba(245,241,234,.18); color: rgba(245,241,234,.52); font-size: 11px; }

.woocommerce-breadcrumb { max-width: var(--max); margin: 0 auto; padding: 24px 32px 0; color: var(--muted); font-size: 12px; }
.woocommerce ul.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; padding: 0 32px; margin: 40px auto; max-width: var(--max); }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product { width: auto; float: none; margin: 0; }
.woocommerce ul.products li.product a img { aspect-ratio: 4/5; object-fit: cover; }

@media (max-width: 900px) {
  .main-nav { grid-template-columns: auto 1fr auto; }
  .menu-toggle { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: flex-start; font-size: 22px; }
  .nav-links { position: fixed; inset: 120px 20px auto; z-index: 30; display: none; flex-direction: column; gap: 0; padding: 20px; background: var(--white); box-shadow: 0 18px 45px rgba(31,41,37,.18); }
  .nav-links.is-open { display: flex; }
  .nav-links a { display: block; padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .hero-grid, .story { grid-template-columns: 1fr; }
  .hero-panel { min-height: 500px; }
  .category-rail, .product-grid { grid-template-columns: repeat(2, 1fr); }
  .category-link { min-height: 300px; }
}
@media (max-width: 620px) {
  .utility-bar, .main-nav, .hero, .section, .footer-inner { padding-right: 20px; padding-left: 20px; }
  .utility-bar { font-size: 9px; }
  .utility-links { gap: 10px; }
  .main-nav { min-height: 72px; }
  .brand-mark { font-size: 24px; }
  .brand-sub { display: none; }
  .nav-actions { gap: 9px; }
  .nav-actions .nav-action:first-child { display: none; }
  .hero { padding-bottom: 20px; }
  .hero-grid { gap: 4px; }
  .hero-panel { min-height: 420px; }
  .hero-copy { padding: 28px; }
  .section { padding-top: 68px; padding-bottom: 68px; }
  .section-heading { display: block; margin-bottom: 24px; }
  .section-heading h2 { margin-bottom: 14px; }
  .category-rail, .product-grid { gap: 10px; }
  .category-link { min-height: 220px; }
  .category-copy { padding: 16px; }
  .category-copy h3 { font-size: 22px; }
  .product-meta { display: block; }
  .product-price { display: block; padding-top: 8px; }
  .story-image { min-height: 360px; }
  .story-copy { padding: 44px 28px; }
  .newsletter { grid-template-columns: 1fr; padding-top: 52px; }
  .footer-top, .footer-bottom { display: block; }
  .footer-links { grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 42px; }
  .footer-bottom > * { margin-top: 12px; }
  .woocommerce ul.products { grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 0 20px; }
}

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

/* Reference homepage direction: clean luxury header, breadcrumb, and split editorial hero. */
.reference-header { background: #fff; color: #242424; }
.reference-promo { min-height: 38px; display: grid; place-items: center; color: #fff; background: #123f3d; font-size: 12px; letter-spacing: .11em; }
.reference-primary { max-width: 1440px; min-height: 106px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 28px; padding: 0 38px; margin: 0 auto; }
.reference-utility, .reference-actions { display: flex; align-items: center; gap: 24px; font-size: 14px; }
.reference-utility { justify-content: flex-start; }
.reference-utility a:hover { color: #b2753f; }
.reference-logo { color: #111; font-family: var(--display); font-size: clamp(27px, 3vw, 42px); letter-spacing: .1em; line-height: 1; text-align: center; text-transform: uppercase; white-space: nowrap; }
.reference-logo-wrap { display: flex; justify-content: center; }
.reference-logo-wrap .custom-logo-link { display: inline-flex; align-items: center; justify-content: center; }
.reference-logo-wrap .custom-logo { width: auto; max-width: min(420px, 42vw); max-height: 58px; object-fit: contain; }
.reference-actions { justify-content: flex-end; }
.reference-actions a { position: relative; display: inline-flex; align-items: center; }
.reference-actions svg, .help-widget svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.reference-count { position: absolute; top: -8px; right: -8px; display: grid; width: 16px; height: 16px; place-items: center; color: #fff; background: #123f3d; border-radius: 50%; font-size: 9px; }
.reference-currency { display: inline-flex; gap: 7px; align-items: center; }
.currency-dot { display: inline-block; width: 18px; height: 18px; border: 1px solid #bbb; border-radius: 50%; box-shadow: inset 0 0 0 4px #fff; background: #c62828; }
.reference-nav-row { display: flex; min-height: 57px; align-items: center; justify-content: center; border-top: 1px solid #e6e6e6; border-bottom: 1px solid #ddd; }
.reference-nav-row .nav-links { display: flex; justify-content: center; gap: clamp(25px, 4vw, 62px); padding: 0; margin: 0; list-style: none; font-size: 15px; letter-spacing: .02em; text-transform: uppercase; }
.reference-nav-row .nav-links a { padding: 18px 0; }
.reference-nav-row .nav-links a::after { display: none; }
.reference-nav-row .menu-toggle { display: none; }
.reference-breadcrumb { max-width: 1440px; padding: 26px 38px 24px; margin: 0 auto; color: #424242; background: #fff; font-size: 14px; }
.reference-hero { display: grid; grid-template-columns: 1fr 1fr; }
.reference-hero-panel { position: relative; min-height: min(640px, 57vw); display: flex; align-items: end; justify-content: center; overflow: hidden; background: #123f3d; }
.reference-hero-panel::after { position: absolute; inset: 0; content: ''; background: linear-gradient(0deg, rgba(0,0,0,.48), rgba(0,0,0,0) 58%); }
.reference-hero-panel--nature::after { background: linear-gradient(0deg, rgba(0,39,37,.68), rgba(0,39,37,.06) 58%); }
.reference-hero-panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reference-hero-panel--yes img { object-position: center 58%; filter: saturate(.78) sepia(.12); }
.reference-hero-panel--nature img { object-position: center; }
.reference-hero-copy { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; padding: 0 20px 64px; color: #fff; text-align: center; }
.reference-hero-copy h1 { margin: 0 0 24px; font-family: var(--display); font-size: clamp(40px, 4vw, 67px); font-weight: 400; letter-spacing: -.04em; line-height: .95; }
.reference-hero-copy p { max-width: 34ch; margin: -8px 0 22px; color: rgba(255,255,255,.88); font-size: 15px; line-height: 1.5; }
.reference-button { display: inline-flex; min-height: 60px; align-items: center; justify-content: center; padding: 0 36px; color: #252525; background: #fff; font-size: 16px; transition: background .25s ease, color .25s ease, transform .25s ease; }
.reference-button:hover { color: #fff; background: #b2753f; transform: translateY(-2px); }
.reference-button--dark { color: #fff; background: #123f3d; }
.reference-content { max-width: 1440px; padding: 0 38px; margin: 0 auto; }
.reference-products { padding: 90px 0 112px; background: #fff; }
.reference-products h2 { margin: 0 0 38px; color: #222; font-family: var(--display); font-size: clamp(34px, 4vw, 53px); font-weight: 400; letter-spacing: -.045em; line-height: 1; }
.reference-product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.reference-product-card { min-width: 0; }
.reference-product-image { aspect-ratio: 4/5; overflow: hidden; background: #eee9e1; }
.reference-product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.reference-product-card:hover .reference-product-image img { transform: scale(1.04); }
.reference-product-meta { display: flex; align-items: start; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px solid #ddd; }
.reference-product-meta h3 { margin: 0; font-family: var(--display); font-size: 20px; font-weight: 400; line-height: 1.1; }
.reference-product-meta span { color: #6f553b; font-size: 14px; white-space: nowrap; }
.reference-empty-products { grid-column: 1 / -1; padding: 24px; color: #666; background: #f5f1ea; }
.reference-story { padding: 0 0 112px; background: #fff; }
.reference-story-grid { display: grid; grid-template-columns: 1fr 1fr; min-height: 480px; background: #e5e9e4; }
.reference-story-image { min-height: 420px; background: var(--story-image, url('https://images.unsplash.com/photo-1599643478518-a784e5dc4c8f?auto=format&fit=crop&w=1200&q=85')) center/cover; }
.reference-story-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(32px, 6vw, 84px); }
.reference-story-copy h2 { max-width: 520px; margin: 0 0 20px; font-family: var(--display); font-size: clamp(38px, 4vw, 62px); font-weight: 400; letter-spacing: -.05em; line-height: .94; }
.reference-story-copy p { max-width: 38ch; margin: 0 0 28px; color: #5e655f; }
.help-widget { position: fixed; right: 24px; bottom: 24px; z-index: 25; display: flex; min-width: 286px; align-items: center; gap: 15px; padding: 17px 17px 17px 25px; color: #123f3d; background: #fff; border-radius: 32px; box-shadow: 0 12px 32px rgba(0,0,0,.14); }
.help-widget > a { display: flex; flex: 1; align-items: center; gap: 15px; color: inherit; }
.help-widget button { align-self: start; padding: 0; color: #c8c8c8; border: 0; background: transparent; font-size: 25px; line-height: 1; cursor: pointer; }
.help-widget div { display: flex; flex-direction: column; flex: 1; }
.help-widget strong { font-size: 16px; font-weight: 500; }
.help-widget span { color: #555; font-size: 13px; }
.help-widget svg { flex: 0 0 auto; width: 47px; height: 47px; padding: 10px; color: #fff; background: #222; border-radius: 50%; }
.footer-column ul { padding: 0; margin: 0; list-style: none; }
.footer-column li a { display: block; }

@media (max-width: 980px) {
  .reference-primary { grid-template-columns: 1fr auto; min-height: 88px; padding: 0 24px; }
  .reference-utility { gap: 14px; font-size: 12px; }
  .reference-logo { grid-column: 1 / -1; grid-row: 1; justify-self: center; }
  .reference-utility, .reference-actions { grid-row: 2; }
  .reference-actions { gap: 15px; }
  .reference-currency { display: none; }
  .reference-nav-row { min-height: 50px; justify-content: flex-start; padding: 0 24px; }
  .reference-nav-row .menu-toggle { display: inline-flex; align-items: center; border: 0; background: none; cursor: pointer; }
  .reference-nav-row nav { width: 100%; }
  .reference-nav-row .nav-links { gap: 20px; overflow-x: auto; justify-content: flex-start; white-space: nowrap; }
  .reference-nav-row .nav-links a { padding: 14px 0; font-size: 12px; }
  .reference-breadcrumb { padding-right: 24px; padding-left: 24px; }
  .reference-content { padding-right: 24px; padding-left: 24px; }
}

@media (max-width: 640px) {
  .reference-promo { min-height: 32px; font-size: 10px; }
  .reference-primary { min-height: 92px; padding: 0 16px; }
  .reference-utility { gap: 11px; font-size: 10px; }
  .reference-utility a:first-child { display: none; }
  .reference-actions { gap: 10px; }
  .reference-actions svg { width: 19px; height: 19px; }
  .reference-primary .reference-logo { font-size: 26px; }
  .reference-logo-wrap .custom-logo { max-width: 250px; max-height: 42px; }
  .reference-nav-row { padding: 0 16px; }
  .reference-nav-row .nav-links { gap: 18px; }
  .reference-breadcrumb { padding: 18px 16px; font-size: 12px; }
  .reference-hero { grid-template-columns: 1fr; }
  .reference-hero-panel { min-height: 430px; }
  .reference-hero-copy { padding-bottom: 40px; }
  .reference-hero-copy h1 { font-size: 44px; }
  .reference-button { min-height: 50px; padding: 0 22px; font-size: 13px; }
  .reference-products { padding: 58px 0 70px; }
  .reference-products h2 { margin-bottom: 24px; font-size: 36px; }
  .reference-product-grid { grid-template-columns: repeat(2, 1fr); gap: 14px 10px; }
  .reference-product-meta { display: block; }
  .reference-product-meta h3 { font-size: 17px; }
  .reference-product-meta span { display: block; padding-top: 6px; }
  .reference-story { padding-bottom: 70px; }
  .reference-story-grid { grid-template-columns: 1fr; }
  .reference-story-image { min-height: 320px; }
  .reference-story-copy { padding: 44px 28px; }
  .help-widget { right: 12px; bottom: 12px; min-width: 0; max-width: calc(100% - 24px); padding: 12px 12px 12px 16px; }
}

/* WooCommerce screens */
.reference-shop-page, .woocommerce-page { background: #fff; }
.reference-shop-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; padding: 70px 0 34px; }
.reference-shop-heading h1 { margin: 0; font-family: var(--display); font-size: clamp(36px, 4vw, 58px); font-weight: 400; letter-spacing: -.05em; line-height: 1; }
.reference-shop-heading p { max-width: 44ch; margin: 0; color: #666; }
.woocommerce .woocommerce-breadcrumb { max-width: none; padding: 0; margin: 0; font-size: 13px; }
.woocommerce ul.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px 18px; width: 100%; padding: 0; margin: 0; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product { width: auto; padding: 0; margin: 0; float: none; }
.woocommerce ul.products li.product a img { width: 100%; margin: 0; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { padding: 0; margin: 0; color: #222; font-family: var(--display); font-size: 20px; font-weight: 400; line-height: 1.1; }
.woocommerce ul.products li.product .price { margin: 0; color: #6f553b; font-size: 14px; }
.reference-product-link { display: inline-block; margin-top: 10px; color: #123f3d; border-bottom: 1px solid #b2753f; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.woocommerce .woocommerce-ordering, .woocommerce .woocommerce-result-count { margin-top: 0; margin-bottom: 22px; color: #6a6a6a; font-size: 12px; }
.woocommerce .woocommerce-ordering select, .woocommerce form .form-row select, .woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea { min-height: 46px; padding: 10px 12px; color: #242424; background: #fff; border: 1px solid #cfcfcf; border-radius: 0; }
.woocommerce .button, .woocommerce button.button, .woocommerce input.button { min-height: 48px; padding: 0 20px; color: #fff; background: #123f3d; border: 0; border-radius: 0; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.woocommerce .button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover { color: #fff; background: #b2753f; }
.woocommerce div.product { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr); gap: clamp(32px, 6vw, 100px); padding: 70px 0 110px; }
.woocommerce div.product div.images, .woocommerce div.product div.summary { width: auto; float: none; margin: 0; }
.woocommerce div.product div.images img { width: 100%; }
.woocommerce div.product .product_title { margin: 0 0 16px; font-family: var(--display); font-size: clamp(36px, 4vw, 64px); font-weight: 400; letter-spacing: -.05em; line-height: .96; }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: #6f553b; font-size: 18px; }
.woocommerce div.product form.cart { padding: 25px 0; margin: 25px 0; border-top: 1px solid #ddd; border-bottom: 1px solid #ddd; }
.woocommerce div.product .quantity .qty { min-height: 48px; width: 70px; padding: 0 8px; border: 1px solid #cfcfcf; }
.woocommerce .woocommerce-tabs { grid-column: 1 / -1; padding-top: 25px; border-top: 1px solid #ddd; }
.woocommerce .woocommerce-tabs ul.tabs { padding: 0; margin: 0 0 28px; }
.woocommerce .woocommerce-tabs ul.tabs::before { border-bottom-color: #ddd; }
.woocommerce .woocommerce-tabs ul.tabs li { padding: 0 20px 12px 0; margin: 0 20px 0 0; background: transparent; border: 0; border-bottom: 2px solid transparent; border-radius: 0; }
.woocommerce .woocommerce-tabs ul.tabs li.active { border-bottom-color: #b2753f; }
.woocommerce-cart .cart-collaterals, .woocommerce-checkout #customer_details, .woocommerce-checkout #order_review { padding: 28px; background: #f5f1ea; }
.woocommerce table.shop_table { border-collapse: collapse; border: 0; border-radius: 0; }
.woocommerce table.shop_table td, .woocommerce table.shop_table th { padding: 16px 12px; border-color: #ddd; }
.woocommerce form.checkout_coupon, .woocommerce form.login, .woocommerce form.register { border: 1px solid #ddd; border-radius: 0; }

@media (max-width: 760px) {
  .reference-shop-heading { display: block; padding-top: 48px; }
  .reference-shop-heading h1 { margin-bottom: 14px; }
  .woocommerce ul.products { grid-template-columns: repeat(2, 1fr); gap: 22px 12px; }
  .woocommerce div.product { display: block; padding-top: 48px; }
  .woocommerce div.product div.summary { padding-top: 34px; }
  .woocommerce-cart .cart-collaterals, .woocommerce-checkout #customer_details, .woocommerce-checkout #order_review { padding: 18px; }
}
