/* ============================================================
   TOTALLY WORTH SHIT — Parody CSS Overlay
   Loaded last so it wins every specificity battle.
   ============================================================ */

/* ----------------------------------------------------------
   1. STICKY HEADER RIBBON
   ---------------------------------------------------------- */
body::before {
  content: "💩  totallyworthshit.com  — peddling luxury with a shit attitude since 2004  💩";
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 99999;
  background: #8B4513;
  color: #fff;
  font-family: "Work Sans", Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: center;
  padding: 6px 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.45);
  pointer-events: none;
}

/* Push page content down so the ribbon doesn't cover it */
body {
  padding-top: 32px !important;
}

/* ----------------------------------------------------------
   2. FAINT 💩 WATERMARK TILED IN BACKGROUND
   ---------------------------------------------------------- */
body::after {
  content: "";
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  pointer-events: none;
  /* Emoji tile via SVG data URI so it works cross-browser */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Ctext x='50%25' y='50%25' dominant-baseline='middle' text-anchor='middle' font-size='48' opacity='0.07'%3E%F0%9F%92%A9%3C/text%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 120px 120px;
}

/* ----------------------------------------------------------
   3. BRAND COLOUR OVERRIDE — swap teal #36BDC3 → shit brown
   ---------------------------------------------------------- */

/* Primary CTA buttons */
.btn-primary,
.btn-primary:focus,
.btn-primary:active {
  background-color: #8B4513 !important;
  border-color: #6b340e !important;
  color: #fff !important;
}
.btn-primary:hover {
  background-color: #6b340e !important;
  border-color: #4e2609 !important;
}

/* btn-info (cart/nav highlights) */
.btn-info,
.btn-info:focus,
.btn-info:active {
  background-color: #8B4513 !important;
  border-color: #6b340e !important;
  color: #fff !important;
}
.btn-info:hover {
  background-color: #6b340e !important;
}

/* Inline color overrides that use the teal */
[style*="#36BDC3"],
[style*="36bdc3"] {
  color: #8B4513 !important;
  background-color: #8B4513 !important;
}

/* theme-color meta shows in Chrome Android tab — handled via meta tag update */

/* ----------------------------------------------------------
   4. MISCELLANEOUS POLISH
   ---------------------------------------------------------- */

/* Make the sticky ribbon not overlap fixed nav elements */
.header {
  margin-top: 0;
}

/* ----------------------------------------------------------
   5. HERO FRIEND SLIDE — caption overlay
   ---------------------------------------------------------- */

/* Ensure the hero slide stands out at full height like the others */
.hero-friend-slide .tile-product,
.hero-friend-link {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}

/* Dark gradient overlay so caption text is legible */
.hero-friend-link::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.1) 60%);
  border-radius: inherit;
  z-index: 1;
}

/* Caption text */
.hero-friend-caption {
  position: absolute;
  bottom: 18px;
  left: 0;
  right: 0;
  text-align: center;
  color: #fff;
  font-family: "Work Sans", Arial, sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-shadow: 0 2px 8px rgba(0,0,0,0.8);
  z-index: 2;
  padding: 0 16px;
}

/* ----------------------------------------------------------
   6. MORE PHOTOS SECTION
   ---------------------------------------------------------- */
#more-photos.more-photos-section {
  background: #3b1a08;
  color: #f5e6c8;
  padding: 48px 20px;
  text-align: center;
  border-top: 4px solid #8B4513;
  border-bottom: 4px solid #8B4513;
}

.more-photos-title {
  font-family: "Work Sans", Arial, sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #f5e6c8;
  margin-bottom: 12px;
}

.more-photos-subtitle {
  font-size: 1.25rem;
  font-weight: 600;
  color: #e8c99a;
  margin-bottom: 8px;
}

.more-photos-subtext {
  font-size: 1rem;
  color: #c9a87a;
  max-width: 600px;
  margin: 0 auto;
}

/* ----------------------------------------------------------
   7. WALL OF SHAME — Friend Photo Gallery
   ---------------------------------------------------------- */
#wall-of-shame {
  background: #1e0d04;
  padding: 56px 24px 64px;
  border-top: 4px solid #8B4513;
  border-bottom: 4px solid #8B4513;
}

.wos-title {
  font-family: "Work Sans", Arial, sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: #f5e6c8;
  text-align: center;
  margin: 0 0 8px;
  letter-spacing: 0.02em;
}

.wos-subtitle {
  font-family: "Work Sans", Arial, sans-serif;
  font-size: 1.1rem;
  color: #c9a87a;
  text-align: center;
  margin: 0 0 36px;
}

.wos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.wos-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: #2c1205;
  box-shadow: 0 4px 18px rgba(0,0,0,0.6);
  aspect-ratio: 1 / 1;
}

.wos-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.wos-card:hover .wos-img {
  transform: scale(1.06);
}

/* 💩 badge pinned to top-right corner */
.wos-badge {
  position: absolute;
  top: 10px;
  right: 12px;
  font-size: 1.6rem;
  line-height: 1;
  filter: drop-shadow(0 1px 4px rgba(0,0,0,0.8));
  pointer-events: none;
  z-index: 2;
}

/* Caption overlay at the bottom */
.wos-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.82) 0%, transparent 100%);
  color: #f5e6c8;
  font-family: "Work Sans", Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  text-align: center;
  padding: 28px 10px 10px;
  z-index: 1;
  min-height: 44px;
}

/* =============================================
   8. Fake Luxury Review Stars & Reviewer Info
   ============================================= */

.review-stars {
  font-size: 1.4rem;
  letter-spacing: 2px;
  margin-bottom: 10px;
  display: block;
}

.reviewer-name {
  font-family: "Work Sans", Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #8B4513;
  margin-bottom: 2px !important;
}

.reviewer-location {
  font-family: "Work Sans", Arial, sans-serif;
  font-size: 0.82rem;
  color: #999;
  font-style: italic;
  letter-spacing: 0.5px;
}

/* ----------------------------------------------------------
   9. REUNION COUNTDOWN BANNER
   ---------------------------------------------------------- */
#reunion-countdown {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: #1e0d04;
  border-top: 4px solid #8B4513;
  padding: 18px 24px;
  font-family: "Work Sans", Arial, sans-serif;
}

.countdown__label {
  color: #e8c97a;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.countdown__unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #3a1a08;
  border: 2px solid #8B4513;
  border-radius: 6px;
  padding: 8px 16px;
  min-width: 64px;
}

.countdown__num {
  font-size: 2rem;
  font-weight: 900;
  color: #e8c97a;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.countdown__sub {
  font-size: 0.65rem;
  color: #8B4513;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 4px;
}

@media (max-width: 480px) {
  .countdown__num { font-size: 1.5rem; }
  .countdown__unit { min-width: 52px; padding: 6px 10px; }
}
