/*
Theme Name: Ruiyi Timepieces
Theme URI: https://ruiyitimepieces.com
Author: sitebuild
Author URI: https://ruiyitimepieces.com
Description: Ruiyi Timepieces - Midnight Steel design system. Dark instrument chrome, porcelain gallery, oxblood accent. Ported from the static storefront build.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ruiyi
*/

/* ==========================================================================
   RUIYI TIMEPIECES - "Midnight Steel" design system
   Dark instrument chrome + porcelain gallery + oxblood accent.
   Hand-written; build.py only renders markup.
   ========================================================================== */

:root {
  --night: #0E1218;
  --night-2: #141A23;
  --night-3: #1B2330;
  --porcelain: #F3F3F0;
  --paper: #FBFBF9;
  --ink: #161A20;
  --ink-2: #5A6169;
  --steel: #97A1AD;
  --steel-2: #C6CDD6;
  --line-d: #232C38;
  --line-l: #E0E0DB;
  --ox: #7C2D2E;
  --ox-2: #94393A;
  --wa: #22c15e;
  --f-dis: 'Marcellus', 'Times New Roman', serif;
  --f-body: 'Sora', -apple-system, 'Segoe UI', Arial, sans-serif;
  --f-mono: 'Spline Sans Mono', Consolas, monospace;
  --wrap: 1240px;
  --narrow: 820px;
  --r: 16px;
  --r-lg: 22px;
  --r-sm: 12px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body {
  background: var(--porcelain);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
img[width][height] { height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--ox); }
h1, h2, h3 { font-family: var(--f-dis); font-weight: 400; line-height: 1.08; letter-spacing: 0; }
::selection { background: var(--ox); color: #fff; }
:focus-visible { outline: 2px solid var(--ox-2); outline-offset: 2px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.narrow { max-width: var(--narrow); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--ox); color: #fff; padding: 10px 16px; z-index: 200; }
.skip:focus { left: 12px; top: 12px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
svg.ic { width: 18px; height: 18px; flex: none; }

.eyebrow {
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--ink-2); margin-bottom: 14px;
}
.dark .eyebrow, .hero .eyebrow, .craft .eyebrow, .cta-band .eyebrow { color: var(--steel); }

/* ------------------------------------------------------------------ announce */
.announce { background: var(--night-3); color: var(--steel-2); border-bottom: 1px solid var(--line-d); }
.announce-row {
  display: flex; gap: 26px; justify-content: space-between; align-items: center;
  min-height: 38px; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .06em;
  text-transform: uppercase; padding-top: 6px; padding-bottom: 6px; flex-wrap: wrap;
}
.announce a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.announce a:hover { color: var(--steel-2); }

/* -------------------------------------------------------------------- header */
.site-head { position: sticky; top: 0; z-index: 80; background: var(--night); border-bottom: 1px solid var(--line-d); }
.head-row { display: flex; align-items: center; gap: 34px; min-height: 72px; color: #EDEFF2; }
.wordmark { display: inline-flex; align-items: baseline; gap: 9px; margin-right: auto; color: #F2F3F5; }
.wordmark:hover { color: #fff; }
.wm-mark { width: 34px; height: 34px; align-self: center; color: var(--steel-2); }
.wm-big { font-family: var(--f-dis); font-size: 26px; letter-spacing: .04em; }
.wm-small { font-family: var(--f-mono); font-size: 11px; letter-spacing: .3em; color: var(--steel); text-transform: uppercase; }
.nav { display: flex; gap: 28px; }
.nav a {
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--steel-2); padding: 8px 0; border-bottom: 1px solid transparent;
}
.nav a:hover { color: #fff; border-bottom-color: var(--ox-2); }
.cart-link { position: relative; color: var(--steel-2); display: inline-flex; padding: 6px; }
.cart-link:hover { color: #fff; }
.cart-count {
  position: absolute; top: -2px; right: -6px; background: var(--ox); color: #fff;
  font-family: var(--f-mono); font-size: 10.5px; min-width: 18px; height: 18px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center; padding: 0 4px;
}
.nav-toggle { display: none; background: none; border: 1px solid var(--line-d); color: var(--steel-2); padding: 8px 12px; cursor: pointer; border-radius: var(--r-sm); }

/* ------------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--f-mono); font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase;
  padding: 15px 28px; border-radius: 999px; border: 1px solid transparent; cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.btn-solid { background: var(--ox); color: #fff; }
.btn-solid:hover { background: var(--ox-2); color: #fff; transform: translateY(-1px); }
.btn-ghost { border-color: rgba(198, 205, 214, .45); color: var(--steel-2); background: transparent; }
.btn-ghost:hover { border-color: var(--steel-2); color: #fff; }
.btn-block { width: 100%; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-mono); font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ox); border-bottom: 1px solid transparent;
}
.link-arrow:hover { border-bottom-color: var(--ox); color: var(--ox-2); }
.link-arrow .ic { width: 15px; height: 15px; }

/* --------------------------------------------------------------------- hero */
.hero {
  background:
    radial-gradient(1200px 520px at 78% 12%, rgba(124, 45, 46, .18), transparent 60%),
    radial-gradient(900px 420px at 12% 88%, rgba(35, 44, 56, .55), transparent 65%),
    var(--night);
  border-bottom: 1px solid var(--line-d); color: #E9EBEE;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; padding-top: 84px; padding-bottom: 84px; }
.hero h1 { font-size: clamp(2.6rem, 4.6vw, 4rem); color: #F5F6F7; margin-bottom: 22px; }
.hero-sub { color: var(--steel-2); max-width: 54ch; font-size: 16.5px; }
.hero-cta { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.hero-media { border: 1px solid var(--line-d); background: #0A0D12; border-radius: var(--r-lg); padding: 10px 10px 0; }
.hero-media img { width: 100%; height: auto; border-radius: calc(var(--r-lg) - 10px); }
.hero-media figcaption {
  font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .08em; color: var(--steel);
  padding: 14px 6px 16px; text-transform: uppercase;
}
.plate-no { color: var(--ox-2); margin-right: 8px; }

/* -------------------------------------------------------------------- trust */
.trust { background: var(--night-2); border-bottom: 1px solid var(--line-d); color: var(--steel-2); }
.trust-row { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { display: flex; gap: 14px; align-items: flex-start; padding: 26px 22px; border-left: 1px solid var(--line-d); }
.trust-item:first-child { border-left: none; }
.trust-ic { width: 22px; height: 22px; color: var(--ox-2); margin-top: 2px; }
.trust-t { font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: #E7E9EC; }
.trust-s { font-size: 13.5px; color: var(--steel); }

/* ------------------------------------------------------------------ section */
.section { padding: 84px 0; }
.section-head { margin-bottom: 42px; }
.section-title { font-size: clamp(1.7rem, 3vw, 2.5rem); }
.page-hero { padding: 72px 0 8px; }
.page-title { font-size: clamp(2rem, 3.8vw, 3rem); margin-bottom: 18px; }
.page-sub { color: var(--ink-2); max-width: 68ch; }
.center { text-align: center; }
.fine { font-size: 13px; color: var(--ink-2); }

/* ----------------------------------------------------------------- families */
.families { background: var(--paper); border-bottom: 1px solid var(--line-l); }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.tile { display: block; background: #fff; border: 1px solid var(--line-l); border-radius: var(--r-lg); overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.tile:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(22, 26, 32, .08); color: inherit; }
.tile img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.tile-body { padding: 28px 30px 32px; }
.tile-count { font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 10px; }
.tile h3 { font-size: 1.7rem; margin-bottom: 10px; }
.tile p { color: var(--ink-2); margin-bottom: 16px; }

/* ------------------------------------------------------------------- spots */
.selected { background: var(--porcelain); }
.spot { display: grid; grid-template-columns: 1.05fr .95fr; gap: 46px; align-items: center; padding: 34px 0; border-top: 1px solid var(--line-l); }
.spot:first-of-type { border-top: none; }
.spot-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-lg); border: 1px solid var(--line-l); }
.spot-num { font-family: var(--f-mono); font-size: 12px; letter-spacing: .18em; color: var(--ink-2); margin-bottom: 12px; }
.spot-name { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin-bottom: 12px; }
.spot-copy { color: var(--ink-2); margin-bottom: 14px; max-width: 52ch; }
.spot-price { font-family: var(--f-mono); margin-bottom: 18px; }
.spot:nth-of-type(even) .spot-media { order: 2; }
.spot:nth-of-type(even) .spot-body { order: 1; }

/* ------------------------------------------------------------------- craft */
.craft { background: var(--night); color: #E9EBEE; border-top: 1px solid var(--line-d); border-bottom: 1px solid var(--line-d); }
.craft-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; padding-top: 84px; padding-bottom: 84px; }
.craft-media img { width: 100%; height: auto; border-radius: var(--r-lg); border: 1px solid var(--line-d); }
.craft h2 { color: #F5F6F7; margin-bottom: 18px; }
.craft p { color: var(--steel-2); margin-bottom: 22px; }
.craft-list { list-style: none; border-top: 1px solid var(--line-d); }
.craft-list li { display: grid; grid-template-columns: 190px 1fr; gap: 18px; padding: 15px 0; border-bottom: 1px solid var(--line-d); }
.mono-label { font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ox-2); padding-top: 2px; }
.craft-list span:last-child { color: var(--steel); font-size: 14.5px; }

/* ----------------------------------------------------------------- reviews */
.reviews { background: var(--paper); border-bottom: 1px solid var(--line-l); }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 340px); gap: 18px; overflow-x: auto; padding-bottom: 14px; scroll-snap-type: x mandatory; }
.review-card { background: #fff; border: 1px solid var(--line-l); border-radius: var(--r); padding: 24px; scroll-snap-align: start; display: flex; flex-direction: column; }
.review-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.stars { display: inline-flex; align-items: center; gap: 3px; }
.review-date { font-family: var(--f-mono); font-size: 11px; color: var(--ink-2); }
.star { width: 14px; height: 14px; color: var(--ox); }
.star-off { color: var(--line-l); }
.review-text { font-size: 14.5px; color: var(--ink); flex: 1; margin-bottom: 18px; }
.review-who { display: flex; gap: 12px; align-items: center; border-top: 1px solid var(--line-l); padding-top: 16px; }
.review-who img { width: 44px; height: 44px; border-radius: 999px; object-fit: cover; }
.review-name { font-size: 14px; font-weight: 600; }
.review-city { font-size: 12.5px; color: var(--ink-2); }
.review-city a { text-decoration: underline; text-underline-offset: 2px; }

/* --------------------------------------------------------------------- faq */
.faq-teaser { background: var(--porcelain); }
.faq-item { border-bottom: 1px solid var(--line-l); }
.faq-item summary {
  cursor: pointer; list-style: none; position: relative; padding: 20px 44px 20px 0;
  font-family: var(--f-dis); font-size: 1.15rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 6px; top: 16px; font-family: var(--f-mono);
  font-size: 22px; color: var(--ox); transition: transform .18s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 0 22px; color: var(--ink-2); max-width: 76ch; }
.faq-more { margin-top: 26px; }

/* ---------------------------------------------------------------- cta-band */
.cta-band {
  background: linear-gradient(120deg, rgba(124, 45, 46, .22), transparent 55%), var(--night-2);
  color: #E9EBEE; border-top: 1px solid var(--line-d);
}
.cta-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; padding: 72px 28px; }
.cta-band h2 { color: #F5F6F7; }
.cta-sub { color: var(--steel); max-width: 58ch; margin-top: 12px; }
.cta-actions { display: flex; gap: 14px; justify-content: flex-end; flex-wrap: wrap; }

/* ------------------------------------------------------------------ footer */
.site-foot { background: var(--night); color: var(--steel); border-top: 1px solid var(--line-d); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 44px; padding-top: 64px; padding-bottom: 40px; }
.foot-mark { display: flex; align-items: center; gap: 10px; color: #F2F3F5; margin-bottom: 16px; }
.foot-ring { width: 30px; height: 30px; color: var(--steel-2); }
.foot-name { font-family: var(--f-dis); font-size: 21px; letter-spacing: .05em; }
.foot-sub { font-family: var(--f-mono); font-size: 10px; letter-spacing: .28em; color: var(--steel); text-transform: uppercase; }
.foot-line { font-size: 14px; max-width: 40ch; margin-bottom: 12px; }
.foot-slogan { font-family: var(--f-dis); color: var(--steel-2); }
.site-foot h3 { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--steel-2); margin-bottom: 16px; }
.site-foot ul { list-style: none; }
.site-foot li { margin-bottom: 9px; font-size: 14px; }
.site-foot a { color: var(--steel); }
.site-foot a:hover { color: #fff; }
.foot-base { border-top: 1px solid var(--line-d); padding-top: 22px; padding-bottom: 30px; display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; }
.foot-entity { font-family: var(--f-mono); font-size: 11px; letter-spacing: .04em; color: #6E7887; }

/* ------------------------------------------------------------------- cards */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.card { background: #fff; border: 1px solid var(--line-l); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(22, 26, 32, .09); }
.card-media { position: relative; display: block; }
.card-media img { aspect-ratio: 1 / 1; object-fit: cover; width: 100%; }
.card-badge {
  position: absolute; top: 12px; left: 12px; z-index: 2; background: var(--ox); color: #fff;
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px;
}
.card-body { padding: 20px 20px 24px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-cat { font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; color: var(--ink-2); text-transform: uppercase; }
.card-name { font-size: 1.14rem; line-height: 1.25; }
.card-name a:hover { color: var(--ox); }
.card-tag { font-size: 13.5px; color: var(--ink-2); flex: 1; }
.card-price { font-family: var(--f-mono); font-size: 13.5px; display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.card-price s { color: var(--ink-2); }
.save { color: var(--ox); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; }
.grid-note { margin-top: 28px; font-size: 13.5px; color: var(--ink-2); }
.grid-note a { text-decoration: underline; text-underline-offset: 2px; }

/* ------------------------------------------------------------------- shop */
.shop-head { padding: 72px 0 10px; }
.chips { display: flex; gap: 10px; margin-top: 26px; flex-wrap: wrap; }
.chip {
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  padding: 10px 20px; border: 1px solid var(--line-l); background: #fff; color: var(--ink-2);
  cursor: pointer; border-radius: 999px;
}
.chip:hover { border-color: var(--ink-2); color: var(--ink); }
.chip.is-on { background: var(--night); border-color: var(--night); color: #fff; }
.shop-grid-wrap { padding-top: 40px; }

/* -------------------------------------------------------------------- pdp */
.pdp { padding: 44px 0 84px; }
.crumbs { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); display: flex; gap: 10px; margin-bottom: 30px; }
.crumb-now { color: var(--ink); }
.pdp-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 54px; align-items: start; }
.pdp-stage { background: #fff; border: 1px solid var(--line-l); border-radius: var(--r-lg); overflow: hidden; }
.pdp-stage img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.pdp-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 12px; }
.thumb { padding: 0; border: 1px solid var(--line-l); background: #fff; cursor: pointer; border-radius: var(--r-sm); overflow: hidden; }
.thumb img { aspect-ratio: 1 / 1; object-fit: cover; width: 100%; }
.thumb.is-on { border-color: var(--ox); outline: 1px solid var(--ox); }
.pdp-name { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 10px; }
.pdp-tag { color: var(--ink-2); margin-bottom: 18px; }
.pdp-price { font-family: var(--f-mono); font-size: 21px; display: flex; gap: 14px; align-items: baseline; margin-bottom: 24px; flex-wrap: wrap; }
.pdp-price s { color: var(--ink-2); font-size: 16px; }
.pdp-price .save { font-size: 12.5px; }
.pdp-qty-row { display: flex; gap: 14px; align-items: stretch; margin-bottom: 18px; }
.qty { display: inline-flex; border: 1px solid var(--line-l); border-radius: 999px; background: #fff; overflow: hidden; }
.qty button { background: none; border: none; padding: 0 15px; cursor: pointer; color: var(--ink-2); display: inline-flex; align-items: center; }
.qty button:hover { color: var(--ox); }
.qty input { width: 44px; text-align: center; border: none; font-family: var(--f-mono); font-size: 15px; background: transparent; }
.btn-buy { flex: 1; }
.pdp-coupon-note { font-size: 13px; color: var(--ox); margin-bottom: 14px; }
.pdp-coupon-note code { font-family: var(--f-mono); border: 1px dashed var(--ox); padding: 1px 6px; }
.pdp-points { list-style: none; border-top: 1px solid var(--line-l); margin-top: 8px; }
.pdp-points li { display: flex; gap: 12px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line-l); font-size: 14px; color: var(--ink-2); }
.pdp-points .ic { color: var(--ox); }
.pdp-help { font-size: 13.5px; color: var(--ink-2); margin-top: 16px; }
.pdp-help a { text-decoration: underline; text-underline-offset: 2px; }
.pdp-info { display: grid; grid-template-columns: 1.1fr .9fr; gap: 54px; margin-top: 64px; }
.pdp-info h2 { font-size: 1.5rem; margin-bottom: 16px; }
.pdp-info h3 { font-size: 1.15rem; margin: 26px 0 12px; }
.pdp-desc { color: var(--ink-2); margin-bottom: 18px; }
.pdp-bullets { list-style: none; }
.pdp-bullets li { position: relative; padding: 8px 0 8px 20px; font-size: 14.5px; color: var(--ink-2); border-bottom: 1px solid var(--line-l); }
.pdp-bullets li::before { content: ""; position: absolute; left: 2px; top: 18px; width: 7px; height: 1px; background: var(--ox); }
.pdp-bullets b { color: var(--ink); }
.spec-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.spec-table th, .spec-table td { text-align: left; padding: 11px 0; border-bottom: 1px solid var(--line-l); vertical-align: top; }
.spec-table th { font-family: var(--f-mono); font-weight: 400; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); width: 42%; padding-right: 18px; }
.pdp-care { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px; margin-top: 56px; border-top: 1px solid var(--line-l); padding-top: 40px; }
.pdp-care h3 { font-size: 1.15rem; margin-bottom: 12px; }
.pdp-reviews { margin-top: 60px; border-top: 1px solid var(--line-l); padding-top: 40px; }
.pdp-reviews h2 { font-size: 1.5rem; margin-bottom: 22px; }
.pdp-review { max-width: 72ch; border-left: 2px solid var(--ox); padding-left: 22px; margin-bottom: 26px; }
.pdp-review .review-by { font-family: var(--f-mono); font-size: 12px; color: var(--ink-2); margin-top: 10px; }
.pdp-related { margin-top: 64px; border-top: 1px solid var(--line-l); padding-top: 40px; }
.pdp-related h2 { font-size: 1.5rem; margin-bottom: 24px; }
.order-no { font-family: var(--f-mono); }

/* buybar */
.buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; background: var(--night); border-top: 1px solid var(--line-d); color: #E9EBEE; }
.buybar-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-top: 12px; padding-bottom: 12px; }
.buybar-info { display: flex; gap: 18px; align-items: baseline; }
.buybar-name { font-family: var(--f-dis); font-size: 1.05rem; }
.buybar-price { font-family: var(--f-mono); color: var(--steel-2); }

/* ------------------------------------------------------------ cart/checkout */
.cart-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 44px; align-items: start; }
.cart-row { display: grid; grid-template-columns: 92px 1fr auto; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line-l); align-items: center; }
.cart-row img { width: 92px; height: 92px; object-fit: cover; border-radius: var(--r-sm); border: 1px solid var(--line-l); }
.cart-row h3 { font-size: 1.05rem; margin-bottom: 4px; }
.row-price { font-family: var(--f-mono); font-size: 13px; color: var(--ink-2); }
.row-end { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.row-line { font-family: var(--f-mono); }
.row-remove { background: none; border: none; padding: 0; cursor: pointer; font-size: 12px; color: var(--ink-2); text-decoration: underline; }
.row-remove:hover { color: var(--ox); }
.cart-side, .checkout-side { background: #fff; border: 1px solid var(--line-l); border-radius: var(--r); padding: 28px; }
.cart-side h2, .checkout-side h2 { font-size: 1.3rem; margin-bottom: 16px; }
.total-row th, .total-row td { font-family: var(--f-mono); border-bottom: none; padding-top: 16px; font-size: 15px; }
.disc-row td { color: var(--ox); }
.ship-note { font-size: 13px; color: var(--ink-2); margin: 10px 0 18px; }
.cart-empty { padding: 40px 0; color: var(--ink-2); }
.cart-empty a { text-decoration: underline; text-underline-offset: 2px; }
.checkout-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 44px; align-items: start; }
.checkout-form { background: #fff; border: 1px solid var(--line-l); border-radius: var(--r); padding: 30px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 7px; }
.field input {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line-l); border-radius: var(--r-sm);
  font: inherit; font-size: 15px; background: var(--paper); color: var(--ink);
}
.field input:focus { outline: 2px solid var(--ox); outline-offset: 0; border-color: var(--ox); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.coupon-apply-msg { font-size: 12.5px; margin-top: 7px; color: var(--ox); min-height: 16px; }
.co-items { margin-bottom: 14px; }
.co-item { display: flex; justify-content: space-between; gap: 14px; font-size: 14px; padding: 7px 0; border-bottom: 1px solid var(--line-l); font-family: var(--f-mono); }
.steps { padding-left: 20px; color: var(--ink-2); }
.steps li { margin-bottom: 10px; }
.ship-fig { margin: 28px 0 8px; max-width: 560px; }
.ship-fig img { width: 100%; height: auto; border: 1px solid var(--line-l); border-radius: var(--r-lg); }
.ship-fig figcaption { font-family: var(--f-mono); font-size: 12px; color: var(--ink-2); padding-top: 10px; letter-spacing: .04em; }
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.contact-card { background: #fff; border: 1px solid var(--line-l); border-radius: var(--r); padding: 30px; }
.contact-card h2 { font-size: 1.35rem; margin-bottom: 12px; }
.contact-big { font-family: var(--f-mono); font-size: 16px; margin-bottom: 6px; word-break: break-word; }
.contact-hours { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ox); margin-bottom: 12px; }
.contact-small { font-size: 13.5px; }
.contact-card p:last-child { color: var(--ink-2); font-size: 14px; }
.collection-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line-l); border-radius: var(--r); overflow: hidden; }
.collection-table th, .collection-table td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line-l); font-size: 14.5px; }
.collection-table thead th { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); background: var(--paper); }
.collection-table tbody tr:last-child td { border-bottom: none; }
.collection-table td:last-child { font-family: var(--f-mono); white-space: nowrap; }
.collection-sku { font-family: var(--f-mono); font-size: 11px; color: var(--ink-2); margin-left: 8px; }
.about-collection .fine { margin-top: 16px; color: var(--ink-2); font-size: 13px; }
.about-grid { display: grid; grid-template-columns: 1.5fr .9fr; gap: 54px; align-items: start; }
.about-main h2 { font-size: 1.5rem; margin: 30px 0 14px; }
.about-main h2:first-child { margin-top: 0; }
.about-main p { color: var(--ink-2); margin-bottom: 14px; }
.about-list li { padding-left: 20px; }
.about-close { font-family: var(--f-dis); font-size: 1.15rem; color: var(--ink) !important; margin-top: 22px; }
.about-card { background: #fff; border: 1px solid var(--line-l); border-radius: var(--r); padding: 24px; margin-bottom: 22px; }
.about-card h3 { font-size: 1.1rem; margin-bottom: 14px; }
.about-card p { font-size: 14px; color: var(--ink-2); margin-bottom: 10px; }
.legal h2 { font-size: 1.35rem; margin: 30px 0 12px; }
.legal p, .legal li { color: var(--ink-2); }
.legal ul { margin: 8px 0 16px; }

/* -------------------------------------------------- coupon modal + chat */
.coupon-modal { position: fixed; inset: 0; background: rgba(7, 9, 12, .72); z-index: 120; display: flex; align-items: center; justify-content: center; padding: 20px; backdrop-filter: blur(2px); }
.coupon-modal[hidden] { display: none; }
.coupon-card {
  position: relative; width: min(430px, 100%); background: var(--night-2); color: #E9EBEE;
  border: 1px solid var(--line-d); border-top: 3px solid var(--ox); border-radius: var(--r-lg);
  padding: 36px 34px 30px; text-align: center;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
}
.coupon-x { position: absolute; top: 12px; right: 12px; background: none; border: none; color: var(--steel); cursor: pointer; padding: 6px; }
.coupon-x:hover { color: #fff; }
.coupon-eyebrow { font-family: var(--f-mono); font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--ox-2); margin-bottom: 14px; }
.coupon-title { font-family: var(--f-dis); font-size: 1.65rem; line-height: 1.2; margin-bottom: 10px; color: #F5F6F7; }
.coupon-sub { color: var(--steel); font-size: 14px; margin-bottom: 22px; }
.coupon-code-row { display: flex; gap: 10px; align-items: stretch; margin-bottom: 16px; }
.coupon-code {
  flex: 1; display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--f-mono); font-size: 19px; letter-spacing: .18em; padding: 13px 10px;
  border: 1px dashed var(--steel); border-radius: var(--r-sm); color: #fff; background: rgba(255, 255, 255, .03);
}
.coupon-fine { font-size: 12px; color: var(--steel); }
.mono-num { font-family: var(--f-mono); font-size: .84em; letter-spacing: .02em; }
.coupon-tab {
  position: fixed; left: 18px; bottom: 18px; z-index: 60; display: inline-flex; align-items: center; gap: 8px;
  background: var(--night); color: #E9EBEE; border: 1px solid var(--line-d); border-radius: 999px;
  padding: 11px 18px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .3);
}
.coupon-tab .ic { width: 14px; height: 14px; color: var(--ox-2); }
.coupon-tab[hidden] { display: none; }
.coupon-tab:hover { background: var(--night-3); }
.chat-float { position: fixed; right: 18px; bottom: 18px; z-index: 60; display: flex; flex-direction: column; gap: 10px; }
.chat-btn {
  width: 48px; height: 48px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center;
  background: var(--night); border: 1px solid var(--line-d); color: var(--steel-2);
  box-shadow: 0 10px 26px rgba(0, 0, 0, .28); transition: transform .18s ease, background .18s ease, color .18s ease;
}
.chat-btn:hover { transform: translateY(-2px); color: #fff; }
.chat-wa { background: var(--wa); border-color: var(--wa); color: #06301A; }
.chat-wa:hover { background: #2ad16b; color: #06301A; }
body.modal-open { overflow: hidden; }

/* ----------------------------------------------------------------- misc */
.section .wrap > h2 { font-size: 1.5rem; margin: 26px 0 12px; }
.section .wrap > h2:first-child { margin-top: 0; }
@media print { .site-head, .announce, .chat-float, .coupon-tab, .coupon-modal, .buybar { display: none; } }

/* ------------------------------------------------------------- responsive */
@media (max-width: 1060px) {
  .hero-grid { grid-template-columns: 1fr; gap: 38px; padding-top: 60px; padding-bottom: 64px; }
  .trust-row { grid-template-columns: 1fr 1fr; }
  .trust-item:nth-child(3) { border-left: none; }
  .hero-media { max-width: 640px; }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .craft-grid { grid-template-columns: 1fr; gap: 34px; }
  .craft-media { max-width: 560px; }
  .spot { grid-template-columns: 1fr; gap: 24px; }
  .spot:nth-of-type(even) .spot-media { order: 0; }
  .spot:nth-of-type(even) .spot-body { order: 0; }
  .pdp-grid { grid-template-columns: 1fr; gap: 34px; }
  .pdp-info { grid-template-columns: 1fr; gap: 34px; }
  .pdp-care { grid-template-columns: 1fr; gap: 26px; }
  .cart-grid, .checkout-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .cta-grid { grid-template-columns: 1fr; }
  .cta-actions { justify-content: flex-start; }
  .tiles { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .wrap { padding: 0 20px; }
  .head-row { gap: 16px; min-height: 62px; }
  .nav-toggle { display: inline-flex; order: 3; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; background: var(--night);
    border-bottom: 1px solid var(--line-d); flex-direction: column; gap: 0;
    padding: 8px 20px 16px; display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 13px 0; border-bottom: 1px solid var(--line-d); }
  .wordmark { gap: 7px; }
  .wm-big { font-size: 21px; }
  .wm-small { font-size: 9px; }
  .grid, .grid-3 { grid-template-columns: 1fr 1fr; gap: 14px; }
  .card-body { padding: 14px 14px 18px; }
  .card-name { font-size: 1rem; }
  .section { padding: 56px 0; }
  .hero-cta .btn { width: 100%; }
  .pdp-thumbs { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .pdp-qty-row { flex-wrap: wrap; }
  .trust-row { grid-template-columns: 1fr; }
  .trust-item { border-left: none; border-top: 1px solid var(--line-d); }
  .trust-item:first-child { border-top: none; }
  .field-row { grid-template-columns: 1fr; }
  .buybar-name { display: none; }
  .coupon-tab { left: 12px; bottom: 12px; padding: 10px 14px; font-size: 11px; }
  .chat-float { right: 12px; bottom: 12px; }
  .announce-row { font-size: 10.5px; gap: 8px; }
  .announce-wa { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card, .tile, .chat-btn { transition: none; }
}


/* ==========================================================================
   WooCommerce skin for Ruiyi Timepieces (appended after the base stylesheet)
   ========================================================================== */

/* nav menu (WP outputs a ul) */
.nav ul { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav ul li { margin: 0; }
.nav ul a {
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--steel-2); padding: 8px 0; border-bottom: 1px solid transparent; display: inline-block;
}
.nav ul a:hover { color: #fff; border-bottom-color: var(--ox-2); }

/* price rendering (Woo uses del/ins) */
.card-price del { color: var(--ink-2); text-decoration: line-through; }
.card-price del .woocommerce-Price-amount { color: var(--ink-2); }
.card-price ins { text-decoration: none; color: inherit; }
.card-price .woocommerce-Price-amount { font-family: var(--f-mono); font-size: 13.5px; }
.woocommerce-Price-amount { font-family: var(--f-mono); }
.woocommerce del { color: var(--ink-2); }
.woocommerce ins { text-decoration: none; }

/* buttons -> pills (site language); .alt variants are what Woo actually prints */
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
.woocommerce #respond input#submit, .woocommerce button.single_add_to_cart_button,
.woocommerce .checkout-button, .woocommerce #place_order, .woocommerce a.added_to_cart,
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt,
.woocommerce #respond input#submit.alt, .woocommerce button.single_add_to_cart_button.alt {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--f-mono); font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase;
  padding: 15px 28px; border-radius: 999px; border: none; cursor: pointer;
  background: var(--ox); color: #fff; font-weight: 400; line-height: 1;
  transition: background .18s ease, transform .18s ease;
}
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover,
.woocommerce button.single_add_to_cart_button:hover, .woocommerce #place_order:hover,
.woocommerce .checkout-button:hover, .woocommerce a.added_to_cart:hover,
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce input.button.alt:hover,
.woocommerce #place_order.alt:hover {
  background: var(--ox-2); color: #fff; transform: translateY(-1px);
}
.woocommerce a.added_to_cart { margin-top: 10px; background: transparent; color: var(--ox); border: 1px solid var(--ox); padding: 11px 20px; }

/* shop loop */
.woocommerce ul.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin: 0; padding: 0; list-style: none; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product {
  width: 100% !important; margin: 0 !important; float: none !important; clear: none !important;
  padding: 0; background: transparent; text-align: left; position: static;
}
.woocommerce ul.products li.product .card { height: 100%; }
.woocommerce .woocommerce-result-count, .woocommerce .woocommerce-ordering { font-family: var(--f-mono); font-size: 12px; letter-spacing: .06em; }
.woocommerce .woocommerce-ordering select { padding: 8px 10px; border-radius: var(--r-sm); border: 1px solid var(--line-l); font: inherit; font-size: 13px; }
.woocommerce-products-header { padding-top: 26px; }

/* single product */
.single-product div.product { padding: 34px 0 84px; }
.single-product div.product::after { content: ""; display: table; clear: both; }
.single-product div.product > .pdp-gallery { width: 48%; float: left; margin-bottom: 2em; }
.single-product div.product > .summary { width: 48%; float: right; }
.single-product div.product .product_title { font-family: var(--f-dis); font-weight: 400; font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: 1.1; margin-bottom: 10px; }
.single-product div.product p.price { font-size: 21px; }
.single-product div.product p.price ins { color: var(--ink); }
.single-product div.product .woocommerce-product-details__short-description { color: var(--ink-2); }
.single-product div.product .summary .price { display: flex; gap: 14px; align-items: baseline; margin-bottom: 18px; }
.single-product div.product form.cart { display: flex; gap: 14px; align-items: stretch; margin: 18px 0 22px; flex-wrap: wrap; }
.woocommerce .quantity { display: inline-flex; border: 1px solid var(--line-l); border-radius: 999px; background: #fff; overflow: hidden; }
.woocommerce .quantity input.qty { width: 64px; text-align: center; border: none; font-family: var(--f-mono); font-size: 15px; background: transparent; padding: 12px 4px; -moz-appearance: textfield; }
.woocommerce .quantity input.qty::-webkit-outer-spin-button, .woocommerce .quantity input.qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.woocommerce div.product .woocommerce-product-gallery { width: 48%; }
.woocommerce div.product div.images img { border-radius: var(--r-lg); border: 1px solid var(--line-l); }
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper { border-radius: var(--r-lg); }
.woocommerce div.product div.images .flex-control-thumbs {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin: 10px 0 0; padding: 0; list-style: none;
}
.woocommerce div.product div.images .flex-control-thumbs li {
  width: 100% !important; margin: 0 !important; float: none !important;
}
.woocommerce div.product div.images .flex-control-thumbs img {
  width: 100% !important; height: auto; border-radius: var(--r-sm); border: 1px solid var(--line-l); opacity: .85;
}
.woocommerce div.product div.images .flex-control-thumbs img.flex-active { border-color: var(--ox); opacity: 1; }
.woocommerce div.product .product_meta { font-family: var(--f-mono); font-size: 12px; letter-spacing: .06em; color: var(--ink-2); border-top: 1px solid var(--line-l); padding-top: 14px; }
.woocommerce div.product .product_meta a { text-decoration: underline; text-underline-offset: 2px; }

/* summary extras (right column filler) */
.pdp-points-sum { margin-top: 22px; }
.sum-essentials { margin-top: 22px; }
.sum-h { font-family: var(--f-dis); font-size: 1.2rem; margin: 0 0 8px; }
.sum-spec th { width: 38%; }
.sum-spec th, .sum-spec td { padding: 9px 0; font-size: 13.5px; }
.sum-coupon { margin-top: 16px; font-size: 14px; color: var(--ink-2); }
.sum-coupon code { font-family: var(--f-mono); border: 1px dashed var(--ox); color: var(--ox); padding: 1px 7px; border-radius: 6px; }
.sum-help { margin-top: 10px; font-size: 13.5px; color: var(--ink-2); }
.sum-help a { text-decoration: underline; text-underline-offset: 2px; }

/* tabs */
.woocommerce div.product .woocommerce-tabs { margin-top: 56px; border-top: 1px solid var(--line-l); padding-top: 34px; }
.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0; margin: 0 0 22px; border: none; display: flex; gap: 26px; }
.woocommerce div.product .woocommerce-tabs ul.tabs::before { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { background: none; border: none; margin: 0; padding: 0; border-radius: 0; box-shadow: none; }
.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 { font-family: var(--f-mono); font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); padding: 0 0 10px; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--ink); border-bottom: 2px solid var(--ox); }
.woocommerce div.product .woocommerce-tabs .panel h2 { font-family: var(--f-dis); font-size: 1.4rem; margin-bottom: 14px; }
.woocommerce div.product .woocommerce-tabs .panel h3 { font-family: var(--f-dis); font-size: 1.15rem; margin: 26px 0 10px; }
.woocommerce div.product .woocommerce-tabs .panel > p:first-child { margin-top: 0; }
.woocommerce div.product .woocommerce-tabs .panel .pdp-bullets { margin: 8px 0 16px; }
.woocommerce div.product .woocommerce-tabs .panel .spec-table { margin: 6px 0 18px; }
.woocommerce div.product .woocommerce-tabs .panel p, .woocommerce div.product .woocommerce-tabs .panel li { color: var(--ink-2); }

/* reviews */
.woocommerce #reviews #comments ol.commentlist li .comment-text { border: 1px solid var(--line-l); border-radius: var(--r); padding: 18px 20px; }
.woocommerce #reviews #comments ol.commentlist li img.avatar { border-radius: 999px; padding: 0; border: none; width: 44px; }
.woocommerce .star-rating span::before, .woocommerce p.stars a::before, .woocommerce p.stars a:hover ~ a::before { color: var(--ox); }
.woocommerce #review_form #respond textarea, .woocommerce #review_form #respond input { border: 1px solid var(--line-l); border-radius: var(--r-sm); padding: 12px 14px; font: inherit; }

/* notices */
.woocommerce-message, .woocommerce-info, .woocommerce-error {
  border-top: none; border-left: 3px solid var(--ox); background: #fff; border-radius: var(--r-sm);
  font-family: var(--f-body); font-size: 14.5px; padding: 16px 20px; margin: 0 0 24px; color: var(--ink);
}
.woocommerce-message::before, .woocommerce-info::before, .woocommerce-error::before { color: var(--ox); }
.woocommerce-message .button, .woocommerce-info .button { padding: 10px 18px !important; }

/* cart + checkout tables */
.woocommerce table.shop_table { border: 1px solid var(--line-l); border-radius: var(--r); border-collapse: separate; border-spacing: 0; overflow: hidden; background: #fff; }
.woocommerce table.shop_table th { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); background: var(--paper); padding: 14px 16px; }
.woocommerce table.shop_table td { padding: 14px 16px; border-top: 1px solid var(--line-l); font-size: 14.5px; }
.woocommerce table.shop_table td.product-name a { font-weight: 600; }
.woocommerce table.shop_table img { border-radius: var(--r-sm); width: 64px; }
.woocommerce .cart-collaterals .cart_totals { width: 100%; max-width: 420px; margin-left: auto; }
.woocommerce .cart-collaterals .cart_totals > h2 { font-family: var(--f-dis); font-size: 1.3rem; margin-bottom: 14px; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea,
.woocommerce form .form-row select, .woocommerce .coupon .input-text,
.woocommerce-page form .form-row input.input-text, .woocommerce-page form .form-row textarea {
  padding: 13px 15px; border: 1px solid var(--line-l); border-radius: var(--r-sm); font: inherit; font-size: 15px; background: var(--paper); color: var(--ink); width: 100%;
}
.woocommerce form .form-row label { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.woocommerce-checkout #payment { background: #fff; border: 1px solid var(--line-l); border-radius: var(--r); }
.woocommerce-checkout #payment ul.payment_methods { border-bottom-color: var(--line-l); }
.woocommerce-checkout #payment div.payment_box { background: var(--paper); border-radius: var(--r-sm); font-size: 14px; color: var(--ink-2); }
.woocommerce-checkout #payment div.payment_box::before { display: none; }
.woocommerce-cart .wc-proceed-to-checkout { padding-bottom: 0; }
.woocommerce .coupon .button { padding: 12px 20px !important; }

/* breadcrumbs + misc */
.woocommerce .woocommerce-breadcrumb { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 26px; }
.woocommerce .woocommerce-breadcrumb a { color: var(--ink-2); }
.woocommerce .woocommerce-breadcrumb a:hover { color: var(--ox); }
.woocommerce span.onsale { display: none; }
.woocommerce div.product .related, .woocommerce div.product .upsells { margin-top: 64px; border-top: 1px solid var(--line-l); padding-top: 40px; }
.woocommerce div.product .related > h2, .woocommerce div.product .upsells > h2 { font-family: var(--f-dis); font-size: 1.5rem; font-weight: 400; margin-bottom: 24px; }

/* my account / order received fallbacks */
.woocommerce-account .woocommerce { max-width: 820px; }

@media (max-width: 1060px) {
  .woocommerce ul.products { grid-template-columns: repeat(3, 1fr); }
  .single-product div.product > .pdp-gallery,
  .single-product div.product > .summary { width: 100%; float: none; }
}
@media (max-width: 700px) {
  .woocommerce ul.products { grid-template-columns: 1fr 1fr; gap: 14px; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a { padding: 13px 0; border-bottom: 1px solid var(--line-d); display: block; }
}
