/*
Theme Name: OY Hair
Description: OLESIA YUHOVA storefront adapted from the approved Open Design checkpoint.
Version: 1.2.6
Requires at least: 6.8
Requires PHP: 8.3
Text Domain: oy-hair
*/

/* Self-hosted OFL fonts (Fontsource 5.x): Onest for text, Cormorant Garamond for headings. */
@font-face { font-family: "Onest"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/onest-cyrillic-400-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/onest-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+20BD, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 500; font-display: swap; src: url("assets/fonts/onest-cyrillic-500-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 500; font-display: swap; src: url("assets/fonts/onest-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+20BD, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 600; font-display: swap; src: url("assets/fonts/onest-cyrillic-600-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 600; font-display: swap; src: url("assets/fonts/onest-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+20BD, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap; src: url("assets/fonts/cormorant-garamond-cyrillic-500-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap; src: url("assets/fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+20BD, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 600; font-display: swap; src: url("assets/fonts/cormorant-garamond-cyrillic-600-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 600; font-display: swap; src: url("assets/fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+20BD, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --oy-bg: #0d0b09;
  --oy-surface: #17130f;
  --oy-text: #efe7da;
  --oy-muted: #a69a86;
  --oy-gold: #c9a35b;
  --oy-logo-gold: #cdb16e;
  --oy-line: #4a3f31;
  --oy-soft-line: #2e271f;
  --oy-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --oy-body: "Onest", "Segoe UI", system-ui, -apple-system, sans-serif;
  --oy-gutter: clamp(20px, 4vw, 60px);
  --oy-width: 1280px;
  --oy-section: clamp(64px, 8vw, 120px);
}
* { box-sizing: border-box; }
html { color-scheme: dark; scroll-behavior: smooth; scroll-padding-top: 130px; }
body { margin: 0; background: var(--oy-bg); color: var(--oy-text); font: 16px/1.6 var(--oy-body); }
img { max-width: 100%; height: auto; vertical-align: middle; }
svg { width: 24px; height: 24px; flex-shrink: 0; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .25em; }
button, input, select, textarea { font: inherit; }
button, input[type="submit"] { cursor: pointer; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--oy-gold); outline-offset: 5px; }
[hidden] { display: none !important; }
h1, h2, h3 { color: var(--oy-gold); font-family: var(--oy-display); font-weight: 400; line-height: 1.1; overflow-wrap: anywhere; }
h1 { font-size: clamp(38px, 5.5vw, 78px); margin: 0 0 28px; }
h2 { font-size: clamp(30px, 4vw, 50px); margin: 0 0 24px; }
h3 { font-size: clamp(24px, 2.6vw, 32px); }
p { margin: 0 0 20px; }
ul, ol { padding-inline-start: 24px; }
.screen-reader-text { clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; position: absolute !important; white-space: nowrap; }
.oy-skip-link { position: fixed; z-index: 10000; left: 16px; top: -100px; padding: 14px 20px; background: var(--oy-gold); color: var(--oy-bg); }
.oy-skip-link:focus { top: 16px; }
.oy-container { width: min(100%, var(--oy-width)); margin-inline: auto; padding-inline: var(--oy-gutter); }
.oy-section { padding-block: var(--oy-section); border-bottom: 1px solid var(--oy-soft-line); }
.oy-eyebrow { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--oy-gold); margin-bottom: 24px; }
.oy-lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--oy-muted); }
.oy-button, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .wp-element-button,
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px;
  padding: 14px 24px; border: 1px solid var(--oy-gold); border-radius: 0;
  background: var(--oy-gold); color: var(--oy-bg); font: 500 14px/1.35 var(--oy-body); text-decoration: none;
}
.oy-button:hover, .woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover, .wp-element-button:hover,
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce input.button.alt:hover { background: #dbc389; color: var(--oy-bg); }
.oy-button-outline { background: transparent; color: var(--oy-gold); }
.oy-button-outline:hover { color: var(--oy-bg); }
.oy-text-link { display: inline-flex; align-items: center; gap: 14px; min-height: 44px; color: var(--oy-gold); text-decoration: none; border-bottom: 1px solid var(--oy-line); }
.oy-text-link::after { content: "→"; font-size: 22px; }
.oy-header { position: sticky; top: 0; z-index: 50; background: var(--oy-bg); border-bottom: 1px solid var(--oy-soft-line); }
.admin-bar .oy-header { top: 32px; }
.oy-header-row { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: center; min-height: 116px; padding-block: 12px; }
.oy-brand { position: relative; display: block; width: clamp(180px, 21vw, 286px); line-height: 1; }
.oy-brand img { display: block; width: 100%; height: auto; object-fit: contain; }
/* Use the original transparent lettering as a mask; the image stays as fallback. */
@supports ((mask-image: url("assets/media/olesia-yuhova-logo.png")) or (-webkit-mask-image: url("assets/media/olesia-yuhova-logo.png"))) {
  .oy-brand::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(115deg, #b49a5e 0%, #cdb16e 28%, #e4d2a2 44%, #cdb16e 53%, #dcc58c 68%, #bca262 100%);
    -webkit-mask: url("assets/media/olesia-yuhova-logo.png") center / contain no-repeat;
    mask: url("assets/media/olesia-yuhova-logo.png") center / contain no-repeat;
    mask-mode: alpha;
  }
  .oy-brand img { opacity: 0; }
}
@media (forced-colors: active) {
  .oy-brand::after { display: none; }
  .oy-brand img { opacity: 1; }
}
.oy-nav-slot, .oy-header-actions { display: flex; align-items: center; gap: 20px; }
.oy-header-actions { justify-content: end; }
.oy-primary-nav ul, .oy-footer-nav ul { display: flex; gap: 24px; margin: 0; padding: 0; list-style: none; flex-wrap: wrap; }
.oy-primary-nav a, .oy-footer-nav a { display: inline-block; padding-block: 10px; font-size: 14px; text-decoration: none; }
.oy-primary-nav a:hover, .oy-footer-nav a:hover { color: var(--oy-gold); }
.oy-primary-nav .current-menu-item > a { color: var(--oy-gold); }
.oy-icon-link { display: inline-flex; gap: 8px; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; text-decoration: none; }
.oy-cart-count { min-width: 1ch; font-variant-numeric: tabular-nums; color: var(--oy-gold); }
.oy-menu-toggle { min-width: 44px; min-height: 44px; border: 0; background: transparent; color: var(--oy-text); padding: 10px; }
.oy-hero { display: grid; grid-template-columns: .95fr 1.05fr; min-height: 650px; border-bottom: 1px solid var(--oy-line); }
.oy-hero-copy { display: flex; flex-direction: column; align-items: start; justify-content: center; padding: clamp(48px, 7vw, 100px) var(--oy-gutter); padding-left: max(var(--oy-gutter), calc((100vw - var(--oy-width))/2 + var(--oy-gutter))); }
.oy-hero-copy h1 { max-width: 10ch; }
.oy-hero-copy .oy-lead { max-width: 30ch; margin-bottom: 36px; }
.oy-hero-media { margin: 0; min-height: 100%; overflow: hidden; }
.oy-hero-media img { width: 100%; height: 100%; min-height: 650px; object-fit: cover; object-position: 50% 50%; }
.oy-subline { display: flex; justify-content: space-between; gap: 20px; padding-block: 24px; font-size: 13px; color: var(--oy-muted); border-bottom: 1px solid var(--oy-soft-line); }
.oy-section-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 40px; }
.oy-section-heading h2 { margin-bottom: 0; }
.oy-care-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--oy-line); border-left: 1px solid var(--oy-line); }
.oy-care-card { padding: 32px 24px; border-right: 1px solid var(--oy-line); border-bottom: 1px solid var(--oy-line); }
.oy-care-card a { display: block; text-decoration: none; }
.oy-care-number { display: block; color: var(--oy-muted); font-size: 12px; margin-bottom: 36px; }
.oy-care-card h3 { margin: 0; font-size: 24px; }
.oy-care-grid:has(.oy-choice) { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; border: 0; }
.oy-choice { display: flex; flex-direction: column; padding: 24px; border: 1px solid var(--oy-line); text-decoration: none; }
.oy-choice:hover { background: var(--oy-surface); border-color: var(--oy-gold); }
.oy-choice h3 { font-size: 28px; margin: 0 0 12px; }
.oy-choice p { color: var(--oy-muted); margin-bottom: 20px; }
.oy-choice span { color: var(--oy-gold); margin-top: auto; }
.oy-choice-more { display: flex; gap: 12px 28px; flex-wrap: wrap; margin-top: 24px; }
.oy-choice-more a { display: inline-flex; align-items: center; min-height: 44px; color: var(--oy-muted); }
.oy-group-intro { color: var(--oy-muted); max-width: 65ch; }
.oy-choice-photo { position: relative; isolation: isolate; min-height: 440px; overflow: hidden; justify-content: end; padding: 0; background: var(--oy-bg); }
.oy-choice-photo .oy-choice-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .35s ease; }
.oy-choice-photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(transparent 25%, rgba(0,0,0,.72) 66%, #100e0e 100%); }
.oy-choice-caption { padding: 24px; }
.oy-choice-photo h3 { color: #ecd49a; }
.oy-choice-photo p { color: #fff; }
.oy-choice-photo span { display: block; }
@media (hover: hover) { .oy-choice-photo:hover .oy-choice-image { transform: scale(1.025); } }
.oy-product-explorer { grid-column: 1 / -1; order: 4; min-width: 0; margin-block: 36px; }
.oy-explorer-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.oy-explorer-header h2 { font-size: clamp(26px, 3vw, 40px); }
.oy-explorer-controls { display: flex; gap: 8px; }
.oy-explorer-controls button { width: 48px; height: 48px; background: transparent; border: 1px solid var(--oy-line); color: var(--oy-gold); }
.oy-explorer-controls button:disabled { opacity: .35; cursor: default; }
.oy-explorer-track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px 5px 20px; }
.oy-explorer-card { flex: 0 0 clamp(230px, 28vw, 340px); scroll-snap-align: start; text-decoration: none; min-width: 0; }
.oy-explorer-card img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: contain; background: transparent; }
.oy-explorer-card h3 { font-size: 24px; margin: 16px 0 8px; }
.oy-explorer-card p { color: var(--oy-muted); margin-bottom: 12px; }
@media (max-width: 782px) { .oy-choice-photo { min-height: 390px; } .oy-choice-photo .oy-choice-caption { padding: 20px; } .oy-explorer-card { flex-basis: 78%; } .oy-explorer-header { align-items: start; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .oy-choice-photo .oy-choice-image { transition: none; } }
.home .oy-hero { min-height: 360px; }
.home .oy-hero-copy { padding-block: 40px; }
.home .oy-hero-copy h1 { font-size: clamp(34px, 3.5vw, 54px); max-width: 22ch; }
.home .oy-hero-media img { min-height: 0; max-height: 440px; object-position: center 60%; }
.home #care { padding-block: 40px; }
@media (max-width: 782px) {
  .home .oy-hero { min-height: 0; }
  .home .oy-hero-copy { padding-block: 28px; }
  .home .oy-hero-copy h1 { font-size: 34px; }
  /* Product visual first on phones (DESIGN.md: product in the first screen); a 16:10 strip, capped at 30% of the screen, keeps the CTA above the fold. */
  .home .oy-hero-media { order: -1; height: min(62.5vw, 30vh); height: min(62.5vw, 30svh); }
  .home .oy-hero-media img { height: 100%; max-height: none; object-position: 50% 40%; }
  .home #care { padding-block: 28px; }
  .oy-care-grid:has(.oy-choice) { grid-template-columns: 1fr; }
  .oy-choice { padding: 20px; }
  .oy-choice h3 { font-size: 24px; }
}
.oy-feature { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.oy-feature-media { margin: 0; }
.oy-feature-media img { width: 100%; height: auto; }
.oy-feature-media figcaption { font-size: 12px; color: var(--oy-muted); padding-top: 12px; }
.oy-feature-copy { max-width: 34rem; }
.oy-variants { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 32px; }
.oy-variant { display: flex; flex-direction: column; gap: 12px; border: 1px solid var(--oy-line); padding: 24px; text-decoration: none; }
.oy-variant:hover { border-color: var(--oy-gold); background: var(--oy-surface); }
.oy-variant-action { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; color: var(--oy-gold); font-size: 14px; }
.oy-catalog-group { padding-top: 48px; margin-top: 48px; border-top: 1px solid var(--oy-line); }
.oy-group-heading { display: flex; align-items: baseline; gap: 24px; margin-bottom: 32px; }
.oy-group-heading .oy-care-number, .oy-group-heading h3 { margin: 0; }
.oy-product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 28px; }
.oy-product-card { display: flex; flex-direction: column; min-width: 0; }
.oy-product-photo { display: block; background: transparent; margin-bottom: 24px; }
.oy-product-photo img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: contain; }
.oy-product-card h4 { margin: 0 0 12px; color: var(--oy-gold); font: 400 clamp(22px, 2vw, 28px)/1.25 var(--oy-display); overflow-wrap: anywhere; }
.oy-product-card h4 a { text-decoration: none; }
.oy-product-subtitle { color: var(--oy-muted); font-size: 14px; line-height: 1.5; margin: 0 0 20px; }
.oy-product-details { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: auto; margin-bottom: 16px; }
.oy-product-volume { color: var(--oy-muted); font-size: 14px; margin: 0 0 12px; }
.oy-product-price { font-size: 18px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.oy-product-price .woocommerce-Price-currencySymbol { margin-left: .2em; }
.oy-product-card > .oy-text-link { align-self: start; font-size: 14px; }
.oy-catalog-search { display: flex; gap: 12px; align-items: end; margin-block: 32px 40px; max-width: 640px; }
.oy-search-field { flex: 1; }
.oy-search-field label { display: block; margin-bottom: 8px; font-size: 13px; }
input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]), select, textarea { max-width: 100%; min-height: 48px; width: 100%; border: 1px solid var(--oy-line); border-radius: 0; padding: 12px 14px; background: var(--oy-surface); color: var(--oy-text); }
input::placeholder, textarea::placeholder { color: var(--oy-muted); opacity: 1; }
input[type="checkbox"], input[type="radio"] { accent-color: var(--oy-gold); }
.oy-empty { padding-block: 28px; color: var(--oy-muted); }
.oy-footer { padding-block: 64px 32px; background: var(--oy-surface); }
.oy-footer-brand { width: min(100%, 360px); margin-bottom: 36px; }
.oy-footer-row { display: flex; gap: 32px; justify-content: space-between; align-items: start; border-top: 1px solid var(--oy-soft-line); padding-top: 24px; }
.oy-footer-meta { font-size: 12px; color: var(--oy-muted); max-width: 26ch; }
.oy-footer-seller { font-style: normal; line-height: 1.6; max-width: 44ch; }
.oy-footer-seller a { color: var(--oy-text); }
.oy-footer-seller a:hover { color: var(--oy-gold); }
.oy-consent { position: fixed; inset: auto 16px 16px; z-index: 50; display: flex; gap: 16px 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; max-width: 960px; margin-inline: auto; padding: 18px 20px; background: var(--oy-surface); border: 1px solid var(--oy-line); color: var(--oy-text); font-size: 14px; line-height: 1.55; box-shadow: 0 12px 32px rgb(0 0 0 / .35); }
.oy-consent[hidden] { display: none; }
.oy-consent-text { margin: 0; flex: 1 1 320px; }
.oy-consent-text a { color: var(--oy-gold); }
.oy-consent-actions { display: flex; gap: 12px; flex: 0 0 auto; }
.oy-consent-button { min-height: 44px; padding: 10px 20px; border: 1px solid var(--oy-gold); background: transparent; color: var(--oy-text); font: inherit; font-weight: 500; cursor: pointer; }
.oy-consent-button:hover { background: var(--oy-gold); color: var(--oy-bg); }
.oy-cookie-settings { padding: 8px 0 0; border: 0; background: none; color: var(--oy-muted); font: inherit; text-decoration: underline; cursor: pointer; }
.oy-cookie-settings:hover { color: var(--oy-gold); }
@media (max-width: 520px) { .oy-consent-actions { width: 100%; } .oy-consent-button { flex: 1; } }
.oy-showcase-note { margin: 28px 0 0; padding-top: 20px; border-top: 1px solid var(--oy-line); color: var(--oy-text); font-size: 15px; line-height: 1.6; max-width: 40ch; }
.oy-main { min-height: 45vh; }
.oy-page, .oy-commerce { padding-block: 56px var(--oy-section); }
.oy-page-content { max-width: 860px; }
.oy-page-content:has(.woocommerce), .oy-page-content:has(.wp-block-woocommerce-cart), .oy-page-content:has(.wp-block-woocommerce-checkout) { max-width: none; }
.oy-page-content > :first-child { margin-top: 0; }
.oy-page-content table { width: 100%; border-collapse: collapse; }
.oy-page-content th, .oy-page-content td { padding: 12px; border-bottom: 1px solid var(--oy-soft-line); text-align: left; }
.woocommerce .woocommerce-breadcrumb { margin: 0 0 40px; color: var(--oy-muted); font-size: 12px; }
.woocommerce .woocommerce-breadcrumb a { color: var(--oy-muted); }
.woocommerce .woocommerce-result-count { color: var(--oy-muted); padding-top: 14px; }
.woocommerce .woocommerce-ordering { max-width: 320px; margin-bottom: 32px; }
.woocommerce ul.products, .woocommerce-page ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 28px; margin: 32px 0 0; padding: 0; list-style: none; clear: both; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product { float: none; width: auto !important; margin: 0; clear: none; min-width: 0; }
.woocommerce ul.products li.product a img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: contain; background: transparent; margin-bottom: 20px; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { color: var(--oy-gold); font: 400 clamp(20px, 2vw, 25px)/1.25 var(--oy-display); padding: 0; margin: 0 0 12px; }
.woocommerce ul.products li.product .price, .woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--oy-text); font-size: 18px; }
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product { display: flex; flex-direction: column; }
.woocommerce ul.products li.product .woocommerce-loop-product__link { margin-bottom: 14px; }
/* Same-row CTAs line up regardless of subtitle length. */
.woocommerce ul.products li.product .button { margin-top: auto; align-self: flex-start; text-align: center; }
.woocommerce a.added_to_cart { display: block; color: var(--oy-gold); padding-top: 12px; }
.woocommerce span.onsale { background: var(--oy-gold); color: var(--oy-bg); border-radius: 0; padding-inline: 12px; min-height: 36px; line-height: 36px; }
.woocommerce div.product.type-product { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); column-gap: clamp(32px, 6vw, 96px); }
.woocommerce #content div.product div.images, .woocommerce #content div.product div.summary,
.woocommerce div.product div.images, .woocommerce div.product div.summary { float: none; width: 100%; min-width: 0; margin: 0 0 48px; }
.woocommerce div.product div.images img { background: transparent; object-fit: contain; }
.woocommerce div.product .product_title { font-size: clamp(32px, 3.8vw, 52px); }
.woocommerce div.product .oy-single-volume { color: var(--oy-muted); margin: 12px 0; }
.woocommerce div.product .woocommerce-product-details__short-description { color: var(--oy-muted); margin-block: 24px; }
.woocommerce div.product .product_meta { border-top: 1px solid var(--oy-soft-line); padding-top: 24px; font-size: 12px; color: var(--oy-muted); }
.woocommerce div.product .product_meta > span { display: block; }
.woocommerce div.product .woocommerce-tabs, .woocommerce div.product .related, .woocommerce div.product .upsells { grid-column: 1 / -1; min-width: 0; }
.woocommerce div.product .woocommerce-tabs { margin-top: 24px; }
.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs::before { border-color: var(--oy-line); }
.woocommerce div.product .woocommerce-tabs ul.tabs li { border-color: var(--oy-line); background: var(--oy-surface); border-radius: 0; margin: 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs li::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { color: var(--oy-muted); padding: 16px 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { background: var(--oy-bg); border-bottom-color: var(--oy-bg); }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--oy-gold); }
.woocommerce div.product .stock { color: var(--oy-gold); }
/* Purchase panel: price + current action (cart, showcase note or out of stock). */
.woocommerce div.product .oy-purchase { margin-block: 28px; padding: 24px; border: 1px solid var(--oy-line); background: var(--oy-surface); }
.woocommerce div.product .oy-purchase .price { margin: 0; }
.woocommerce div.product .oy-purchase form.cart { margin: 20px 0 0; }
/* Woo clearfix pseudo-elements become flex items and add a phantom gap. */
.woocommerce div.product form.cart::before, .woocommerce div.product form.cart::after { display: none; }
.woocommerce div.product .oy-purchase .stock { margin: 16px 0 0; }
.woocommerce div.product .oy-purchase .stock.out-of-stock { display: flex; align-items: center; justify-content: center; min-height: 48px; border: 1px solid var(--oy-line); color: var(--oy-muted); }
.woocommerce div.product .oy-purchase .oy-showcase-note { margin: 16px 0 0; padding-top: 16px; border-top: 1px solid var(--oy-soft-line); max-width: none; }
.oy-buy-bar { position: fixed; inset: auto 0 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: var(--oy-surface); border-top: 1px solid var(--oy-line); }
.oy-buy-bar[hidden] { display: none; }
.oy-buy-bar-price { font-weight: 600; font-size: 19px; font-variant-numeric: tabular-nums lining-nums; white-space: nowrap; }
.oy-buy-bar .button { min-height: 48px; padding-inline: 28px; }
body.oy-has-buy-bar { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
.woocommerce div.product form.cart { display: flex; gap: 16px; flex-wrap: wrap; margin-block: 32px; }
.woocommerce div.product form.cart.variations_form { display: block; }
.woocommerce .quantity .qty { width: 80px; min-height: 48px; }
.woocommerce div.product form.cart div.quantity { margin: 0; }
.woocommerce div.product form.cart .variations { margin-bottom: 24px; }
.woocommerce div.product form.cart .variations label { color: var(--oy-text); }
.woocommerce-variation-add-to-cart { display: flex; gap: 16px; flex-wrap: wrap; }
.woocommerce .reset_variations { display: inline-block; min-height: 44px; color: var(--oy-gold); padding-top: 10px; }
.woocommerce .woocommerce-info, .woocommerce .woocommerce-message, .woocommerce .woocommerce-error { background: var(--oy-surface); color: var(--oy-text); border-top-color: var(--oy-gold); padding-block: 20px; }
.woocommerce .woocommerce-info::before, .woocommerce .woocommerce-message::before { color: var(--oy-gold); }
.woocommerce .woocommerce-error { border-top-color: #e2786f; }
.woocommerce .woocommerce-error::before { color: #e2786f; }
.woocommerce table.shop_table { border-color: var(--oy-line); border-radius: 0; }
.woocommerce table.shop_table td, .woocommerce table.shop_table th { border-color: var(--oy-soft-line); padding: 20px 14px; }
.woocommerce .cart-collaterals .cart_totals, .woocommerce-page .cart-collaterals .cart_totals { width: min(100%, 520px); margin-top: 32px; }
.woocommerce a.remove { color: var(--oy-gold) !important; border: 1px solid var(--oy-line); border-radius: 0; min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
.woocommerce a.remove:hover { background: var(--oy-gold); color: var(--oy-bg) !important; }
.woocommerce-cart table.cart td.actions .coupon { display: flex; gap: 12px; }
.woocommerce-cart table.cart td.actions .coupon .input-text { min-width: 160px; min-height: 48px; }
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button, .woocommerce #payment #place_order { background: var(--oy-gold); color: var(--oy-bg); }
.woocommerce form .form-row { padding: 0; margin-bottom: 20px; }
.woocommerce form .form-row label { margin-bottom: 8px; }
.woocommerce-checkout #payment { background: var(--oy-surface); border-radius: 0; }
.woocommerce-checkout #payment div.payment_box { background: #2a2116; color: var(--oy-text); }
.woocommerce-checkout #payment div.payment_box::before { border-bottom-color: #2a2116; }
.woocommerce-checkout #payment ul.payment_methods { border-color: var(--oy-line); }
.woocommerce .col2-set .col-1, .woocommerce .col2-set .col-2 { min-width: 0; }
.woocommerce .woocommerce-pagination ul, .woocommerce .woocommerce-pagination ul li { border-color: var(--oy-line); }
.woocommerce .woocommerce-pagination ul li a, .woocommerce .woocommerce-pagination ul li span { min-width: 44px; min-height: 44px; padding: 14px; }
.woocommerce .woocommerce-pagination ul li span.current, .woocommerce .woocommerce-pagination ul li a:hover { background: var(--oy-gold); color: var(--oy-bg); }
.woocommerce .woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; }
.woocommerce .woocommerce-MyAccount-navigation a { display: block; padding: 12px 0; border-bottom: 1px solid var(--oy-soft-line); }
.woocommerce .woocommerce-MyAccount-navigation .is-active a { color: var(--oy-gold); }
.select2-container--default .select2-selection--single { background: var(--oy-surface); border-color: var(--oy-line); border-radius: 0; min-height: 48px; }
.select2-container--default .select2-selection--single .select2-selection__rendered { color: var(--oy-text); line-height: 46px; }
.select2-container--default .select2-selection--single .select2-selection__arrow { height: 46px; }
.select2-dropdown { background: var(--oy-surface); border-color: var(--oy-line); }
.select2-container--default .select2-results__option[aria-selected="true"] { background: var(--oy-soft-line); }
.wp-block-woocommerce-cart, .wp-block-woocommerce-checkout { color: var(--oy-text); --wc-form-color-background: var(--oy-surface); --wc-form-color-text: var(--oy-text); --wc-form-color-border: var(--oy-line); }
.wc-block-components-text-input input, .wc-block-components-combobox .wc-block-components-combobox-control input.components-combobox-control__input { color: var(--oy-text) !important; background: var(--oy-surface) !important; }
.wc-block-components-button:not(.is-link) { background: var(--oy-gold); color: var(--oy-bg); border-radius: 0; min-height: 48px; }
.wc-block-components-notice-banner { color: var(--oy-bg); }
.wc-block-components-product-metadata { color: var(--oy-muted); }
.oy-exhibition { margin-top: 24px; }
@media (max-width: 1050px) {
  .oy-header-row { gap: 16px; }
  .oy-primary-nav ul { gap: 14px; }
  .oy-search-label { display: none; }
  .oy-hero { min-height: 570px; }
  .oy-hero-media img { min-height: 570px; }
  .oy-care-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 782px) {
  .admin-bar .oy-header { top: 46px; }
  .oy-header-row { grid-template-columns: 44px minmax(0, 1fr) auto; min-height: 90px; gap: 10px; }
  .oy-nav-slot { display: contents; }
  .oy-menu-toggle { grid-column: 1; grid-row: 1; }
  .oy-brand { grid-column: 2; grid-row: 1; justify-self: center; width: min(100%, 194px); }
  .oy-header-actions { grid-column: 3; grid-row: 1; gap: 0; }
  .oy-header-actions .oy-icon-link { min-width: 44px; }
  .oy-primary-nav { grid-column: 1 / -1; grid-row: 2; padding: 20px 0; border-top: 1px solid var(--oy-soft-line); }
  .oy-primary-nav ul { display: block; }
  .oy-primary-nav a { display: block; font-size: 18px; padding-block: 12px; }
  .oy-hero { grid-template-columns: 1fr; }
  .oy-hero-copy { padding: 56px var(--oy-gutter) 48px; }
  .oy-hero-copy h1 { max-width: 14ch; font-size: clamp(38px, 8vw, 58px); }
  .oy-hero-media { height: min(115vw, 660px); min-height: 0; }
  .oy-hero-media img { min-height: 0; object-position: 50% 50%; }
  .oy-subline { flex-direction: column; gap: 8px; font-size: 12px; }
  .oy-section-heading, .oy-footer-row { flex-direction: column; align-items: start; }
  .oy-section-heading { margin-bottom: 28px; }
  .oy-feature { grid-template-columns: 1fr; }
  .oy-care-card { padding: 24px 16px; }
  .oy-care-card h3 { font-size: 19px; overflow-wrap: normal; }
  .oy-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 16px; }
  .oy-product-card h4 { font-size: 23px; }
  .oy-product-details { flex-direction: column; gap: 4px; }
  .oy-variant { padding: 20px 16px; }
  .woocommerce ul.products, .woocommerce-page ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 16px; }
  .woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 21px; }
  .woocommerce ul.products li.product .button { width: 100%; padding-inline: 10px; font-size: 13px; }
  .woocommerce div.product.type-product { grid-template-columns: 1fr; }
  /* One semantic summary: CSS promotes its key facts before the gallery. */
  .woocommerce #content div.product div.summary { display: contents; }
  .woocommerce div.product div.summary > * { order: 2; }
  .woocommerce div.product div.summary > .product_title { order: -3; margin: 0 0 12px; font-size: 32px; }
  .woocommerce div.product div.summary > .oy-single-volume { order: -2; margin: 0 0 8px; }
  .woocommerce div.product div.summary > .price { order: -1; margin: 0 0 24px; }
  .woocommerce div.product div.summary > .oy-purchase { order: -1; margin: 0 0 24px; padding: 20px 16px; }
  .woocommerce #content div.product div.images { order: 0; margin-bottom: 24px; }
  .woocommerce div.product .woocommerce-tabs, .woocommerce div.product .related, .woocommerce div.product .upsells { order: 3; }
  .woocommerce .woocommerce-ordering, .woocommerce .woocommerce-result-count { float: none; width: 100%; max-width: none; }
  .woocommerce .woocommerce-ordering { margin: 0 0 24px; }
  .woocommerce table.shop_table_responsive tr:nth-child(2n) td, .woocommerce-page table.shop_table_responsive tr:nth-child(2n) td { background: var(--oy-surface); }
  .woocommerce table.shop_table_responsive tr td, .woocommerce-page table.shop_table_responsive tr td { overflow-wrap: anywhere; }
  .woocommerce-cart table.cart td.actions .coupon { float: none; flex-wrap: wrap; }
  .woocommerce-cart table.cart td.actions .coupon .input-text { width: 100%; }
  .woocommerce-cart table.cart td.actions .coupon .button { width: 100%; }
  .woocommerce .col2-set .col-1, .woocommerce .col2-set .col-2 { float: none; width: 100%; }
}
@media (max-width: 380px) {
  .oy-header-row { padding-inline: 12px; }
  /* Search stays reachable on small phones; the logo yields width instead. */
  .oy-brand { width: min(100%, 150px); }
  .oy-care-card { padding: 24px 16px; }
  .oy-care-grid { grid-template-columns: 1fr; }
  .oy-care-card h3 { font-size: 21px; }
  .oy-catalog-search { flex-direction: column; align-items: stretch; }
  .woocommerce ul.products, .woocommerce-page ul.products { grid-template-columns: 1fr; }
  .oy-product-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

.oy-explorer-meta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 12px; }
.oy-explorer-action { color: var(--oy-gold); }

