/* ==========================================================================
   fix-home.css - Homepage graphic fix layer (loaded LAST)
   Overrides woocommerce.css / products.css / main.css / hero.css /
   archive-selection.css / responsive.css for the HOMEPAGE only.
   Hardcoded hex per theme rule (no CSS variables). Use !important where
   overriding inline styles or higher-specificity shared sheets.
   ========================================================================== */

/* --------------------------------------------------------------------------
   0a. GLOBAL EMOJI FIX (applies site-wide, this sheet loads on every page)
   This build is missing WordPress core's `img.emoji{height:1em;width:1em}`,
   so emoji SVGs (🔥 in "HOT PRODUCT 🔥" badges, etc.) rendered at their
   intrinsic ~186px and blew the badges up to cover the product photos.
   Restoring 1em sizing fixes badges on home, shop, category and related.
   -------------------------------------------------------------------------- */
img.emoji,
.product-card-image img.emoji,
.product-card-image .emoji,
.product-badge img.emoji,
.product-card-badge img.emoji {
  height: 1em !important;
  width: 1em !important;
  margin: 0 .07em !important;
  vertical-align: -0.1em !important;
  max-width: none !important;
  object-fit: contain !important;
}

/* --------------------------------------------------------------------------
   0. SECTION RHYTHM - consistent vertical padding, anchor offset for
   sticky ticker+header (~36px ticker + ~70px header).
   -------------------------------------------------------------------------- */
.bwc-homepage-main .bwc-section {
  padding: 96px 0 !important;
  scroll-margin-top: 120px;
}
.bwc-homepage-main #bwc-collections.bwc-section {
  padding: 84px 0 64px !important;
}
.bwc-homepage-main #bwc-products.bwc-section {
  padding: 72px 0 96px !important;
}
/* Subtle gold hairline between stacked sections for premium separation */
.bwc-homepage-main .bwc-bg-obsidian + .bwc-bg-heritage-green,
.bwc-homepage-main .bwc-bg-heritage-green + .bwc-bg-obsidian {
  position: relative;
}
.bwc-homepage-main .bwc-bg-obsidian + .bwc-bg-heritage-green::before,
.bwc-homepage-main .bwc-bg-heritage-green + .bwc-bg-obsidian::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 2px;
  background: #c5a059;
  opacity: 0.55;
}

/* --------------------------------------------------------------------------
   1. TICKER BAR
   -------------------------------------------------------------------------- */
