/* LEM shop — Style A "Cute Pastel Craft Boutique":
   soft pink, vanilla cream, sage green, tiny bows, scalloped edges, rounded cards. */

@font-face { font-family: "Classroom Sans"; src: url("fonts/ClassroomSans-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Classroom Sans"; src: url("fonts/ClassroomSans-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --bg: #FFF8EC;          /* vanilla cream */
  --bg-deep: #F7E9D3;     /* footer */
  --card: #FFFFFF;
  --ink: #4A2E35;         /* warm cocoa: main text */
  --ink-soft: #6E5157;
  --pink: #F6C3CF;
  --pink-soft: #FDE6EB;   /* hero */
  --rose: #B4405F;        /* buttons: white text passes 4.5:1 */
  --rose-deep: #8F2F4A;
  --on-rose: #FFFFFF;
  --sage: #BBD4B1;
  --sage-soft: #E6F0E0;   /* "why" band */
  --sage-deep: #3F6B3B;
  --butter: #FBE3A0;
  --line: #EDD8C6;
  --stitch: #EBB6C3;
  --dot: rgba(180, 64, 95, 0.09);
  --shadow: 0 10px 24px -14px rgba(74, 46, 53, 0.45);
  --radius: 28px;
  --font: "Classroom Sans", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  /* owl */
  --owl-body: #F2B8C6; --owl-belly: #FFF6E6; --owl-wing: #A9CBA0; --owl-eye: #FFFFFF;
  --owl-pupil: #4A2E35; --owl-beak: #F2C04F; --owl-cap: #4A2E35; --owl-bow: #D9667F; --owl-cheek: #F48FA9;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #241A1E;
    --bg-deep: #2E2226;
    --card: #33262B;
    --ink: #FCEFF1;
    --ink-soft: #E0C8CD;
    --pink: #9C5368;
    --pink-soft: #3B2730;
    --rose: #F4A9BF;
    --rose-deep: #F9C7D5;
    --on-rose: #3A1F29;
    --sage: #6E8F68;
    --sage-soft: #27312A;
    --sage-deep: #B5D6AC;
    --butter: #E9C76A;
    --line: #4C3A40;
    --stitch: #6E4655;
    --dot: rgba(244, 169, 191, 0.07);
    --shadow: 0 10px 24px -14px rgba(0, 0, 0, 0.8);
    --owl-cap: #2A1A20;
  }
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 18px/1.55 var(--font);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--rose-deep); text-underline-offset: 3px; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .4em; }
ul { padding: 0; margin: 0; list-style: none; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.center { text-align: center; color: var(--ink-soft); margin: 0 0 20px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--rose); outline-offset: 3px; border-radius: 12px; }

.skip { position: absolute; left: 16px; top: -60px; background: var(--rose); color: var(--on-rose); padding: 12px 18px; border-radius: 999px; z-index: 10; }
.skip:focus { top: 12px; }

.icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon.mid { width: 34px; height: 34px; }
.icon.big { width: 44px; height: 44px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font: 700 18px/1 var(--font); text-decoration: none; cursor: pointer;
  border: 3px solid transparent; transition: transform .15s ease, box-shadow .15s ease;
}
.btn-main, .btn-buy { background: var(--rose); color: var(--on-rose); box-shadow: 0 4px 0 var(--rose-deep); }
.btn-soft { background: var(--card); color: var(--ink); border-color: var(--pink); box-shadow: 0 4px 0 var(--pink); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(2px); box-shadow: none; }
.btn-buy { min-height: 48px; padding: 0 22px; }
.btn-store { background: var(--ink); color: var(--bg); box-shadow: 0 4px 0 var(--rose-deep); min-height: 48px; padding: 0 20px; }
.btn-store .icon { width: 20px; height: 20px; }
.get-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.price-row .get-btns { width: 100%; }

/* ---------- Scalloped edges ---------- */
.scallop-bottom, .scallop-top, .scallop-both { position: relative; }
.scallop-bottom::after, .scallop-both::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -17px; height: 18px; pointer-events: none;
  background: radial-gradient(circle at 18px 0, var(--band) 17px, transparent 17.5px) repeat-x;
  background-size: 36px 18px;
}
.scallop-top::before, .scallop-both::before {
  content: ""; position: absolute; left: 0; right: 0; top: -17px; height: 18px; pointer-events: none;
  background: radial-gradient(circle at 18px 18px, var(--band) 17px, transparent 17.5px) repeat-x;
  background-size: 36px 18px;
}

/* ---------- Header ---------- */
.top { background: var(--bg); border-bottom: 2px dashed var(--stitch); }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding: 10px 0; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 20px; min-height: 56px; }
.brand img { width: 56px; height: 56px; border-radius: 50%; background: var(--card); box-shadow: 0 0 0 3px var(--pink); }
.nav { display: flex; gap: 4px; flex-wrap: wrap; }
.nav a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 16px; border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 700; }
.nav a:hover { background: var(--pink-soft); }

