/*
Theme Name: Patram Herbal
Theme URI: https://patramherbal.com
Author: Patram Herbal
Author URI: https://patramherbal.com
Description: A clean, fully customizable WooCommerce theme for herbal and Ayurvedic wellness brands. Every colour, font, image, section and contact detail is editable from the WordPress Customizer. Built on standard WordPress APIs so it works with any plugin.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
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: patram-herbal
Tags: e-commerce, woocommerce, custom-colors, custom-logo, custom-menu, featured-images, full-width-template, translation-ready, theme-options
*/

/* ========== TOKENS (overridden live by Customizer) ==========
   The palette and rhythm follow the reference capture in /reference:
   a warm neutral ground, one saturated brand colour doing all the
   emphasis, pill buttons, and generous section padding. Montserrat
   carries both headings and body — the reference uses a single
   geometric sans throughout and mixing in a serif is what made the
   first pass read as a different kind of brand.
   ========== */
:root{
  --pat-primary:#0D9098;
  --pat-primary-dark:#0A737A;
  --pat-primary-deep:#075A60;
  --pat-accent:#D98324;
  --pat-accent-dark:#B86D18;

  --pat-ink:#111111;          /* headings — near-black, as the reference */
  --pat-body:#4A4A4A;
  --pat-muted:#767676;

  --pat-cream:#FDF6EC;        /* hero + footer ground */
  --pat-sand:#FBF1E3;
  --pat-grey:#F7F7F7;         /* alternating section ground */
  --pat-mint:#E9F5F5;
  --pat-line:#E6E6E6;
  --pat-white:#fff;
  --pat-star:#00B67A;         /* review blocks */

  --pat-radius:16px;
  --pat-radius-lg:24px;
  --pat-radius-pill:999px;
  --pat-shadow:0 2px 18px rgba(0,0,0,.06);
  --pat-shadow-lg:0 10px 40px rgba(0,0,0,.10);

  --pat-font-head:'Montserrat',system-ui,-apple-system,'Segoe UI',sans-serif;
  --pat-font-body:'Montserrat',system-ui,-apple-system,'Segoe UI',sans-serif;
  --pat-container:1280px;
  --pat-gap:clamp(40px,6vw,96px);
}

/* ========== RESET / BASE ========== */
*,*::before,*::after{box-sizing:border-box}
body{margin:0;font-family:var(--pat-font-body);color:var(--pat-body);background:var(--pat-white);
  font-size:17px;line-height:1.6;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
h1,h2,h3,h4,h5,h6{font-family:var(--pat-font-head);color:var(--pat-ink);margin:0 0 .5em;
  line-height:1.12;font-weight:700;letter-spacing:-.02em}
h1{font-size:clamp(2.2rem,1.5rem+2.9vw,3.5rem)}
h2{font-size:clamp(1.9rem,1.3rem+2.5vw,3rem)}
h3{font-size:clamp(1.25rem,1.05rem+.8vw,1.6rem)}
h4{font-size:1.1rem}
p{margin:0 0 1.1rem}
a{color:var(--pat-primary);text-decoration:none;transition:color .2s}
a:hover{color:var(--pat-primary-dark)}
img{max-width:100%;height:auto;display:block}
ul,ol{padding-left:1.2rem}
figure{margin:0}
blockquote{margin:1.5rem 0;padding:1rem 1.4rem;border-left:4px solid var(--pat-primary);background:var(--pat-mint);border-radius:0 var(--pat-radius) var(--pat-radius) 0}
table{width:100%;border-collapse:collapse}
th,td{padding:.7rem;border-bottom:1px solid var(--pat-line);text-align:left}
:focus-visible{outline:3px solid var(--pat-primary);outline-offset:2px}

/* ========== LAYOUT ========== */
.pat-container{max-width:var(--pat-container);margin:0 auto;padding:0 24px}
.pat-container--narrow{max-width:860px}
.pat-section{padding:var(--pat-gap) 0}
.pat-section--cream{background:var(--pat-cream)}
.pat-section--sand{background:var(--pat-sand)}
.pat-section--grey{background:var(--pat-grey)}
.pat-section--mint{background:var(--pat-mint)}
.pat-section--tight{padding:calc(var(--pat-gap) * .6) 0}
/* Two tight strips on the SAME ground read as one long empty run, so the
   second drops its top padding. Where the ground changes the full gap is
   kept — the colour change needs room to register as a new band. */
.pat-section--tight:not(.pat-section--cream) + .pat-section--tight:not(.pat-section--cream){padding-top:0}

/* Centred section heading — the reference ends nearly every one with a
   full stop, which is what makes the page read as statements. */
.pat-head{text-align:center;max-width:760px;margin:0 auto clamp(28px,3.6vw,52px)}
.pat-head:not(:has(p)){margin-bottom:clamp(22px,2.8vw,38px)}
.pat-head--left{text-align:left;margin-left:0}
.pat-head h2{margin-bottom:.35em}
.pat-head p{font-size:clamp(1rem,.95rem+.35vw,1.2rem);color:var(--pat-body);margin:0}
.pat-eyebrow{display:block;font-size:.78rem;font-weight:700;letter-spacing:.16em;
  text-transform:uppercase;color:var(--pat-primary);margin:0 0 .9rem}

.pat-grid{display:grid;gap:clamp(18px,2.2vw,28px)}
.pat-grid--2{grid-template-columns:repeat(2,1fr)}
.pat-grid--3{grid-template-columns:repeat(3,1fr)}
.pat-grid--4{grid-template-columns:repeat(4,1fr)}
.pat-grid--6{grid-template-columns:repeat(6,1fr)}

/* ========== BUTTONS ========== */
.pat-btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;
  padding:16px 34px;border:2px solid transparent;border-radius:var(--pat-radius-pill);
  font-family:var(--pat-font-head);font-size:.92rem;font-weight:700;letter-spacing:.02em;
  line-height:1;cursor:pointer;text-align:center;transition:background-color .2s,color .2s,border-color .2s,transform .2s}
