/* Oak & Loom front-end styles: brand system ported from the approved MagicPath design
   (revision 452610636183130112) plus WooCommerce integration styles. */

@font-face { font-family: "Fraunces"; src: url("../fonts/Fraunces-Variable.ttf") format("truetype"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../fonts/DMSans-Variable.ttf") format("truetype"); font-weight: 100 900; font-style: normal; font-display: swap; }

body { background: var(--oal-linen); color: var(--oal-ink); font-family: "DM Sans", -apple-system, "Segoe UI", Arial, sans-serif; font-size: 16px; line-height: 1.6; margin: 0; }
body.admin-bar .oal-header { top: 32px; }
.screen-reader-text { position: absolute !important; clip: rect(1px,1px,1px,1px); clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; }
.alignwide { max-width: var(--wp--style--global--wide-size); margin-inline: auto; }
.alignfull { width: 100%; }
/* =====================================================================
   Oak & Loom design system — appended layer (BG B06-B12; MP M07-M20)
   Tokens first, then components, then responsive + a11y rules.
   ===================================================================== */
:root {
  --oal-ink: #221E1A; --oal-bark: #5C4B3C; --oal-slate: #6E675E;
  --oal-oak-deep: #8C5F2E; --oal-oak: #B9854C; --oal-moss: #5A6B4F;
  --oal-clay: #A9502F; --oal-linen: #F7F3EC; --oal-sand: #E9E0D2;
  --oal-hairline: rgba(34,30,26,0.12);
  --oal-elev-1: 0 2px 8px rgba(34,30,26,0.06);
  --oal-elev-2: 0 12px 28px rgba(34,30,26,0.14);
  --oal-r-ctl: 4px; --oal-r-card: 10px;
  --oal-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --oal-sans: "DM Sans", -apple-system, "Segoe UI", Arial, sans-serif;
}
html { scroll-behavior: smooth; }
body { font-family: var(--oal-sans); color: var(--oal-ink); background: var(--oal-linen); }

.oal-main { flex: 1 1 auto; }
.oal-serif { font-family: var(--oal-serif); font-weight: 500; }
.oal-display-xl { font-family: var(--oal-serif); font-weight: 550; font-size: 56px; line-height: 1.05; letter-spacing: -0.01em; margin: 0; }
.oal-display-l { font-family: var(--oal-serif); font-weight: 500; font-size: 40px; line-height: 1.1; margin: 0; }
.oal-h3 { font-family: var(--oal-serif); font-weight: 550; font-size: 24px; line-height: 1.2; margin: 0; }
.oal-lede { font-size: 18px; line-height: 1.6; color: var(--oal-ink); }
.oal-label { font-size: 13px; font-weight: 500; letter-spacing: 0.02em; }
.oal-meta { font-size: 12.5px; line-height: 1.5; color: var(--oal-slate); }
.oal-num { font-variant-numeric: tabular-nums; }
.oal-kicker { font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--oal-bark); font-weight: 500; }
.oal-container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 40px; box-sizing: border-box; }
.oal-section { padding: 96px 0; }
.oal-section--sand { background: var(--oal-sand); }
.oal-hairline { border: 0; border-top: 1px solid var(--oal-hairline); margin: 0; }
.oal-skip { position: absolute; left: -9999px; top: 0; background: var(--oal-ink); color: var(--oal-linen); padding: 10px 16px; z-index: 200; border-radius: var(--oal-r-ctl); }
.oal-skip:focus { left: 16px; top: 16px; }
body a { text-decoration: none; }
button { font-family: inherit; }
.oal-link { color: var(--oal-oak-deep); text-decoration: underline; text-underline-offset: 3px; }
.oal-textlink { color: var(--oal-ink); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; font-size: 15px; }
.oal-textlink:hover { color: var(--oal-oak-deep); }
:focus-visible { outline: 2px solid var(--oal-oak-deep); outline-offset: 2px; border-radius: 2px; }

/* Buttons */
.oal-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px; white-space: nowrap;
  border-radius: var(--oal-r-ctl); font-size: 15px; font-weight: 500; cursor: pointer; border: 1px solid transparent;
  transition: background-color 120ms cubic-bezier(0.2,0,0,1), color 120ms cubic-bezier(0.2,0,0,1), border-color 120ms cubic-bezier(0.2,0,0,1); }
.oal-btn--primary { background: var(--oal-ink); color: var(--oal-linen); }
.oal-btn--primary:hover { background: #3A342E; }
.oal-btn--secondary { background: transparent; color: var(--oal-ink); border-color: var(--oal-ink); }
.oal-btn--secondary:hover { background: rgba(34,30,26,0.05); }
.oal-btn--quiet { background: transparent; color: var(--oal-ink); border-color: var(--oal-hairline); }
.oal-btn--quiet:hover { border-color: var(--oal-ink); }
.oal-btn--danger { background: transparent; border-color: var(--oal-clay); color: var(--oal-clay); }
.oal-btn--full { width: 100%; }
.oal-btn[disabled] { opacity: 0.55; cursor: not-allowed; }
.oal-btn--sm { height: 40px; padding: 0 16px; font-size: 14px; }
.oal-iconbtn { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; border: 0; background: transparent; cursor: pointer; color: var(--oal-ink); position: relative; }
.oal-iconbtn:hover { background: rgba(34,30,26,0.06); }
.oal-count { position: absolute; top: 4px; right: 2px; min-width: 17px; height: 17px; border-radius: 999px; background: var(--oal-ink); color: var(--oal-linen); font-size: 10.5px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; padding: 0 4px; }
.oal-badge { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 500; letter-spacing: 0.01em; }
.oal-badge--stock { background: rgba(90,107,79,0.14); color: var(--oal-moss); }
.oal-badge--mto { background: rgba(110,103,94,0.14); color: var(--oal-bark); }
.oal-badge--process { background: rgba(185,133,76,0.16); color: var(--oal-oak-deep); }
.oal-badge--clay { background: rgba(169,80,47,0.12); color: var(--oal-clay); }
.oal-chip { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--oal-hairline); background: transparent; font-size: 13px; cursor: pointer; color: var(--oal-ink); }
.oal-chip:hover { border-color: var(--oal-ink); }
.oal-chip[aria-pressed="true"], .oal-chip--on { background: var(--oal-ink); color: var(--oal-linen); border-color: var(--oal-ink); }
.oal-chip__x { display: inline-flex; }

