/* ═══════════════════════════════════════════════════════
   SKINREVU — Main Stylesheet
   Version 1.0 — March 2026
═══════════════════════════════════════════════════════ */

/* ── TOKENS ─────────────────────────────────────────── */
:root {
  --page:    #EDE5D8;
  --cream:   #F5EFE8;
  --white:   #FFFFFF;
  --ink:     #1C1714;
  --mid:     #6B5E52;
  --light:   #DDD3C8;
  --lighter: #EDE4D8;
  --red:     #D94F2E;
  --teal:    #4A8FA8;
  --teal-lt: #E0EFF5;
  --gold:    #C8963E;
  --green:   #2E7A4A;
  --shadow:  rgba(28,23,20,0.08);
  --radius:  10px;
  --max-w:   1180px;
}

/* ── RESET ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Source Sans 3', 'Segoe UI', sans-serif;
  background-color: var(--page);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4'%3E%3Crect width='1' height='1' fill='%23C4B8AA' opacity='0.12'/%3E%3C/svg%3E");
  color: var(--ink);
  line-height: 1.6;
  font-size: 15px;
  min-height: 100vh;
}
html { background-color: var(--page); }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; }

/* ── HEADER ─────────────────────────────────────────── */
#site-header {
  background: var(--cream);
  border-bottom: 3px solid var(--red);
  box-shadow: 0 2px 14px var(--shadow);
  position: sticky;
  top: 0;
  z-index: 300;
}
.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 110px;
  display: flex;
  align-items: center;
  gap: 0;
}

/* ── LOGO ───────────────────────────────────────────── */
.logo {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  margin-right: 20px;
  text-decoration: none;
}
.logo-img {
  height: 90px;
  width: auto;
  display: block;
  transition: opacity .2s;
}
.logo:hover .logo-img { opacity: 0.85; }
/* Keep old CSS spans hidden in case any page still has them */
.logo-text, .logo-red-sq, .logo-teal-line { display: none; }

/* ── NAVIGATION — evenly spaced across remaining space ── */
#main-nav {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: space-evenly;
}
.nav-link {
  font-size: 15px;
  font-weight: 700;
  color: var(--mid);
  padding: 8px 12px;
  border-radius: 7px;
  letter-spacing: 0.2px;
  transition: all .18s;
  white-space: nowrap;
}
.nav-link:hover { color: var(--ink); background: var(--lighter); }
.nav-link.active { color: var(--red); }
.nav-app { color: var(--teal) !important; font-weight: 700; }

/* ── HEADER SEARCH ──────────────────────────────────── */
.header-search {
  position: relative;
  flex: 1;
  max-width: 320px;
}
.search-icon {
  position: absolute;
  left: 11px; top: 50%; transform: translateY(-50%);
  width: 15px; height: 15px;
  color: var(--mid);
  pointer-events: none;
}
.search-field {
  width: 100%;
  background: var(--lighter);
  border: 1.5px solid transparent;
  border-radius: 22px;
  padding: 8px 14px 8px 34px;
  font-size: 13px;
  font-family: inherit;
  color: var(--ink);
  transition: all .2s;
}
.search-field:focus {
  outline: none;
  border-color: var(--teal);
  background: var(--white);
}
.search-field::placeholder { color: var(--mid); }
.search-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0; right: 0;
  background: var(--white);
  border: 1px solid var(--lighter);
  border-radius: var(--radius);
  box-shadow: 0 6px 24px var(--shadow);
  z-index: 400;
  max-height: 400px;
  overflow-y: auto;
}
.search-result-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--lighter);
  cursor: pointer;
  transition: background .15s;
}
.search-result-item:last-child { border-bottom: none; }
.search-result-item:hover { background: var(--cream); }
.sri-thumb {
  width: 40px; height: 40px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--lighter);
}
.sri-title { font-size: 13px; font-weight: 600; color: var(--ink); }
.sri-brand { font-size: 11px; color: var(--mid); }

