/* Pleasure Promo: "Pirk kartu" box, set pages, cart hints and drawer rows. Uses the theme's design tokens (design C:
   hairline borders, square corners, spaced caps for labels). */

/* ---------- "Pirk kartu" box ---------- */
.promo-box { margin: 24px 0 0; padding: 16px; border: 1px solid var(--c-line, #E6E2E1); border-radius: var(--r-md, 6px); background: var(--c-surface, #fff); }
.promo-box__title { margin: 0 0 12px; font-size: 12px; font-weight: 800; line-height: 1.3; letter-spacing: 0.16em; text-transform: uppercase; }
/* One chain (owner 2026-10-11 "gražiai tuos + sudėti"): the photos in one column, each "+" a 24 px round chip centred
   on that column and sitting on the boundary between two rows, the names and prices in one aligned column. */
.promo-box__items { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.promo-box__item { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr); align-items: center; gap: 12px; }
.promo-box__plus { position: absolute; z-index: 1; top: -20px; left: 16px; display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: var(--c-surface, #fff); box-shadow: 0 0 0 1px var(--c-line, #E6E2E1); color: var(--c-ink, #1C1A1B); font-size: 16px; font-weight: 600; line-height: 1; pointer-events: none; }
.promo-box__media { display: block; width: 56px; height: 56px; border: 1px solid var(--c-line, #E6E2E1); border-radius: 8px; overflow: hidden; background: #fff; }
.promo-box__media img { display: block; width: 100%; height: 100%; object-fit: contain; background: #fff; }
.promo-box__info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.promo-box__name { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; color: var(--c-ink, #1C1A1B); font-size: 13px; line-height: 1.35; }
/* 44 px tall target (the clamp stays two lines: the padding sits outside the text, the margin gives it back). */
a.promo-box__name { margin-block: -13px; padding-block: 13px; text-decoration: none; }
a.promo-box__name:hover { color: var(--c-berry, #C4145A); text-decoration: underline; }
.promo-box__this { font-weight: 700; }
.promo-box__price { color: var(--c-muted, #655E60); font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.promo-box__foot { display: grid; gap: 8px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--c-line, #E6E2E1); }
.promo-box__total { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; margin: 0; }
.promo-box__total-label { font-size: 14px; font-weight: 700; }
.promo-box__total-price, .promo-set__price, .promo-set-card__price { font-weight: 800; font-size: 18px; font-variant-numeric: tabular-nums; }
.promo-box__total-price del, .promo-set__price del, .promo-set-card__price del { margin-right: 6px; color: var(--c-muted, #655E60); font-size: 0.75em; font-weight: 500; }
.promo-box__total-price ins, .promo-set__price ins, .promo-set-card__price ins { color: var(--c-berry, #C4145A); text-decoration: none; }
.promo-box__saving, .promo-saving { margin: 0; color: var(--c-berry, #C4145A); font-size: 13px; font-weight: 700; }
.promo-box__form { margin: 4px 0 0; }
.promo-box__form .btn { width: 100%; }
.promo-box__form .btn.loading { opacity: 0.7; cursor: progress; }
.promo-box__status { margin: 0; font-size: 13px; }
.promo-box__status:empty { display: none; }
.promo-box__note { margin: 0; color: var(--c-muted, #655E60); font-size: 12px; line-height: 1.45; }

/* ---------- Set page and list ---------- */
.promo-set__back { margin: 0 0 16px; font-size: 14px; font-weight: 600; }
.promo-set__back a { display: inline-flex; align-items: center; min-height: 44px; color: var(--c-ink, #1C1A1B); text-decoration: none; }
.promo-set__back a:hover { color: var(--c-berry, #C4145A); text-decoration: underline; text-underline-offset: 3px; }
.promo-set__head { display: grid; gap: 24px; margin-bottom: 40px; }
@media (min-width: 960px) { .promo-set__head { grid-template-columns: minmax(0, 1fr) minmax(0, 460px); align-items: start; gap: 56px; } }
.promo-set__media img { width: 100%; border-radius: var(--r-sm, 4px); background: var(--c-ph, #F2F0EF); }
.promo-set__title { margin: 0 0 10px; }
.promo-set__badge { margin: 0 0 16px; }
.promo-set__lead, .promo-sets__lead { max-width: 60ch; margin: 0 0 20px; color: var(--c-ink-2, #4A4446); font-size: 16px; line-height: 1.5; }
.promo-set__buy { display: grid; gap: 10px; padding: 20px; border: 1px solid var(--c-line, #E6E2E1); border-radius: var(--r-md, 6px); background: var(--c-surface, #fff); }
.promo-set__price { font-size: 26px; }
.promo-set__price, .promo-set__saving { margin: 0; }
.promo-set__buy .btn { width: 100%; min-height: 54px; }
.promo-set__unavailable { margin: 0; font-weight: 700; }
.promo-set__content { max-width: 75ch; margin-bottom: 40px; }
.promo-set__qty { margin: 6px 0 0; color: var(--c-muted, #655E60); font-size: 13px; font-weight: 700; }
/* Sets list: cards like the product cards (photo, -N % badge, name, contents line, price with the 44 px Ink add
   button). --set-cols (the template) is the number of sets up to 4, so a short list fills its row. */
.promo-sets__grid { --cols: min(var(--set-cols, 4), 2); list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: 28px 12px; }
@media (min-width: 640px) { .promo-sets__grid { --cols: min(var(--set-cols, 4), 3); gap: 28px 16px; } }
@media (min-width: 1200px) { .promo-sets__grid { --cols: var(--set-cols, 4); } }
.promo-sets__grid > li { min-width: 0; }
.promo-set-card { position: relative; display: flex; flex-direction: column; height: 100%; }
.promo-set-card__media { display: block; overflow: hidden; border-radius: var(--r-sm, 4px); background: var(--c-ph, #F2F0EF); }
.promo-set-card__media img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; transition: transform 0.4s var(--ease-out, ease); }
.promo-set-card:hover .promo-set-card__media img { transform: scale(1.03); }
@media (prefers-reduced-motion: reduce) { .promo-set-card__media img { transition: none; } .promo-set-card:hover .promo-set-card__media img { transform: none; } }
.promo-set-card__badges { position: absolute; top: 10px; left: 10px; margin: 0; }
.promo-set-card__body { display: grid; gap: 4px; padding-top: 12px; }
.promo-set-card__title { margin: 0; font-size: 14px; font-weight: 600; letter-spacing: 0; line-height: 1.4; }
.promo-set-card__title a { color: var(--c-ink, #1C1A1B); text-decoration: none; }
.promo-set-card__title a:hover { color: var(--c-berry, #C4145A); }
.promo-set-card__contents { display: -webkit-box; margin: 0; overflow: hidden; color: var(--c-muted, #655E60); font-size: 13px; line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.promo-set-card__saving { margin: 0; font-size: 13px; }
.promo-set-card__foot { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 8px; }
.promo-set-card__price { display: flex; flex-direction: column-reverse; align-items: flex-start; min-width: 0; margin: 0; font-size: 16px; line-height: 1.25; }
@media (min-width: 960px) { .promo-set-card__price { font-size: 18px; } }
.promo-set-card__price del { margin: 0; font-size: 13px; }
.promo-set-card__form { margin: 0; }
.promo-set-card__add { border: 0; padding: 0; font: inherit; cursor: pointer; }
.promo-set-card__add.loading { opacity: 0.6; }
.promo-set-card__status { flex-basis: 100%; margin: 0; font-size: 13px; }
.promo-set-card__status:empty { display: none; }

/* ---------- Cart hints and drawer rows ---------- */
.promo-hints { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 6px; }
.promo-hint { padding: 9px 12px; border: 1px solid var(--c-line, #E6E2E1); border-radius: var(--r-sm, 4px); background: var(--c-surface, #fff); color: var(--c-ink, #1C1A1B); font-size: 13px; font-weight: 500; line-height: 1.4; }
.promo-hint--gift { border-color: var(--c-berry, #C4145A); color: var(--c-berry-dark, #A10E49); font-weight: 600; }
.cart-drawer .promo-hints { margin: 0; }
.cart-drawer__promo span:last-child { white-space: nowrap; }