/* Forms */
.oal-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.oal-field label { font-size: 13px; font-weight: 500; letter-spacing: 0.02em; }
.oal-input, .oal-select, .oal-textarea { height: 48px; border: 1px solid var(--oal-hairline); border-radius: var(--oal-r-ctl); background: #fff; padding: 0 14px; font-size: 15px; font-family: inherit; color: var(--oal-ink); width: 100%; box-sizing: border-box; }
.oal-textarea { height: auto; min-height: 120px; padding: 12px 14px; resize: vertical; }
.oal-input:focus, .oal-select:focus, .oal-textarea:focus { border-color: var(--oal-oak-deep); }
.oal-input[aria-invalid="true"] { border-color: var(--oal-clay); }
.oal-error { color: var(--oal-clay); font-size: 13px; display: flex; gap: 6px; align-items: center; }
.oal-hint { color: var(--oal-slate); font-size: 12.5px; }
.oal-radio { display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--oal-hairline); border-radius: var(--oal-r-ctl); padding: 14px; cursor: pointer; }
.oal-radio--on { border-color: var(--oal-ink); background: #fff; }
.oal-radio input { margin-top: 3px; }

/* Header / chrome */
.oal-announce { background: var(--oal-sand); color: var(--oal-bark); font-size: 13px; }
.oal-announce__in { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 40px; padding: 6px 40px; text-align: center; }
.oal-announce button { border: 0; background: transparent; cursor: pointer; color: inherit; padding: 6px; margin-left: auto; }
.oal-header { position: sticky; top: 0; z-index: 70; background: rgba(247,243,236,0.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--oal-hairline); }
.oal-header__in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 72px; gap: 16px; }
.oal-nav { display: flex; gap: 26px; align-items: center; }
.oal-nav a { font-size: 14.5px; color: var(--oal-ink); padding: 8px 0; border-bottom: 1px solid transparent; }
.oal-nav a:hover, .oal-nav a[aria-current="page"] { border-bottom-color: var(--oal-ink); }
.oal-wordmark { font-family: var(--oal-serif); font-weight: 560; font-size: 22px; letter-spacing: 0.01em; white-space: nowrap; }
.oal-actions { display: flex; justify-content: flex-end; align-items: center; gap: 2px; }
.oal-mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--oal-linen); border-bottom: 1px solid var(--oal-hairline); box-shadow: var(--oal-elev-1); padding: 28px 0 32px; }
.oal-mega__grid { display: grid; grid-template-columns: repeat(5, 1fr) 1.2fr; gap: 24px; }
.oal-mega__card { display: block; }
.oal-mega__card img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--oal-r-card); display: block; }
.oal-mega__card b { display: block; margin-top: 10px; font-size: 14px; font-weight: 500; }
.oal-mobile-bar { display: none; }
.oal-drawer { position: fixed; inset: 0; z-index: 90; display: flex; }
.oal-drawer__scrim { position: absolute; inset: 0; background: rgba(34,30,26,0.4); border: 0; padding: 0; }
.oal-drawer__panel { position: relative; margin-left: auto; width: 420px; max-width: 100%; background: var(--oal-linen); height: 100%; box-shadow: var(--oal-elev-2); display: flex; flex-direction: column; animation: oal-slide-in 320ms cubic-bezier(0.2,0,0,1); }
.oal-drawer__panel--left { margin-right: auto; margin-left: 0; animation: oal-slide-in-left 320ms cubic-bezier(0.2,0,0,1); }
.oal-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--oal-hairline); }
.oal-drawer__body { padding: 22px; overflow: auto; flex: 1 1 auto; }
.oal-drawer__foot { border-top: 1px solid var(--oal-hairline); padding: 18px 22px; display: flex; flex-direction: column; gap: 10px; }
@keyframes oal-slide-in { from { transform: translateX(24px); opacity: 0.4; } to { transform: none; opacity: 1; } }
@keyframes oal-slide-in-left { from { transform: translateX(-24px); opacity: 0.4; } to { transform: none; opacity: 1; } }
.oal-mobile-nav { display: none; }

