/* ── Design tokens ── */
:root {
  --cream:         #FAF8F3;
  --warm-dark:     #1C1A16;
  --accent:        #C8A96E;
  --accent-light:  #E8D5AA;
  --text-main:     #2D2A24;
  --text-muted:    #7A7268;
  --card-bg:       #FFFFFF;
  --border:        rgba(200, 169, 110, 0.2);
  --border-solid:  #E8D5AA;
  --radius:        16px;
  --shadow:        0 4px 24px rgba(28, 26, 22, 0.08);
}

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

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--text-main);
  min-height: 100vh;
}

/* ── HEADER ── */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 248, 243, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--warm-dark);
  text-decoration: none;
  letter-spacing: -0.3px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo span { color: var(--accent); }
.logo-img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }

/* ── NAV ── */
.header-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.nav-link {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-muted);
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}
.nav-link:hover { color: var(--warm-dark); background: var(--accent-light); }
.nav-link.active { color: var(--warm-dark); font-weight: 500; }

/* ── LANGUAGE SWITCHER ── */
.lang-switcher { display: flex; gap: 4px; }

.lang-btn {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 5px 10px;
  border-radius: 20px;
  border: 1.5px solid transparent;
  background: transparent;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.lang-btn:hover { border-color: var(--accent); color: var(--warm-dark); }
.lang-btn.active { border-color: var(--accent); background: var(--accent-light); color: var(--warm-dark); }

/* ── COUNTRY BADGE ── */
.country-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-main);
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 5px 12px;
  cursor: pointer;
  transition: border-color 0.2s;
  white-space: nowrap;
}
.country-badge:hover { border-color: var(--accent); }
.country-flag-sm { font-size: 15px; }

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border);
  background: var(--card-bg);
  margin-top: 80px;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 24px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: center;
  margin-bottom: 20px;
}

.footer-link {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-link:hover { color: var(--accent); }

.footer-affiliate {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto 16px;
}

.footer-copy {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
}

/* ── BREADCRUMB ── */
.breadcrumb {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
}
.breadcrumb a { color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { color: var(--text-muted); }

/* Cookie banner styles removed: the consent dialog is Google's CMP,
   which brings its own styling. */

/* ── PAGINATION ── */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.page-nums {
  display: flex;
  align-items: center;
  gap: 6px;
}

.page-num {
  min-width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  border-radius: 10px;
  transition: background 0.2s, color 0.2s;
}
.page-num:hover { background: var(--accent-light); color: var(--warm-dark); }

.page-num.current {
  background: var(--warm-dark);
  color: var(--cream);
}

.page-arrow {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent-light);
  transition: background 0.2s;
}
.page-arrow svg {
  width: 15px; height: 15px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.2s;
}
.page-arrow:hover { background: var(--accent); }
.page-arrow:hover svg { stroke: #fff; }

.page-arrow.disabled { background: transparent; }
.page-arrow.disabled svg { stroke: var(--border-solid); }

/* ── GRID ── */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

/* ── CARD ── */
.post-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(28, 26, 22, 0.14);
}

.card-img-wrap {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #EDE8DF;
}

.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.post-card:hover .card-img-wrap img { transform: scale(1.05); }

.card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--warm-dark);
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
}

