/*
Theme Name: RefrigiMart
Theme URI: https://refrigimart.com
Author: RefrigiMart
Description: Storefront theme for RefrigiMart — refrigerant supply for EPA-certified HVAC professionals. Dark ink, one cold accent, and a WooCommerce product page built around specifications and compliance.
Version: 1.0.5
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: refrigimart
Tags: e-commerce, custom-colors, custom-menu, responsive-layout, accessibility-ready
WC requires at least: 8.0
WC tested up to: 11.0
*/

/* ==========================================================================
   RefrigiMart — design system
   Dark ink + one cold accent. Type: Inter Tight (display) / Inter (text).
   ========================================================================== */

:root {
  --ink: #06090d;
  --ink-2: #0d1319;
  --ink-3: #18212a;
  --paper: #ffffff;
  --mist: #f4f7f9;
  --mist-2: #eaf0f4;
  --line: #e2e9ee;
  --line-dark: #24303b;
  --text: #0c1116;
  --muted: #5c6773;
  --muted-dark: #93a3b1;

  --accent: #22d3ee;
  --accent-deep: #0b7f96;
  --accent-ink: #04262e;
  --warn: #c22b2e;
  --amber: #e08a1e;
  --good: #17936b;

  --r-sm: 8px;
  --r: 14px;
  --r-lg: 22px;
  --shadow: 0 1px 2px rgba(12, 17, 22, .04), 0 12px 32px -12px rgba(12, 17, 22, .18);
  --shadow-lg: 0 2px 4px rgba(12, 17, 22, .05), 0 32px 64px -24px rgba(12, 17, 22, .28);

  --pad: clamp(20px, 5vw, 64px);
  --maxw: 1280px;
  --nav-h: 68px;

  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --display: 'Inter Tight', 'Inter', -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4 { font-family: var(--display); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; margin: 0; }
p { margin: 0; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); }
.section { padding-block: clamp(56px, 8vw, 112px); }
.section--tight { padding-block: clamp(40px, 5vw, 72px); }
.section--mist { background: var(--mist); }
.section--ink { background: var(--ink); color: #fff; }

.eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--accent-deep); margin-bottom: 14px; display: block;
}
.section--ink .eyebrow { color: var(--accent); }
.h1 { font-size: clamp(38px, 7vw, 76px); }
.h2 { font-size: clamp(30px, 4.4vw, 50px); }
.h3 { font-size: clamp(21px, 2.2vw, 27px); letter-spacing: -.02em; }
.lede { font-size: clamp(16px, 1.5vw, 19px); color: var(--muted); max-width: 62ch; line-height: 1.65; }
.section--ink .lede { color: var(--muted-dark); }
.dim { color: var(--muted); }
.sec-head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 52px); }
.sec-head p { margin-top: 16px; }

/* ------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px; font-weight: 700; font-size: 15px;
  letter-spacing: -.01em; transition: transform .18s ease, background .18s ease, box-shadow .18s ease, color .18s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--ink); color: #fff; box-shadow: 0 8px 24px -10px rgba(6, 9, 13, .6); }
.btn--primary:hover { background: var(--ink-3); }
.btn--accent { background: var(--accent); color: var(--accent-ink); box-shadow: 0 10px 30px -12px rgba(34, 211, 238, .8); }
.btn--accent:hover { background: #5ee2f5; }
.btn--ghost { border: 1.5px solid var(--line); color: var(--text); background: #fff; }
.btn--ghost:hover { border-color: var(--text); }
.section--ink .btn--ghost { border-color: rgba(255, 255, 255, .28); color: #fff; background: transparent; }
.section--ink .btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }
.btn--block { width: 100%; }
.btn--lg { padding: 18px 34px; font-size: 16px; }
.btn--sm { padding: 11px 18px; font-size: 14px; }
.btn .ar { transition: transform .2s ease; }
.btn:hover .ar { transform: translateX(4px); }

/* ------------------------------------------------------------ ticker */
.ticker {
  background: var(--ink); color: #fff; font-size: 12px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; overflow: hidden; padding: 9px 0;
  border-bottom: 1px solid var(--line-dark);
}
.ticker__track { display: flex; gap: 0; width: max-content; animation: slide 42s linear infinite; }
.ticker__group { display: flex; gap: 0; }
.ticker__item { padding-inline: 26px; display: inline-flex; align-items: center; gap: 26px; white-space: nowrap; }
.ticker__item::after { content: ''; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); }
@keyframes slide { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker__track { animation: none; } }

