/*
 * TRR theme for the shared shop pages (Shop, Contact, About, FAQ, login, ...).
 * Loaded after the shop styles so the old red / brown / Helvetica look follows the
 * new TRR design: forest green + gold accents, Playfair headings, clean sans body.
 * The homepage and the new header/footer set their own styles and are not affected.
 */

/* ---------- Typography ------------------------------------------------------ */

body {
  font-family: var(--trr-sans);
  color: var(--trr-text-dark);
  background-color: var(--trr-cream-50);
}

/* Low specificity on purpose: page-specific rules and .trr-* components keep their own fonts. */
:where(.super_container) :where(h1, h2, h3, h4) {
  font-family: var(--trr-serif);
  font-weight: 600;
  color: var(--trr-forest-800);
}

/* ---------- Buttons and controls --------------------------------------------- */

.btn {
  font-family: var(--trr-sans);
  border-radius: var(--trr-button-radius);
  background-color: var(--trr-accent);
  border: 1px solid var(--trr-accent);
  color: #fff;
}
.btn:hover, .btn:focus {
  background-color: var(--trr-accent-hover);
  border-color: var(--trr-accent-hover);
  color: #fff;
}

.super_container input:focus, .super_container select:focus, .super_container textarea:focus {
  border-color: var(--trr-forest-600);
  box-shadow: 0 0 0 3px rgba(212, 162, 63, .3);
  outline: 0;
}
.super_container :focus-visible { outline-color: var(--trr-gold-500); }

/* ---------- Page banner (Shop, Details, ...) ----------------------------------- */
/* The old banner was a red striped photo; use the TRR forest look instead. */

.breadcrumb {
  background-image:
    radial-gradient(ellipse 55% 90% at 12% 0%, rgba(54, 130, 76, .35), transparent 70%),
    linear-gradient(180deg, var(--trr-forest-900), var(--trr-forest-800)) !important;
  border-bottom: 3px solid var(--trr-gold-500);
}
.breadcrumb, .breadcrumb * { color: var(--trr-text-light); }
.breadcrumb h2 { font-family: var(--trr-serif); font-weight: 600; letter-spacing: 0; }
.breadcrumb a:hover { color: var(--trr-gold-400); }

/* ---------- Selection / small bits -------------------------------------------- */

::selection { background: rgba(212, 162, 63, .35); }

/* ---------- Old font helpers -> TRR fonts --------------------------------------- */
/* Pages use .font-regular / .font-round-bold (Helvetica files) with !important. */

.font-regular { font-family: var(--trr-sans) !important; }
.font-round-bold, .header-login, .countdown-value { font-family: var(--trr-sans) !important; font-weight: 700; }

/* Headings everywhere in page content use the TRR serif; .trr-* components keep their own. */
:where(.super_container) :where(h1, h2, h3, h4):not([class*="trr-"]) {
  font-family: var(--trr-serif) !important;
  font-weight: 600;
}

/* ---------- Banner text ---------------------------------------------------------- */

.breadcrumb h1, .breadcrumb h2, .breadcrumb h3, .breadcrumb p,
.breadcrumb li, .breadcrumb a, .breadcrumb span, .breadcrumb .active { color: var(--trr-text-light) !important; }
.breadcrumb h2 { text-shadow: 0 2px 14px rgba(0, 0, 0, .35); }

/* ---------- Leftover red / brown component variants -------------------------------- */

.btn.-red, .btn.-light-red { background-color: var(--trr-accent); border-color: var(--trr-accent); color: #fff; }
.btn.-red:hover, .btn.-light-red:hover { background-color: var(--trr-accent-hover); border-color: var(--trr-accent-hover); color: #fff; }
.text-black { color: var(--trr-text-dark) !important; }

/* Large page-title spans (e.g. "Contact Us") use the serif as well. */
.f-55, .f-70 { font-family: var(--trr-serif) !important; font-weight: 600; color: var(--trr-forest-800); }

/* Keep the big page titles inside narrow screens. */
.f-70 { font-size: clamp(32px, 8.4vw, 70px) !important; overflow-wrap: anywhere; line-height: 1.1; }
.f-55 { font-size: clamp(30px, 7.4vw, 55px) !important; overflow-wrap: anywhere; line-height: 1.1; }
