/* Peasy Crochets — the shop's look (2026-11-14).
   Layout: a friendly storefront — announcement ribbon, a playful hero with toys floating on yarn-colored circles,
   then shelves of products on soft tinted cards, each section framed by a "stitched" dashed rule. */
@font-face { font-family: 'Fredoka'; font-style: normal; font-weight: 500 700; font-display: swap; src: url(/fonts/fredoka-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Fredoka'; font-style: normal; font-weight: 500 700; font-display: swap; src: url(/fonts/fredoka-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Nunito Sans'; font-style: normal; font-weight: 400 900; font-display: swap; src: url(/fonts/nunito-sans-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Nunito Sans'; font-style: normal; font-weight: 400 900; font-display: swap; src: url(/fonts/nunito-sans-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --ink: #2A2340;        /* plum ink: text */
  --ink-2: #5E5675;      /* softer text */
  --paper: #FFFFFF;
  --mist: #F5F3FA;       /* the page between shelves */
  --line: #E4DFEE;
  --berry: #E0446A;      /* buy, hearts */
  --berry-dark: #B92E52;
  --teal: #13806E;       /* links, trust */
  --sun: #FFC93C;        /* badges */
  --mint: #DDF3EA; --peach: #FFE7D8; --lilac: #ECE6FF; --butter: #FFF3C4; --sky: #DDEEFF;
  --display: 'Fredoka', 'Trebuchet MS', 'Segoe UI', system-ui, sans-serif;
  --body: 'Nunito Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --radius: 20px;
  --shadow: 0 1px 2px rgba(42, 35, 64, .06), 0 8px 24px rgba(42, 35, 64, .08);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.6 var(--body); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--berry-dark); }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.15; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(32px, 5.4vw, 56px); font-weight: 600; letter-spacing: -.5px; }
h2 { font-size: clamp(26px, 3.6vw, 38px); font-weight: 600; }
h3 { font-size: 21px; font-weight: 600; }
p { margin: 0; }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 12px; }

