/* ==========================================================================
   Write it Right Academy — Phase 1 (HTML/CSS Foundation)
   Author: built to convert cleanly into a WordPress custom theme (Phase 2).

   NOTE FOR PHASE 2 (WordPress):
   - All design tokens below map directly to theme.json (settings.color.palette,
     settings.typography.fontFamilies, settings.spacing).
   - Section comments mark future template-parts / blocks.
   - Class naming is namespaced (.wir-*) to avoid collisions with WP core/Woo.
   ========================================================================== */

/* ----------  DESIGN TOKENS  ---------- */
:root {
  /* Brand palette (logo-derived) */
  --navy:          #1d3a5f;
  --navy-deep:     #142a44;
  --navy-soft:     #2c4d74;
  --orange:        #c8551f;
  --orange-bright: #e07a33;
  --orange-soft:   #e8915a;

  /* Surfaces */
  --cream:         #faf5ec;
  --cream-2:       #f5eede;
  --card-blue:     #eaf0f6;
  --card-orange:   #fbf1e6;
  --card-cream:    #fdfaf3;
  --white:         #ffffff;

  /* Ink / text */
  --ink:           #3c4047;
  --ink-soft:      #646a73;
  --line:          #e8ddc8;
  --line-soft:     #f0e7d6;

  /* Typography */
  --font-display:  'Cormorant Garamond', Georgia, serif;
  --font-label:    'Marcellus', Georgia, serif;
  --font-body:     'Mulish', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-arabic:   'Amiri', serif;

  /* Rhythm */
  --container:     1200px;
  --container-narrow: 880px;
  --radius:        14px;
  --radius-lg:     22px;
  --shadow-sm:     0 6px 20px rgba(20, 42, 68, 0.06);
  --shadow-md:     0 14px 40px rgba(20, 42, 68, 0.10);
  --shadow-card:   0 18px 50px rgba(20, 42, 68, 0.08);
  --ease:          cubic-bezier(0.22, 0.61, 0.36, 1);
  --section-y:     clamp(4rem, 8vw, 7rem);
}

/* ----------  RESET / BASE  ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; transition: color 0.25s var(--ease); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy);
  font-weight: 600;
  line-height: 1.12;
  margin: 0;
  letter-spacing: 0.005em;
}

p { margin: 0 0 1.1rem; }
p:last-child { margin-bottom: 0; }

ul { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--orange); color: #fff; }

/* ----------  LAYOUT HELPERS  ---------- */
.wir-container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

.wir-section { padding: var(--section-y) 0; }

.wir-section--cream2 { background: var(--cream-2); }
.wir-section--white  { background: var(--white); }

.wir-eyebrow {
  font-family: var(--font-label);
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 0.72rem;
  color: var(--orange);
  margin: 0 0 1rem;
}

.wir-section-head { text-align: center; max-width: 640px; margin: 0 auto clamp(2.5rem, 5vw, 3.75rem); }
.wir-section-head h2 { font-size: clamp(2.1rem, 4.2vw, 3rem); }
.wir-section-head p { color: var(--ink-soft); margin-top: 0.9rem; }

/* Sparkle / star divider */
.wir-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin: 1.1rem 0;
  color: var(--orange);
}
.wir-divider::before,
.wir-divider::after {
  content: "";
  height: 1px;
  width: clamp(40px, 8vw, 80px);
  background: linear-gradient(90deg, transparent, var(--line));
}
.wir-divider::after { background: linear-gradient(270deg, transparent, var(--line)); }
.wir-divider svg { width: 16px; height: 16px; }

/* ----------  BUTTONS  ---------- */
.wir-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-label);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.95rem 1.85rem;
  border-radius: 8px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  white-space: nowrap;
}
.wir-btn--primary {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 10px 24px rgba(29, 58, 95, 0.22);
}
.wir-btn--primary:hover {
  background: var(--navy-deep);
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(29, 58, 95, 0.28);
}
.wir-btn--ghost {
  background: transparent;
  color: var(--orange);
  border-color: var(--orange);
}
.wir-btn--ghost:hover {
  background: var(--orange);
  color: #fff;
  transform: translateY(-2px);
}
.wir-btn--light {
  background: #fff;
  color: var(--navy);
  border-color: var(--line);
}
.wir-btn--light:hover { border-color: var(--orange); color: var(--orange); }

/* Inline text-link with arrow */
.wir-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-label);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
}
.wir-link svg { width: 18px; height: 10px; transition: transform 0.3s var(--ease); }
.wir-link:hover svg { transform: translateX(5px); }

