/* Nienie — Squishy Stress Toys — Smoko-inspired design */
:root {
  --ink: #303030;
  --ink-soft: #5c5c5c;
  --mint: #4aa889;
  --mint-dark: #3a8a70;
  --peach: #ff8b21;
  --lemon: #ffbb49;
  --pink: #ffc0c0;
  --bg: #ffffff;
  --bg-soft: #faf7f2;
  --line: #ece8e1;
  --price-compare: #8e8e8e;
  --radius: 18px;
  --pill: 30px;
  --font: 'Baloo 2', 'Nunito', 'Segoe UI', sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* Announcement bar */
.announce { background: #111; color: #fff; text-align: center; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 9px 12px; }

/* Header */
.header { position: sticky; top: 0; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); z-index: 50; }
.header-in { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.ham { display: none; background: none; border: none; font-size: 26px; cursor: pointer; color: var(--ink); padding: 4px; line-height: 1; }
.logo { font-size: 26px; font-weight: 800; letter-spacing: .02em; }
.logo span { color: var(--mint); }
.nav { display: flex; gap: 26px; font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.nav a { position: relative; padding: 6px 0; }
.nav a:hover { color: var(--mint); }
.nav a::after { content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--mint); transition: width .25s; }
.nav a:hover::after { width: 100%; }
.hd-actions { display: flex; align-items: center; gap: 16px; font-size: 13px; font-weight: 700; }
.hd-actions .cart { background: #111; color: #fff; padding: 8px 16px; border-radius: var(--pill); font-size: 12px; letter-spacing: .06em; }

/* Hero V3 — scene-driven */
.hero { position: relative; min-height: 600px; display: flex; align-items: center; justify-content: center; overflow: hidden; background: linear-gradient(135deg, #fdf6ec 0%, #f3faf6 45%, #fdf0f4 100%); }
.hero img.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; opacity: 1; }
.hero .veil { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.55) 0%, rgba(255,255,255,.15) 50%, rgba(255,255,255,.05) 100%); }
.hero-content { position: relative; text-align: left; z-index: 2; padding: 60px 24px; max-width: 600px; align-self: flex-start; margin-top: 40px; }
.hero h1 { font-size: clamp(38px, 6vw, 72px); font-weight: 800; line-height: 1.05; letter-spacing: .01em; color: #222; }
.hero h1 .hl { color: var(--peach); }
.hero p { margin-top: 16px; font-size: clamp(15px, 2vw, 19px); color: #444; font-weight: 600; }
.hero-cta { margin-top: 28px; display: flex; gap: 14px; justify-content: flex-start; flex-wrap: wrap; }
@media (max-width: 720px) {
  .hero { min-height: 480px; }
  .hero-content { text-align: center; max-width: 100%; align-self: center; margin-top: 0; }
  .hero-cta { justify-content: center; }
  .hero img.hero-bg { object-position: center 20%; }
  /* Mobile nav */
  .nav { display: none; }
  .hd-actions { display: none; }
  .ham { display: flex; }
  .nav.open { display: flex; flex-direction: column; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(255,255,255,.98); z-index: 99; align-items: center; justify-content: center; gap: 20px; font-size: 22px; }
  .nav.open + .ham { position: fixed; top: 14px; right: 16px; z-index: 100; color: #111; }
  .nav.open a { padding: 12px 0; }
}
.btn { display: inline-block; padding: 14px 34px; border-radius: var(--pill); font-weight: 800; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; transition: all .2s; border: 2px solid transparent; cursor: pointer; }
.btn-dark { background: #111; color: #fff; }
.btn-dark:hover { background: var(--mint); }
.btn-ghost { background: #fff; color: #111; border-color: #111; }
.btn-ghost:hover { border-color: var(--mint); color: var(--mint); }

/* Section headings */
.sec { padding: 64px 0; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 28px; }
.sec-head h2 { font-size: 26px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.sec-head .more { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--mint); border-bottom: 2px solid var(--mint); padding-bottom: 2px; }

/* Filter bar */
.filter-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.f-btn { padding: 8px 20px; border: 2px solid var(--line); border-radius: var(--pill); background: var(--bg); font-family: var(--font); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; cursor: pointer; color: var(--ink-soft); transition: all .2s; }
.f-btn:hover { border-color: var(--mint); color: var(--mint); }
.f-btn.active { background: var(--mint); border-color: var(--mint); color: #fff; }
.sec-head .more:hover { color: var(--peach); border-color: var(--peach); }

/* Marquee promo */
.promo-strip { background: var(--mint); color: #fff; padding: 14px 0; overflow: hidden; }
.promo-strip .track { display: flex; gap: 48px; white-space: nowrap; animation: marquee 22s linear infinite; font-weight: 800; letter-spacing: .1em; font-size: 13px; text-transform: uppercase; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* Product grid */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 1024px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .grid { grid-template-columns: repeat(2, 1fr); } }
.pcard { background: #fff; border-radius: var(--radius); overflow: hidden; transition: box-shadow .25s, transform .25s; border: 1px solid var(--line); }
.pcard:hover { box-shadow: 0 14px 34px rgba(0,0,0,.08); transform: translateY(-3px); }
.pcard .ph { position: relative; aspect-ratio: 1/1; overflow: hidden; background: #f7f5f1; }
.pcard .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.pcard:hover .ph img { transform: scale(1.05); }
.pcard .ph .badge { position: absolute; top: 12px; left: 12px; background: var(--lemon); color: #222; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 5px 10px; border-radius: 20px; }
.pcard .ph .quick { position: absolute; left: 0; right: 0; bottom: 0; background: #111; color: #fff; text-align: center; padding: 11px; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; transform: translateY(102%); transition: transform .3s; }
.pcard:hover .ph .quick { transform: translateY(0); }
.pcard .pb { padding: 14px 16px 18px; }
.pcard .pcat { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--price-compare); }
.pcard .pt { margin: 4px 0 8px; font-size: 15px; font-weight: 700; line-height: 1.35; min-height: 40px; }
.pcard .pt a:hover { color: var(--mint); }
.pcard .pp { display: flex; align-items: baseline; gap: 8px; }
.pcard .pp .now { font-size: 16px; font-weight: 800; }
.pcard .pp .was { font-size: 13px; color: var(--price-compare); text-decoration: line-through; }

/* Carousel */
.scroll-track { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; }
.scroll-track::-webkit-scrollbar { height: 6px; }
.scroll-track::-webkit-scrollbar-thumb { background: var(--line); border-radius: 3px; }
.scroll-track .pcard { flex: 0 0 250px; scroll-snap-align: start; }

/* Collection tiles */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
.tile { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; cursor: pointer; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.tile:hover img { transform: scale(1.06); }
.tile .tl { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.45)); display: flex; align-items: flex-end; padding: 20px; }
.tile .tl span { color: #fff; font-size: 17px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }

/* Double feature */
.double { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.double .half { position: relative; min-height: 380px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.double .half img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.double .half .cap { position: relative; z-index: 2; text-align: center; color: #fff; padding: 24px; }
.double .half .cap h3 { font-size: 30px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; text-shadow: 0 2px 14px rgba(0,0,0,.35); }
.double .half .cap p { margin: 10px 0 18px; font-weight: 600; text-shadow: 0 1px 8px rgba(0,0,0,.4); }

/* Email signup */
.email { background: var(--bg-soft); text-align: center; padding: 70px 24px; }
.email h2 { font-size: 28px; font-weight: 800; }
.email p { margin: 10px 0 26px; color: var(--ink-soft); font-weight: 600; }
.email form { display: flex; gap: 10px; justify-content: center; max-width: 460px; margin: 0 auto; }
.email input { flex: 1; padding: 14px 20px; border: 2px solid var(--line); border-radius: var(--pill); font-family: var(--font); font-size: 14px; outline: none; }
.email input:focus { border-color: var(--mint); }

/* Footer */
.footer { background: #111; color: #cfcfcf; padding: 54px 0 30px; }
.footer-in { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 34px; }
@media (max-width: 900px) { .footer-in { grid-template-columns: 1fr 1fr; } }
.footer h4 { color: #fff; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 16px; }
.footer ul { list-style: none; }
.footer li { margin: 8px 0; font-size: 13px; }
.footer li a:hover { color: var(--mint); }
.footer .brand { font-size: 22px; font-weight: 800; color: #fff; }
.footer .brand span { color: var(--mint); }
.footer .about { margin-top: 12px; font-size: 13px; line-height: 1.7; color: #9a9a9a; }
.footer .bottom { border-top: 1px solid #2a2a2a; margin-top: 40px; padding-top: 20px; text-align: center; font-size: 12px; color: #7a7a7a; }

/* PDP Modal */
.pdp-modal { position: fixed; inset: 0; background: rgba(17,17,17,.55); z-index: 100; display: none; align-items: center; justify-content: center; padding: 20px; backdrop-filter: blur(4px); }
.pdp-modal.open { display: flex; }
.pdp-box { position: relative; background: #fff; border-radius: 22px; max-width: 960px; width: 100%; max-height: 88vh; overflow: auto; padding: 34px; }
.pdp-close { position: absolute; top: 16px; right: 18px; background: none; border: none; font-size: 20px; cursor: pointer; color: #888; z-index: 5; }
.pdp-close:hover { color: #111; }
.pdp-body { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; }
@media (max-width: 800px) { .pdp-body { grid-template-columns: 1fr; } }
.pdp-gallery .pdp-main { width: 100%; border-radius: 14px; background: #f7f5f1; aspect-ratio: 1/1; object-fit: contain; padding: 12px; }
.pdp-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.pdp-thumbs img { width: 74px; height: 74px; object-fit: cover; border-radius: 10px; cursor: pointer; border: 2px solid transparent; transition: border-color .2s; }
.pdp-thumbs img:hover { border-color: var(--mint); }
.pdp-thumbs img.active { border-color: var(--mint-dark); }
.pdp-info h2 { font-size: 26px; font-weight: 800; margin: 8px 0 12px; line-height: 1.2; }
.pdp-info .pp { margin: 10px 0 14px; }
.pdp-info .pp .now { font-size: 26px; }
.pdp-desc { color: var(--ink-soft); line-height: 1.7; font-size: 14px; margin-bottom: 18px; }
.pdp-feats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.pdp-feats span { background: var(--bg-soft); border: 1px solid var(--line); padding: 7px 14px; border-radius: 20px; font-size: 12px; font-weight: 700; color: var(--mint-dark); }
.pdp-meta { margin-top: 16px; font-size: 12px; color: var(--price-compare); }