/* ── HEADER SOCIAL ──────────────────────────────────── */
.header-social {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-left: auto;
}
.social-pill {
  font-size: 12px;
  font-weight: 700;
  color: rgba(28,23,20,0.55);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 20px;
  border: 1.5px solid var(--light);
  transition: all .18s;
  white-space: nowrap;
}
.social-pill:hover { color: var(--ink); border-color: var(--ink); background: var(--lighter); }
.social-pill.patreon { color: var(--red); border-color: var(--red); }
.social-pill.patreon:hover { background: var(--red); color: #fff; }

/* Mobile toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  padding: 6px;
  color: var(--ink);
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════
   MAIN LAYOUT
═══════════════════════════════════════════════════ */
#main-content { padding: 24px 0 52px; }
.page-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.main-grid {
  display: -ms-grid;
  display: grid;
  grid-template-columns: 210px 1fr 260px;
  -webkit-column-gap: 22px;
  column-gap: 22px;
  grid-column-gap: 22px;
  gap: 22px;
  grid-gap: 22px;
  -webkit-align-items: start;
  align-items: start;
}

/* Grid children need min-width:0 to prevent overflow in Safari/Firefox */
/* grid-column assignments prevent AdSense injected elements disrupting layout */
.col-left    { min-width: 0; grid-column: 1; }
.col-main    { min-width: 0; grid-column: 2; }
.col-sidebar { min-width: 0; grid-column: 3; }

/* Any AdSense or injected element that lands in the grid gets hidden */
.main-grid > ins,
.main-grid > script,
.main-grid > div:not(.col-left):not(.col-main):not(.col-sidebar) {
  display: none !important;
}

/* Left sidebar column */
.col-left {
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: column;
  flex-direction: column;
  gap: 18px;
}

/* ── SECTION HEADER ─────────────────────────────────── */
.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--lighter);
  margin-bottom: 16px;
}
.section-title {
  font-family: 'Merriweather', Georgia, serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-title::before {
  content: '';
  width: 4px; height: 20px;
  background: var(--red);
  border-radius: 2px;
  display: block;
  flex-shrink: 0;
}
.section-link {
  font-size: 12px;
  font-weight: 700;
  color: var(--teal);
  transition: color .2s;
}
.section-link:hover { color: var(--red); }

/* ═══════════════════════════════════════════════════
   PRODUCT CARD — exact to mockup
   [ thumbnail | vertical line | content | Read more ]
═══════════════════════════════════════════════════ */
.product-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.product-card {
  display: flex;
  align-items: stretch;
  background: var(--white);
  border: 1px solid var(--lighter);
  border-radius: var(--radius);
  overflow: hidden;
  transition: background .15s;
  cursor: pointer;
  position: relative;
}
.product-card { border-radius: var(--radius); border-bottom: 1px solid var(--lighter); }
.product-card:hover { background: var(--cream); }
.product-card:hover .pc-read-more { color: var(--white); background: var(--teal); border-color: var(--teal); }

/* Thumbnail */
.pc-thumb {
  width: 110px;
  min-width: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--lighter);
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
}
.pc-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.pc-thumb-placeholder {
  width: 100%; height: 100%;
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--cream), var(--lighter));
  font-size: 36px;
}

/* Status badge on thumbnail */
/* pc-status badge — hidden on public site, only shown in app */
.pc-status { display: none !important; }
.pc-status-published { display: none !important; }
.pc-status-reviewing { display: none !important; }


/* ── THE VERTICAL DIVIDER LINE — from the mockup ── */
.pc-divider {
  width: 2px;
  min-height: 100%;
  background: var(--ink);
  flex-shrink: 0;
  opacity: 0.85;
  align-self: stretch;
}