/* ==========================================================================
   TEMPLATE-PART: header.php  (Bismillah bar + main nav)
   ========================================================================== */
.wir-bismillah {
  background: var(--navy);
  color: rgba(255,255,255,0.92);
  text-align: center;
  padding: 0.5rem 1rem;
  font-family: var(--font-arabic);
  font-size: 1.3rem;
  line-height: 1.4;
  letter-spacing: 0.02em;
}

.wir-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 245, 236, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
/* The header needs a little more width than the body container so the two nav
   groups sit comfortably either side of the centred logo without crowding it. */
.wir-header .wir-container { max-width: 1340px; }
.wir-header__inner {
  display: grid;
  /* minmax(0,1fr) forces the two side columns to stay perfectly equal in width
     regardless of their content, so the centre (logo) column lands on the true
     page centre — directly beneath the Bismillah bar. */
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(1rem, 1.6vw, 1.75rem);
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
}
.wir-nav { display: flex; align-items: center; gap: clamp(0.85rem, 1.5vw, 1.5rem); }
.wir-nav--left  { justify-content: flex-end; }
.wir-nav--right { justify-content: flex-start; }
.wir-nav a {
  font-family: var(--font-label);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  position: relative;
  padding-bottom: 2px;
  white-space: nowrap;
}
.wir-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1.5px;
  background: var(--orange);
  transition: width 0.3s var(--ease);
}
.wir-nav a:hover,
.wir-nav a.is-active { color: var(--orange); }
.wir-nav a:hover::after,
.wir-nav a.is-active::after { width: 100%; }

.wir-brand { display: block; text-align: center; }
.wir-brand img { width: clamp(150px, 14vw, 192px); margin: 0 auto; }

.wir-header__right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(0.85rem, 1.5vw, 1.5rem);
}
.wir-header__cta .wir-btn { padding: 0.65rem 1.2rem; font-size: 0.7rem; }

/* Premium dropdown (Programmes) */
.wir-nav__group { position: relative; display: flex; align-items: center; }
.wir-nav__parent { display: inline-flex; align-items: center; gap: 0.32rem; }
.wir-nav__parent svg { width: 9px; height: 9px; transition: transform 0.25s var(--ease); }
.wir-nav__group:hover .wir-nav__parent svg,
.wir-nav__group:focus-within .wir-nav__parent svg { transform: rotate(180deg); }
.wir-subnav {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 210px;
  margin-top: 10px;
  background: var(--cream);
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  padding: 0.55rem;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
  z-index: 60;
}
.wir-subnav::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.wir-nav__group:hover .wir-subnav,
.wir-nav__group:focus-within .wir-subnav {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.wir-subnav a {
  padding: 0.6rem 0.9rem;
  border-radius: 8px;
  white-space: nowrap;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.wir-subnav a::after { display: none !important; }
.wir-subnav a:hover { background: var(--card-cream); color: var(--orange); }

/* mobile nav controls */
.wir-burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 42px; height: 42px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 0;
}
.wir-burger span {
  display: block; height: 2px; width: 24px;
  background: var(--navy); margin: 0 auto;
  transition: all 0.3s var(--ease);
}
.wir-header.is-open .wir-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.wir-header.is-open .wir-burger span:nth-child(2) { opacity: 0; }
.wir-header.is-open .wir-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   TEMPLATE-PART: hero  (front-page block)
   ========================================================================== */
.wir-hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: clamp(4rem, 8vw, 7rem) 0 clamp(4.5rem, 9vw, 7.5rem);
  background:
    radial-gradient(120% 80% at 50% -10%, #fffdf8 0%, var(--cream) 55%);
}
/* Optional photographic backdrop.
   Drop assets/images/hero-home.jpg in and it appears automatically; if the file
   is missing the <img> hides itself (onerror) and the cream gradient shows. */
.wir-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 1;
}
/* Cream scrim — light enough to let the photo read clearly, focused behind the
   text so the navy headline + grey lead stay perfectly legible. */
.wir-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(250,245,236,0.34) 0%, rgba(250,245,236,0.06) 38%, rgba(250,245,236,0.55) 100%);
}
/* When no photo is present the scrim is unnecessary — keep it invisible-friendly */
.wir-hero:not(:has(.wir-hero__bg))::after { display: none; }
.wir-hero__inner { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; }
/* Soft cream "cloud" behind the text only — keeps the headline + lead perfectly
   legible while the photo stays vivid everywhere around it. */
