/* DodoTesla Modern Products – vše je ohraničené třídami .dtmp / .dtmp-*, aby se nemíchalo s ReHubem. */
:root {
	--dtmp-accent: #E31937;
	--dtmp-accent-dark: #B8122B;
	--dtmp-accent-tint: #FDECEE;
	--dtmp-ink: #111318;
	--dtmp-muted: #5A6170;
	--dtmp-line: #E6E8EC;
	--dtmp-line-soft: #F1F2F5;
	--dtmp-bg: #F6F7F9;
	--dtmp-surface: #FFFFFF;
	--dtmp-warn: #8A5300;
	--dtmp-radius: 18px;
	--dtmp-head: "Poppins", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

.dtmp, .dtmp-grid, body.dtmp-archive .products_category_box { color: var(--dtmp-ink); }
.dtmp *, .dtmp-grid * { box-sizing: border-box; }
.dtmp .screen-reader-text, .dtmp-grid .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.dtmp-muted { color: var(--dtmp-muted); font-size: 13px; }

/* ---------- Tlačítka ---------- */
.dtmp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border-radius: 14px; font-weight: 600; font-size: 15px; line-height: 1.2; text-decoration: none !important; transition: background-color .15s, border-color .15s, color .15s; border: 1px solid transparent; cursor: pointer; text-align: center; }
.dtmp-btn-primary { background: var(--dtmp-accent); color: #fff !important; border-color: var(--dtmp-accent); }
.dtmp-btn-primary:hover, .dtmp-btn-primary:focus-visible { background: var(--dtmp-accent-dark); border-color: var(--dtmp-accent-dark); color: #fff !important; }
.dtmp-btn-ghost { background: var(--dtmp-surface); color: var(--dtmp-ink) !important; border-color: var(--dtmp-line); }
.dtmp-btn-ghost:hover, .dtmp-btn-ghost:focus-visible { background: var(--dtmp-line-soft); color: var(--dtmp-ink) !important; }
.dtmp-btn-sm { min-height: 44px; padding: 0 16px; font-size: 14px; border-radius: 12px; }
.dtmp-btn:focus-visible, .dtmp-thumb:focus-visible, .dtmp-card-title a:focus-visible { outline: 3px solid var(--dtmp-ink); outline-offset: 2px; }

/* ---------- Detail ---------- */
.dtmp { background: var(--dtmp-bg); padding: 0 0 80px; }
.dtmp-wrap { max-width: 1240px; margin: 0 auto; padding: 24px 24px 0; }
.dtmp-breadcrumb .woocommerce-breadcrumb { font-size: 13px; color: var(--dtmp-muted); margin: 0 0 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.dtmp-breadcrumb a { color: var(--dtmp-muted); text-decoration: none; }
.dtmp-breadcrumb a:hover { color: var(--dtmp-ink); }

.dtmp-hero { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.dtmp-gallery { flex: 1 1 520px; min-width: 0; display: flex; gap: 16px; }
.dtmp-thumbs { display: flex; flex-direction: column; gap: 10px; flex-shrink: 0; }
.dtmp-thumb { width: 76px; height: 76px; padding: 6px; background: var(--dtmp-surface); border: 2px solid var(--dtmp-line); border-radius: 12px; cursor: pointer; transition: border-color .15s; }
.dtmp-thumb:hover, .dtmp-thumb.is-active { border-color: var(--dtmp-ink); }
.dtmp-thumb img { width: 100%; height: 100%; object-fit: contain; display: block; }
.dtmp-main-image { position: relative; flex: 1; min-width: 0; aspect-ratio: 1 / 1; background: var(--dtmp-surface); border: 1px solid var(--dtmp-line); border-radius: 20px; display: flex; align-items: center; justify-content: center; padding: 32px; overflow: hidden; }
.dtmp-main-image img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; display: block; }
.dtmp-counter { position: absolute; right: 16px; bottom: 16px; font-size: 12px; color: var(--dtmp-muted); background: var(--dtmp-bg); border-radius: 999px; padding: 4px 10px; }

.dtmp-buy { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.dtmp-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.dtmp-chip { font-size: 12px; font-weight: 600; color: var(--dtmp-ink) !important; background: var(--dtmp-surface); border: 1px solid var(--dtmp-line); border-radius: 999px; padding: 5px 12px; text-decoration: none !important; }
.dtmp-chip:hover { border-color: var(--dtmp-ink); }
.dtmp h1.dtmp-title { margin: 0; font-family: var(--dtmp-head); font-weight: 600; font-size: clamp(26px, 3vw, 36px); line-height: 1.15; letter-spacing: -0.02em; color: var(--dtmp-ink); }
.dtmp-sub { margin: 0; font-size: 14px; color: var(--dtmp-muted); }
.dtmp-short { font-size: 15px; line-height: 1.6; color: var(--dtmp-ink); }
.dtmp-short p { margin: 0 0 8px; }

.dtmp-pricebox { background: var(--dtmp-surface); border: 1px solid var(--dtmp-line); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.dtmp-pricebox-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.dtmp-label { font-size: 13px; font-weight: 600; color: var(--dtmp-muted); text-transform: uppercase; letter-spacing: .06em; }
.dtmp-price-row { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.dtmp-price { font-family: var(--dtmp-head); font-size: clamp(32px, 4vw, 44px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
.dtmp-price .woocommerce-Price-amount, .dtmp-offer-amount .woocommerce-Price-amount, .dtmp-card-amount .woocommerce-Price-amount { color: inherit; font: inherit; }
.dtmp-at { font-size: 15px; color: var(--dtmp-muted); }
.dtmp-at strong { color: var(--dtmp-ink); }
.dtmp-warn { margin: 0; font-size: 13px; font-weight: 600; color: var(--dtmp-warn); background: #FFF4E0; border-radius: 10px; padding: 8px 12px; }
.dtmp-noprice { margin: 0; font-size: 15px; color: var(--dtmp-muted); }
.dtmp-disclaimer { margin: 0; font-size: 12px; line-height: 1.5; color: var(--dtmp-muted); }
.dtmp-pricebox .dtmp-btn { width: 100%; }
.dtmp-pricebox .dtmp-btn-primary { min-height: 56px; font-size: 16px; }

.dtmp-facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.dtmp-facts li { background: var(--dtmp-surface); border: 1px solid var(--dtmp-line); border-radius: 14px; padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; margin: 0; }
.dtmp-facts span { font-size: 12px; color: var(--dtmp-muted); }
.dtmp-facts strong { font-size: 15px; }

.dtmp-section { margin-top: 56px; }
.dtmp-section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.dtmp .dtmp-section h2, .dtmp .dtmp-h2 { margin: 0 0 16px; font-family: var(--dtmp-head); font-size: 24px; font-weight: 600; letter-spacing: -0.01em; color: var(--dtmp-ink); }
.dtmp .dtmp-section-head h2 { margin: 0; }

.dtmp-offers { background: var(--dtmp-surface); border: 1px solid var(--dtmp-line); border-radius: 20px; overflow: hidden; }
.dtmp-offer { display: flex; align-items: center; gap: 20px; padding: 18px 24px; border-top: 1px solid var(--dtmp-line-soft); flex-wrap: wrap; }
.dtmp-offer:first-child { border-top: 0; }
.dtmp-offer:hover { background: #FAFAFC; }
.dtmp-offer.is-oos { opacity: .65; }
.dtmp-offer-shop { display: flex; align-items: center; gap: 14px; flex: 1 1 240px; min-width: 0; }
.dtmp-logo { width: 44px; height: 44px; border-radius: 12px; background: var(--dtmp-line-soft); display: flex; align-items: center; justify-content: center; flex-shrink: 0; overflow: hidden; }
.dtmp-logo img { width: 28px; height: 28px; object-fit: contain; }
.dtmp-logo-text { font-family: var(--dtmp-head); font-weight: 700; font-size: 18px; }
.dtmp-offer-name { font-weight: 600; font-size: 16px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.dtmp-badge { font-size: 11px; font-weight: 700; color: var(--dtmp-accent-dark); background: var(--dtmp-accent-tint); border-radius: 999px; padding: 3px 8px; text-transform: uppercase; letter-spacing: .04em; }
.dtmp-offer-meta { flex: 0 1 220px; display: flex; flex-direction: column; gap: 2px; }
.dtmp-warn-inline { font-size: 12px; font-weight: 600; color: var(--dtmp-warn); }
.dtmp-oos { font-size: 12px; font-weight: 700; color: var(--dtmp-muted); text-transform: uppercase; letter-spacing: .04em; }
.dtmp-offer-price { flex: 0 0 180px; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; text-align: right; }
.dtmp-offer-amount { font-family: var(--dtmp-head); font-size: 22px; font-weight: 700; }

.dtmp-details { display: flex; flex-wrap: wrap; gap: 24px; }
.dtmp-card { background: var(--dtmp-surface); border: 1px solid var(--dtmp-line); border-radius: 20px; padding: 28px; min-width: 0; }
.dtmp-desc { flex: 2 1 520px; }
.dtmp-info { flex: 1 1 300px; }
.dtmp .dtmp-card h2 { font-size: 20px; margin: 0 0 12px; }
.dtmp .dtmp-card h2 + * { margin-top: 0; }
.dtmp-info h2:not(:first-child) { margin-top: 24px !important; }
.dtmp-content { font-size: 15px; line-height: 1.7; }
.dtmp-content img { max-width: 100%; height: auto; border-radius: 12px; }
.dtmp-cats { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.dtmp-cats li { margin: 0; }
.dtmp-cats a { display: inline-block; font-size: 13px; padding: 6px 12px; border: 1px solid var(--dtmp-line); border-radius: 999px; color: var(--dtmp-ink) !important; text-decoration: none !important; }
.dtmp-cats a:hover { border-color: var(--dtmp-ink); }
.dtmp-info .woocommerce-product-attributes { width: 100%; border-collapse: collapse; font-size: 14px; }
.dtmp-info .woocommerce-product-attributes th, .dtmp-info .woocommerce-product-attributes td { text-align: left; padding: 8px 0; border-bottom: 1px solid var(--dtmp-line-soft); vertical-align: top; }
.dtmp-info .woocommerce-product-attributes th { color: var(--dtmp-muted); font-weight: 500; width: 45%; }
.dtmp-info .woocommerce-product-attributes p { margin: 0; }

.dtmp-sticky { display: none; }

/* ---------- Video ---------- */
.dtmp-thumb-video { position: relative; display: flex; align-items: center; justify-content: center; padding: 0; overflow: hidden; background: #111318; text-decoration: none; }
.dtmp-thumb-video img { width: 100%; height: 100%; object-fit: cover; opacity: .75; }
.dtmp-play-mini { position: absolute; width: 30px; height: 30px; border-radius: 999px; background: var(--dtmp-accent); color: #fff; display: flex; align-items: center; justify-content: center; padding-left: 2px; box-shadow: 0 4px 12px rgba(0, 0, 0, .25); }
.dtmp-videos { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; max-width: 880px; }
.dtmp-videos.is-multi { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); max-width: none; }
.dtmp-video { position: relative; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: #111318; border: 1px solid var(--dtmp-line); }
.dtmp-video-btn { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: #111318; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.dtmp-video-btn img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .3s, opacity .3s; opacity: .9; }
.dtmp-video-btn:hover img { transform: scale(1.03); opacity: 1; }
.dtmp-play { position: relative; width: 72px; height: 72px; border-radius: 999px; background: var(--dtmp-accent); color: #fff; display: flex; align-items: center; justify-content: center; padding-left: 4px; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); transition: transform .15s, background-color .15s; }
.dtmp-video-btn:hover .dtmp-play, .dtmp-video-btn:focus-visible .dtmp-play { transform: scale(1.06); background: var(--dtmp-accent-dark); }
.dtmp-video-btn:focus-visible { outline: 3px solid var(--dtmp-accent); outline-offset: -3px; }
.dtmp-video-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.dtmp-video-note { margin: 10px 0 0; }
@media (prefers-reduced-motion: reduce) { .dtmp-video-btn img, .dtmp-play { transition: none; } }

/* ---------- Mřížka a karty (kategorie + podobné produkty) ---------- */
.dtmp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; margin: 24px 0; clear: both; }
.dtmp-grid-related { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); margin: 0; }
.dtmp-grid-single { grid-template-columns: minmax(0, 300px); }
.dtmp-card-p { background: var(--dtmp-surface); border: 1px solid var(--dtmp-line); border-radius: var(--dtmp-radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, border-color .2s, transform .2s; margin: 0; }
.dtmp-card-p:hover { box-shadow: 0 10px 28px rgba(17, 19, 24, .08); border-color: #D5D8DE; transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) { .dtmp-card-p, .dtmp-card-p:hover { transition: none; transform: none; } }
.dtmp-card-media { display: flex; align-items: center; justify-content: center; aspect-ratio: 1 / 1; padding: 18px; background: #fff; border-bottom: 1px solid var(--dtmp-line-soft); }
.dtmp-card-media img { max-width: 100%; max-height: 100%; width: auto !important; height: auto !important; object-fit: contain; display: block; margin: 0; }
.dtmp-card-noimg { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 100%; background: var(--dtmp-bg); color: #9AA0AB; font-size: 13px; border-radius: 10px; }
.dtmp-card-noimg span { color: var(--dtmp-muted); }
.dtmp-card-body { padding: 16px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.dtmp-grid h3.dtmp-card-title { margin: 0; font-size: 15px; font-weight: 600; line-height: 1.35; min-height: calc(1.35em * 2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-family: inherit; text-align: left; }
.dtmp-card-title a { color: var(--dtmp-ink) !important; text-decoration: none !important; }
.dtmp-card-title a:hover { color: var(--dtmp-accent) !important; }
.dtmp-card-price { display: flex; flex-direction: column; gap: 2px; min-height: 44px; }
.dtmp-card-amount { display: flex; align-items: baseline; gap: 6px; font-family: var(--dtmp-head); font-size: 20px; font-weight: 700; }
.dtmp-card-amount.is-empty { font-family: inherit; font-size: 14px; font-weight: 500; color: var(--dtmp-muted); }
.dtmp-from { font-family: inherit; font-size: 13px; font-weight: 500; color: var(--dtmp-muted); }
.dtmp-card-meta { font-size: 13px; color: var(--dtmp-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dtmp-card-cta { margin-top: auto; width: 100%; min-height: 44px; font-size: 14px; border-radius: 12px; }
.dtmp-card-p.is-compact .dtmp-card-body { gap: 6px; }
.dtmp-card-p.is-compact .dtmp-card-price { min-height: 0; }

/* Podkategorie v ReHubu – sjednocení s kartami */
body.dtmp-archive .products_category_box .col_item { border-radius: 14px; border: 1px solid var(--dtmp-line); box-shadow: none; }
body.dtmp-archive .products_category_box img[src*="wooproductph"] { display: none; }


/* ---------- Rozcestník kategorií: Model → skupina → podskupina ---------- */
.dtmp-catalog { color: var(--dtmp-ink); display: flex; flex-direction: column; gap: 40px; margin: 8px 0 32px; }
.dtmp-catalog *, .dtmp-catnav * { box-sizing: border-box; }
.dtmp-catalog ul, .dtmp-catnav ul, .dtmp-catnav ol { list-style: none; margin: 0; padding: 0; }
.dtmp-catalog li, .dtmp-catnav li { margin: 0; }
.dtmp-catalog-head { margin: 0 0 28px; display: flex; flex-direction: column; gap: 8px; }
.dtmp-catalog-all { margin: 0; text-align: center; }
.dtmp-step-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.dtmp-step-n { width: 32px; height: 32px; border-radius: 999px; background: var(--dtmp-ink); color: #fff; font-family: var(--dtmp-head); font-weight: 700; font-size: 15px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.dtmp-catalog h2.dtmp-step-title { margin: 0; font-family: var(--dtmp-head); font-size: 22px; font-weight: 600; letter-spacing: -0.01em; color: var(--dtmp-ink); }
.dtmp-step-hint { margin: 0; padding: 20px; border: 1px dashed #D5D8DE; border-radius: 16px; color: var(--dtmp-muted); font-size: 15px; text-align: center; }

/* Krok 2 dává smysl jen s JS (bez JS vedou dlaždice modelů rovnou na kategorii modelu). */
.dtmp-catalog .dtmp-step-groups { display: none; }
.dtmp-catalog.is-js .dtmp-step-groups { display: block; scroll-margin-top: 90px; }
.dtmp-catalog [hidden] { display: none !important; }

.dtmp-models { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.dtmp-model { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; height: 100%; padding: 16px 14px 18px; background: var(--dtmp-surface); border: 2px solid var(--dtmp-line); border-radius: var(--dtmp-radius); text-align: center; text-decoration: none !important; color: var(--dtmp-ink) !important; transition: border-color .15s, box-shadow .15s, transform .15s; }
.dtmp-model:hover { border-color: #C5C9D1; box-shadow: 0 10px 28px rgba(17, 19, 24, .08); transform: translateY(-2px); }
.dtmp-model.is-active { border-color: var(--dtmp-accent); box-shadow: 0 0 0 3px var(--dtmp-accent-tint); }
.dtmp-model.is-active::after { content: ""; position: absolute; top: 10px; right: 10px; width: 22px; height: 22px; border-radius: 999px; background: var(--dtmp-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5 8.5 14 15 6.5' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.dtmp-model:focus-visible, .dtmp-group-main:focus-visible, .dtmp-pill:focus-visible { outline: 3px solid var(--dtmp-ink); outline-offset: 2px; }
.dtmp-model-img { width: 100%; aspect-ratio: 16 / 10; display: flex; align-items: center; justify-content: center; margin-bottom: 8px; }
.dtmp-model-img img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; display: block; margin: 0; }
.dtmp-model-mono { width: 64px; height: 64px; border-radius: 999px; background: var(--dtmp-bg); font-family: var(--dtmp-head); font-weight: 700; font-size: 28px; display: flex; align-items: center; justify-content: center; }
.dtmp-model-name { font-family: var(--dtmp-head); font-weight: 600; font-size: 17px; line-height: 1.25; }
.dtmp-model-count { font-size: 13px; color: var(--dtmp-muted); }

.dtmp-panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.dtmp-catalog h3.dtmp-panel-title { margin: 0; font-family: var(--dtmp-head); font-size: 18px; font-weight: 600; color: var(--dtmp-muted); }
.dtmp-groups { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.dtmp-group { background: var(--dtmp-surface); border: 1px solid var(--dtmp-line); border-radius: var(--dtmp-radius); overflow: hidden; display: flex; flex-direction: column; }
.dtmp-group-main { display: flex; align-items: center; gap: 14px; padding: 16px 18px; color: var(--dtmp-ink) !important; text-decoration: none !important; transition: background-color .15s; }
.dtmp-group-main:hover { background: var(--dtmp-line-soft); }
.dtmp-group-imgwrap { width: 52px; height: 52px; border-radius: 12px; background: var(--dtmp-bg); display: flex; align-items: center; justify-content: center; overflow: hidden; flex-shrink: 0; }
.dtmp-group-imgwrap img { width: 100%; height: 100%; object-fit: contain; margin: 0; }
.dtmp-group-text { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.dtmp-group-name { font-family: var(--dtmp-head); font-weight: 600; font-size: 16px; line-height: 1.3; }
.dtmp-group-count { font-size: 13px; color: var(--dtmp-muted); }
.dtmp-group-arrow { flex-shrink: 0; color: var(--dtmp-muted); transition: transform .15s, color .15s; }
.dtmp-group-main:hover .dtmp-group-arrow { transform: translateX(3px); color: var(--dtmp-accent); }
.dtmp-group .dtmp-subs { padding: 0 18px 16px; }

.dtmp-subs { display: flex; flex-wrap: wrap; gap: 8px; }
.dtmp-pill { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 6px 12px; font-size: 13px; font-weight: 500; line-height: 1.2; color: var(--dtmp-ink) !important; background: var(--dtmp-surface); border: 1px solid var(--dtmp-line); border-radius: 999px; text-decoration: none !important; transition: border-color .15s, background-color .15s; }
.dtmp-pill span { font-size: 12px; color: var(--dtmp-muted); }
.dtmp-pill:hover { border-color: var(--dtmp-ink); }
.dtmp-pill.is-active { background: var(--dtmp-ink); border-color: var(--dtmp-ink); color: #fff !important; }
.dtmp-pill.is-active span { color: rgba(255, 255, 255, .7); }
.dtmp-pill-more { color: var(--dtmp-muted) !important; border-style: dashed; }
.dtmp-subs-lg .dtmp-pill { min-height: 44px; padding: 8px 16px; font-size: 14px; }

/* Navigace na stránce kategorie */
.dtmp-catnav { color: var(--dtmp-ink); display: flex; flex-direction: column; gap: 12px; margin: 0 0 20px; clear: both; }
.dtmp-catnav-path { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; font-size: 13px; color: var(--dtmp-muted); }
.dtmp-catnav-path li:not(:last-child)::after { content: "›"; margin-left: 6px; color: #9AA0AB; }
.dtmp-catnav-path a { color: var(--dtmp-muted) !important; text-decoration: none !important; }
.dtmp-catnav-path a:hover { color: var(--dtmp-ink) !important; }
.dtmp-catnav-path [aria-current] { color: var(--dtmp-ink); font-weight: 600; }

@media (prefers-reduced-motion: reduce) { .dtmp-model, .dtmp-model:hover, .dtmp-group-arrow, .dtmp-group-main:hover .dtmp-group-arrow { transition: none; transform: none; } }


/* Stránka modelu */
.dtmp-model-hero { display: flex; flex-wrap: wrap; align-items: center; gap: 32px; background: var(--dtmp-surface); border: 1px solid var(--dtmp-line); border-radius: 24px; padding: 28px; margin-bottom: 20px; }
.dtmp-model-hero-img { flex: 1 1 380px; min-width: 0; aspect-ratio: 16 / 9; display: flex; align-items: center; justify-content: center; background: var(--dtmp-bg); border-radius: 18px; overflow: hidden; }
.dtmp-model-hero-img img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; display: block; margin: 0; }
.dtmp-model-hero-img .dtmp-model-mono { width: 120px; height: 120px; font-size: 56px; background: var(--dtmp-surface); }
.dtmp-model-hero-text { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.dtmp-model-hero-text .dtmp-btn { margin-top: 8px; }
.dtmp-model-switch { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 40px; }
.dtmp-model-switch ul { list-style: none; margin: 0; padding: 0; }
.dtmp-model-switch li { margin: 0; }
.dtmp-model-groups { margin-bottom: 32px; gap: 0; }


/* ---------- Stránka 404 ---------- */
.dtmp-404-hero { display: flex; flex-wrap: wrap; align-items: center; gap: 40px; padding-top: 16px; }
.dtmp-404-art { position: relative; flex: 1 1 520px; min-width: 0; background: var(--dtmp-surface); border: 1px solid var(--dtmp-line); border-radius: 24px; padding: 28px 20px 20px; overflow: hidden; }
.dtmp-404-art svg { position: relative; z-index: 1; display: block; width: 100%; height: auto; }
.dtmp-404-num { position: absolute; z-index: 0; top: 4px; left: 20px; font-family: var(--dtmp-head); font-weight: 800; font-size: clamp(80px, 12vw, 150px); line-height: 1; letter-spacing: -0.04em; color: var(--dtmp-line-soft); user-select: none; }
.dtmp-404-text { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.dtmp-404-lead { margin: 0; font-size: 16px; line-height: 1.6; color: var(--dtmp-ink); }
.dtmp-404-quote { margin: 0; padding: 10px 14px; border-left: 3px solid var(--dtmp-accent); background: var(--dtmp-surface); border-radius: 0 12px 12px 0; font-size: 15px; font-style: italic; }
.dtmp-404-quote span { font-style: normal; color: var(--dtmp-muted); font-size: 13px; }
.dtmp-404-search { display: flex; gap: 8px; margin-top: 4px; }
.dtmp-404-search input[type="search"] { flex: 1; min-width: 0; height: 48px; padding: 0 16px; font-size: 15px; color: var(--dtmp-ink); background: var(--dtmp-surface); border: 1px solid var(--dtmp-line); border-radius: 14px; box-shadow: none; margin: 0; }
.dtmp-404-search input[type="search"]:focus { outline: 3px solid var(--dtmp-ink); outline-offset: 1px; border-color: var(--dtmp-ink); }
.dtmp-404-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.dtmp-404-models { margin-top: 4px; }
.dtmp-404 ul { list-style: none; margin: 0; padding: 0; }
.dtmp-404 li { margin: 0; }
.dtmp-404 li::before { display: none; }

/* Výchozí = konečný stav (rozbité okno, koule na zemi); animace jen s .is-play */
.dtmp-404-ball { transform: translate(-70px, 100px); }
.dtmp-404-cracks path { stroke-dasharray: 1; stroke-dashoffset: 0; }
.dtmp-404-flash { opacity: 0; transform-origin: 276px 142px; }
.dtmp-404-art.is-play .dtmp-404-ball { animation: dtmp-ball 2.4s cubic-bezier(.3, 0, .6, 1) both; }
.dtmp-404-art.is-play .dtmp-404-cracks path { animation: dtmp-crack .5s ease-out .72s both; }
.dtmp-404-art.is-play .dtmp-404-flash { animation: dtmp-flash .45s ease-out .72s both; }
.dtmp-404-art.is-play .dtmp-404-glass { animation: dtmp-shake .35s linear .72s both; }
@keyframes dtmp-ball {
	0% { transform: translate(-330px, -80px); }
	30% { transform: translate(0, 0); }
	46% { transform: translate(-14px, 44px); }
	60% { transform: translate(-24px, 100px); }
	69% { transform: translate(-34px, 84px); }
	78% { transform: translate(-42px, 100px); }
	100% { transform: translate(-70px, 100px); }
}
@keyframes dtmp-crack { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes dtmp-flash { 0% { opacity: 0; transform: scale(.3); } 1% { opacity: .95; transform: scale(.3); } 100% { opacity: 0; transform: scale(1.8); } }
@keyframes dtmp-shake { 0%, 100% { transform: translate(0, 0); } 20% { transform: translate(-2px, 1px); } 40% { transform: translate(2px, -1px); } 60% { transform: translate(-1px, 1px); } 80% { transform: translate(1px, 0); } }
@media (prefers-reduced-motion: reduce) {
	.dtmp-404-art.is-play .dtmp-404-ball, .dtmp-404-art.is-play .dtmp-404-cracks path, .dtmp-404-art.is-play .dtmp-404-flash, .dtmp-404-art.is-play .dtmp-404-glass { animation: none; }
}

/* ---------- Widget: doporučené produkty ---------- */
.dtmp-mini { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.dtmp-mini li { margin: 0; padding: 0; border: 0; }
.dtmp-mini li::before { display: none; }
.dtmp-mini-item { display: flex; align-items: center; gap: 12px; padding: 8px; background: var(--dtmp-surface); border: 1px solid var(--dtmp-line); border-radius: 14px; color: var(--dtmp-ink) !important; text-decoration: none !important; transition: border-color .15s, box-shadow .15s; }
.dtmp-mini-item:hover { border-color: #C5C9D1; box-shadow: 0 6px 18px rgba(17, 19, 24, .07); }
.dtmp-mini-item:focus-visible { outline: 3px solid var(--dtmp-ink); outline-offset: 2px; }
.dtmp-mini-img { width: 60px; height: 60px; flex-shrink: 0; border-radius: 10px; background: var(--dtmp-bg); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.dtmp-mini-img img { max-width: 100%; max-height: 100%; width: auto !important; height: auto !important; object-fit: contain; margin: 0 !important; }
.dtmp-mini-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.dtmp-mini-title { font-size: 13.5px; font-weight: 600; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dtmp-mini-price { font-family: var(--dtmp-head); font-weight: 700; font-size: 15px; }
.dtmp-mini-price .woocommerce-Price-amount { color: inherit; font: inherit; }


/* ---------- Slevové kódy [dodotesla_kody] ---------- */
.dtmp-coupons { color: var(--dtmp-ink); display: flex; flex-direction: column; gap: 40px; margin: 8px 0 32px; }
.dtmp-coupons *, .dtmp-coupons *::before { box-sizing: border-box; }
.dtmp-coupons ul { list-style: none; margin: 0; padding: 0; }
.dtmp-coupons li { margin: 0; }
.dtmp-coupons li::before { display: none; }
.dtmp-cp-hero { text-align: center; background: var(--dtmp-ink); color: #fff; border-radius: 24px; padding: 32px 20px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.dtmp-cp-hero p { margin: 0; max-width: 560px; color: rgba(255, 255, 255, .75); font-size: 15px; line-height: 1.6; }
.dtmp-cp-eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #FF8A9B; }
.dtmp-coupons h2.dtmp-cp-h2 { margin: 0 0 16px; font-family: var(--dtmp-head); font-size: 24px; font-weight: 600; letter-spacing: -0.01em; color: var(--dtmp-ink); }
.dtmp-cp-code { display: inline-flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 48px; padding: 6px 6px 6px 16px; background: var(--dtmp-bg); border: 2px dashed #C5C9D1; border-radius: 12px; font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: 17px; font-weight: 700; letter-spacing: .06em; color: var(--dtmp-ink); cursor: pointer; transition: border-color .15s, background-color .15s; }
.dtmp-cp-code:hover { border-color: var(--dtmp-ink); }
.dtmp-cp-code:focus-visible { outline: 3px solid var(--dtmp-ink); outline-offset: 2px; }
.dtmp-cp-copy { flex-shrink: 0; font-family: var(--dtmp-head); font-size: 13px; font-weight: 600; letter-spacing: 0; padding: 9px 12px; border-radius: 9px; background: var(--dtmp-ink); color: #fff; }
.dtmp-cp-code.is-copied { border-color: #1A7F37; background: #EAF6EC; }
.dtmp-cp-code.is-copied .dtmp-cp-copy { background: #1A7F37; }
.dtmp-cp-code-xl { width: auto; min-width: min(100%, 360px); min-height: 64px; font-size: 28px; padding: 8px 8px 8px 24px; background: #fff; border-color: #fff; }
.dtmp-cp-code-xl .dtmp-cp-copy { background: var(--dtmp-accent); font-size: 14px; padding: 12px 16px; }
.dtmp-cp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.dtmp-cp-card { background: var(--dtmp-surface); border: 1px solid var(--dtmp-line); border-radius: var(--dtmp-radius); padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.dtmp-cp-card-head { display: flex; align-items: center; gap: 12px; }
.dtmp-cp-logo { width: 44px; height: 44px; border-radius: 12px; background: var(--dtmp-ink); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--dtmp-head); font-weight: 700; font-size: 20px; flex-shrink: 0; }
.dtmp-cp-name { font-family: var(--dtmp-head); font-weight: 600; font-size: 18px; }
.dtmp-cp-discount { margin: 0; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.dtmp-cp-discount strong { font-family: var(--dtmp-head); font-size: 34px; font-weight: 800; line-height: 1; color: var(--dtmp-accent); letter-spacing: -0.02em; }
.dtmp-cp-discount span { color: var(--dtmp-muted); font-size: 14px; }
.dtmp-cp-go { width: 100%; margin-top: auto; }
.dtmp-cp-ali { background: var(--dtmp-surface); border: 1px solid var(--dtmp-line); border-radius: 24px; padding: 28px; }
.dtmp-cp-ali-note { margin: -6px 0 16px; color: var(--dtmp-muted); font-size: 15px; }
.dtmp-cp-ali-empty { margin: 0 0 16px; padding: 18px; border: 1px dashed #C5C9D1; border-radius: 14px; color: var(--dtmp-muted); text-align: center; }
.dtmp-cp-ali-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 10px; margin-bottom: 18px !important; }
.dtmp-cp-ali-list li { display: grid; grid-template-columns: auto 1fr; grid-template-areas: "off min" "code code"; align-items: baseline; gap: 4px 10px; padding: 14px; background: var(--dtmp-bg); border-radius: 14px; }
.dtmp-cp-ali-off { grid-area: off; font-family: var(--dtmp-head); font-weight: 800; font-size: 22px; color: var(--dtmp-accent); }
.dtmp-cp-ali-min { grid-area: min; color: var(--dtmp-muted); font-size: 14px; }
.dtmp-cp-ali-list .dtmp-cp-code { grid-area: code; margin-top: 6px; background: #fff; }
.dtmp-cp-perks { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--dtmp-muted); font-size: 14px; }
.dtmp-cp-perks li::before { content: "✓ "; display: inline !important; color: #1A7F37; font-weight: 700; }
.dtmp-cp-disclaimer { margin: 0; }


/* ---------- Výpis článků [dodotesla_clanky] ---------- */
.dtmp-posts { color: var(--dtmp-ink); margin: 8px 0 32px; }
.dtmp-posts * { box-sizing: border-box; }
.dtmp-posts-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.dtmp-posts h2.dtmp-posts-title { margin: 0; font-family: var(--dtmp-head); font-size: clamp(24px, 3vw, 32px); font-weight: 700; letter-spacing: -0.015em; color: var(--dtmp-ink); }
.dtmp-posts-all { font-weight: 600; font-size: 15px; color: var(--dtmp-accent) !important; text-decoration: none !important; }
.dtmp-posts-all:hover { text-decoration: underline !important; }
.dtmp-posts-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.dtmp-post { margin: 0; background: var(--dtmp-surface); border: 1px solid var(--dtmp-line); border-radius: var(--dtmp-radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s, border-color .2s; }
.dtmp-post::before { display: none; }
.dtmp-post:hover { box-shadow: 0 12px 30px rgba(17, 19, 24, .09); transform: translateY(-2px); border-color: #D5D8DE; }
.dtmp-post-media { display: block; aspect-ratio: 1200 / 630; background: var(--dtmp-ink); overflow: hidden; }
.dtmp-post-media img { width: 100% !important; height: 100% !important; object-fit: cover; display: block; margin: 0; transition: transform .3s; }
.dtmp-post:hover .dtmp-post-media img { transform: scale(1.03); }
.dtmp-post-ph { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; background: radial-gradient(circle at 80% 20%, #2a1016, #111318 60%); font-family: var(--dtmp-head); font-weight: 800; font-size: 34px; line-height: .85; }
.dtmp-post-ph b:first-child { color: #F2E8DA; } .dtmp-post-ph b:last-child { color: var(--dtmp-accent); }
.dtmp-post-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.dtmp-post-date { font-size: 13px; font-weight: 600; color: var(--dtmp-muted); letter-spacing: .02em; }
.dtmp-posts h3.dtmp-post-title { margin: 0; font-family: var(--dtmp-head); font-size: 18px; font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; }
.dtmp-post-title a { color: var(--dtmp-ink) !important; text-decoration: none !important; }
.dtmp-post-title a:hover { color: var(--dtmp-accent) !important; }
.dtmp-post-excerpt { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--dtmp-muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.dtmp-post-more { margin-top: auto; padding-top: 6px; font-weight: 700; font-size: 14.5px; color: var(--dtmp-accent) !important; text-decoration: none !important; }
.dtmp-post-title a:focus-visible, .dtmp-post-more:focus-visible, .dtmp-posts-all:focus-visible { outline: 3px solid var(--dtmp-ink); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .dtmp-post, .dtmp-post:hover, .dtmp-post-media img { transition: none; transform: none !important; } }

/* ---------- Mobil ---------- */
@media (max-width: 767px) {
	.dtmp-wrap { padding: 12px 16px 0; }
	.dtmp-hero { gap: 20px; }
	.dtmp-gallery { flex-direction: column-reverse; flex-basis: 100%; }
	.dtmp-thumbs { flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 4px; }
	.dtmp-thumb { width: 64px; height: 64px; flex-shrink: 0; scroll-snap-align: start; }
	.dtmp-video { border-radius: 14px; }
	.dtmp-play { width: 60px; height: 60px; }
	.dtmp-main-image { padding: 20px; border-radius: 18px; }
	.dtmp-buy { flex-basis: 100%; }
	.dtmp-section { margin-top: 36px; }
	.dtmp-offer { padding: 16px; gap: 12px; }
	.dtmp-offer-meta { order: 3; flex-basis: 100%; }
	.dtmp-offer-price { flex: 0 0 auto; }
	.dtmp-offer .dtmp-btn { order: 4; flex-basis: 100%; }
	.dtmp-card { padding: 20px; }

	.dtmp-sticky { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 9990; align-items: center; gap: 12px; background: #fff; border-top: 1px solid var(--dtmp-line); padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); box-shadow: 0 -6px 20px rgba(17, 19, 24, .06); }
	.dtmp-sticky-price { display: flex; flex-direction: column; flex-shrink: 0; }
	.dtmp-sticky-price strong { font-family: var(--dtmp-head); font-size: 20px; }
	.dtmp-sticky .dtmp-btn { flex: 1; min-height: 50px; }
	body.dtmp-single { padding-bottom: 84px; }

	.dtmp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.dtmp-card-p { border-radius: 14px; }
	.dtmp-card-media { padding: 10px; }
	.dtmp-card-body { padding: 10px 12px 12px; gap: 6px; }
	.dtmp-grid h3.dtmp-card-title { font-size: 13px; }
	.dtmp-card-amount { font-size: 17px; }
	.dtmp-card-meta { font-size: 11px; }
	.dtmp-card-cta { font-size: 13px; border-radius: 10px; padding: 0 8px; }

	.dtmp-catalog { gap: 28px; }
	.dtmp-coupons { gap: 28px; }
	.dtmp-cp-hero { border-radius: 18px; padding: 24px 16px; }
	.dtmp-cp-code-xl { font-size: 22px; width: 100%; padding-left: 16px; }
	.dtmp-cp-ali { padding: 18px; border-radius: 18px; }
	.dtmp-cp-ali-list { grid-template-columns: minmax(0, 1fr); }
	.dtmp-404-hero { gap: 20px; padding-top: 4px; }
	.dtmp-404-art { padding: 20px 10px 12px; border-radius: 18px; }
	.dtmp-404-search .dtmp-btn { padding: 0 16px; }
	.dtmp-404-actions .dtmp-btn { flex: 1 1 auto; }
	.dtmp-model-hero { padding: 16px; gap: 16px; border-radius: 18px; }
	.dtmp-model-hero-text .dtmp-btn { width: 100%; }
	.dtmp-model-switch { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px 28px; padding: 0 16px 4px; }
	.dtmp-model-switch ul { flex-wrap: nowrap; }
	.dtmp-model-switch li { flex-shrink: 0; }
	.dtmp-model-switch > span { flex-shrink: 0; }
	.dtmp-catalog h2.dtmp-step-title { font-size: 19px; }
	.dtmp-models { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.dtmp-model { padding: 12px 10px 14px; border-radius: 14px; }
	.dtmp-model-name { font-size: 15px; }
	.dtmp-model-mono { width: 52px; height: 52px; font-size: 22px; }
	.dtmp-groups { grid-template-columns: minmax(0, 1fr); gap: 10px; }
	.dtmp-group { border-radius: 14px; }
	.dtmp-group-main { padding: 14px; }
	.dtmp-group .dtmp-subs { padding: 0 14px 14px; }
	.dtmp-catnav-chips { flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x proximity; margin: 0 -16px; padding: 0 16px 4px; }
	.dtmp-catnav-chips li { flex-shrink: 0; scroll-snap-align: start; }
	.dtmp-catnav-chips .dtmp-pill { min-height: 40px; }
}
