/* =========================================================================
   Pinestraw Place — shared category-page shell.

   The eight product category pages (Mulch, Stone & Gravel, River Rock,
   Soil & Sand, Sod, Pine Straw, Firewood & Feed, Edging & Fabric) are the same
   page with different content: photo hero → cream intro + product rack →
   choosing help + sizing callout → dark tips band → how-to-get-it → FAQ.

   Values transcribed from final_html/Mulch.dc.html, which is the pattern the
   other seven follow. Anything genuinely unique to a page lives in that page's
   own sheet.
   ========================================================================= */

/* ---- Hero: this page type uses a taller, bottom-aligned hero ------------ */
.cat-hero {
  position: relative; min-height: 520px;
  display: flex; align-items: flex-end; overflow: hidden;
  background-color: #141915;
}
.cat-hero__bg { position: absolute; inset: 0; z-index: 0; }
.cat-hero__bg img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Two overlays, exactly as built: a vertical scrim and a left-to-right wash
   that keeps the copy column readable over a busy photo. */
.cat-hero::before,
.cat-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
}
/* Overlay recolor (John, 2026-08-16): neutral charcoal, same alphas — the
   green tint hazed crisp photos. Matches finalized-with-images. */
.cat-hero::before {
  background: linear-gradient(180deg,
    rgba(22, 22, 22, 0.72) 0%,
    rgba(22, 22, 22, 0.25) 30%,
    rgba(28, 28, 28, 0.35) 60%,
    rgba(28, 28, 28, 0.90) 100%);
}
.cat-hero::after {
  background: linear-gradient(90deg,
    rgba(28, 28, 28, 0.75) 0%,
    rgba(28, 28, 28, 0.40) 55%,
    rgba(28, 28, 28, 0.05) 100%);
}
.cat-hero__inner {
  position: relative; z-index: 2;
  width: 100%; max-width: 1080px; margin: 0 auto;
  padding: 180px 48px 64px;
}
.cat-hero .crumbs { font-size: 12px; color: rgba(200, 230, 216, 0.8); }
.cat-hero__eyebrow {
  display: flex; align-items: center; gap: 16px;
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.28em;
  text-transform: uppercase; color: #C8E6D8; margin-top: 26px;
}
.cat-hero__eyebrow::before { content: ""; width: 44px; height: 1px; background: #F7B51C; flex: none; }
.cat-hero h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 62px; font-weight: 700; line-height: 1.04; color: #FFFBE6;
  margin: 14px 0 0; letter-spacing: -0.01em; max-width: 640px;
}
.cat-hero__standfirst {
  font-size: 17px; line-height: 1.65; color: rgba(255, 251, 230, 0.85);
  max-width: 560px; margin: 18px 0 0; text-wrap: pretty;
}
.cat-hero__ctas { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.cat-hero__ctas .pp-btn-gold { font-size: 14px; padding: 14px 30px; }
.cat-hero__ctas .pp-btn-gold:hover { background: #FFFBE6; color: #2D5441; }
.cat-hero__ctas .pp-btn-ghost { font-size: 14px; padding: 12px 28px; }

/* ---- Cream band: intro + product rack ---------------------------------- */
.cat-rack { background: #FFFBE6; padding: 64px 48px 84px; }
.cat-rack__inner { max-width: 1080px; margin: 0 auto; }
.cat-intro {
  font-size: 17px; line-height: 1.75; color: #4A3F35;
  margin: 0 auto; max-width: 860px; text-wrap: pretty;
}

.rack-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 24px; margin-top: 48px;
}
.rack-head__eyebrow {
  display: flex; align-items: center; gap: 14px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.24em;
  text-transform: uppercase; color: #3A6B52;
}
.rack-head__eyebrow::before { content: ""; width: 34px; height: 2px; background: #3A6B52; flex: none; }
.rack-head h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 44px; font-weight: 700; color: #2C2218; margin: 10px 0 0; line-height: 1.08;
}
.rack-head__note { font-size: 14px; color: #7A6E65; margin: 10px 0 0; }
/* The oversized ghost product-count numeral was REMOVED 2026-08-16 (John).
   See the note in template-parts/category-body.php. `.rack-head` keeps
   justify-content:space-between, which now simply left-aligns its one child. */

.rack-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; margin-top: 32px;
}
.rack-card {
  background: #2D5441; border: 1px solid #234135; border-radius: 10px;
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .15s ease, box-shadow .15s ease;
}
.rack-card:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(44, 34, 24, 0.13); }
/* 240px frames (John, 2026-08-16) — fuller product photos. */
.rack-card__thumb { height: 240px; position: relative; overflow: hidden; }
.rack-card__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rack-card__body {
  padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1;
}
.rack-card__name {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 18px; font-weight: 600; color: #FFFBE6; line-height: 1.25;
}
.rack-card__colors {
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: #F7B51C;
}
.rack-card__use { font-size: 12.5px; color: #C8E6D8; line-height: 1.5; }
.rack-card__prices {
  display: flex; flex-direction: column; gap: 5px;
  margin-top: 10px; padding-top: 12px;
  border-top: 1px solid rgba(200, 230, 216, 0.22);
}
.rack-card__price-row {
  display: flex; justify-content: space-between; gap: 8px;
  font-size: 12.5px; color: #C8E6D8;
}
.rack-card__price-row strong { color: #F7B51C; }
/* Woo wraps price_html in <span class="woocommerce-Price-amount">; keep it
   inheriting the gold rather than Woo's own colour. */
.rack-card__price-row .woocommerce-Price-amount,
.rack-card__price-row del,
.rack-card__price-row ins { color: inherit; text-decoration: inherit; background: none; }
.rack-card__price-row del { opacity: .6; text-decoration: line-through; }

/* "How much do I need?" dashed callout tile — the last grid child. */
.rack-tile {
  background: #2D5441; border-radius: 8px; padding: 8px; display: flex;
}
.rack-tile__inner {
  border: 1px dashed rgba(255, 251, 230, 0.35); border-radius: 5px; flex: 1;
  display: flex; flex-direction: column; justify-content: center;
  text-align: center; padding: 26px 24px; gap: 10px;
}
.rack-tile__title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 24px; font-weight: 700; color: #FFFBE6;
}
.rack-tile p { font-size: 13.5px; color: rgba(255, 251, 230, 0.8); line-height: 1.7; margin: 0; }
.rack-tile a { color: #F7B51C; font-weight: 700; font-size: 14px; }
.rack-tile a:hover { color: #FFFBE6; }

.rack-ctas { display: flex; gap: 14px; justify-content: center; margin-top: 40px; flex-wrap: wrap; }

/* ---- Cream band 2: choosing help + sizing example ----------------------- */
.cat-choose { background: #FFFBE6; padding: 0 48px 84px; border-top: 1px solid #EFE8D0; }
.cat-choose__inner {
  max-width: 1080px; margin: 0 auto;
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 64px; padding-top: 64px;
}
.cat-choose h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 34px; font-weight: 700; color: #2C2218; margin: 0 0 6px;
}
.cat-choose__lede { font-size: 15.5px; line-height: 1.7; color: #4A3F35; margin: 0 0 14px; }

.numbered-list { display: flex; flex-direction: column; }
.numbered-list__row {
  display: flex; gap: 18px; align-items: baseline;
  padding: 15px 0; border-bottom: 1px dashed #D8CFAF;
}
.numbered-list__row:last-child { border-bottom: 0; }
.numbered-list__num {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 20px; color: #F7B51C; font-weight: 700; flex: none; width: 32px;
}
.numbered-list p { font-size: 15px; line-height: 1.7; color: #4A3F35; margin: 0; }
.numbered-list p strong { color: #2C2218; }
.cat-choose__closer { font-size: 15px; line-height: 1.7; color: #7A6E65; margin: 16px 0 0; font-style: italic; }

.cat-choose__aside { display: flex; flex-direction: column; gap: 24px; }
.cat-choose__photo { min-height: 200px; border-radius: 6px; overflow: hidden; }
.cat-choose__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sizing-card {
  background: #EAF3EC; border: 1px solid #C8E6D8; border-radius: 8px; padding: 24px 26px;
}
.sizing-card h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 22px; font-weight: 700; color: #2C2218; margin: 0 0 8px;
}
.sizing-card h2 em { font-style: italic; color: #3A6B52; }
.sizing-card p { font-size: 14px; line-height: 1.7; color: #4A3F35; margin: 0; text-wrap: pretty; }

/* ---- Dark band: tips + refresh ----------------------------------------- */
.cat-tips { position: relative; background: #141915; padding: 84px 48px; overflow: hidden; }
.cat-tips__inner {
  max-width: 1080px; margin: 0 auto; position: relative;
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 64px;
}
.cat-tips__eyebrow {
  display: flex; align-items: center; gap: 14px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.24em;
  text-transform: uppercase; color: #C8E6D8;
}
.cat-tips__eyebrow::before { content: ""; width: 34px; height: 2px; background: #F7B51C; flex: none; }
.cat-tips h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 38px; font-weight: 700; color: #FFFBE6; margin: 12px 0 6px; line-height: 1.1;
}
.cat-tips h2 em { font-style: italic; color: #F7B51C; }
.cat-tips__lede { font-size: 15px; color: rgba(255, 251, 230, 0.7); line-height: 1.7; margin: 0 0 10px; }

.tips-list { display: flex; flex-direction: column; }
.tips-list__row {
  display: flex; gap: 16px; align-items: baseline;
  padding: 14px 0; border-bottom: 1px dashed rgba(200, 230, 216, 0.28);
}
.tips-list__row:last-child { border-bottom: 0; }
.tips-list__num {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 22px; color: #F7B51C; flex: none; width: 32px;
}
.tips-list__text { font-size: 14.5px; line-height: 1.65; color: rgba(255, 251, 230, 0.88); }

.cat-tips__aside { display: flex; flex-direction: column; gap: 24px; }
.cat-tips__photo { min-height: 220px; border-radius: 6px; overflow: hidden; }
.cat-tips__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cat-tips__refresh h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 26px; font-weight: 700; color: #FFFBE6; margin: 0 0 8px;
}
.cat-tips__refresh p {
  font-size: 14.5px; line-height: 1.7; color: rgba(255, 251, 230, 0.75);
  margin: 0; text-wrap: pretty;
}
.cat-tips__refresh a { color: #F7B51C; font-weight: 600; }

/* ---- Dark band: how to get it + contractor lane ------------------------ */
.cat-get { background: #141915; padding: 0 48px 84px; }
.cat-get__inner { max-width: 1080px; margin: 0 auto; }
.cat-get__eyebrow {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.28em;
  text-transform: uppercase; color: #C8E6D8;
}
.cat-get__eyebrow::before,
.cat-get__eyebrow::after { content: ""; width: 44px; height: 1px; background: #F7B51C; flex: none; }
.cat-get__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 28px;
}
.get-card { background: #2D5441; border-radius: 8px; padding: 34px 34px 30px; }
.get-card__num { font-family: "Playfair Display", Georgia, serif; font-size: 26px; color: #F7B51C; }
.get-card h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 23px; font-weight: 600; color: #FFFBE6; margin: 10px 0 8px;
}
.get-card p { font-size: 14px; line-height: 1.7; color: rgba(255, 251, 230, 0.78); margin: 0; }
.get-card strong { color: #F7B51C; }
.get-card a { color: #F7B51C; font-weight: 700; }

.contractor-frame { margin-top: 56px; background: #2D5441; border-radius: 8px; padding: 10px; }
.contractor-frame__inner {
  border: 1px solid rgba(255, 251, 230, 0.35); border-radius: 4px;
  text-align: center; padding: 52px 48px;
}
.contractor-frame__eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 0.3em;
  text-transform: uppercase; color: #C8E6D8;
}
.contractor-frame__title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 38px; font-weight: 700; color: #FFFBE6; margin-top: 10px;
}
.contractor-frame p {
  font-size: 14.5px; line-height: 1.7; color: rgba(255, 251, 230, 0.78);
  max-width: 620px; margin: 12px auto 0;
}
.contractor-frame__cta { margin-top: 24px; }

/* ---- Cream band: FAQ ---------------------------------------------------- */
.cat-faq { background: #FFFBE6; padding: 76px 48px 84px; }
.cat-faq__inner { max-width: 860px; margin: 0 auto; }
.cat-faq__eyebrow {
  display: flex; align-items: center; gap: 14px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.24em;
  text-transform: uppercase; color: #3A6B52;
}
.cat-faq__eyebrow::before { content: ""; width: 34px; height: 2px; background: #3A6B52; flex: none; }
.cat-faq h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 40px; font-weight: 700; color: #2C2218; margin: 10px 0 26px;
}

/* Accordion styles MOVED to inner-pages.css (2026-08-16): the component is
   used on installation, FAQ, and content pages too — category-only loading
   left them unstyled everywhere else (John's screenshot, Pine Straw Install). */

.cat-faq__ctas { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.cat-related { font-size: 13px; color: #7A6E65; margin: 24px 0 0; line-height: 1.7; }
.cat-related a { color: #3A6B52; text-decoration: underline; }

/* Print: every answer visible. */
@media print {
  .pp-accordion__panel { display: block !important; height: auto !important; }
}

/* Reduced motion: open/close is instant, end state identical. */
@media (prefers-reduced-motion: reduce) {
  .pp-accordion__panel { transition-duration: 0ms; }
  .rack-card { transition-duration: 0ms; }
}

/* =========================================================================
   TABLET — 768–1024px
   ========================================================================= */
@media (max-width: 1024px) {
  .cat-hero { min-height: 406px; } /* uniform hero height (John, 2026-08-16) */
  .cat-hero__inner { padding: 150px 32px 48px; }
  .cat-hero h1 { font-size: 44px; }

  .cat-rack { padding: 48px 32px 64px; }
  .rack-head h2 { font-size: 34px; }
  .rack-grid { grid-template-columns: repeat(2, 1fr); }

  .cat-choose { padding: 0 32px 64px; }
  .cat-choose__inner { grid-template-columns: 1fr; gap: 36px; padding-top: 48px; }
  .cat-choose h2 { font-size: 28px; }

  .cat-tips { padding: 64px 32px; }
  .cat-tips__inner { grid-template-columns: 1fr; gap: 36px; }
  .cat-tips h2 { font-size: 30px; }
  
  .cat-get { padding: 0 32px 64px; }
  .contractor-frame__inner { padding: 40px 28px; }
  .contractor-frame__title { font-size: 30px; }

  .cat-faq { padding: 56px 32px 64px; }
  .cat-faq h2 { font-size: 32px; }
}

/* =========================================================================
   PHONE — <=767px
   ========================================================================= */
@media (max-width: 767px) {
  .cat-hero { min-height: 286px; } /* uniform hero height (John, 2026-08-16) */
  .cat-hero__inner { padding: 110px 16px 40px; }
  .cat-hero__eyebrow { font-size: 10.5px; letter-spacing: 0.22em; gap: 10px; margin-top: 18px; }
  .cat-hero__eyebrow::before { width: 26px; }
  .cat-hero h1 { font-size: 32px; line-height: 1.12; }
  .cat-hero__standfirst { font-size: 15px; }
  .cat-hero__ctas { flex-direction: column; align-items: stretch; }
  .cat-hero__ctas a { width: 100%; text-align: center; min-height: 48px;
                      display: inline-flex; align-items: center; justify-content: center; }

  .cat-rack { padding: 40px 16px 48px; }
  .cat-intro { font-size: 15.5px; }
  .rack-head { flex-direction: column; gap: 8px; margin-top: 34px; }
  .rack-head h2 { font-size: 28px; }
  .rack-grid { grid-template-columns: 1fr; gap: 14px; margin-top: 24px; }
  .rack-card__thumb { height: 240px; } /* 240px frames (John, 2026-08-16) */
  .rack-ctas { flex-direction: column; align-items: stretch; margin-top: 28px; }
  .rack-ctas a { width: 100%; text-align: center; min-height: 48px;
                 display: inline-flex; align-items: center; justify-content: center; }

  .cat-choose { padding: 0 16px 48px; }
  .cat-choose__inner { padding-top: 40px; gap: 28px; }
  .cat-choose h2 { font-size: 26px; }
  .numbered-list__row { gap: 12px; }
  .numbered-list__num { width: 26px; font-size: 18px; }

  .cat-tips { padding: 48px 16px; }
  .cat-tips__inner { gap: 28px; }
  .cat-tips h2 { font-size: 26px; }
    .tips-list__num { width: 26px; font-size: 19px; }

  .cat-get { padding: 0 16px 48px; }
  .cat-get__grid { grid-template-columns: 1fr; gap: 14px; }
  .get-card { padding: 26px 22px 24px; }
  .get-card h3 { font-size: 20px; }
  .contractor-frame { margin-top: 36px; }
  .contractor-frame__inner { padding: 30px 18px; }
  .contractor-frame__title { font-size: 24px; }
  .contractor-frame__cta a { width: 100%; text-align: center; min-height: 48px;
                             display: inline-flex; align-items: center; justify-content: center; }

  .cat-faq { padding: 44px 16px 48px; }
  .cat-faq h2 { font-size: 26px; }
  .pp-accordion__trigger { font-size: 17px; padding: 18px 18px; }
  .pp-accordion__panel { padding: 0 18px 20px; }
  .cat-faq__ctas { flex-direction: column; }
  .cat-faq__ctas a { width: 100%; text-align: center; min-height: 48px;
                     display: inline-flex; align-items: center; justify-content: center; }
}

/* =========================================================================
   YARDAGE CALCULATOR — behavior-spec §2.
   Replaces the static sizing panel in the right-hand column of the
   "choosing help" band. Same sage card shell as the panel it replaces.
   ========================================================================= */
.pp-calc {
  /* Cream, not sage — the cool #EAF3EC read as blue against the warm page
     (John, 2026-08-16). Brand board carries no blue. */
  background: #FFFBE6; border: 1px solid #E0DACE; border-radius: 8px;
  padding: 24px 26px;
}
.pp-calc__title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 22px; font-weight: 700; color: #2C2218; margin: 0 0 14px;
}
.pp-calc__modes {
  border: 0; padding: 0; margin: 0 0 14px;
  display: flex; gap: 16px; flex-wrap: wrap;
}
.pp-calc__mode {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13.5px; font-weight: 600; color: #3A4A40; cursor: pointer;
  min-height: 44px;
}
.pp-calc__mode input { accent-color: #2D5441; width: 18px; height: 18px; }

.pp-calc__fields { display: flex; gap: 12px; flex-wrap: wrap; }
.pp-calc__field { display: flex; flex-direction: column; gap: 5px; flex: 1; min-width: 130px; margin-bottom: 14px; }
.pp-calc__field label {
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: #3A6B52;
}
.pp-calc input[type="number"],
.pp-calc select {
  font-family: Inter, sans-serif; font-size: 15px; color: #2C2218;
  background: #FFFEF9; border: 1px solid #D8CFAF; border-radius: 6px;
  padding: 12px 14px; min-height: 48px; width: 100%;
}
/* Kill every browser-default BLUE state on the calculator's controls. */
.pp-calc input:focus-visible,
.pp-calc select:focus-visible,
.pp-calc button:focus-visible {
  outline: 2px solid #F7B51C; outline-offset: 2px;
}
.pp-calc input[type="number"]:focus,
.pp-calc select:focus { border-color: #3A6B52; }
.pp-calc ::selection { background: #F7B51C; color: #2C2218; }
.pp-calc input[aria-invalid="true"] { border-color: #B3261E; border-width: 2px; }
.pp-calc__help { font-size: 12px; color: #7A6E65; }

.pp-calc__actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 4px; }
.pp-calc__actions .pp-btn-gold { min-height: 48px; display: inline-flex; align-items: center; }
.pp-calc__reset {
  background: none; border: 0; padding: 8px 4px; min-height: 44px;
  font-family: Inter, sans-serif; font-size: 13.5px; font-weight: 600;
  color: #3A6B52; text-decoration: underline; cursor: pointer;
}
.pp-calc__reset:hover { color: #2D5441; }

.pp-calc__result:empty { display: none; }
.pp-calc__result {
  display: block; margin-top: 18px; padding-top: 16px;
  border-top: 1px dashed #C8E6D8;
}
.pp-calc__headline { font-size: 17px; line-height: 1.5; color: #2C2218; margin: 0; }
.pp-calc__headline strong { color: #2D5441; }
.pp-calc__raw { font-size: 13px; color: #7A6E65; margin: 6px 0 0 !important; }
.pp-calc__coverage { font-size: 13.5px; color: #4A3F35; margin: 8px 0 0 !important; }
.pp-calc__note { font-size: 13.5px; font-weight: 600; color: #2D5441; margin: 8px 0 0 !important; }
.pp-calc__error { font-size: 14px; font-weight: 600; color: #B3261E; margin: 0; }
.pp-calc__ctas { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 14px; }
.pp-calc__ctas .pp-btn-gold { min-height: 44px; display: inline-flex; align-items: center; }
.pp-calc__phone { font-size: 13.5px; font-weight: 600; color: #3A6B52; }

/* With JS the fallback sentence is still useful standing copy, so it stays. */
.pp-calc__fallback {
  font-size: 13px; line-height: 1.7; color: #4A3F35;
  margin: 16px 0 0 !important; padding-top: 14px;
  border-top: 1px dashed #C8E6D8;
}

@media (max-width: 767px) {
  .pp-calc { padding: 20px 18px; }
  .pp-calc__fields { flex-direction: column; gap: 0; }
  .pp-calc__actions .pp-btn-gold { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .pp-calc__result { transition: none; }
}

/* =========================================================================
   Variant slots — used by the category pages whose structure differs from
   the first four. Values transcribed from the inline styles in final_html,
   not invented. Each is inert on a page that does not pass the arg.
   ========================================================================= */

/* Order-ahead ribbon — Sod, between the rack cards and the rack CTAs.
   Sod.dc.html: the gold left rule is the whole point of the block. */
.rack-ribbon {
	display: flex;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
	background: #2D5441;
	border-left: 4px solid #F7B51C;
	border-radius: 8px;
	padding: 18px 24px;
	margin-top: 20px;
}
.rack-ribbon__label {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: #F7B51C;
	white-space: nowrap;
}
.rack-ribbon p {
	font-size: 14px;
	line-height: 1.6;
	color: rgba(255, 251, 230, 0.88);
	margin: 0;
	flex: 1;
	min-width: 280px;
	text-wrap: pretty;
}

/* Lede under the "How to get it" eyebrow — carries Sod's 48-hour lead time. */
.cat-get__lede {
	text-align: center;
	font-size: 14.5px;
	color: rgba(255, 251, 230, 0.7);
	margin: 16px auto 0;
	max-width: 640px;
}
.cat-get__lede strong { color: #F7B51C; }
.cat-get__lede a { color: #F7B51C; font-weight: 700; }

/* Closing line under the tips list. */
.cat-tips__closer {
	font-size: 14.5px;
	color: #C8E6D8;
	line-height: 1.7;
	margin: 16px 0 0;
	font-style: italic;
}

/* Prose "how much do I need?" card — the aside on pages with no calculator,
   because they sell by the roll or pallet rather than by depth. */
.cat-howmuch {
	background: #EAF3EC;
	border: 1px solid #C8E6D8;
	border-radius: 8px;
	padding: 24px 26px;
}
.cat-howmuch h2 {
	font-family: "Playfair Display", Georgia, serif;
	font-size: 22px;
	font-weight: 700;
	color: #2C2218;
	margin: 0 0 8px;
}
.cat-howmuch h2 em { font-style: italic; color: #3A6B52; }
.cat-howmuch p {
	font-size: 14px;
	line-height: 1.7;
	color: #4A3F35;
	margin: 0;
	text-wrap: pretty;
}
.cat-howmuch strong { color: #2C2218; }

/* Contractor lane as its own full-width section (Sod, Edging & Fabric).
   The nested form keeps its margin-top; the standalone form must not have
   one, because the section's own padding already sets the gap. */
.cat-contractor { background: #141915; padding: 0 48px 84px; }
.cat-contractor__inner { max-width: 1080px; margin: 0 auto; }
.cat-contractor .contractor-frame { margin-top: 0; }

@media (max-width: 767px) {
	.rack-ribbon { padding: 16px 18px; gap: 10px; }
	.rack-ribbon p { min-width: 0; }
	.cat-howmuch { padding: 20px 18px; }
	.cat-howmuch h2 { font-size: 19px; }
	.cat-contractor { padding: 0 20px 56px; }
}

/* Multi-paragraph variant of the sage aside card (Firewood & Feed's
   "Which deer corn?"). The last paragraph is the muted footnote. */
.cat-howmuch p + p { margin-top: 10px; }
.cat-howmuch__note { color: #7A6E65; font-size: 13.5px; line-height: 1.6; }

/* Tips aside closing note as a pine card. Firewood & Feed has no separate
   how-to-get-it section, so its pickup-only block lives here. */
.cat-tips__refresh--pine {
  background: #2D5441; border-radius: 8px; padding: 24px 26px;
}
.cat-tips__refresh--pine h2 { font-size: 22px; margin: 0 0 10px; }
.cat-tips__refresh--pine p {
  font-size: 14px; line-height: 1.7; color: #C8E6D8; margin: 0;
}
.cat-tips__refresh--pine p + p { margin-top: 10px; }
.cat-tips__refresh--pine strong { color: #FFFBE6; }
.cat-tips__refresh--pine strong.is-gold { color: #F7B51C; }

/* =========================================================================
   Edging & Fabric — two bespoke bands.
   ========================================================================= */

/* Static rack card: no link, because the line is not in WooCommerce and there
   is no product page to send anyone to. Everything else matches .rack-card. */
.rack-card--static { cursor: default; }
.rack-card--static:hover { transform: none; box-shadow: none; }

/* ---- "How much do I need? (two quick measurements)" -------------------- */
.edge-measure {
  background: #FFFBE6; padding: 0 48px 84px; border-top: 1px solid #EFE8D0;
}
.edge-measure__inner {
  max-width: 1080px; margin: 0 auto;
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 64px; padding-top: 64px;
}
.edge-measure h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 34px; font-weight: 700; color: #2C2218; margin: 0 0 20px;
}
.edge-measure h2 em { font-style: italic; color: #3A6B52; }
.edge-measure__rows { display: flex; flex-direction: column; gap: 20px; }
.edge-measure__label {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 19px; font-weight: 600; color: #2C2218; margin-bottom: 4px;
}
.edge-measure__row p {
  font-size: 15px; line-height: 1.7; color: #4A3F35; margin: 0; text-wrap: pretty;
}
.edge-measure__row strong { color: #2C2218; }
.edge-measure__aside { display: flex; flex-direction: column; gap: 24px; }
.edge-measure__photo { min-height: 180px; border-radius: 6px; overflow: hidden; }
.edge-measure__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

.edge-get {
  background: #EAF3EC; border: 1px solid #C8E6D8; border-radius: 8px;
  padding: 24px 26px;
}
.edge-get h2 { font-size: 20px; margin: 0 0 10px; }
.edge-get p {
  font-size: 14px; line-height: 1.7; color: #4A3F35; margin: 0; text-wrap: pretty;
}
.edge-get p + p { margin-top: 10px; }
.edge-get strong { color: #2C2218; }

/* ---- DIY tips: one heading over two independently headed lists --------- */
.edge-tips { position: relative; background: #141915; padding: 84px 48px; overflow: hidden; }
.edge-tips__inner { max-width: 1080px; margin: 0 auto; position: relative; }
.edge-tips h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 38px; font-weight: 700; color: #FFFBE6; margin: 10px 0 0; line-height: 1.1;
}
.edge-tips__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 32px;
}
.edge-tips__col h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 22px; font-weight: 600; color: #F7B51C; margin: 0 0 8px;
}

@media (max-width: 1024px) {
  .edge-measure__inner { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 767px) {
  .edge-measure { padding: 0 20px 56px; }
  .edge-measure__inner { padding-top: 44px; gap: 28px; }
  .edge-measure h2 { font-size: 26px; }
  .edge-get { padding: 20px 18px; }
  .edge-tips { padding: 56px 20px; }
  .edge-tips h2 { font-size: 28px; }
  .edge-tips__grid { grid-template-columns: 1fr; gap: 28px; }
}

/* Centred note under the rack cards (Edging & Fabric's roll-sizing key). */
.rack-footnote {
  font-size: 13.5px; color: #7A6E65; margin: 20px 0 0; text-align: center;
}
.rack-footnote strong { color: #2C2218; }

/* Edging tips install photo — transcribed from finalized Edging and Fabric.css
   .pp-74 (min-height:150px; margin-top:20px). John, 2026-08-16. */
.edge-tips__photo { min-height: 150px; margin-top: 20px; border-radius: 6px; overflow: hidden; }
.edge-tips__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