.wir-hero:has(.wir-hero__bg) .wir-hero__inner::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(160%, 1120px);
  height: 178%;
  pointer-events: none;
  background: radial-gradient(ellipse 60% 56% at 50% 50%,
    rgba(250,245,236,0.97) 0%,
    rgba(250,245,236,0.92) 44%,
    rgba(250,245,236,0.64) 68%,
    rgba(250,245,236,0) 86%);
}
/* With a photo backdrop, the decorative line-art clutters the image — hide it. */
.wir-hero:has(.wir-hero__bg) .wir-hero__decor,
.wir-hero:has(.wir-hero__bg) .wir-hero__leaf { display: none; }
.wir-hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  font-weight: 600;
  line-height: 1.06;
  /* faint shadow for crisp edges; the cream cloud behind provides the contrast */
  text-shadow: 0 1px 1px rgba(255,255,255,0.6);
}
.wir-hero__lead {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--ink);
  max-width: 540px;
  margin: 1.4rem auto 2.2rem;
  text-shadow: 0 1px 1px rgba(255,255,255,0.7);
}
.wir-hero__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* Decorative line-art clusters flanking the hero */
.wir-hero__decor {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  pointer-events: none;
  width: clamp(180px, 22vw, 320px);
  opacity: 0.92;
}
.wir-hero__decor--left  { left: clamp(-40px, -1vw, 20px); }
.wir-hero__decor--right { right: clamp(-40px, -1vw, 20px); }
.wir-hero__leaf {
  position: absolute;
  width: clamp(90px, 12vw, 150px);
  opacity: 0.5;
  z-index: 1;
  pointer-events: none;
  color: var(--navy-soft);
}
.wir-hero__leaf--tl { top: 1.5rem; left: 2rem; transform: scaleX(-1); }
.wir-hero__leaf--tr { top: 1.5rem; right: 2rem; }

@media (max-width: 980px) {
  .wir-hero__decor { display: none; }
}
@media (max-width: 760px) {
  .wir-hero__leaf { display: none; }
}

/* ==========================================================================
   TEMPLATE-PART: programmes  (3-card grid)
   ========================================================================== */
.wir-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2rem);
}
.wir-card {
  background: var(--card-cream);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3vw, 2.5rem) clamp(1.5rem, 2.5vw, 2.25rem);
  text-align: center;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.wir-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); }
.wir-card--blue   { background: var(--card-blue); }
.wir-card--orange { background: var(--card-orange); }
.wir-card__icon {
  width: 92px; height: 92px;
  margin: 0 auto 1.4rem;
  border-radius: 50%;
  background: var(--white);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-sm);
}
.wir-card__icon svg { width: 44px; height: 44px; color: var(--navy); }
.wir-card--orange .wir-card__icon svg { color: var(--orange); }
.wir-card h3 {
  font-family: var(--font-label);
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.85rem;
}
.wir-card__desc { color: var(--ink-soft); font-size: 0.98rem; margin-bottom: 1.4rem; }
.wir-card__list { text-align: left; margin: 0 auto 1.75rem; display: inline-grid; gap: 0.6rem; }
.wir-card__list li {
  display: flex; align-items: flex-start; gap: 0.6rem;
  font-size: 0.95rem; color: var(--ink);
}
.wir-card__list svg { width: 18px; height: 18px; color: var(--orange); flex: none; margin-top: 3px; }
.wir-card__foot { margin-top: auto; }

/* ==========================================================================
   TEMPLATE-PART: why-choose  (feature row)
   ========================================================================== */
.wir-features {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(1rem, 2vw, 1.75rem);
}
.wir-feature { text-align: center; }
.wir-feature__icon {
  width: 78px; height: 78px;
  margin: 0 auto 1.1rem;
  border-radius: 50%;
  background: var(--card-cream);
  border: 1px solid var(--line-soft);
  display: grid; place-items: center;
}
.wir-feature__icon svg { width: 34px; height: 34px; color: var(--navy); }
.wir-feature h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.wir-feature p { font-size: 0.92rem; color: var(--ink-soft); }

/* ==========================================================================
   TEMPLATE-PART: testimonials  (prominent — client priority)
   ========================================================================== */