/* Footer */
.oal-footer { background: var(--oal-ink); color: #D8D2C8; }
.oal-footer a { color: #EDE7DC; }
.oal-footer a:hover { color: #fff; }
.oal-footer__grid { display: grid; grid-template-columns: repeat(4, 1fr) 1.6fr; gap: 32px; padding: 64px 0 40px; }
.oal-footer h3 { font-family: var(--oal-serif); color: #F2EDE3; font-size: 17px; margin: 0 0 14px; font-weight: 500; }
.oal-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; font-size: 14px; }
.oal-footer__news input { background: transparent; border: 1px solid rgba(247,243,236,0.35); color: #F2EDE3; }
.oal-footer__news input::placeholder { color: rgba(247,243,236,0.55); }
.oal-footer__bottom { border-top: 1px solid rgba(247,243,236,0.18); padding: 22px 0 40px; display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: space-between; font-size: 12.5px; }
.oal-disclosure { color: #BFB8AC; }

/* Product grid + cards */
.oal-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 24px; }
.oal-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.oal-pcard { position: relative; display: block; }
.oal-pcard__media { position: relative; overflow: hidden; border-radius: var(--oal-r-card); background: var(--oal-sand); }
.oal-pcard__media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; display: block; transition: transform 320ms cubic-bezier(0.2,0,0,1); }
.oal-pcard:hover .oal-pcard__media img { transform: scale(1.015); }
.oal-pcard__badge { position: absolute; top: 10px; right: 10px; }
.oal-pcard__quick { position: absolute; left: 10px; right: 10px; bottom: 10px; display: flex; gap: 8px; opacity: 0; transform: translateY(6px); transition: opacity 120ms cubic-bezier(0.2,0,0,1), transform 120ms cubic-bezier(0.2,0,0,1); }
.oal-pcard:hover .oal-pcard__quick, .oal-pcard:focus-within .oal-pcard__quick { opacity: 1; transform: none; }
.oal-pcard__quick .oal-btn { flex: 1 1 auto; height: 40px; font-size: 13.5px; }
.oal-pcard__quick .oal-iconbtn { background: rgba(247,243,236,0.94); width: 40px; height: 40px; }
.oal-pcard__meta { display: flex; justify-content: space-between; gap: 12px; margin-top: 12px; align-items: baseline; }
.oal-pcard__name { font-size: 15px; font-weight: 500; }
.oal-price { font-size: 16px; font-weight: 500; }
.oal-price s { color: var(--oal-slate); font-weight: 400; margin-left: 8px; font-size: 14px; }
.oal-grid-note { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }

/* Catalog layout */
.oal-catalog { display: grid; grid-template-columns: 280px 1fr; gap: 40px; align-items: start; }
.oal-rail { position: sticky; top: 96px; }
.oal-rail__group { border-bottom: 1px solid var(--oal-hairline); padding: 16px 0; }
.oal-rail__group b { font-size: 13px; letter-spacing: 0.02em; display: block; margin-bottom: 10px; font-weight: 500; }
.oal-rail__list { display: flex; flex-direction: column; gap: 8px; }
.oal-rail__list button { border: 0; background: transparent; text-align: left; padding: 2px 0; font-size: 14px; color: var(--oal-bark); cursor: pointer; }
.oal-rail__list button[aria-pressed="true"] { color: var(--oal-ink); font-weight: 500; }
.oal-rail__range { display: flex; gap: 10px; align-items: center; }
.oal-rail__range input[type="range"] { flex: 1 1 auto; accent-color: var(--oal-oak-deep); }
.oal-sortlist { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.oal-sortlist button { border: 0; background: transparent; font-size: 13.5px; color: var(--oal-bark); cursor: pointer; padding: 2px 0; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px; }
.oal-sortlist button[aria-pressed="true"] { color: var(--oal-ink); text-decoration-color: var(--oal-ink); }
.oal-chiprow { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.oal-pagination { display: flex; gap: 8px; align-items: center; justify-content: center; padding: 40px 0 8px; }
.oal-pagebtn { min-width: 44px; height: 44px; border-radius: var(--oal-r-ctl); border: 1px solid var(--oal-hairline); background: transparent; cursor: pointer; font-size: 14px; }
.oal-pagebtn[aria-current="true"] { background: var(--oal-ink); color: var(--oal-linen); border-color: var(--oal-ink); }

/* PDP */
.oal-pdp { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, 1fr); gap: 56px; align-items: start; }
.oal-gallery__main { position: relative; border-radius: var(--oal-r-card); overflow: hidden; background: var(--oal-sand); }
.oal-gallery__main img { width: 100%; aspect-ratio: 1/1; object-fit: cover; display: block; }
.oal-gallery__thumbs { display: flex; gap: 10px; margin-top: 12px; }
.oal-gallery__thumbs button { padding: 0; border: 1px solid transparent; border-radius: var(--oal-r-ctl); overflow: hidden; cursor: pointer; background: none; width: 84px; }
.oal-gallery__thumbs img { width: 84px; height: 84px; object-fit: cover; display: block; }
.oal-gallery__thumbs button[aria-pressed="true"] { border-color: var(--oal-ink); }
.oal-gallery__zoombtn { position: absolute; right: 12px; bottom: 12px; background: rgba(247,243,236,0.94); border: 1px solid var(--oal-hairline); border-radius: var(--oal-r-ctl); height: 40px; padding: 0 12px; font-size: 13px; cursor: pointer; display: inline-flex; gap: 6px; align-items: center; }
.oal-gallery__zoom { position: fixed; inset: 0; z-index: 95; background: rgba(34,30,26,0.72); display: flex; align-items: center; justify-content: center; padding: 40px; }
.oal-gallery__zoom img { max-width: 92vw; max-height: 88vh; border-radius: var(--oal-r-card); }
.oal-buy { position: sticky; top: 96px; }
.oal-spec { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.oal-spec th, .oal-spec td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--oal-hairline); vertical-align: top; }
.oal-spec th { width: 190px; font-weight: 500; color: var(--oal-bark); }
.oal-vrow { display: flex; gap: 10px; flex-wrap: wrap; }
.oal-vcell { min-width: 92px; height: 44px; padding: 0 14px; border-radius: var(--oal-r-ctl); border: 1px solid var(--oal-hairline); background: transparent; cursor: pointer; font-size: 14px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.oal-vcell[aria-pressed="true"] { border-color: var(--oal-ink); background: #fff; }
.oal-vcell[disabled] { color: var(--oal-slate); text-decoration: line-through; cursor: not-allowed; background: rgba(34,30,26,0.03); }
.oal-qty { display: inline-flex; align-items: center; border: 1px solid var(--oal-hairline); border-radius: var(--oal-r-ctl); height: 48px; }
.oal-qty button { width: 46px; height: 46px; border: 0; background: transparent; cursor: pointer; font-size: 18px; color: var(--oal-ink); display: inline-flex; align-items: center; justify-content: center; }
.oal-qty span { min-width: 34px; text-align: center; font-variant-numeric: tabular-nums; }
.oal-stickybuy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--oal-linen); border-top: 1px solid var(--oal-hairline); padding: 12px 0; box-shadow: 0 -6px 24px rgba(34,30,26,0.07); display: none; }
.oal-stickybuy__in { display: flex; align-items: center; gap: 14px; }
.oal-stickybuy img { width: 44px; height: 44px; object-fit: cover; border-radius: var(--oal-r-ctl); }
.oal-stickybuy .oal-btn { margin-left: auto; }

/* Cart / checkout */
.oal-cart { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(320px, 1fr); gap: 48px; align-items: start; }
.oal-line { display: grid; grid-template-columns: 96px 1fr auto; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--oal-hairline); align-items: start; }
.oal-line img { width: 96px; height: 120px; object-fit: cover; border-radius: var(--oal-r-card); display: block; }
.oal-line__right { text-align: right; display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.oal-summary { background: #fff; border: 1px solid var(--oal-hairline); border-radius: var(--oal-r-card); padding: 24px; position: sticky; top: 96px; }
.oal-srow { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; font-size: 14.5px; }
.oal-srow--total { border-top: 1px solid var(--oal-hairline); margin-top: 8px; padding-top: 14px; font-size: 17px; font-weight: 600; }
.oal-steps { display: flex; flex-direction: column; gap: 0; }
.oal-step { border-bottom: 1px solid var(--oal-hairline); padding: 22px 0; }
.oal-step__head { display: flex; gap: 14px; align-items: center; }
.oal-step__num { width: 30px; height: 30px; border-radius: 999px; border: 1px solid var(--oal-hairline); display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; color: var(--oal-bark); }
.oal-step--on .oal-step__num { background: var(--oal-ink); color: var(--oal-linen); border-color: var(--oal-ink); }
.oal-step__body { padding: 16px 0 0 44px; }

/* Empty / error / skeleton states */
.oal-state { text-align: center; max-width: 520px; margin: 0 auto; padding: 72px 0; }
.oal-state .oal-serif { font-size: 34px; }
.oal-skel { background: linear-gradient(90deg, rgba(34,30,26,0.06) 25%, rgba(34,30,26,0.11) 37%, rgba(34,30,26,0.06) 63%); background-size: 400% 100%; animation: oal-skel 1.4s ease infinite; border-radius: var(--oal-r-card); }
.oal-skel--media { aspect-ratio: 4/5; width: 100%; }
.oal-skel--line { height: 14px; border-radius: 4px; }
@keyframes oal-skel { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }
.oal-card-state { border: 1px solid var(--oal-hairline); border-radius: var(--oal-r-card); padding: 18px; background: #fff; display: flex; gap: 12px; align-items: flex-start; }
.oal-card-state--error { border-color: rgba(169,80,47,0.4); }

/* Toasts */
.oal-toasts { position: fixed; right: 22px; top: 96px; z-index: 120; display: flex; flex-direction: column; gap: 10px; max-width: 360px; }
.oal-toast { background: var(--oal-ink); color: var(--oal-linen); border-radius: var(--oal-r-card); padding: 14px 16px; display: flex; gap: 14px; align-items: center; box-shadow: var(--oal-elev-2); animation: oal-toast-in 200ms cubic-bezier(0.2,0,0,1); font-size: 14px; }
.oal-toast button { background: transparent; border: 0; color: #E7C89A; cursor: pointer; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
@keyframes oal-toast-in { from { transform: translateY(8px); opacity: 0; } to { transform: none; opacity: 1; } }

/* Review panel */
.oal-review { position: fixed; left: 22px; bottom: 22px; z-index: 110; width: 320px; background: #fff; border: 1px solid var(--oal-hairline); border-radius: var(--oal-r-card); box-shadow: var(--oal-elev-2); font-size: 13px; }
.oal-review__head { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border-bottom: 1px solid var(--oal-hairline); }
.oal-review__body { padding: 12px 14px; display: flex; flex-direction: column; gap: 10px; max-height: 60vh; overflow: auto; }
.oal-review select { width: 100%; }
.oal-review__toggles { display: flex; flex-direction: column; gap: 8px; }
.oal-review__toggles label { display: flex; gap: 8px; align-items: center; }
.oal-review__open { position: fixed; left: 22px; bottom: 22px; z-index: 110; }
.oal-review__open button { background: var(--oal-linen); border: 1px solid var(--oal-hairline); border-radius: 999px; height: 36px; padding: 0 14px; font-size: 12.5px; cursor: pointer; color: var(--oal-bark); box-shadow: var(--oal-elev-1); }

/* Style guide */
.oal-swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.oal-swatch { border: 1px solid var(--oal-hairline); border-radius: var(--oal-r-card); overflow: hidden; }
.oal-swatch__chip { height: 86px; }
.oal-swatch__meta { padding: 10px 12px; font-size: 12.5px; background: #fff; }
.oal-type-row { display: flex; align-items: baseline; gap: 18px; padding: 12px 0; border-bottom: 1px solid var(--oal-hairline); }

/* Forms / misc */
.oal-form-note { background: var(--oal-sand); border-radius: var(--oal-r-card); padding: 14px 16px; font-size: 13.5px; color: var(--oal-bark); }
.oal-split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.oal-prose { max-width: 720px; }
.oal-prose p { margin: 0 0 18px; }
.oal-prose h2 { font-family: var(--oal-serif); font-weight: 550; font-size: 28px; margin: 40px 0 14px; }
.oal-prose blockquote { border-left: 2px solid var(--oal-oak); margin: 32px 0; padding: 6px 0 6px 22px; font-family: var(--oal-serif); font-size: 22px; line-height: 1.4; color: var(--oal-bark); }
.oal-media { border-radius: var(--oal-r-card); overflow: hidden; }
.oal-media img { width: 100%; display: block; object-fit: cover; }
.oal-crumb { display: flex; gap: 8px; align-items: center; font-size: 12.5px; color: var(--oal-slate); padding: 22px 0 0; flex-wrap: wrap; }
.oal-crumb a { color: var(--oal-bark); }
.oal-crumb a:hover { color: var(--oal-ink); text-decoration: underline; text-underline-offset: 3px; }
.oal-pagehead { padding: 34px 0 28px; display: flex; justify-content: space-between; gap: 24px; align-items: flex-end; flex-wrap: wrap; }
.oal-tabs { display: flex; gap: 22px; border-bottom: 1px solid var(--oal-hairline); }
.oal-tabs button { border: 0; background: transparent; padding: 12px 0; font-size: 14px; color: var(--oal-bark); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.oal-tabs button[aria-selected="true"] { color: var(--oal-ink); border-bottom-color: var(--oal-ink); }

/* Responsive */
@media (max-width: 1100px) {
  .oal-catalog { grid-template-columns: 1fr; }
  .oal-rail { position: static; display: none; }
  .oal-pdp { grid-template-columns: 1fr; }
  .oal-buy { position: static; }
  .oal-mega__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .oal-container { padding: 0 28px; }
  .oal-section { padding: 72px 0; }
  .oal-cart { grid-template-columns: 1fr; }
  .oal-summary { position: static; }
  .oal-footer__grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .oal-split { grid-template-columns: 1fr; gap: 32px; }
  .oal-display-xl { font-size: 42px; }
  .oal-display-l { font-size: 32px; }
}
@media (max-width: 640px) {
  .oal-container { padding: 0 20px; }
  .oal-section { padding: 56px 0; }
  .oal-nav { display: none; }
  .oal-header__in { grid-template-columns: auto 1fr auto; min-height: 64px; }
  .oal-mobile-bar { display: inline-flex; }
  .oal-actions--desktop { display: none; }
  .oal-header__top { justify-self: center; }
  .oal-display-xl { font-size: 34px; }
  .oal-display-l { font-size: 28px; }
  .oal-h3 { font-size: 21px; }
  .oal-lede { font-size: 17px; }
  .oal-grid-3 { grid-template-columns: repeat(2, 1fr); gap: 20px 12px; }
  .oal-pcard__quick { opacity: 1; transform: none; }
  .oal-pcard__quick .oal-btn { display: none; }
  .oal-pcard__quick { left: auto; right: 8px; bottom: 8px; }
  .oal-pcard__media img { aspect-ratio: 4/5; }
  .oal-spec th { width: 130px; }
  .oal-line { grid-template-columns: 72px 1fr; }
  .oal-line img { width: 72px; height: 92px; }
  .oal-line__right { grid-column: 2; align-items: flex-start; text-align: left; }
  .oal-drawer__panel { width: 100%; }
  .oal-stickybuy { display: block; }
  .oal-toasts { left: 16px; right: 16px; bottom: 84px; top: auto; max-width: none; }
  .oal-review { left: 12px; right: 12px; width: auto; bottom: 84px; }
  .oal-review__open { left: 12px; bottom: 84px; }
  .oal-mega { display: none; }
  .oal-announce__in { padding: 6px 20px; }
  .oal-footer__grid { grid-template-columns: 1fr; }
  .oal-pagehead { align-items: flex-start; }
  .oal-swatch__chip { height: 64px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .oal-app *, .oal-app *::before, .oal-app *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* Chrome helpers + page blocks */
.oal-actions--mobile { display: none; }
.oal-searchbox { display: flex; gap: 8px; align-items: stretch; }
.oal-searchbox .oal-input { flex: 1 1 auto; }
.oal-searchrow, .oal-navrow { display: flex; align-items: center; gap: 12px; padding: 15px 4px; border-bottom: 1px solid var(--oal-hairline); font-size: 16px; justify-content: space-between; }
.oal-searchrow { justify-content: flex-start; color: var(--oal-ink); font-weight: 500; }
.oal-navrow--sub { padding-left: 18px; font-size: 14.5px; color: var(--oal-bark); justify-content: flex-start; }
.oal-mediafallback { background: var(--oal-sand); border-radius: var(--oal-r-card); min-height: 140px; display: flex; align-items: center; justify-content: center; color: var(--oal-slate); }
.oal-mini-thumb { width: 56px; height: 70px; object-fit: cover; border-radius: 8px; }
.oal-mobilefilters { display: none; margin-bottom: 14px; }

/* Hero */
.oal-hero { position: relative; min-height: 620px; display: flex; align-items: flex-end; overflow: hidden; }
.oal-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.oal-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(34,30,26,0.05) 30%, rgba(34,30,26,0.62) 100%); }
.oal-hero__content { position: relative; z-index: 2; width: 100%; padding-top: 300px; padding-bottom: 64px; }

/* Home grids */
.oal-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.oal-grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.oal-ccard { display: block; }
.oal-ccard img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--oal-r-card); display: block; }
.oal-ccard b { display: block; margin-top: 10px; font-size: 15px; font-weight: 500; }
.oal-ccard .oal-meta { display: block; }
.oal-ccard:hover b { text-decoration: underline; text-underline-offset: 3px; }
.oal-jcard { display: flex; flex-direction: column; gap: 6px; }
.oal-jcard img { width: 100%; aspect-ratio: 3/2; object-fit: cover; border-radius: var(--oal-r-card); display: block; margin-bottom: 6px; }
.oal-jcard b { font-size: 17px; font-weight: 500; font-family: var(--oal-serif); }
.oal-jcard:hover b { text-decoration: underline; text-underline-offset: 3px; }

/* Collections rows */
.oal-colrow { display: grid; grid-template-columns: 1.15fr 1fr; gap: 36px; align-items: center; border-top: 1px solid var(--oal-hairline); padding: 26px 0; }
.oal-colrow:last-of-type { border-bottom: 1px solid var(--oal-hairline); }
.oal-colrow__img img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--oal-r-card); display: block; }
.oal-colrow:hover b { text-decoration: underline; text-underline-offset: 3px; }

/* Account/orders/help rows */
.oal-ordercard { display: grid; grid-template-columns: 1.3fr auto auto auto; gap: 16px; align-items: center; padding: 18px 0; border-top: 1px solid var(--oal-hairline); width: 100%; background: none; border-left: 0; border-right: 0; border-bottom: 0; font: inherit; color: inherit; text-align: left; }
.oal-ordercard--btn { cursor: pointer; }
.oal-ordercard--btn:hover { background: rgba(34,30,26,0.02); }
.oal-orderdetail__body { border-top: 1px solid var(--oal-hairline); padding: 14px 0 22px; max-width: 680px; }
.oal-helprow { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--oal-hairline); align-items: baseline; }
.oal-helprow b { font-size: 15.5px; font-weight: 500; }
.oal-helprow:hover b { text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 1100px) {
  .oal-mobilefilters { display: inline-flex; }
  .oal-rail--sheet .oal-rail { display: block; }
}
@media (max-width: 900px) {
  .oal-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .oal-grid-5 { grid-template-columns: repeat(2, 1fr); }
  .oal-colrow { grid-template-columns: 1fr; gap: 18px; }
  .oal-hero { min-height: 540px; }
  .oal-hero__content { padding-top: 240px; }
}
@media (max-width: 640px) {
  .oal-actions--desktop { display: none; }
  .oal-actions--mobile { display: flex; }
  .oal-hero { min-height: 500px; }
  .oal-hero__content { padding-top: 220px; padding-bottom: 40px; }
  .oal-ordercard { grid-template-columns: 1fr auto; row-gap: 8px; }
  .oal-grid-4 { grid-template-columns: repeat(2, 1fr); }
}

/* OAK-S03 modules: section rhythm + shared strips */
.oal-sec { border-top: 1px solid var(--oal-hairline); margin-top: 44px; padding-top: 36px; }
.oal-sec:last-child { margin-bottom: 0; padding-bottom: 96px; }
.oal-trust ul { list-style: none; display: flex; flex-wrap: wrap; gap: 14px 40px; margin: 0; padding: 0; }
.oal-trust li { display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.oal-trust li b { font-weight: 500; }
.oal-trust li span { font-size: 12.5px; color: var(--oal-slate); }
.oal-trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.oal-trio b { display: block; margin-bottom: 6px; font-weight: 500; }
.oal-guarantee { background: #fff; border: 1px solid var(--oal-hairline); border-radius: var(--oal-r-card); padding: 22px 24px; }
.oal-guarantee h3 { margin: 0 0 10px; }
.oal-guarantee ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 26px; }
.oal-guarantee li { position: relative; padding-left: 24px; font-size: 14.5px; }
.oal-guarantee li::before { content: "✓"; position: absolute; left: 0; color: var(--oal-moss); font-weight: 600; }
.oal-faq details { border-bottom: 1px solid var(--oal-hairline); padding: 12px 0; }
.oal-faq summary { cursor: pointer; font-weight: 500; font-size: 15px; }
.oal-faq p { margin: 8px 0 0; }
.oal-support { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.oal-support__meta { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.oal-cstrip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.oal-cstrip .oal-ccard img { aspect-ratio: 4/3; }
@media (max-width: 900px) {
  .oal-trio { grid-template-columns: 1fr; gap: 14px; }
  .oal-guarantee ul { grid-template-columns: 1fr; }
  .oal-cstrip { grid-template-columns: repeat(2, 1fr); }
}
/* Footer newsletter: button keeps its intrinsic width on one line */
.oal-footer__news .oal-input { flex: 1 1 auto; min-width: 0; }
.oal-footer__news .oal-btn { flex: 0 0 auto; }


/* ------------------------------------------------------------------ */
/* WooCommerce integration (catalog, PDP, cart, checkout, account)      */
.oal-main > .alignfull { margin: 0; }
ul.products { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 24px; }
ul.products.columns-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
ul.products li.product { position: relative; }
ul.products li.product a img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--oal-r-card); background: var(--oal-sand); margin: 0; }
ul.products li.product .woocommerce-loop-product__title { font-size: 15px; font-weight: 500; padding: 12px 0 2px; }
ul.products li.product .price { font-size: 16px; font-weight: 500; color: var(--oal-ink); font-variant-numeric: tabular-nums; }
ul.products li.product .price del { color: var(--oal-slate); font-size: 14px; margin-left: 6px; font-weight: 400; }
ul.products li.product .button { height: 40px; padding: 0 14px; border-radius: var(--oal-r-ctl); background: var(--oal-ink); color: var(--oal-linen); border: 0; font-size: 13.5px; font-weight: 500; cursor: pointer; }
ul.products li.product .button:hover { background: #3A342E; }
ul.products li.product .added_to_cart { display: none; }
ul.products li.product .onsale, .single-product .onsale { position: absolute; top: 10px; right: 10px; left: auto; margin: 0; background: rgba(90,107,79,0.14); color: var(--oal-moss); border-radius: 999px; padding: 4px 10px; font-size: 12px; line-height: 1.4; min-height: 0; }
.woocommerce-breadcrumb { font-size: 12.5px; color: var(--oal-slate); margin: 20px 0 0; }
.woocommerce-breadcrumb a { color: var(--oal-bark); }
.woocommerce .woocommerce-result-count { font-size: 12.5px; color: var(--oal-slate); }
.woocommerce .woocommerce-ordering select { height: 40px; border-radius: var(--oal-r-ctl); border: 1px solid var(--oal-hairline); background: var(--oal-linen); padding: 0 12px; font-family: inherit; }
.woocommerce nav.woocommerce-pagination ul { border: 0; display: flex; gap: 8px; justify-content: center; padding: 32px 0; }
.woocommerce nav.woocommerce-pagination ul li { border: 0; }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span { min-width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--oal-hairline); border-radius: var(--oal-r-ctl); }
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--oal-ink); color: var(--oal-linen); border-color: var(--oal-ink); }

/* Single product */
.single-product div.product { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(360px,1fr); gap: 56px; align-items: start; }
.single-product div.product .woocommerce-product-gallery { width: 100% !important; float: none; }
.single-product div.product .woocommerce-product-gallery__image img { border-radius: var(--oal-r-card); }
.single-product div.product .summary { float: none; width: 100% !important; }
.single-product .product_title { font-family: var(--oal-serif); font-weight: 550; font-size: 40px; line-height: 1.1; margin: 8px 0 10px; }
.single-product .price { font-size: 26px; font-weight: 500; font-variant-numeric: tabular-nums; }
.single-product .product_meta { font-size: 12.5px; color: var(--oal-slate); border-top: 1px solid var(--oal-hairline); margin-top: 18px; padding-top: 12px; }
.single-product form.cart { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin: 18px 0; }
.single-product form.cart .quantity { display: inline-flex; align-items: center; border: 1px solid var(--oal-hairline); border-radius: var(--oal-r-ctl); height: 48px; }
.single-product form.cart .quantity input.qty { width: 52px; height: 46px; border: 0; background: transparent; text-align: center; font-size: 16px; font-variant-numeric: tabular-nums; }
.single-product form.cart .button { height: 48px; padding: 0 24px; border-radius: var(--oal-r-ctl); background: var(--oal-ink); color: var(--oal-linen); border: 0; font-size: 15px; font-weight: 500; cursor: pointer; }
.single-product .oal-variations .variations { width: 100%; border-collapse: collapse; }
.single-product .variations th, .single-product .variations td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--oal-hairline); vertical-align: middle; }
.single-product .variations select { height: 44px; min-width: 180px; border-radius: var(--oal-r-ctl); border: 1px solid var(--oal-hairline); background: #fff; padding: 0 12px; font-family: inherit; }
.single-product .woocommerce-variation-price .price { font-size: 22px; }
.single-product .woocommerce-tabs { grid-column: 1 / -1; margin-top: 40px; }
.single-product .woocommerce-tabs ul.tabs { display: flex; gap: 22px; border-bottom: 1px solid var(--oal-hairline); padding: 0; margin: 0 0 18px; list-style: none; }
.single-product .woocommerce-tabs ul.tabs li { margin: 0; }
.single-product .woocommerce-tabs ul.tabs li a { display: inline-block; padding: 12px 0; font-size: 14px; color: var(--oal-bark); border-bottom: 2px solid transparent; }
.single-product .woocommerce-tabs ul.tabs li.active a { color: var(--oal-ink); border-bottom-color: var(--oal-ink); }
.single-product .oal-spec { width: 100%; border-collapse: collapse; font-size: 14.5px; max-width: 760px; }
.single-product .oal-spec th, .single-product .oal-spec td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--oal-hairline); vertical-align: top; }
.single-product .oal-spec th { width: 220px; font-weight: 500; color: var(--oal-bark); }
.single-product .related.products { margin-top: 48px; }
.single-product .related.products > h2 { font-family: var(--oal-serif); font-weight: 550; font-size: 24px; margin-bottom: 18px; }
.single-product .oal-delivery { display: grid; gap: 12px; margin-top: 18px; }
.single-product .oal-delivery .oal-card-state { margin: 0; }
.oal-var-note { font-size: 12.5px; color: var(--oal-slate); margin-top: 8px; }

