/* Paruthi Mills / gateway: elegant deep-green theme (from the Mills brochure cover).
   Loaded only on non-Knits pages, after site.css. */
:root {
  --pm-red-rgb: 15, 74, 57;
  --pm-red: #0f4a39;
  --pm-red-hover: #0a3528;
  --pm-red-soft: rgba(15, 74, 57, 0.08);
  --pm-red-glow: rgba(15, 74, 57, 0.25);
  --pm-brass: #c9a24d;
  --pm-brass-bright: #dcb866;
  --pm-brass-glow: rgba(201, 162, 77, 0.3);
  --pm-green-deep: #0a3a2c;
  --pm-red-tint: #e8f1ec;
  --pm-red-light: #1f7a5c;
}

/* Fabric Applications: deep green background, gold accents */
.fabrics { background: var(--pm-green-deep); }
.fabrics .fabric-row__num { color: var(--pm-brass); }
.fabrics .fabric-row__media-badge,
.fabrics .fabric-row__kick {
  color: var(--pm-brass-bright);
  border-color: rgba(201, 162, 77, 0.45);
}
.fabrics .fabric-row__kick { background: rgba(201, 162, 77, 0.14); }

/* =====================================================
   PARUTHI MILLS: full sage-green page theme (like the Knits kraft theme)
   Scoped to body.mills-site; the home gateway keeps only the accent vars.
===================================================== */
body.mills-site {
  --mg-bg: #d3e2d7;          /* page background: soft sage */
  --mg-bg-soft: #c2d6c7;     /* alternating sections */
  --mg-bg-deep: #b4ccba;     /* footer */
  --mg-card: #eaf3ec;        /* cards */
  --mg-card-2: #dfece2;
  --mg-line: rgba(10, 58, 44, 0.18);
  --mg-ink: #10261c;
  --mg-muted: #3f5648;
  --mg-dark: #0a3a2c;

  --pm-paper: var(--mg-bg);
  --pm-paper-2: var(--mg-bg);
  --pm-cream: var(--mg-card);
  --pm-cream-warm: var(--mg-card-2);
  --pm-text-dark: var(--mg-ink);
  --pm-ink-muted: var(--mg-muted);
  --pm-line-light: var(--mg-line);
  --pm-red-tint: #dcebe0;
  --pm-red-light: #1f7a5c;

  background: var(--mg-bg);
  color: var(--mg-ink);
}

/* Header + mobile menu */
body.mills-site .site-header--cream,
body.mills-site .site-header--cream.is-scrolled {
  background: #c9dccd !important;
  border-bottom: 1px solid var(--mg-line) !important;
}
body.mills-site .site-header--cream .site-nav a,
body.mills-site .site-header--cream .menu-toggle { color: var(--mg-ink); }
body.mills-site .site-header--cream .site-nav a:hover,
body.mills-site .site-header--cream .site-nav a.is-active { color: var(--pm-red) !important; }
body.mills-site .mobile-menu { background: var(--mg-dark); }

/* Sections */
body.mills-site .cat-carousel-section,
body.mills-site .fabric-showcase-section,
body.mills-site .about-overview,
body.mills-site .team,
body.mills-site .contact,
body.mills-site .shop-hero,
body.mills-site .section-pad[style*="FAF7F2"] { background: var(--mg-bg) !important; }
body.mills-site .brands-trust-section {
  background: var(--mg-bg-soft);
  border-color: var(--mg-line);
}
body.mills-site .cta-band { background: var(--mg-dark); }
body.mills-site .cta-band .btn--solid { background: #e6efe8; border-color: #e6efe8; color: var(--mg-dark); box-shadow: none; }
body.mills-site .cta-band .btn--solid:hover { background: #ffffff; }
body.mills-site .fabrics { background: var(--mg-dark); }

/* Cards, inputs, filters */
body.mills-site .team-card,
body.mills-site .enquiry,
body.mills-site .shop-card,
body.mills-site .shop-toolbar,
body.mills-site .product-modal,
body.mills-site .contact__switch-card,
body.mills-site .no-results {
  background: var(--mg-card);
  border-color: var(--mg-line);
}
body.mills-site .team-card__media,
body.mills-site .shop-card__media { background: var(--mg-card-2); }
body.mills-site .shop-search input,
body.mills-site .shop-sort-select,
body.mills-site .shop-cat-btn,
body.mills-site .page-btn,
body.mills-site .shop-card__btn,
body.mills-site .enquiry input,
body.mills-site .enquiry select,
body.mills-site .enquiry textarea {
  background: #f1f7f2;
  border-color: var(--mg-line);
}
body.mills-site .shop-card__color-tag { background: var(--mg-card-2); }
body.mills-site .shop-card__title,
body.mills-site .team-card__name { color: var(--mg-ink); }
body.mills-site .shop-card__desc,
body.mills-site .team-card__quote { color: var(--mg-muted); }

/* Footer */
body.mills-site .site-footer {
  background: var(--mg-bg-deep);
  border-top: 1px solid var(--mg-line);
  color: var(--mg-ink);
}
body.mills-site .site-footer__brand p,
body.mills-site .site-footer__col a,
body.mills-site .site-footer__col address a,
body.mills-site .site-footer__bottom,
body.mills-site .site-footer__bottom p { color: var(--mg-muted); }
body.mills-site .site-footer__label,
body.mills-site .site-footer__bottom a { color: var(--mg-ink); }
body.mills-site .site-footer__col a:hover { color: var(--pm-red); }
body.mills-site .site-footer__bottom { border-top-color: var(--mg-line); }
body.mills-site .back-to-top { background: var(--pm-red); color: #fff; }

/* keep active states solid green (they were washed out by the input/filter backgrounds) */
body.mills-site .shop-cat-btn.is-active,
body.mills-site .shop-cat-btn[aria-selected="true"],
body.mills-site .page-btn.is-active {
  background: var(--pm-red);
  border-color: var(--pm-red);
  color: #ffffff;
}
body.mills-site .shop-card:hover .shop-card__btn {
  background: var(--pm-red);
  border-color: var(--pm-red);
  color: #ffffff;
}

body.mills-site .contact__info { background: var(--mg-card); border: 1px solid var(--mg-line); }
body.mills-site .socials a,
body.mills-site .contact__block--social a { background: var(--mg-card-2); }

/* New Paruthi Mills logo (dark green badge with gold) */
body.mills-site .site-logo__mills.mills-logo-new {
  width: auto;
  height: 66px;
  aspect-ratio: auto;
  border-radius: 8px;
}
body.mills-site .site-footer__brand .site-logo__img.mills-logo-new {
  width: auto;
  height: 96px;
  aspect-ratio: auto;
  border-radius: 10px;
}
@media (max-width: 640px) {
  body.mills-site .site-logo__mills.mills-logo-new { height: 54px; }
}

/* make the badge logo legible: taller header on Mills pages */
body.mills-site .site-header--cream .site-header__inner { height: 104px; }
body.mills-site .site-logo__mills.mills-logo-new { height: 92px; }
@media (max-width: 640px) {
  body.mills-site .site-header--cream .site-header__inner { height: 84px; }
  body.mills-site .site-logo__mills.mills-logo-new { height: 70px; }
}