.wir-testimonials { position: relative; }
.wir-quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.wir-quote {
  background: var(--card-cream);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  position: relative;
}
.wir-quotes .wir-quote:nth-child(2) { background: var(--card-orange); }
.wir-quote--orange { background: var(--card-orange); }
.wir-quote--blue   { background: var(--card-blue); }
.wir-quote__mark {
  font-family: var(--font-display);
  font-size: 3.5rem;
  line-height: 0.5;
  color: var(--orange);
  display: block;
  margin-bottom: 0.75rem;
  height: 1.4rem;
}
.wir-quote p { font-size: 1rem; color: var(--ink); font-style: italic; }
.wir-quote__author {
  font-family: var(--font-label);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  margin-top: 1.1rem;
}
.wir-testimonials__foot { text-align: center; margin-top: 2.5rem; }

/* ----------  Auto-scrolling testimonial marquee  ----------
   GPU-friendly: animates only `transform`, so it runs smoothly at 60fps.
   The card list is duplicated in the markup; translating the track by exactly
   -50% loops it seamlessly. Hovering (or focusing a card) pauses the motion. */
.wir-marquee {
  position: relative;
  overflow: hidden;
  padding: 0.5rem 0 1rem;
  /* soft fade at both edges so cards glide in/out rather than clipping */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.wir-marquee__track {
  display: flex;
  width: max-content;
  align-items: stretch;
  animation: wir-marquee-scroll 60s linear infinite;
  will-change: transform;
}
.wir-marquee:hover .wir-marquee__track,
.wir-marquee:focus-within .wir-marquee__track { animation-play-state: paused; }
.wir-marquee .wir-quote {
  flex: 0 0 auto;
  width: clamp(290px, 78vw, 380px);
  margin-right: clamp(1rem, 2vw, 1.75rem);
  display: flex;
  flex-direction: column;
}
.wir-marquee .wir-quote p { flex: 1; }
.wir-marquee .wir-quote {
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.wir-marquee .wir-quote:hover { transform: translateY(-5px); box-shadow: var(--shadow-card); }
@keyframes wir-marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .wir-marquee { -webkit-mask-image: none; mask-image: none; }
  .wir-marquee__track {
    animation: none;
    width: auto;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
  }
  .wir-marquee .wir-quote { margin-right: 0; }
  .wir-marquee .wir-quote[aria-hidden="true"] { display: none; }
}

/* ==========================================================================
   TEMPLATE-PART: blog  (loop of 3 latest posts)
   ========================================================================== */
.wir-posts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2rem);
}
.wir-post {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.wir-post:hover { transform: translateY(-5px); box-shadow: var(--shadow-card); }
.wir-post__media {
  aspect-ratio: 16 / 10;
  background: var(--card-blue);
  display: grid; place-items: center;
}
.wir-post:nth-child(2) .wir-post__media { background: var(--card-orange); }
.wir-post:nth-child(3) .wir-post__media { background: var(--card-cream); }
.wir-post__media svg { width: 64px; height: 64px; color: var(--navy-soft); opacity: 0.8; }
.wir-post__body { padding: 1.5rem 1.6rem 1.75rem; display: flex; flex-direction: column; flex: 1; }
.wir-post__tag {
  font-family: var(--font-label);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.6rem;
}
.wir-post h3 { font-size: 1.45rem; line-height: 1.18; margin-bottom: 1.1rem; }
.wir-post .wir-link { margin-top: auto; }
.wir-blog__foot { text-align: center; margin-top: 2.75rem; }

/* ==========================================================================
   TEMPLATE-PART: footer.php
   ========================================================================== */
.wir-footer {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.74);
  padding: clamp(3.5rem, 6vw, 5rem) 0 2rem;
}
.wir-footer__leaf {
  position: absolute;
  width: clamp(140px, 18vw, 240px);
  color: rgba(255,255,255,0.06);
  pointer-events: none;
}
.wir-footer__leaf--l { bottom: 0; left: 0; }
.wir-footer__leaf--r { bottom: 0; right: 0; transform: scaleX(-1); }
.wir-footer__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.3fr 1.3fr;
  gap: clamp(1.5rem, 4vw, 3rem);
}
.wir-footer__brand img {
  width: 200px;
  margin-bottom: 1.25rem;
}
.wir-footer__brand .wir-footer__tag {
  font-family: var(--font-label);
  letter-spacing: 0.12em;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.8);
}
.wir-footer__brand p { font-size: 0.92rem; margin-top: 0.75rem; }
.wir-footer h4 {
  font-family: var(--font-label);
  color: #fff;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.wir-footer ul li { margin-bottom: 0.7rem; font-size: 0.94rem; }
.wir-footer ul a:hover { color: var(--orange-bright); }
.wir-footer__contact a { display: inline-flex; align-items: center; gap: 0.55rem; }
.wir-socials { display: flex; gap: 0.6rem; margin-bottom: 1.4rem; }
.wir-socials a {
  width: 38px; height: 38px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  display: grid; place-items: center;
  transition: all 0.3s var(--ease);
}
.wir-socials a:hover { background: var(--orange); border-color: var(--orange); transform: translateY(-3px); }
.wir-socials svg { width: 17px; height: 17px; color: #fff; }
.wir-footer__etsy { margin-top: 1rem; }
.wir-footer__reach li { margin-bottom: 0.55rem; }
.wir-footer__addr { margin-top: 1.2rem; }
.wir-footer__addr p { font-size: 0.88rem; line-height: 1.6; color: rgba(255,255,255,0.68); }
.wir-footer__bottom {
  position: relative;
  z-index: 2;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
}
.wir-footer__bottom p { margin: 0; }
.wir-footer__copy { color: rgba(255,255,255,0.55); }
.wir-footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.55rem 0;
  margin-bottom: 1.25rem;
}
.wir-footer__legal a {
  position: relative;
  font-family: var(--font-label);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.72);
  padding: 0 1.15rem;
  transition: color 0.25s var(--ease);
}
.wir-footer__legal a:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 12px;
  background: rgba(255,255,255,0.22);
}
.wir-footer__legal a:hover { color: var(--orange-bright); }

