:root {
  --cream: #faf6ee;
  --paper: #fffdf8;
  --ink: #1a1408;
  --muted: #5c5345;
  --mustard: #c8920a;
  --mustard-dark: #8a6406;
  --green: #2d5a3d;
  --red: #b33a28;
  --line: rgba(26, 20, 8, 0.1);
  --shadow: 0 8px 28px rgba(26, 20, 8, 0.08);
  --radius: 14px;
  --max: 42rem;
  --max-wide: 52rem;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: "Source Sans 3", system-ui, sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.55;
  font-size: 1rem;
  padding-bottom: env(safe-area-inset-bottom);
}

h1, h2, h3 {
  font-family: "DM Serif Display", Georgia, serif;
  font-weight: 400;
  line-height: 1.2;
}

a { color: var(--mustard-dark); }

img { max-width: 100%; height: auto; display: block; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1rem;
}

.trust-strip {
  background: var(--ink);
  color: #f5ecd8;
  text-align: center;
  padding: 0.5rem 0.75rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 246, 238, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.locale-switch {
  font-size: 0.78rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.locale-switch__link {
  color: var(--muted);
  text-decoration: none;
}

.locale-switch__link.is-active {
  color: var(--ink);
  font-weight: 600;
}

.locale-switch__sep { opacity: 0.5; }

.logo {
  font-family: "DM Serif Display", serif;
  font-size: 1.2rem;
  color: var(--ink);
  text-decoration: none;
}

.logo em { color: var(--mustard); font-style: normal; }

.nav-links {
  display: flex;
  gap: 1rem;
  font-size: 0.88rem;
  margin-left: auto;
  justify-content: flex-end;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--mustard-dark);
}

.hero {
  padding: 1.5rem 0 1rem;
  background: linear-gradient(180deg, #fff9ef 0%, var(--cream) 100%);
}

.eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.hero h1 {
  font-size: clamp(1.75rem, 6vw, 2.35rem);
  margin-bottom: 0.6rem;
}

.hero-lead {
  color: var(--muted);
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.meta-line {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--mustard), #e0a812);
  color: #1a1408;
  box-shadow: 0 4px 16px rgba(200, 146, 10, 0.3);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(200, 146, 10, 0.38);
}

.btn-ghost {
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink);
  transition: border-color 0.15s ease, background 0.15s ease;
}

.btn-ghost:hover {
  border-color: rgba(200, 146, 10, 0.35);
  background: #fff9ef;
}

.products-section {
  padding: 1rem 0 2.5rem;
}

.products-section .wrap {
  max-width: var(--max-wide);
}

.section-head {
  margin-bottom: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.section-head h2 {
  font-size: 1.5rem;
}

.toolbar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sort-control {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 600;
}

.sort-control select {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  border-radius: 10px;
  padding: 0.5rem 0.85rem;
  font-size: 0.85rem;
  font-weight: 600;
  font-family: inherit;
  max-width: 13rem;
}

.product-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.product-card {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  grid-template-areas:
    "media main"
    "action action";
  gap: 0.85rem 1rem;
  align-items: start;
  background: #fff;
  border: 1px solid rgba(26, 20, 8, 0.06);
  border-radius: 16px;
  padding: 1rem;
  box-shadow: 0 1px 3px rgba(26, 20, 8, 0.04);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.product-card:hover {
  border-color: rgba(200, 146, 10, 0.2);
  box-shadow: 0 8px 24px rgba(26, 20, 8, 0.07);
}

.product-card.is-new {
  border-color: rgba(45, 90, 61, 0.2);
}

.card-media {
  grid-area: media;
  position: relative;
}

.rank-pill {
  position: absolute;
  top: -0.35rem;
  left: -0.35rem;
  z-index: 3;
  min-width: 1.5rem;
  height: 1.5rem;
  padding: 0 0.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 2px 8px rgba(26, 20, 8, 0.15);
}

.thumb {
  position: relative;
  display: block;
  border-radius: 12px;
  overflow: hidden;
  background: #f8f6f2;
  border: 1px solid rgba(26, 20, 8, 0.05);
}

.thumb img {
  width: 5.5rem;
  height: 5.5rem;
  object-fit: contain;
  padding: 0.35rem;
}

.thumb-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 5.5rem;
  height: 5.5rem;
  font-size: 1.75rem;
}

.card-main {
  grid-area: main;
  min-width: 0;
}

.card-title-row {
  margin-bottom: 0.45rem;
}

.badge-new {
  display: inline-block;
  background: #e8f5ec;
  color: var(--green);
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.18rem 0.45rem;
  border-radius: 6px;
  margin-bottom: 0.35rem;
  margin-right: 0.35rem;
}

.badge-bestseller {
  display: inline-block;
  background: #c45500;
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 0.18rem 0.45rem;
  border-radius: 6px;
  margin-bottom: 0.35rem;
  margin-right: 0.35rem;
  line-height: 1.2;
}

.is-bestseller {
  border-color: rgba(196, 85, 0, 0.22);
}

.card-main h3 {
  font-family: "Source Sans 3", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.4;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-main h3 a {
  color: var(--ink);
  text-decoration: none;
}

.card-main h3 a:hover {
  color: var(--mustard-dark);
}

.thumb-off {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  background: #cc0c39;
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
  padding: 0.22rem 0.45rem;
  border-radius: 0 0 0 8px;
  line-height: 1.2;
}

.meta-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: #f4f1ea;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.2;
}

.chip-rating {
  background: #fff8e6;
  color: #8a6406;
}

.chip-size {
  background: #eef3ef;
  color: var(--green);
}

.card-action {
  grid-area: action;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(26, 20, 8, 0.06);
}

@media (max-width: 639px) {
  .card-action {
    flex-wrap: wrap;
  }

  .amazon-price {
    flex: 1 1 100%;
  }

  .amazon-official-btn {
    flex: 1 1 100%;
  }
}

/* Price block */
.amazon-price {
  flex-shrink: 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  line-height: 1.2;
}

.price-label {
  font-size: 0.72rem;
  font-weight: 400;
  color: #565959;
  line-height: 1.2;
  flex-shrink: 0;
}

.amazon-price__primary {
  display: flex;
  align-items: baseline;
  flex-wrap: nowrap;
  gap: 0.4rem;
}

.amazon-price__deal {
  font-size: 1.28rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.1;
  font-family: "Source Sans 3", sans-serif;
  white-space: nowrap;
}

.has-discount .amazon-price__deal {
  color: #b12704;
}

.amazon-price__pct {
  font-size: 0.75rem;
  font-weight: 700;
  color: #007600;
  line-height: 1.2;
  white-space: nowrap;
}

.amazon-price__mrp-line {
  display: flex;
  align-items: baseline;
  flex-wrap: nowrap;
  gap: 0.3rem;
  white-space: nowrap;
}

.amazon-price__mrp {
  font-size: 0.75rem;
  color: #888;
  text-decoration: line-through;
}

.amazon-price__mrp--plain {
  text-decoration: none;
  color: #565959;
}

.amazon-price__save {
  font-size: 0.72rem;
  font-weight: 700;
  color: #007600;
  line-height: 1.2;
  white-space: nowrap;
}

.amazon-official-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  flex-shrink: 0;
  padding: 0.62rem 1rem;
  border: none;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s ease, transform 0.15s ease;
}

.amazon-official-btn:hover {
  background: #2d2618;
  transform: translateY(-1px);
}

.amazon-official-btn__text strong {
  font-weight: 800;
}

.amazon-official-btn__arrow {
  font-size: 1rem;
  line-height: 1;
  opacity: 0.85;
}

.price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.5rem;
  margin-bottom: 0.15rem;
}

