/* Brand v3 shopfront unification for all classic goldstraw.app guides.
   Loads right after guides-v1.css (whose bytes stay immutable for cached pages)
   and before goldie-web-v2.css. Keeps @media print pure black-on-white. */

body:has(.guide) .site-header {
  background: #123f2c;
  border-bottom: 4px solid #f2b632;
}
body:has(.guide) .site-header .brand { color: #f8f5ee; }
body:has(.guide) .site-header .brand img {
  border: 2px solid rgba(248, 245, 238, 0.28);
  border-radius: 10px;
}
body:has(.guide) .site-header .header-link {
  padding: 0 18px;
  border: 1.5px solid rgba(248, 245, 238, 0.45);
  border-radius: 999px;
  color: #f8f5ee;
  text-decoration: none;
  font-weight: 700;
}
body:has(.guide) .site-header .header-link:hover {
  border-color: #f2b632;
  color: #f2b632;
}
body:has(.guide) .site-header :is(.brand, .header-link):focus-visible {
  outline: 3px solid #f2b632;
  outline-offset: 4px;
}

.guide .guide-summary {
  border: 1.5px solid #d4ddd0;
  border-left: 4px solid #123f2c;
  background: #fffdf8;
}
.guide .guide-list {
  border: 1.5px solid #d4ddd0;
}

/* Deep Green counter CTA card: inset rim keeps border-top 0 so Goldie stands flush. */
.guide .guide-cta {
  border: 0;
  background: #123f2c;
  color: #f8f5ee;
  box-shadow: inset 0 5px 0 0 #f2b632;
}
.guide-cta .goldie-counter-basket {
  position: absolute;
  right: 20px;
  bottom: 100%;
  width: 148px;
  height: auto;
  display: block;
  overflow: hidden;
}
.guide-cta .goldie-counter-basket img {
  display: block;
  width: 100%;
  height: auto;
  transform: translateY(7.5%);
}
@media (min-width: 640px) {
  .guide-cta .goldie-counter-basket {
    right: 32px;
    width: 172px;
  }
}
.guide .guide-cta h2 { color: #f2b632; }
.guide .guide-cta > p { color: #f8f5ee; }
.guide .guide-cta .hero-note { color: rgba(248, 245, 238, 0.86); }
.guide .guide-cta .button {
  background: #f2b632;
  color: #123f2c;
  border: 1px solid rgba(18, 63, 44, 0.22);
  border-radius: 14px;
  font-weight: 700;
  transition: background-color 150ms ease, transform 120ms cubic-bezier(0.22, 1, 0.36, 1);
}
.guide .guide-cta .button:hover { background: #f6c34d; }
.guide .guide-cta .button:active { transform: scale(0.985); }
.guide .guide-cta .button:focus-visible {
  outline: 3px solid #f8f5ee;
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  .guide .guide-cta .button { transition: none; }
  .guide .guide-cta .button:active { transform: none; }
}

@media print {
  .guide .guide-list { box-shadow: none; }
  body:has(.guide):not(:has([data-print-list])) {
    background: #fff;
    color: #000;
  }
  body:has(.guide):not(:has([data-print-list])) .site-header {
    background: #fff;
    color: #000;
    border-bottom: 1px solid #000;
  }
  body:has(.guide):not(:has([data-print-list])) .site-header .brand,
  body:has(.guide):not(:has([data-print-list])) .site-header .header-link {
    color: #000;
    border-color: #000;
  }
  body:has(.guide):not(:has([data-print-list])) .guide-cta,
  body:has(.guide):not(:has([data-print-list])) .guide-summary,
  body:has(.guide):not(:has([data-print-list])) .guide-cta .button {
    background: #fff;
    color: #000;
    border: 1px solid #000;
    box-shadow: none;
  }
  body:has(.guide):not(:has([data-print-list])) .guide-cta h2,
  body:has(.guide):not(:has([data-print-list])) .guide-cta > p,
  body:has(.guide):not(:has([data-print-list])) .guide-cta .hero-note {
    color: #000;
  }
  .guide .goldie { display: none; }
}