/* "Made with love by iTECH19" credit */
.wir-footer__credit {
  margin-top: 1rem;
  font-family: var(--font-label);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.5);
}
.wir-footer__credit .wir-heart {
  color: var(--orange-bright);
  margin: 0 0.15rem;
  vertical-align: -2px;
}
.wir-footer__credit a {
  color: rgba(255,255,255,0.82);
  font-weight: 600;
  letter-spacing: 0.08em;
  transition: color 0.25s var(--ease);
}
.wir-footer__credit a:hover { color: var(--orange-bright); }

/* ==========================================================================
   PAGE: interior hero (our-approach.html)
   ========================================================================== */
.wir-pagehero {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(3rem, 6vw, 4.5rem);
  background: radial-gradient(120% 90% at 50% -20%, #fffdf8 0%, var(--cream) 60%);
}
/* Optional photographic backdrop — drop assets/images/hero-approach.jpg to enable. */
.wir-pagehero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 1;
}
.wir-pagehero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(250,245,236,0.34) 0%, rgba(250,245,236,0.08) 40%, rgba(250,245,236,0.60) 100%);
}
.wir-pagehero:not(:has(.wir-pagehero__bg))::after { display: none; }
.wir-pagehero > .wir-container { position: relative; z-index: 2; }
/* Soft cream cloud behind the page-hero text (mirrors the home hero). */
.wir-pagehero:has(.wir-pagehero__bg) > .wir-container::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(150%, 1000px);
  height: 185%;
  pointer-events: none;
  background: radial-gradient(ellipse 58% 56% at 50% 50%,
    rgba(250,245,236,0.97) 0%,
    rgba(250,245,236,0.92) 44%,
    rgba(250,245,236,0.64) 68%,
    rgba(250,245,236,0) 86%);
}
.wir-pagehero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  text-shadow: 0 1px 1px rgba(255,255,255,0.6);
}
.wir-pagehero p { text-shadow: 0 1px 1px rgba(255,255,255,0.7); }
.wir-pagehero .wir-breadcrumb { text-shadow: 0 1px 1px rgba(255,255,255,0.7); }
.wir-pagehero p { max-width: 600px; margin: 1.2rem auto 0; color: var(--ink); font-size: 1.1rem; }
.wir-breadcrumb {
  font-family: var(--font-label);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 1.25rem;
}
.wir-breadcrumb a:hover { color: var(--orange); }

/* Split content (image-card + text) */
.wir-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.wir-split--rev .wir-split__media { order: 2; }
.wir-split__media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--card-blue);
  aspect-ratio: 4 / 3.4;
  display: grid; place-items: center;
  border: 1px solid var(--line-soft);
}
.wir-split--orange .wir-split__media { background: var(--card-orange); }
.wir-split__media svg { width: 120px; height: 120px; color: var(--navy-soft); opacity: 0.85; }
/* Photo overlays the icon placeholder; if the file is missing it removes itself. */
.wir-split__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.wir-split h2 { font-size: clamp(1.9rem, 3.5vw, 2.6rem); margin-bottom: 1.1rem; }
.wir-split p { color: var(--ink-soft); }
.wir-split .wir-eyebrow { text-align: left; }

