/* slicerlaw.com — Styles inspired by casketprops.com */

/* ── SELF-HOSTED FONTS ── */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/inter-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/inter-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/inter-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/playfair-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/playfair-700.woff2') format('woff2');
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg-dark: #111827;
  --bg-body: #f9fafb;
  --text-dark: #1f2937;
  --text-muted: #6b7280;
  --text-footer: #9ca3af;
  --accent-red: #e63946;
  --accent-red-light: #f87171;
  --border-dark: #1f2937;
  --amber-bg: #fffbeb;
  --amber-border: #fbbf24;
  --amber-text: #78350f;
  --card-dark: #1a2332;
  --blue-quote: #3b82f6;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-body);
  color: var(--text-dark);
  font-size: 16px;
  line-height: 1.7;
}

/* ── HEADER ── */
.site-header {
  background-color: var(--bg-dark);
  border-bottom: 1px solid #1f2937;
  position: sticky;
  top: 0;
  z-index: 40;
}
.site-header .inner {
  max-width: 56rem;
  margin: 0 auto;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-header .logo {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.1rem;
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.01em;
}
.site-header .logo span { color: var(--accent-red-light); }
.badge-ad {
  background-color: var(--accent-red);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
}

/* ── MAIN ── */
main {
  max-width: 48rem;
  margin: 0 auto;
  padding: 2.5rem 1rem;
}

/* ── DISCLAIMER BOX ── */
.disclaimer {
  background-color: var(--amber-bg);
  border: 1px solid var(--amber-border);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  margin-bottom: 2rem;
  font-size: 0.85rem;
  color: var(--amber-text);
  line-height: 1.5;
}
.disclaimer strong { font-weight: 700; }

/* ── META ── */
.article-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.article-meta a { color: var(--text-muted); text-decoration: none; }

/* ── ARTICLE ── */
article h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  line-height: 1.25;
  color: #111827;
  margin-bottom: 1.25rem;
}
article h1 .highlight { color: var(--accent-red-light); }

article h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.4rem;
  color: #111827;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

article p {
  margin-bottom: 1.1rem;
  color: var(--text-dark);
}

article img {
  width: 100%;
  border-radius: 10px;
  margin: 1.5rem 0;
  display: block;
}

/* ── PULL QUOTE ── */
.pull-quote {
  border-left: 4px solid var(--blue-quote);
  padding: 0.75rem 1rem;
  background: #eff6ff;
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: #1e3a5f;
  margin: 1.5rem 0;
  font-size: 1rem;
  line-height: 1.6;
}

/* ── FEATURE GRID ── */
.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 2rem 0;
}
@media (min-width: 560px) { .features { grid-template-columns: repeat(3, 1fr); } }
.feature-item {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 1rem;
  text-align: center;
}
.feature-item .icon { font-size: 1.6rem; display: block; margin-bottom: 0.4rem; }
.feature-item .label {
  font-weight: 700;
  font-size: 0.8rem;
  color: #111827;
  display: block;
  margin-bottom: 0.2rem;
}
.feature-item .desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: block;
  line-height: 1.4;
}

/* ── PRODUCT CARD ── */
.product-card {
  background-color: var(--card-dark);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  margin: 2.5rem 0;
  color: #e5e7eb;
}
.product-card .card-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.3rem;
  color: #fbbf24;
  margin-bottom: 0.35rem;
}
.product-card .card-sub {
  font-size: 0.85rem;
  color: #9ca3af;
  margin-bottom: 1.2rem;
}
.product-card .specs {
  list-style: none;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.product-card .specs li {
  font-size: 0.9rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}
.product-card .specs li::before {
  content: "✓";
  color: #34d399;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.05rem;
}
.product-card .price {
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 1rem;
}
.product-card .price small { font-size: 0.8rem; font-weight: 400; color: #9ca3af; margin-left: 0.4rem; }
.product-card .stock-badge {
  display: inline-block;
  background: #064e3b;
  color: #34d399;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  margin-bottom: 1.2rem;
}

/* ── CTA BUTTON ── */
.btn-cta {
  display: inline-block;
  background-color: var(--accent-red);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 8px;
  padding: 1rem 2.5rem;
  transition: background-color 0.2s, transform 0.1s;
  cursor: pointer;
  border: none;
}
.btn-cta:hover { background-color: #c0303b; transform: translateY(-1px); }
.btn-cta:active { transform: translateY(0); }
.btn-cta-wrap { text-align: center; margin: 0.5rem 0; }

/* ── PRODUCT IMAGE INSIDE CARD ── */
.product-card img {
  width: 100%;
  max-width: 380px;
  border-radius: 10px;
  display: block;
  margin: 0 auto 1.5rem;
}

/* ── ARTICLE AFFILIATE NOTICE ── */
.affiliate-notice {
  font-size: 0.8rem;
  color: var(--text-muted);
  border-top: 1px solid #e5e7eb;
  padding-top: 1rem;
  margin-top: 2rem;
  line-height: 1.6;
}

/* ── FOOTER ── */
.site-footer {
  background-color: var(--bg-dark);
  color: var(--text-footer);
  font-size: 0.75rem;
  margin-top: 2.5rem;
}
.site-footer .inner {
  max-width: 56rem;
  margin: 0 auto;
  padding: 2rem 1rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px) { .site-footer .inner { grid-template-columns: 1fr 1fr; } }
.site-footer .brand {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1rem;
  color: #fff;
  margin-bottom: 0.4rem;
}
.site-footer a { color: var(--text-footer); text-decoration: underline; }
.site-footer a:hover { color: #fff; }
.footer-legal { line-height: 1.7; }
.footer-links { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 0.5rem; }
.footer-bottom {
  border-top: 1px solid #1f2937;
  text-align: center;
  padding: 0.8rem 1rem;
  font-size: 0.7rem;
}

/* ── STATIC PAGES ── */
.static-page {
  max-width: 48rem;
  margin: 0 auto;
  padding: 2.5rem 1rem;
}
.static-page h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem;
  color: #111827;
  margin-bottom: 0.4rem;
}
.static-page .subtitle {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 2rem;
}
.static-page h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.2rem;
  color: #111827;
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
}
.static-page p, .static-page li { margin-bottom: 0.75rem; line-height: 1.7; color: var(--text-dark); }
.static-page ul { padding-left: 1.25rem; margin-bottom: 1rem; }
.static-page table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: 0.875rem;
}
.static-page table th, .static-page table td {
  border: 1px solid #e5e7eb;
  padding: 0.6rem 0.8rem;
  text-align: left;
}
.static-page table th { background: #f3f4f6; font-weight: 700; }

/* ── COOKIE BANNER ── */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #111827;
  color: #e5e7eb;
  padding: 1rem 1.25rem;
  z-index: 9999;
  font-size: 0.85rem;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
  display: none;
}
#cookie-banner.show { display: block; }
.cookie-inner {
  max-width: 56rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.cookie-inner p { flex: 1; min-width: 200px; line-height: 1.5; }
.cookie-inner a { color: #93c5fd; }
.cookie-buttons { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.btn-cookie {
  padding: 0.45rem 1rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  font-family: 'Inter', sans-serif;
}
.btn-cookie.accept { background: var(--accent-red); color: #fff; }
.btn-cookie.reject { background: #374151; color: #d1d5db; }

/* ── RESPONSIVE ── */
@media (max-width: 480px) {
  article h1 { font-size: 1.6rem; }
  .product-card { padding: 1.25rem 1rem; }
  .btn-cta { padding: 0.9rem 1.5rem; font-size: 0.95rem; width: 100%; text-align: center; }
}
