/* === DREAMY — popisky ložního prádla Lejaan (styl podle lejaan.cz)  ·  v2 · 2026-10-18 (popisky + rozvržení karty v7) ===
 * Nadstavba nad popisky.css. Kořen: <div class="dpd dpd--lj">. Vše je pod .dpd--lj → ostatní popisky neovlivní.
 * Záhlaví (za popisky-textil.css): <link rel="stylesheet" href="/user/documents/upload/styles/popisky-lejaan.css?v=1">
 * Styl: bílá, teplá černá #2f2c29, ostré rohy, velké fotky, hodně vzduchu, tenké nadpisy, žádná růžová.
 */
.dpd--lj { --lj-ink: #2f2c29; --lj-body: #4a4643; --lj-muted: #8a8580; --lj-line: #e6e3df; --lj-bg: #f3f2f0; --lj-btn: #3a3631;
  color: var(--lj-body); font-size: 15.5px; line-height: 1.7; }
.dpd--lj * { box-sizing: border-box; }
.dpd--lj p, .dpd--lj ul, .dpd--lj h2, .dpd--lj h3, .dpd--lj figure { margin: 0; padding: 0; }
.dpd--lj ul { list-style: none; }
.dpd--lj h2 { font-size: clamp(26px, 3.2vw, 38px); line-height: 1.18; font-weight: 400; letter-spacing: -.01em; color: var(--lj-ink); }
.dpd--lj h3 { font-size: 18px; line-height: 1.35; font-weight: 500; color: var(--lj-ink); }
.dpd--lj img { display: block; width: 100%; max-width: none; border-radius: 0; }
.dpd--lj .lj-sec { margin: 0 0 96px; }
.dpd--lj .lj-eye { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--lj-muted); font-weight: 500; margin-bottom: 14px; }
.dpd--lj .lj-lead { font-size: 17px; line-height: 1.7; color: var(--lj-body); max-width: 560px; margin-top: 18px; }
.dpd--lj .lj-small { font-size: 13.5px; color: var(--lj-muted); }
.dpd--lj a { color: var(--lj-ink); }

/* téma Shoptetu nastavuje nadpisům v popisu tučné písmo a vlastní okraje → přebít */
.dpd.dpd--lj h2 { font-weight: 400 !important; color: var(--lj-ink) !important; margin: 0 !important; text-transform: none !important; }
.dpd.dpd--lj h3 { font-weight: 500 !important; color: var(--lj-ink) !important; text-transform: none !important; }
.dpd.dpd--lj .lj-tile h3 { font-weight: 400 !important; margin: 12px 0 0 !important; }

/* obrázky s pevným poměrem — téma Shoptetu jinak přepisuje výšku */
.dpd--lj .lj-img { position: relative; overflow: hidden; background: var(--lj-bg); }
.dpd--lj .lj-img img { position: absolute; inset: 0; width: 100%; height: 100% !important; object-fit: cover; }
.dpd--lj .lj-45 { aspect-ratio: 4 / 5; }
.dpd--lj .lj-32 { aspect-ratio: 3 / 2; }
.dpd--lj .lj-wide { aspect-ratio: 16 / 9; }

/* 1) úvod: velká fotka + text */
.dpd--lj .lj-hero { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; }
.dpd--lj .lj-hero h2 { font-size: clamp(30px, 3.6vw, 44px); }
.dpd--lj .lj-badges { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--lj-line); font-size: 14px; color: var(--lj-ink); }
.dpd--lj .lj-badges li { display: flex; align-items: center; gap: 8px; }
.dpd--lj .lj-badges i { width: 7px; height: 7px; border-radius: 50%; background: var(--lj-ink); font-size: 0; line-height: 0; color: transparent; flex: none; }

/* 2) fotka přes celou šířku s textem */
.dpd--lj .lj-mood { position: relative; }
.dpd--lj .lj-mood .lj-img { aspect-ratio: 16 / 9; }
.dpd--lj .lj-mood-txt { position: absolute; left: 0; right: 0; bottom: 0; padding: 48px 48px 44px; background: linear-gradient(transparent, rgba(20, 18, 16, .62)); color: #fff; }
.dpd--lj .lj-mood-txt p { color: #fff; font-size: clamp(22px, 2.6vw, 32px); line-height: 1.25; font-weight: 300; max-width: 640px; }

/* 3) dvojice fotka + text */
.dpd--lj .lj-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.dpd--lj .lj-duo--rev > :first-child { order: 2; }

/* čísla */
.dpd--lj .lj-nums { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--lj-line); border-bottom: 1px solid var(--lj-line); margin-top: 32px; }
.dpd--lj .lj-nums li { padding: 22px 16px 20px 0; }
.dpd--lj .lj-nums b { display: block; font-size: 30px; font-weight: 300; color: var(--lj-ink); line-height: 1.1; }
.dpd--lj .lj-nums b small { font-size: 16px; margin-left: 2px; }
.dpd--lj .lj-nums span { display: block; margin-top: 6px; font-size: 13px; color: var(--lj-muted); }
.dpd--lj .lj-nums--2 { grid-template-columns: repeat(2, 1fr); }

/* odstín */
.dpd--lj .lj-swatch { display: flex; align-items: center; gap: 14px; margin-top: 26px; }
.dpd--lj .lj-swatch i { width: 46px; height: 46px; background: var(--c); font-size: 0; line-height: 0; color: transparent; flex: none; }
.dpd--lj .lj-swatch b { display: block; color: var(--lj-ink); font-weight: 500; }

/* galerie detailů (3 fotky) */
.dpd--lj .lj-trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 28px; }
.dpd--lj .lj-trio figcaption { margin-top: 10px; font-size: 13.5px; color: var(--lj-muted); }

