/* Vaikų krautuvė: homepage */

/* Hero: full-width colour band with offer slides + thumbnail rail */
.hero { --hero-bg: var(--c-navy); position: relative; overflow: hidden; background: var(--hero-bg); color: var(--c-white); transition: background-color .5s var(--ease); }
.hero[data-bg="navy"] { --hero-bg: #1F2A44; }
.hero[data-bg="tomato"] { --hero-bg: #C9402A; }
.hero[data-bg="sage"] { --hero-bg: #2F6B4C; }
.hero[data-bg="plum"] { --hero-bg: #4A3B66; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 90% at 70% 40%, rgba(255, 255, 255, .14), transparent 70%); pointer-events: none; }
.hero__arc { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero__arc path { fill: none; stroke: rgba(255, 255, 255, .55); stroke-width: 3; filter: drop-shadow(0 0 6px rgba(255, 255, 255, .6)); vector-effect: non-scaling-stroke; }

.hero__viewport { position: relative; overflow: hidden; cursor: grab; touch-action: pan-y; user-select: none; }
.hero__viewport.is-dragging { cursor: grabbing; }
.hero__track { display: flex; will-change: transform; transition: transform .6s var(--ease); }
.hero__viewport.is-dragging .hero__track { transition: none; }
.slide { flex: 0 0 100%; min-width: 0; }
.slide__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: center; min-height: 500px; padding-block: 64px 84px; }
.slide__inner a, .slide__inner img { -webkit-user-drag: none; }

.hero__controls { position: relative; display: flex; align-items: center; justify-content: flex-end; gap: 14px; height: 0; }
.hero__dots { display: flex; gap: 8px; transform: translateY(-46px); }
.hero__dot { width: 34px; height: 24px; display: grid; place-items: center; padding: 0; border: 0; background: transparent; }
.hero__dot span { position: relative; width: 100%; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .35); overflow: hidden; }
.hero__dot span::after { content: ""; position: absolute; inset: 0; background: var(--c-white); transform: scaleX(0); transform-origin: left; }
.hero__dot.is-done span::after { transform: scaleX(1); }
.hero__dot.is-active span::after { animation: dotFill var(--hero-delay, 6s) linear forwards; }
.hero.is-paused .hero__dot.is-active span::after { animation-play-state: paused; }
@keyframes dotFill { to { transform: scaleX(1); } }
.hero__pause { width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .16); color: var(--c-white); transform: translateY(-46px); transition: background-color .2s var(--ease); }
.hero__pause:hover { background: rgba(255, 255, 255, .3); }

.slide__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 34px; }
.slide__title { max-width: 11.5ch; font-family: var(--font-sans); font-size: clamp(44px, 4vw, 60px); font-weight: 800; line-height: 1.06; letter-spacing: -.025em; }
.slide__offer { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 22px; font-weight: 500; }
.slide__offer-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--c-sun); color: var(--c-navy); }
.slide__pill { padding: 6px 14px; border: 2px solid var(--c-white); border-radius: 12px; font-size: 24px; font-weight: 800; text-decoration: none; }
.btn--light { min-width: 188px; background: var(--c-white); color: var(--c-navy); box-shadow: 0 8px 20px rgba(0, 0, 0, .18); }
.btn--light:hover { background: var(--c-cream); }

.slide__visual { position: relative; }
.slide__visual img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 28px; background: rgba(255, 255, 255, .12); box-shadow: 0 30px 60px rgba(0, 0, 0, .25); }
.slide__badge {
  position: absolute; left: -46px; top: -34px;
  width: 148px; height: 148px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--c-tomato); color: var(--c-white);
  box-shadow: 0 0 0 8px rgba(255, 255, 255, .14), 0 14px 30px rgba(0, 0, 0, .25);
  transform: rotate(-10deg); text-align: center; line-height: 1;
}
.hero[data-bg="tomato"] .slide__badge { background: var(--c-navy); }
.slide__badge small { font-size: 18px; font-weight: 700; }
.slide__badge strong { font-size: 50px; font-weight: 800; letter-spacing: -.03em; }
.slide__badge strong small { font-size: 26px; font-style: normal; margin-left: 2px; }
.slide__fine { position: absolute; left: var(--gutter); bottom: 30px; font-size: 14px; color: rgba(255, 255, 255, .82); }
.slide__fine .tbc { text-decoration-color: rgba(244, 183, 64, .7); }

