/* product.css — styles for individual product review pages */

/* ─── BREADCRUMB ─── */
.breadcrumb {
  padding: 0.75rem 2rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 0.5px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.breadcrumb a { color: var(--rust); }
.breadcrumb a:hover { color: var(--ember); }
.breadcrumb span:not(:last-child) { opacity: 0.5; }

/* ─── PRODUCT HERO ─── */
.product-hero {
  padding: 3rem 2rem;
  background: var(--snow);
  border-bottom: 0.5px solid var(--border);
}

.product-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

/* ─── GALLERY ─── */
.gallery-main {
  border-radius: 4px;
  overflow: hidden;
  background: #111;
  aspect-ratio: 1 / 1;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.25s;
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
  margin-top: 4px;
}

.thumb {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 2px;
  cursor: pointer;
  opacity: 0.55;
  transition: opacity 0.2s;
  border: 2px solid transparent;
}

.thumb:hover { opacity: 0.85; }
.thumb.active { opacity: 1; border-color: var(--rust); }

/* ─── PRODUCT SUMMARY ─── */
.product-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1;
  color: var(--dirt);
  margin-bottom: 1rem;
}

.product-title em {
  font-family: 'Lora', serif;
  font-weight: 400;
  font-style: italic;
  color: var(--rust);
}

.product-lede {
  font-size: 15px;
  font-style: italic;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.product-cta-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

/* ─── SPECS BAR ─── */
.specs-bar {
  background: var(--dirt);
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-top: 2px solid var(--rust);
}

.spec-item {
  padding: 1.25rem 1rem;
  text-align: center;
  border-right: 0.5px solid rgba(245,233,208,0.1);
}

.spec-item:last-child { border-right: none; }

.spec-value {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 24px;
  font-weight: 900;
  color: var(--ember);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.spec-key {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245,233,208,0.5);
}

/* ─── REVIEW LAYOUT ─── */
.review-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 3rem;
  align-items: start;
}

/* ─── REVIEW MAIN ─── */
.review-section {
  margin-bottom: 3rem;
}

.review-section h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 32px;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--dirt);
  line-height: 1;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--rust);
}

.review-section h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--dirt);
  margin-bottom: 0.75rem;
}

.review-section p {
  color: var(--text-muted);
  font-size: 15px;
  font-style: italic;
  line-height: 1.75;
  margin-bottom: 1rem;
}

/* ─── FEATURE BLOCKS ─── */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.feature-block-reverse {
  direction: rtl;
}

.feature-block-reverse > * {
  direction: ltr;
}

.feature-block-img {
  border-radius: 4px;
  overflow: hidden;
  background: #111;
}

.feature-block-img img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

/* ─── WHAT'S IN THE BOX ─── */
.inbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 8px;
  margin-top: 1rem;
}

.inbox-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: white;
  border: 0.5px solid var(--border);
  border-radius: 2px;
  padding: 10px 12px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--dirt);
}

.inbox-icon { font-size: 18px; flex-shrink: 0; }

/* ─── VERDICT BOX ─── */
.verdict-box {
  background: var(--bark);
  color: var(--straw);
  padding: 2rem;
  border-radius: 4px;
  border-left: 4px solid var(--rust);
}

.verdict-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 0.5rem;
}

.verdict-box h2 {
  color: var(--straw);
  border-bottom-color: var(--rust);
}

.verdict-box p { color: rgba(245,233,208,0.75); }

.verdict-stars {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.verdict-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--straw);
  padding-bottom: 6px;
  border-bottom: 0.5px solid rgba(245,233,208,0.1);
}

.verdict-row span:last-child {
  color: var(--ember);
  letter-spacing: 2px;
}

/* ─── SIDEBAR ─── */
.review-sidebar {
  position: sticky;
  top: 80px;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.sidebar-card {
  background: white;
  border: 0.5px solid var(--border);
  border-radius: 4px;
  padding: 1.25rem;
}

.sidebar-card-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 0.5px solid var(--border);
}

.sidebar-specs {
  width: 100%;
  font-size: 13px;
  border-collapse: collapse;
}

.sidebar-specs td {
  padding: 5px 0;
  border-bottom: 0.5px solid var(--border);
  vertical-align: top;
}

.sidebar-specs td:first-child {
  color: var(--text-muted);
  font-style: italic;
  padding-right: 8px;
  width: 50%;
}

.sidebar-specs td:last-child {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  color: var(--dirt);
  text-align: right;
}

/* ─── PRO/CON LIST ─── */
.pro-con-list {
  list-style: none;
  font-size: 13px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pro-con-list li {
  padding: 4px 0 4px 20px;
  position: relative;
  line-height: 1.4;
}

.pro-con-list .pro { color: #2a6e2a; }
.pro-con-list .pro::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #3a8c3a;
  font-weight: 700;
}

.pro-con-list .con { color: #8b3a3a; }
.pro-con-list .con::before {
  content: '–';
  position: absolute;
  left: 0;
  color: #c44;
  font-weight: 700;
}

/* ─── ALSO CONSIDER ─── */
.also-consider-item {
  display: block;
  padding: 8px 0;
  border-bottom: 0.5px solid var(--border);
  text-decoration: none;
  transition: background 0.15s;
}

.also-consider-item:last-child { border-bottom: none; }
.also-consider-item:hover .also-consider-name { color: var(--rust); }

.also-consider-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--dirt);
  transition: color 0.2s;
}

.also-consider-sub {
  font-size: 12px;
  color: var(--text-muted);
  font-style: italic;
  margin-top: 2px;
}

.sidebar-buy { background: var(--bark); border-color: var(--bark); }
.sidebar-buy .sidebar-card-title { color: var(--ember); border-bottom-color: rgba(245,233,208,0.15); }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .review-layout { grid-template-columns: 1fr; }
  .review-sidebar { position: static; }
  .specs-bar { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .product-hero-inner { grid-template-columns: 1fr; }
  .feature-block { grid-template-columns: 1fr; }
  .feature-block-reverse { direction: ltr; }
  .gallery-thumbs { grid-template-columns: repeat(3, 1fr); }
  .specs-bar { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .product-hero { padding: 1.5rem 1rem; }
  .review-layout { padding: 2rem 1rem; }
  .specs-bar { grid-template-columns: repeat(2, 1fr); }
}

/* ─── FULL SPECS GRID ─── */
.full-specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 0.5px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 1rem;
}

.full-spec-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 8px 12px;
  border-bottom: 0.5px solid var(--border);
  gap: 1rem;
  font-size: 14px;
}

.full-spec-row:nth-child(even) { background: rgba(0,0,0,0.02); }
.full-spec-row:last-child { border-bottom: none; }

.full-spec-row span:first-child {
  color: var(--text-muted);
  font-style: italic;
  flex-shrink: 0;
}

.full-spec-row span:last-child {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15px;
  color: var(--dirt);
  text-align: right;
}

/* ─── COMPARISON CALLOUT (soft vs hard shell) ─── */
.comparison-callout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1rem;
}

.callout-col {
  padding: 1.25rem;
  border-radius: 4px;
}

.callout-pro {
  background: rgba(42, 110, 42, 0.06);
  border-left: 3px solid #3a8c3a;
}

.callout-con {
  background: rgba(60, 30, 10, 0.04);
  border-left: 3px solid var(--rust);
}

.callout-col h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--dirt);
  margin-bottom: 0.75rem;
}

@media (max-width: 640px) {
  .full-specs-grid { grid-template-columns: 1fr; }
  .comparison-callout { grid-template-columns: 1fr; }
}
