/* ProDots – vásárlásösztönző elemek a meglévő sötét dizájnban (minta, nincs élesítve).
   Színek a boltból: kártya #171a21, kék #3b9bff, narancs #f0a33a, zöld #4cc26b, szürke szöveg #9aa3b5. */

/* --- szállítási visszaszámláló (a főoldali ajánlatban) ------------------------------ */
.pdk-cd { display: flex; align-items: center; gap: 10px; margin: 10px auto 0; padding: 10px 14px; max-width: 460px;
  border-radius: 14px; background: rgba(76, 194, 107, .08); border: 1px solid rgba(76, 194, 107, .28);
  color: #dfe5ee; font-size: 13.5px; font-weight: 500; line-height: 1.35; text-align: left; }
.pdk-cd svg { flex: 0 0 22px; width: 22px; height: 22px; fill: none; stroke: #4cc26b; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pdk-cd b { color: #fff; font-weight: 700; }
.pdk-cd .pdk-t { color: #4cc26b; font-weight: 800; font-variant-numeric: tabular-nums; }
html[data-theme="light"] .pdk-cd { background: rgba(46, 157, 79, .08); border-color: rgba(46, 157, 79, .3); color: #2c3440; }
html[data-theme="light"] .pdk-cd b { color: #14171f; }
html[data-theme="light"] .pdk-cd .pdk-t { color: #23893f; }
html[data-theme="light"] .pdk-cd svg { stroke: #23893f; }

/* --- alacsony készlet ---------------------------------------------------- */
.pdk-low { display: inline-flex; align-items: center; gap: 6px; margin-left: 8px; padding: 3px 10px; border-radius: 999px;
  background: rgba(240, 163, 58, .14); border: 1px solid rgba(240, 163, 58, .4); color: #f0a33a; font-size: 12px; font-weight: 700; vertical-align: middle; }
.pdk-low::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #f0a33a; box-shadow: 0 0 8px #f0a33a; }
.product .product__img-outer > .pdk-low { position: absolute; left: 10px; bottom: 10px; z-index: 3; margin: 0; font-size: 11px; padding: 3px 9px;
  background: rgba(23, 26, 33, .86); border-color: rgba(240, 163, 58, .55); backdrop-filter: blur(4px); }
html[data-theme="light"] .product .product__img-outer > .pdk-low { background: rgba(255, 255, 255, .92); color: #b56a0c; }

/* --- termékkártyák: a havi részlet hangsúlyosabb -------------------------- */
.u4-mp.pdk-mp { margin-top: 3px; font-size: 12.5px; color: #9aa3b5; display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.u4-mp.pdk-mp strong { color: #fff; font-weight: 800; }
html[data-theme="light"] .u4-mp.pdk-mp strong { color: #14171f; }
html[data-theme="light"] .u4-mp.pdk-mp b { color: #c47a12; }
.u4-mp.pdk-mp b { padding: 1px 7px; border-radius: 6px; background: rgba(240, 163, 58, .16); color: #f0a33a; font-size: 11px; font-weight: 800; }

/* --- főoldal: élő „Heti ajánlat” – pontosan a banner dobozában ----------------------------
   A banner láthatatlanul a helyén marad (visibility), így a doboz mérete minden képernyőn ugyanaz, mint most
   (asztal 1920:920 arány, mobil ~343×164). A tartalom fix rácsban van, a hosszú név 2 sorra vágódik. */
.pdk-has-hero { position: relative; container-type: inline-size; }
.pdk-has-hero > .carousel-start_banner_big { visibility: hidden; }
.pdk-hero ~ .carousel__nav, .pdk-has-hero > .carousel__nav,
html body .start_banner_big .start_banner_big__container.pdk-has-hero > .carousel__nav.carousel__nav--start_banner_big { display: none !important; }
/* váz, amíg az ajánlat-doboz elkészül (első látogatás; legfeljebb 2,5 mp) – a régi banner addig sem látszik */
html.pdk-boot .start_banner_big__container { position: relative; overflow: hidden; border-radius: 24px; background: #171a21; }
html[data-theme="light"].pdk-boot .start_banner_big__container { background: #fff; box-shadow: 0 1px 2px rgba(20,23,31,.04), 0 6px 22px rgba(20,23,31,.06); }
html.pdk-boot .start_banner_big__container > .carousel-start_banner_big,
html.pdk-boot body .start_banner_big .start_banner_big__container > .carousel__nav { visibility: hidden !important; }
html.pdk-boot .start_banner_big__container::after { content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg, transparent 30%, rgba(128, 140, 165, .12) 50%, transparent 70%); background-size: 200% 100%; animation: pdk-skel 1.2s linear infinite; }
@keyframes pdk-skel { from { background-position: 150% 0; } to { background-position: -50% 0; } }
.pdk-hero {
  --bg: #171a21; --ink: #eceff5; --mut: #9aa3b5; --box: #e9ecf2; --acc: #3b9bff; --cta: #3b9bff; --cta-ink: #06121f; --line: rgba(255,255,255,.08);
  position: absolute; inset: 0; z-index: 2; overflow: hidden; box-sizing: border-box; border-radius: inherit;
  display: grid; grid-template-columns: 46% 1fr; grid-template-areas: "img txt"; align-items: center; gap: 3.2%;
  padding: 3.4% 4% 3.4% 3.4%; background: var(--bg); color: var(--ink); border: 1px solid var(--line);
  font-family: "Plus Jakarta Sans", Montserrat, sans-serif; text-decoration: none !important;
}
html[data-theme="light"] .pdk-hero {
  --bg: #ffffff; --ink: #14171f; --mut: #666d7c; --box: #f2f4f8; --acc: #0a63d8; --cta: #0a63d8; --cta-ink: #ffffff; --line: #e4e7ee;
  box-shadow: 0 1px 2px rgba(20,23,31,.04), 0 6px 22px rgba(20,23,31,.06);
}
.pdk-hero::before { content: ""; position: absolute; right: -8%; top: -40%; width: 60%; height: 180%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--acc) 20%, transparent), transparent 70%); }
.pdk-img { grid-area: img; position: relative; z-index: 1; height: 100%; border-radius: 16px; background: var(--box); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.pdk-img img { width: 84%; height: 86%; object-fit: contain; mix-blend-mode: multiply; }
.pdk-txt { grid-area: txt; position: relative; z-index: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }
.pdk-kick { display: inline-flex; align-items: center; gap: 8px; font-size: clamp(9px, 1.35cqw, 12px); font-weight: 800; letter-spacing: .16em; color: var(--acc); }
.pdk-kick i { width: 7px; height: 7px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 10px var(--acc); }
.pdk-name { margin: .6cqw 0 .3cqw; font-size: clamp(14px, 3.5cqw, 34px); font-weight: 800; line-height: 1.12; letter-spacing: -.01em;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pdk-sub { font-size: clamp(10px, 1.55cqw, 14px); color: var(--mut); margin-bottom: 1.15cqw; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.pdk-price { font-size: clamp(20px, 5cqw, 46px); font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; line-height: 1; }
.pdk-price small { font-size: .45em; margin-left: 4px; }
.pdk-rate { display: inline-flex; align-items: center; gap: 8px; margin-top: .77cqw; font-size: clamp(10px, 1.6cqw, 14px); color: var(--mut); }
.pdk-rate strong { color: var(--ink); }
.pdk-rate b { padding: 2px 8px; border-radius: 6px; background: rgba(240, 163, 58, .16); color: #d98a1e; font-size: .85em; }
html:not([data-theme="light"]) .pdk-rate b { color: #f0a33a; }
.pdk-cdslot { width: 100%; }
.pdk-hero .pdk-cd { margin: 1.45cqw 0 0; max-width: 430px; font-size: clamp(10px, 1.5cqw, 13.5px); padding: .77cqw 1.4cqw; }
.pdk-cta { display: inline-flex; align-items: center; margin-top: 1.55cqw; height: clamp(30px, 5cqw, 46px); padding: 0 22px; border-radius: 13px;
  background: var(--cta); color: var(--cta-ink); font-weight: 800; font-size: clamp(12px, 1.6cqw, 15px); transition: transform .2s; }
.pdk-hero:hover .pdk-cta { transform: translateY(-2px); }
.pdk-dots { position: absolute; right: 3%; top: 6%; display: flex; gap: 6px; z-index: 2; }
.pdk-dots span { width: 22px; height: 4px; border-radius: 2px; background: color-mix(in srgb, var(--ink) 16%, transparent); overflow: hidden; position: relative; }
.pdk-dots span.on::after { content: ""; position: absolute; inset: 0; background: var(--acc); transform-origin: left; animation: pdk-bar 6s linear forwards; }
.pdk-hero .pdk-swap { transition: opacity .45s ease, transform .45s ease; }
.pdk-hero.pdk-out .pdk-swap { opacity: 0; transform: translateY(8px); }
@keyframes pdk-bar { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* kis banner (mobil, ~343×164): csak a lényeg – kép, név, ár, részlet, határidő egy sorban; az egész doboz kattintható */
@container (max-width: 560px) {
  .pdk-hero { padding: 10px 12px 10px 10px; gap: 10px; grid-template-columns: 38% 1fr; border-radius: inherit; }
  .pdk-img { border-radius: 12px; }
  .pdk-kick { font-size: 8.5px; letter-spacing: .12em; gap: 5px; }
  .pdk-kick i { width: 5px; height: 5px; }
  .pdk-name { font-size: 14px; margin: 3px 0 2px; line-height: 1.15; }
  .pdk-sub, .pdk-cta { display: none; }
  .pdk-price { font-size: 21px; margin-top: 2px; }
  .pdk-rate { font-size: 10.5px; margin-top: 3px; gap: 5px; }
  .pdk-rate b { padding: 1px 5px; }
  .pdk-hero .pdk-cd { margin: 5px 0 0; padding: 4px 7px; gap: 5px; border-radius: 8px; font-size: 9.5px; line-height: 1.25; }
  .pdk-hero .pdk-cd svg { flex-basis: 14px; width: 14px; height: 14px; }
  .pdk-dots { top: auto; bottom: 7px; right: 10px; gap: 4px; }
  .pdk-dots span { width: 12px; height: 3px; }
}
@supports not (container-type: inline-size) { .pdk-hero { grid-template-columns: 40% 1fr; } }
@media (prefers-reduced-motion: reduce) { .pdk-dots span.on::after { animation: none; transform: none; } .pdk-hero .pdk-swap { transition: none; } }
