/* Category and product pages, version 2 (owner 21/10/2026), in the language of the home page:
   soft tones from the logo for surfaces only, one accent (turquoise) for the shop button, radius 24 / 16 / pill. */
:root { --t-pink: #fde7ef; --t-yellow: #fff3cf; --t-green: #e3f5e5; --t-cyan: #dff4f7; --t-purple: #ece6f6; --t-red: #fde4e1; }
.t-pink { background: var(--t-pink); }
.t-yellow { background: var(--t-yellow); }
.t-green { background: var(--t-green); }
.t-cyan { background: var(--t-cyan); }
.t-purple { background: var(--t-purple); }
.t-red { background: var(--t-red); }
.pk h2 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; letter-spacing: -.01em; }
.crumbs { font-size: 13px; color: var(--muted); padding-top: 14px; }
.crumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* quiet cards (also on the home page) */
.hcard { display: grid; gap: 6px; align-content: start; min-width: 0; scroll-snap-align: start; }
.hpic { aspect-ratio: 1; border-radius: 16px; background: #fff; border: 1px solid var(--rule); display: grid; place-items: center; overflow: hidden; }
.hpic img { width: 86%; height: 86%; object-fit: contain; transition: transform .25s ease; }
@media (prefers-reduced-motion: no-preference) { .hcard:hover .hpic img { transform: scale(1.04); } }
.hname { font-size: 14px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hprice { font-weight: 800; }
.hprice s { color: var(--muted); font-weight: 400; font-size: 13px; }
.hshop { font-size: 12px; color: var(--muted); }
.hrow { margin-top: 16px; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * 14px) / 2.3); gap: 14px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: thin; }
@media (min-width: 900px) { .hrow { grid-auto-columns: calc((100% - 4 * 18px) / 5); gap: 18px; } }
.hgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; }
@media (min-width: 760px) { .hgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 18px; } }
@media (min-width: 1100px) { .hgrid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

/* category page */
.pills-block { padding-block: 18px 6px; display: grid; gap: 10px; }
.pills { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.pills::-webkit-scrollbar { display: none; }
@media (min-width: 900px) { .pills { flex-wrap: wrap; overflow: visible; } }
.pill { flex: none; border: 1.5px solid var(--rule); border-radius: 999px; padding: 8px 14px; font-size: 14px; font-weight: 700; background: #fff; white-space: nowrap; }
.pill:hover { border-color: var(--accent); }
.pill.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.sortline { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: 14px; color: var(--muted); padding-top: 2px; }
.sortline a { color: var(--ink); font-weight: 600; }
.sortline a.on { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }
.sortline .clear { margin-left: auto; color: var(--accent-ink); text-decoration: underline; text-underline-offset: 4px; }
.list { padding-top: 18px; }
.more-btn { display: block; width: max-content; margin: 34px auto 10px; border: 2px solid var(--ink); border-radius: 999px; padding: 12px 28px;
  font-weight: 800; background: #fff; transition: transform .15s ease; }
.more-btn:hover { background: var(--ink); color: #fff; }
.more-btn:active { transform: scale(.98); }
.more-btn.loading { opacity: .5; pointer-events: none; }
.empty { padding: 40px 0; text-align: center; color: var(--muted); }
.empty b { color: var(--ink); }

/* product page */
.pp2 { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; padding-block: 14px 10px; }
@media (min-width: 900px) { .pp2 { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: start; } }
.pp2-pic { border-radius: 24px; padding: 8%; min-width: 0; }
@media (min-width: 900px) { .pp2-pic { position: sticky; top: 64px; } }
/* gallery (owner 21/10): one picture per swipe, thumbnails below */
.gal-track { display: flex; aspect-ratio: 1; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  scrollbar-width: none; background: #fff; border-radius: 16px; box-shadow: 0 10px 30px rgba(30, 60, 70, .10); }
.gal-track::-webkit-scrollbar { display: none; }
/* the picture is pinned inside its slide, so it can never be taller than the frame and move up and down (owner 21/10) */
.gal-s { position: relative; flex: 0 0 100%; margin: 0; scroll-snap-align: center; }
.gal-s img { position: absolute; inset: 6%; width: 88%; height: 88%; object-fit: contain; }
.gal-thumbs { display: flex; gap: 8px; margin-top: 12px; overflow-x: auto; scrollbar-width: none; }
.gal-thumbs::-webkit-scrollbar { display: none; }
.gal-thumbs button:first-child { margin-left: auto; }  /* centred while they fit, scrollable from the first when not */
.gal-thumbs button:last-child { margin-right: auto; }
.gal-thumbs button { flex: none; width: 54px; height: 54px; padding: 4px; background: #fff; border: 2px solid transparent; border-radius: 12px; cursor: pointer; }
.gal-thumbs button.on { border-color: var(--accent); }
.gal-thumbs img { width: 100%; height: 100%; object-fit: contain; }
@media (min-width: 900px) { .gal-thumbs button { width: 64px; height: 64px; } }
.pp2-main .brand { font-size: 14px; font-weight: 700; color: var(--accent-ink); }
.pp2-main h1 { margin: 6px 0 16px; font-size: clamp(24px, 3vw, 34px); font-weight: 800; line-height: 1.2; letter-spacing: -.01em; }
.buy { border: 1.5px solid var(--rule); border-radius: 24px; padding: 18px; }
.buy-price { font-size: 32px; font-weight: 800; line-height: 1.1; }
.buy-price s { font-size: 17px; font-weight: 500; color: var(--muted); }
.buy-shop { color: var(--muted); margin-top: 2px; }
.buy-btn { display: block; text-align: center; margin-top: 14px; background: var(--accent); color: #fff; border-radius: 999px; padding: 15px 20px;
  font-size: 17px; font-weight: 800; transition: transform .15s ease, background .15s ease; }
.buy-btn:hover { background: var(--accent-ink); }
.buy-btn:active { transform: scale(.98); }
.buy-note { margin-top: 10px; font-size: 12px; color: var(--muted); }
.also { margin-top: 12px; border-radius: 16px; background: var(--tint); padding: 6px 14px; }
.also-h { font-size: 13px; color: var(--muted); padding-top: 8px; }
.also-row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; font-weight: 600; }
.also-row + .also-row { border-top: 1px solid var(--rule); }
.also-row b { color: var(--accent-ink); }
.facts { margin-top: 18px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.fact { border-radius: 16px; padding: 12px 14px; display: grid; gap: 2px; }
.fact span { font-size: 12px; color: var(--muted); }
.fact b { font-size: 15px; }
a.fact:hover b { text-decoration: underline; text-underline-offset: 3px; }
.fact-ico { position: relative; padding-right: 66px; }
.fico { position: absolute; right: 8px; top: 0; bottom: 0; margin: auto 0; width: 54px; height: 54px; display: grid; place-items: center; color: #0e7490; }
.fico img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.fico .cico { width: 32px; height: 32px; }
.ptext { margin-top: 22px; font-size: 16px; line-height: 1.65; max-width: 62ch; }
.ptext p { margin-bottom: 12px; }
.ptext ul.pk-know { margin: 0 0 12px; padding: 0; list-style: none; }
.ptext ul.pk-know li { padding-left: 18px; position: relative; margin: 4px 0; }
.ptext ul.pk-know li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.similar { padding-block: 34px; }

/* favourites (owner 21/10): a heart on every card and on the product page, a counter in the header */
.hcard { position: relative; }
.hlink { display: grid; gap: 6px; align-content: start; min-width: 0; }
.fav { position: absolute; top: 8px; right: 8px; width: 38px; height: 38px; border-radius: 999px; border: 0; background: rgba(255, 255, 255, .92);
  box-shadow: 0 2px 8px rgba(30, 60, 70, .14); display: grid; place-items: center; cursor: pointer; color: var(--ink); padding: 0; }
.fav svg { width: 20px; height: 20px; }
.fav .h-on, .fav-top .h-on { display: none; }
.fav[aria-pressed="true"] { color: #e0245e; }
.fav[aria-pressed="true"] .h-on { display: block; }
.fav[aria-pressed="true"] .h-off { display: none; }
.fav:active { transform: scale(.92); }
.fav-label { position: static; width: auto; height: auto; padding: 8px 14px; gap: 8px; display: inline-flex; align-items: center;
  box-shadow: none; border: 1.5px solid var(--rule); font: 700 14px var(--font); background: #fff; }
.fav-label[aria-pressed="true"] { border-color: #e0245e; }
.pp2-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.fav-tools { padding-top: 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.share-btn { font: 800 15px var(--font); background: var(--accent); color: #fff; border: 0; border-radius: 999px; padding: 11px 20px; cursor: pointer; }
.share-btn:hover { background: var(--accent-ink); }
.share-ok { color: var(--accent-ink); font-weight: 600; }

/* series inside a brand (LEGO City, Playmobil Novelmore...), owner 21/10 */
.series { margin-top: 16px; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.series::-webkit-scrollbar { display: none; }
@media (min-width: 900px) { .series { flex-wrap: wrap; overflow: visible; } }
.ser { flex: none; background: var(--tint); border-radius: 999px; padding: 9px 15px; font-weight: 700; font-size: 14px; white-space: nowrap; }
.ser span { color: var(--muted); font-weight: 600; font-size: 12px; margin-left: 2px; }
.ser:hover { background: var(--rule); }
.ser.on { background: var(--ink); color: #fff; }
.ser.on span { color: rgba(255, 255, 255, .7); }

/* filters swap the list in place (pk.js): a soft fade while the new toys load */
#main.busy .list, #main.busy .pb-cta.count { opacity: .45; transition: opacity .15s ease; pointer-events: none; }

/* heroes / brands / kinds pills inside a category (owner 21/10) */
.pills.facet { align-items: center; }
.facet-l { flex: none; font-size: 12px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-right: 2px; }

/* the shop's own discount on the card */
.hpic { position: relative; }
.off { position: absolute; left: 8px; top: 8px; background: #e0245e; color: #fff; font-size: 12px; font-weight: 800; border-radius: 999px; padding: 3px 8px; }

/* ---------- photo banner (owner 21/10, from the mock-ups): the photo fills the card and fades into the soft tone on the
   left, where a navy title, a short line and a white pill button sit. Used by the home banners and the list page headers. */
:root { --navy: #17284a; }
.pbanner { position: relative; display: block; overflow: hidden; isolation: isolate; border-radius: 24px; min-height: 176px; color: var(--navy); }
@media (min-width: 900px) { .pbanner { min-height: 240px; } }
.pbanner.t-yellow { background: linear-gradient(100deg, #fff6d9 0%, #ffe9a8 100%); }
.pbanner.t-cyan { background: linear-gradient(100deg, #e4f6f9 0%, #c3eaf1 100%); }
.pbanner.t-pink { background: linear-gradient(100deg, #fdebf2 0%, #f9cfe0 100%); }
.pbanner.t-green { background: linear-gradient(100deg, #e8f7ea 0%, #c8ecce 100%); }
.pbanner.t-purple { background: linear-gradient(100deg, #f0ebf9 0%, #ddd1f3 100%); }
.pbanner.t-red { background: linear-gradient(100deg, #feeceb 0%, #fbd0cc 100%); }
.pb-photo { position: absolute; z-index: -1; top: 0; right: 0; width: 64%; height: 100%; object-fit: cover; object-position: 60% 40%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 38%); mask-image: linear-gradient(90deg, transparent 0, #000 38%); }
.pb-text { position: relative; display: grid; align-content: center; justify-items: start; gap: 6px; min-height: inherit;
  max-width: 56%; padding: 22px 0 22px 22px; }
@media (min-width: 900px) { .pb-text { max-width: 48%; padding: 32px 0 32px 36px; gap: 8px; } }
.pb-text h1, .pb-text h2, .pb-text b.pb-t { font-size: clamp(22px, 2.6vw, 34px); font-weight: 800; line-height: 1.1; letter-spacing: -.015em; color: var(--navy); }
.pb-text p { font-size: clamp(14px, 1.3vw, 17px); line-height: 1.4; color: #3d4a5f; }
.pb-cta { margin-top: 8px; display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--navy); font-weight: 800;
  font-size: 14px; border-radius: 999px; padding: 10px 16px; box-shadow: 0 4px 14px rgba(23, 40, 74, .10); white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease; }
.pb-cta .cico { width: 16px; height: 16px; }
.pb-cta.count .cico { transform: rotate(90deg); }
@media (prefers-reduced-motion: no-preference) { a.pbanner:hover .pb-cta, .pb-cta:hover { transform: translateX(2px); box-shadow: 0 6px 18px rgba(23, 40, 74, .16); } }
/* without a photo: the category icon and three toys of the list on the right */
.pbanner .art-icon { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); }
.art-icon { width: 118px; height: 98px; }
.art-ico { position: absolute; left: 0; bottom: 0; z-index: 3; width: 62px; height: 62px; border-radius: 50%; background: #fff;
  display: grid; place-items: center; box-shadow: 0 6px 18px rgba(30, 60, 70, .12); }
.art-ico .cico { width: 36px; height: 36px; }
.art-pct { font-size: 34px; font-weight: 800; color: #e0245e; line-height: 1; }
.art-pic { position: absolute; width: 62px; height: 62px; background: #fff; border-radius: 14px; padding: 5px; box-shadow: 0 6px 18px rgba(30, 60, 70, .1); }
.art-pic img { width: 100%; height: 100%; object-fit: contain; }
.ap0 { right: 0; top: 0; transform: rotate(5deg); z-index: 1; }
.ap1 { right: 26px; bottom: 0; transform: rotate(-4deg); z-index: 2; }
.ap2 { left: 22px; top: 0; transform: rotate(-7deg); }
@media (min-width: 900px) {
  .pbanner .art-icon { right: 48px; }
  .art-icon { width: 330px; height: 190px; }
  .art-ico { width: 104px; height: 104px; }
  .art-ico .cico { width: 60px; height: 60px; }
  .art-pct { font-size: 58px; }
  .art-pic { width: 126px; height: 126px; padding: 10px; border-radius: 18px; }
  .ap1 { right: 112px; }
  .ap2 { left: 70px; top: 4px; }
}
/* list page header: crumbs, the banner, then the series */
.arch-top { padding-block: 0 8px; }
.arch-banner { margin-top: 12px; }
.arch-top .series { margin-top: 14px; }
@media (max-width: 899px) {
  .pb-text h1 { font-size: clamp(22px, 6.4vw, 27px); overflow-wrap: break-word; hyphens: auto; }
  .pbanner:not(.has-photo) .pb-text { max-width: 62%; }
}
/* a filter row whose pills all would show nothing disappears (owner 21/10) */
.pills:not(:has(.pill)) { display: none; }

/* «Μάρκες» and «Ήρωες & θέματα» pages (owner 21/10) */
.brands-page { padding-block: 18px 36px; }
.brands-page h2 { font-size: clamp(20px, 2.4vw, 26px); font-weight: 800; color: var(--navy, #17284a); margin: 10px 0 12px; }
.brand-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 900px) { .brand-tiles { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; } }
.brand-tile { display: grid; justify-items: center; gap: 4px; text-align: center; min-width: 0; }
.bt-pic { width: 100%; aspect-ratio: 1; border-radius: 18px; display: grid; place-items: center; overflow: hidden; }
/* real product photos sit on a white card: «melting» them into the colour also eats white toys (owner 21/10) */
.bt-pic img { width: 78%; height: 78%; object-fit: contain; background: #fff; border-radius: 14px; padding: 7%; box-shadow: 0 6px 16px rgba(30, 60, 70, .10); }
.brand-tile b { font-size: 14px; line-height: 1.2; margin-top: 4px; }
.brand-tile small { font-size: 12px; color: var(--muted); }
.az-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 26px; }
.az-filter { flex: 1 1 220px; max-width: 360px; border: 1px solid var(--rule); border-radius: 999px; padding: 10px 16px; font: 15px var(--font); background: var(--tint); }
.az-letters { display: flex; flex-wrap: wrap; gap: 4px; margin: 12px 0 6px; }
.az-letters a { min-width: 32px; text-align: center; padding: 6px 4px; border-radius: 8px; background: var(--tint); font-weight: 800; font-size: 13px; }
.az { columns: 2 160px; column-gap: 24px; }
@media (min-width: 900px) { .az { columns: 4 200px; } }
.az-group { break-inside: avoid; margin-bottom: 14px; scroll-margin-top: 80px; }
.az-group h3 { font-size: 18px; font-weight: 800; color: var(--accent-ink); border-bottom: 1px solid var(--rule); padding-bottom: 4px; margin-bottom: 4px; }
.az-group li { list-style: none; }
.az-group a { display: flex; justify-content: space-between; gap: 8px; padding: 4px 0; font-size: 14px; }
.az-group a span { color: var(--muted); font-size: 12px; }
.az-group a:hover { color: var(--accent-ink); }
.bt-logo { background: #fff; border: 1px solid var(--rule); }
.bt-logo img { width: 76%; height: 60%; object-fit: contain; mix-blend-mode: normal; }
.pbanner .art-logo { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 120px; height: 84px; background: #fff;
  border-radius: 16px; display: grid; place-items: center; padding: 10px; box-shadow: 0 6px 18px rgba(30, 60, 70, .12); }
.art-logo img { width: 100%; height: 100%; object-fit: contain; }
@media (min-width: 900px) { .pbanner .art-logo { right: 48px; width: 260px; height: 150px; padding: 18px; } }
.bt-portrait img { width: 100%; height: 100%; object-fit: cover; padding: 0; background: none; box-shadow: none; border-radius: 0; }