/* ---------------------------------------------------------------- ribbon + header */
.ribbon { background: var(--ink); color: #fff; font: 700 14px/1.3 var(--body); text-align: center; padding: 9px 16px; }
.ribbon a { color: var(--sun); }
.site-head { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; gap: 18px; min-height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo svg { width: 42px; height: 42px; flex: none; }
.logo b { font: 700 23px/1 var(--display); letter-spacing: -.2px; }
.logo b span { color: var(--berry); }
.nav { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 800; font-size: 15px; padding: 8px 12px; border-radius: 999px; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--mist); color: var(--ink); }
.nav a.hot { background: #FDE7EC; color: var(--berry-dark); }
.menu-btn { display: none; margin-left: auto; border: 1px solid var(--line); background: #fff; border-radius: 12px; padding: 8px 12px; font: 800 15px var(--body); color: var(--ink); }
@media (max-width: 860px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 10px max(20px, env(safe-area-inset-left, 0px)) 16px; gap: 2px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 14px; }
}

/* ---------------------------------------------------------------- buttons, chips */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 800 17px/1 var(--body); text-decoration: none; border-radius: 999px; padding: 16px 26px; border: 2px solid transparent; cursor: pointer; transition: transform .12s, background .12s; }
.btn:active { transform: translateY(1px); }
.btn-buy { background: var(--berry); color: #fff; box-shadow: 0 6px 16px rgba(224, 68, 106, .32); }
.btn-buy:hover { background: var(--berry-dark); color: #fff; }
.btn-soft { background: #fff; color: var(--ink); border-color: var(--ink); }
.btn-soft:hover { background: var(--ink); color: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; font: 800 13px/1 var(--body); padding: 8px 12px; border-radius: 999px; background: var(--mist); color: var(--ink); text-decoration: none; border: 1px solid transparent; }
a.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.sun { background: var(--butter); } .chip.mint { background: var(--mint); } .chip.lilac { background: var(--lilac); } .chip.peach { background: var(--peach); }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #F2EEFF 0%, #FFF 100%); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 28px; align-items: center; padding-block: 48px 40px; }
.hero h1 em { font-style: normal; color: var(--berry); }
.hero .lead { font-size: 19px; color: var(--ink-2); margin: 16px 0 24px; max-width: 34em; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .proof { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px 18px; font: 700 14px var(--body); color: var(--ink-2); }
.hero .proof span::before { content: "✓"; color: var(--teal); font-weight: 900; margin-right: 6px; }
.shelf { position: relative; aspect-ratio: 1.1; min-width: 0; }
.shelf .bub { position: absolute; border-radius: 50%; display: grid; place-items: center; box-shadow: var(--shadow); overflow: hidden; }
.shelf .bub img { width: 112%; max-width: none; }
.shelf .b1 { width: 52%; left: 24%; top: 18%; background: var(--peach); z-index: 2; }
.shelf .b2 { width: 34%; left: 0; top: 2%; background: var(--mint); }
.shelf .b3 { width: 33%; right: 0; top: 0; background: var(--sky); }
.shelf .b4 { width: 31%; left: 3%; bottom: 0; background: var(--butter); }
.shelf .b5 { width: 33%; right: 2%; bottom: 3%; background: var(--lilac); }
@media (prefers-reduced-motion: no-preference) {
  .shelf .bub { animation: bob 6s ease-in-out infinite; }
  .shelf .b2 { animation-delay: -1.5s; } .shelf .b3 { animation-delay: -3s; } .shelf .b4 { animation-delay: -4.2s; } .shelf .b5 { animation-delay: -2.2s; }
  @keyframes bob { 50% { transform: translateY(-8px); } }
}
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; padding-block: 28px 30px; } .shelf { max-width: 460px; width: 100%; margin: 0 auto; } }

/* ---------------------------------------------------------------- trust strip */
.trust { border-block: 2px dashed var(--line); background: #fff; }
.trust .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding-block: 18px; }
.trust div { display: flex; gap: 12px; align-items: center; font-size: 14.5px; color: var(--ink-2); min-width: 0; }
.trust b { display: block; color: var(--ink); font-size: 15.5px; }
.trust i { flex: none; width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; font-style: normal; font-size: 20px; }
@media (max-width: 860px) { .trust .wrap { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .trust .wrap { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- sections + product grid */
.section { padding-block: 56px; }
.section.tint { background: var(--mist); }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.sec-head p { color: var(--ink-2); margin-top: 6px; max-width: 46em; }
.sec-head .more { font-weight: 800; white-space: nowrap; }
.kicker { font: 800 13px/1 var(--body); letter-spacing: 1.2px; text-transform: uppercase; color: var(--teal); margin-bottom: 10px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 22px; }
.card { position: relative; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s; min-width: 0; }
.card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(42,35,64,.08), 0 16px 36px rgba(42,35,64,.14); }
.card .pic { aspect-ratio: 1; display: grid; place-items: center; background: var(--tint, var(--mist)); position: relative; }
.card .pic img { width: 100%; height: 100%; object-fit: contain; }
.card .pic.flat img { width: 82%; height: 82%; filter: drop-shadow(0 6px 10px rgba(40, 30, 20, .22)); }
.card .tag { position: absolute; top: 12px; left: 12px; font: 800 12px/1 var(--body); background: #fff; color: var(--ink); padding: 6px 10px; border-radius: 999px; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.card .tag.xmas { background: #C62828; color: #fff; }
.card .body { padding: 14px 16px 16px; display: grid; gap: 6px; flex: 1; }
.card h3 { font-size: 18px; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; }
.card .sub { font-size: 13.5px; color: var(--ink-2); }
.card .row { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 6px; }
.price { font: 700 19px/1 var(--display); color: var(--ink); }
.card .langs { font: 800 11px/1 var(--body); color: var(--ink-2); letter-spacing: .6px; }

/* ---------------------------------------------------------------- how it works, inside pages */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { background: #fff; border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); display: grid; gap: 10px; align-content: start; }
.step .n { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font: 700 19px var(--display); background: var(--sun); }
.step p { color: var(--ink-2); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.pages { display: flex; gap: 18px; overflow-x: auto; padding: 6px 4px 18px; scroll-snap-type: x mandatory; }
.pages figure { margin: 0; flex: 0 0 min(260px, 70vw); scroll-snap-align: start; }
.pages img { border-radius: 12px; box-shadow: var(--shadow); border: 1px solid var(--line); background: #fff; }
.pages figcaption { font-size: 13.5px; color: var(--ink-2); margin-top: 8px; font-weight: 700; }

/* ---------------------------------------------------------------- promise band */
.promise { background: var(--ink); color: #fff; border-radius: 28px; padding: 36px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: center; }
.promise h2 { color: #fff; }
.promise p { color: #D9D3EA; margin-top: 10px; }
.promise ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.promise li { background: rgba(255,255,255,.08); border-radius: 14px; padding: 12px 14px; font-weight: 700; }
.promise li b { color: var(--sun); }
@media (max-width: 860px) { .promise { grid-template-columns: 1fr; padding: 26px; } }

/* ---------------------------------------------------------------- FAQ */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { background: #fff; border-radius: 16px; box-shadow: var(--shadow); padding: 4px 18px; }
.faq summary { cursor: pointer; font: 600 18px/1.35 var(--display); padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--berry); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 16px; color: var(--ink-2); }

/* ---------------------------------------------------------------- product page */
.crumbs { font-size: 14px; color: var(--ink-2); padding-block: 16px 4px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: #B8B0CC; }
.crumbs a { color: var(--ink-2); }
.pdp { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; padding-block: 12px 40px; align-items: start; }
.gallery { position: sticky; top: 88px; display: grid; gap: 12px; min-width: 0; }
.gallery .main { border-radius: 24px; background: var(--tint, var(--mist)); aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; }
.gallery .main img { width: 100%; height: 100%; object-fit: contain; }
.gallery .main.page img { width: auto; height: 94%; border-radius: 8px; box-shadow: var(--shadow); background: #fff; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(70px, 1fr)); gap: 8px; }
.thumbs button { border: 2px solid transparent; border-radius: 12px; padding: 0; background: var(--mist); aspect-ratio: 1; overflow: hidden; cursor: pointer; }
.thumbs button[aria-current="true"] { border-color: var(--berry); }
.thumbs img { width: 100%; height: 100%; object-fit: contain; }
.buybox { display: grid; gap: 16px; min-width: 0; }
.buybox h1 { font-size: clamp(30px, 4vw, 44px); }
.buybox .tagline { font-size: 18px; color: var(--ink-2); }
.pricebar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.pricebar .price { font-size: 32px; }
.pricebar .note { font-size: 14px; color: var(--ink-2); font-weight: 700; }
.buy-row { display: grid; gap: 10px; }
.buy-row .btn { width: 100%; font-size: 19px; padding: 19px 26px; }
.reassure { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; font-size: 14px; color: var(--ink-2); font-weight: 700; }
.reassure span::before { content: "✓"; color: var(--teal); margin-right: 6px; font-weight: 900; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.facts div { background: var(--mist); border-radius: 16px; padding: 12px 14px; min-width: 0; }
.facts small { display: block; font: 800 11.5px/1.2 var(--body); letter-spacing: .8px; text-transform: uppercase; color: var(--ink-2); }
.facts b { font: 600 17px/1.25 var(--display); }
.box { background: #fff; border: 2px dashed var(--line); border-radius: 20px; padding: 18px 20px; }
.box h2 { font-size: 22px; margin-bottom: 10px; }
.ticks { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.ticks li { padding-left: 30px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 6px; background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3.2L15 7' fill='none' stroke='%2313806E' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.detail { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; padding-block: 10px 50px; }
.detail .prose { display: grid; gap: 14px; color: var(--ink-2); align-content: start; min-width: 0; }
.detail .prose h2 { color: var(--ink); font-size: 26px; }
.tbl-wrap { overflow-x: auto; }
table.tbl { width: 100%; border-collapse: collapse; font-size: 15px; }
.tbl th, .tbl td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl th { font: 800 12px/1.2 var(--body); letter-spacing: .8px; text-transform: uppercase; color: var(--ink-2); }
.tbl td.n { font-variant-numeric: tabular-nums; white-space: nowrap; }
.sw { display: inline-block; width: 14px; height: 14px; border-radius: 4px; vertical-align: -2px; margin-right: 8px; border: 1px solid rgba(0,0,0,.15); }
@media (max-width: 920px) { .pdp, .detail { grid-template-columns: 1fr; gap: 24px; } .gallery { position: static; } .facts { grid-template-columns: 1fr 1fr; } }
.stickybuy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(42,35,64,.1);
  padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); display: none; align-items: center; gap: 12px; }
.stickybuy .t { flex: 1; min-width: 0; font: 600 15px/1.2 var(--display); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stickybuy .btn { padding: 13px 20px; font-size: 16px; }
.stickybuy.show { display: flex; }
@media (min-width: 921px) { .stickybuy.show { display: none; } }
.pending { display: none; background: var(--butter); border-radius: 14px; padding: 12px 14px; font-weight: 700; font-size: 15px; }
.pending.show { display: block; }

/* ---------------------------------------------------------------- collection page */
.coll-hero { background: var(--tint, var(--lilac)); }
.coll-hero .wrap { padding-block: 34px 30px; display: grid; gap: 12px; }
.coll-hero p { max-width: 50em; color: var(--ink-2); font-size: 17.5px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.filters button { font: 800 14px/1 var(--body); padding: 10px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
[hidden] { display: none !important; } /* the collection filters hide cards with the hidden attribute; .card { display:flex } would otherwise win */
.prose-block { max-width: 820px; display: grid; gap: 14px; color: var(--ink-2); }
.prose-block h2 { color: var(--ink); font-size: 28px; margin-top: 10px; }
.prose-block h3 { color: var(--ink); }
.prose-block ul { margin: 0; padding-left: 22px; display: grid; gap: 6px; }

/* ---------------------------------------------------------------- footer */
.site-foot { background: #221C35; color: #CFC8E3; margin-top: 30px; }
.site-foot .wrap { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 28px; padding-block: 44px 26px; }
.site-foot h3 { color: #fff; font-size: 17px; margin-bottom: 10px; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.site-foot a { color: #CFC8E3; text-decoration: none; }
.site-foot a:hover { color: #fff; text-decoration: underline; }
.site-foot .logo b { color: #fff; }
.site-foot .small { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.12); padding-top: 18px; font-size: 13.5px; color: #A79FC0; }
@media (max-width: 860px) { .site-foot .wrap { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .site-foot .wrap { grid-template-columns: 1fr; } }
.page-pad { padding-block: 34px 50px; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

/* ---------------------------------------------------------------- hearts (saved) + basket */
.head-actions { display: flex; gap: 6px; align-items: center; }
.ha { position: relative; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: var(--ink); background: var(--mist); }
.ha:hover { background: #FDE7EC; color: var(--berry-dark); }
.ha svg, .fav svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.ha .count { position: absolute; top: -3px; right: -3px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: var(--berry); color: #fff; font: 800 11.5px/19px var(--body); text-align: center; box-shadow: 0 0 0 2px #fff; }
@media (max-width: 860px) { .head-actions { margin-left: auto; } .menu-btn { margin-left: 0; } .ha { width: 38px; height: 38px; } }
.fav { position: absolute; top: 10px; right: 10px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255,255,255,.94); color: var(--ink); display: grid; place-items: center; cursor: pointer; box-shadow: 0 1px 4px rgba(0,0,0,.12); transition: transform .12s; }
.fav:hover { transform: scale(1.08); color: var(--berry); }
.fav[aria-pressed="true"] { color: var(--berry); }
.fav[aria-pressed="true"] svg { fill: var(--berry); stroke: var(--berry); }
.fav.big { position: static; width: 58px; height: 58px; flex: none; border: 2px solid var(--ink); box-shadow: none; }
.fav.big svg { width: 26px; height: 26px; }
.add { position: relative; z-index: 2; font: 800 13px/1 var(--body); padding: 9px 12px; border-radius: 999px; border: 1.5px solid var(--ink); background: #fff; color: var(--ink); cursor: pointer; white-space: nowrap; }
.add:hover { background: var(--ink); color: #fff; }
.add .b, .add.in .a { display: none; }
.add.in .b { display: inline; }
.add.in { background: #E7F6EE; border-color: #2E8B57; color: #1F6B41; }
.buy-more { display: flex; gap: 10px; }
.buy-more .add { flex: 1; font-size: 17px; padding: 16px 20px; }
.toast { position: fixed; left: 50%; bottom: 22px; z-index: 60; transform: translate(-50%, 16px); opacity: 0; transition: opacity .2s, transform .2s; background: var(--ink); color: #fff; font-weight: 700; font-size: 15px; padding: 12px 18px; border-radius: 14px; box-shadow: 0 10px 30px rgba(42,35,64,.3); max-width: calc(100vw - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast a { color: #FFC0CF; margin-left: 6px; }
.lead { color: var(--ink-2); margin: 8px 0 20px; }
.page-pad > h1 { font-size: clamp(30px, 4vw, 40px); margin-bottom: 18px; }
.empty { color: var(--ink-2); font-size: 17px; }
.saved-tools { margin-bottom: 18px; }
.basket-page { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
@media (max-width: 860px) { .basket-page { grid-template-columns: 1fr; } }
.lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.lines li { display: grid; grid-template-columns: 88px minmax(0, 1fr) auto auto; gap: 14px; align-items: center; background: #fff; border-radius: 16px; padding: 10px 14px 10px 10px; box-shadow: var(--shadow); }
.lines .th img { width: 88px; height: 88px; object-fit: cover; border-radius: 12px; background: var(--mist); display: block; }
.lines .info { display: grid; gap: 4px; min-width: 0; }
.lines .info a { font: 600 17px/1.25 var(--display); color: var(--ink); text-decoration: none; }
.lines .info small { color: var(--ink-2); font-size: 13px; }
.rm { border: 0; background: none; color: var(--ink-2); font: 700 13px var(--body); cursor: pointer; text-decoration: underline; padding: 6px; }
.rm:hover { color: var(--berry-dark); }
@media (max-width: 560px) { .lines li { grid-template-columns: 64px minmax(0, 1fr) auto; } .lines .th img { width: 64px; height: 64px; } .lines .rm { grid-column: 2 / -1; justify-self: start; padding: 0; } }
.basket-sum { position: sticky; top: 90px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; display: grid; gap: 12px; }
.basket-sum .line { display: flex; justify-content: space-between; color: var(--ink-2); font-weight: 700; }
.basket-sum .total { color: var(--ink); font: 700 22px/1 var(--display); padding-top: 10px; border-top: 1px dashed var(--line); }
.basket-sum .btn { width: 100%; }
.basket-sum .btn:disabled { opacity: .7; cursor: progress; }
.basket-sum .ticks { font-size: 14px; color: var(--ink-2); }
/* multi-buy deal */
.ribbon b { color: #FFC0CF; }
.deal-note { margin: 0; background: var(--mint); border-radius: 14px; padding: 10px 14px; font-size: 15px; color: var(--ink-2); }
.deal-note b { color: #1F6B41; }
.basket-sum .save { color: #1F6B41; }
.deal-hint { margin: 0; background: var(--butter); border-radius: 12px; padding: 10px 12px; font-weight: 700; font-size: 14px; color: var(--ink); }
.deal-hint.ok { background: #E7F6EE; color: #1F6B41; }
.err { background: #FDE7EC; color: var(--berry-dark); border-radius: 12px; padding: 10px 12px; font-weight: 700; font-size: 14px; }
.thanks { max-width: 680px; display: grid; gap: 14px; color: var(--ink-2); font-size: 17px; }
.thanks h1 { color: var(--ink); }
@media (max-width: 420px) { .site-head .wrap { gap: 10px; } .logo { gap: 7px; } .logo svg { width: 36px; height: 36px; } .logo b { font-size: 20px; } .ha { width: 36px; height: 36px; } .menu-btn { padding: 8px 10px; } }