/* Values list (our-approach) */
.wir-values {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.25rem, 3vw, 2rem);
}
.wir-value {
  background: var(--card-cream);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: flex;
  gap: 1.1rem;
}
.wir-value__icon {
  width: 56px; height: 56px; flex: none;
  border-radius: 50%;
  background: var(--white);
  display: grid; place-items: center;
  box-shadow: var(--shadow-sm);
}
.wir-value__icon svg { width: 28px; height: 28px; color: var(--orange); }
.wir-value h3 { font-size: 1.4rem; margin-bottom: 0.4rem; }
.wir-value p { font-size: 0.95rem; color: var(--ink-soft); margin: 0; }

/* Brand-message band (the important positive message) */
.wir-message {
  background: var(--navy);
  color: rgba(255,255,255,0.9);
  text-align: center;
  border-radius: var(--radius-lg);
  padding: clamp(2.75rem, 6vw, 4.5rem) clamp(1.5rem, 5vw, 4rem);
  position: relative;
  overflow: hidden;
}
.wir-message .wir-eyebrow { color: var(--orange-bright); }
.wir-message h2 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.9rem); max-width: 760px; margin: 0 auto 1.25rem; }
.wir-message p { max-width: 640px; margin: 0 auto; font-size: 1.08rem; color: rgba(255,255,255,0.82); }
.wir-message .wir-btn { margin-top: 2rem; }

/* CTA band (shared) */
.wir-cta-band { text-align: center; }
.wir-cta-band h2 { font-size: clamp(2rem, 4vw, 2.9rem); margin-bottom: 1rem; }
.wir-cta-band p { color: var(--ink-soft); max-width: 540px; margin: 0 auto 2rem; }
.wir-cta-band__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ==========================================================================
   PAGE: print shop — product grid
   ========================================================================== */
.wir-cards--4 { grid-template-columns: repeat(4, 1fr); }
.wir-card__price {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--orange);
  margin: 0.2rem 0 1.2rem;
}
.wir-card--orange .wir-card__price { color: var(--orange); }
.wir-shop__note {
  text-align: center;
  max-width: 640px;
  margin: 2.5rem auto 0;
  font-size: 0.92rem;
  color: var(--ink-soft);
}
@media (max-width: 1024px) { .wir-cards--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .wir-cards--4 { grid-template-columns: 1fr; max-width: 340px; margin-inline: auto; } }

/* ==========================================================================
   PAGE: legal / policy pages
   ========================================================================== */
.wir-legal { max-width: 820px; margin: 0 auto; }
.wir-legal__updated {
  font-family: var(--font-label);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  padding-bottom: 1.5rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}
.wir-legal h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--navy);
  margin: 2.2rem 0 0.8rem;
}
.wir-legal h3:first-of-type { margin-top: 0; }
.wir-legal p { color: var(--ink-soft); }
.wir-legal a { color: var(--orange); text-decoration: underline; text-underline-offset: 2px; }
.wir-legal a:hover { color: var(--orange-bright); }

/* ==========================================================================
   PAGE: programme detail — lead paragraph under split, price/level note
   ========================================================================== */
.wir-lead { font-size: 1.18rem; color: var(--ink-soft); max-width: 760px; }
.wir-prose p { color: var(--ink-soft); }
.wir-card__level {
  font-family: var(--font-label);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.5rem;
}

/* Numbered step badge (programme "how it works") */
.wir-card__num {
  width: 54px; height: 54px;
  margin: 0 auto 1.2rem;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--navy);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
}
.wir-card--orange .wir-card__num { background: var(--orange); }

/* ==========================================================================
   PAGE: stats band (testimonials)
   ========================================================================== */
.wir-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  text-align: center;
}
.wir-stat__num {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  font-weight: 600;
  color: var(--orange);
  line-height: 1;
}
.wir-stat__label {
  font-family: var(--font-label);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy);
  margin-top: 0.6rem;
}

/* ==========================================================================
   PAGE: blog — post meta
   ========================================================================== */
.wir-post__meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  color: var(--ink-soft);
  margin-bottom: 0.7rem;
}
.wir-post__meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--line); }

/* ==========================================================================
   PAGE: contact — form + info
   ========================================================================== */
