/*
Theme Name: Diamond Painting Outlet
Theme URI: https://diamondpaintingoutlet.com
Author: Diamond Painting Outlet
Description: Clean Amazon affiliate WordPress theme for diamond painting kits, tools, storage, and beginner guides.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: diamond-painting-outlet
*/

:root {
  --ink: #17202a;
  --muted: #5d6876;
  --paper: #fffaf5;
  --surface: #ffffff;
  --line: #e7ddd3;
  --accent: #0d7c80;
  --accent-dark: #095d61;
  --coral: #cf514b;
  --gold: #d89a2b;
  --mint: #dff5ef;
  --rose: #ffe4e0;
  --shadow: 0 18px 48px rgba(23, 32, 42, 0.11);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

.site-shell {
  min-height: 100vh;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(231, 221, 211, 0.85);
  background: rgba(255, 250, 245, 0.92);
  backdrop-filter: blur(16px);
}

.nav {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1180px;
  padding: 14px 20px;
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 12px;
  font-weight: 800;
  text-decoration: none;
}

.brand-logo {
  background: #fff;
  border: 1px solid rgba(23, 32, 42, 0.12);
  border-radius: 7px;
  box-shadow: 0 8px 18px rgba(23, 32, 42, 0.08);
  display: block;
  height: 48px;
  object-fit: cover;
  width: 48px;
}

.nav-links {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: flex-end;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 650;
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--ink);
}

.hero {
  overflow: hidden;
  position: relative;
}

.hero::before {
  background:
    radial-gradient(circle at 10% 20%, rgba(207, 81, 75, 0.18), transparent 26%),
    radial-gradient(circle at 84% 18%, rgba(13, 124, 128, 0.18), transparent 28%),
    linear-gradient(135deg, rgba(255, 228, 224, 0.78), rgba(223, 245, 239, 0.68));
  content: "";
  inset: 0;
  position: absolute;
}

.hero::after {
  background-image:
    linear-gradient(45deg, rgba(23, 32, 42, 0.07) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(23, 32, 42, 0.07) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(23, 32, 42, 0.07) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(23, 32, 42, 0.07) 75%);
  background-position: 0 0, 0 10px, 10px -10px, -10px 0;
  background-size: 20px 20px;
  content: "";
  inset: 0;
  opacity: 0.5;
  position: absolute;
}

.hero-inner {
  align-items: center;
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(0, 0.98fr) minmax(320px, 0.72fr);
  margin: 0 auto;
  max-width: 1180px;
  min-height: 560px;
  padding: 62px 20px 58px;
  position: relative;
}

.eyebrow {
  color: var(--accent-dark);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin: 0 0 14px;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.08;
  margin: 0;
}

h1 {
  font-size: clamp(2.6rem, 4.15vw, 4.25rem);
  letter-spacing: 0;
  line-height: 1.02;
  max-width: 650px;
}

h2 {
  font-size: clamp(2rem, 3.5vw, 3.45rem);
}

h3 {
  font-size: 1.2rem;
}

.lede {
  color: #32404f;
  font-size: clamp(1.02rem, 1.45vw, 1.16rem);
  margin: 20px 0 0;
  max-width: 620px;
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  align-items: center;
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 6px;
  color: #fff;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  text-decoration: none;
}

.button:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

.button.secondary {
  background: #fff;
  border-color: rgba(23, 32, 42, 0.16);
  color: var(--ink);
}

.button.secondary:hover {
  border-color: var(--accent);
  color: var(--accent-dark);
}

.hero-panel {
  align-self: center;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  box-shadow: var(--shadow);
  margin-left: auto;
  max-width: 440px;
  padding: 24px;
  width: 100%;
}

.hero-brand-logo {
  background: #fff;
  border: 1px solid rgba(23, 32, 42, 0.12);
  border-radius: 8px;
  box-shadow: 0 14px 28px rgba(23, 32, 42, 0.1);
  display: block;
  height: 150px;
  margin: 0 auto 18px;
  object-fit: contain;
  padding: 10px;
  width: min(100%, 250px);
}

.sparkle-grid {
  display: grid;
  gap: 7px;
  grid-template-columns: repeat(10, 1fr);
}

.sparkle-tile {
  aspect-ratio: 1;
  border-radius: 4px;
  box-shadow: inset 0 2px 9px rgba(255, 255, 255, 0.48);
}