.price-row--discount {
  margin-bottom: 0.35rem;
}

.price-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  font-weight: 700;
  width: 100%;
}

.price {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--mustard-dark);
}

.price-row--mrp-only .mrp {
  text-decoration: none;
}

.mrp {
  font-size: 0.8rem;
  text-decoration: line-through;
  color: var(--muted);
}

.off {
  font-size: 0.72rem;
  font-weight: 700;
  color: #fff;
  background: var(--green);
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
}

.save {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--red);
  background: rgba(179, 58, 40, 0.1);
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
}

.empty-state {
  text-align: center;
  padding: 2rem 1rem;
  color: var(--muted);
  background: var(--paper);
  border-radius: var(--radius);
  border: 1px dashed var(--line);
}

.blog-teaser {
  padding: 2rem 0;
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.blog-teaser.alt {
  background: linear-gradient(180deg, #fff9ef 0%, var(--paper) 100%);
}

.blog-teaser h2 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.blog-links {
  list-style: none;
  margin-bottom: 1rem;
}

.blog-links li {
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
}

.blog-links a {
  text-decoration: none;
  font-weight: 600;
  color: var(--ink);
}

.disclaimer {
  padding: 1.5rem 0 2rem;
  font-size: 0.78rem;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.25rem 0 1.75rem;
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
  background: var(--paper);
}

.site-footer a { color: var(--mustard-dark); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

.footer-note {
  margin-top: 0.35rem;
  font-size: 0.75rem;
  opacity: 0.9;
}

/* —— Inner pages (blog, legal) —— */
.page-main {
  padding: 1.5rem 0 2.5rem;
}

.page-hero {
  padding: 1.25rem 0 1.5rem;
  background: linear-gradient(180deg, #fff9ef 0%, var(--cream) 100%);
  border-bottom: 1px solid var(--line);
  margin-bottom: 1.5rem;
}

.page-hero h1 {
  font-size: clamp(1.65rem, 5vw, 2.15rem);
  margin-bottom: 0.45rem;
}

.page-lead {
  color: var(--muted);
  font-size: 1rem;
  max-width: 38rem;
}

.blog-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

.blog-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.2rem;
  box-shadow: var(--shadow);
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.blog-card:hover {
  border-color: rgba(200, 146, 10, 0.35);
  transform: translateY(-1px);
}

.blog-card h2 {
  font-family: "Source Sans 3", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 0.45rem;
}

.blog-card h2 a {
  color: var(--ink);
  text-decoration: none;
}

.blog-card h2 a:hover {
  color: var(--mustard-dark);
}

.blog-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.blog-card time {
  display: block;
  margin-top: 0.65rem;
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 600;
}

.blog-products {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.blog-products__head {
  margin-bottom: 1.25rem;
}

.blog-products__title {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(1.25rem, 4vw, 1.5rem);
  margin: 0 0 0.35rem;
  color: var(--ink);
}

.blog-products__lead {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
  max-width: 36rem;
}

.blog-product-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

.blog-product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow);
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.blog-product-card:hover {
  border-color: rgba(200, 146, 10, 0.35);
  transform: translateY(-1px);
}

.blog-product-card__thumb {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.85rem;
  padding: 0.75rem;
  background: #f8f6f2;
  border: 1px solid rgba(26, 20, 8, 0.05);
  border-radius: 12px;
  min-height: 8.5rem;
  text-decoration: none;
}

.blog-product-card__thumb img {
  width: auto;
  max-width: 7.5rem;
  max-height: 7.5rem;
  object-fit: contain;
}

.blog-product-card__thumb .thumb-fallback {
  width: 7.5rem;
  height: 7.5rem;
}

.blog-product-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  gap: 0.55rem;
}

.blog-product-card__body h3 {
  font-family: "Source Sans 3", sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.4;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-product-card__body h3 a {
  color: var(--ink);
  text-decoration: none;
}

.blog-product-card__body h3 a:hover {
  color: var(--mustard-dark);
}

.blog-product-card__body .meta-chips {
  margin-top: 0;
}

.blog-product-card__footer {
  margin-top: auto;
  padding-top: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.blog-product-card__footer .amazon-price__deal {
  font-size: 1.05rem;
}

.blog-product-card__footer .amazon-official-btn {
  width: 100%;
  font-size: 0.82rem;
  padding: 0.65rem 0.85rem;
}

.blog-products__more {
  margin-top: 1.25rem;
}

.pager {
  margin-top: 1.75rem;
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
}

.pager a {
  color: var(--mustard-dark);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}

.pager a:hover { text-decoration: underline; }

.pager-meta {
  color: var(--muted);
  font-size: 0.875rem;
}

.article-wrap {
  max-width: 40rem;
  margin: 0 auto;
}

.article-header {
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.article-header h1 {
  font-size: clamp(1.55rem, 5vw, 2rem);
  margin-bottom: 0.5rem;
}

.article-meta {
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 600;
}

.article-body {
  font-size: 1.05rem;
  line-height: 1.7;
}

.article-body h2 {
  font-size: 1.35rem;
  margin: 2rem 0 0.75rem;
}

.article-body h3 {
  font-family: "Source Sans 3", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin: 1.5rem 0 0.5rem;
}

.article-body p { margin: 0 0 1rem; }

.article-body ul,
.article-body ol {
  margin: 0 0 1rem 1.25rem;
}

.article-body a {
  color: var(--mustard-dark);
  font-weight: 600;
}

.article-body blockquote {
  margin: 1.25rem 0;
  padding: 0.85rem 1rem;
  border-left: 4px solid var(--mustard);
  background: #fff9ef;
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--muted);
}

.article-body img {
  border-radius: var(--radius);
  margin: 1rem 0;
}

.post-cta {
  margin-top: 2rem;
  padding: 1.15rem 1.2rem;
  border-radius: var(--radius);
  border: 1px solid rgba(200, 146, 10, 0.25);
  background: linear-gradient(135deg, #fff9ef 0%, var(--paper) 100%);
  text-align: center;
}

.post-cta .btn-primary {
  width: 100%;
  max-width: 22rem;
}

.article-disclaimer {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
  color: var(--muted);
}

.article-back {
  margin-bottom: 1rem;
  font-size: 0.88rem;
}

.article-back a {
  color: var(--mustard-dark);
  text-decoration: none;
  font-weight: 600;
}

.article-back a:hover { text-decoration: underline; }

.legal-page {
  max-width: 40rem;
  margin: 0 auto;
}

.legal-page h1 {
  font-size: clamp(1.5rem, 4vw, 1.9rem);
  margin-bottom: 0.75rem;
}

.legal-page h2 {
  font-size: 1.15rem;
  margin: 1.5rem 0 0.5rem;
}

.legal-page p,
.legal-page li {
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.legal-page ul {
  margin: 0 0 1rem 1.25rem;
}

.empty-state-page {
  text-align: center;
  padding: 2.5rem 1rem;
  color: var(--muted);
}

@media (min-width: 640px) {
  :root { --max: 52rem; }
  .product-card {
    grid-template-columns: 6.5rem 1fr 13.5rem;
    grid-template-areas: "media main action";
    align-items: center;
    gap: 1rem 1.25rem;
    padding: 1rem 1.15rem;
  }
  .thumb img, .thumb-fallback {
    width: 6.5rem;
    height: 6.5rem;
  }
  .card-action {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding-top: 0;
    border-top: none;
    gap: 0.55rem;
  }
  .card-action .amazon-price__deal {
    font-size: 1.15rem;
  }
  .amazon-official-btn {
    width: 100%;
  }
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .blog-product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .product-list {
    gap: 0.75rem;
  }
  .card-main h3 {
    font-size: 1rem;
    -webkit-line-clamp: 2;
  }
  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .blog-product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
