/* ---------- Hero ---------- */
.tb-hero { position: relative; overflow: hidden; }
.tb-hero__blob { position: absolute; z-index: 0; }
.tb-hero__blob--butter { right: -120px; top: -140px; width: 620px; height: 620px; border-radius: 48% 52% 41% 59% / 56% 44% 56% 44%; background: var(--tb-butter); }
.tb-hero__blob--sage { left: -180px; bottom: 40px; width: 420px; height: 420px; border-radius: 50%; background: var(--tb-sage-pale); }
.tb-hero__in { position: relative; z-index: 1; max-width: var(--tb-wrap); margin: 0 auto; padding: 56px var(--tb-gutter) 72px; display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.tb-hero__text { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 26px; }
.tb-hero__note { margin: 0 0 6px 4px; align-self: flex-start; font-style: italic; font-size: 19px; line-height: 1.35; font-weight: 700; background: var(--tb-butter); border: 2px solid var(--tb-ink); border-radius: 16px; padding: 12px 20px; max-width: 500px; transform: rotate(-2.5deg); box-shadow: 4px 4px 0 var(--tb-ink); outline: 1.5px dashed var(--tb-clay); outline-offset: -8px; }
.tb-hero__title { font-size: clamp(48px, 7vw, 96px); line-height: .95; letter-spacing: -1px; }
.tb-hero__title em { color: var(--tb-sage); }
.tb-hero__lead { font-size: 19px; line-height: 1.6; max-width: 520px; margin: 0; }
.tb-hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.tb-hero__cta .tb-btn { min-height: 58px; padding: 0 30px; }
.tb-hero__art { flex: 1 1 460px; min-width: 0; position: relative; height: 560px; }
.tb-hero__arch { position: absolute; left: 0; top: 30px; width: 62%; height: 440px; border-radius: 220px 220px 24px 24px; background: var(--tb-sage-soft); outline: 2px dashed var(--tb-sage); outline-offset: -14px; overflow: hidden; }
.tb-hero__arch img { width: 100%; height: 100%; object-fit: cover; object-position: center 70%; }
.tb-hero__tilt { position: absolute; right: 0; top: 200px; width: 46%; height: 320px; border-radius: 24px; background: var(--tb-butter); outline: 2px dashed var(--tb-clay); outline-offset: -12px; overflow: hidden; transform: rotate(3deg); }
.tb-hero__tilt img { width: 100%; height: 100%; object-fit: cover; }
.tb-hero__stamp { position: absolute; right: 8%; top: 40px; width: 150px; height: 150px; border-radius: 50%; background: var(--tb-ink); color: var(--tb-bg); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; transform: rotate(-10deg); }
.tb-hero__stamp strong { font-family: var(--tb-font-head); font-weight: 800; font-size: 22px; line-height: 1.1; }
.tb-hero__stamp span { font-size: 12px; margin-top: 6px; color: var(--tb-butter); }
@media (max-width: 700px) { .tb-hero__art { height: 440px; } .tb-hero__arch { height: 340px; } .tb-hero__tilt { top: 160px; height: 250px; } .tb-hero__stamp { width: 120px; height: 120px; } .tb-hero__stamp strong { font-size: 18px; } }

/* ---------- Futó sáv ---------- */
.tb-marquee { overflow: hidden; background: var(--tb-butter); background-image: repeating-linear-gradient(45deg, rgba(255,255,255,.2) 0 6px, transparent 6px 14px); transform: rotate(-1.2deg); margin: 8px -20px 0; padding: 18px 0; border-block: 2px dashed var(--tb-ink); }
.tb-marquee__track { display: flex; flex-wrap: nowrap; width: max-content; font-family: var(--tb-font-head); font-size: 22px; font-weight: 800; white-space: nowrap; animation: tb-marquee 120s linear infinite; }
.tb-marquee:hover .tb-marquee__track { animation-play-state: paused; }
.tb-marquee__set { display: flex; align-items: center; gap: 40px; padding-right: 40px; }
@keyframes tb-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .tb-marquee__track { animation: none; } }