/* ---------- Hero ---------- */
.hero {
  --band: var(--pink-soft);
  background-color: var(--pink-soft);
  background-image: radial-gradient(var(--dot) 2.5px, transparent 3px);
  background-size: 26px 26px;
  padding: 48px 0 40px;
}
.hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 24px; align-items: center; }
.kicker { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 12px; padding: 6px 16px; border-radius: 999px; background: var(--card); color: var(--sage-deep); font-weight: 700; font-size: 16px; box-shadow: var(--shadow); }
.hero h1 { font-size: clamp(36px, 5.4vw, 64px); letter-spacing: -0.5px; }
.lead { font-size: clamp(18px, 2vw, 21px); color: var(--ink-soft); max-width: 34em; margin: 0 0 24px; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 14px; margin: 0; }
.hero-art { position: relative; display: flex; flex-direction: column; align-items: center; }
.owl { width: min(280px, 70vw); height: auto; filter: drop-shadow(0 14px 14px rgba(74, 46, 53, .18)); animation: bob 4s ease-in-out infinite; }
.bubble {
  position: relative; margin: 0 0 10px; padding: 12px 20px; max-width: 280px; text-align: center;
  background: var(--card); border: 3px solid var(--pink); border-radius: 24px; font-weight: 700; color: var(--ink);
}
.bubble::after { content: ""; position: absolute; left: 50%; bottom: -13px; width: 20px; height: 20px; background: var(--card); border: 3px solid var(--pink); border-top: 0; border-left: 0; transform: translateX(-50%) rotate(45deg); }
@keyframes bob { 50% { transform: translateY(-8px) rotate(-1.5deg); } }

.o-body { fill: var(--owl-body); } .o-belly { fill: var(--owl-belly); }
.o-line { stroke: var(--owl-cheek); stroke-width: 3; stroke-linecap: round; }
.o-wing { fill: var(--owl-wing); } .o-eyering { fill: var(--owl-belly); } .o-eye { fill: var(--owl-eye); }
.o-pupil { fill: var(--owl-pupil); } .o-shine { fill: #fff; } .o-cheek { fill: var(--owl-cheek); opacity: .7; }
.o-beak { fill: var(--owl-beak); stroke: var(--owl-beak); stroke-width: 3; stroke-linejoin: round; }
.o-feet { fill: none; stroke: var(--owl-beak); stroke-width: 5; stroke-linecap: round; }
.o-cap { fill: var(--owl-cap); } .o-tassel { stroke: var(--owl-beak); stroke-width: 4; stroke-linecap: round; } .o-tasselend { fill: var(--owl-beak); }
.o-bow { fill: var(--owl-bow); }

.trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 14px; margin-top: 34px; }
.trust li { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; background: var(--card); border-radius: 999px; font-weight: 700; font-size: 16px; box-shadow: var(--shadow); }
.trust .icon { color: var(--rose); }

/* ---------- Section titles: a little ribbon ---------- */
.title-ribbon {
  display: table; margin: 0 auto 10px; padding: 10px 46px 12px;
  font-size: clamp(26px, 3.4vw, 36px); text-align: center;
  background: var(--pink); color: var(--ink);
  clip-path: polygon(0 0, 100% 0, calc(100% - 22px) 50%, 100% 100%, 0 100%, 22px 50%);
}

