@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@500;700;800&family=Caveat:wght@600;700&family=Nunito:wght@400;700;800&display=swap');

:root {
  --pink: #e6317f;
  --pink-hot: #ff4fa0;
  --pink-light: #ffe3f0;
  --teal: #2f8f8a;
  --teal-light: #d7f3f0;
  --gold: #e8ab1f;
  --cream: #fff8f2;
  --ink: #2b2620;
  --border: #f5c9dd;
  --max: 1160px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Nunito', sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, .headline-font { font-family: 'Baloo 2', sans-serif; }
.script { font-family: 'Caveat', cursive; }

img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; position: relative; }

.checker-bg {
  background-image:
    linear-gradient(45deg, var(--pink-light) 25%, transparent 25%),
    linear-gradient(-45deg, var(--pink-light) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, var(--pink-light) 75%),
    linear-gradient(-45deg, transparent 75%, var(--pink-light) 75%);
  background-size: 44px 44px;
  background-position: 0 0, 0 22px, 22px -22px, -22px 0px;
  background-color: #fff;
}
.checker-bg-teal {
  background-image:
    linear-gradient(45deg, var(--teal-light) 25%, transparent 25%),
    linear-gradient(-45deg, var(--teal-light) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, var(--teal-light) 75%),
    linear-gradient(-45deg, transparent 75%, var(--teal-light) 75%);
  background-size: 44px 44px;
  background-position: 0 0, 0 22px, 22px -22px, -22px 0px;
  background-color: #fff;
}

.sparkle { position: absolute; font-size: 1.4rem; opacity: 0.85; pointer-events: none; }

header.site-header {
  background: #fff;
  border-bottom: 4px dashed var(--pink);
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 30;
}
header.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
header.site-header .brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 1.15rem; font-family: 'Baloo 2'; }
header.site-header .brand img { width: 48px; height: 48px; border-radius: 50%; box-shadow: 0 4px 0 var(--gold); }
header.site-header nav { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
header.site-header nav a { color: var(--ink); text-decoration: none; font-size: 0.95rem; font-weight: 800; }
header.site-header nav a:hover { color: var(--pink); }
header.site-header .shop-btn {
  background: var(--pink-hot); color: #fff !important; padding: 11px 24px; border-radius: 999px;
  white-space: nowrap; border: 3px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); font-family: 'Baloo 2';
}
header.site-header .shop-btn:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }

.hero {
  position: relative;
  padding: 60px 0 70px;
  text-align: center;
  overflow: hidden;
}
.hero .script-eyebrow { font-family: 'Caveat'; font-size: 1.8rem; color: var(--pink); font-weight: 700; display: block; margin-bottom: 4px; transform: rotate(-2deg); }
.hero h1 {
  font-size: clamp(2.3rem, 5.2vw, 3.6rem);
  line-height: 1.08;
  margin: 0 0 20px;
  text-shadow: 3px 3px 0 var(--pink-light);
}
.hero h1 .accent { color: var(--pink-hot); }
.hero p.lead { max-width: 620px; margin: 0 auto 20px; font-size: 1.15rem; font-weight: 700; }
.physical-note {
  display: inline-block; background: var(--teal); color: #fff; font-weight: 800; font-family: 'Baloo 2';
  padding: 9px 20px; border-radius: 999px; font-size: 0.9rem; margin-bottom: 26px;
  border: 3px solid var(--ink); transform: rotate(-1.5deg);
}