/* 1.1.0 Readability: semibold serif headings, 14px floor for secondary text, clear prices. */
h1, h2, h3, .oy-product-card h4, .woocommerce ul.products li.product .woocommerce-loop-product__title, .woocommerce div.product div.summary > .product_title { font-weight: 600; letter-spacing: .005em; }
.oy-product-card h4 { line-height: 1.15; }
.oy-eyebrow { font-size: 13px; font-weight: 500; letter-spacing: .12em; }
.oy-primary-nav a, .oy-footer-nav a { font-size: 15px; }
.oy-subline, .oy-search-field label { font-size: 14px; }
.oy-care-number, .oy-feature-media figcaption, .oy-footer-meta, .woocommerce .woocommerce-breadcrumb, .woocommerce div.product .product_meta { font-size: 14px; }
.oy-product-subtitle { font-size: 15px; line-height: 1.5; }
.oy-product-volume { font-size: 15px; }
.oy-product-price, .woocommerce ul.products li.product .price, .woocommerce div.product p.price, .woocommerce div.product span.price { font-family: var(--oy-body); font-weight: 600; font-size: 19px; font-variant-numeric: tabular-nums lining-nums; letter-spacing: 0; }
.oy-product-card > .oy-text-link, .oy-variant-action { font-size: 15px; }
.oy-button, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .wp-element-button { font-weight: 600; font-size: 15px; }
/* DESIGN.md §5: filled buttons are uppercase with label tracking; source text stays sentence case. Text links keep normal case. */
.oy-button, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .wp-element-button,
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt { font-size: 14px; letter-spacing: .14em; text-transform: uppercase; }
/* Gallery zoom: dark 44px control instead of Woo's white 36px circle. */
.woocommerce div.product div.images .woocommerce-product-gallery__trigger { width: 44px; height: 44px; background: rgb(13 11 9 / .72); border: 1px solid var(--oy-line); border-radius: 2px; }
.woocommerce div.product div.images .woocommerce-product-gallery__trigger::before { top: 13px; left: 13px; border-color: var(--oy-text); }
.woocommerce div.product div.images .woocommerce-product-gallery__trigger::after { top: 23px; left: 26px; background: var(--oy-text); }
/* Larger touch rows for breadcrumbs and the footer email. */
.woocommerce .woocommerce-breadcrumb { line-height: 2.2; }
.oy-footer-seller a { display: inline-block; padding-block: 10px; }
@media (max-width: 720px) {
  body { font-size: 16px; }
  .oy-subline { font-size: 14px; }
  .woocommerce ul.products li.product .button { font-size: 14px; }
}