/* ---------- Shop ---------- */
.shop { padding: 72px 0 64px; }
.tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 20px; margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.chip {
  min-height: 48px; padding: 0 20px; border-radius: 999px; cursor: pointer;
  font: 700 17px/1 var(--font); color: var(--ink); background: var(--card); border: 3px solid var(--pink);
}
.chip:hover { background: var(--pink-soft); }
.chip[aria-pressed="true"] { background: var(--rose); border-color: var(--rose); color: var(--on-rose); }
.chip[aria-pressed="true"]::before { content: "✓ "; }
.search { position: relative; display: flex; align-items: center; }
.search .icon { position: absolute; left: 16px; color: var(--ink-soft); }
.search input {
  width: min(340px, 100vw - 32px); min-height: 52px; padding: 0 18px 0 48px; border-radius: 999px;
  font: 17px var(--font); color: var(--ink); background: var(--card); border: 3px solid var(--line);
}
.search input::placeholder { color: var(--ink-soft); }
.search input:focus { border-color: var(--rose); outline: none; }
.count { text-align: center; color: var(--ink-soft); font-size: 16px; margin: 6px 0 22px; }
.none { text-align: center; font-weight: 700; padding: 30px; background: var(--card); border-radius: var(--radius); border: 3px dashed var(--stitch); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 28px; }
.card {
  display: flex; flex-direction: column;
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow);
  border: 3px solid var(--pink-soft);
  outline: 2px dashed var(--stitch); outline-offset: -11px;
  padding: 14px; transition: transform .2s ease;
}
.card:hover { transform: rotate(-.8deg) translateY(-4px); }
.card:nth-child(even):hover { transform: rotate(.8deg) translateY(-4px); }
.card-pic { position: relative; }
.card-pic img { aspect-ratio: 1; object-fit: cover; width: 100%; border-radius: 20px; background: var(--pink-soft); }
.badges { position: absolute; right: 10px; bottom: 10px; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 5px 12px; border-radius: 999px; font-weight: 700; font-size: 15px; box-shadow: var(--shadow); }
.badge .icon { width: 16px; height: 16px; fill: currentColor; }
.badge-new, .badge-sale { background: var(--rose); color: var(--on-rose); }
.badge-bestseller { background: var(--butter); color: #4A2E35; }
.badge-free { background: var(--sage); color: #233D21; }
.bow { position: absolute; left: -16px; top: -18px; width: 66px; transform: rotate(-14deg); filter: drop-shadow(0 3px 2px rgba(74, 46, 53, .25)); }
.b-loop, .b-tail { fill: #E48AA0; } .b-knot { fill: #C95F7B; } .b-crease { stroke: #C95F7B; stroke-width: 2; stroke-linecap: round; }

.card-body { display: flex; flex-direction: column; flex: 1; padding: 16px 8px 4px; }
.pill { align-self: flex-start; margin: 0 0 8px; padding: 3px 12px; border-radius: 999px; font-size: 14px; font-weight: 700; background: var(--pink-soft); color: var(--ink); }
.pill-app { background: var(--sage-soft); color: var(--sage-deep); }
.pill-planner { background: var(--pink); }
.pill-printable, .pill-worksheet { background: #FFF1C9; color: #5A4210; }
.pill-coloring { background: #EDE3FA; color: #4B3474; }
.pill-bundle { background: var(--butter); color: #4A2E35; }
.card-title { font-size: 22px; }
.card-short { margin: 0 0 10px; color: var(--ink-soft); font-size: 17px; }
.facts { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.facts li { font-size: 14px; padding: 2px 10px; border-radius: 8px; background: var(--bg); border: 1px solid var(--line); }
.who { margin: 0 0 12px; font-size: 15px; color: var(--ink-soft); }
.card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 12px; border-top: 2px dashed var(--line); }
.price { margin: 0; font-size: 26px; font-weight: 700; }
.was { font-size: 15px; font-weight: 400; color: var(--ink-soft); }
.soon { display: inline-flex; align-items: center; min-height: 48px; padding: 0 16px; border-radius: 999px; font-weight: 700; color: var(--sage-deep); background: var(--sage-soft); }

/* ---------- Free zone ---------- */
.free-zone { --band: #FFF1C9; background: #FFF1C9; padding: 64px 0; margin: 20px 0 40px; }
.free-zone .title-ribbon { background: var(--butter); display: table; }
.free-zone .title-ribbon .icon { vertical-align: -6px; margin-right: 4px; }
.free-zone .grid { margin-top: 24px; }
.btn-free .icon { width: 22px; height: 22px; }
@media (prefers-color-scheme: dark) {
  .free-zone { --band: #3A3222; background: #3A3222; }
  .free-zone .title-ribbon { color: #3A2A10; }
}

/* Free zone: always-on corner, menu button and page */
.free-corner { padding: 48px 0 0; }
.free-box {
  padding: 22px 24px; border-radius: var(--radius); background: #FFF1C9; border: 3px solid var(--butter);
  outline: 2px dashed #E9C76A; outline-offset: -11px; box-shadow: var(--shadow); color: #4A2E35;
}
.free-head { display: flex; align-items: center; gap: 16px 20px; flex-wrap: wrap; }
.free-head > div { flex: 1 1 260px; }
.free-head h2 { margin: 0 0 2px; font-size: clamp(26px, 3.2vw, 34px); }
.free-head p { margin: 0; color: #6E5157; }
.free-gift { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--card); color: var(--rose); box-shadow: var(--shadow); animation: wiggle 3.5s ease-in-out infinite; }
@keyframes wiggle { 0%, 80%, 100% { transform: rotate(0); } 85% { transform: rotate(-10deg); } 90% { transform: rotate(10deg); } 95% { transform: rotate(-6deg); } }
.free-grid { margin-top: 22px; }
.free-soon { display: flex; align-items: center; gap: 8px; margin: 16px 0 0; font-weight: 700; }
.free-empty { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 50px 0 70px; text-align: center; }
.free-empty .owl { width: 200px; }
.free-empty .bubble::after { display: none; }
.nav-free a { background: var(--butter); color: #4A2E35 !important; gap: 6px; }
.nav-free a:hover { background: #F7D877 !important; }
.nav-free a[aria-current="page"] { background: var(--butter); box-shadow: inset 0 0 0 2px #C99A00; }
.nav-free .icon { width: 20px; height: 20px; }
@media (prefers-color-scheme: dark) {
  .free-box { background: #3A3222; color: var(--ink); outline-color: #6E5A2A; }
  .free-head p { color: var(--ink-soft); }
}
@media (prefers-reduced-motion: reduce) { .free-gift { animation: none; } }

/* ---------- Why ---------- */
.why { --band: var(--sage-soft); background: var(--sage-soft); padding: 64px 0; margin: 20px 0; }
.why .title-ribbon { background: var(--sage); }
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; margin-top: 28px; }
.why-card { background: var(--card); border-radius: var(--radius); padding: 26px; text-align: center; box-shadow: var(--shadow); }
.why-card .icon { color: var(--rose); margin: 0 auto 10px; display: block; }
.why-card h3 { font-size: 22px; }
.why-card p { margin: 0; color: var(--ink-soft); }

/* ---------- Worldwide ---------- */
.world { padding: 64px 0 80px; }
.world-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; margin-top: 28px; }
.world-grid li { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: 22px; background: var(--card); border: 3px solid var(--pink-soft); font-weight: 700; }
.world-grid .icon { color: var(--sage-deep); }

/* ---------- Footer ---------- */
.site-foot { --band: var(--bg-deep); background: var(--bg-deep); padding: 44px 0 24px; margin-top: 20px; font-size: 16px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.foot-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; }
.foot-brand img { width: 48px; height: 48px; border-radius: 50%; background: var(--card); }
.foot-h { font-size: 18px; }
.site-foot p { margin: 0 0 6px; }
.site-foot .copyright { margin: 26px auto 0; padding-top: 16px; border-top: 2px dashed var(--line); color: var(--ink-soft); font-size: 15px; }

/* ---------- Card links and sorting ---------- */
.card-pic { display: block; border-radius: 20px; }
.card-title a { color: inherit; text-decoration: none; }
.card-title a:hover { text-decoration: underline; text-decoration-color: var(--rose); text-decoration-thickness: 3px; }
.card-title a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); } /* whole card is clickable */
.card { position: relative; }
.card-foot .btn { position: relative; z-index: 1; }
.btn-small { min-height: 48px; padding: 0 18px; font-size: 16px; box-shadow: 0 3px 0 var(--pink); }
.count-row { display: flex; align-items: center; justify-content: center; gap: 10px 24px; flex-wrap: wrap; margin: 6px 0 22px; }
.count-row .count { margin: 0; }
.sort { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 16px; }
.sort select {
  min-height: 48px; padding: 0 14px; border-radius: 999px; border: 3px solid var(--line);
  font: 16px var(--font); color: var(--ink); background: var(--card);
}
.sort select:focus { border-color: var(--rose); outline: none; }

/* ---------- Product page ---------- */
.product-band { --band: var(--pink-soft); background: var(--pink-soft); background-image: radial-gradient(var(--dot) 2.5px, transparent 3px); background-size: 26px 26px; padding: 18px 0 44px; }
.crumbs { font-size: 16px; margin-bottom: 18px; color: var(--ink-soft); }
.crumbs a { display: inline-flex; align-items: center; min-height: 48px; font-weight: 700; }
.product-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 36px; align-items: start; }
.viewer {
  position: relative; margin: 0; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden;
  background: var(--card); border: 3px solid var(--pink); outline: 2px dashed var(--stitch); outline-offset: -11px; box-shadow: var(--shadow);
  display: flex; align-items: center; justify-content: center; padding: 16px;
}
.viewer-img, .viewer-video { width: 100%; height: 100%; object-fit: contain; border-radius: 16px; background: var(--card); }
.viewer .badges { right: 18px; bottom: auto; top: 18px; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 10px; margin-top: 14px; }
.thumb { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; border: 3px solid var(--card); background: var(--card); box-shadow: var(--shadow); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb[aria-current="true"] { border-color: var(--rose); }
.thumb[aria-current="true"]::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: var(--rose); box-shadow: 0 0 0 2px var(--card); }
.play { position: absolute; inset: 0; margin: auto; width: 34px; height: 34px; border-radius: 50%; background: var(--rose); box-shadow: 0 0 0 3px var(--card); }
.play::after { content: ""; position: absolute; left: 13px; top: 9px; border-left: 12px solid var(--on-rose); border-top: 8px solid transparent; border-bottom: 8px solid transparent; }

.buybox .pill { display: inline-block; }
.buybox h1 { font-size: clamp(32px, 4vw, 48px); }
.buybox .lead { margin-bottom: 14px; }
.price-row {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px;
  margin: 18px 0 14px; padding: 18px 20px; border-radius: 24px; background: var(--card); box-shadow: var(--shadow);
}
.price-big { font-size: 40px; }
.price-store { font-size: 22px; color: var(--ink-soft); }
.btn-big { min-height: 60px; padding: 0 40px; font-size: 21px; }
.soon-big { min-height: 56px; padding: 0 26px; font-size: 18px; }
.buy-notes { display: grid; gap: 6px; margin-bottom: 16px; font-size: 16px; }
.buy-notes li { display: flex; align-items: center; gap: 8px; }
.buy-notes .icon { color: var(--rose); width: 20px; height: 20px; }
.meta { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.meta div { padding: 8px 16px; border-radius: 16px; background: var(--card); border: 2px solid var(--line); }
.meta dt { font-size: 14px; color: var(--ink-soft); }
.meta dd { margin: 0; font-weight: 700; }

.details { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 36px; padding: 64px 0 40px; }
.about h2, .side h2 { font-size: 26px; }
.about h2:not(:first-child) { margin-top: 30px; }
.about p { max-width: 38em; }
.ticks { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.ticks li { position: relative; padding: 10px 14px 10px 46px; border-radius: 16px; background: var(--card); border: 2px solid var(--pink-soft); }
.ticks li::before {
  content: "✓"; position: absolute; left: 12px; top: 10px; width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 700; font-size: 14px; background: var(--sage); color: #233D21;
}
.side { display: grid; gap: 18px; align-content: start; }
.side-card { padding: 22px; border-radius: var(--radius); background: var(--pink-soft); }
.side-card h2 { display: flex; align-items: center; gap: 10px; font-size: 21px; }
.side-card .icon { color: var(--rose); width: 28px; height: 28px; }
.side-sage { background: var(--sage-soft); }
.side-sage .icon { color: var(--sage-deep); }
.side-butter { background: #FFF3D1; }
.side-card p { margin: 0 0 8px; }
.small { font-size: 15px; color: var(--ink-soft); }
.dots li { position: relative; padding: 4px 0 4px 22px; }
.dots li::before { content: ""; position: absolute; left: 4px; top: 14px; width: 9px; height: 9px; border-radius: 50%; background: var(--rose); }
.more { padding: 30px 0 70px; }
.grid-3 { margin-top: 26px; grid-template-columns: repeat(auto-fit, minmax(260px, 340px)); justify-content: center; }

@media (prefers-color-scheme: dark) {
  .side-butter { background: #3A3222; }
  .ticks li::before { color: #1D2B1B; }
}
@media (max-width: 900px) {
  .product-grid, .details { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .price-row .btn, .price-row .soon { width: 100%; justify-content: center; }
}

/* ---------- Menu ---------- */
.top { position: relative; z-index: 30; }
.menu-btn {
  display: none; align-items: center; gap: 8px; min-height: 48px; padding: 0 18px; border-radius: 999px;
  border: 3px solid var(--pink); background: var(--card); color: var(--ink); font: 700 17px/1 var(--font); cursor: pointer;
}
.site-nav .icon { width: 20px; height: 20px; }
.nav { align-items: center; }
.nav > li { position: relative; display: flex; align-items: center; }
.nav a[aria-current="page"] { background: var(--pink-soft); box-shadow: inset 0 0 0 2px var(--pink); }
.sub-btn {
  display: inline-grid; place-items: center; width: 40px; min-height: 48px; margin-left: -10px; padding: 0;
  border: 0; border-radius: 999px; background: transparent; color: var(--ink); cursor: pointer;
}
.sub-btn .icon { transition: transform .15s; }
.sub-btn[aria-expanded="true"] .icon { transform: rotate(180deg); }
.sub {
  position: absolute; top: 100%; left: 0; min-width: 250px; padding: 10px; margin-top: 4px;
  background: var(--card); border: 3px solid var(--pink); border-radius: 22px; box-shadow: var(--shadow);
  outline: 2px dashed var(--stitch); outline-offset: -9px;
  display: none;
}
.has-sub:hover > .sub, .has-sub:focus-within > .sub, .has-sub.open > .sub { display: block; }
.sub a { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 14px; border-radius: 14px; font-weight: 700; color: var(--ink); text-decoration: none; }
.sub a:hover { background: var(--pink-soft); }
.sub .icon { color: var(--rose); }

@media (max-width: 900px) {
  .top-row { justify-content: space-between; }
  .js .menu-btn { display: inline-flex; }
  .brand { flex: 1 1 0; min-width: 0; font-size: 17px; line-height: 1.2; }
  .brand img { width: 48px; height: 48px; flex: none; }
  .menu-btn { flex: none; }
  .js .site-nav { display: none; width: 100%; }
  .js .top.menu-open .site-nav { display: block; }
  .site-nav .nav { flex-direction: column; align-items: stretch; gap: 2px; padding: 6px 0 12px; }
  .nav > li { display: block; }
  .nav > li > a { width: 100%; }
  .sub-btn { display: none; }
  .sub { position: static; display: block; min-width: 0; margin: 0 0 6px 18px; padding: 4px; border: 0; outline: 0; box-shadow: none; background: transparent; }
  .sub a { min-height: 44px; font-weight: 400; }
}

.nav > li.lang { gap: 2px; margin-left: 6px; padding-left: 10px; border-left: 2px dashed var(--line); }
.nav > li.lang > .icon { color: var(--ink-soft); }
.lang a { min-width: 48px; justify-content: center; padding: 0 10px !important; font-size: 15px; }
.lang-full { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 900px) {
  .nav > li.lang { display: flex; flex-wrap: wrap; align-items: center; margin: 6px 0 0; padding: 8px 0 0 12px; border-left: 0; border-top: 2px dashed var(--line); }
  .nav > li.lang > a { width: auto; font-size: 17px; }
  .lang-short { display: none; }
  .lang-full { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
}

/* Thai: the shop font has Latin letters only; Thai letters come from the
   device's Thai font. Thai needs a little more line height and no tight letters. */
html[lang="th"] { --font: "Classroom Sans", "Leelawadee UI", "Noto Sans Thai", "Thonburi", "Sukhumvit Set", "Tahoma", sans-serif; }
html[lang="th"] body { line-height: 1.75; }
html[lang="th"] h1, html[lang="th"] h2, html[lang="th"] h3 { line-height: 1.4; letter-spacing: 0; }

/* ---------- Inner pages ---------- */
.page-band { --band: var(--pink-soft); background-color: var(--pink-soft); background-image: radial-gradient(var(--dot) 2.5px, transparent 3px); background-size: 26px 26px; padding: 18px 0 36px; }
.page-band h1 { font-size: clamp(34px, 4.6vw, 52px); margin-top: 4px; }
.page-band .lead { margin-bottom: 0; }

/* ---------- Shop by category ---------- */
.cats { padding: 64px 0 0; }
.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-top: 26px; }
.cat-tile {
  display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 22px 14px; text-align: center;
  border-radius: var(--radius); background: var(--card); border: 3px solid var(--pink-soft); box-shadow: var(--shadow);
  color: var(--ink); text-decoration: none; transition: transform .15s;
}
.cat-tile:hover { transform: translateY(-3px); border-color: var(--pink); }
.cat-tile .icon { width: 44px; height: 44px; padding: 10px; box-sizing: content-box; border-radius: 50%; background: var(--pink-soft); color: var(--rose); }
.cat-app .icon, .cat-mobile .icon, .cat-windows .icon, .cat-web .icon { background: var(--sage-soft); color: var(--sage-deep); }
.cat-printable .icon, .cat-worksheet .icon, .cat-bundle .icon { background: #FFF1C9; color: #8A5A00; }
.cat-name { font-weight: 700; font-size: 20px; }
.cat-count { font-size: 15px; color: var(--ink-soft); }
@media (prefers-color-scheme: dark) { .cat-printable .icon, .cat-worksheet .icon, .cat-bundle .icon { background: #3A3222; color: var(--butter); } }

/* ---------- About, Help, Contact ---------- */
.info { padding: 56px 0 70px; }
.info-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 30px; align-items: center; }
.info-text p { font-size: 19px; max-width: 36em; }
.info-owl { display: flex; justify-content: center; }
.info-owl .owl { width: min(240px, 60vw); }
.about-values { margin-top: 40px; }
.faq { display: grid; gap: 12px; max-width: 820px; margin: 0 auto; }
.faq-item { background: var(--card); border: 3px solid var(--pink-soft); border-radius: 22px; padding: 0 22px; }
.faq-item[open] { border-color: var(--pink); }
.faq-item summary { display: flex; align-items: center; min-height: 56px; font-weight: 700; font-size: 19px; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before { content: "+"; flex: none; display: grid; place-items: center; width: 30px; height: 30px; margin-right: 12px; border-radius: 50%; background: var(--pink-soft); color: var(--rose-deep); font-size: 20px; }
.faq-item[open] summary::before { content: "–"; }
.faq-item p { margin: 0 0 18px 42px; color: var(--ink-soft); }
.help-more { margin-top: 28px; font-weight: 700; }
.contact-card { max-width: 620px; margin: 0 auto; padding: 30px; text-align: center; background: var(--card); border-radius: var(--radius); border: 3px solid var(--pink-soft); outline: 2px dashed var(--stitch); outline-offset: -11px; box-shadow: var(--shadow); }
.contact-address { font-weight: 700; }
.btn .icon { width: 22px; height: 22px; }
.foot-links { display: grid; gap: 2px; }
.foot-links a { display: inline-flex; align-items: center; min-height: 36px; }
@media (max-width: 820px) { .info-grid { grid-template-columns: 1fr; } .info-owl { order: -1; } }
@media (prefers-reduced-motion: reduce) { .cat-tile, .sub-btn .icon { transition: none; } .cat-tile:hover { transform: none; } }

/* ---------- Step 4: featured, captions, Try it free, kind words, helper ---------- */
.featured { padding: 64px 0 0; }
.feat-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; margin-top: 26px; }
.feat {
  display: grid; grid-template-columns: 150px 1fr; gap: 18px; align-items: center; padding: 16px;
  background: var(--card); border-radius: var(--radius); border: 3px solid var(--butter); box-shadow: var(--shadow);
  outline: 2px dashed var(--stitch); outline-offset: -11px;
}
.feat-solo .feat { grid-template-columns: minmax(200px, 340px) 1fr; padding: 22px; gap: 30px; }
.feat-solo .feat h3 { font-size: clamp(26px, 3vw, 36px); }
.feat-pic img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 20px; }
.feat h3 { font-size: 22px; margin-bottom: 6px; }
.feat h3 a { color: inherit; text-decoration: none; }
.feat h3 a:hover { text-decoration: underline; text-decoration-color: var(--rose); }
.feat p { margin: 0 0 10px; color: var(--ink-soft); }
.feat .price { color: var(--ink); }
.feat-btns { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 !important; }
.feat .pill { margin-bottom: 6px; display: inline-block; }
.title-ribbon .icon { vertical-align: -6px; margin-right: 4px; }

.viewer-cap { margin: 10px 4px 0; font-weight: 700; color: var(--ink-soft); }
.try-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: -2px 0 14px; }
.btn-try .icon { fill: currentColor; }
.btn .icon.play, .feat-btns .icon { width: 20px; height: 20px; }
.side-maker { background: var(--sage-soft); }
.side-maker .icon { color: var(--sage-deep); }

.reviews { padding: 30px 0 50px; }
.review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 400px)); justify-content: center; gap: 20px; margin-top: 26px; }
.review { position: relative; padding: 26px 24px 20px; background: var(--card); border-radius: var(--radius); border: 3px solid var(--pink-soft); box-shadow: var(--shadow); }
.review::before { content: "“"; position: absolute; left: 18px; top: -14px; font-size: 70px; line-height: 1; color: var(--pink); font-weight: 700; }
.review blockquote { margin: 0; }
.review blockquote p { margin: 0 0 12px; font-size: 18px; }
.review-by { margin: 0; font-weight: 700; }
.review-by span { font-weight: 400; color: var(--ink-soft); }
.review-about { margin: 6px 0 0; font-size: 15px; }

.finder { display: flex; flex-direction: column; align-items: center; gap: 12px; margin: 0 0 18px; }
.finder-panel { width: min(760px, 100%); padding: 18px 22px; background: var(--card); border-radius: var(--radius); border: 3px solid var(--sage); box-shadow: var(--shadow); }
.finder-q { border: 0; margin: 0 0 12px; padding: 0; }
.finder-q legend { font-weight: 700; font-size: 19px; margin-bottom: 6px; }
.finder-opt { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; margin: 0 8px 6px 0; padding: 0 16px; border-radius: 999px; border: 2px solid var(--line); cursor: pointer; }
.finder-opt:has(input:checked) { border-color: var(--rose); background: var(--pink-soft); font-weight: 700; }
.finder-opt input { width: 20px; height: 20px; accent-color: var(--rose); }
.finder-btns { margin: 4px 0 0; }
.finder-result { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; margin: 0; padding: 10px 18px; border-radius: 999px; background: var(--sage-soft); color: var(--sage-deep); font-weight: 700; }
@media (max-width: 600px) {
  .feat, .feat-solo .feat { grid-template-columns: 1fr; }
}

/* ---------- Terms and Privacy ---------- */
.legal { max-width: 780px; margin: 0 auto; }
.legal-updated { color: var(--ink-soft); font-size: 15px; }
.legal-part { margin: 0 0 18px; padding: 18px 24px 8px; background: var(--card); border-radius: 22px; border: 3px solid var(--pink-soft); }
.legal-part h2 { font-size: 22px; }
.legal-part p { margin: 0 0 12px; }

/* ---------- Reviews and stars ---------- */
.stars { position: relative; display: inline-block; color: var(--line); letter-spacing: 2px; font-size: 20px; line-height: 1; white-space: nowrap; }
.stars-fill { position: absolute; left: 0; top: 0; overflow: hidden; color: #E0A100; }
.stars-small { font-size: 18px; margin-bottom: 8px; }
.rating { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 8px; margin: 0 0 10px; font-size: 16px; }
.rating-num { font-weight: 700; }
.reviews > .rating { justify-content: center; font-size: 18px; margin-top: 12px; }
.review-note { margin-top: 16px; }
.review-cta { display: flex; justify-content: center; margin-top: 22px; }
.review-write { width: min(680px, 100%); }
.review-write > summary { list-style: none; margin: 0 auto; display: flex; width: max-content; max-width: 100%; }
.review-write > summary::-webkit-details-marker { display: none; }
.review-write .icon { width: 20px; height: 20px; }
.review-form { margin-top: 16px; padding: 20px 24px; background: var(--card); border-radius: var(--radius); border: 3px solid var(--pink); box-shadow: var(--shadow); }
.review-form h3 { font-size: 22px; }
.star-pick { border: 0; padding: 0; margin: 0 0 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.star-pick legend { font-weight: 700; margin-bottom: 6px; }
.star-opt { display: inline-flex; align-items: center; gap: 6px; min-height: 48px; padding: 0 14px; border-radius: 999px; border: 2px solid var(--line); cursor: pointer; }
.star-opt span { color: #E0A100; letter-spacing: 1px; }
.star-opt:has(input:checked) { border-color: var(--rose); background: var(--pink-soft); font-weight: 700; }
.star-opt input { width: 18px; height: 18px; accent-color: var(--rose); }
.rf { display: block; font-weight: 700; margin-bottom: 12px; }
.rf textarea, .rf input { display: block; width: 100%; margin-top: 4px; min-height: 48px; padding: 10px 14px; border-radius: 14px; border: 2px solid var(--line); background: var(--bg); color: var(--ink); font: 17px/1.4 var(--font); }
.rf textarea:focus, .rf input:focus { outline: 3px solid var(--rose); outline-offset: 1px; }
.rf-two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.rf-check { display: flex; align-items: center; gap: 10px; min-height: 48px; font-weight: 700; }
.rf-check input { width: 22px; height: 22px; accent-color: var(--rose); flex: none; }
.review-error { color: var(--danger, #C2412D); font-weight: 700; }
.card .rating { font-size: 15px; margin-bottom: 8px; }
.card .stars { font-size: 17px; }
@media (max-width: 600px) { .rf-two { grid-template-columns: 1fr; } }

/* ---------- Small screens ---------- */
@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-btns, .kicker { justify-content: center; }
  .lead { margin-inline: auto; }
  .hero-art { order: -1; }
  .owl { width: 190px; }
  .foot-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .title-ribbon { padding-inline: 34px; }
  .btn { width: 100%; }
  .nav a { padding: 0 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .owl { animation: none; }
  .btn, .card { transition: none; }
  .btn:hover, .card:hover, .card:nth-child(even):hover { transform: none; }
}

/* ---------- Made for you (custom orders) ---------- */
.custom-band { margin-top: 40px; margin-bottom: 40px; }
.custom-box { display: flex; align-items: center; gap: 16px 22px; flex-wrap: wrap; padding: 26px 30px; border-radius: var(--radius); background: var(--sage-soft); border: 3px solid var(--card); outline: 2px dashed var(--sage); outline-offset: -11px; box-shadow: var(--shadow); }
.custom-box > div { flex: 1 1 260px; }
.custom-box h2 { margin: 0 0 2px; font-size: clamp(24px, 3vw, 30px); }
.custom-box p { margin: 0; color: var(--ink-soft); }
.custom-icon { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--card); color: var(--sage-deep); box-shadow: var(--shadow); }
.custom-lead { font-size: 20px; max-width: 760px; margin: 0 auto 8px; text-align: center; }
.custom-h { text-align: center; margin: 44px 0 0; font-size: clamp(24px, 3vw, 30px); }
.service-grid { padding: 0; list-style: none; }
.custom-steps { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; }
.custom-steps li { background: var(--card); border-radius: 22px; padding: 20px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 6px; }
.custom-steps b { font-size: 19px; color: var(--rose); }
.custom-steps span { color: var(--ink-soft); }
.custom-ask { margin-top: 44px; }
.custom-ask h2 { margin-top: 0; }
.custom-list { text-align: left; display: inline-block; margin: 0 auto 10px; }
.custom-two { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 0 32px; }
.custom-two .custom-h { text-align: left; font-size: 22px; margin-top: 36px; }
@media (prefers-color-scheme: dark) {
  .custom-box { background: #26332A; outline-color: #4F6B4A; }
  .custom-icon { color: var(--sage); }
}

/* request form on the Made for you page */
.custom-form { text-align: left; margin-top: 16px; }
.custom-form select { display: block; width: 100%; margin-top: 4px; min-height: 48px; padding: 10px 14px; border-radius: 14px; border: 2px solid var(--line); background: var(--bg); color: var(--ink); font: 17px/1.4 var(--font); }
.custom-form select:focus { outline: 3px solid var(--rose); outline-offset: 1px; }
.custom-form .req { color: var(--rose); }
.custom-req-note { font-size: 15px; color: var(--ink-soft); margin: 0 0 10px; }
.custom-form .rf-check { font-weight: 400; align-items: flex-start; margin: 4px 0 8px; }
.custom-form .rf-check input { margin-top: 3px; }
.custom-form button { width: 100%; justify-content: center; }
.custom-or { font-size: 15px; color: var(--ink-soft); margin-top: 14px; }
.custom-ask { max-width: 720px; }
.hp { display: none; }