.btn {
  display: inline-block; background: var(--pink-hot); color: #fff; text-decoration: none; font-weight: 800;
  padding: 16px 36px; border-radius: 999px; font-size: 1.1rem; font-family: 'Baloo 2';
  border: 3px solid var(--ink); box-shadow: 5px 5px 0 var(--ink);
}
.btn:hover { transform: translate(2px, 2px); box-shadow: 3px 3px 0 var(--ink); }
.btn-secondary { background: #fff; color: var(--ink); }

.polaroid-row { display: flex; justify-content: center; gap: 22px; margin-top: 44px; flex-wrap: wrap; }
.polaroid { background: #fff; padding: 10px 10px 26px; box-shadow: 0 12px 24px rgba(43,38,32,0.22); width: 190px; }
.polaroid img { border-radius: 4px; height: 220px; object-fit: cover; }
.polaroid:nth-child(1) { transform: rotate(-6deg); }
.polaroid:nth-child(2) { transform: rotate(3deg); margin-top: -10px; }
.polaroid:nth-child(3) { transform: rotate(-3deg); }
.polaroid .cap { font-family: 'Caveat'; font-size: 1.2rem; text-align: center; margin-top: 8px; color: var(--pink); font-weight: 700; }

.specs-strip {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 28px auto 0; max-width: 900px;
}
.specs-strip span {
  background: #fff; border: 2px solid var(--ink); border-radius: 999px; padding: 6px 16px; font-size: 0.85rem; font-weight: 800;
}

section { padding: 64px 0; }
section h2 {
  font-size: clamp(1.7rem, 3.8vw, 2.4rem); margin: 0 0 8px; text-align: center; position: relative; display: inline-block;
}
.section-head { text-align: center; margin-bottom: 40px; }
.section-head .sticker-tag {
  display: inline-block; background: var(--gold); color: var(--ink); font-family: 'Caveat'; font-weight: 700;
  font-size: 1.3rem; padding: 4px 18px; border-radius: 8px; transform: rotate(-3deg); margin-bottom: 10px;
  border: 2px solid var(--ink);
}
section p.section-intro { max-width: 640px; margin: 12px auto 0; text-align: center; font-weight: 700; }

.design-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 36px; padding-top: 10px; }
.design-card {
  background: #fff; border: 3px solid var(--ink); border-radius: 18px; overflow: hidden;
  box-shadow: 7px 7px 0 var(--pink-hot); position: relative;
}
.design-card:nth-child(2) { box-shadow: 7px 7px 0 var(--teal); }
.design-card:nth-child(3) { box-shadow: 7px 7px 0 var(--gold); }
.design-card .photos { display: grid; grid-template-columns: 1fr 1fr; }
.design-card img { border-radius: 0; height: 220px; object-fit: cover; }
.design-card .info { padding: 18px 20px; }
.design-card .rank {
  position: absolute; top: -10px; left: 16px; background: var(--ink); color: #fff; font-family: 'Caveat';
  font-weight: 700; font-size: 1.15rem; padding: 4px 16px; border-radius: 999px; transform: rotate(-4deg); z-index: 2;
}
.design-card h3 { margin: 6px 0 6px; font-size: 1.15rem; }
.design-card p { margin: 0; font-weight: 700; font-size: 0.92rem; }

.case-photo-block { display: grid; grid-template-columns: 340px 1fr; gap: 40px; align-items: center; }
.case-photo-block .polaroid { width: auto; margin: 0 auto; transform: rotate(-3deg); }
.case-photo-block .polaroid img { height: auto; }
@media (max-width: 760px) { .case-photo-block { grid-template-columns: 1fr; } }

.why-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; }
.why-list .item {
  background: #fff; border-radius: 16px; padding: 20px 22px; border: 3px solid var(--ink);
  box-shadow: 5px 5px 0 var(--teal);
}
.why-list .item:nth-child(even) { box-shadow: 5px 5px 0 var(--gold); }
.why-list .item h3 { margin: 0 0 8px; font-size: 1.1rem; color: var(--pink-hot); }
.why-list .item h3 a {
  color: inherit; text-decoration: underline; text-decoration-thickness: 2px;
  text-underline-offset: 3px; text-decoration-color: var(--pink-hot);
}
.why-list .item h3 a::after { content: " \2192"; text-decoration: none; display: inline-block; }
.why-list .item h3 a:hover { color: var(--teal); text-decoration-color: var(--teal); }
.why-list .item p { margin: 0; font-weight: 700; font-size: 0.94rem; }

.review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; }
.review-card {
  background: #fff; border-radius: 16px; padding: 22px 24px; border: 3px solid var(--ink);
  box-shadow: 5px 5px 0 var(--pink-hot); transform: rotate(-1deg);
}
.review-card:nth-child(even) { transform: rotate(1deg); box-shadow: 5px 5px 0 var(--teal); }
.review-card .stars { color: var(--gold); font-size: 1.1rem; margin-bottom: 8px; }
.review-card p { margin: 0 0 10px; font-weight: 700; font-size: 0.96rem; }
.review-card .who { font-family: 'Caveat'; font-size: 1.2rem; color: var(--pink-hot); font-weight: 700; }
.rating-banner {
  text-align: center; font-family: 'Baloo 2'; font-weight: 800; font-size: 1.7rem; color: var(--pink-hot);
  margin-bottom: 36px; text-shadow: 2px 2px 0 var(--gold);
}