.wir-contact {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.wir-form { display: grid; gap: 1.15rem; }
.wir-form__row { display: grid; gap: 1.15rem; grid-template-columns: 1fr 1fr; }
.wir-field { display: grid; gap: 0.45rem; }
.wir-field label {
  font-family: var(--font-label);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
}
.wir-field input,
.wir-field select,
.wir-field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  width: 100%;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.wir-field input:focus,
.wir-field select:focus,
.wir-field textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(224,122,51,0.16);
}
.wir-field textarea { min-height: 150px; resize: vertical; }
.wir-form__note { font-size: 0.85rem; color: var(--ink-soft); }
.wir-contact__panel {
  background: var(--navy);
  color: rgba(255,255,255,0.82);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3vw, 2.5rem);
}
.wir-contact__panel h3 { color: #fff; font-size: 1.6rem; margin-bottom: 1rem; }
.wir-contact__panel .wir-socials { margin-top: 1.5rem; }
.wir-contact__item {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin-bottom: 1.1rem;
  font-size: 0.95rem;
}
.wir-contact__item svg { width: 20px; height: 20px; color: var(--orange-bright); flex: none; margin-top: 2px; }
.wir-contact__item a:hover { color: var(--orange-bright); }
@media (max-width: 820px) {
  .wir-contact { grid-template-columns: 1fr; }
  .wir-stats { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  .wir-form__row { grid-template-columns: 1fr; }
  .wir-stats { grid-template-columns: 1fr; gap: 2rem; }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
  .wir-features { grid-template-columns: repeat(3, 1fr); row-gap: 2.5rem; }
}

@media (max-width: 1150px) {
  .wir-header__inner { grid-template-columns: 1fr auto; }
  .wir-nav--left, .wir-header__right { display: none; }
  .wir-burger { display: flex; }
  .wir-brand { text-align: left; }
  .wir-brand img { margin: 0; }

  /* slide-in mobile menu */
  .wir-mobilenav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(82vw, 340px);
    background: var(--cream);
    box-shadow: -20px 0 60px rgba(20,42,68,0.18);
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
    z-index: 60;
    padding: 5rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    overflow-y: auto;
  }
  /* .wir-mobilenav / .wir-overlay are SIBLINGS of the header, so target them
     with the general-sibling combinator (~), not as descendants. */
  .wir-header.is-open ~ .wir-mobilenav { transform: translateX(0); }
  .wir-mobilenav a {
    font-family: var(--font-label);
    font-size: 0.95rem;
    letter-spacing: 0.06em;
    color: var(--navy);
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--line-soft);
  }
  .wir-mobilenav a:hover { color: var(--orange); }
  .wir-mobilenav .wir-btn { display: inline-flex; margin-top: 1.25rem; }
  .wir-overlay {
    position: fixed; inset: 0;
    background: rgba(20,42,68,0.35);
    opacity: 0; visibility: hidden;
    transition: all 0.3s var(--ease);
    z-index: 55;
  }
  .wir-header.is-open ~ .wir-overlay { opacity: 1; visibility: visible; }
}

@media (min-width: 1151px) {
  .wir-mobilenav, .wir-overlay { display: none; }
}

@media (max-width: 820px) {
  .wir-cards, .wir-quotes, .wir-posts { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .wir-features { grid-template-columns: repeat(2, 1fr); }
  .wir-split { grid-template-columns: 1fr; }
  .wir-split--rev .wir-split__media { order: 0; }
  .wir-values { grid-template-columns: 1fr; }
  .wir-footer__grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}

@media (max-width: 520px) {
  .wir-features { grid-template-columns: 1fr; max-width: 280px; margin-inline: auto; }
  .wir-footer__grid { grid-template-columns: 1fr; text-align: center; }
  .wir-footer__brand img { margin-inline: auto; }
  .wir-socials { justify-content: center; }
  .wir-hero__actions, .wir-cta-band__actions { flex-direction: column; align-items: stretch; }
  .wir-btn { width: 100%; }
}

/* Reveal-on-scroll (progressive enhancement) */
.wir-reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.wir-reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .wir-reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   HEADER CART ICON (WooCommerce)
   ========================================================================== */
.wir-header__cta { display: flex; align-items: center; gap: 0.6rem; }
.wir-cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  color: var(--navy);
  transition: color 0.25s var(--ease);
}
.wir-cart:hover { color: var(--orange); }
.wir-cart svg { width: 22px; height: 22px; }
.wir-cart__count {
  position: absolute;
  top: -3px; right: -3px;
  min-width: 18px; height: 18px;
  padding: 0 4px;
  border-radius: 50px;
  background: var(--orange);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.66rem;
  font-weight: 700;
  line-height: 1;
  display: flex; align-items: center; justify-content: center;
}
.wir-cart__count:empty, .wir-cart__count.is-zero { display: none; }