/* ------------------------------------------------------------ header */
.hdr {
  position: sticky; top: 0; z-index: 60; background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(180%) blur(16px); border-bottom: 1px solid var(--line);
}
.hdr__in { display: flex; align-items: center; gap: 22px; height: var(--nav-h); }
.logo { display: flex; align-items: center; gap: 11px; font-family: var(--display); font-weight: 800; font-size: 21px; letter-spacing: -.035em; color: var(--text); }
.logo .mark { width: 32px; height: 32px; color: var(--accent); flex: none; }
.logo span i { font-style: normal; color: var(--accent-deep); }
.nav { display: flex; gap: 4px; margin-left: 14px; }
.nav a {
  padding: 9px 13px; border-radius: 8px; font-size: 14.5px; font-weight: 550; color: #3a4652;
  transition: background .15s, color .15s;
}
.nav a:hover { background: var(--mist); color: var(--text); }
.nav a[aria-current] { color: var(--text); font-weight: 700; }
.hdr__act { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.iconbtn {
  width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; color: #3a4652;
  transition: background .15s;
}
.iconbtn:hover { background: var(--mist); }
.cartbtn { position: relative; }
.cartbtn__n {
  position: absolute; top: 3px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 9px; background: var(--accent); color: var(--accent-ink);
  font-size: 11px; font-weight: 800; display: grid; place-items: center; line-height: 1;
}
.cartbtn__n[data-empty] { display: none; }
.burger { display: none; }
.hdr__phone { font-size: 14px; font-weight: 700; color: var(--text); padding-inline: 10px; }

@media (max-width: 1020px) {
  .nav, .hdr__phone { display: none; }
  .burger { display: grid; }
}

/* mobile drawer */
.mnav {
  position: fixed; inset: 0; z-index: 90; background: var(--ink); color: #fff; padding: 24px var(--pad);
  transform: translateY(-100%); transition: transform .35s cubic-bezier(.4, 0, .2, 1); overflow-y: auto;
}
.mnav[data-open] { transform: none; }
.mnav__top { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); }
.mnav .logo { color: #fff; }
.mnav__links { display: grid; gap: 2px; margin-top: 26px; }
.mnav__links a {
  font-family: var(--display); font-size: 30px; font-weight: 800; letter-spacing: -.03em;
  padding: 12px 0; border-bottom: 1px solid var(--line-dark);
}
.mnav__foot { margin-top: 34px; display: grid; gap: 10px; color: var(--muted-dark); font-size: 15px; }

/* ------------------------------------------------------------ hero */
.hero { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: -40% -10% auto -10%; height: 120%;
  background: radial-gradient(60% 55% at 74% 32%, rgba(34, 211, 238, .22), transparent 68%),
              radial-gradient(50% 45% at 12% 82%, rgba(34, 211, 238, .10), transparent 70%);
  pointer-events: none;
}
.hero__grid {
  position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(70% 60% at 50% 40%, #000, transparent);
}
.hero__in {
  position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 4vw, 64px);
  align-items: center; padding-block: clamp(56px, 8vw, 104px);
}
.hero h1 { font-size: clamp(42px, 6.4vw, 82px); }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p { margin-top: 22px; color: #b8c6d2; font-size: clamp(16px, 1.5vw, 19px); max-width: 52ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line-dark); }
.hero__meta div strong { display: block; font-family: var(--display); font-size: 26px; font-weight: 800; }
.hero__meta div span { font-size: 12.5px; color: var(--muted-dark); letter-spacing: .06em; text-transform: uppercase; font-weight: 600; }
.hero__art { position: relative; }
.hero__art .stack { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; align-items: end; }
.hero__art .stack figure {
  margin: 0; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--r); overflow: hidden; backdrop-filter: blur(6px);
}
.hero__art .stack figure:nth-child(2) { transform: translateY(-26px); }
.hero__art .stack img { aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 42%; width: 100%; height: auto; }
.hero__art figcaption {
  font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: #cfe9f0; padding: 10px 12px; border-top: 1px solid rgba(255, 255, 255, .1);
}
.hero__pill {
  display: inline-flex; align-items: center; gap: 9px; padding: 7px 15px 7px 9px; border-radius: 999px;
  background: rgba(34, 211, 238, .12); border: 1px solid rgba(34, 211, 238, .3);
  font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #a5eef9;
}
.hero__pill b { background: var(--accent); color: var(--accent-ink); border-radius: 999px; padding: 3px 9px; font-size: 11px; }

@media (max-width: 900px) {
  .hero__in { grid-template-columns: 1fr; }
  /* headline leads on mobile; the cylinders follow as supporting evidence */
  .hero__art { margin-top: 8px; }
  .hero__art .stack { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .hero__art .stack figure:nth-child(2) { transform: none; }
  .hero__art figcaption { font-size: 10px; letter-spacing: .08em; padding: 8px 9px; }
  .hero__meta { gap: 20px 26px; }
}

/* ------------------------------------------------------------ trust bar */
.trust { border-bottom: 1px solid var(--line); background: #fff; }
.trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust__i { padding: 30px 28px 30px 0; display: flex; gap: 15px; align-items: flex-start; }
.trust__grid > * + * { border-left: 1px solid var(--line); padding-left: 28px; }
.trust__i svg { width: 24px; height: 24px; flex: none; color: var(--accent-deep); margin-top: 2px; }
.trust__i h4 { font-size: 15.5px; letter-spacing: -.01em; }
.trust__i p { font-size: 13.5px; color: var(--muted); margin-top: 5px; line-height: 1.5; }
@media (max-width: 860px) {
  .trust__grid { grid-template-columns: repeat(2, 1fr); }
  .trust__grid > *:nth-child(odd) { border-left: 0; padding-left: 0; }
  .trust__grid > *:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .trust__i { padding: 22px 18px 22px 0; }
}
@media (max-width: 520px) { .trust__grid { grid-template-columns: 1fr; } .trust__grid > * { border-left: 0 !important; padding-left: 0 !important; } .trust__grid > *:not(:last-child) { border-bottom: 1px solid var(--line); } }

/* ------------------------------------------------------------ collections */
.cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.col-card {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  padding: 26px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line);
  min-height: 230px; transition: border-color .2s, transform .2s, box-shadow .2s;
}
.col-card:hover { transform: translateY(-4px); border-color: #c7d4dd; box-shadow: var(--shadow); }
.col-card h3 { font-size: 22px; }
.col-card p { font-size: 14px; color: var(--muted); margin-top: 10px; }
.col-card__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  font-size: 11.5px; font-weight: 700; letter-spacing: .04em; padding: 5px 10px; border-radius: 6px;
  background: var(--mist); color: #46525e;
}
.col-card__go { position: absolute; top: 24px; right: 24px; color: var(--muted); transition: transform .2s, color .2s; }
.col-card:hover .col-card__go { transform: translate(3px, -3px); color: var(--accent-deep); }
@media (max-width: 1000px) { .cols { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cols { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ product grid */
.pgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 1080px) { .pgrid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 820px) { .pgrid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }

.pcard {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-top: 4px solid var(--acc, var(--ink));
  border-radius: var(--r-lg); overflow: hidden; transition: transform .22s ease, box-shadow .22s ease, border-color .22s;
}
.pcard:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: #cfdae2; border-top-color: var(--acc, var(--ink)); }
.pcard__media {
  position: relative; aspect-ratio: 1; overflow: hidden;
  background: color-mix(in srgb, var(--acc-soft, #fff) 14%, #fff);
}
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2, .8, .2, 1), opacity .3s; }
.pcard__media img + img { position: absolute; inset: 0; opacity: 0; }
.pcard:hover .pcard__media img + img { opacity: 1; }
.pcard:hover .pcard__media img { transform: scale(1.04); }
.pcard__badge {
  /* bottom-left: the artwork carries its own header band along the top edge */
  position: absolute; bottom: 12px; left: 12px; z-index: 2; font-size: 11px; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase; padding: 6px 11px; border-radius: 6px;
  background: var(--ink); color: #fff;
}
.pcard__badge--a2l { background: var(--warn); }
.pcard__body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; gap: 10px; }
.pcard__cat { font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.pcard h3 { font-size: 19px; letter-spacing: -.025em; }
.pcard__desc { font-size: 13.5px; color: var(--muted); line-height: 1.5; flex: 1; }
.pcard__specs { display: flex; flex-wrap: wrap; gap: 6px; }
.spec-chip {
  font-size: 11.5px; font-weight: 700; padding: 5px 9px; border-radius: 6px;
  background: var(--mist); color: #46525e; border: 1px solid var(--line);
}
.spec-chip--warn { background: #fdeeee; color: var(--warn); border-color: #f6d5d5; }
.pcard__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 4px; padding-top: 14px; border-top: 1px solid var(--line); }
.pcard__cta {
  display: flex; align-items: center; justify-content: center; gap: 9px; margin-top: 12px;
  background: var(--acc, var(--ink)); color: #fff; border-radius: 999px; padding: 13px 18px;
  font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  transition: filter .18s ease;
}
.pcard__cta i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .85); flex: none; }
.pcard:hover .pcard__cta { filter: brightness(1.12); }
.pcard__specs .spec-chip {
  background: color-mix(in srgb, var(--acc, #000) 9%, #fff);
  border-color: color-mix(in srgb, var(--acc, #000) 20%, #fff);
  color: color-mix(in srgb, var(--acc, #000) 78%, #0c1116);
}
.price { font-family: var(--display); font-size: 22px; font-weight: 800; letter-spacing: -.03em; }
.price s { font-family: var(--sans); font-size: 14px; font-weight: 500; color: var(--muted); margin-left: 7px; letter-spacing: 0; }

/* ------------------------------------------------------------ split feature */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.checklist { display: grid; gap: 14px; margin-top: 28px; }
.checklist li { list-style: none; display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.checklist svg { width: 20px; height: 20px; flex: none; color: var(--accent-deep); margin-top: 2px; }
.section--ink .checklist svg { color: var(--accent); }
.checklist strong { display: block; }
.checklist span { color: var(--muted); font-size: 14px; }
.section--ink .checklist span { color: var(--muted-dark); }
ul.plain { margin: 0; padding: 0; }

/* ------------------------------------------------------------ stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.stats div { background: #fff; padding: 26px 22px; }
.section--ink .stats { background: var(--line-dark); border-color: var(--line-dark); }
.section--ink .stats div { background: var(--ink-2); }
.stats strong { display: block; font-family: var(--display); font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; letter-spacing: -.04em; }
.stats span { font-size: 13px; color: var(--muted); }
.section--ink .stats span { color: var(--muted-dark); }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ------------------------------------------------------------ reviews */
.rev-head { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-end; justify-content: space-between; margin-bottom: 38px; }
.rev-score { display: flex; align-items: center; gap: 16px; padding: 16px 22px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.rev-score b { font-family: var(--display); font-size: 38px; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.stars { color: #f0a92b; letter-spacing: 2px; font-size: 15px; }
.revs { columns: 3; column-gap: 18px; }
@media (max-width: 980px) { .revs { columns: 2; } }
@media (max-width: 640px) { .revs { columns: 1; } }
.rev {
  break-inside: avoid; background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 22px; margin-bottom: 18px;
}
.rev__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.rev h4 { font-size: 16.5px; margin-bottom: 8px; }
.rev p { font-size: 14.5px; color: #3f4b57; line-height: 1.6; }
.rev__by { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 11px; }
.avatar {
  width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: var(--accent);
  display: grid; place-items: center; font-size: 13px; font-weight: 800; flex: none;
}
.rev__by b { font-size: 14px; display: block; }
.rev__by span { font-size: 12.5px; color: var(--muted); }
.verified { margin-left: auto; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--good); display: flex; align-items: center; gap: 5px; }

/* ------------------------------------------------------------ accordion */
.acc { border-top: 1px solid var(--line); }
.acc__i { border-bottom: 1px solid var(--line); }
.acc__q {
  display: flex; align-items: flex-start; gap: 16px; width: 100%; text-align: left;
  padding: 22px 0; font-family: var(--display); font-size: clamp(16px, 1.8vw, 19px); font-weight: 700;
  letter-spacing: -.02em;
}
.acc__q .n { font-size: 12px; font-weight: 700; color: var(--muted); letter-spacing: .1em; padding-top: 4px; min-width: 24px; font-family: var(--sans); }
.acc__q .pm { margin-left: auto; width: 26px; height: 26px; flex: none; border-radius: 50%; background: var(--mist); display: grid; place-items: center; font-size: 17px; font-weight: 600; color: var(--text); transition: transform .25s, background .2s; }
.acc__i[data-open] .acc__q .pm { transform: rotate(45deg); background: var(--ink); color: #fff; }
.acc__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.acc__i[data-open] .acc__a { grid-template-rows: 1fr; }
.acc__a > div { overflow: hidden; }
.acc__a p { padding-left: 40px; padding-right: 40px; color: var(--muted); font-size: 15px; max-width: 78ch; }
.acc__a p:last-child { padding-bottom: 24px; }
.acc__a p + p { margin-top: 12px; }
@media (max-width: 620px) { .acc__a p { padding-inline: 0; } .acc__q .n { display: none; } }

/* ------------------------------------------------------------ PDP */
.pdp { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(28px, 4vw, 64px); align-items: start; padding-block: 40px 20px; }
@media (max-width: 940px) { .pdp { grid-template-columns: 1fr; } }
.crumbs { font-size: 13px; color: var(--muted); padding-top: 20px; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--text); text-decoration: underline; }

.gal { position: sticky; top: calc(var(--nav-h) + 16px); display: grid; grid-template-columns: 84px 1fr; gap: 14px; }
@media (max-width: 940px) { .gal { position: static; grid-template-columns: 1fr; } }
.gal__thumbs { display: grid; gap: 10px; align-content: start; }
@media (max-width: 940px) { .gal__thumbs { grid-auto-flow: column; grid-auto-columns: 72px; overflow-x: auto; order: 2; } }
.gal__thumbs button {
  border: 1.5px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--mist);
  aspect-ratio: 1; padding: 0; transition: border-color .18s;
}
.gal__thumbs button[aria-selected="true"] { border-color: var(--ink); }
.gal__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.gal__main { position: relative; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--mist); aspect-ratio: 1; }
.gal__main img { width: 100%; height: 100%; object-fit: cover; }
.gal__count {
  position: absolute; bottom: 14px; right: 14px; background: rgba(6, 9, 13, .78); color: #fff;
  font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 999px; backdrop-filter: blur(6px);
}

.buy h1 { font-size: clamp(30px, 3.6vw, 42px); margin-top: 10px; }
.buy__rate { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--muted); margin-top: 14px; }
.buy__sub { margin-top: 16px; font-size: 16px; color: var(--muted); line-height: 1.6; }
.buy__price { display: flex; align-items: baseline; gap: 12px; margin-top: 24px; }
.buy__price .price { font-size: 38px; }
.save { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; background: #e7f9ef; color: var(--good); padding: 5px 10px; border-radius: 6px; }
.buy__stock { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--good); margin-top: 10px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--good); box-shadow: 0 0 0 4px rgba(23, 147, 107, .14); }

.qtyrow { display: flex; gap: 10px; margin-top: 24px; }
.qty { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; }
.qty button { width: 44px; height: 52px; font-size: 19px; color: var(--muted); }
.qty button:hover { color: var(--text); background: var(--mist); }
.qty input { width: 42px; height: 52px; border: 0; text-align: center; font-weight: 700; font-size: 16px; background: transparent; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.certbox {
  margin-top: 18px; border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px;
  background: var(--mist); display: flex; gap: 12px; align-items: flex-start;
}
.certbox input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--accent-deep); flex: none; }
.certbox label { font-size: 13.5px; color: #3f4b57; line-height: 1.55; }
.certbox a { text-decoration: underline; text-underline-offset: 2px; }

.warnbox {
  margin-top: 18px; border-left: 3px solid var(--warn); background: #fdf3f3; padding: 14px 18px;
  border-radius: 0 var(--r-sm) var(--r-sm) 0; font-size: 13.5px; color: #7d2426; display: flex; gap: 10px;
}
.warnbox svg { width: 18px; height: 18px; flex: none; margin-top: 2px; }

.paybar { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px; align-items: center; }
.paybar span { font-size: 12px; color: var(--muted); margin-right: 6px; }
.pay {
  height: 26px; min-width: 40px; padding: 0 7px; border: 1px solid var(--line); border-radius: 5px;
  display: grid; place-items: center; font-size: 9.5px; font-weight: 800; letter-spacing: .04em;
  color: #46525e; background: #fff;
}

.assure { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--line); }
.assure div { display: flex; gap: 11px; align-items: flex-start; font-size: 13.5px; }
.assure svg { width: 19px; height: 19px; flex: none; color: var(--accent-deep); margin-top: 1px; }
.assure b { display: block; font-size: 13.5px; }
.assure span { color: var(--muted); font-size: 12.5px; }
@media (max-width: 480px) { .assure { grid-template-columns: 1fr; } }

/* spec table */
.spectable { width: 100%; border-collapse: collapse; }
.spectable tr { border-bottom: 1px solid var(--line); }
.spectable tr:first-child { border-top: 1px solid var(--line); }
.spectable th { text-align: left; font-weight: 600; color: var(--muted); font-size: 13.5px; padding: 14px 0; width: 46%; letter-spacing: .01em; }
.spectable td { text-align: right; font-weight: 700; font-size: 14.5px; padding: 14px 0; }

.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 700px) { .kpis { grid-template-columns: repeat(2, 1fr); } }
.kpi { border: 1px solid var(--line); border-radius: var(--r); padding: 22px; background: #fff; }
.kpi b { display: block; font-family: var(--display); font-size: 32px; font-weight: 800; letter-spacing: -.04em; line-height: 1.1; }
.kpi span { font-size: 12.5px; color: var(--muted); display: block; margin-top: 6px; line-height: 1.4; }

.usecards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 800px) { .usecards { grid-template-columns: 1fr; } }
.usecard { border: 1px solid var(--line); border-radius: var(--r); padding: 24px; background: #fff; }
.usecard .n { font-family: var(--display); font-size: 13px; font-weight: 800; color: var(--accent-deep); letter-spacing: .1em; }
.usecard h4 { font-size: 18px; margin-top: 12px; }
.usecard p { font-size: 14px; color: var(--muted); margin-top: 8px; }

/* sticky mobile buy bar */
.stickybuy {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(14px); border-top: 1px solid var(--line); padding: 12px var(--pad);
  display: none; align-items: center; gap: 14px; transform: translateY(110%); transition: transform .3s;
}
.stickybuy[data-show] { transform: none; }
@media (max-width: 940px) { .stickybuy { display: flex; } body { padding-bottom: 0; } }
.stickybuy .price { font-size: 19px; }
.stickybuy .btn { margin-left: auto; }

/* ------------------------------------------------------------ tables/prose */
.prose { max-width: 76ch; }
.prose h2 { font-size: clamp(22px, 2.6vw, 30px); margin-top: 46px; }
.prose h3 { font-size: 19px; margin-top: 30px; }
.prose p, .prose li { color: #384451; font-size: 15.5px; line-height: 1.72; }
.prose p, .prose ul, .prose ol { margin-top: 14px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li + li { margin-top: 7px; }
.prose a { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--text); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 40px 0; }
.prose__meta { font-size: 13px; color: var(--muted); padding: 12px 16px; background: var(--mist); border-radius: var(--r-sm); display: inline-block; }
.toc { border: 1px solid var(--line); border-radius: var(--r); padding: 22px 24px; background: var(--mist); margin-top: 30px; }
.toc h4 { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-family: var(--sans); font-weight: 700; }
.toc ol { margin-top: 12px; padding-left: 20px; }
.toc a { color: var(--text); text-decoration: none; }
.toc a:hover { color: var(--accent-deep); text-decoration: underline; }

.datatable { width: 100%; border-collapse: collapse; font-size: 14px; }
.datatable th, .datatable td { padding: 13px 14px; text-align: left; border-bottom: 1px solid var(--line); }
.datatable thead th { background: var(--ink); color: #fff; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; }
.datatable thead th:first-child { border-radius: var(--r-sm) 0 0 0; }
.datatable thead th:last-child { border-radius: 0 var(--r-sm) 0 0; }
.datatable tbody tr:hover { background: var(--mist); }
.datatable td b { font-weight: 700; }
.tablewrap { overflow-x: auto; border-radius: var(--r-sm); }

/* ------------------------------------------------------------ forms */
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 7px; }
.field label { font-size: 13px; font-weight: 700; letter-spacing: .02em; }
.field .hint { font-size: 12.5px; color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  border: 1.5px solid var(--line); border-radius: 10px; padding: 13px 15px; font-size: 15px;
  background: #fff; transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0; border-color: var(--accent-deep); box-shadow: 0 0 0 3px rgba(34, 211, 238, .18);
}
.field textarea { min-height: 140px; resize: vertical; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 620px) { .row2 { grid-template-columns: 1fr; } }
.formcard { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 36px); }
.note { font-size: 13px; color: var(--muted); }

/* ------------------------------------------------------------ cart drawer */
.scrim { position: fixed; inset: 0; background: rgba(6, 9, 13, .5); z-index: 95; opacity: 0; pointer-events: none; transition: opacity .3s; backdrop-filter: blur(2px); }
.scrim[data-open] { opacity: 1; pointer-events: auto; }
.rm-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(430px, 100%); background: #fff; z-index: 96;
  transform: translateX(100%); transition: transform .34s cubic-bezier(.4, 0, .2, 1); display: flex; flex-direction: column;
}
.rm-drawer[data-open] { transform: none; }
.cart__top { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.cart__top h3 { font-size: 19px; }
.cart__body { flex: 1; overflow-y: auto; padding: 18px 22px; }
.cart__empty { text-align: center; padding: 60px 20px; color: var(--muted); font-size: 14.5px; }
.citem { display: grid; grid-template-columns: 68px 1fr auto; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.citem img { width: 68px; height: 68px; border-radius: 10px; object-fit: cover; background: var(--mist); }
.citem h4 { font-size: 14.5px; letter-spacing: -.015em; }
.citem .sm { font-size: 12.5px; color: var(--muted); margin-top: 3px; }
.citem .rm { font-size: 12.5px; color: var(--muted); text-decoration: underline; margin-top: 6px; }
.citem .rm:hover { color: var(--warn); }
.cart__foot { border-top: 1px solid var(--line); padding: 20px 22px; display: grid; gap: 14px; }
.cart__line { display: flex; justify-content: space-between; font-size: 14px; color: var(--muted); }
.cart__total { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--display); font-weight: 800; font-size: 20px; letter-spacing: -.03em; }

/* ------------------------------------------------------------ footer */
.ftr { background: var(--ink); color: #fff; padding-top: clamp(48px, 6vw, 80px); overflow: hidden; }
.ftr__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 940px) { .ftr__grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 560px) { .ftr__grid { grid-template-columns: 1fr; } }
.ftr .logo { color: #fff; font-size: 23px; }
.ftr h4 { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted-dark); font-family: var(--sans); font-weight: 700; margin-bottom: 16px; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ftr ul a { font-size: 14.5px; color: #cbd6e0; transition: color .15s; }
.ftr ul a:hover { color: var(--accent); }
.ftr__blurb { color: #94a5b3; font-size: 14.5px; margin-top: 18px; max-width: 38ch; line-height: 1.65; }
.ftr__contact { margin-top: 22px; display: grid; gap: 8px; font-size: 14.5px; }
.ftr__contact a { color: #fff; font-weight: 600; }
.sub { display: flex; gap: 8px; margin-top: 14px; max-width: 380px; }
.sub input { flex: 1; background: rgba(255, 255, 255, .06); border: 1px solid var(--line-dark); border-radius: 999px; padding: 13px 18px; color: #fff; font-size: 14px; }
.sub input::placeholder { color: #7d8c99; }
.sub input:focus { outline: 0; border-color: var(--accent); }
.ftr__legal { margin-top: 52px; padding-top: 24px; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; font-size: 13px; color: #7d8c99; }
.ftr__legal a:hover { color: #fff; }
.ftr__pol { display: flex; flex-wrap: wrap; gap: 18px; }
.wordmark {
  font-family: var(--display); font-weight: 800; letter-spacing: -.05em; line-height: .8;
  font-size: clamp(58px, 15.5vw, 250px); color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, .1); margin-top: 40px; margin-bottom: -.12em; text-align: center;
  user-select: none;
}
.disclaimer { background: var(--ink-2); border-top: 1px solid var(--line-dark); padding: 18px 0; font-size: 12.5px; color: #7d8c99; line-height: 1.6; }

/* ------------------------------------------------------------ misc */
.pagehead { background: var(--ink); color: #fff; padding-block: clamp(48px, 6vw, 84px); position: relative; overflow: hidden; }
.pagehead::after { content: ''; position: absolute; inset: auto -10% -60% 40%; height: 140%; background: radial-gradient(closest-side, rgba(34, 211, 238, .16), transparent); }
.pagehead h1 { font-size: clamp(34px, 5vw, 58px); position: relative; }
.pagehead p { color: #a9bac7; margin-top: 16px; max-width: 60ch; position: relative; font-size: 17px; }
.pagehead .crumbs { color: #7d8c99; padding-top: 0; margin-bottom: 18px; position: relative; }
.pagehead .crumbs a:hover { color: #fff; }

.callout {
  border: 1px solid var(--line); border-left: 3px solid var(--accent-deep); border-radius: 0 var(--r) var(--r) 0;
  padding: 20px 24px; background: var(--mist); margin-top: 26px;
}
.callout h4 { font-size: 16px; margin-bottom: 8px; }
.callout p { font-size: 14.5px; color: #3f4b57; }
.callout--warn { border-left-color: var(--warn); background: #fdf3f3; border-color: #f3dede; }

.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 760px) { .grid2 { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 32px); }
.card h3 { font-size: 20px; }
.card p { color: var(--muted); font-size: 14.5px; margin-top: 10px; }

.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
:focus-visible { outline: 2px solid var(--accent-deep); outline-offset: 2px; border-radius: 4px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 200; background: #fff; padding: 10px 16px; border-radius: 8px; box-shadow: var(--shadow); }

/* Content is visible by default; only the JS-enabled document hides it to animate in,
   so a script failure can never leave the page blank. */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .8, .2, 1); }
.js .reveal[data-in] { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

.toast {
  position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 140%); z-index: 120;
  background: var(--ink); color: #fff; padding: 13px 22px; border-radius: 999px; font-size: 14px;
  font-weight: 600; box-shadow: var(--shadow-lg); transition: transform .35s cubic-bezier(.2, .8, .2, 1);
  display: flex; align-items: center; gap: 10px;
}
.toast[data-show] { transform: translate(-50%, 0); }
.toast svg { color: var(--accent); width: 18px; height: 18px; }


/* ==========================================================================
   WooCommerce integration — appended to the RefrigiMart stylesheet.
   Covers the parts Woo renders that the static build never had: price markup,
   notices, cart, checkout, account, pagination and the product description body.
   ========================================================================== */

/* WooCommerce puts class="cart" on the add-to-cart form. Our off-canvas drawer
   used to claim that name and dragged the buy box 430px off-screen. The drawer
   is now .rm-drawer, and this reset guarantees the form stays in flow whatever
   else tries to position it. */
.woocommerce div.product form.cart,
form.rm-atc {
  position: static; transform: none; inset: auto; width: auto; height: auto;
  display: block; background: none; z-index: auto; flex-direction: initial;
}

/* Woo prints price as <del>/<ins>; make it read like the static design. */
.price del { font-family: var(--sans); font-size: .62em; font-weight: 500; color: var(--muted); margin-left: 7px; letter-spacing: 0; text-decoration: line-through; }
.price del .amount { font-weight: 500; }
.price ins { text-decoration: none; }
.price .woocommerce-Price-currencySymbol { font-size: .78em; vertical-align: baseline; }
.buy__price .price { display: flex; align-items: baseline; gap: 4px; flex-wrap: wrap; }

/* product long description rendered from post content */
.rm-product-body { max-width: none; }
.rm-product-body h2 { font-size: clamp(24px, 3vw, 34px); margin-top: 0; }
.rm-product-body h3 { font-size: 20px; margin-top: 38px; }
.rm-product-body table { width: 100%; border-collapse: collapse; margin-top: 16px; max-width: 720px; }
.rm-product-body table tr { border-bottom: 1px solid var(--line); }
.rm-product-body table tr:first-child { border-top: 1px solid var(--line); }
.rm-product-body table th { text-align: left; font-weight: 600; color: var(--muted); font-size: 13.5px; padding: 13px 0; width: 46%; }
.rm-product-body table td { text-align: left; font-weight: 700; font-size: 14.5px; padding: 13px 0; }
.rm-product-body ul { padding-left: 22px; }
.rm-product-body li { color: #384451; font-size: 15.5px; line-height: 1.7; }
.rm-product-body li + li { margin-top: 7px; }
.rm-product-body p { color: #384451; font-size: 15.5px; line-height: 1.72; margin-top: 14px; }

/* pages built from the exported bodies */
.rm-page > .pagehead:first-child { margin-top: 0; }

/* ------------------------------------------------------------- notices */
.woocommerce-notices-wrapper:not(:empty) { max-width: var(--maxw); margin: 22px auto 0; padding-inline: var(--pad); }
.woocommerce-message, .woocommerce-info, .woocommerce-error {
  list-style: none; margin: 0 0 14px; padding: 16px 20px; border-radius: var(--r);
  border: 1px solid var(--line); border-left: 3px solid var(--accent-deep);
  background: var(--mist); font-size: 14.5px; color: #384451;
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
}
.woocommerce-error { border-left-color: var(--warn); background: #fdf3f3; border-color: #f3dede; color: #7d2426; }
.woocommerce-message { border-left-color: var(--good); background: #eefaf4; border-color: #d5efe3; }
.woocommerce-message .button, .woocommerce-info .button, .woocommerce-error .button { margin-left: auto; }
.woocommerce-error li + li { margin-top: 8px; }

/* ------------------------------------------------- generic Woo buttons */
.woocommerce .button, .wc-block-components-button, .woocommerce-Button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px; font-weight: 700; font-size: 14.5px;
  background: var(--ink); color: #fff; border: 0; cursor: pointer; line-height: 1;
  transition: transform .18s ease, background .18s ease;
}
.woocommerce .button:hover, .woocommerce-Button:hover { background: var(--ink-3); color: #fff; transform: translateY(-2px); }
.woocommerce .button.alt, .checkout-button { background: var(--accent); color: var(--accent-ink); }
.woocommerce .button.alt:hover, .checkout-button:hover { background: #5ee2f5; color: var(--accent-ink); }

/* --------------------------------------------------- cart & checkout */
.woocommerce-cart .entry-content, .woocommerce-checkout .entry-content,
.woocommerce-account .entry-content, .woocommerce-cart-form { max-width: var(--maxw); margin-inline: auto; }
.woocommerce-cart main .wrap, .woocommerce-checkout main .wrap { padding-block: 40px; }

.woocommerce table.shop_table {
  width: 100%; border-collapse: collapse; border: 1px solid var(--line);
  border-radius: var(--r); overflow: hidden; background: #fff;
}
.woocommerce table.shop_table th {
  text-align: left; background: var(--ink); color: #fff; font-size: 12px;
  letter-spacing: .1em; text-transform: uppercase; font-weight: 700; padding: 14px 16px;
}
.woocommerce table.shop_table td { padding: 16px; border-bottom: 1px solid var(--line); font-size: 14.5px; vertical-align: middle; }
.woocommerce table.shop_table img { width: 62px; height: 62px; border-radius: 10px; object-fit: cover; background: var(--mist); }
.woocommerce table.cart td.actions { padding: 18px 16px; }
.woocommerce .quantity input[type="number"] {
  width: 72px; padding: 10px; border: 1.5px solid var(--line); border-radius: 8px; text-align: center; font-weight: 700;
}
.cart_totals h2, .woocommerce-billing-fields h3, .woocommerce-shipping-fields h3, #order_review_heading {
  font-family: var(--display); font-weight: 800; letter-spacing: -.02em; font-size: 22px; margin: 32px 0 16px;
}
.woocommerce form .form-row { display: grid; gap: 7px; margin-bottom: 16px; }
.woocommerce form .form-row label { font-size: 13px; font-weight: 700; }
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.select2-container .select2-selection--single {
  border: 1.5px solid var(--line); border-radius: 10px; padding: 13px 15px; font-size: 15px; background: #fff; width: 100%; height: auto;
}
.woocommerce form .form-row input.input-text:focus, .woocommerce form .form-row select:focus {
  outline: 0; border-color: var(--accent-deep); box-shadow: 0 0 0 3px rgba(34, 211, 238, .18);
}
.woocommerce-checkout #payment { background: var(--mist); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; }
.woocommerce-checkout #payment ul.payment_methods { list-style: none; margin: 0 0 16px; padding: 0; }
.woocommerce-checkout #payment div.form-row { padding: 0; }
.woocommerce-checkout #payment #place_order { width: 100%; }

/* certification reminder carried into the cart */
.rm-cart-note {
  margin: 20px 0; border-left: 3px solid var(--accent-deep); background: var(--mist);
  border-radius: 0 var(--r-sm) var(--r-sm) 0; padding: 16px 20px; font-size: 14px; color: #3f4b57;
}

/* -------------------------------------------------------- account page */
.woocommerce-account .woocommerce { display: grid; grid-template-columns: 240px 1fr; gap: 34px; }
@media (max-width: 780px) { .woocommerce-account .woocommerce { grid-template-columns: 1fr; } }
.woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.woocommerce-MyAccount-navigation a { display: block; padding: 11px 14px; border-radius: 9px; font-size: 14.5px; font-weight: 550; color: #3a4652; }
.woocommerce-MyAccount-navigation a:hover, .woocommerce-MyAccount-navigation .is-active a { background: var(--mist); color: var(--text); font-weight: 700; }

/* ------------------------------------------------------- pagination */
.woocommerce-pagination ul { list-style: none; display: flex; gap: 8px; padding: 0; margin: 0; }
.woocommerce-pagination a, .woocommerce-pagination span {
  display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px;
  border: 1px solid var(--line); border-radius: 10px; font-weight: 700; font-size: 14px; background: #fff;
}
.woocommerce-pagination .current { background: var(--ink); color: #fff; border-color: var(--ink); }

/* --------------------------------------------------- nav menu from WP */
.nav ul, .mnav__links ul { list-style: none; margin: 0; padding: 0; display: contents; }
.nav li { display: inline-flex; }
.mnav__links li { display: block; }
.mnav__links li a { display: block; }

/* keep admin bar from covering the sticky header */
body.admin-bar .hdr { top: 32px; }
@media (max-width: 782px) { body.admin-bar .hdr { top: 46px; } }

/* Woo sometimes injects its own wrappers; neutralise stray margins */
.woocommerce-products-header { display: none; }
.rm-woo .woocommerce-result-count, .rm-woo .woocommerce-ordering { display: none; }