details.faq {
  background: #fff; border: 3px solid var(--ink); border-radius: 14px; padding: 16px 22px; margin-bottom: 14px;
  box-shadow: 4px 4px 0 var(--pink-light);
}
details.faq summary { font-weight: 800; cursor: pointer; font-size: 1.02rem; font-family: 'Baloo 2'; }
details.faq p { margin: 10px 0 0; font-weight: 600; }

.about-block {
  display: grid; grid-template-columns: 160px 1fr; gap: 32px; align-items: center; background: #fff;
  border-radius: 20px; padding: 32px; border: 3px solid var(--ink); box-shadow: 8px 8px 0 var(--gold);
}
.about-block img { border-radius: 50%; border: 4px solid var(--pink-hot); }
@media (max-width: 600px) { .about-block { grid-template-columns: 1fr; text-align: center; } .about-block img { margin: 0 auto; width: 110px; } }

.cta-band { text-align: center; background: var(--pink-hot); color: #fff; padding: 64px 0; position: relative; overflow: hidden; }
.cta-band h2 { color: #fff; font-family: 'Baloo 2'; text-shadow: 3px 3px 0 var(--pink-deep, #b5205f); }
.cta-band .btn { background: #fff; color: var(--pink-hot); }

footer.site-footer { background: var(--ink); color: #f0d9e5; padding: 32px 0; text-align: center; font-size: 0.9rem; font-weight: 700; }
footer.site-footer a { color: #fff; }

.breadcrumb { font-size: 0.88rem; font-weight: 800; padding: 16px 0 0; }
.breadcrumb a { color: var(--pink-hot); text-decoration: none; }

.quick-answer-table-wrap { overflow-x: auto; }
table.compat-table {
  width: 100%; border-collapse: separate; border-spacing: 0; background: #fff;
  border: 3px solid var(--ink); border-radius: 14px; overflow: hidden; box-shadow: 6px 6px 0 var(--gold);
}
table.compat-table th, table.compat-table td { padding: 13px 18px; text-align: left; border-bottom: 2px solid var(--border); font-size: 0.95rem; font-weight: 700; }
table.compat-table th { background: var(--pink-hot); color: #fff; font-family: 'Baloo 2'; }
table.compat-table tr:last-child td { border-bottom: none; }
table.compat-table td a { color: var(--teal); font-weight: 800; text-decoration: none; }

.criteria-block {
  background: #fff; border: 3px solid var(--ink); border-radius: 16px; padding: 24px 28px; margin-bottom: 22px;
  box-shadow: 6px 6px 0 var(--teal-light);
}
.criteria-block:nth-child(even) { box-shadow: 6px 6px 0 var(--pink-light); }
.criteria-block h3 { margin: 0 0 10px; font-family: 'Baloo 2'; color: var(--pink-hot); }
.criteria-block p { font-weight: 600; }
.criteria-block blockquote {
  margin: 16px 0 0; padding: 12px 18px; border-left: 4px solid var(--pink-hot); background: var(--pink-light);
  font-weight: 700; border-radius: 0 10px 10px 0;
}
.criteria-block blockquote cite { display: block; margin-top: 4px; font-family: 'Caveat'; font-size: 1.1rem; color: var(--pink-hot); font-style: normal; }

.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li {
  padding: 12px 16px 12px 46px; position: relative; background: #fff; border: 2px solid var(--ink);
  border-radius: 10px; margin-bottom: 10px; font-size: 0.96rem; font-weight: 700;
}
.checklist li::before {
  content: "\2713"; position: absolute; left: 16px; color: #fff; font-weight: 800;
  background: var(--teal); width: 20px; height: 20px; border-radius: 50%; display: flex;
  align-items: center; justify-content: center; font-size: 0.75rem; top: 12px;
}