/* ==========================================================================
   WOOCOMMERCE — brand styling (shop, product, cart, checkout)
   ========================================================================== */
.woocommerce, .woocommerce-page { color: var(--ink); }
.woocommerce a { color: var(--orange); }
.woocommerce a:hover { color: var(--orange-bright); }

/* Shop archive header */
.woocommerce-products-header { text-align: center; margin-bottom: clamp(2rem, 4vw, 3rem); }
.woocommerce-products-header__title.page-title {
  font-family: var(--font-display);
  color: var(--navy);
  font-size: clamp(2.1rem, 4.2vw, 3rem);
  font-weight: 600;
}
.woocommerce .woocommerce-result-count { color: var(--ink-soft); font-size: 0.92rem; }
.woocommerce .woocommerce-ordering select {
  font-family: var(--font-body);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
  background: #fff;
}
.woocommerce .woocommerce-breadcrumb {
  font-family: var(--font-label);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 1.75rem;
}

/* Product grid */
.woocommerce ul.products,
.woocommerce-page ul.products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2rem);
  margin: 0 !important;
}
.woocommerce ul.products::before,
.woocommerce ul.products::after { content: none !important; }
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  width: auto !important;
  margin: 0 !important;
  float: none !important;
  background: var(--card-cream);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.25rem 1.6rem;
  text-align: center;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.woocommerce ul.products li.product:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); }
.woocommerce ul.products li.product a img {
  border-radius: var(--radius);
  margin-bottom: 1.1rem;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  line-height: 1.25;
  color: var(--navy);
  padding: 0.3rem 0 0.6rem;
}
.woocommerce ul.products li.product .price {
  color: var(--orange);
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
}
.woocommerce ul.products li.product .price del { color: var(--ink-soft); font-weight: 400; font-size: 1rem; opacity: 0.7; }
.woocommerce ul.products li.product .price ins { text-decoration: none; }
.woocommerce ul.products li.product .button { margin-top: 1rem; }

/* Sale badge */
.woocommerce span.onsale {
  background: var(--orange);
  color: #fff;
  font-family: var(--font-label);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  min-height: auto;
  min-width: auto;
  padding: 0.35em 0.7em;
  border-radius: 50px;
  line-height: 1;
}

/* Buttons */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
  font-family: var(--font-label);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 400;
  background: var(--navy);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.9rem 1.7rem;
  transition: all 0.3s var(--ease);
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover {
  background: var(--navy-deep);
  color: #fff;
  transform: translateY(-2px);
}
.woocommerce .button.added::after { vertical-align: middle; }

/* Single product */
.woocommerce div.product .product_title {
  font-family: var(--font-display);
  color: var(--navy);
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 600;
}
.woocommerce div.product p.price,
.woocommerce div.product span.price {
  color: var(--orange);
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 600;
}
.woocommerce div.product .woocommerce-product-details__short-description { color: var(--ink-soft); }
.woocommerce div.product form.cart .quantity .qty {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.6rem;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li {
  background: var(--card-cream);
  border-color: var(--line-soft);
  border-radius: 8px 8px 0 0;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { background: #fff; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  font-family: var(--font-label);
  letter-spacing: 0.06em;
  color: var(--navy);
}
.woocommerce div.product .woocommerce-tabs .panel h2,
.woocommerce div.product h2 { font-family: var(--font-display); color: var(--navy); }
.woocommerce .related > h2,
.woocommerce .upsells > h2 {
  font-family: var(--font-display);
  color: var(--navy);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

/* Notices / messages */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  border-top-color: var(--orange);
  border-radius: 8px;
  background: var(--card-cream);
}
.woocommerce-message a.button,
.woocommerce-info a.button { padding: 0.55rem 1.1rem; }

/* Cart & checkout tables */
.woocommerce table.shop_table {
  border-radius: var(--radius);
  border-color: var(--line-soft);
}
.woocommerce table.shop_table th { font-family: var(--font-label); color: var(--navy); letter-spacing: 0.04em; }
.woocommerce-cart .cart-collaterals .cart_totals h2,
.woocommerce form.checkout h3 { font-family: var(--font-display); color: var(--navy); }
.woocommerce #payment, .woocommerce-checkout #payment { border-radius: var(--radius); }
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce-page form .form-row input.input-text {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.75rem 0.9rem;
}

@media (max-width: 820px) { .woocommerce ul.products, .woocommerce-page ul.products { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .woocommerce ul.products, .woocommerce-page ul.products { grid-template-columns: 1fr; } }