.card-body {
  padding: 18px 20px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-style {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.card-title {
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--warm-dark);
  line-height: 1.35;
  margin-bottom: 10px;
}

.card-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.card-items { font-size: 12px; color: var(--text-muted); }

.card-arrow {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.post-card:hover .card-arrow { background: var(--accent); }
.post-card:hover .card-arrow svg { stroke: #fff; }
.card-arrow svg { width: 14px; height: 14px; stroke: var(--accent); stroke-width: 2; fill: none; }

/* ── SKELETON ── */
.skeleton {
  background: linear-gradient(90deg, #EDE8DF 25%, #E4DDD3 50%, #EDE8DF 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 8px;
}

@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ── POST PAGE ── */
.page-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

.ai-notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: linear-gradient(135deg, #FFF9EE 0%, #FFF3D6 100%);
  border: 1px solid var(--border-solid);
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 32px;
  font-size: 13px;
  color: #6B5A35;
  line-height: 1.5;
}

.section-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--warm-dark);
}

.section-header {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

/* Furniture item card */
.item-card {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 16px;
  align-items: start;
  background: var(--card-bg);
  border-radius: 12px;
  border: 1px solid var(--border);
  padding: 16px;
  margin-bottom: 12px;
}

.item-img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  background: #EDE8DF;
}

.post-hero {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  background: #EDE8DF;
}

.paid-note {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.item-icon {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  background: #EDE8DF;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}
.item-icon svg {
  width: 40px;
  height: 40px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.item-img-placeholder {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  background: #EDE8DF;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 24px;
}

.item-name {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--warm-dark);
  margin-bottom: 4px;
}

.item-note {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 10px;
}

/* Affiliate button */
.btn-affiliate {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  font-family: 'DM Sans', sans-serif;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
}
.btn-affiliate:hover { opacity: 0.88; transform: translateY(-1px); }

.btn-amazon {
  background: #FF9900;
  color: #111;
}
.btn-other {
  background: var(--warm-dark);
  color: #fff;
}

/* ── VIDEO ── */
.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  background: #111;
  box-shadow: 0 8px 40px rgba(28,26,22,0.18);
  aspect-ratio: 9/16;
  cursor: pointer;
}

.video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-thumb {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  background: rgba(250,248,243,0.92);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-play-btn svg { width: 28px; height: 28px; fill: var(--warm-dark); margin-left: 4px; }

/* ── CONTENT GRID ── */
.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 56px;
  align-items: start;
}

@media (max-width: 720px) {
  .content-grid { grid-template-columns: 1fr; gap: 28px; }
  .header-nav { display: none; }
}

/* ── INTERIOR PHOTO ── */
.interior-photo {
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  background: #EDE8DF;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow);
}

.interior-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── POST DESCRIPTION ── */
.post-style-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-light);
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.post-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 700;
  color: var(--warm-dark);
  line-height: 1.25;
  margin-bottom: 16px;
}

.post-intro {
  font-size: 15px;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ── DESIGN KEYS / TIPS (bullet lists) ── */
.bullet-section {
  margin-bottom: 36px;
}

.bullet-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--warm-dark);
  margin-bottom: 14px;
}

.bullet-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bullet-list li {
  display: flex;
  gap: 10px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-main);
}

.bullet-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  margin-top: 8px;
}

/* ── FAQ ── */
.faq-section { margin-bottom: 36px; }
.faq-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--warm-dark);
  margin-bottom: 16px;
}

.faq-item {
  border-top: 1px solid var(--border);
  padding: 16px 0;
}
.faq-q {
  font-size: 15px;
  font-weight: 500;
  color: var(--warm-dark);
  margin-bottom: 8px;
}
.faq-a {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── RELATED POSTS ── */
.related-section { margin-top: 56px; }
.related-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--warm-dark);
  margin-bottom: 24px;
}

/* ── LEGAL PAGES ── */
.legal-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

.legal-wrap h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 700;
  color: var(--warm-dark);
  margin-bottom: 8px;
}

.legal-wrap .subtitle {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.legal-wrap h2 {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--warm-dark);
  margin: 36px 0 12px;
}

.legal-wrap p, .legal-wrap li {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.legal-wrap ul, .legal-wrap ol {
  padding-left: 20px;
}

.legal-wrap a {
  color: var(--accent);
  text-decoration: underline;
}

.legal-wrap table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 13px;
}

.legal-wrap th {
  background: var(--accent-light);
  color: var(--warm-dark);
  font-weight: 600;
  padding: 10px 12px;
  text-align: left;
  border: 1px solid var(--border-solid);
}

.legal-wrap td {
  padding: 10px 12px;
  border: 1px solid var(--border);
  color: var(--text-muted);
  vertical-align: top;
}

/* ── HERO (home) ── */
.hero {
  max-width: 1280px;
  margin: 0 auto;
  padding: 64px 24px 40px;
  text-align: center;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 5vw, 58px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--warm-dark);
  margin-bottom: 18px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.hero p {
  font-size: 17px;
  font-weight: 300;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.hero-line {
  width: 60px;
  height: 2px;
  background: var(--accent);
  margin: 0 auto;
  border-radius: 2px;
}

.grid-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

.grid-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.grid-title {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--warm-dark);
}

.grid-count { font-size: 13px; color: var(--text-muted); }

/* ── UTILS ── */
.tag-pill {
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid var(--border-solid);
  color: var(--text-muted);
  display: inline-block;
}

.noindex-notice {
  background: var(--accent-light);
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

@media (max-width: 480px) {
  .item-card { grid-template-columns: 1fr; }
  .item-img, .item-img-placeholder, .item-icon { width: 60px; height: 60px; }
  .item-icon svg { width: 30px; height: 30px; }
  .header-inner { padding: 0 16px; }
  .page-wrap { padding: 24px 16px 60px; }
}