.pat-btn:hover{transform:translateY(-1px)}
.pat-btn--primary{background:var(--pat-primary);border-color:var(--pat-primary);color:#fff}
.pat-btn--primary:hover{background:var(--pat-primary-dark);border-color:var(--pat-primary-dark);color:#fff}
.pat-btn--outline{background:transparent;border-color:var(--pat-primary);color:var(--pat-primary)}
.pat-btn--outline:hover{background:var(--pat-primary);color:#fff}
.pat-btn--dark{background:var(--pat-ink);border-color:var(--pat-ink);color:#fff}
.pat-btn--dark:hover{background:#000;color:#fff}
.pat-btn--light{background:#fff;border-color:#fff;color:var(--pat-ink)}
.pat-btn--wide{width:100%}
.pat-btn--caps{text-transform:uppercase;letter-spacing:.06em}
.pat-btn--sm{padding:12px 24px;font-size:.84rem}

/* Underlined inline link, used in the reference's hero copy */
.pat-underline{color:var(--pat-primary);text-decoration:underline;text-underline-offset:4px;
  text-decoration-thickness:2px;font-weight:700}

/* ========== REVIEW STARS (Trustpilot-style blocks) ========== */
.pat-stars{display:inline-flex;gap:3px;vertical-align:middle}
.pat-stars span{width:20px;height:20px;background:var(--pat-star);display:grid;place-items:center}
.pat-stars svg{width:14px;height:14px;fill:#fff}
.pat-stars--sm span{width:16px;height:16px}
.pat-stars--sm svg{width:11px;height:11px}
.pat-reviewline{display:flex;align-items:center;gap:.6rem;flex-wrap:wrap;
  font-size:.95rem;font-weight:700;color:var(--pat-ink)}

/* ========== FORMS ========== */
input[type=text],input[type=email],input[type=search],input[type=tel],input[type=url],
input[type=password],input[type=number],textarea,select{
  width:100%;padding:13px 16px;border:1px solid var(--pat-line);border-radius:10px;
  font-family:var(--pat-font-body);font-size:.95rem;color:var(--pat-ink);background:#fff}
input:focus,textarea:focus,select:focus{outline:none;border-color:var(--pat-primary);box-shadow:0 0 0 3px rgba(13,144,152,.14)}
label{font-weight:500;font-size:.9rem;color:var(--pat-ink);display:block;margin-bottom:.35rem}

/* ========== TOPBAR ========== */
.pat-topbar{background:var(--pat-primary);color:#fff;text-align:center;
  padding:11px 16px;font-size:.84rem;font-weight:600;letter-spacing:.01em}
.pat-topbar a{color:#fff;text-decoration:underline;text-underline-offset:3px}

/* ========== HEADER ========== */
.pat-header{background:#fff;position:sticky;top:0;z-index:100;border-bottom:1px solid var(--pat-line)}
.pat-header__inner{display:flex;align-items:center;gap:24px;min-height:88px}
/* Brand lockup. The bundled logo is a square badge whose wordmark is far
   too small to read at header size, so the name is set in type beside it;
   the badge gets a radius so it reads as a deliberate mark rather than an
   unstyled square dropped on the white header. */
.pat-logo{flex:0 0 auto;min-width:0}
.pat-logo__link{display:flex;align-items:center;gap:clamp(10px,1vw,15px);text-decoration:none}
.pat-logo img{max-height:64px;width:auto;height:auto;display:block}
/* Only the bundled square tile is rounded — an uploaded logo is usually
   already the right shape and must not be clipped. */
.pat-logo__img--badge{border-radius:14px}
.pat-logo__text{display:flex;flex-direction:column;justify-content:center;min-width:0}
.pat-logo__name{font-family:var(--pat-font-head);font-weight:700;
  font-size:clamp(1.15rem,1rem+.55vw,1.42rem);line-height:1.05;color:var(--pat-ink);
  letter-spacing:.005em;white-space:nowrap}
/* The sub-line carries the brand tagline, which is longer than a single
   word, so it no longer forces one line. The header is already at capacity
   on a small phone — logo, name and the four action icons fill 360px on
   their own — so the tagline steps aside there rather than pushing the
   burger off the edge. */
.pat-logo__sub{margin-top:3px;font-family:var(--pat-font-head);font-weight:600;
  font-size:clamp(.56rem,.5rem+.14vw,.64rem);letter-spacing:.18em;text-transform:uppercase;
  color:var(--pat-primary);line-height:1.35}
@media(max-width:560px){.pat-header .pat-logo__sub{display:none}}
.pat-logo__link:hover .pat-logo__name{color:var(--pat-primary-dark)}
.pat-logo__name,.pat-logo__sub{transition:color .25s var(--pat-ease)}

/* The reference centres the nav and pushes the icons right, which needs
   the nav to take the free space rather than sit next to the logo. */
.pat-nav{flex:1 1 auto;display:flex;justify-content:center}
.pat-nav ul{display:flex;align-items:center;gap:clamp(18px,2.6vw,42px);list-style:none;margin:0;padding:0}
.pat-nav li{position:relative}
.pat-nav a{font-family:var(--pat-font-head);font-size:.88rem;font-weight:700;
  letter-spacing:.05em;text-transform:uppercase;color:var(--pat-ink);white-space:nowrap}
.pat-nav a:hover,.pat-nav .current-menu-item>a{color:var(--pat-primary)}

.pat-nav .sub-menu{position:absolute;top:100%;left:50%;transform:translate(-50%,10px);
  min-width:230px;background:#fff;border:1px solid var(--pat-line);border-radius:var(--pat-radius);
  box-shadow:var(--pat-shadow-lg);padding:10px 0;display:block;flex-direction:column;gap:0;
  opacity:0;visibility:hidden;transition:opacity .22s,transform .22s,visibility .22s}
.pat-nav li:hover>.sub-menu,.pat-nav li:focus-within>.sub-menu{opacity:1;visibility:visible;transform:translate(-50%,0)}
.pat-nav .sub-menu a{display:block;padding:9px 20px;text-transform:none;letter-spacing:0;
  font-size:.92rem;font-weight:500;white-space:nowrap}
.pat-nav .sub-menu a:hover{background:var(--pat-cream)}

.pat-actions{flex:0 0 auto;display:flex;align-items:center;gap:18px}
.pat-actions a{color:var(--pat-ink);display:grid;place-items:center}
.pat-actions a:hover{color:var(--pat-primary)}
.pat-cart{position:relative}
.pat-cart__count{position:absolute;top:-7px;right:-10px;min-width:19px;height:19px;padding:0 5px;
  background:var(--pat-accent);color:#fff;border-radius:var(--pat-radius-pill);
  font-size:.66rem;font-weight:700;display:grid;place-items:center;line-height:1}
.pat-burger{display:none;background:none;border:0;padding:0;cursor:pointer;color:var(--pat-ink)}

/* ========== HERO ==========
   Copy on a cream panel at the left, photography bleeding off the right
   edge. The image column is not padded by the container — in the
   reference it runs to the viewport edge, which is what gives the band
   its scale. */
.pat-hero{background:var(--pat-cream);position:relative;overflow:hidden}
.pat-hero__grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  align-items:center;gap:clamp(24px,4vw,56px);min-height:clamp(480px,54vw,660px)}
.pat-hero__body{padding:clamp(40px,5vw,72px) 0;max-width:620px}
.pat-hero__kicker{font-size:.92rem;color:var(--pat-body);margin:0 0 1rem}
.pat-hero h1{margin:0 0 1.1rem;font-size:clamp(2.1rem,1.2rem+3.4vw,3.4rem);line-height:1.1}
.pat-hero__lede{font-size:clamp(1rem,.95rem+.3vw,1.12rem);margin:0 0 1rem;color:var(--pat-body)}
.pat-hero__ctas{display:flex;flex-wrap:wrap;gap:14px;margin-top:1.6rem}
.pat-hero__media{position:relative;align-self:stretch;min-height:320px}
.pat-hero__media img{width:100%;height:100%;object-fit:cover;object-position:center}
.pat-hero__placeholder{position:absolute;inset:0;display:grid;place-items:center;text-align:center;
  padding:24px;background:linear-gradient(140deg,var(--pat-primary),var(--pat-primary-deep));
  color:rgba(255,255,255,.9);font-size:1.05rem}
.pat-hero__reviewbar{background:var(--pat-cream);border-top:1px solid rgba(0,0,0,.06);
  padding:14px 0;text-align:center;font-size:.9rem;color:var(--pat-body)}
.pat-hero__reviewbar strong{color:var(--pat-ink)}

/* ========== PRESS / LOGO STRIP ========== */
.pat-press{padding:calc(var(--pat-gap) * .6) 0;background:#fff;text-align:center}
.pat-press__title{font-family:var(--pat-font-head);font-weight:700;font-size:1.15rem;
  color:var(--pat-ink);margin:0 0 2rem}
.pat-press__row{display:flex;align-items:center;justify-content:center;
  gap:clamp(28px,5vw,64px);flex-wrap:wrap}
.pat-press__row img{max-height:34px;width:auto;opacity:.55;filter:grayscale(1);transition:opacity .2s}
.pat-press__row img:hover{opacity:.85}
.pat-press__row span{font-family:var(--pat-font-head);font-weight:700;font-size:1.05rem;
  color:#9a9a9a;letter-spacing:.01em}

/* ========== TRUST BAND ==========
   A deep teal strip directly under the cream benefits block. The colour
   change is what separates the two sections, so there is no border here —
   two cream bands in a row with a hairline between them read as one huge
   empty gap, which is what this replaces. */
.pat-trust{position:relative;overflow:hidden;
  background:linear-gradient(115deg,var(--pat-primary-deep) 0%,var(--pat-primary) 58%,var(--pat-primary-dark) 100%);
  padding:clamp(34px,4.5vw,58px) 0;color:#fff}
/* Soft light source, top-left, so the flat fill has some depth. */
.pat-trust::before{content:"";position:absolute;top:-55%;left:-10%;width:60%;height:210%;
  background:radial-gradient(closest-side,rgba(255,255,255,.14),transparent 70%);pointer-events:none}
.pat-trust .pat-container{position:relative}
.pat-trust__row{display:grid;grid-template-columns:repeat(4,1fr);gap:clamp(20px,2.4vw,34px)}
.pat-trust__item{display:flex;align-items:flex-start;gap:.9rem;text-align:left;
  padding-left:clamp(18px,2vw,28px);border-left:1px solid rgba(255,255,255,.2)}
.pat-trust__item:first-child{padding-left:0;border-left:0}
.pat-trust__icon{display:grid;place-items:center;flex:none;width:44px;height:44px;border-radius:50%;
  background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.26);color:#fff;
  transition:background-color .35s var(--pat-ease),transform .35s var(--pat-ease)}
.pat-trust__icon svg{display:block;width:22px;height:22px}
.pat-trust__item:hover .pat-trust__icon{background:rgba(255,255,255,.26);transform:translateY(-3px)}
.pat-trust__text{display:flex;flex-direction:column;gap:.22rem;min-width:0}
.pat-trust__text strong{font-family:var(--pat-font-head);font-weight:700;
  font-size:clamp(.94rem,.88rem+.2vw,1.04rem);line-height:1.3;color:#fff}
.pat-trust__text span{font-size:.85rem;line-height:1.45;color:rgba(255,255,255,.78)}
@media(max-width:900px){
  .pat-trust__row{grid-template-columns:repeat(2,1fr);row-gap:26px}
  .pat-trust__item:nth-child(odd){padding-left:0;border-left:0}
}
@media(max-width:520px){
  .pat-trust__row{grid-template-columns:1fr;row-gap:20px}
  .pat-trust__item{padding-left:0;border-left:0}
}

/* ========== BENEFITS GRID ==========
   Six claim cards on cream. patram_icon() returns an inline <svg>, so the
   icon tile is a grid container rather than relying on margin auto — an
   inline element cannot be centred that way. */
.pat-benefits{position:relative;overflow:hidden;background:var(--pat-cream);
  padding-bottom:clamp(40px,5vw,72px)}
.pat-benefits__glow{position:absolute;top:-30%;right:-12%;width:55%;height:150%;
  background:radial-gradient(closest-side,rgba(13,144,152,.09),transparent 72%);
  pointer-events:none}
.pat-benefits .pat-container{position:relative}
.pat-benefits__grid{display:grid;grid-template-columns:repeat(3,1fr);
  gap:clamp(16px,1.6vw,22px);margin-bottom:clamp(30px,3.4vw,46px)}

.pat-benefit{position:relative;overflow:hidden;background:#fff;border:1px solid var(--pat-line);
  border-radius:var(--pat-radius-lg);padding:clamp(24px,2.4vw,32px);
  transition:transform .4s var(--pat-ease),box-shadow .4s var(--pat-ease),border-color .4s}
/* Teal wash that wipes up from the bottom on hover. */
.pat-benefit::after{content:"";position:absolute;left:0;right:0;bottom:0;height:3px;
  background:linear-gradient(90deg,var(--pat-primary),var(--pat-accent));
  transform:scaleX(0);transform-origin:left;transition:transform .45s var(--pat-ease)}
.pat-benefit:hover{transform:translateY(-6px);border-color:transparent;
  box-shadow:0 22px 44px -26px rgba(7,90,96,.45)}
.pat-benefit:hover::after{transform:scaleX(1)}

.pat-benefit__icon{display:grid;place-items:center;width:52px;height:52px;margin-bottom:1.1rem;
  border-radius:15px;background:var(--pat-mint);color:var(--pat-primary-dark);
  transition:background-color .4s var(--pat-ease),color .4s,transform .4s var(--pat-ease)}
.pat-benefit__icon svg{display:block;width:26px;height:26px}
.pat-benefit:hover .pat-benefit__icon{background:var(--pat-primary);color:#fff;
  transform:translateY(-2px) rotate(-4deg)}

.pat-benefit__title{font-family:var(--pat-font-head);font-weight:700;
  font-size:clamp(1rem,.94rem+.28vw,1.14rem);line-height:1.3;color:var(--pat-ink);
  margin:0 0 .45rem}
.pat-benefit__sub{margin:0;font-size:.92rem;line-height:1.55;color:var(--pat-body)}

/* Index number, sitting behind the content as a watermark. */
.pat-benefit__num{position:absolute;top:14px;right:20px;font-family:var(--pat-font-head);
  font-weight:800;font-size:2.4rem;line-height:1;color:var(--pat-ink);opacity:.055;
  letter-spacing:-.03em;transition:opacity .4s,color .4s}
.pat-benefit:hover .pat-benefit__num{color:var(--pat-primary);opacity:.14}

.pat-benefits__cta{text-align:center}
@media(max-width:980px){.pat-benefits__grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:620px){
  .pat-benefits__grid{grid-template-columns:1fr}
  .pat-benefit{padding:22px}
  .pat-benefit__num{font-size:2rem;top:12px;right:16px}
}

/* ========== PRODUCT CARDS ==========
   White card, generous radius, image on its own ground, then title,
   review blocks, a two-line description and a full-width button. */
.pat-card{background:#fff;border-radius:var(--pat-radius-lg);box-shadow:var(--pat-shadow);
  overflow:hidden;display:flex;flex-direction:column;height:100%;
  transition:box-shadow .25s,transform .25s}
.pat-card:hover{box-shadow:var(--pat-shadow-lg);transform:translateY(-3px)}
.pat-card__media{aspect-ratio:1/1;background:var(--pat-white);display:grid;place-items:center;padding:20px}
.pat-card__media img{width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply}
.pat-card__body{padding:8px 26px 28px;display:flex;flex-direction:column;flex:1}

/* Cards in a rail sit side by side, so their parts have to line up across
   the row, not just stack neatly inside one card. Titles and descriptions
   are clamped AND floored to the same height so the stars, copy and
   footer share a baseline however long the product name is. */
.pat-card__title{font-size:1.15rem;font-weight:700;line-height:1.3;margin:0 0 .55rem;color:var(--pat-ink);
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
  min-height:calc(2 * 1.3em)}
.pat-card__title a{color:inherit}
.pat-card__title a:hover{color:var(--pat-primary)}
.pat-card__desc,.pat-card__excerpt{font-size:.92rem;line-height:1.55;color:var(--pat-body);margin:.7rem 0 0;
  display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;
  min-height:calc(3 * 1.55em)}
.pat-card__price{font-weight:700;color:var(--pat-ink);margin:0 0 1rem;font-size:1.05rem;min-height:1.6em}
.pat-card__price del{color:var(--pat-muted);font-weight:500;margin-right:.4rem}
.pat-card__price ins{text-decoration:none}
/* margin-top:auto is what pins the price and button to the bottom of the
   tallest card in the row. */
.pat-card__foot{margin-top:auto;padding-top:1.2rem}
.pat-card .pat-stars{margin-bottom:.1rem}

/* Horizontal scroll rail — the reference's product carousel */
/* position:relative matters more than it looks: the cards contain
   screen-reader-only labels that are position:absolute. Without a
   positioned ancestor they resolve against the page, land wherever the
   card sits along the rail's 2060px scroll width, and drag the whole
   document sideways. Making the rail their containing block lets the
   rail's own overflow clip them. */
.pat-rail{position:relative;display:flex;align-items:stretch;gap:clamp(16px,2vw,26px);overflow-x:auto;scroll-snap-type:x mandatory;
  padding:6px 4px 10px;margin:0 -4px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.pat-rail::-webkit-scrollbar{display:none}
.pat-rail>*{flex:0 0 clamp(250px,26%,330px);scroll-snap-align:start}
.pat-rail__dots{display:flex;justify-content:center;gap:9px;margin-top:2rem}
.pat-rail__dots button{width:10px;height:10px;border-radius:50%;border:0;padding:0;cursor:pointer;
  background:#D6D6D6;transition:background-color .2s,transform .2s}
.pat-rail__dots button.is-active{background:var(--pat-primary);transform:scale(1.25)}

/* ========== SPLIT / STORY ==========
   Alternating image-and-text rows. The reference floats a circular or
   rounded image against a flat ground rather than boxing it in. */
.pat-split{display:grid;grid-template-columns:repeat(2,1fr);align-items:center;
  gap:clamp(32px,5vw,80px)}
.pat-split--reverse .pat-split__media{order:2}
.pat-split__media img{width:100%;border-radius:var(--pat-radius-lg)}
.pat-split__media--round img{border-radius:50%;aspect-ratio:1/1;object-fit:cover}
.pat-split__body h2{margin-bottom:.6em}
.pat-split__body p{font-size:1.02rem}
.pat-split__body .pat-btn{margin-top:1.2rem}
.pat-quote{font-size:1.02rem;line-height:1.7;color:var(--pat-body)}
.pat-quote__author{font-weight:700;color:var(--pat-ink);margin-top:1.2rem;font-size:.95rem}

/* ========== TESTIMONIALS ========== */
.pat-quotecard{background:#fff;border-radius:var(--pat-radius-lg);padding:30px;
  box-shadow:var(--pat-shadow);height:100%;display:flex;flex-direction:column}
.pat-quotecard p{font-size:1rem;line-height:1.65;margin:1rem 0 0}
.pat-quotecard__name{margin-top:auto;padding-top:1.3rem;font-weight:700;color:var(--pat-ink);font-size:.92rem}

/* ========== LOGO / ACCREDITATION GRID ==========
   The reference fills these strips with real logos. Until artwork
   exists the names are set as bordered badges of a common height — bare
   grey words on a wide band read as unstyled text rather than a
   deliberate credentials row. Swap in a logo per item and the badge
   chrome drops away automatically. */
.pat-badges{display:flex;flex-wrap:wrap;justify-content:center;align-items:stretch;
  gap:clamp(14px,1.8vw,24px)}
.pat-badges img{max-height:70px;width:auto;opacity:.7;filter:grayscale(1);
  align-self:center;transition:opacity .2s,filter .2s}
.pat-badges img:hover{opacity:1;filter:none}
.pat-badges span{display:flex;align-items:center;justify-content:center;text-align:center;
  min-height:62px;padding:.7rem 1.5rem;
  border:1px solid var(--pat-line);border-radius:var(--pat-radius);background:#fff;
  font-family:var(--pat-font-head);font-weight:700;font-size:.9rem;
  letter-spacing:.02em;color:var(--pat-muted);transition:border-color .2s,color .2s}
.pat-badges span:hover{border-color:var(--pat-primary);color:var(--pat-ink)}
/* On cream the badge ground would disappear, so it borrows the page white. */
.pat-section--cream .pat-badges span{background:rgba(255,255,255,.72)}

/* ========== FAQ ========== */
.pat-faq{max-width:880px;margin:0 auto}
.pat-faq__item{border-bottom:1px solid var(--pat-line)}
.pat-faq__q{width:100%;display:flex;justify-content:space-between;align-items:center;gap:1.5rem;
  background:none;border:0;padding:24px 0;cursor:pointer;text-align:left;
  font-family:var(--pat-font-head);font-size:1.05rem;font-weight:700;color:var(--pat-ink);
  line-height:1.4;transition:color .2s}
.pat-faq__q:hover{color:var(--pat-primary)}
/* The question is wrapped in a span so it is one flex item. A bare text
   node would become an anonymous item and space-between would then push
   the marker into the middle of the row. */
.pat-faq__q>span{flex:1 1 auto}
.pat-faq__q::after{content:"+";font-size:1.6rem;font-weight:400;color:var(--pat-primary);
  transition:transform .25s var(--pat-ease,ease);flex:0 0 auto;line-height:1;width:24px;text-align:center}
.pat-faq__item.is-open .pat-faq__q::after{transform:rotate(45deg)}
.pat-faq__a{display:none;padding:0 0 26px;max-width:72ch}
.pat-faq__a p{margin:0}
.pat-faq__item.is-open .pat-faq__a{display:block}

/* ========== NEWSLETTER ========== */
.pat-news{background:var(--pat-grey);text-align:center}
.pat-news h2{max-width:720px;margin-left:auto;margin-right:auto}
.pat-news__form{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;margin-top:1.8rem}
.pat-news__form input[type=email]{flex:1 1 380px;max-width:420px;padding:16px 24px;
  border:1px solid #D8D8D8;border-radius:var(--pat-radius-pill);font:inherit;font-size:1rem;background:#fff}
.pat-news__form input[type=email]:focus{outline:none;border-color:var(--pat-primary)}
.pat-news__note{display:flex;align-items:center;justify-content:center;gap:.6rem;
  margin-top:1.1rem;font-size:.88rem;color:var(--pat-muted)}

/* ========== PAGE HEADER ========== */
.pat-pagehead{background:var(--pat-cream);padding:56px 0;text-align:center}
/* Illustrated page banner. Shown at its own proportions rather than cropped
   — the artwork carries the page title, and a crop would cut into it. */
.pat-pagehead--banner{padding:0;overflow:hidden}
/* Shown at a page-header height rather than the artwork's own proportions:
   at full size a 2:1 banner is nearly 600px tall and a 1.45:1 one over 800,
   which is most of a laptop screen before any content starts. The artwork is
   cropped to fit, centred — the illustrated banners carry their wording in
   the middle, so a centre crop keeps it. */
/* The page banners are 4:1 artwork, so they run the full width of the screen
   at a quarter of its height — 480px on a 1920 screen, 320px on a 1280 one —
   with no crop at any size. */
.pat-pagehead__img{display:block;width:100%;height:auto;margin:0 auto}
/* The shop banner is still the old 1.45:1 artwork; at full width it would be
   over 1000px tall, so it stays capped and centred until a 4:1 one exists. */
.woocommerce-shop .pat-pagehead__img{width:auto;max-width:700px}
.pat-pagehead--banner .pat-container{padding-top:14px;padding-bottom:14px}
.pat-pagehead--banner .pat-crumbs{text-align:center}
.pat-pagehead h1{margin-bottom:.4rem}
.pat-crumbs{font-size:.85rem;color:var(--pat-body)}
.pat-crumbs a{color:var(--pat-primary)}

/* ========== BLOG ==========
   The reference drops the card chrome entirely on the index: no border,
   no shadow, just the image and the type. Cards read as a set because
   they share a baseline grid, not because they are boxed. ========== */
.pat-blogmast{background:#fff;text-align:center;padding:clamp(48px,7vw,86px) 0 clamp(28px,4vw,44px)}
.pat-blogmast__title{font-size:clamp(2.4rem,1.5rem+3.6vw,4rem);margin:0}
.pat-blogmast__intro{max-width:56ch;margin:1.1rem auto 0;color:var(--pat-body);
  font-size:clamp(1rem,.95rem+.3vw,1.14rem)}

/* Category filter bar */
.pat-catbar{background:var(--pat-cream);border-block:1px solid rgba(0,0,0,.05)}
.pat-catbar ul{display:flex;flex-wrap:wrap;justify-content:center;
  gap:clamp(14px,2.4vw,40px);list-style:none;margin:0;padding:18px 0}
.pat-catbar a{font-family:var(--pat-font-head);font-weight:700;font-size:.95rem;
  color:var(--pat-primary);white-space:nowrap}
.pat-catbar a:hover{color:var(--pat-primary-dark);text-decoration:underline;text-underline-offset:4px}
.pat-catbar a.is-current{color:var(--pat-ink)}

.pat-postgrid{display:grid;grid-template-columns:repeat(3,1fr);
  gap:clamp(28px,3.4vw,52px) clamp(22px,2.6vw,38px)}

.pat-post{background:none;border:0;border-radius:0;display:flex;flex-direction:column}
.pat-post__media{display:block;aspect-ratio:16/11;background:var(--pat-mint);
  overflow:hidden;border-radius:var(--pat-radius);position:relative}
.pat-post__media img{width:100%;height:100%;object-fit:cover;transition:transform .5s ease}
.pat-post:hover .pat-post__media img{transform:scale(1.04)}
.pat-post__ph{position:absolute;inset:0;display:grid;place-items:center;
  font-family:var(--pat-font-head);font-weight:700;color:var(--pat-primary);opacity:.45;font-size:.95rem}

.pat-post__body{padding:18px 0 0;display:flex;flex-direction:column;flex:1}
.pat-post__tags{display:flex;flex-wrap:wrap;gap:.9rem;margin:0 0 .6rem}
.pat-post__tags a{font-size:.85rem;font-weight:500;color:var(--pat-primary)}
.pat-post__tags a:hover{text-decoration:underline;text-underline-offset:3px}
.pat-post__title{font-size:clamp(1.15rem,1.05rem+.4vw,1.4rem);line-height:1.25;margin:0 0 .7rem;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
/* In a row of cards the titles must reserve the same space, or every
   excerpt below a one-line title floats up out of alignment. */
.pat-grid .pat-post__title,.pat-postgrid .pat-post__title{min-height:calc(2 * 1.25em)}
.pat-post__excerpt{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.pat-grid .pat-post__excerpt,.pat-postgrid .pat-post__excerpt{min-height:calc(3 * 1.6em)}
.pat-post__meta{font-size:.85rem;color:var(--pat-muted);margin-top:auto;padding-top:1rem}
.pat-post__title a{color:var(--pat-ink)}
.pat-post__title a:hover{color:var(--pat-primary)}
.pat-post__excerpt{color:var(--pat-body);font-size:.97rem;line-height:1.6;margin:0}
.pat-post__more{margin:1.1rem 0 0;padding-top:0}
.pat-post__more a{display:inline-flex;align-items:center;gap:.5rem;
  font-family:var(--pat-font-head);font-weight:700;font-size:.95rem;color:var(--pat-primary)}
.pat-post__more svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;
  stroke-linecap:round;stroke-linejoin:round;transition:transform .25s}
.pat-post__more a:hover svg{transform:translateX(5px)}

@media(max-width:980px){.pat-postgrid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:620px){.pat-postgrid{grid-template-columns:1fr}}

/* ========== SINGLE POST ========== */
.pat-single__head{background:var(--pat-cream);padding:clamp(40px,6vw,76px) 0;text-align:center}
.pat-single__head h1{max-width:20ch;margin:.6rem auto .8rem;
  font-size:clamp(1.9rem,1.3rem+2.6vw,3rem)}
.pat-single__meta{font-size:.9rem;color:var(--pat-body)}
.pat-single__hero{max-width:940px;margin:clamp(-30px,-3vw,-20px) auto 0;padding:0 24px}
.pat-single__hero img{width:100%;border-radius:var(--pat-radius-lg);aspect-ratio:16/9;object-fit:cover}

.pagination,.woocommerce-pagination{display:flex;justify-content:center;gap:8px;margin:clamp(40px,5vw,64px) 0 0;flex-wrap:wrap}
.pagination .page-numbers,.woocommerce-pagination .page-numbers{display:flex;align-items:center;justify-content:center;
  min-width:44px;height:44px;padding:0 14px;border:1px solid var(--pat-line);
  border-radius:var(--pat-radius-pill);color:var(--pat-ink);font-weight:700;font-size:.9rem;list-style:none}
.pagination .page-numbers:hover{border-color:var(--pat-primary);color:var(--pat-primary)}
.pagination .page-numbers.current,.woocommerce-pagination .page-numbers.current{background:var(--pat-primary);color:#fff;border-color:var(--pat-primary)}
.woocommerce-pagination ul{display:flex;gap:8px;list-style:none;padding:0;margin:0;border:none}
.woocommerce-pagination ul li{border:none;margin:0}
.pat-entry{max-width:820px;margin:0 auto}
.pat-entry img{border-radius:var(--pat-radius)}

/* ========== CONTACT ========== */
.pat-contact-grid{display:grid;grid-template-columns:1fr 1.3fr;gap:44px;align-items:start}
.pat-info__item{display:flex;gap:14px;margin-bottom:22px}
.pat-info__icon{flex:0 0 auto;width:44px;height:44px;border-radius:50%;background:var(--pat-mint);
  color:var(--pat-primary);display:flex;align-items:center;justify-content:center}
.pat-info__label{font-weight:600;color:var(--pat-ink);font-size:.95rem;margin-bottom:2px}
.pat-info__val{font-size:.93rem;margin:0}
.pat-map iframe{width:100%;height:340px;border:0;border-radius:var(--pat-radius-lg)}

/* ========== FOOTER ==========
   Four link columns beside the mark, on the same cream as the hero so
   the page closes where it opened. ========== */
.pat-footer{background:var(--pat-cream);color:var(--pat-ink);padding:calc(var(--pat-gap) * .85) 0 0}
.pat-footer__top{display:grid;grid-template-columns:minmax(150px,220px) repeat(4,1fr);
  gap:clamp(24px,3vw,48px);align-items:start}
.pat-footer__brand img{max-height:84px;width:auto;height:auto}
.pat-footer__brand .pat-logo__link{display:inline-flex;align-items:center;gap:14px}
.pat-footer__brand p{margin:1.1rem 0 0;font-size:.9rem;color:var(--pat-body);max-width:26ch}
.pat-footer__col h4{font-family:var(--pat-font-head);font-size:1rem;font-weight:700;
  color:var(--pat-ink);margin:0 0 1.1rem}
.pat-footer__col ul{list-style:none;margin:0;padding:0;display:grid;gap:.7rem}
.pat-footer__col a{color:var(--pat-body);font-size:.95rem}
.pat-footer__col a:hover{color:var(--pat-primary)}

.pat-footer__social{display:flex;gap:14px;margin-top:1.4rem}
.pat-footer__social a{width:38px;height:38px;border-radius:50%;border:1px solid var(--pat-line);
  display:grid;place-items:center;color:var(--pat-ink)}
.pat-footer__social a:hover{background:var(--pat-primary);border-color:var(--pat-primary);color:#fff}
.pat-footer__social svg{width:17px;height:17px}

.pat-footer__bottom{margin-top:calc(var(--pat-gap) * .7);padding:24px 0;
  border-top:1px solid rgba(0,0,0,.08);display:flex;flex-wrap:wrap;gap:12px 28px;
  align-items:center;justify-content:space-between;font-size:.85rem;color:var(--pat-muted)}
.pat-footer__bottom ul{display:flex;flex-wrap:wrap;gap:12px 22px;list-style:none;margin:0;padding:0}
.pat-footer__bottom a{color:var(--pat-muted)}
.pat-footer__bottom a:hover{color:var(--pat-primary)}

/* ========== RESPONSIVE ========== */
@media(max-width:1080px){
  .pat-footer__top{grid-template-columns:repeat(3,1fr)}
  .pat-footer__brand{grid-column:1/-1}
}
@media(max-width:980px){
  .pat-nav{display:none}
  .pat-burger{display:grid}
  .pat-header__inner{min-height:72px}
  .pat-nav-open .pat-nav{display:none}
  .pat-hero__grid{grid-template-columns:1fr;min-height:0}
  .pat-hero__body{padding:44px 0 8px;max-width:none}
  .pat-hero__media{min-height:clamp(260px,56vw,420px);margin:0 -24px;border-radius:0}
  .pat-split{grid-template-columns:1fr;gap:28px}
  .pat-split--reverse .pat-split__media{order:0}
  .pat-grid--3,.pat-grid--4{grid-template-columns:repeat(2,1fr)}
  .pat-rail>*{flex-basis:clamp(230px,62%,300px)}
}
@media(max-width:680px){
  :root{--pat-gap:clamp(34px,9vw,56px)}
  .pat-benefits__grid{grid-template-columns:1fr}
  .pat-grid--2,.pat-grid--3,.pat-grid--4,.pat-grid--6{grid-template-columns:1fr}
  .pat-footer__top{grid-template-columns:repeat(2,1fr)}
  .pat-footer__bottom{flex-direction:column;align-items:flex-start}
  .pat-news__form input[type=email]{flex-basis:100%}
  .pat-hero__ctas .pat-btn{flex:1 1 100%}
  .pat-container{padding:0 18px}
}

/* ========== WOOCOMMERCE ========== */
.woocommerce ul.products{display:grid;gap:26px;list-style:none;margin:0;padding:0}
.woocommerce ul.products.columns-1{grid-template-columns:1fr}
.woocommerce ul.products.columns-2{grid-template-columns:repeat(2,1fr)}
.woocommerce ul.products.columns-3{grid-template-columns:repeat(3,1fr)}
.woocommerce ul.products.columns-4{grid-template-columns:repeat(4,1fr)}
.woocommerce ul.products::before,.woocommerce ul.products::after{display:none}

.woocommerce ul.products li.product{
  background:#fff;border:1px solid var(--pat-line);border-radius:var(--pat-radius-lg);
  overflow:hidden;display:flex;flex-direction:column;position:relative;
  margin:0!important;width:auto!important;float:none!important;text-align:left;
  transition:transform .25s,box-shadow .25s}
.woocommerce ul.products li.product:hover{transform:translateY(-4px);box-shadow:var(--pat-shadow-lg)}
.woocommerce ul.products li.product .pat-card__inner{display:flex;flex-direction:column;height:100%}
.woocommerce ul.products li.product a img{background:var(--pat-cream);aspect-ratio:1/1;object-fit:cover;margin:0;width:100%}
.woocommerce ul.products li.product .woocommerce-loop-product__title{
  font-family:var(--pat-font-head);font-size:1.12rem;color:var(--pat-ink);
  padding:20px 20px 6px;margin:0;line-height:1.3}
.woocommerce ul.products li.product .price{
  padding:0 20px;color:var(--pat-ink);font-weight:700;font-size:1.02rem;margin:0 0 14px;display:block}
.woocommerce ul.products li.product .price del{color:#9AA8A7;font-weight:400;font-size:.92em;margin-right:6px}
.woocommerce ul.products li.product .price ins{text-decoration:none;color:var(--pat-ink)}
.woocommerce ul.products li.product .star-rating{margin:0 20px 10px;font-size:.8rem;color:#F5A623}
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .added_to_cart{
  margin:auto 20px 20px;background:var(--pat-primary);color:#fff!important;
  opacity:1;border-radius:999px;padding:13px 22px;font-size:.9rem;font-weight:600;
  display:flex;align-items:center;justify-content:center;text-align:center}
.woocommerce ul.products li.product .button:hover{background:var(--pat-primary-dark)}
.woocommerce ul.products li.product .button.loading{opacity:.7}

/* sale badge */
.woocommerce span.onsale,.pat-badge{
  position:absolute;top:14px;left:14px;z-index:5;background:var(--pat-accent);color:#fff;
  font-size:.7rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;
  padding:6px 12px;border-radius:999px;line-height:1;margin:0;min-height:0;min-width:0}

/* shop toolbar */
.pat-shoptools{display:flex;justify-content:space-between;align-items:center;gap:16px;
  flex-wrap:wrap;margin-bottom:26px}
.woocommerce .woocommerce-result-count{margin:0;color:var(--pat-body);font-size:.9rem}
.woocommerce .woocommerce-ordering{margin:0}
.woocommerce .woocommerce-ordering select{padding:10px 14px;border-radius:999px;border:1px solid var(--pat-line)}

/* single product */
.woocommerce div.product{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:start}
.woocommerce div.product .woocommerce-product-gallery{width:100%!important;float:none!important;margin:0}
.woocommerce div.product .woocommerce-product-gallery img{border-radius:var(--pat-radius-lg)}
.woocommerce div.product .summary{margin:0!important;width:auto!important;float:none!important}
.woocommerce div.product .product_title{font-size:clamp(1.7rem,3vw,2.4rem);margin-bottom:.5rem}
.woocommerce div.product p.price,.woocommerce div.product span.price{
  color:var(--pat-ink);font-size:1.6rem;font-weight:700;margin-bottom:1rem}
.woocommerce div.product p.price del{color:#9AA8A7;font-weight:400;font-size:.7em}
.woocommerce div.product p.price ins{text-decoration:none}
.woocommerce div.product form.cart{margin:24px 0;display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.woocommerce div.product form.cart .quantity input{width:86px;text-align:center;padding:14px 8px;border-radius:999px}
.woocommerce div.product .woocommerce-tabs{grid-column:1/-1;margin-top:20px}
.woocommerce div.product .woocommerce-tabs ul.tabs{padding:0;margin:0 0 20px;display:flex;gap:8px;flex-wrap:wrap;list-style:none}
.woocommerce div.product .woocommerce-tabs ul.tabs::before{display:none}
.woocommerce div.product .woocommerce-tabs ul.tabs li{background:var(--pat-mint);border:none;border-radius:999px;margin:0;padding:0}
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after{display:none}
.woocommerce div.product .woocommerce-tabs ul.tabs li a{padding:11px 22px;display:block;font-weight:600;color:var(--pat-ink)}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a{background:var(--pat-primary);color:#fff;border-radius:999px}
.woocommerce div.product .related,.woocommerce div.product .upsells{grid-column:1/-1;margin-top:30px}

/* notices */
.woocommerce-message,.woocommerce-info,.woocommerce-error{
  border-top:none;border-left:4px solid var(--pat-primary);background:var(--pat-mint);
  border-radius:var(--pat-radius);padding:16px 20px;color:var(--pat-ink);margin-bottom:24px;list-style:none}
.woocommerce-error{border-left-color:#C0392B;background:#FDECEA}
.woocommerce-message::before,.woocommerce-info::before,.woocommerce-error::before{display:none}

/* cart / checkout */
.woocommerce table.shop_table{border-radius:var(--pat-radius-lg);border:1px solid var(--pat-line);border-collapse:separate;overflow:hidden}
.woocommerce table.shop_table th{background:var(--pat-cream);font-family:var(--pat-font-body);color:var(--pat-ink)}
.woocommerce #respond input#submit,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button{
  background:var(--pat-primary);color:#fff;border-radius:999px;padding:14px 28px;font-weight:600}
.woocommerce #respond input#submit:hover,.woocommerce a.button:hover,
.woocommerce button.button:hover,.woocommerce input.button:hover{background:var(--pat-primary-dark);color:#fff}
.woocommerce a.button.alt,.woocommerce button.button.alt{background:var(--pat-accent)}
.woocommerce a.button.alt:hover,.woocommerce button.button.alt:hover{background:var(--pat-accent-dark)}
.woocommerce .cart_totals h2,.woocommerce-billing-fields h3{font-size:1.3rem}

@media(max-width:900px){
  .woocommerce div.product{grid-template-columns:1fr;gap:28px}
  .woocommerce ul.products.columns-3,.woocommerce ul.products.columns-4{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:640px){
  .woocommerce ul.products.columns-2,.woocommerce ul.products.columns-3,
  .woocommerce ul.products.columns-4{grid-template-columns:1fr}
}

/* ========== RESTORED UTILITIES & OFF-CANVAS ==========
   These belong to markup that predates the redesign; they were lost when
   the header/responsive blocks were replaced, so they are re-stated here
   against the new tokens rather than the old ones. ========== */

.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;
  overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0;
  /* left:-9999px would re-introduce the same overflow on the other side,
     so the element is collapsed in place instead. */
  word-wrap:normal}
.skip-link{position:fixed;top:-60px;left:50%;transform:translateX(-50%);z-index:999;
  background:var(--pat-primary);color:#fff;padding:12px 24px;border-radius:0 0 8px 8px;
  font-weight:700;transition:top .2s}
.skip-link:focus{top:0;color:#fff}

/* Off-canvas menu + its scrim */
/* A fixed element is positioned against the viewport, so it escapes an
   ancestor's overflow entirely — `clip` on <html> does not contain the
   closed off-canvas panel and the page still scrolled 434px sideways.
   The panel is mobile-only furniture, so the fix is to not render it
   above the breakpoint at all. `clip` stays as a backstop for anything
   else that strays. */
html,body{overflow-x:clip}
@media(min-width:981px){
  .pat-mobile,.pat-overlay{display:none!important}
}

.pat-overlay{position:fixed;inset:0;background:rgba(0,0,0,.45);opacity:0;visibility:hidden;
  transition:opacity .3s,visibility .3s;z-index:110}
.pat-overlay.is-open{opacity:1;visibility:visible}
.pat-mobile{position:fixed;top:0;right:0;bottom:0;width:min(86vw,360px);background:#fff;
  z-index:120;padding:22px 26px 40px;overflow-y:auto;transform:translateX(100%);
  transition:transform .32s cubic-bezier(.16,1,.3,1);box-shadow:-12px 0 40px rgba(0,0,0,.14)}
.pat-mobile.is-open{transform:none}
.pat-mobile__close{float:right;background:none;border:0;font-size:2rem;line-height:1;
  cursor:pointer;color:var(--pat-ink);padding:0}
.pat-mobile ul{list-style:none;margin:0;padding:0}
.pat-mobile li{border-bottom:1px solid var(--pat-line)}
.pat-mobile a{display:block;padding:15px 0;font-family:var(--pat-font-head);font-weight:700;
  font-size:1rem;color:var(--pat-ink)}
.pat-mobile a:hover{color:var(--pat-primary)}
.pat-mobile .sub-menu{padding-left:14px}
.pat-mobile .sub-menu a{font-weight:500;font-size:.94rem;color:var(--pat-body)}

/* Search */
.pat-search-toggle{cursor:pointer}
.pat-searchbox{border-top:1px solid var(--pat-line);padding-top:16px}
.pat-searchform{display:flex;gap:10px;max-width:560px;margin:0 auto}
.pat-searchform input[type=search]{flex:1;padding:13px 20px;border:1px solid var(--pat-line);
  border-radius:var(--pat-radius-pill);font:inherit;background:#fff}
.pat-searchform input[type=search]:focus{outline:none;border-color:var(--pat-primary)}

/* Social icon row */
.pat-social{display:flex;gap:12px;margin-top:1.3rem;list-style:none;padding:0}
.pat-social a{width:38px;height:38px;border-radius:50%;border:1px solid var(--pat-line);
  display:grid;place-items:center;color:var(--pat-ink)}
.pat-social a:hover{background:var(--pat-primary);border-color:var(--pat-primary);color:#fff}
.pat-social svg{width:17px;height:17px}

/* Legacy grid aliases still referenced by the Woo and archive templates */
.pat-grid-2{display:grid;gap:clamp(18px,2.2vw,28px);grid-template-columns:repeat(2,1fr)}
.pat-grid-3{display:grid;gap:clamp(18px,2.2vw,28px);grid-template-columns:repeat(3,1fr)}
.pat-grid-4{display:grid;gap:clamp(18px,2.2vw,28px);grid-template-columns:repeat(4,1fr)}
@media(max-width:980px){.pat-grid-3,.pat-grid-4{grid-template-columns:repeat(2,1fr)}}
@media(max-width:680px){.pat-grid-2,.pat-grid-3,.pat-grid-4{grid-template-columns:1fr}}

/* Contact + comments */
.pat-formwrap{background:#fff;border:1px solid var(--pat-line);border-radius:var(--pat-radius-lg);padding:clamp(24px,3vw,40px)}
.pat-contactform{display:grid;gap:16px}
.pat-contactform label{font-weight:600;font-size:.9rem;color:var(--pat-ink);display:block;margin-bottom:6px}
.pat-comments{margin-top:var(--pat-gap)}
.pat-comments ol{list-style:none;padding:0}

/* Blocks inside page copy that should not be held to the prose measure.
   The card grids and shloka bands were being squeezed into a 78ch column,
   which left a four-card row breaking as three-plus-one. They break out to
   the container width instead — which is also what the brand brief asks for
   ("a full-width dark green band"). */
.pat-entry .pat-wide{width:min(calc(var(--pat-container) - 48px), calc(100vw - 48px));
  margin-left:50%;transform:translateX(-50%)}

/* A portrait photograph at full prose width is nearly a screen tall. */
.pat-entry .pat-arti-portrait{max-width:360px;margin:34px auto}
.pat-entry .pat-arti-portrait img{width:100%;height:auto}
.pat-entry .pat-arti-portrait figcaption{text-align:center;font-size:.86rem;
  color:var(--pat-muted);margin-top:.7rem}

@media(max-width:900px){
  .pat-entry .pat-wide{width:100%;margin-left:0;transform:none}
  .pat-entry .pat-arti-portrait{max-width:280px}
}

/* Prose blocks inside editor content */
.pat-entry{max-width:78ch}
.pat-entry h2,.pat-entry h3{margin-top:1.6em}
.pat-entry img{border-radius:var(--pat-radius)}

/* ========== HERO FULL-BLEED MEDIA ==========
   The container caps at 1280px, but the reference runs the photograph to
   the viewport edge. This pushes the media column back out past the
   container on one side only. ========== */
@media(min-width:981px){
  /* Let the band span the viewport, then re-indent only the copy column so
     it still lines up with every other section's container. */
  .pat-hero>.pat-container{max-width:none;padding:0}
  .pat-hero__body{padding-left:max(24px,calc((100vw - var(--pat-container)) / 2 + 24px));
    padding-right:clamp(24px,4vw,64px);max-width:none}
  .pat-hero__grid{gap:0}
  .pat-hero__media{border-radius:0}
}

/* Previous / next article pair at the foot of a post */
.pat-postnav{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:clamp(36px,5vw,56px);
  padding-top:28px;border-top:1px solid var(--pat-line)}
.pat-postnav a{display:block;font-family:var(--pat-font-head);font-weight:700;
  color:var(--pat-ink);line-height:1.35}
.pat-postnav a:hover{color:var(--pat-primary)}
.pat-postnav span{display:block;font-size:.76rem;font-weight:700;letter-spacing:.14em;
  text-transform:uppercase;color:var(--pat-primary);margin-bottom:.45rem}
@media(max-width:620px){.pat-postnav{grid-template-columns:1fr}}

/* Aliases for markup that predates the redesign. */
.pat-btn--block{width:100%}
.pat-btn--lg{padding:18px 38px;font-size:.98rem}

/* ========== MOTION ==========
   One reveal primitive, applied by JS to a list of selectors rather than
   written into twenty templates. Elements only start hidden when the
   `pat-js` class is present, so with JavaScript off nothing is ever
   invisible. Everything here collapses to nothing under
   prefers-reduced-motion — the content must never depend on the motion.
   ========== */
:root{
  --pat-ease:cubic-bezier(.22,1,.36,1);
  --pat-ease-out:cubic-bezier(.16,1,.3,1);
}

.pat-js [data-reveal]{
  opacity:0;
  transform:translate3d(0,22px,0);
  transition:opacity .75s var(--pat-ease) var(--d,0ms),
             transform .75s var(--pat-ease) var(--d,0ms);
  will-change:opacity,transform;
}
.pat-js [data-reveal="left"]{transform:translate3d(-26px,0,0)}
.pat-js [data-reveal="right"]{transform:translate3d(26px,0,0)}
.pat-js [data-reveal="zoom"]{transform:scale(.965)}
.pat-js [data-reveal].is-in{opacity:1;transform:none}
/* Once it has played, stop holding a compositor layer for it. */
.pat-js [data-reveal].is-done{will-change:auto;transition-delay:0ms}

/* Hero copy arrives on load rather than on scroll — it is already in view. */
.pat-js .pat-hero__body>*{
  opacity:0;
  animation:patRise .8s var(--pat-ease) forwards;
  animation-delay:calc(var(--i,0) * 90ms + 120ms);
}
.pat-js .pat-hero__media{
  opacity:0;
  animation:patFade 1s var(--pat-ease) .1s forwards;
}
@keyframes patRise{from{opacity:0;transform:translate3d(0,20px,0)}to{opacity:1;transform:none}}
@keyframes patFade{from{opacity:0;transform:scale(1.03)}to{opacity:1;transform:none}}

/* ---- Micro-interactions ---- */
.pat-btn{position:relative;overflow:hidden}
.pat-btn:active{transform:translateY(1px)}
/* A soft sheen that sweeps across on hover; purely decorative. */
.pat-btn--primary::after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(120deg,transparent 35%,rgba(255,255,255,.28) 50%,transparent 65%);
  transform:translateX(-120%);transition:transform .7s var(--pat-ease);pointer-events:none;
}
.pat-btn--primary:hover::after{transform:translateX(120%)}

.pat-nav a{position:relative}
.pat-nav>ul>li>a::after{
  content:"";position:absolute;left:0;right:0;bottom:-6px;height:2px;
  background:var(--pat-primary);transform:scaleX(0);transform-origin:right;
  transition:transform .35s var(--pat-ease);
}
.pat-nav>ul>li>a:hover::after,
.pat-nav>ul>li.current-menu-item>a::after{transform:scaleX(1);transform-origin:left}

.pat-card{transition:box-shadow .35s var(--pat-ease),transform .35s var(--pat-ease)}
/* ---- Product image zoom on hover ----
   Only `transform` is animated. It is a compositor property, so the browser
   does no layout and no repaint per frame — the GPU scales an already
   rasterised layer. Nothing here animates width, height, box-shadow or
   filter, which are the ones that cost real CPU. */
.pat-card__media{overflow:hidden}
.pat-card__media img{transition:transform .45s var(--pat-ease)}
.pat-card:hover .pat-card__media img{transform:scale(1.06)}

.woocommerce ul.products li.product a img{transition:transform .45s var(--pat-ease)}
.woocommerce ul.products li.product:hover a img{transform:scale(1.06)}

/* Single product gallery: magnifies towards the pointer. The scale lives in
   CSS; main.js only writes transform-origin, inside a frame callback. */
.woocommerce div.product .woocommerce-product-gallery__image{
  overflow:hidden;border-radius:var(--pat-radius-lg)}
.woocommerce div.product .woocommerce-product-gallery__image img{
  transition:transform .35s var(--pat-ease);transform-origin:center;border-radius:0}
.woocommerce div.product .woocommerce-product-gallery__image.is-zooming img{
  transform:scale(2);transition-duration:.16s}

@media(prefers-reduced-motion:reduce){
  .pat-card__media img,
  .woocommerce ul.products li.product a img,
  .woocommerce div.product .woocommerce-product-gallery__image img{transition:none}
  .pat-card:hover .pat-card__media img,
  .woocommerce ul.products li.product:hover a img,
  .woocommerce div.product .woocommerce-product-gallery__image.is-zooming img{transform:none}
}

.pat-badges span,.pat-badges img{transition:transform .3s var(--pat-ease),border-color .3s,color .3s,opacity .3s}
.pat-badges span:hover,.pat-badges img:hover{transform:translateY(-3px)}

.pat-benefits__item svg{transition:transform .35s var(--pat-ease)}
.pat-benefits__item:hover svg{transform:translateY(-4px) scale(1.08)}

.pat-trust__item svg{transition:transform .35s var(--pat-ease)}
.pat-trust__item:hover svg{transform:scale(1.12)}

.pat-faq__q{transition:color .2s}
.pat-faq__a{animation:patAnswer .35s var(--pat-ease)}
@keyframes patAnswer{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}

.pat-footer__col a,.pat-catbar a{transition:color .2s var(--pat-ease),transform .2s var(--pat-ease)}
.pat-footer__col a:hover{transform:translateX(3px)}

/* Header condenses slightly once the page has moved. */
.pat-header{transition:box-shadow .3s var(--pat-ease),background-color .3s}
.pat-header.is-stuck{box-shadow:0 6px 28px -18px rgba(0,0,0,.35)}
.pat-header.is-stuck .pat-header__inner{min-height:72px}
.pat-header__inner{transition:min-height .3s var(--pat-ease)}
.pat-logo img{transition:max-height .3s var(--pat-ease)}
.pat-header.is-stuck .pat-logo img{max-height:52px}

@media(prefers-reduced-motion:reduce){
  .pat-js [data-reveal],
  .pat-js .pat-hero__body>*,
  .pat-js .pat-hero__media{opacity:1!important;transform:none!important;animation:none!important;transition:none!important}
  .pat-btn--primary::after,.pat-faq__a{animation:none!important;transition:none!important}
  *,*::before,*::after{transition-duration:.01ms!important;animation-duration:.01ms!important;
    animation-iteration-count:1!important;scroll-behavior:auto!important}
}

/* =========================================================================
   RATINGS
   Two identical star rows stacked, the filled one clipped to a percentage
   width. A single row rounded to whole stars would show 4.3 as 4, which is
   the one number on the page people actually check.
   ====================================================================== */
.pat-rating{position:relative;display:inline-block;line-height:0;vertical-align:middle;
  white-space:nowrap}
.pat-rating__row{display:inline-flex;gap:2px}
.pat-rating__row svg{display:block;width:17px;height:17px;flex:none}
.pat-rating__bg svg{fill:rgba(0,0,0,.14)}
.pat-rating__fg{position:absolute;top:0;left:0;overflow:hidden}
.pat-rating__fg svg{fill:var(--pat-star)}
.pat-rating--sm .pat-rating__row svg{width:14px;height:14px}

.pat-ratingline{display:inline-flex;align-items:center;gap:.45rem}
.pat-ratingline__n{font-size:.82rem;font-weight:600;color:var(--pat-muted);line-height:1}
.pat-card .pat-ratingline{margin-bottom:.15rem}
/* Cards keep a fixed slot whether or not a product has reviews yet, so a
   reviewed and an unreviewed card still line up across a row. */
.pat-card__body .pat-ratingline{min-height:17px}

/* Sale flag on the related-products card. */
.pat-card__media{position:relative}
.pat-card__flag{position:absolute;top:14px;left:14px;z-index:2;
  background:var(--pat-accent);color:#fff;font-family:var(--pat-font-head);
  font-weight:700;font-size:.68rem;letter-spacing:.1em;text-transform:uppercase;
  padding:.4em .8em;border-radius:var(--pat-radius-pill)}

/* =========================================================================
   PRODUCT REVIEWS
   ====================================================================== */
.pat-reviews{background:var(--pat-grey);padding:var(--pat-gap) 0}
.pat-reviews__inner{width:min(var(--pat-container),100% - 48px);margin-inline:auto}
.pat-reviews .pat-head{margin-bottom:clamp(22px,2.6vw,34px)}

/* ---- Summary panel ---- */
.pat-revsum{display:grid;grid-template-columns:minmax(200px,240px) minmax(0,1fr) auto;
  gap:clamp(24px,3vw,48px);align-items:center;background:#fff;
  border:1px solid var(--pat-line);border-radius:var(--pat-radius-lg);
  padding:clamp(24px,3vw,38px);margin-bottom:clamp(28px,3.2vw,44px)}
.pat-revsum__score{display:flex;flex-direction:column;align-items:center;gap:.5rem;
  text-align:center;padding-right:clamp(16px,2vw,28px);border-right:1px solid var(--pat-line)}
.pat-revsum__num{font-family:var(--pat-font-head);font-weight:800;line-height:1;
  font-size:clamp(2.8rem,2.2rem+2vw,3.6rem);color:var(--pat-ink);letter-spacing:-.03em}
.pat-revsum__score .pat-rating__row svg{width:21px;height:21px}
.pat-revsum__of{font-size:.85rem;color:var(--pat-muted)}

.pat-revsum__bars{list-style:none;margin:0;padding:0;display:grid;gap:.5rem;min-width:0}
.pat-revsum__bars li{display:grid;grid-template-columns:62px minmax(0,1fr) 34px;
  align-items:center;gap:.7rem}
.pat-revsum__label{font-size:.82rem;font-weight:600;color:var(--pat-body);white-space:nowrap}
.pat-revsum__track{height:8px;border-radius:var(--pat-radius-pill);background:var(--pat-line);
  overflow:hidden}
.pat-revsum__fill{display:block;height:100%;border-radius:inherit;
  background:linear-gradient(90deg,var(--pat-star),#00996a);
  /* Rendered at its final width so the panel is right with JS off; main.js
     collapses and re-grows it only once it knows it can animate. */
  transition:width .9s var(--pat-ease)}
.pat-revsum__count{font-size:.82rem;font-weight:600;color:var(--pat-muted);text-align:right}
.pat-revsum__cta{justify-self:end}

@media(max-width:900px){
  .pat-revsum{grid-template-columns:1fr;text-align:left}
  .pat-revsum__score{flex-direction:row;justify-content:flex-start;align-items:center;
    gap:1rem;text-align:left;padding:0 0 20px;border-right:0;
    border-bottom:1px solid var(--pat-line);flex-wrap:wrap}
  .pat-revsum__cta{justify-self:stretch}
  .pat-revsum__cta .pat-btn{width:100%}
}
@media(max-width:520px){
  .pat-revsum__bars li{grid-template-columns:58px minmax(0,1fr) 28px;gap:.5rem}
}

/* ---- Review list ---- */
.pat-revlist__items{list-style:none;margin:0;padding:0;
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(16px,1.8vw,22px)}
.pat-revlist__items > li{list-style:none}
.pat-review__card{height:100%;background:#fff;border:1px solid var(--pat-line);
  border-radius:var(--pat-radius);padding:clamp(20px,2vw,26px);
  transition:box-shadow .35s var(--pat-ease),transform .35s var(--pat-ease)}
.pat-review__card:hover{box-shadow:var(--pat-shadow);transform:translateY(-3px)}

.pat-review__head{display:flex;align-items:center;gap:.8rem;margin-bottom:.9rem;flex-wrap:wrap}
.pat-review__avatar{display:grid;place-items:center;flex:none;width:42px;height:42px;
  border-radius:50%;background:var(--pat-mint);color:var(--pat-primary-deep);
  font-family:var(--pat-font-head);font-weight:700;font-size:1.05rem;line-height:1}
.pat-review__who{display:flex;flex-direction:column;gap:.15rem;min-width:0;margin-right:auto}
.pat-review__name{font-family:var(--pat-font-head);font-weight:700;font-size:.96rem;
  color:var(--pat-ink);line-height:1.2}
.pat-review__meta{display:flex;align-items:center;flex-wrap:wrap;gap:.3rem .7rem;
  font-size:.78rem;color:var(--pat-muted)}
.pat-review__verified{display:inline-flex;align-items:center;gap:.3rem;
  color:var(--pat-star);font-weight:600}
.pat-review__verified svg{display:block;width:14px;height:14px;flex:none}
.pat-review__text{color:var(--pat-body);line-height:1.65;font-size:.95rem}
.pat-review__text p{margin:0 0 .7rem}
.pat-review__text p:last-child{margin-bottom:0}
.pat-review__pending{margin:.7rem 0 0;font-size:.82rem;color:var(--pat-accent)}
.pat-noreviews{margin:0;padding:26px;background:#fff;border:1px dashed var(--pat-line);
  border-radius:var(--pat-radius);color:var(--pat-muted);text-align:center}

@media(max-width:780px){.pat-revlist__items{grid-template-columns:1fr}}

/* ---- Review form ---- */
.pat-revform{margin-top:clamp(28px,3.2vw,44px);background:#fff;border:1px solid var(--pat-line);
  border-radius:var(--pat-radius-lg);padding:clamp(24px,3vw,38px)}
.pat-revform .comment-reply-title{display:block;font-family:var(--pat-font-head);font-weight:700;
  font-size:clamp(1.2rem,1.1rem+.5vw,1.5rem);color:var(--pat-ink);margin-bottom:.4rem}
.pat-revform__note{font-size:.84rem;color:var(--pat-muted);margin:0 0 1.4rem}
.pat-revform form{display:grid;gap:1.1rem}
.pat-revform .comment-form-author,.pat-revform .comment-form-email{margin:0}
.pat-revform label{display:block;font-family:var(--pat-font-head);font-weight:600;
  font-size:.86rem;color:var(--pat-ink);margin-bottom:.45rem}
.pat-revform .required{color:var(--pat-accent)}
.pat-revform input[type=text],.pat-revform input[type=email],.pat-revform textarea,
.pat-revform select{width:100%;font-family:inherit;font-size:.95rem;color:var(--pat-ink);
  background:var(--pat-grey);border:1px solid var(--pat-line);border-radius:12px;
  padding:.8rem 1rem;transition:border-color .25s,background-color .25s,box-shadow .25s}
.pat-revform input:focus,.pat-revform textarea:focus,.pat-revform select:focus{
  outline:none;background:#fff;border-color:var(--pat-primary);
  box-shadow:0 0 0 3px rgba(13,144,152,.14)}
.pat-revform textarea{min-height:140px;resize:vertical;line-height:1.6}
.pat-revform .comment-form-cookies-consent{display:flex;align-items:flex-start;gap:.6rem;
  font-size:.85rem;color:var(--pat-body)}
.pat-revform .comment-form-cookies-consent input{margin-top:.2rem;flex:none}
.pat-revform .comment-form-cookies-consent label{margin:0;font-weight:500;
  font-family:var(--pat-font-body)}
.pat-revform .form-submit{margin:0}
.pat-revform .must-log-in{color:var(--pat-body)}
@media(min-width:720px){
  .pat-revform .comment-form-author,.pat-revform .comment-form-email{
    grid-column:span 1}
  .pat-revform form{grid-template-columns:repeat(2,minmax(0,1fr))}
  .pat-revform .comment-form-rating,.pat-revform .comment-form-comment,
  .pat-revform .comment-form-cookies-consent,.pat-revform .form-submit,
  .pat-revform .comment-reply-title,.pat-revform .pat-revform__note,
  .pat-revform .comment-notes,.pat-revform .logged-in-as{grid-column:1/-1}
}

/* ---- Star picker ----
   WooCommerce's own single-product.js replaces the <select> with a p.stars
   widget that already sets the select value, handles the keyboard and runs
   the "rating required" guard. Styling that is a great deal less fragile
   than shipping a second picker alongside it. */
.pat-ratepick{display:flex;align-items:center;flex-wrap:wrap;gap:.2rem 1rem}
.pat-ratepick > label{margin:0}
.pat-ratepick p.stars{margin:0;line-height:1}
.pat-ratepick p.stars span{display:inline-flex;gap:6px}
.pat-ratepick p.stars a{font-size:27px;color:rgba(0,0,0,.2);
  transition:color .18s,transform .18s var(--pat-ease)}
.pat-ratepick p.stars a:hover{transform:scale(1.12)}
.pat-ratepick p.stars a:focus-visible{outline:2px solid var(--pat-primary);
  outline-offset:3px;border-radius:4px}
/* Woo swaps the glyph between outline and solid on hover and selection; the
   colour is all this needs to add. */
.pat-ratepick p.stars:hover a,
.pat-ratepick p.stars.selected a.active,
.pat-ratepick p.stars.selected a:not(.active){color:var(--pat-star)}
.pat-ratepick p.stars a:hover~a,
.pat-ratepick p.stars.selected a.active~a{color:rgba(0,0,0,.2)}

/* Related products reuse the card rail and the shared section padding. */
.pat-related{background:var(--pat-cream)}

/* With reviews moved out to their own section, a product with no extra
   attributes is left with a single "Description" tab — a tab strip you
   cannot switch away from. Hide the strip until there are two of them;
   each panel prints its own heading anyway. */
.woocommerce div.product .woocommerce-tabs ul.tabs:not(:has(li:nth-child(2))){display:none}

/* =========================================================================
   MY ACCOUNT
   WooCommerce ships this area almost unstyled — a bare <ul> of links beside
   the content — so it is the one part of a shop that always looks unfinished.
   ====================================================================== */
/* The shop pages run on the default page template, whose .pat-entry is
   capped at a prose measure — right for an article, far too narrow for an
   account dashboard, a cart or a checkout. */
.woocommerce-account .pat-entry,
.woocommerce-cart .pat-entry,
.woocommerce-checkout .pat-entry{max-width:none}

.woocommerce-account .woocommerce{display:grid;
  grid-template-columns:minmax(210px,250px) minmax(0,1fr);
  gap:clamp(24px,3vw,44px);align-items:start}
/* WooCommerce puts a clearfix ::before/::after on its wrappers. In a grid
   container those pseudo-elements are grid items: the ::before takes the
   first cell and every real child shifts one place along, so the navigation
   lands in column two and the content drops to the next row. Any Woo wrapper
   this theme makes into a grid has to have them switched off. (The same
   pattern breaks the review list — see PRODUCT REVIEWS above.) */
.woocommerce-account .woocommerce::before,
.woocommerce-account .woocommerce::after,
.woocommerce-account .u-columns::before,
.woocommerce-account .u-columns::after{content:none}
/* Scoped to the account page on purpose: .col2-set is also the checkout's
   billing/shipping wrapper, which is still a float layout and needs its
   clearfix to stop the container collapsing. */
.woocommerce-account .woocommerce > .woocommerce-notices-wrapper{grid-column:1/-1}

/* Woo also sets float + a percentage width on both columns, which inside a
   grid track resolves against the track rather than the row — 30% of 250px.
   The grid owns the sizing now, so both are handed back to it. */
.woocommerce-account .woocommerce .woocommerce-MyAccount-navigation,
.woocommerce-account .woocommerce .woocommerce-MyAccount-content{
  width:auto;float:none;margin:0}

/* ---- Side navigation ---- */
.woocommerce-MyAccount-navigation{background:#fff;border:1px solid var(--pat-line);
  border-radius:var(--pat-radius-lg);padding:10px;position:sticky;top:104px}
.woocommerce-MyAccount-navigation ul{list-style:none;margin:0;padding:0;display:grid;gap:2px}
.woocommerce-MyAccount-navigation li{margin:0}
.woocommerce-MyAccount-navigation a{display:block;padding:.7rem .9rem;border-radius:11px;
  font-family:var(--pat-font-head);font-weight:600;font-size:.92rem;color:var(--pat-body);
  text-decoration:none;transition:background-color .2s,color .2s}
.woocommerce-MyAccount-navigation a:hover{background:var(--pat-grey);color:var(--pat-ink)}
.woocommerce-MyAccount-navigation .is-active a{background:var(--pat-primary);color:#fff}
.woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link--customer-logout a{
  color:var(--pat-muted)}

/* ---- Content ---- */
.woocommerce-MyAccount-content{min-width:0;background:#fff;border:1px solid var(--pat-line);
  border-radius:var(--pat-radius-lg);padding:clamp(22px,2.6vw,34px)}
.woocommerce-MyAccount-content > p:first-child{margin-top:0}
.woocommerce-MyAccount-content h2,.woocommerce-MyAccount-content h3{margin-top:0}

@media(max-width:860px){
  .woocommerce-account .woocommerce{grid-template-columns:1fr}
  .woocommerce-MyAccount-navigation{position:static}
  .woocommerce-MyAccount-navigation ul{grid-template-columns:repeat(auto-fit,minmax(120px,1fr))}
  .woocommerce-MyAccount-navigation a{text-align:center}
}

/* ---- Login / register cards ---- */
.woocommerce-account:not(.logged-in) .woocommerce{grid-template-columns:1fr}
.woocommerce form.login,.woocommerce form.register,
.woocommerce form.lost_reset_password,.woocommerce form.checkout_coupon{
  border:1px solid var(--pat-line);border-radius:var(--pat-radius-lg);
  padding:clamp(22px,2.6vw,32px);margin:0}
.woocommerce .u-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
  gap:clamp(20px,2.5vw,34px)}
.woocommerce .u-columns .col-1,.woocommerce .u-columns .col-2{width:auto;float:none;margin:0}
.woocommerce .u-columns h2{font-size:clamp(1.25rem,1.1rem+.6vw,1.6rem);margin:0 0 1rem}
@media(max-width:780px){.woocommerce .u-columns{grid-template-columns:1fr}}

.woocommerce form .form-row{margin:0 0 1.1rem;padding:0;display:block}
.woocommerce form .form-row label{display:block;font-family:var(--pat-font-head);
  font-weight:600;font-size:.86rem;color:var(--pat-ink);margin-bottom:.4rem}
.woocommerce form .form-row .required{color:var(--pat-accent);text-decoration:none;border:0}
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce-page form .form-row input.input-text{
  width:100%;font-family:inherit;font-size:.95rem;color:var(--pat-ink);
  background:var(--pat-grey);border:1px solid var(--pat-line);border-radius:12px;
  padding:.8rem 1rem;line-height:1.4;
  transition:border-color .25s,background-color .25s,box-shadow .25s}
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus{outline:none;background:#fff;
  border-color:var(--pat-primary);box-shadow:0 0 0 3px rgba(13,144,152,.14)}
.woocommerce form .woocommerce-form-login__rememberme{display:inline-flex;align-items:center;
  gap:.45rem;font-size:.88rem;color:var(--pat-body);margin:0}
.woocommerce form .woocommerce-form-login__submit{margin-right:1rem}
.woocommerce-privacy-policy-text p{font-size:.86rem;line-height:1.6;color:var(--pat-muted)}
.woocommerce-LostPassword{margin:.4rem 0 0;font-size:.88rem}

/* WooCommerce's show/hide password toggle sits on top of the field's own
   padding, so it needs pulling inside the rounded border. */
.woocommerce form .password-input{display:block;position:relative}
.woocommerce form .show-password-input{position:absolute;right:14px;top:50%;
  transform:translateY(-50%);cursor:pointer}

/* =========================================================================
   BLOCK CART & CHECKOUT
   The cart and checkout pages use WooCommerce's block checkout, which has
   its own markup and ships in near-monochrome. Only the pieces that carry
   brand colour are touched; the block's own layout is left alone.
   ====================================================================== */
.wp-block-woocommerce-cart,
.wp-block-woocommerce-checkout{font-family:var(--pat-font-body)}

.wc-block-components-button:not(.is-link),
.wc-block-cart__submit-button,
.wc-block-components-checkout-place-order-button{
  background:var(--pat-primary);border:0;border-radius:var(--pat-radius-pill);
  font-family:var(--pat-font-head);font-weight:700;letter-spacing:.06em;
  text-transform:uppercase;color:#fff;
  transition:background-color .25s var(--pat-ease),transform .25s var(--pat-ease)}
.wc-block-components-button:not(.is-link):hover,
.wc-block-cart__submit-button:hover,
.wc-block-components-checkout-place-order-button:hover{
  background:var(--pat-primary-dark);transform:translateY(-1px)}
.wc-block-components-button:not(.is-link):focus-visible,
.wc-block-components-checkout-place-order-button:focus-visible{
  outline:2px solid var(--pat-primary-deep);outline-offset:3px}

.wc-block-components-text-input input,
.wc-block-components-textarea,
.wc-block-components-select__container{border-radius:12px}
.wc-block-components-text-input.is-active input:focus,
.wc-block-components-text-input input:focus{
  box-shadow:0 0 0 1px var(--pat-primary);outline:none}

.wc-block-components-radio-control__option{border-radius:12px}
.wc-block-components-radio-control-accordion-option,
.wc-block-components-radio-control__option--checked-option-highlighted{
  border-color:var(--pat-primary)}
.wc-block-components-radio-control__input:checked{
  border-color:var(--pat-primary);background:var(--pat-primary)}

.wc-block-components-totals-footer-item .wc-block-formatted-money-amount{
  color:var(--pat-ink);font-family:var(--pat-font-head);font-weight:800}
.wc-block-components-product-badge,
.wc-block-components-sale-badge{background:var(--pat-mint);color:var(--pat-primary-deep);
  border-color:transparent;border-radius:var(--pat-radius-pill)}
.wc-block-components-panel__button,
.wc-block-components-checkout-step__title{font-family:var(--pat-font-head);color:var(--pat-ink)}
a.wc-block-components-checkout-login-prompt,
.wc-block-components-link{color:var(--pat-primary)}
