/* Pegasi Supply Co. — cover storefront brand layer.
   Class-based only: KSES strips inline style="" and inline <svg> from page
   content even after kses_remove_filters(), so every visual lives here. */

:root{
  --pg-cream:#FAF7F2;
  --pg-charcoal:#2A2E31;
  --pg-clay:#B4674A;
  --pg-sage:#8A9A86;
  --pg-line:#E4DDD2;
  --pg-muted:#6E6A64;
}

html body{ background:var(--pg-cream); color:var(--pg-charcoal);
  font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif; }
h1,h2,h3,.pg-serif{ font-family:Fraunces,Georgia,"Times New Roman",serif; font-weight:600;
  letter-spacing:-.01em; }

/* ---------- shared shell ---------- */
.pg-wrap{ max-width:1180px; margin:0 auto; padding:0 22px; }
.pg-kicker{ text-transform:uppercase; letter-spacing:.18em; font-size:.72rem;
  color:var(--pg-clay); font-weight:600; margin:0 0 .6rem; }
.pg-lead{ font-size:1.06rem; line-height:1.75; color:var(--pg-muted); max-width:62ch; }

/* ---------- hero ---------- */
.pg-hero{ background:linear-gradient(180deg,#F3EDE4 0%,var(--pg-cream) 100%);
  border-bottom:1px solid var(--pg-line); padding:76px 0 66px; }
.pg-hero h1{ font-size:clamp(2rem,4.4vw,3.3rem); line-height:1.08; margin:0 0 1rem; }
.pg-hero .pg-lead{ margin:0 0 1.7rem; }
.pg-btn{ display:inline-block; background:var(--pg-charcoal); color:#fff!important;
  padding:.86rem 1.7rem; border-radius:999px; text-decoration:none; font-weight:600;
  font-size:.95rem; }
.pg-btn:hover{ background:#3c4145; }
.pg-btn--ghost{ background:transparent; color:var(--pg-charcoal)!important;
  border:1px solid var(--pg-charcoal); margin-left:.6rem; }

/* ---------- category / feature grids ---------- */
.pg-section{ padding:62px 0; }
.pg-section--alt{ background:#F5F0E8; border-top:1px solid var(--pg-line);
  border-bottom:1px solid var(--pg-line); }
.pg-head{ text-align:center; margin:0 auto 34px; max-width:60ch; }
.pg-head h2{ font-size:clamp(1.5rem,2.6vw,2.1rem); margin:0 0 .5rem; }
.pg-head p{ margin:0; color:var(--pg-muted); }
.pg-grid{ display:grid; gap:20px; grid-template-columns:repeat(4,minmax(0,1fr)); }
.pg-grid--3{ grid-template-columns:repeat(3,minmax(0,1fr)); }
.pg-card{ background:#fff; border:1px solid var(--pg-line); border-radius:14px;
  padding:26px 22px; }
.pg-card h3{ font-size:1.06rem; margin:0 0 .45rem; }
.pg-card p{ margin:0; color:var(--pg-muted); font-size:.93rem; line-height:1.6; }
.pg-card a{ color:var(--pg-charcoal); text-decoration:none; }

/* ---------- trust band ---------- */
.pg-band{ background:var(--pg-charcoal); color:#F6F1EA; padding:46px 0; }
.pg-band .pg-grid{ grid-template-columns:repeat(3,minmax(0,1fr)); gap:26px; }
.pg-band h3{ color:#fff; font-size:1rem; margin:0 0 .35rem; letter-spacing:.01em; }
.pg-band p{ margin:0; color:#C9C2B8; font-size:.92rem; line-height:1.6; }

/* ---------- legal / identity pages ---------- */
.pg-doc{ max-width:820px; margin:0 auto; padding:52px 22px 70px; }
.pg-doc h1{ font-size:clamp(1.7rem,3vw,2.3rem); margin:0 0 .4rem; }
.pg-doc .pg-updated{ color:var(--pg-muted); font-size:.86rem; margin:0 0 2rem; }
.pg-doc h2{ font-size:1.12rem; margin:2rem 0 .5rem; }
.pg-doc p,.pg-doc li{ color:#43474A; line-height:1.78; font-size:.98rem; }
.pg-doc ul{ padding-left:1.15rem; }
.pg-doc table{ width:100%; border-collapse:collapse; margin:1rem 0; }
.pg-doc th,.pg-doc td{ text-align:left; padding:.6rem .7rem; border-bottom:1px solid var(--pg-line);
  font-size:.95rem; }

/* ---------- woo loop polish (belts live in front_end_css) ---------- */
.woocommerce ul.products li.product .woocommerce-loop-product__title{
  font-family:Fraunces,Georgia,serif!important; font-size:1rem!important; }
.woocommerce ul.products li.product .price{ color:var(--pg-charcoal)!important;
  font-weight:600; }
.woocommerce ul.products li.product img{ border-radius:10px; }

/* ---------- responsive ---------- */
@media (max-width:1024px){
  .pg-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  .pg-band .pg-grid{ grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media (max-width:640px){
  .pg-grid,.pg-grid--3,.pg-band .pg-grid{ grid-template-columns:1fr; }
  .pg-hero{ padding:54px 0 46px; }
  .pg-btn--ghost{ margin-left:0; margin-top:.6rem; }
  .pg-section{ padding:46px 0; }
}