/* Card body */
.pc-body {
  flex: 1;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
}
.pc-meta-top {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 5px;
  flex-wrap: wrap;
}
.pc-brand {
  font-size: 10px;
  font-weight: 700;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.pc-cat {
  font-size: 10px;
  font-weight: 700;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.pc-dot { color: var(--light); font-size: 10px; }
.pc-date { font-size: 10px; color: var(--mid); }

.pc-title {
  font-family: 'Merriweather', Georgia, serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Active ingredients from app form */
.pc-ingredients {
  font-size: 11px;
  color: var(--mid);
  margin-bottom: 5px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.pc-ing-tag {
  background: var(--teal-lt);
  color: var(--teal);
  padding: 1px 7px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 10px;
}

/* Excerpt — limited to 300 chars / thumbnail height */
.pc-excerpt {
  font-size: 13px;
  color: var(--mid);
  line-height: 1.55;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pc-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.pc-rating { font-size: 13px; font-weight: 700; color: var(--gold); }
.pc-price  { font-size: 14px; font-weight: 700; color: var(--red); }

/* Visitor star rating on card */
.pc-visitor-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: var(--mid);
}
.pc-visitor-stars { color: var(--gold); font-size: 12px; }

/* Read More → button */
.pc-read-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 700;
  color: var(--teal);
  padding: 5px 12px;
  border-radius: 6px;
  border: 1.5px solid var(--teal-lt);
  background: transparent;
  transition: all .18s;
  text-decoration: none;
  flex-shrink: 0;
  margin-left: auto;
}
.pc-read-more::after { content: ' →'; }
.pc-read-more:hover { background: var(--teal); color: #fff; border-color: var(--teal); }

/* Load more */
.load-more-wrap { margin-top: 16px; text-align: center; }
.btn-load-more {
  padding: 10px 28px;
  background: var(--cream);
  border: 1.5px solid var(--lighter);
  border-radius: 22px;
  font-size: 13px;
  font-weight: 600;
  color: var(--mid);
  transition: all .18s;
}
.btn-load-more:hover { border-color: var(--ink); color: var(--ink); }

.view-all-wrap {
  text-align: center;
  padding: 20px 0 8px;
  border-top: 1px solid var(--lighter);
  margin-top: 8px;
}
.view-all-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: var(--red);
  text-decoration: none;
  padding: 10px 28px;
  border: 2px solid var(--red);
  border-radius: 22px;
  transition: all .18s;
  letter-spacing: 0.2px;
}
.view-all-link:hover {
  background: var(--red);
  color: #fff;
}

/* ── SKELETON LOADERS ───────────────────────────────── */
@keyframes shimmer {
  0%   { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}
.skeleton-base {
  background: linear-gradient(90deg, var(--lighter) 25%, var(--cream) 50%, var(--lighter) 75%);
  background-size: 800px 100%;
  animation: shimmer 1.4s infinite;
  border-radius: 4px;
}
.product-skeleton {
  height: 110px;
  margin-bottom: 1px;
  border-radius: var(--radius);
  background: linear-gradient(90deg, var(--lighter) 25%, var(--cream) 50%, var(--lighter) 75%);
  background-size: 800px 100%;
  animation: shimmer 1.4s infinite;
}
.brand-skeleton { height: 36px; margin: 8px 15px; border-radius: 4px; background: linear-gradient(90deg, var(--lighter) 25%, var(--cream) 50%, var(--lighter) 75%); background-size: 800px 100%; animation: shimmer 1.4s infinite; }
.ing-skeleton   { height: 28px; margin: 10px 15px; border-radius: 20px; background: linear-gradient(90deg, var(--lighter) 25%, var(--cream) 50%, var(--lighter) 75%); background-size: 800px 100%; animation: shimmer 1.4s infinite; }

/* ═══════════════════════════════════════════════════
   SIDEBAR WIDGETS
═══════════════════════════════════════════════════ */
.col-sidebar { display: -webkit-flex; display: flex; -webkit-flex-direction: column; flex-direction: column; gap: 18px; }

.widget {
  background: var(--cream);
  border-radius: var(--radius);
  border: 1px solid var(--lighter);
  box-shadow: 0 1px 6px var(--shadow);
  overflow: hidden;
}
.widget-title {
  font-family: 'Merriweather', Georgia, serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  padding: 12px 15px 10px;
  border-bottom: 2px solid var(--lighter);
  display: flex;
  align-items: center;
  gap: 7px;
}
.widget-title::before {
  content: '';
  width: 3px; height: 14px;
  background: var(--red);
  border-radius: 2px;
  display: block;
  flex-shrink: 0;
}

/* Trending brands */
.brand-list { padding: 4px 0; }
.brand-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 15px;
  border-bottom: 1px solid var(--lighter);
  transition: background .15s;
  cursor: pointer;
}
.brand-row:last-child { border-bottom: none; }
.brand-row:hover { background: var(--white); }
.brand-rank {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--cream);
  font-size: 9px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.brand-rank.top { background: var(--red); }
.brand-info { flex: 1; min-width: 0; }
.brand-name { font-size: 12px; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-count { font-size: 10px; color: var(--mid); }
.brand-score { font-size: 12px; font-weight: 700; color: var(--gold); white-space: nowrap; }

/* Ingredient pills */
.ingredient-pills { padding: 12px 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.ing-pill {
  padding: 4px 11px;
  border-radius: 20px;
  background: var(--white);
  border: 1.5px solid var(--lighter);
  font-size: 11px;
  color: var(--mid);
  font-weight: 500;
  cursor: pointer;
  transition: all .15s;
  font-family: inherit;
}
.ing-pill:hover,
.ing-pill.active {
  background: var(--teal-lt);
  border-color: var(--teal);
  color: var(--teal);
}
.widget-more-link {
  display: block;
  padding: 8px 14px 12px;
  font-size: 11px;
  font-weight: 700;
  color: var(--teal);
  border-top: 1px solid var(--lighter);
}
.widget-more-link:hover { color: var(--red); }

/* Social follow */
.social-follow-list { padding: 4px 0; }
.social-follow-row {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 15px;
  border-bottom: 1px solid var(--lighter);
  transition: background .15s;
  cursor: pointer;
}
.social-follow-row:last-child { border-bottom: none; }
.social-follow-row:hover { background: var(--white); }
.sf-icon {
  width: 26px; height: 26px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
  color: #fff;
}
.sf-tt { background: #010101; }
.sf-ig { background: radial-gradient(circle at 30% 107%,#fdf497 0%,#fd5949 45%,#d6249f 60%,#285AEB 90%); }
.sf-yt { background: #FF0000; }
.sf-th { background: #000; }
.sf-bs { background: #0085FF; }
.sf-fb { background: #1877F2; }
.sf-pt { background: #FF424D; }
.sf-name { font-size: 12px; font-weight: 600; color: var(--ink); display: block; }
.sf-handle { font-size: 10px; color: var(--mid); }
.sf-btn { font-size: 10px; font-weight: 700; color: var(--teal); background: var(--teal-lt); padding: 2px 8px; border-radius: 4px; white-space: nowrap; flex-shrink: 0; margin-left: auto; }
.sf-btn-pt { background: #FFE8E9; color: #FF424D; }

/* ═══════════════════════════════════════════════════
   FULL PRODUCT PAGE
═══════════════════════════════════════════════════ */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--teal);
  padding: 7px 14px;
  border-radius: 6px;
  border: 1.5px solid var(--teal-lt);
  margin-bottom: 20px;
  transition: all .18s;
}
.back-link:hover { background: var(--teal); color: #fff; border-color: var(--teal); }

.product-detail-wrap {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 24px;
  align-items: start;
}

/* Product hero */
.pd-article {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--lighter);
  box-shadow: 0 1px 6px var(--shadow);
  overflow: hidden;
}
.pd-hero {
  display: flex;
  overflow: hidden;
  border-bottom: 1px solid var(--lighter);
}
.pd-hero-img {
  width: 280px;
  min-height: 220px;
  flex-shrink: 0;
  overflow: hidden;
  background: var(--lighter);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 72px;
}
.pd-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.pd-hero-body {
  flex: 1;
  padding: 22px 24px;
  background: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.pd-eyebrow { font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--red); margin-bottom: 8px; }
.pd-title { font-family: 'Merriweather', Georgia, serif; font-size: 22px; font-weight: 700; line-height: 1.25; margin-bottom: 12px; color: var(--ink); }
.pd-meta { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 12px; }
.pd-rating { font-size: 18px; font-weight: 700; color: var(--gold); }
.pd-price  { font-size: 17px; font-weight: 700; color: var(--red); }
.pd-date   { font-size: 12px; color: var(--mid); }
.pd-verdict-yes { background: #D4EDDA; color: #155724; padding: 4px 12px; border-radius: 6px; font-weight: 700; font-size: 12px; display: inline-block; }
.pd-verdict-no  { background: #FAD2D2; color: #9B2226; padding: 4px 12px; border-radius: 6px; font-weight: 700; font-size: 12px; display: inline-block; }

/* Body sections */
.pd-body { padding: 24px 28px; }
.pd-section { margin-bottom: 24px; }
.pd-section-title {
  font-family: 'Merriweather', Georgia, serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--lighter);
  display: flex;
  align-items: center;
  gap: 8px;
}
.pd-section-title::before {
  content: '';
  width: 4px; height: 15px;
  background: var(--teal);
  border-radius: 2px;
  display: block;
  flex-shrink: 0;
}
.pd-text {
  font-family: 'Merriweather', Georgia, serif;
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink);
}
.pd-text p { margin-bottom: 1.3em; }

/* Ingredient tags */
.pd-ing-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.pd-ing-tag { padding: 4px 12px; border-radius: 20px; background: var(--teal-lt); border: 1px solid var(--teal); font-size: 12px; color: var(--teal); font-weight: 600; }

/* Price comparison table */
.pd-price-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.pd-price-table tr { border-bottom: 1px solid var(--lighter); }
.pd-price-table tr:last-child { border-bottom: none; }
.pd-price-table td { padding: 8px 4px; }
.pd-price-table .pt-shop { font-weight: 500; color: var(--ink); }
.pd-price-table .pt-price { font-weight: 700; color: var(--red); text-align: right; }
.pd-price-table .pt-link { text-align: right; }
.pd-price-table .pt-link a { font-size: 11px; font-weight: 700; color: var(--teal); }

/* Affiliate buy button */
.pd-buy-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red);
  color: #fff;
  padding: 13px 26px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background .2s;
  border: none;
  cursor: pointer;
}
.pd-buy-btn:hover { background: #b83f22; color: #fff; }
.pd-affiliate-disc { font-size: 11px; color: var(--mid); margin-top: 8px; font-style: italic; }

/* ── VISITOR STAR RATING WIDGET ─────────────────── */
.pd-visitor-rating-widget {
  background: var(--cream);
  border: 1px solid var(--lighter);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-top: 4px;
}
.pd-vr-title { font-size: 13px; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.pd-vr-sub   { font-size: 11px; color: var(--mid); margin-bottom: 12px; }
.star-picker  { display: flex; gap: 6px; margin-bottom: 12px; }
.star-btn {
  font-size: 28px;
  color: var(--light);
  background: none;
  border: none;
  cursor: pointer;
  transition: color .12s;
  line-height: 1;
}
.star-btn:hover,
.star-btn.lit { color: var(--gold); }
.pd-vr-submit {
  padding: 7px 20px;
  background: var(--ink);
  color: var(--cream);
  border: none;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: background .2s;
}
.pd-vr-submit:hover { background: var(--red); }
.pd-vr-result { font-size: 13px; color: var(--mid); margin-top: 10px; }
.pd-vr-avg { font-weight: 700; color: var(--gold); font-size: 16px; }

/* Skeleton on product detail page */
.product-detail-skeleton { display: flex; gap: 20px; }
.pd-skeleton-img { width: 280px; height: 220px; border-radius: var(--radius); flex-shrink: 0; background: linear-gradient(90deg, var(--lighter) 25%, var(--cream) 50%, var(--lighter) 75%); background-size: 800px 100%; animation: shimmer 1.4s infinite; }
.pd-skeleton-body { flex: 1; display: flex; flex-direction: column; gap: 12px; padding-top: 20px; }
.pd-skeleton-line { height: 18px; border-radius: 4px; background: linear-gradient(90deg, var(--lighter) 25%, var(--cream) 50%, var(--lighter) 75%); background-size: 800px 100%; animation: shimmer 1.4s infinite; }
.pd-skeleton-line.wide { width: 90%; }
.pd-skeleton-line.medium { width: 60%; }
.pd-skeleton-line.narrow { width: 35%; }

/* ═══════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════ */
#site-footer {
  background: var(--ink);
  margin-top: 40px;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 44px 24px 28px;
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 36px;
}
.footer-logo {
  font-family: 'Kaisei Decol', 'Caveat', cursive;
  font-size: 30px;
  font-weight: 700;
  color: #F5EFE8;
  display: block;
  margin-bottom: 10px;
  position: relative;
  line-height: 1;
  padding-right: 12px;
}
.footer-logo-sq {
  display: inline-block;
  width: 9px; height: 9px;
  background: var(--red);
  border-radius: 2px;
  vertical-align: super;
  margin-left: 1px;
}
.footer-tagline { font-size: 12px; color: rgba(245,239,232,0.42); line-height: 1.7; max-width: 200px; font-weight: 300; margin-bottom: 16px; }
.footer-social-icons { display: flex; gap: 7px; flex-wrap: wrap; }
.footer-social-icons a {
  width: 28px; height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(245,239,232,0.08);
  color: rgba(245,239,232,0.55);
  font-size: 11px;
  font-weight: 700;
  transition: all .2s;
}
.footer-social-icons a:hover { background: var(--red); color: #fff; }
.footer-col-title { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: rgba(245,239,232,0.28); margin-bottom: 14px; }
.footer-links-col { display: flex; flex-direction: column; gap: 9px; }
.footer-links-col a { font-size: 12px; color: rgba(245,239,232,0.52); font-weight: 300; transition: color .2s; }
.footer-links-col a:hover { color: #F5EFE8; }
.footer-bottom {
  border-top: 1px solid rgba(245,239,232,0.07);
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: rgba(245,239,232,0.28);
  gap: 12px;
  flex-wrap: wrap;
}




/* ═══════════════════════════════════════════════════════════════════════
   YOU MIGHT ALSO LIKE
═══════════════════════════════════════════════════════════════════════ */
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.related-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  background: var(--cream);
  border: 1px solid var(--lighter);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .18s, box-shadow .18s;
}
.related-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px var(--shadow);
}
.related-thumb-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--lighter);
}
.rc-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.rc-thumb-emoji {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  width: 100%;
  height: 100%;
}
.related-info {
  padding: 10px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.related-brand {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--teal);
}
.related-name {
  font-family: 'Merriweather', Georgia, serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.related-rating {
  font-size: 11px;
  font-weight: 700;
  color: var(--gold);
  margin-top: 4px;
}

/* Buy Now button */
.pd-buy-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red);
  color: #fff;
  text-decoration: none;
  padding: 13px 22px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  font-family: 'Source Sans 3', sans-serif;
  transition: background .2s, transform .15s;
  margin-bottom: 10px;
  display: inline-flex;
}
.pd-buy-btn:hover {
  background: #b83f22;
  transform: translateY(-1px);
}
.pd-affiliate-disc {
  font-size: 10px;
  color: var(--mid);
  margin-top: 4px;
}

@media (max-width: 600px) {
  .related-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ═══════════════════════════════════════════════════════
   CURRENTLY TESTING STRIP
═══════════════════════════════════════════════════════ */
/* ── TESTING NOW SIDEBAR WIDGET ─────────────────────────── */
.testing-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--lighter);
}
.testing-item:last-child { border-bottom: none; }

.testing-item-thumb {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--page);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.testing-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.testing-item-emoji { font-size: 26px; }

.testing-item-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.testing-item-brand {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--teal);
}
.testing-item-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}

/* ═══════════════════════════════════════════════════════
   NEWSLETTER WIDGET (sidebar)
═══════════════════════════════════════════════════════ */
.widget-newsletter {
  background: var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 18px;
}
.nl-body { padding: 18px 16px 16px; }
.nl-title {
  font-family: 'Merriweather', Georgia, serif;
  font-size: 15px;
  font-weight: 700;
  font-style: italic;
  color: #F5EFE8;
  margin-bottom: 5px;
  line-height: 1.3;
}
.nl-sub {
  font-size: 11px;
  color: rgba(245,239,232,0.45);
  line-height: 1.6;
  margin-bottom: 14px;
}
.nl-form { display: flex; flex-direction: column; gap: 8px; }
.nl-input {
  width: 100%;
  padding: 9px 12px;
  border-radius: 7px;
  border: 1.5px solid rgba(245,239,232,0.15);
  background: rgba(245,239,232,0.08);
  color: #F5EFE8;
  font-size: 13px;
  font-family: inherit;
  transition: border-color .2s;
}
.nl-input:focus { outline: none; border-color: var(--teal); }
.nl-input::placeholder { color: rgba(245,239,232,0.3); }
.nl-btn {
  width: 100%;
  padding: 10px;
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: background .2s;
}
.nl-btn:hover { background: #b83f22; }
.nl-disclaimer {
  font-size: 9px;
  color: rgba(245,239,232,0.25);
  text-align: center;
  margin-top: 6px;
}
.nl-success {
  text-align: center;
  padding: 14px;
  font-size: 13px;
  color: var(--teal);
  font-weight: 600;
  display: none;
}

/* ═══════════════════════════════════════════════════════
   ADSENSE AD SLOTS
   Replace .ad-placeholder content with your <ins> tag
   once Google AdSense approves your account.
═══════════════════════════════════════════════════════ */

.ad-slot {
  text-align: center;
  margin: 0;
}
.ad-label {
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--mid);
  display: block;
  margin-bottom: 4px;
  opacity: 0.6;
}

/* Placeholder shown before AdSense approval */
.ad-placeholder {
  background: var(--lighter);
  border: 1.5px dashed var(--light);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: var(--mid);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-family: 'Source Sans 3', sans-serif;
}

/* Leaderboard 728x90 — below header, above content */
.ad-slot-leaderboard {
  padding: 10px 24px;
  background: var(--cream);
  border-bottom: 1px solid var(--lighter);
  max-width: var(--max-w);
  margin: 0 auto;
}
.ad-slot-leaderboard .ad-placeholder {
  width: 728px;
  max-width: 100%;
  height: 90px;
  margin: 0 auto;
}

/* Rectangle 300x250 — right sidebar */
.ad-slot-rectangle .ad-placeholder {
  width: 100%;
  height: 250px;
}

/* In-content — between review sections on product page */
.ad-slot-incontent {
  margin: 24px 0;
  padding: 16px;
  background: var(--cream);
  border-radius: var(--radius);
  border: 1px solid var(--lighter);
}
.ad-slot-incontent .ad-placeholder {
  width: 100%;
  height: 250px;
  max-width: 580px;
  margin: 0 auto;
}

/* Leaderboard wrapper for full-width strip */
.ad-strip {
  background: var(--cream);
  border-bottom: 1px solid var(--lighter);
  padding: 10px 0;
}
.ad-strip-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .main-grid { grid-template-columns: 200px 1fr 240px; grid-gap: 22px; }
}

@media (max-width: 1200px) {
  .main-grid { grid-template-columns: 180px 1fr 240px; gap: 16px; grid-gap: 16px; }
  .ing-page-grid { grid-template-columns: 180px 1fr 240px; gap: 16px; grid-gap: 16px; }
}

@media (max-width: 1050px) {
  /* Drop to 2-col: hide left sidebar, merge content into right */
  .main-grid { grid-template-columns: 1fr 260px; gap: 20px; grid-gap: 20px; }
  .ing-page-grid { grid-template-columns: 1fr 260px; gap: 20px; grid-gap: 20px; }
  .col-left { display: none; }
  .col-sidebar { display: flex; flex-direction: column; }
}

@media (max-width: 900px) {
  .main-grid { grid-template-columns: 1fr 240px; grid-gap: 20px; }
  .ing-page-grid { grid-template-columns: 1fr 240px; grid-gap: 20px; }
  .col-sidebar { display: flex; flex-direction: column; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

/* Mobile social links — hidden on desktop, shown in mobile menu */
.mobile-social-links { display: none; }
.mobile-social-link {
  display: block;
  padding: 9px 16px;
  font-size: 13px;
  color: var(--mid);
  text-decoration: none;
  border-top: 1px solid var(--lighter);
  transition: color .15s, background .15s;
}
.mobile-social-link:hover { color: var(--ink); background: var(--lighter); }
.mobile-social-link.mobile-patreon { color: var(--red); font-weight: 600; }

@media (max-width: 768px) {
  .header-inner { flex-wrap: wrap; height: auto; padding: 10px 16px; gap: 8px; }
  #main-nav { display: none; }
  .header-social { display: none; }
  #main-nav.open {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 4px 0 8px;
    border-top: 1px solid var(--lighter);
    margin-top: 4px;
    order: 4;
    background: var(--page);
    border-radius: 0 0 12px 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  }
  #main-nav.open .nav-link {
    padding: 11px 20px;
    border-bottom: 1px solid var(--lighter);
    font-size: 15px;
  }
  #main-nav.open .mobile-social-links { display: block; margin-top: 4px; }
  .menu-toggle { display: flex; align-items: center; justify-content: center; margin-left: auto; }
  .header-search { max-width: 100%; flex: none; width: 100%; order: 3; }
  .product-detail-wrap { grid-template-columns: 1fr; }
  .pd-hero { flex-direction: column; }
  .pd-hero-img { width: 100%; height: 220px; }
  .main-grid { grid-template-columns: 1fr; }
  .col-left { display: none; }
  .col-left { grid-column: 1 !important; }
  .col-main { grid-column: 1 !important; }
  .col-sidebar { grid-template-columns: 1fr; grid-column: 1 !important; }
  .footer-inner { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .pc-thumb { width: 80px; min-width: 80px; }
  .logo-text { font-size: 36px; }
}