/* rozbalovací bloky (jako Lejaan: Konstrukce / Prošití a zapínání / Vlastnosti / Péče) */
.dpd--lj .lj-acc { border-top: 1px solid var(--lj-ink); margin-top: 26px; }
.dpd--lj .lj-acc details { border-bottom: 1px solid var(--lj-line); }
.dpd--lj .lj-acc summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; position: relative; font-weight: 500; color: var(--lj-ink); font-size: 16px; }
.dpd--lj .lj-acc summary::-webkit-details-marker { display: none; }
.dpd--lj .lj-acc summary::after { content: ''; position: absolute; right: 4px; top: 50%; width: 8px; height: 8px; border-right: 1.5px solid var(--lj-ink); border-bottom: 1.5px solid var(--lj-ink); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.dpd--lj .lj-acc details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.dpd--lj .lj-acc details > div { padding: 0 0 22px; max-width: 680px; }
.dpd--lj .lj-acc details > div p + p { margin-top: 10px; }
.dpd--lj .lj-rows li { display: flex; justify-content: space-between; gap: 18px; padding: 9px 0; border-bottom: 1px solid var(--lj-line); font-size: 14.5px; }
.dpd--lj .lj-rows li:last-child { border-bottom: 0; }
.dpd--lj .lj-rows li span:first-child { color: var(--lj-muted); }
.dpd--lj .lj-rows li span:last-child { color: var(--lj-ink); text-align: right; }
.dpd--lj .lj-sizes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.dpd--lj .lj-sizes li { padding: 8px 12px; border: 1px solid var(--lj-line); font-size: 14px; color: var(--lj-ink); }

/* produktová mřížka (kolekce, další odstíny) */
.dpd--lj .lj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 12px; margin-top: 30px; }
.dpd--lj .lj-grid--4 { grid-template-columns: repeat(4, 1fr); }
.dpd--lj .lj-grid--2 { grid-template-columns: repeat(2, 1fr); max-width: 760px; }
.dpd--lj .lj-tile h3 { font-size: 15.5px; font-weight: 400; margin-top: 12px; }
.dpd--lj .lj-tile p { font-size: 13.5px; color: var(--lj-muted); margin-top: 2px; }
.dpd--lj .lj-tile .lj-tag { position: absolute; top: 14px; left: 14px; z-index: 1; background: var(--lj-btn); color: #fff; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; padding: 6px 9px; }
.dpd--lj .lj-tile.is-on .lj-img { outline: 1px solid var(--lj-ink); outline-offset: 4px; }
/* proklik dlaždice: <a> jen v nadpisu (editor Shoptetu rozbije bloky v <a>), roztažený přes celou dlaždici */
.dpd--lj .lj-tile { position: relative; }
.dpd--lj .lj-tile h3 a { color: inherit !important; text-decoration: none !important; }
.dpd--lj .lj-tile h3 a::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.dpd--lj .lj-tile:has(h3 a):hover h3 a { text-decoration: underline !important; }
.dpd--lj .lj-tile:has(h3 a) .lj-img img { transition: transform .4s ease; }
.dpd--lj .lj-tile:has(h3 a):hover .lj-img img { transform: scale(1.03); }

/* Lejaan: na kartách neplatí „Až 90 dní na výměnu“ (výměna matrace/polštáře) → banner skrýt jen na stránkách s popiskem Lejaan */
body:has(.dpd--lj) .benefitBanner__item:has(img[alt*="výměnu"]) { display: none !important; }

/* výzva */
.dpd--lj .lj-cta { display: grid; grid-template-columns: 1fr 1fr; background: var(--lj-bg); align-items: stretch; }
.dpd--lj .lj-cta-txt { padding: 56px 48px; display: flex; flex-direction: column; justify-content: center; }
.dpd--lj .lj-cta .lj-img { min-height: 320px; }
.dpd--lj .lj-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.dpd--lj .lj-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 26px; background: var(--lj-btn); color: #fff !important; text-decoration: none !important; font-weight: 500; font-size: 15px; border: 1px solid var(--lj-btn); transition: background .2s; }
.dpd--lj .lj-btn:hover { background: #1f1c19; }
.dpd--lj .lj-btn--ghost { background: transparent; color: var(--lj-ink) !important; }
.dpd--lj .lj-btn--ghost:hover { background: #fff; }

@media (max-width: 860px) {
  .dpd--lj .lj-sec { margin-bottom: 64px; }
  .dpd--lj .lj-hero, .dpd--lj .lj-duo { grid-template-columns: 1fr; gap: 28px; }
  .dpd--lj .lj-duo--rev > :first-child { order: 0; }
  .dpd--lj .lj-mood .lj-img { aspect-ratio: 4 / 5; }
  .dpd--lj .lj-mood-txt { padding: 28px 22px 24px; }
  .dpd--lj .lj-nums { grid-template-columns: repeat(2, 1fr); }
  .dpd--lj .lj-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .dpd--lj .lj-cta { grid-template-columns: 1fr; }
  .dpd--lj .lj-cta-txt { padding: 36px 24px; }
}
@media (max-width: 560px) {
  .dpd--lj .lj-trio { grid-template-columns: 1fr 1fr; }
  .dpd--lj .lj-trio figure:first-child { grid-column: 1 / -1; }
  .dpd--lj .lj-grid { grid-template-columns: 1fr 1fr; gap: 22px 10px; }
  .dpd--lj .lj-grid:not(.lj-grid--4):not(.lj-grid--2) .lj-tile:first-child { grid-column: 1 / -1; }
  .dpd--lj .lj-btn { width: 100%; }
}

/* ===== v7 · rozvržení karty Lejaan (schváleno 18. 10. 2026) — jen stránky s popiskem Lejaan =====
 * Galerie jako lejaan.cz (fotky a videa pod sebou, 4:3), řádek max. 1 600 px, pravý sloupec Dreamy přichycený.
 * Fotky a videa do galerie vkládá popisky-lejaan.js (Zápatí). */
body:has(.dpd--lj) .overall-wrapper { overflow: clip !important; }
body:has(.dpd--lj) .stars-wrapper { display: none !important; }
body:has(.dpd--lj) .lj-data { display: none !important; }
.lj5-gal { display: flex; flex-direction: column; gap: 20px; }
html body .lj5-m { margin: 0; aspect-ratio: 4 / 3; background: #f3f2f0; overflow: hidden !important; position: relative; border-radius: 0 !important; }
html body .lj5-m img, html body .lj5-m video { position: absolute !important; inset: 0 !important; width: 100% !important; height: 100% !important; max-width: none !important; max-height: none !important; object-fit: cover !important; border-radius: 0 !important; }
body:has(.dpd--lj) .p-image, body:has(.dpd--lj) .p-image-wrapper { border-radius: 0 !important; }
.lj5-dots { display: none; }
.lj6-trust { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; margin: 20px 0 6px; font-size: 14px; }
.lj6-trust span { display: flex; align-items: center; gap: 10px; } .lj6-trust svg { flex: none; } .lj6-trust a { color: inherit !important; }
.lj6-side { margin-top: 18px; }
.lj6-kol { margin-top: 22px; } .lj6-kol h4 { margin: 0 0 10px; }
.lj6-kol a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid #eee; color: inherit !important; text-decoration: none !important; }
.lj6-kol small { display: block; opacity: .7; } .lj6-kol a:hover b { text-decoration: underline; }
.lj6-ox { font-size: 13px; margin-left: 8px; text-decoration: underline; cursor: help; font-weight: 400; text-transform: none; letter-spacing: 0; }
@media (min-width: 992px) {
  html body:has(.dpd--lj) .p-detail-inner .row.product-top.product-top { width: min(calc(100vw - 96px), 1600px) !important; max-width: none !important; margin-left: calc(50% - min(calc(50vw - 48px), 800px)) !important; margin-right: 0 !important; display: grid !important; grid-template-columns: 3fr 2fr !important; column-gap: 50px !important; row-gap: 0 !important; align-items: start !important; }
  html body:has(.dpd--lj) .row.product-top.product-top > .col-xs-12:not(.p-image-wrapper):not(.p-info-wrapper) { grid-column: 1 / -1 !important; }
  html body:has(.dpd--lj) .row.product-top.product-top > .p-image-wrapper { grid-column: 1 !important; width: auto !important; max-width: none !important; float: none !important; padding: 0 !important; }
  html body:has(.dpd--lj) .row.product-top.product-top > .p-info-wrapper { grid-column: 2 !important; width: auto !important; max-width: none !important; float: none !important; position: sticky !important; top: 100px !important; align-self: start !important; }
}
@media (max-width: 991px) {
  .lj5-gal { flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory; gap: 0; margin: 0 -15px; }
  html body .lj5-m { flex: 0 0 100%; scroll-snap-align: start; }
  .lj5-dots { display: block; text-align: center; font-size: 13px; opacity: .7; margin: 8px 0 18px; }
  .lj6-trust { grid-template-columns: 1fr; }
}