.quick-list {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.quick-list span {
  align-items: center;
  display: flex;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 700;
}

.quick-list span::before {
  background: var(--gold);
  border-radius: 999px;
  content: "";
  height: 9px;
  width: 9px;
}

.section {
  padding: 70px 20px;
}

.section.alt {
  background: #fff;
}

.container {
  margin: 0 auto;
  max-width: 1180px;
}

.section-header {
  align-items: end;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin-bottom: 28px;
}

.section-header p {
  color: var(--muted);
  margin: 12px 0 0;
  max-width: 670px;
}

.disclosure {
  background: #fff7d8;
  border: 1px solid #ead78a;
  border-radius: 7px;
  color: #4d3f16;
  font-size: 0.94rem;
  margin-bottom: 28px;
  padding: 14px 16px;
}

.product-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.answer-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.answer-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
}

.answer-card p {
  color: var(--muted);
  margin: 12px 0 0;
}

.top-products {
  background: #17202a;
  color: #fffaf5;
}

.top-products .section-header p,
.top-products .product-card p {
  color: rgba(255, 250, 245, 0.76);
}

.top-products .eyebrow {
  color: #f6d66f;
}

.top-product-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.top-product-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  display: grid;
  gap: 16px;
  grid-template-columns: 54px 1fr;
  padding: 20px;
}

.top-rank {
  align-items: center;
  background: #fffaf5;
  border-radius: 7px;
  color: var(--ink);
  display: inline-flex;
  font-size: 1.1rem;
  font-weight: 900;
  height: 46px;
  justify-content: center;
  width: 46px;
}

.top-product-card p {
  color: rgba(255, 250, 245, 0.76);
  margin: 12px 0 18px;
}

.top-card-actions {
  display: grid;
  gap: 10px;
}

.top-card-actions .button {
  min-height: 42px;
  padding: 10px 13px;
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 20px;
}

.product-card.featured {
  border-color: rgba(13, 124, 128, 0.35);
  box-shadow: 0 16px 34px rgba(13, 124, 128, 0.12);
}

.product-meta {
  color: var(--accent-dark);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.07em;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.product-card p {
  color: var(--muted);
  margin: 12px 0 18px;
}

.product-card ul,
.guide-list {
  margin: 0 0 20px;
  padding-left: 19px;
}

.product-card li,
.guide-list li {
  margin: 7px 0;
}

.product-card .button {
  margin-top: auto;
  width: 100%;
}

.article-hero {
  background:
    linear-gradient(135deg, rgba(223, 245, 239, 0.85), rgba(255, 228, 224, 0.8)),
    var(--paper);
  padding: 72px 20px 52px;
}

.article-hero .container {
  max-width: 900px;
}

.article-hero h1 {
  font-size: clamp(2.35rem, 4.7vw, 4.65rem);
}

.roundup-intro {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 22px;
  padding: 22px;
}

.roundup-list {
  display: grid;
  gap: 18px;
}

.roundup-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) 260px;
  padding: 24px;
}

.roundup-card h2 {
  font-size: clamp(1.45rem, 2.2vw, 2.25rem);
}

.roundup-card p {
  color: var(--muted);
}

.roundup-card-side {
  align-self: start;
  background: var(--mint);
  border-radius: 8px;
  padding: 16px;
}

.roundup-card-side .button {
  width: 100%;
}

.roundup-card-side p {
  font-size: 0.9rem;
  margin: 12px 0 0;
}

.guide-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 0.95fr 1.05fr;
}

.guide-band {
  background: var(--mint);
  border: 1px solid rgba(13, 124, 128, 0.14);
  border-radius: 8px;
  padding: 28px;
}

.guide-band.rose {
  background: var(--rose);
  border-color: rgba(207, 81, 75, 0.18);
}

.keyword-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.keyword-cloud a {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
  padding: 8px 12px;
  text-decoration: none;
}

.site-footer {
  background: var(--ink);
  color: #f7f1ea;
  padding: 34px 20px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1180px;
}

.footer-inner p {
  color: rgba(247, 241, 234, 0.72);
  margin: 0;
  max-width: 760px;
}

@media (max-width: 920px) {
  .hero-inner,
  .guide-grid {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    min-height: auto;
  }

  .product-grid,
  .answer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .top-product-grid,
  .roundup-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .section-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .product-grid,
  .answer-grid {
    grid-template-columns: 1fr;
  }

  .top-product-card {
    grid-template-columns: 1fr;
  }
}
