:root {
    --lav: #f6e6ff; --lav-2: #fbf5ff; --lav-3: #ecd7fb;
    --teal: #6d8e95; --teal-dk: #55737a; --mint: #abd7d6;
    --pink: #ee9ba3; --pink-dk: #d9737d; --yellow: #fce8a3; --gold: #f2cf5c; --sky: #bae8f5;
    --ink: #2a2a2a; --muted: #6f6a75; --line: #e6d6f2; --white: #fff;
    --radius: 18px; --safe-b: env(safe-area-inset-bottom, 0px);
  }
  * { box-sizing: border-box; }
  html, body { margin: 0; }
  body { font: 16px/1.5 Nunito, system-ui, -apple-system, sans-serif; color: var(--ink); background: var(--lav-2); }
  a { color: inherit; }
  img { max-width: 100%; display: block; }
  button { font: inherit; cursor: pointer; border: 0; }
  .serif { font-family: 'DM Serif Display', Georgia, serif; font-weight: 400; }
  .wrap { max-width: 1100px; margin: 0 auto; padding: 0 1rem; }

  /* Header */
  .site-head { position: sticky; top: 0; z-index: 20; background: rgba(251,245,255,.92); backdrop-filter: blur(8px); border-bottom: 3px solid var(--teal); }
  .site-head .wrap { display: flex; align-items: center; gap: .8rem; padding-top: .55rem; padding-bottom: .55rem; }
  .site-head .logo { width: 58px; height: 58px; border-radius: 50%; flex-shrink: 0; }
  .site-head .name { line-height: 1.05; flex: 1; min-width: 0; }
  .site-head .name b { font-family: 'DM Serif Display', Georgia, serif; font-weight: 400; font-size: 1.35rem; display: block; white-space: nowrap; }
  @media (max-width: 560px) {
    .site-head .logo { width: 46px; height: 46px; }
    .site-head .name b { font-size: 1.12rem; }
    .site-head .name span { font-size: .62rem; letter-spacing: .25em; }
    .site-head .back .long { display: none; }
    .basket-btn { padding: .5rem .75rem; font-size: .85rem; }
  }
  .site-head .name span { font-size: .72rem; letter-spacing: .32em; font-weight: 700; color: var(--teal-dk); }
  .site-head .back { font-size: .8rem; color: var(--teal-dk); text-decoration: none; font-weight: 700; white-space: nowrap; }
  .site-head .back .short { display: none; }
  @media (max-width: 560px) { .site-head .back .short { display: inline; } }
  .basket-btn { position: relative; background: var(--teal); color: #fff; border-radius: 999px; padding: .55rem .95rem; font-weight: 800; font-size: .9rem; display: flex; gap: .4rem; align-items: center; }
  .basket-btn .count { background: var(--pink); color: #fff; border-radius: 999px; min-width: 1.35rem; height: 1.35rem; font-size: .75rem; display: inline-flex; align-items: center; justify-content: center; padding: 0 .3rem; }

  /* Hero */
  .hero { background: var(--lav); border-bottom: 1px solid var(--line); }
  .hero .wrap { display: grid; grid-template-columns: 1fr; gap: 1rem; align-items: center; padding-top: 2rem; padding-bottom: 1.6rem; text-align: center; }
  .hero img { width: min(240px, 60vw); margin: 0 auto; border-radius: 50%; box-shadow: 0 10px 30px rgba(109,142,149,.25); }
  .hero h1 { margin: .3rem 0 .2rem; font-size: clamp(2rem, 6vw, 3.2rem); line-height: 1.05; }
  .hero p { margin: 0 auto; max-width: 34rem; color: var(--muted); font-size: 1.05rem; }
  .hearts { display: flex; justify-content: center; gap: .5rem; margin: .9rem 0 0; }
  .hearts svg { width: 22px; height: 22px; }
  .hearts svg:nth-child(odd) { transform: translateY(5px); }
  @media (min-width: 820px) {
    .hero .wrap { grid-template-columns: 260px 1fr; text-align: left; }
    .hero p { margin: 0; }
    .hearts { justify-content: flex-start; }
  }
  .perks { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-top: 1rem; }
  @media (min-width: 820px) { .perks { justify-content: flex-start; } }
  .perk { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .3rem .8rem; font-size: .82rem; font-weight: 700; color: var(--teal-dk); }

  /* Toolbar */
  .toolbar { background: var(--lav-2); padding: .8rem 0 .5rem; }
  .chips { display: flex; gap: .45rem; overflow-x: auto; padding-bottom: .4rem; scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { white-space: nowrap; background: #fff; border: 2px solid var(--line); color: var(--ink); border-radius: 999px; padding: .4rem .9rem; font-weight: 700; font-size: .88rem; }
  .chip.on { background: var(--teal); border-color: var(--teal); color: #fff; }
  .search-row { display: flex; gap: .5rem; margin-top: .4rem; }
  .search-row input, .search-row select { font: inherit; padding: .65rem .9rem; border: 2px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); }
  .search-row input { flex: 1; min-width: 0; }
  .search-row input:focus, .search-row select:focus { outline: none; border-color: var(--teal); }

  /* Grid */
  .grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .9rem; padding: .6rem 0 2rem; }
  @media (min-width: 700px) { .grid { grid-template-columns: repeat(3, 1fr); gap: 1.2rem; } }
  @media (min-width: 1000px) { .grid { grid-template-columns: repeat(4, 1fr); } }
  .card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 3px 14px rgba(85,115,122,.10); display: flex; flex-direction: column; text-align: left; padding: 0; color: inherit; transition: transform .15s; text-decoration: none; }
  .card:hover { transform: translateY(-3px); }
  .card .img { aspect-ratio: 1 / 1; background: var(--lav); position: relative; }
  .card .img img { width: 100%; height: 100%; object-fit: cover; }
  .card .tag { position: absolute; left: .5rem; top: .5rem; background: var(--yellow); color: var(--ink); font-size: .68rem; font-weight: 800; padding: .15rem .5rem; border-radius: 999px; }
  .card .body { padding: .7rem .8rem .9rem; display: flex; flex-direction: column; gap: .3rem; flex: 1; }
  .card .t { font-weight: 700; font-size: .92rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .card .p { font-weight: 800; color: var(--teal-dk); margin-top: auto; font-size: 1.05rem; }
  .empty, .loading { text-align: center; color: var(--muted); padding: 3rem 1rem; }
  .skeleton { background: linear-gradient(90deg, var(--lav) 25%, var(--lav-3) 50%, var(--lav) 75%); background-size: 200% 100%; animation: sk 1.2s infinite; border-radius: var(--radius); aspect-ratio: 3 / 4; }
  @keyframes sk { to { background-position: -200% 0; } }

  /* Product view */
  .overlay { position: fixed; inset: 0; background: rgba(42,42,42,.45); z-index: 40; display: none; }
  .overlay.open { display: block; }
  .sheet { position: fixed; z-index: 50; background: #fff; overflow-y: auto; -webkit-overflow-scrolling: touch; display: none;
    inset: auto 0 0 0; max-height: 92vh; border-radius: 22px 22px 0 0; padding-bottom: calc(1rem + var(--safe-b)); }
  .sheet.open { display: block; }
  @media (min-width: 820px) { .sheet { inset: 5vh auto auto 50%; transform: translateX(-50%); width: min(980px, 94vw); max-height: 90vh; border-radius: 22px; } }
  .sheet .close { position: sticky; top: .6rem; float: right; margin: .6rem .6rem 0 0; z-index: 2; background: var(--lav); color: var(--ink); border-radius: 999px; width: 2.4rem; height: 2.4rem; font-size: 1.2rem; font-weight: 800; }
  .pv { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; padding: 0 1rem 1rem; clear: both; }
  @media (min-width: 820px) { .pv { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 1.6rem; padding: 0 1.6rem 1.6rem; } }
  .pv > * { min-width: 0; }
  .sheet { overflow-x: hidden; }
  .gallery .main { aspect-ratio: 1 / 1; background: var(--lav); border-radius: 16px; overflow: hidden; display: flex; scroll-snap-type: x mandatory; overflow-x: auto; scrollbar-width: none; }
  .gallery .main::-webkit-scrollbar { display: none; }
  .gallery .main img { width: 100%; height: 100%; object-fit: cover; flex: 0 0 100%; scroll-snap-align: center; }
  .gallery .thumbs { display: flex; gap: .4rem; margin-top: .5rem; overflow-x: auto; }
  .gallery .thumbs button { padding: 0; border-radius: 10px; overflow: hidden; border: 2px solid transparent; flex: 0 0 56px; height: 56px; background: var(--lav); }
  .gallery .thumbs button.on { border-color: var(--teal); }
  .gallery .thumbs img { width: 100%; height: 100%; object-fit: cover; }
  .pv h2 { margin: .2rem 0 .3rem; font-size: 1.6rem; line-height: 1.15; }
  .ship { margin: .5rem 0 .2rem; font-weight: 700; color: var(--teal-dk); font-size: .95rem; }
  .ship span { display: block; font-weight: 600; color: #6b6b6b; font-size: .85rem; }
  .drawer .tot.sub { font-size: .92rem; font-weight: 600; opacity: .85; margin-bottom: .25rem; }
  .ship-pick { width: 100%; margin: .2rem 0 .4rem; padding: .5rem; border-radius: 10px; border: 1.5px solid var(--lav-2, #e6d2f5); font: inherit; }
  .pv .price { font-size: 1.6rem; font-weight: 800; color: var(--teal-dk); }
  .pv .stock { font-size: .85rem; color: var(--muted); }
  .badges { display: flex; flex-wrap: wrap; gap: .35rem; margin: .5rem 0; }
  .badge { font-size: .75rem; font-weight: 800; padding: .2rem .6rem; border-radius: 999px; background: var(--mint); color: var(--teal-dk); }
  .badge.pink { background: #fde3e6; color: var(--pink-dk); }
  .badge.yellow { background: var(--yellow); color: #7a5d0b; }
  select.opt { width: 100%; padding: .7rem .8rem; border-radius: 12px; border: 1.5px solid #e6d2f5; font: inherit; background: #fff; }
  label.fld { display: block; font-weight: 700; font-size: .9rem; margin: .8rem 0 .3rem; }
  .hint { font-size: .82rem; color: var(--muted); white-space: pre-line; margin-bottom: .35rem; }
  textarea, .qty input { font: inherit; width: 100%; padding: .65rem .8rem; border: 2px solid var(--line); border-radius: 12px; color: var(--ink); }
  textarea:focus, .qty input:focus { outline: none; border-color: var(--teal); }
  .qty { display: flex; align-items: center; gap: .5rem; margin-top: .6rem; }
  .qty button { width: 2.4rem; height: 2.4rem; border-radius: 10px; background: var(--lav); font-weight: 800; font-size: 1.1rem; }
  .qty input { width: 4rem; text-align: center; }
  .btn { display: block; width: 100%; text-align: center; padding: .9rem 1rem; border-radius: 14px; font-weight: 800; font-size: 1rem; text-decoration: none; margin-top: .7rem; }
  .btn.primary { background: var(--pink); color: #fff; box-shadow: 0 4px 0 var(--pink-dk); }
  .btn.primary:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--pink-dk); }
  .btn.teal { background: var(--teal); color: #fff; }
  .btn.ghost { background: #fff; color: var(--teal-dk); border: 2px solid var(--line); }
  .btn[disabled] { opacity: .55; cursor: not-allowed; }
  .desc { white-space: pre-line; font-size: .95rem; color: #3d3a40; border-top: 1px solid var(--line); margin-top: 1rem; padding-top: .8rem; }
  .err { color: var(--pink-dk); font-size: .85rem; font-weight: 700; min-height: 1.1em; }

  /* Basket */
  .drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100vw); background: #fff; z-index: 60; transform: translateX(100%); transition: transform .25s; display: flex; flex-direction: column; }
  .drawer.open { transform: none; box-shadow: -10px 0 30px rgba(0,0,0,.15); }
  .drawer header { display: flex; align-items: center; justify-content: space-between; padding: 1rem; border-bottom: 3px solid var(--teal); background: var(--lav); }
  .drawer header h3 { margin: 0; font-size: 1.4rem; }
  .drawer .items { flex: 1; overflow-y: auto; padding: .5rem 1rem; }
  .line { display: flex; gap: .7rem; padding: .7rem 0; border-bottom: 1px solid var(--line); }
  .line img { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; background: var(--lav); flex-shrink: 0; }
  .line .grow { flex: 1; min-width: 0; font-size: .9rem; }
  .line .grow b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .line .pers { font-size: .8rem; color: var(--muted); white-space: pre-line; }
  .line .ctrl { display: flex; align-items: center; gap: .4rem; margin-top: .3rem; }
  .line .ctrl button { background: var(--lav); border-radius: 8px; width: 1.8rem; height: 1.8rem; font-weight: 800; }
  .line .rm { background: none !important; color: var(--pink-dk); font-size: .8rem; width: auto !important; font-weight: 700; }
  .drawer footer { padding: 1rem; padding-bottom: calc(1rem + var(--safe-b)); border-top: 1px solid var(--line); background: var(--lav-2); }
  .tot { display: flex; justify-content: space-between; font-weight: 800; font-size: 1.1rem; }
  .small { font-size: .8rem; color: var(--muted); }

  /* Footer */
  .site-foot { background: var(--teal); color: #fff; margin-top: 2rem; }
  .site-foot .wrap { padding-top: 1.6rem; padding-bottom: calc(1.6rem + var(--safe-b)); display: grid; gap: .8rem; text-align: center; }
  .site-foot a { color: #fff; font-weight: 700; }
  .site-foot .legal { font-size: .75rem; opacity: .85; }
  .toast { position: fixed; left: 50%; bottom: calc(1.2rem + var(--safe-b)); transform: translateX(-50%); background: var(--ink); color: #fff; padding: .7rem 1.1rem; border-radius: 999px; z-index: 80; font-weight: 700; display: none; }

.thanks { position: fixed; inset: 0; background: rgba(42,42,42,.45); z-index: 90; display: flex; align-items: center; justify-content: center; padding: 1rem; }
.thanks-card { background: #fff; border-radius: 22px; padding: 1.6rem 1.4rem; max-width: 420px; text-align: center; box-shadow: 0 10px 40px rgba(0,0,0,.2); }
.thanks-card h2 { color: var(--teal-dk); margin: 0 0 .5rem; font-size: 2rem; }

/* Product pages and info pages (server-rendered for Google) */
.seo-page { padding-top: 1rem; padding-bottom: 1rem; }
.seo-page .crumbs { font-size: .82rem; color: var(--muted); margin-bottom: .8rem; }
.seo-page .crumbs a { color: var(--teal-dk); font-weight: 700; text-decoration: none; }
.seo-page .pv { padding: 0; background: #fff; border-radius: 22px; padding: 1rem; box-shadow: 0 3px 14px rgba(85,115,122,.10); }
@media (min-width: 820px) { .seo-page .pv { padding: 1.6rem; } }
.seo-page h1 { font-size: 1.7rem; line-height: 1.2; margin: .2rem 0 .4rem; }
.seo-page .opts-list { font-size: .9rem; background: var(--lav-2); border-radius: 12px; padding: .5rem .8rem; margin: .6rem 0; }
.seo-page .opts-list p { margin: .25rem 0; }
.seo-page .more { margin-top: 2rem; }
.seo-page .more h2 { font-size: 1.5rem; margin-bottom: .6rem; }
.seo-page .card { text-decoration: none; }
.seo-page .card .img img { width: 100%; height: 100%; object-fit: cover; }
.info-page { max-width: 820px; }
.info-page section { background: #fff; border-radius: 20px; padding: 1.1rem 1.2rem; margin: 1rem 0; box-shadow: 0 3px 14px rgba(85,115,122,.08); }
.info-page h1 { font-size: 2rem; }
.info-page h2 { font-family: 'DM Serif Display', Georgia, serif; font-weight: 400; font-size: 1.45rem; color: var(--teal-dk); margin: .2rem 0 .6rem; }
.info-page h3 { font-size: 1.02rem; margin: 1rem 0 .3rem; }
.info-page p, .info-page li { line-height: 1.6; }
.info-page .toc { display: flex; flex-wrap: wrap; gap: .4rem; }
.info-page .toc a { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .3rem .8rem; font-weight: 700; font-size: .85rem; color: var(--teal-dk); text-decoration: none; }
.seo-intro { padding: 1rem 0 2rem; }
.seo-intro .cols { display: grid; gap: 1rem; }
@media (min-width: 820px) { .seo-intro .cols { grid-template-columns: 1fr 1fr; } }
.seo-intro h2 { font-family: 'DM Serif Display', Georgia, serif; font-weight: 400; color: var(--teal-dk); font-size: 1.5rem; margin: .4rem 0; }
.seo-intro details { background: #fff; border-radius: 14px; padding: .7rem .9rem; margin: .4rem 0; border: 1px solid var(--line); }
.seo-intro summary { font-weight: 800; cursor: pointer; }

.choice-note { background: #fff6e0; border-left: 3px solid #e7a33b; border-radius: 8px; padding: .5rem .7rem; font-size: .88rem; margin: .2rem 0 .5rem; }

.card .img img.nophoto { object-fit: contain; padding: 18%; opacity: .5; }

/* Reviews */
.stars { letter-spacing: 1px; white-space: nowrap; }
.stars .st { color: #e6dcc8; }
.stars .st.on { color: #e0a93b; }
.rv-mini { display: block; font-size: .8rem; margin: .15rem 0 .05rem; }
.rv-mini small { color: var(--muted); }
.rv-line { display: inline-block; margin: .1rem 0 .3rem; font-size: .9rem; font-weight: 700; color: var(--ink); text-decoration: none; }
.reviews-band { background: #fff; border-bottom: 1px solid var(--line); padding: 1.4rem 0 1.2rem; }
.rv-head h2 { font-size: 1.6rem; margin: 0 0 .25rem; color: var(--teal-dk); }
.rv-avg { font-size: .95rem; color: var(--muted); }
.rv-avg b { color: var(--ink); }
.rv-strip { display: flex; gap: .8rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: .9rem 0 .5rem; scrollbar-width: none; }
.rv-strip::-webkit-scrollbar { display: none; }
.rv-card { flex: 0 0 min(78%, 300px); scroll-snap-align: start; margin: 0; background: var(--lav-2); border: 1px solid var(--line); border-radius: 18px; padding: 1rem; display: flex; flex-direction: column; gap: .45rem; }
.rv-card blockquote { margin: 0; font-size: .95rem; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.rv-card figcaption { margin-top: auto; font-size: .78rem; color: var(--muted); }
.rv-card figcaption a { color: var(--teal-dk); font-weight: 700; }
.rv-src { font-size: .72rem; color: var(--muted); }
.pv-reviews { margin-top: 1.2rem; border-top: 1px solid var(--line); padding-top: 1rem; }
.pv-reviews h3 { font-size: 1.3rem; margin: 0 0 .5rem; }
.pv-reviews .rv { padding: .65rem 0; border-bottom: 1px solid var(--line); }
.pv-reviews .rv p { margin: .3rem 0 .2rem; line-height: 1.5; }
.pv-reviews .rv small { color: var(--muted); }