.bwc-ticker {
  background: #0d0d0d !important;
  border-bottom-color: #1a1a1a !important;
}
.bwc-ticker-item { color: #cccccc !important; }
.bwc-ticker-highlight { color: #c5a059 !important; }
.bwc-ticker-star { color: #c5a059 !important; }

/* --------------------------------------------------------------------------
   2. HEADER (homepage) - keep transparent over hero, gold logo accent
   -------------------------------------------------------------------------- */
.bwc-header { top: 36px; }
.bwc-logo-text {
  font-family: "Playfair Display", Georgia, serif !important;
  color: #ffffff;
}
.bwc-header.scrolled { background-color: rgba(3, 28, 18, 0.96) !important; }

/* --------------------------------------------------------------------------
   3. HERO - guaranteed legible headline/CTA, no overlap
   -------------------------------------------------------------------------- */
.bwc-hero { background-color: #031c12 !important; }
.bwc-hero-overlay {
  background: linear-gradient(
    to bottom,
    rgba(2, 14, 8, 0.55) 0%,
    rgba(3, 28, 18, 0.78) 55%,
    rgba(3, 28, 18, 0.95) 100%
  ) !important;
}
.bwc-hero-content { padding-top: 70px; padding-bottom: 70px; }
.bwc-hero h1 {
  font-size: clamp(2.1rem, 4.2vw, 3.6rem) !important;
  line-height: 1.12 !important;
  letter-spacing: 0.5px;
  text-shadow: 0 6px 28px rgba(0, 0, 0, 0.85) !important;
  max-width: 940px;
  margin-left: auto !important;
  margin-right: auto !important;
}
.bwc-hero p {
  color: #e8e8e8 !important;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
}
.bwc-hero-subtitle { color: #c5a059 !important; }
.bwc-hero-cta {
  background-color: #c5a059 !important;
  border-color: #c5a059 !important;
  color: #031c12 !important;
  font-weight: 700 !important;
  letter-spacing: 1.5px !important;
  padding: 17px 46px !important;
  box-shadow: 0 8px 30px rgba(197, 160, 89, 0.35) !important;
}
.bwc-hero-cta:hover {
  background-color: #d4b06b !important;
  border-color: #d4b06b !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(197, 160, 89, 0.5) !important;
}
/* Trustpilot badge refined */
.bwc-trustpilot-badge {
  background-color: rgba(3, 28, 18, 0.6);
  border: 1px solid rgba(197, 160, 89, 0.35);
  padding: 12px 22px;
  border-radius: 10px;
}
.bwc-trustpilot-label { color: #ffffff !important; font-weight: 600; }
.bwc-trustpilot-count { color: #cccccc !important; }

/* --------------------------------------------------------------------------
   4. SECTION HEADERS - consistent eyebrow / divider / title hierarchy
   -------------------------------------------------------------------------- */
.bwc-collection-header { margin: 0 auto 56px !important; }
.bwc-gold-divider {
  width: 56px !important;
  height: 2px !important;
  background-color: #c5a059 !important;
  margin: 0 auto 18px !important;
}
.bwc-collection-label {
  color: #c5a059 !important;
  letter-spacing: 4px !important;
  margin-bottom: 14px !important;
}
.bwc-collection-title {
  font-family: "Playfair Display", Georgia, serif !important;
  color: #ffffff !important;
  font-size: clamp(1.8rem, 3vw, 2.6rem) !important;
  margin-bottom: 16px !important;
}
.bwc-collection-subtitle { color: #cccccc !important; }

/* --------------------------------------------------------------------------
   5. SHOP BY COLLECTION (archive-selection cards)
   -------------------------------------------------------------------------- */
.bwc-archive-selection { padding: 20px 0 10px; }
.bwc-collection-grid { gap: 26px !important; }
.bwc-collection-card {
  background-color: #0a1a12 !important;
  border-color: #1a2a22 !important;
}
.bwc-collection-card:hover,
.bwc-collection-card:focus-visible {
  border-color: #c5a059 !important;
}
.bwc-collection-card-image { background-color: #0a2e1a !important; }
.bwc-collection-card-image img {
  object-fit: cover !important;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.bwc-collection-count {
  background-color: rgba(3, 28, 18, 0.92) !important;
  color: #c5a059 !important;
  border-color: rgba(197, 160, 89, 0.7) !important;
  font-weight: 700 !important;
}
.bwc-collection-card-body { padding: 22px 22px 24px !important; gap: 5px; }
.bwc-collection-card-eyebrow { color: #c5a059 !important; opacity: 0.85; }
.bwc-collection-card-title {
  font-family: "Playfair Display", Georgia, serif !important;
  color: #ffffff !important;
}
.bwc-collection-card-cta { color: #c5a059 !important; }

/* --------------------------------------------------------------------------
   6. PRODUCT GRID - homepage-specific refinements only.
   NOTE: the shared card frame / image tile / title clamp / price / delivery /
   rating are already styled globally by fix-shop.css (loaded after this file)
   and render correctly on the homepage. Only the BADGE is left untouched by
   fix-shop (homepage template emits .product-card-badge span with bright
   inline background-colors) - so that is the one override applied here.
   -------------------------------------------------------------------------- */
.bwc-product-grid { gap: 26px !important; }

/* Soft fade from the light product-photo tile into the dark card body so the
   two-tone card reads as an intentional catalog tile, not a bright hole. */
.product-card-image::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 32%;
  background: linear-gradient(to bottom, transparent, #0a1a12);
  pointer-events: none;
  z-index: 1;
}

/* UNIFIED luxury badge - overrides every inline bright color
   (orange "HOT PRODUCT", purple "TOP SELLER", green "NEW ONE") with a
   single dark-green + gold motif that matches the theme. */
.product-card-badge { top: 14px !important; left: 14px !important; z-index: 12; }
.product-card-badge span,
.product-card-badge span[style] {
  background-color: #031c12 !important;
  color: #c5a059 !important;
  border: 1px solid #c5a059 !important;
  border-radius: 3px !important;
  padding: 6px 11px !important;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-weight: 700 !important;
  font-size: 0.62rem !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
  line-height: 1 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

/* BUGFIX (2026-07-17): the "HOT PRODUCT 🔥" badge was blowing up to ~186x186px
   and covering the product photo. ROOT CAUSE: WordPress converts the 🔥 emoji to
   an <img class="emoji" src="...svg">, and the WP core `img.emoji{height:1em;width:1em}`
   style was not applying in this build, so the SVG rendered at its intrinsic ~186px
   size and the inline-block span grew around it. Forcing the emoji to 1em fixes it. */
.product-card .product-card-image .product-card-badge {
  display: block !important;
  inset: 14px auto auto 14px !important;
  top: 14px !important;
  left: 14px !important;
  right: auto !important;
  bottom: auto !important;
  width: auto !important;
  height: auto !important;
  max-width: 70% !important;
  z-index: 12 !important;
}
.product-card .product-card-image .product-card-badge span,
.product-card .product-card-image .product-card-badge span[style] {
  display: inline-block !important;
  width: auto !important;
  height: auto !important;
}
.product-card .product-card-image .product-card-badge img.emoji,
.product-card .product-card-image .product-card-badge .emoji {
  height: 1em !important;
  width: 1em !important;
  margin: 0 0 0 3px !important;
  vertical-align: -0.15em !important;
}

/* --------------------------------------------------------------------------
   7. SPECS GRID - uniform icon circles, readable copy, premium dividers
   -------------------------------------------------------------------------- */
.bwc-specs-grid {
  gap: 24px !important;
  padding: 56px 0 !important;
  border-top: 1px solid #1a2a22 !important;
  border-bottom: 1px solid #1a2a22 !important;
  background-color: #0a1a12;
  border-radius: 10px;
}
.bwc-spec-item {
  padding: 22px 22px !important;
  border-right: 1px solid rgba(197, 160, 89, 0.14) !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}
.bwc-spec-item:last-child { border-right: none !important; }
/* uniform circular gold icon container so all icons line up */
.bwc-spec-icon {
  width: 66px;
  height: 66px;
  margin: 0 auto 18px !important;
  border-radius: 50%;
  border: 1px solid rgba(197, 160, 89, 0.4);
  background: rgba(197, 160, 89, 0.07);
  display: flex !important;
  align-items: center;
  justify-content: center;
}
.bwc-spec-icon svg { stroke: #c5a059 !important; }
.bwc-spec-title {
  font-family: "Playfair Display", Georgia, serif !important;
  color: #ffffff !important;
  font-size: 1.15rem !important;
  margin-bottom: 10px !important;
}
.bwc-spec-desc { color: #cccccc !important; font-size: 0.86rem !important; }

/* --------------------------------------------------------------------------
   8. CRAFTSMANSHIP - framed image, aligned text column
   -------------------------------------------------------------------------- */
.bwc-grid-2.bwc-craftsmanship { gap: 64px !important; align-items: center; }
.bwc-craftsmanship .bwc-img-wrapper {
  border: 1px solid rgba(197, 160, 89, 0.28) !important;
  border-radius: 6px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5) !important;
  background-color: #0a1a12 !important;
  aspect-ratio: 6 / 7;
}
.bwc-craftsmanship .bwc-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.96;
}
.bwc-craftsmanship-text { gap: 4px; }
.bwc-craftsmanship-text .bwc-collection-label { color: #c5a059 !important; }
.bwc-craftsmanship-text .bwc-collection-title { text-align: left !important; }
.bwc-body-text { color: #cccccc !important; font-size: 1rem !important; line-height: 1.8 !important; }

/* --------------------------------------------------------------------------
   9. COMPARISON TABLE - highlight the BWC column, muted competitor column
   -------------------------------------------------------------------------- */
.bwc-table-wrapper { border-radius: 8px; overflow: hidden; }
.bwc-table {
  border: 1px solid #1a2a22 !important;
  border-radius: 8px;
  overflow: hidden;
  background-color: #0a1a12 !important;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
}
.bwc-table th,
.bwc-table td {
  padding: 20px 26px !important;
  border-bottom: 1px solid #1a2a22 !important;
  vertical-align: middle;
}
.bwc-table thead th {
  background-color: #0d2417 !important;
  color: #ffffff !important;
  font-family: "Playfair Display", Georgia, serif !important;
  font-size: 1.02rem !important;
  text-transform: uppercase;
  letter-spacing: 1px;
}
/* Highlight the BWC column (header + every body cell) */
.bwc-table .bwc-table-bwc {
  background-color: rgba(197, 160, 89, 0.08) !important;
  border-left: 1px solid rgba(197, 160, 89, 0.35);
  border-right: 1px solid rgba(197, 160, 89, 0.35);
}
.bwc-table thead .bwc-table-bwc {
  background-color: rgba(197, 160, 89, 0.16) !important;
  color: #c5a059 !important;
}
.bwc-table td.bwc-table-bwc strong { color: #ffffff !important; }
.bwc-table-badge {
  display: inline-block;
  background: #c5a059 !important;
  color: #031c12 !important;
  font-size: 0.6rem !important;
  font-weight: 700 !important;
  letter-spacing: 1px !important;
  text-transform: uppercase;
  padding: 3px 8px !important;
  border-radius: 3px !important;
  margin-left: 6px !important;
  vertical-align: middle;
}
.bwc-table .bwc-table-feature {
  color: #cccccc !important;
  font-weight: 500;
  font-family: "Playfair Display", Georgia, serif !important;
}
.bwc-table td.bwc-table-standard { color: #888888 !important; }
.bwc-table tbody tr:hover td { background-color: rgba(197, 160, 89, 0.05) !important; }
.bwc-table tbody tr:last-child td { border-bottom: none !important; }

/* --------------------------------------------------------------------------
   10. REVIEWS - gold stars + verified badge (template uses .bwc-review-stars /
   .bwc-star which the shared CSS does NOT style)
   -------------------------------------------------------------------------- */
.bwc-reviews-grid { gap: 28px !important; }
.bwc-review-card {
  background-color: #0a1a12 !important;
  border: 1px solid #1a2a22 !important;
  border-radius: 8px !important;
  padding: 38px 30px !important;
  text-align: left !important;
  position: relative;
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.bwc-review-card:hover {
  border-color: #c5a059 !important;
  transform: translateY(-4px);
}
/* decorative open-quote */
.bwc-review-card::before {
  content: "\201C";
  position: absolute;
  top: 6px;
  left: 22px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 4rem;
  line-height: 1;
  color: rgba(197, 160, 89, 0.28);
}
/* Stars row (gold, even spacing) */
.bwc-review-stars {
  display: flex !important;
  gap: 4px;
  margin-bottom: 18px !important;
  position: relative;
}
.bwc-star {
  color: #c5a059 !important;
  font-size: 1.15rem !important;
  line-height: 1;
}
.bwc-review-text {
  color: #e0e0e0 !important;
  font-size: 0.96rem !important;
  line-height: 1.8 !important;
  font-style: italic;
  margin: 0 0 22px !important;
}
.bwc-review-text p { color: #e0e0e0 !important; margin: 0; }
.bwc-review-author {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding-top: 16px;
  border-top: 1px solid rgba(197, 160, 89, 0.14);
}
.bwc-review-name {
  font-family: "Playfair Display", Georgia, serif !important;
  color: #ffffff !important;
  font-size: 1.08rem !important;
  font-weight: 600;
}
.bwc-review-badge {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  color: #c5a059 !important;
  font-size: 0.68rem !important;
  font-weight: 600 !important;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.bwc-review-badge svg { width: 14px; height: 14px; }

/* --------------------------------------------------------------------------
   11. FAQ - remove the duplicate "+" pseudo-icon (template already renders a
   chevron), style the list/answer, rotate chevron on open.
   -------------------------------------------------------------------------- */
.bwc-faq-wrapper,
.bwc-faq-list {
  max-width: 820px;
  margin: 0 auto;
  border-top: 1px solid rgba(197, 160, 89, 0.22);
}
.bwc-faq-item { border-bottom: 1px solid rgba(197, 160, 89, 0.18) !important; }

/* Kill the CSS "+" / "-" pseudo-icon - the chevron SVG is the real indicator */
.bwc-faq-item summary::after { content: none !important; }
.bwc-faq-item summary,
.bwc-faq-question {
  padding: 24px 4px !important;
  font-family: "Playfair Display", Georgia, serif !important;
  font-size: 1.18rem !important;
  color: #ffffff !important;
  list-style: none !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 18px;
  cursor: pointer;
  transition: color 0.3s ease;
}
.bwc-faq-item summary::-webkit-details-marker { display: none; }
.bwc-faq-item summary:hover,
.bwc-faq-item summary:hover span,
.bwc-faq-question:hover { color: #c5a059 !important; }
.bwc-faq-question span { flex: 1; }
.bwc-faq-chevron {
  color: #c5a059 !important;
  flex-shrink: 0;
  transition: transform 0.35s ease;
}
.bwc-faq-item[open] .bwc-faq-chevron { transform: rotate(180deg); }
.bwc-faq-answer {
  padding: 0 0 28px !important;
  color: #cccccc !important;
}
.bwc-faq-answer p { color: #cccccc !important; font-size: 0.96rem !important; line-height: 1.8 !important; }
.bwc-faq-answer strong { color: #ffffff; }
.bwc-faq-answer ul { margin: 10px 0; padding-left: 4px; list-style: none; }
.bwc-faq-answer ul li {
  color: #cccccc;
  padding: 6px 0 6px 22px;
  position: relative;
  font-size: 0.94rem;
}
.bwc-faq-answer ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 15px;
  width: 10px; height: 1px;
  background: #c5a059;
}

/* --------------------------------------------------------------------------
   12. FOOTER - align 4 columns, style newsletter/contact/social (footer.php
   uses classes the shared CSS does not target).
   -------------------------------------------------------------------------- */
.bwc-footer {
  background-color: #0a0a0a !important;
  border-top: 1px solid rgba(197, 160, 89, 0.22) !important;
  padding: 80px 0 30px !important;
}
.bwc-footer-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 44px !important;
  align-items: start !important;
}
.bwc-footer-col { min-width: 0; }
.bwc-footer-title {
  font-family: "Playfair Display", Georgia, serif !important;
  color: #ffffff !important;
  font-size: 1.05rem !important;
  font-weight: 600 !important;
  margin-bottom: 22px !important;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(197, 160, 89, 0.28);
  display: inline-block;
}
.bwc-footer-links li { margin-bottom: 12px !important; }
.bwc-footer-links a {
  color: #aaaaaa !important;
  font-size: 0.86rem !important;
  transition: color 0.25s ease, padding-left 0.25s ease;
}
.bwc-footer-links a:hover { color: #c5a059 !important; padding-left: 4px; }

/* Contact list (icon + text rows) */
.bwc-footer-contact { display: flex; flex-direction: column; gap: 14px; margin-bottom: 22px; }
.bwc-footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #aaaaaa;
  font-size: 0.84rem;
  line-height: 1.5;
}
.bwc-footer-contact li a { color: #aaaaaa !important; }
.bwc-footer-contact li a:hover { color: #c5a059 !important; }
.bwc-footer-icon { flex-shrink: 0; margin-top: 2px; }

/* Newsletter form - inline input + gold button */
.bwc-newsletter { margin-top: 6px; }
.bwc-newsletter-label {
  color: #ffffff !important;
  font-size: 0.84rem !important;
  font-weight: 600 !important;
  margin-bottom: 12px !important;
  letter-spacing: 0.5px;
}
.bwc-newsletter-form {
  display: flex !important;
  align-items: stretch;
  gap: 0;
  max-width: 320px;
}
.bwc-newsletter-input {
  background-color: #1a1a1a !important;
  border: 1px solid #2a2a2a !important;
  border-right: none !important;
  color: #ffffff !important;
  padding: 11px 14px !important;
  font-size: 0.82rem !important;
  width: 100% !important;
  outline: none !important;
  border-radius: 0;
  transition: border-color 0.25s ease;
}
.bwc-newsletter-input::placeholder { color: #777777 !important; }
.bwc-newsletter-input:focus { border-color: #c5a059 !important; }
.bwc-newsletter-btn {
  background-color: #c5a059 !important;
  color: #031c12 !important;
  border: 1px solid #c5a059 !important;
  padding: 0 16px !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 0;
  transition: background-color 0.25s ease;
}
.bwc-newsletter-btn:hover { background-color: #d4b06b !important; border-color: #d4b06b !important; }

/* Footer bottom bar */
.bwc-footer-bottom {
  border-top: 1px solid #1a1a1a !important;
  margin-top: 56px !important;
  padding-top: 26px !important;
}
.bwc-footer-bottom-inner {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 24px;
  flex-wrap: wrap;
}
.bwc-copyright { color: #888888 !important; font-size: 0.78rem !important; margin: 0; }
.bwc-disclaimer { color: #666666 !important; font-size: 0.72rem !important; margin: 0; font-style: italic; }
.bwc-social-icons { display: flex; gap: 14px; }
.bwc-social-link {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #2a2a2a;
  border-radius: 50%;
  color: #aaaaaa;
  transition: color 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}
.bwc-social-link:hover {
  color: #c5a059 !important;
  border-color: #c5a059 !important;
  background-color: rgba(197, 160, 89, 0.08);
}

/* --------------------------------------------------------------------------
   13. GLOBAL FINISHING - body background gaps, consistent section bg tokens
   -------------------------------------------------------------------------- */
.bwc-homepage-main { background-color: #031c12; }
.bwc-bg-obsidian { background-color: #0a0a0a !important; }
.bwc-bg-heritage-green { background-color: #031c12 !important; }