/* Offer slides (vk_promo_hero_offers): long product names, price now + crossed-out price, end date + Omnibus line */
.slide__copy:has(.slide__price) { gap: 22px; }
.slide__title--long { max-width: 20ch; font-size: clamp(30px, 2.8vw, 42px); line-height: 1.12; }
.slide__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 16px; }
.slide__now { font-size: clamp(38px, 3.4vw, 52px); font-weight: 800; line-height: 1; letter-spacing: -.02em; }
.slide__was { font-size: 20px; font-weight: 600; color: rgba(255, 255, 255, .82); }
.slide__was s { text-decoration-thickness: 2px; }
.slide__notes { font-size: 15px; line-height: 1.5; color: rgba(255, 255, 255, .88); }


/* Bestsellers */
.center-cta { display: flex; justify-content: center; margin-top: 44px; }

/* Ages */
.ages { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.age {
  display: flex; flex-direction: column; height: 100%;
  padding: 26px 24px 28px; border-radius: var(--radius-l);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.age:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.age__num { font-size: 64px; line-height: 1; }
.age__unit { margin-top: 2px; font-weight: 700; font-size: 17px; }
.age__text { margin-top: 18px; padding-top: 14px; border-top: 1px solid rgba(31, 42, 68, .14); font-size: 15px; color: var(--c-navy-soft); }
.age--1 { background: #F9E3DA; }
.age--2 { background: #FBEBC8; }
.age--3 { background: #DDEBDF; }
.age--4 { background: #DCE6F2; }
.age--5 { background: #EADFF0; }

/* Gifts band */
.gifts { background: var(--c-navy); color: var(--c-white); overflow: hidden; }
.gifts__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; padding-block: 72px; }
.gifts__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 160px var(--radius-l) var(--radius-l) var(--radius-l); }
.gifts__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.gifts__copy > p { max-width: 44ch; color: #D9D4CA; font-size: 17px; }
.eyebrow--light { display: inline-flex; align-items: center; gap: 8px; color: var(--c-sun); }
.gifts__group { display: flex; flex-direction: column; gap: 10px; }
.gifts__group > p { font-size: 15px; font-weight: 700; color: #D9D4CA; }
.chip--dark { background: rgba(255, 255, 255, .08); color: var(--c-white); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); }
.chip--dark:hover { background: var(--c-white); color: var(--c-navy); box-shadow: none; }
.gifts .btn { margin-top: 8px; }

.products--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* Help: SEO text + mascot help card + FAQ */
.help { position: relative; overflow: hidden; background: var(--c-sand); }
.help__deco { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.help .container { position: relative; }
.help__head { max-width: 820px; margin: 0 auto 48px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.help__head p { color: var(--c-navy-soft); font-size: 17px; }
.help__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: start; }

.buddy { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: 36px 32px 34px; border-radius: 36px; background: #F9E3DA; box-shadow: inset 0 0 0 2px rgba(229, 83, 58, .12); }
.buddy__art { position: relative; display: grid; place-items: center; width: 210px; height: 190px; margin-bottom: 4px; }
.buddy__art::before { content: ""; position: absolute; inset: 22px 18px 0; border-radius: 50%; background: var(--c-white); }
.buddy__mascot { position: relative; width: 150px; height: 150px; margin-top: 30px; transform: rotate(-6deg); transition: transform .4s var(--ease); filter: drop-shadow(0 12px 18px rgba(201, 64, 42, .25)); }
.buddy:hover .buddy__mascot { transform: rotate(4deg) translateY(-4px); }
.buddy__bubble { position: absolute; top: -6px; right: -54px; z-index: 1; padding: 10px 14px; border-radius: 18px 18px 18px 4px; background: var(--c-navy); color: var(--c-white); font-size: 15px; font-weight: 700; white-space: nowrap; box-shadow: var(--shadow); }
.buddy__title { font-family: var(--font-display); font-size: 30px; font-weight: 800; }
.buddy__text { max-width: 34ch; color: var(--c-navy-soft); }
.buddy__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 10px; }
.buddy .btn--ghost { background: var(--c-white); box-shadow: none; }
.buddy .btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--c-navy); }
.buddy .btn--primary .tbc { text-decoration-color: rgba(255, 255, 255, .7); }

.help__faq { display: flex; flex-direction: column; gap: 12px; }
.help__faq-title { margin-bottom: 4px; font-family: var(--font-display); font-size: 28px; font-weight: 800; }
.qa { --qa: #F9E3DA; --qa-ink: var(--c-tomato-dark); border-radius: 22px; background: var(--c-white); box-shadow: 0 0 0 1px var(--c-line); transition: box-shadow .25s var(--ease), transform .25s var(--ease); }
.qa--sun { --qa: #FBEBC8; --qa-ink: #A86A00; }
.qa--mint { --qa: #DDEBDF; --qa-ink: var(--c-sage); }
.qa--sky { --qa: #DCE6F2; --qa-ink: #3B5F8F; }
.qa:hover { transform: translateY(-2px); }
.qa[open] { box-shadow: 0 0 0 2px var(--qa), var(--shadow); }
.qa summary { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 16px 18px 16px 16px; cursor: pointer; list-style: none; }
.qa summary::-webkit-details-marker { display: none; }
.qa__badge { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 16px; background: var(--qa); color: var(--qa-ink); transform: rotate(-4deg); transition: transform .25s var(--ease); }
.qa:hover .qa__badge, .qa[open] .qa__badge { transform: rotate(4deg) scale(1.05); }
.qa__q { font-size: 17px; font-weight: 700; }
.qa__icon { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--qa); color: var(--qa-ink); transition: transform .25s var(--ease); }
.qa[open] .qa__icon { transform: rotate(45deg); }
.qa p { padding: 0 22px 20px 80px; color: var(--c-navy-soft); }
.help__more { align-self: flex-start; margin-top: 6px; }

/* Responsive */
@media (max-width: 1200px) {
  /* tablets too: ages in one swipe row, not 3 + 2 (Armandas 2026-11-01); phones size the cards below */
  .ages { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .ages::-webkit-scrollbar { display: none; }
  .ages li { flex: 0 0 30%; scroll-snap-align: start; }
  .products--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
  .hero__grid { gap: 36px; }
  .hero__note { left: 16px; bottom: 16px; }
  .help__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
}
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__media { order: -1; }
  .hero__media img { aspect-ratio: 16 / 10; border-radius: var(--radius-l) var(--radius-l) var(--radius-l) 64px; }
  .hero__copy h1 { max-width: 18ch; }
  .gifts__grid { grid-template-columns: minmax(0, 1fr); gap: 36px; padding-block: 56px; }
}
@media (max-width: 760px) {
  .hero { padding-top: 16px; }
  .hero__copy { gap: 18px; }
  .hero__ctas .btn { flex: 1 1 auto; }
  .hero__note { position: static; max-width: none; margin-top: 12px; box-shadow: var(--shadow); }
  .ages li { flex: 0 0 68%; }
  .hbest .products > :nth-child(n+11) { display: none; } /* 15 bestsellers on desktop, 10 on phones */
  .age__num { font-size: 52px; }
  .products--3 { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .products--3::-webkit-scrollbar { display: none; }
  .products--3 .card { flex: 0 0 62%; scroll-snap-align: start; }
  .faq { padding: 20px 20px 4px; }
  [data-filter-tabs] { flex-wrap: nowrap; overflow-x: auto; max-width: 100%; scrollbar-width: none; }
  [data-filter-tabs] .chip { flex: none; }
}

/* Category circles on the homepage */
.subcats--home { border-top: 0; padding-block: 0; }
.subcats--home .subcats__list { padding-top: 4px; gap: 16px; }
.subcats--home .subcat { font-size: 16px; gap: 12px; }
.subcats--home .subcat__img { width: 120px; height: 120px; }
/* One row that fills wide screens and scrolls sideways when the tiles do not fit (a 9-column grid squeezed the
   120 px circles into each other on tablets, Armandas 2026-11-01). Phones keep the flex swipe row (styles.css). */
.subcats--home .subcats__list { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(136px, 1fr); overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
.subcats--home .subcats__list::-webkit-scrollbar { display: none; }
.subcats--home .subcats__list li { scroll-snap-align: start; }

/* Guides (Patarimai tėvams) */
.guides { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.guide-card { display: flex; flex-direction: column; height: 100%; border-radius: 22px; overflow: hidden; background: var(--c-white); box-shadow: 0 0 0 1px var(--c-line); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.guide-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(31, 42, 68, .12); }
.guide-card__img { aspect-ratio: 3 / 2; overflow: hidden; background: var(--c-sand); }
.guide-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.guide-card:hover .guide-card__img img { transform: scale(1.05); }
.guide-card__body { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 22px; flex: 1; }
.guide-card__tag { font-size: 14px; font-weight: 700; color: var(--c-tomato); }
.guide-card__title { font-size: 20px; font-weight: 800; line-height: 1.3; letter-spacing: -.01em; }
.guide-card__more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 6px; font-weight: 700; }
@media (max-width: 900px) { .guides { grid-template-columns: minmax(0, 1fr); } }

/* ===== Responsive pass: homepage ===== */
@media (max-width: 1100px) {
  .slide__inner { gap: 32px; }
  .slide__badge { width: 118px; height: 118px; left: -18px; top: -22px; }
  .slide__badge strong { font-size: 40px; }
  .guides { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guides li:last-child { display: none; }
}
@media (max-width: 900px) {
  .slide__inner { grid-template-columns: minmax(0, 1fr); gap: 22px; min-height: 0; padding-block: 20px 76px; }
  .slide__visual { order: -1; }
  .slide__visual img { aspect-ratio: 16 / 10; border-radius: 22px; }
  .slide__badge { width: 92px; height: 92px; left: 10px; top: 10px; box-shadow: 0 0 0 5px rgba(255, 255, 255, .14), 0 10px 20px rgba(0, 0, 0, .25); }
  .slide__badge small { font-size: 14px; }
  .slide__badge strong { font-size: 32px; }
  .slide__badge strong small { font-size: 18px; }
  .slide__copy { gap: 18px; }
  .slide__title { max-width: none; font-size: 34px; }
  .slide__title br { display: none; }
  .slide__offer { font-size: 17px; gap: 10px; }
  .slide__offer-icon { width: 34px; height: 34px; }
  .slide__pill { font-size: 18px; padding: 4px 10px; }
  .slide__copy:has(.slide__price) { gap: 14px; }
  .slide__title--long { font-size: 26px; }
  .slide__now { font-size: 34px; }
  .slide__was { font-size: 17px; }
  .slide__notes { font-size: 14px; }
  .slide__fine { bottom: 22px; right: 120px; font-size: 14px; }
  .hero__dots, .hero__pause { transform: translateY(-40px); }
  .hero__arc { display: none; }
  .guides { grid-template-columns: minmax(0, 1fr); }
  .guides li:last-child { display: block; }
  .buddy__bubble { position: static; margin-bottom: -8px; white-space: normal; }
  .buddy__art { display: flex; flex-direction: column; align-items: center; height: auto; width: auto; }
  .buddy__art::before { display: none; }
  .buddy__mascot { margin-top: 0; }
}
@media (max-width: 760px) {
  .hero .btn--light { width: 100%; }
  .slide__fine { position: static; margin-top: 4px; right: auto; }
  .slide__inner { padding-bottom: 64px; }
  .hero__dots { transform: translateY(-34px); }
  .hero__pause { transform: translateY(-34px); width: 32px; height: 32px; }
  .hero__controls { justify-content: center; }
  .subcats--home .subcat__img { width: 84px; height: 84px; }
  .subcats--home .subcats__list li { flex-basis: 96px; }
  .help__head { margin-bottom: 28px; text-align: left; align-items: flex-start; }
  .doodle--center::after { left: 0; transform: none; }
  .buddy { padding: 26px 18px; border-radius: 28px; }
  .buddy__title { font-size: 24px; }
  .buddy__actions .btn { width: 100%; }
  .qa summary { gap: 12px; padding: 14px 14px 14px 12px; }
  .qa__badge { width: 40px; height: 40px; border-radius: 13px; }
  .qa__q { font-size: 16px; }
  .qa p { padding: 0 16px 18px 16px; }
  .gifts__grid { padding-block: 44px; }
  .gifts__media img { border-radius: 80px 22px 22px 22px; }
  .guide-card__title { font-size: 18px; }
}

/* ---------- E-shop homepage body (parts/home-shop.php, Armandas 2026-10-28) ---------- */
/* Product rails: 5 cards visible on desktop, 4 / 3 on smaller screens, 2 + a peek on phones; arrows in the head */
.hrail { padding-block: 44px; }
.hrail--sand { background: var(--c-sand); }
.hrail__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 24px; margin-bottom: 18px; }
.hrail__titles { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.hrail__titles .h2 { margin: 0; font-size: clamp(26px, 2.4vw, 34px); }
.hrail__text { margin: 0; font-size: 15px; color: var(--c-navy-soft); }
.hrail__badge { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; margin: 0 0 2px; padding: 5px 12px; border-radius: 999px; background: var(--c-tomato); color: var(--c-white); font-size: 13px; font-weight: 800; }
.hrail__badge .icon { width: 15px; height: 15px; }
.hrail__tools { display: flex; flex: none; align-items: center; gap: 10px; }
.hrail__tools .link-arrow { margin-right: 6px; font-size: 15px; }
.hrail__btn { display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 1px solid var(--c-line-strong); border-radius: 50%; background: var(--c-white); color: var(--c-navy); cursor: pointer; transition: background-color .2s var(--ease), color .2s var(--ease), opacity .2s; }
.hrail__btn .icon { width: 18px; height: 18px; }
.hrail__btn--prev .icon { transform: scaleX(-1); }
.hrail__btn:hover:not(:disabled) { border-color: var(--c-navy); background: var(--c-navy); color: var(--c-white); }
.hrail__btn:disabled { opacity: .35; cursor: default; }
.hrail__chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; }
.hrail__chips .chip { min-height: 36px; font-size: 14px; }
.products--rail { --per: 5; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - (var(--per) - 1) * 16px) / var(--per)); grid-template-columns: none; gap: 16px; margin: -10px -10px 0; padding: 10px 10px 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 10px; scroll-behavior: smooth; overscroll-behavior-x: contain; scrollbar-width: none; }
.products--rail::-webkit-scrollbar { display: none; }
.products--rail > .card { scroll-snap-align: start; }

/* Promo tiles */
.promos { padding-block: 28px 8px; }
.promos__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.promo { position: relative; display: flex; align-items: stretch; min-height: 168px; overflow: hidden; border-radius: var(--radius-l); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.promo:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.promo--sale { background: var(--c-tomato); color: var(--c-white); }
.promo--sky { background: var(--t-sky); color: var(--c-navy); }
.promo--mint { background: var(--t-mint); color: var(--c-navy); }
.promo__copy { position: relative; z-index: 1; display: flex; flex: 1; flex-direction: column; gap: 6px; padding: 22px 0 22px 24px; }
.promo__eye { font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; opacity: .85; }
.promo__title { font-family: var(--font-display); font-size: 21px; font-weight: 800; line-height: 1.2; }
.promo__cta { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 10px; font-size: 15px; font-weight: 700; }
.promo__img { flex: none; width: 42%; margin: 14px 14px 14px 8px; overflow: hidden; border-radius: var(--radius); background: var(--c-white); }
.promo__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.promo:hover .promo__img img { transform: scale(1.05); }

/* Brands: logo strip scrolling by itself (two identical halves, the track moves by one half) */
.hbrands { padding-block: 40px; overflow: hidden; }
.hbrands__marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.hbrands__track { display: flex; width: max-content; animation: vk-brands 40s linear infinite; }
.hbrands__marquee:hover .hbrands__track, .hbrands__marquee:focus-within .hbrands__track { animation-play-state: paused; }
.hbrands__list { display: flex; gap: 14px; margin: 0; padding: 4px 7px; list-style: none; }
.hbrand { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; width: 220px; height: 108px; padding: 14px 18px; border-radius: var(--radius); background: var(--c-white); box-shadow: 0 0 0 1px var(--c-line); text-align: center; transition: box-shadow .2s var(--ease), transform .2s var(--ease); }
.hbrand:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px var(--c-line-strong), var(--shadow); }
.hbrand__logo { max-width: 160px; max-height: 52px; width: auto; height: auto; object-fit: contain; }
.hbrand__name { font-family: var(--font-display); font-size: 20px; font-weight: 800; line-height: 1.15; color: var(--c-navy); }
.hbrand__count { font-size: 13px; color: var(--c-muted); }
@keyframes vk-brands { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .hbrands__track { animation: none; }
  .hbrands__marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .hbrands__list[aria-hidden] { display: none; }
}

/* Best sellers tabs: pill buttons like the header, on the right next to "Žiūrėti visas" */
.htabs { display: flex; gap: 8px; }
.htab { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border: 1px solid var(--c-line-strong); border-radius: 999px; background: var(--c-white); color: var(--c-navy); font: inherit; font-size: 15px; font-weight: 650; cursor: pointer; transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease); }
.htab:hover { border-color: var(--c-navy); }
.htab.is-active { border-color: var(--c-navy); background: var(--c-navy); color: var(--c-white); }
.hbest .hrail__tools { gap: 16px; }
@media (max-width: 760px) { .hbest .hrail__tools { flex-wrap: wrap; } }

@media (max-width: 1280px) { .products--rail { --per: 4; } }
@media (max-width: 1100px) {
  .products--rail { --per: 3; }
  /* tablets + phones: one swipe row that moves by itself (home.js [data-autoscroll]), not 3 stacked tiles
     (Armandas 2026-11-01: too tall) */
  .promos__list { display: flex; gap: 12px; margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) 4px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .promos__list::-webkit-scrollbar { display: none; }
  .promos__list > li { flex: 0 0 62%; scroll-snap-align: start; }
  .promo { height: 100%; min-height: 140px; }
  .promo__img { width: 34%; }
}
@media (max-width: 760px) {
  .hrail { padding-block: 32px; }
  .hrail__head { align-items: flex-start; flex-direction: column; }
  .hrail__btn { display: none; }
  .hrail__chips { flex-wrap: nowrap; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); overflow-x: auto; scrollbar-width: none; }
  .hrail__chips::-webkit-scrollbar { display: none; }
  .hrail__chips li { flex: none; }
  .products--rail { --per: 2.15; gap: 12px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); grid-auto-columns: calc((100% - 2 * var(--gutter) - 12px) / 2.15); }
  .promo__title { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) { .products--rail { scroll-behavior: auto; } }
@media (max-width: 760px) {
  .promos__list > li { flex: 0 0 86%; }
  .promo { min-height: 150px; }
}
/* Best sellers: same head as the rails, 5-column grid (2 rows of 5) */
.products--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px 16px; }
.hbest .hrail__chips .chip { cursor: pointer; }
.hbest .hrail__chips .chip.is-active { background: var(--c-navy); color: var(--c-white); box-shadow: none; }
@media (max-width: 1280px) { .products--5 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 1100px) { .products--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* best sellers: full rows only, 15 / 12 / 9 / 10 (Armandas 2026-11-01: max 9 on tablets) */
@media (min-width: 1101px) and (max-width: 1280px) { .hbest .products > :nth-child(n+13) { display: none; } }
@media (min-width: 761px) and (max-width: 1100px) { .hbest .products > :nth-child(n+10) { display: none; } }
@media (max-width: 760px) { .products--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; } .hbest .hrail__chips { flex-wrap: wrap; overflow: visible; margin-inline: 0; padding-inline: 0; } }

/* ===== Hero v2 (Claude 2026-11-02, Kajus: "hero looks lame, more conversion optimized") =====
   Light tint per offer, product name as the headline, price + saving, one button, clickable offer thumbnails.
   New class names (.vhero/.vslide) so the old .hero/.slide rules above and in cro.css no longer apply. */
.vhero { --vh-bg: #EEF2F8; position: relative; background: var(--vh-bg); color: var(--c-navy); transition: background-color .5s var(--ease); }
.vhero[data-bg="tomato"] { --vh-bg: #FCEDE7; }
.vhero[data-bg="navy"] { --vh-bg: #EBF0F8; }
.vhero[data-bg="sage"] { --vh-bg: #E8F2EC; }
.vhero[data-bg="plum"] { --vh-bg: #F0ECF7; }
.vhero__frame { padding-block: 36px 28px; }
.vhero__viewport { overflow: hidden; cursor: grab; touch-action: pan-y; user-select: none; }
.vhero__viewport.is-dragging { cursor: grabbing; }
.vhero__track { --vh-gap: 96px; display: flex; gap: var(--vh-gap); will-change: transform; transition: transform .6s var(--ease); }
.vhero__viewport.is-dragging .vhero__track { transition: none; }
.vslide { flex: 0 0 100%; min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 56px; align-items: center; }
.vslide a, .vslide img { -webkit-user-drag: none; }
.vslide__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; padding-block: 8px; }
.vslide__eyebrow { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 15px; font-weight: 700; color: var(--c-muted); }
.vslide__pct { padding: 5px 11px; border-radius: 999px; background: var(--c-tomato); color: var(--c-white); font-size: 15px; font-weight: 800; letter-spacing: -.01em; }
.vslide__title { max-width: 17ch; font-size: clamp(32px, 3.4vw, 50px); line-height: 1.08; text-wrap: balance; }
.vslide__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; margin-top: 2px; }
.vslide__now { font-size: clamp(34px, 3vw, 46px); font-weight: 800; line-height: 1; letter-spacing: -.02em; color: var(--c-tomato); }
.vslide__was { font-size: 19px; font-weight: 600; color: var(--c-muted); text-decoration-thickness: 2px; }
.vslide__save { padding: 4px 10px; border-radius: 8px; background: rgba(63, 125, 92, .12); color: var(--c-sage); font-size: 15px; font-weight: 800; }
.vslide__ctas { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 22px; margin-top: 6px; }
.vslide__btn { min-height: 56px; padding-inline: 30px; font-size: 17px; }
.vslide__more { font-weight: 700; color: var(--c-navy); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
.vslide__more:hover { color: var(--c-tomato); }
.vslide__note { font-size: 13px; color: var(--c-muted); }
.vslide__visual { display: block; border-radius: 26px; overflow: hidden; background: var(--c-white); box-shadow: 0 18px 40px rgba(31, 42, 68, .10); }
.vslide__visual img { display: block; width: 100%; aspect-ratio: 5 / 4; object-fit: cover; transition: transform .8s var(--ease); }
.vslide__visual:hover img { transform: scale(1.03); }
/* entrance of the active offer (aria-hidden is toggled by home.js) */
.vslide:not([aria-hidden="true"]) .vslide__copy > * { animation: vhRise .6s var(--ease) both; }
.vslide:not([aria-hidden="true"]) .vslide__copy > :nth-child(2) { animation-delay: .06s; }
.vslide:not([aria-hidden="true"]) .vslide__copy > :nth-child(3) { animation-delay: .12s; }
.vslide:not([aria-hidden="true"]) .vslide__copy > :nth-child(n+4) { animation-delay: .18s; }
@keyframes vhRise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
/* offer thumbnails = slide buttons (data-go) with the autoplay progress bar */
.vhero__thumbs { display: grid; grid-template-columns: repeat(var(--vh-n, 4), minmax(0, 1fr)) auto; gap: 12px; margin-top: 28px; }
.vhero__nav { display: flex; align-items: center; gap: 8px; }
.vhero__arrow { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--c-line-strong); border-radius: 50%; background: var(--c-white); color: var(--c-navy); cursor: pointer; transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease); }
.vhero__arrow .icon { width: 18px; height: 18px; }
.vhero__arrow--prev .icon { transform: scaleX(-1); }
.vhero__arrow:hover { border-color: var(--c-navy); background: var(--c-navy); color: var(--c-white); }
.vhero__thumb { position: relative; display: flex; align-items: center; gap: 12px; min-width: 0; padding: 10px 12px; border: 2px solid transparent; border-radius: 16px; background: rgba(255, 255, 255, .62); color: var(--c-navy); text-align: left; overflow: hidden; transition: background-color .2s var(--ease), border-color .2s var(--ease); }
.vhero__thumb:hover { background: var(--c-white); }
.vhero__thumb.is-active { background: var(--c-white); border-color: var(--c-navy); }
.vhero__timg { flex: none; width: 52px; height: 52px; border-radius: 10px; object-fit: cover; }
.vhero__tcopy { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.vhero__tname { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 14px; font-weight: 600; }
.vhero__tprice { font-size: 14px; font-weight: 800; color: var(--c-tomato); }
.vhero__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: transparent; }
.vhero__bar::after { content: ""; position: absolute; inset: 0; background: var(--c-tomato); transform: scaleX(0); transform-origin: left; }
.vhero__thumb.is-active .vhero__bar::after { animation: dotFill var(--hero-delay, 6s) linear forwards; }
.vhero.is-paused .vhero__thumb.is-active .vhero__bar::after { animation-play-state: paused; }
.vhero__pause { align-self: center; flex: none; width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .7); color: var(--c-navy); }
.vhero__pause:hover { background: var(--c-white); }
@media (max-width: 1100px) {
  .vslide { gap: 32px; }
  .vhero__tname { display: none; }
}
@media (max-width: 900px) {
  .vhero__frame { padding-block: 14px 16px; }
  .vslide { grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: start; }
  .vslide__visual { order: -1; border-radius: 20px; }
  .vslide__visual img { aspect-ratio: 16 / 10; }
  .vslide__copy { gap: 10px; padding-block: 0; }
  .vslide__eyebrow { font-size: 13px; gap: 8px; }
  .vslide__pct { font-size: 13px; padding: 4px 9px; }
  .vslide__title { max-width: none; font-size: 24px; }
  .vslide__now { font-size: 30px; }
  .vslide__was { font-size: 16px; }
  .vslide__save { font-size: 13px; }
  .vslide__ctas { width: 100%; margin-top: 4px; }
  .vslide__btn { flex: 1 1 auto; justify-content: center; min-height: 52px; }
  .vslide__note { font-size: 12px; }
  .vhero__thumbs { margin-top: 14px; gap: 8px; }
  .vhero__thumb { justify-content: center; padding: 6px; border-radius: 12px; }
  .vhero__tcopy { display: none; }
  .vhero__timg { width: 44px; height: 44px; }
  .vhero__pause { width: 36px; height: 36px; }
  .vhero__track { --vh-gap: 40px; }
  .vhero__thumbs { gap: 6px; }
  .vhero__thumb { padding: 4px; }
  .vhero__timg { width: 100%; max-width: 44px; height: auto; aspect-ratio: 1; }
  .vhero__nav { gap: 6px; }
  .vhero__arrow { width: 36px; height: 36px; }
  .vhero__arrow .icon { width: 16px; height: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .vslide .vslide__copy > * { animation: none !important; }
  .vslide__visual img { transition: none; }
}