/* ---------- Pillanat-kártyák ---------- */
.tb-moments { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.tb-moment { text-decoration: none; border-radius: 28px; padding: 28px; min-height: 300px; display: flex; flex-direction: column; gap: 14px; color: var(--tb-ink); transition: transform .2s; }
.tb-moment:hover { color: var(--tb-ink); transform: translateY(-4px); }
.tb-moment--sage { background: var(--tb-sage-soft); }
.tb-moment--butter { background: var(--tb-butter); transform: rotate(-1.5deg); }
.tb-moment--butter:hover { transform: rotate(-1.5deg) translateY(-4px); }
.tb-moment--drapp { background: var(--tb-sand); }
.tb-moment--dark { background: var(--tb-ink); color: var(--tb-bg); transform: rotate(1.5deg); }
.tb-moment--dark:hover { color: var(--tb-bg); transform: rotate(1.5deg) translateY(-4px); }
.tb-moment__title { font-family: var(--tb-font-head); font-size: 32px; line-height: 1.05; font-weight: 800; }
.tb-moment__text { font-size: 16px; line-height: 1.5; }
.tb-moment__cta { margin-top: auto; font-weight: 700; display: flex; align-items: center; gap: 8px; }
@media (prefers-reduced-motion: reduce) { .tb-moment, .tb-moment:hover { transform: none; } }

/* ---------- Ajándékcsomagok ---------- */
.tb-gifts { position: relative; overflow: hidden; background: var(--tb-ink); background-image: radial-gradient(rgba(143,162,138,.12) 2.5px, transparent 3px); background-size: 22px 22px; color: var(--tb-bg); border-radius: var(--tb-r-xl); padding: clamp(32px, 5vw, 72px); }
.tb-gifts__ring { position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%; border: 2px dashed var(--tb-sage-2); }
.tb-gifts__head { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; margin-bottom: 44px; }
.tb-gifts__intro { max-width: 620px; }
.tb-gifts__intro h2 { margin: 12px 0 16px; font-size: clamp(36px, 4.5vw, 60px); }
.tb-gifts__intro h2 em { color: var(--tb-sage-soft); }
.tb-gifts__intro p { color: var(--tb-sand); line-height: 1.6; margin: 0; }
.tb-gifts__head .tb-btn { align-self: flex-end; }
.tb-gifts__grid { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.tb-gift { background: var(--tb-bg); color: var(--tb-ink); border-radius: 28px; padding: 14px; display: flex; flex-direction: column; gap: 14px; }
.tb-gift__media { display: block; height: 260px; border-radius: 22px; overflow: hidden; background: var(--tb-sand); }
.tb-gift__media img { width: 100%; height: 100%; object-fit: cover; }
.tb-gift__body { padding: 4px 10px 12px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.tb-gift__name { font-family: var(--tb-font-head); font-weight: 800; font-size: 24px; line-height: 1.1; text-decoration: none; }
.tb-gift__text { font-size: 15px; line-height: 1.5; }
.tb-gift__foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: auto; }
.tb-gift__price { font-size: 22px; font-weight: 700; }

/* ---------- Etetés ---------- */
.tb-feeding { display: flex; flex-wrap: wrap; gap: 24px; align-items: stretch; }
.tb-feeding__photo { flex: 1 1 420px; min-width: 0; min-height: 520px; border-radius: 220px 40px 40px 40px; overflow: hidden; background: var(--tb-sand); }
.tb-feeding__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.tb-feeding__list { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.tb-minigrid { width: 100%; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; }
.tb-mini { text-decoration: none; background: var(--tb-white); border: 1px solid var(--tb-sand); border-radius: 24px; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.tb-mini:hover { border-color: var(--tb-sage); }
.tb-mini img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 16px; }
.tb-mini__name { padding: 0 4px; font-size: 15px; font-weight: 500; line-height: 1.3; }
.tb-mini__price { padding: 0 4px 4px; font-size: 17px; font-weight: 700; }
.tb-spoon { width: 100%; text-decoration: none; background: var(--tb-butter); border-radius: 28px; padding: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.tb-spoon img { width: 130px; height: 130px; object-fit: cover; border-radius: 20px; background: #fff; }
.tb-spoon__text { flex: 1 1 220px; display: flex; flex-direction: column; gap: 6px; }
.tb-spoon__text strong { font-family: var(--tb-font-head); font-weight: 800; font-size: 22px; }
.tb-spoon__price { font-size: 18px; font-weight: 700; }

/* ---------- Szín szerint ---------- */
.tb-colours { background: var(--tb-sand-pale); background-image: linear-gradient(rgba(255,255,255,.35) 2px, transparent 2px), linear-gradient(90deg, rgba(255,255,255,.35) 2px, transparent 2px); background-size: 18px 18px; padding: 88px var(--tb-gutter); margin-top: 24px; }
.tb-colours__in { max-width: var(--tb-wrap); margin: 0 auto; display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.tb-colours__text { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.tb-colours__text p { margin: 0; line-height: 1.6; }
.tb-swatches { display: flex; flex-wrap: wrap; gap: 12px; }
.tb-swatch { display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 18px 0 8px; border-radius: var(--tb-pill); cursor: pointer; background: transparent; border: 2px dashed #8C8576; font-weight: 700; font-size: 15px; color: var(--tb-ink); }
.tb-swatch.is-active { background: var(--tb-bg); border: 2px solid var(--tb-ink); }
.tb-swatch__dot { width: 36px; height: 36px; border-radius: 50%; flex: none; }
.tb-colours__stage { flex: 1 1 480px; min-width: 0; }
.tb-panel { position: relative; overflow: hidden; min-height: 480px; border-radius: 40px 220px 40px 40px; padding: 32px; display: flex; align-items: flex-end; background-color: var(--tb-sage-soft); }
.tb-panel[hidden] { display: none; }
.tb-panel--oliva { background-color: #A9AE8A; background-image: radial-gradient(var(--tb-sand) 2px, transparent 2.5px); background-size: 14px 14px; }
.tb-panel > img, .tb-panel > picture { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tb-panel__card { position: relative; background: var(--tb-bg); border-radius: var(--tb-r-md); padding: 28px; max-width: 360px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.tb-panel__title { font-family: var(--tb-font-head); font-size: 32px; font-weight: 800; line-height: 1.05; }
.tb-panel__card > span:not(.tb-panel__title) { font-size: 15px; line-height: 1.55; }

/* ---------- Játszósarok ---------- */
.tb-play { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.tb-play__art { flex: 1 1 520px; min-width: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.tb-play__arch { grid-row: span 2; min-height: 460px; border-radius: 999px 999px 32px 32px; overflow: hidden; background: var(--tb-sand); }
.tb-play__arch img { width: 100%; height: 100%; object-fit: cover; object-position: 60% center; }
.tb-play__photo { position: relative; border-radius: 32px; overflow: hidden; min-height: 220px; background: var(--tb-butter); }
.tb-play__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 74%; }
.tb-play__photo--empty { display: flex; align-items: flex-end; justify-content: center; padding-bottom: 18px; background-image: linear-gradient(rgba(255,255,255,.45) 2px, transparent 2px), linear-gradient(90deg, rgba(255,255,255,.45) 2px, transparent 2px); background-size: 18px 18px; }
.tb-play__photo--empty span { font-size: 12px; background: var(--tb-bg); padding: 5px 11px; border-radius: var(--tb-pill); }
.tb-play__fact { border-radius: 32px; background: var(--tb-ink); color: var(--tb-bg); padding: 24px; display: flex; flex-direction: column; justify-content: center; gap: 6px; align-self: end; min-height: 220px; }
.tb-play__fact strong { font-family: var(--tb-font-head); font-weight: 800; font-size: 44px; line-height: 1; }
.tb-play__fact span { font-size: 15px; color: var(--tb-sand); }
.tb-play__text { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.tb-play__text p { margin: 0; line-height: 1.6; }
.tb-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.tb-tags li { border: 1.5px dashed var(--tb-sage); border-radius: var(--tb-pill); padding: 8px 14px; font-size: 14px; font-weight: 500; }

/* ---------- Kiságy ---------- */
.tb-crib { border: 2px dashed var(--tb-sage-2); border-radius: var(--tb-r-xl); padding: clamp(28px, 4vw, 56px); display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.tb-crib__text { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.tb-crib__text p { margin: 0; line-height: 1.6; }
.tb-crib__buy { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.tb-crib__price { font-family: var(--tb-font-head); font-size: 32px; font-weight: 800; }
.tb-crib__media { position: relative; flex: 1 1 480px; min-width: 0; min-height: 420px; border-radius: var(--tb-r-lg); background: var(--tb-sand); overflow: hidden; display: block; }
.tb-crib__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%; transition: transform .5s ease; }
.tb-crib__media:hover img { transform: scale(1.03); }

/* ---------- Műhely ---------- */
.tb-story { position: relative; overflow: hidden; background: var(--tb-sage-soft); background-image: radial-gradient(rgba(255,255,255,.25) 2.5px, transparent 3px); background-size: 22px 22px; padding: 96px var(--tb-gutter); margin-top: 24px; }
.tb-story__word { position: absolute; right: -60px; bottom: -60px; font-family: var(--tb-font-head); font-weight: 800; font-size: 260px; line-height: 1; color: #B8C4AE; pointer-events: none; }
.tb-story__in { position: relative; max-width: var(--tb-wrap); margin: 0 auto; display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.tb-story__photo { position: relative; flex: 1 1 420px; min-width: 0; min-height: 440px; border-radius: 32px 220px 32px 32px; overflow: hidden; background: var(--tb-butter); }
.tb-story__photo > img, .tb-story__photo > picture, .tb-story__photo picture > img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.tb-story__text { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.tb-story__text p { margin: 0; line-height: 1.65; }
.tb-story .tb-h2 em { color: var(--tb-ink); }

/* ---------- Vélemények ---------- */
.tb-reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.tb-review { margin: 0; border-radius: 28px; padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.tb-review--drapp { background: var(--tb-sand-pale); }
.tb-review--butter { background: var(--tb-butter); }
.tb-review--sage { background: var(--tb-sage-pale); }
.tb-stars { font-size: 20px; letter-spacing: 3px; color: var(--tb-clay); }
.tb-review blockquote { margin: 0; font-family: var(--tb-font-head); font-weight: 800; font-size: 22px; line-height: 1.35; }
.tb-review figcaption { font-size: 14px; font-weight: 700; margin-top: auto; }

/* ---------- Biztonságos alvás ---------- */
.tb-sleep { background: var(--tb-white); border: 1px solid var(--tb-sand); border-radius: var(--tb-r-lg); padding: clamp(28px, 4vw, 48px); display: flex; flex-wrap: wrap; gap: 36px; align-items: flex-start; }
.tb-sleep__intro { flex: 1 1 300px; min-width: 0; }
.tb-sleep__intro h2 { margin: 10px 0 12px; font-size: 34px; line-height: 1.05; }
.tb-sleep__intro p { margin: 0; font-size: 16px; line-height: 1.6; }
.tb-sleep__cards { flex: 2 1 520px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.tb-sleep__cards div { background: var(--tb-sand-pale); border-radius: 20px; padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.tb-sleep__cards strong { font-family: var(--tb-font-head); font-size: 22px; font-weight: 800; }
.tb-sleep__cards span { font-size: 15px; line-height: 1.5; }

/* ---------- Hírlevél ---------- */
.tb-news { background: var(--tb-butter); background-image: repeating-linear-gradient(45deg, rgba(255,255,255,.2) 0 6px, transparent 6px 14px); border-radius: var(--tb-r-xl); padding: clamp(32px, 5vw, 64px); display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; }
.tb-news__text { flex: 1 1 380px; min-width: 0; }
.tb-news__text h2 { margin-bottom: 12px; }
.tb-news__text p { margin: 0; }
.tb-news__form { flex: 1 1 380px; min-width: 0; }
.tb-news__form .ff-el-input--content input { height: 56px; border-radius: var(--tb-pill); border: 2px solid var(--tb-ink); background: var(--tb-bg); padding: 0 22px; font: 16px var(--tb-font-body); width: 100%; }
.tb-news__form .ff-btn-submit { height: 56px; padding: 0 28px; border-radius: var(--tb-pill); border: 0; background: var(--tb-ink) !important; color: var(--tb-bg) !important; font-weight: 700; font-size: 16px; cursor: pointer; }
.tb-news__form .ff-btn-submit:hover { background: var(--tb-sage) !important; }
.tb-news__form .ff-el-group { margin-bottom: 12px; }

/* ---------- Válogatott kategóriák ---------- */
.tb-arrows { display: flex; gap: 8px; }
.tb-arrow { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--tb-sand); background: var(--tb-white); color: var(--tb-ink); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.tb-arrow:hover { background: var(--tb-ink); color: var(--tb-bg); border-color: var(--tb-ink); }
.tb-arrow[data-tb-scroll="-1"] svg { transform: rotate(180deg); }
.tb-catrail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 20px) / 4); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.tb-catrail::-webkit-scrollbar { display: none; }
.tb-catcard { scroll-snap-align: start; background: var(--tb-white); border: 1px solid var(--tb-sand); border-radius: 26px; overflow: hidden; display: flex; flex-direction: column; }
.tb-catcard__hero { position: relative; display: block; aspect-ratio: 1 / 1.08; background: var(--tb-sand); overflow: hidden; }
.tb-catcard__hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.tb-catcard:hover .tb-catcard__hero img { transform: scale(1.04); }
.tb-catcard__hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 40%; background: linear-gradient(to top, rgba(47,58,47,.55), transparent); }
.tb-catcard__btn { position: absolute; z-index: 2; left: 14px; right: 14px; bottom: 14px; min-height: 48px; display: flex; align-items: center; justify-content: center; gap: 8px; border-radius: 14px; background: rgba(47,58,47,.55); border: 1px solid rgba(255,255,255,.5); backdrop-filter: blur(6px); color: #fff; font-weight: 700; font-size: 15px; text-align: center; padding: 0 12px; }
.tb-catcard__hero:hover .tb-catcard__btn { background: var(--tb-ink); }
.tb-catcard__items { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); background: var(--tb-sand-pale); }
.tb-catcard__items li + li { border-left: 2px solid var(--tb-white); }
.tb-catcard__items a { display: block; aspect-ratio: 1; overflow: hidden; }
.tb-catcard__items a:hover { background: var(--tb-white); }
.tb-catcard__items picture { display: block; width: 100%; height: 100%; }
.tb-catcard__items img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 1100px) { .tb-catrail { grid-auto-columns: calc((100% - 20px) / 2); } }
@media (max-width: 600px) { .tb-catrail { grid-auto-columns: 82%; } .tb-arrows { display: none; } }

/* Játszósarok: a képek a labdamedence.hu-ra visznek */
a.tb-play__arch, a.tb-play__photo { display: block; }
.tb-play__arch img, .tb-play__photo img { transition: transform .5s ease; }
a.tb-play__arch:hover img, a.tb-play__photo:hover img { transform: scale(1.04); }

/* A főcím két sorban marad */
.tb-hero__title span { display: block; white-space: nowrap; }

/* Hírlevél-űrlap (saját, magyar, GDPR-hozzájárulással) */
.tb-nlform__row { display: flex; flex-wrap: wrap; gap: 12px; }
.tb-nlform__row input[type="email"] { flex: 1 1 240px; min-width: 0; height: 56px; border-radius: var(--tb-pill); border: 2px solid var(--tb-ink); background: var(--tb-bg); padding: 0 22px; font: 16px var(--tb-font-body); color: var(--tb-ink); }
.tb-nlform__row input[type="email"]:focus { outline: 3px solid rgba(86,105,79,.45); outline-offset: 2px; }
.tb-nlform__row .tb-btn { min-height: 56px; padding: 0 30px; }
.tb-nlform__consent { display: flex; gap: 12px; align-items: flex-start; margin-top: 14px; font-size: 14px; line-height: 1.5; cursor: pointer; }
.tb-nlform__consent input { flex: none; width: 20px; height: 20px; margin-top: 2px; accent-color: var(--tb-ink); }
.tb-nlform__consent a { color: var(--tb-ink); font-weight: 700; }
.tb-news .tb-formnote { margin-bottom: 14px; }

/* Termék-karusszel (Takarók) */
.tb-sechead__tools { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.tb-cardrail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 4 * 20px) / 5); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.tb-cardrail::-webkit-scrollbar { display: none; }
.tb-cardrail__item { scroll-snap-align: start; min-width: 0; }
@media (max-width: 1399px) { .tb-cardrail { grid-auto-columns: calc((100% - 3 * 20px) / 4); } }
@media (max-width: 1100px) { .tb-cardrail { grid-auto-columns: calc((100% - 2 * 20px) / 3); } }
@media (max-width: 760px) { .tb-cardrail { grid-auto-columns: calc((100% - 20px) / 2); gap: 14px; } }
@media (max-width: 520px) { .tb-cardrail { grid-auto-columns: 72%; } .tb-sechead__tools .tb-arrows { display: none; } }

/* Színválasztó: a fotó kitölti a panelt (cover) */
.tb-panel { background-color: var(--tb-sand); }
.tb-panel > .tb-panel__bg { display: block; position: absolute; inset: -30px; width: calc(100% + 60px); height: calc(100% + 60px); object-fit: cover; filter: blur(28px) saturate(1.05); opacity: .9; transform: scale(1.05); }
.tb-panel > .tb-panel__img { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center center; }
.tb-swatch__dot { box-shadow: inset 0 0 0 1px rgba(47,58,47,.18); }
@media (max-width: 760px) { .tb-panel { align-items: flex-end; } }

/* Fehér: tiszta fehér háttér, az elmosott keret nélkül */
.tb-panel.tb-panel--white { background-color: #FFFFFF; }
.tb-panel.tb-panel--white > .tb-panel__bg { display: none; }
.tb-panel.tb-panel--white > .tb-panel__img, .tb-panel.tb-panel--white .tb-panel__img > img { object-position: center center; }


/* nemzetközi ajánlás: jelvény + forráslinkek */
.tb-sleep__intro .tb-sleep__source { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 16px; font-size: 14px; line-height: 1.4; }
.tb-sleep__badge { display: inline-block; padding: 5px 12px; border-radius: 999px; background: var(--tb-sage); color: var(--tb-white); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.tb-sleep__source a { color: var(--tb-ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.tb-sleep__source a:hover { color: var(--tb-sage); }

/* A WebP-átalakító <picture>-be csomagolja a képet (az osztály a <picture>-re kerül): a belső kép töltse ki a keretet */
.tb-panel__bg > img, .tb-panel__img > img { display: block; width: 100%; height: 100%; object-fit: inherit; object-position: inherit; }