/* Cart / checkout */
.woocommerce-cart .woocommerce, .woocommerce-checkout .woocommerce, .woocommerce-account .woocommerce { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
.woocommerce table.shop_table { border: 1px solid var(--oal-hairline); border-radius: var(--oal-r-card); border-collapse: separate; border-spacing: 0; width: 100%; background: #fff; }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { padding: 14px; border-bottom: 1px solid var(--oal-hairline); text-align: left; }
.woocommerce table.shop_table .product-thumbnail img { width: 72px; height: 90px; object-fit: cover; border-radius: 8px; }
.woocommerce a.remove { color: var(--oal-clay) !important; }
.woocommerce .cart-collaterals .cart_totals { width: 100%; float: none; }
.woocommerce .cart_totals h2, .woocommerce-checkout #order_review_heading, .woocommerce-order h2 { font-family: var(--oal-serif); font-weight: 550; font-size: 24px; }
.woocommerce .cart_totals table.shop_table { background: #fff; }
.woocommerce-cart .cart_totals, .woocommerce-checkout #order_review { border: 1px solid var(--oal-hairline); border-radius: var(--oal-r-card); padding: 22px; background: #fff; }
.woocommerce form.checkout_coupon, .woocommerce form.login, .woocommerce form.register { border: 1px solid var(--oal-hairline); border-radius: var(--oal-r-card); padding: 20px; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select { height: 48px; border: 1px solid var(--oal-hairline); border-radius: var(--oal-r-ctl); padding: 0 14px; font-family: inherit; font-size: 15px; width: 100%; }
.woocommerce form .form-row textarea { height: auto; padding: 12px 14px; }
.woocommerce-checkout #payment { background: transparent; border-radius: var(--oal-r-card); }
.woocommerce-checkout #payment ul.payment_methods { border-bottom: 1px solid var(--oal-hairline); }
.woocommerce-checkout #payment div.payment_box { background: var(--oal-sand); border-radius: var(--oal-r-ctl); font-size: 13.5px; }
.woocommerce-checkout #payment div.payment_box::before { display: none; }
#place_order { width: 100%; height: 48px; background: var(--oal-ink); color: var(--oal-linen); border-radius: var(--oal-r-ctl); font-size: 15px; font-weight: 500; border: 0; cursor: pointer; }
.woocommerce ul.order_details { display: grid; grid-template-columns: repeat(auto-fit,minmax(160px,1fr)); gap: 12px; padding: 0; list-style: none; }
.woocommerce ul.order_details li { border: 1px solid var(--oal-hairline); border-radius: var(--oal-r-card); padding: 12px 14px; font-size: 13px; }
.woocommerce .woocommerce-message, .woocommerce .woocommerce-info, .woocommerce .woocommerce-error { border-top: 0; background: #fff; border: 1px solid var(--oal-hairline); border-radius: var(--oal-r-card); padding: 14px 18px; }
.woocommerce .woocommerce-message { border-left: 3px solid var(--oal-moss); }
.woocommerce .woocommerce-info { border-left: 3px solid var(--oal-oak-deep); }
.woocommerce .woocommerce-error { border-left: 3px solid var(--oal-clay); }

/* Account */
.woocommerce-account .woocommerce-MyAccount-navigation { width: 240px; float: left; }
.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; }
.woocommerce-account .woocommerce-MyAccount-navigation li a { display: block; padding: 10px 0; border-bottom: 1px solid var(--oal-hairline); font-size: 14px; }
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a { font-weight: 500; }
.woocommerce-account .woocommerce-MyAccount-content { width: calc(100% - 280px); float: right; }
.woocommerce-account .woocommerce-MyAccount-content .button { background: var(--oal-ink); color: var(--oal-linen); border-radius: var(--oal-r-ctl); height: 44px; padding: 0 18px; display: inline-flex; align-items: center; border: 0; }
.woocommerce-account fieldset { border: 1px solid var(--oal-hairline); border-radius: var(--oal-r-card); padding: 18px; margin-bottom: 18px; }
.woocommerce-account .woocommerce-Address { border: 1px solid var(--oal-hairline); border-radius: var(--oal-r-card); padding: 18px; background: #fff; }

/* Mini cart drawer + filters sheet + count chips */
.oal-count-chip, .oal-header__count { position: absolute; top: 4px; right: 2px; min-width: 17px; height: 17px; border-radius: 999px; background: var(--oal-ink); color: var(--oal-linen); font-size: 10.5px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; padding: 0 4px; }
.oal-catalog { display: grid; grid-template-columns: 280px 1fr; gap: 40px; align-items: start; }
.oal-no-results { border: 1px dashed var(--oal-hairline); border-radius: var(--oal-r-card); padding: 40px; text-align: center; }

@media (max-width: 1024px) {
  ul.products { grid-template-columns: repeat(2, 1fr); }
  .single-product div.product { grid-template-columns: 1fr; }
  .woocommerce-account .woocommerce-MyAccount-navigation, .woocommerce-account .woocommerce-MyAccount-content { width: 100%; float: none; }
  .oal-catalog { grid-template-columns: 1fr; }
}
@media (max-width: 1024px) {
  ul.products.columns-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .woocommerce-cart .woocommerce, .woocommerce-checkout .woocommerce, .woocommerce-account .woocommerce { padding: 0 20px; }
  ul.products { grid-template-columns: repeat(2, 1fr); gap: 20px 12px; }
}

/* Core block bridges (navigation, page list, newsletter form, sticky bar) */
.oal-header__nav .wp-block-navigation__container { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.oal-header__nav .wp-block-navigation-item__content { font-size: 14.5px; color: var(--oal-ink); padding: 8px 0; border-bottom: 1px solid transparent; }
.oal-header__nav .wp-block-navigation-item__content:hover, .oal-header__nav .current-menu-item .wp-block-navigation-item__content { border-bottom-color: var(--oal-ink); }
.oal-mobile-pages ul { list-style: none; margin: 0; padding: 0; }
.oal-mobile-pages a { display: block; padding: 15px 4px; border-bottom: 1px solid var(--oal-hairline); font-size: 16px; }
.oal-footer__news form { display: flex; gap: 8px; align-items: stretch; }
.oal-stickybuy.is-visible { display: block; }
@media (max-width: 1024px) { .oal-header__nav { display: none; } }
@media (min-width: 1025px) { .oal-mobile-bar { display: none; } }
@media (max-width: 640px) { .oal-actions--desktop .oal-iconbtn:nth-child(1), .oal-actions--desktop .oal-iconbtn:nth-child(2) { display: none; } }

/* Elements toggled by the [hidden] attribute must not be displayed by layout rules */
.oal-drawer[hidden], .oal-toast[hidden], .oal-stickybuy[hidden], [data-oal-drawer][hidden] { display: none; }

/* Woo legacy item widths must not fight the grid layout */
ul.products li.product,
body.woocommerce ul.products li.product,
body ul.products li.oal-pcard { width: auto !important; float: none !important; margin: 0 !important; }
ul.products { align-items: start; }

/* Woo clearfix pseudo-elements must not become grid items */
ul.products::before, ul.products::after { display: none !important; content: none !important; }

/* Card media must be a block box so absolutely positioned badges anchor to it */
.oal-pcard__media { display: block; }
.oal-pcard__media img { display: block; width: 100%; }
.oal-pcard__badge .oal-badge, .oal-badge { white-space: nowrap; }

/* =====================================================================
   Pixel-fidelity loop 2026-09-21 (OAK-W02): parity with the approved
   MagicPath revision 452610636183130112, measured at 1440x900 against
   https://api.magicpath.ai/v1/rich-air-9758. Global box model, top-level
   block-gap reset, hero/pagehead rhythm, card overlays, image sizing.
   ===================================================================== */
*, *::before, *::after { box-sizing: border-box; }
body .wp-site-blocks > * { margin-block-start: 0; }
.oal-hero__content .oal-kicker, .oal-hero__content .oal-lede { margin-block: 0; }
.oal-pagehead p { margin: 0; }
.oal-trio p { margin: 0; }
.oal-footer h3 { line-height: 1.6; }
ul.products.columns-2, ul.products.columns-3, ul.products.columns-4, ul.products.columns-5, ul.products.columns-6 { margin-bottom: 0; }
body ul.products li.product .oal-pcard__media img { margin: 0; }
.oal-pcard__link { display: block; }
.oal-pcard p:empty, .oal-ccard p:empty, .oal-jcard p:empty { display: none; }
.oal-ccard img, .oal-jcard img, .oal-pcard__media img, .oal-media img, .oal-mega__card img, .oal-gallery__main img { height: auto; }
[data-oal-section="journal-home"] .oal-sec { margin-top: 0; padding-top: 0; padding-bottom: 0; }
.oal-announce button svg { display: block; }
.oal-rail__list a, .oal-rail__opt { display: flex; gap: 8px; align-items: center; padding: 2px 0; font-size: 14px; color: var(--oal-bark); cursor: pointer; }
.oal-rail__list a:hover, .oal-rail__opt:hover { color: var(--oal-ink); }
.oal-rail__list a[aria-current="page"] { color: var(--oal-ink); font-weight: 500; }
.oal-rail__opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.oal-rail__opt input:checked + span { color: var(--oal-ink); font-weight: 500; }
.oal-rail__opt input:focus-visible + span { outline: 2px solid var(--oal-oak-deep); outline-offset: 2px; border-radius: 2px; }
.oal-sortlist a { border: 0; background: transparent; font-size: 13.5px; color: var(--oal-bark); cursor: pointer; padding: 2px 0; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px; }
.oal-sortlist a[aria-current="true"] { color: var(--oal-ink); text-decoration-color: var(--oal-ink); }
.oal-rail__range input[type="range"] { width: 100%; height: 16px; margin: 0; }
.oal-rail__list .oal-rail__opt { margin: 0; }
.oal-pagehead .oal-sortlist { margin-top: 6px; }
.oal-catalog > p:empty { display: none; }
p:empty { display: none; }
.oal-filters > p { margin: 0; }
.oal-catalog { margin-bottom: 140px; }
.oal-mega[hidden], .oal-mega__set[hidden] { display: none; }
.oal-mega__card > .oal-meta { margin-top: 4px; }
.oal-mega p:not([style]) { margin: 0; line-height: 1.2; }
.oal-mega p:not([style]) > b { display: block; }
.oal-mega__cta { line-height: 1.2; }
.oal-grid-note p { margin: 0; }
.oal-filters-form p:not([class]) { display: none; }
