/* Wave C — PDP to the live CDE: 1360px frame, sticky gallery (thumb column + 1:1 main), info column with
   linked-product rows, dark add CTA with sheen, facts grid, accordions, description + parameters, GPSR,
   related grid on the shared Product Card, reviews, dark gallery lightbox. */
.ut-pdp { box-sizing: border-box; max-width: 85rem; margin: 0 auto; padding: 26px clamp(16px, 3vw, 40px) 0; }
.ut-pdp__breadcrumbs { margin-bottom: 22px; color: #9a8f81; font-size: 14.5px; line-height: normal; }
.ut-pdp__breadcrumbs ol { display: flex; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; }
.ut-pdp__breadcrumbs li + li::before { margin: 0 .3em; content: "/"; }
.ut-pdp__breadcrumbs a { color: inherit; text-decoration: none; }
.ut-pdp__breadcrumbs [aria-current="page"] { color: var(--ut-color-ink); }

.ut-pdp__top { display: flex; flex-wrap: wrap; align-items: flex-start; gap: clamp(28px, 3.4vw, 56px); }

/* Gallery */
.ut-pdp-gallery { position: sticky; top: 110px; display: grid; flex: 1 1 520px; min-width: min(100%, 320px); grid-template-columns: minmax(58px, 76px) minmax(0, 1fr); gap: 14px; }
.ut-pdp-gallery--single { grid-template-columns: minmax(0, 1fr); }
.ut-pdp-gallery__thumbs { display: flex; flex-direction: column; gap: 10px; }
.ut-pdp-gallery__thumb { position: relative; display: block; overflow: hidden; padding: 0; border: 1px solid #e3d8c9; border-radius: 6px; background: #fff; aspect-ratio: 1 / 1; cursor: pointer; }
.ut-pdp-gallery__thumb.is-active { border: 2px solid var(--ut-color-ink); }
.ut-pdp-gallery__thumb img { display: block; width: 100%; height: 100%; object-fit: contain; }
.ut-pdp-gallery__main { position: relative; overflow: hidden; border-radius: 10px; background: #fff; aspect-ratio: auto; align-self: start; }
.ut-pdp-gallery__main > img { display: block; width: 100%; height: auto; object-fit: contain; }
.ut-pdp-gallery__zoom { display: block; width: 100%; height: auto; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
.ut-pdp-gallery__zoom img { display: block; width: 100%; height: auto; object-fit: contain; object-position: var(--ut-product-image-position, center); }
.ut-pdp-gallery__zoom:focus-visible { outline-offset: -4px; }
.ut-pdp-gallery__launch { position: absolute; z-index: 2; right: 14px; bottom: 14px; display: flex; min-height: 44px; align-items: center; gap: 8px; padding: 10px 16px; border: 0; border-radius: 999px; background: rgb(255 252 247 / 92%); box-shadow: 0 2px 10px rgb(44 39 34 / 12%); color: var(--ut-color-ink); font: inherit; font-size: 15px; line-height: normal; cursor: pointer; transition: background .2s ease; }
.ut-pdp-gallery__launch:hover { background: var(--ut-color-surface); }
.ut-pdp-gallery__launch svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.7; }

/* Info column */
.ut-pdp__info { flex: 1 1 400px; min-width: min(100%, 300px); }

/* Sticky columns: without JS the gallery stays sticky (CDE). shell.js sets data-ut-pdp-sticky on the top row to
   the shorter column (gallery | info) or none (stacked, near-equal heights) and drives its top so a column taller
   than the viewport scrolls with the page in both directions. Sticky never leaves .ut-pdp__top. */
.ut-pdp__top[data-ut-pdp-sticky] .ut-pdp-gallery { position: relative; top: auto; }
.ut-pdp__top[data-ut-pdp-sticky="gallery"] .ut-pdp-gallery,
.ut-pdp__top[data-ut-pdp-sticky="info"] .ut-pdp__info { position: sticky; }
.ut-pdp__kicker { display: inline-block; margin-bottom: 12px; color: #9a8f81; font-size: 13px; letter-spacing: .14em; line-height: normal; text-decoration: none; text-transform: uppercase; }
.ut-pdp h1 { margin: 0 0 12px; color: var(--ut-color-ink); font-family: var(--ut-font-display); font-size: clamp(30px, 3.8vw, 46px); font-weight: var(--ut-font-weight-regular); line-height: 1.12; text-wrap: pretty; }
.ut-pdp__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-bottom: 22px; line-height: normal; }
/* PDP design (CDE „Útulnosti.cz – Detail produktu (PDP)“, navrh-perex.css): product perex under the title. */
.ut-pdp__perex { max-width: 560px; margin: 0 0 26px; color: #4f473e; font-size: 16.5px; line-height: 1.7; text-wrap: pretty; overflow-wrap: anywhere; }
.ut-pdp__perex-link { color: var(--ut-color-ink); text-decoration: underline; white-space: nowrap; }
.ut-pdp__perex-link:hover { color: var(--ut-color-clay); }
.ut-pdp__rating { display: inline-flex; align-items: center; gap: 12px; color: #7b7064; font-size: 15.5px; text-decoration: none; }
.ut-pdp__stars { color: var(--ut-color-clay); letter-spacing: .1em; }
.ut-pdp__stars span { color: #e3d8c9; }
.ut-pdp__sku { color: #9a8f81; font-size: 15px; }
.ut-pdp__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; margin: 0 0 28px; line-height: normal; }
.ut-pdp__price strong { color: var(--ut-color-ink); font-size: 30px; font-weight: var(--ut-font-weight-regular); }
.ut-pdp__price del { color: #a79b8c; font-size: 16px; }
.ut-pdp__price span { color: #6f7a63; font-size: 15px; }

/* Linked products — each row is its own product (D051) */
.ut-pdp__linked { margin-bottom: 26px; }
.ut-pdp__linked-title { margin: 0 0 12px; color: var(--ut-color-ink); font-size: 16px; line-height: normal; }
.ut-pdp__linked-title span { color: #9a8f81; }
.ut-pdp__linked-list { display: flex; flex-direction: column; margin: 0; padding: 0; overflow: hidden; border: 1px solid #e3d8c9; border-radius: 10px; background: var(--ut-color-surface); list-style: none; }
.ut-pdp__linked-list li + li .ut-pdp__linked-row { border-top: 1px solid #efe6da; }
.ut-pdp__linked-row { display: flex; min-height: 64px; align-items: center; gap: 14px; padding: 12px 16px; color: inherit; text-decoration: none; cursor: pointer; transition: background .2s ease; }
.ut-pdp__linked-row:hover { background: #f7f1e8; }
.ut-pdp__linked-row.is-current { background: #f2ebe1; box-shadow: inset 3px 0 0 var(--ut-color-ink); cursor: default; }
.ut-pdp__linked-row:focus-visible { outline-offset: -2px; }
.ut-pdp__linked-text { display: flex; min-width: 0; flex: 1 1 auto; flex-direction: column; }
.ut-pdp__linked-text > span { color: var(--ut-color-ink); font-size: 16px; line-height: 1.4; text-wrap: pretty; }
.ut-pdp__linked-text small { margin-top: 3px; color: #9a8f81; font-size: 14px; line-height: normal; }
.ut-pdp__linked-text small.is-match { color: #4f6b4a; }
.ut-pdp__linked-meta { display: flex; flex: none; flex-direction: column; align-items: flex-end; text-align: right; line-height: normal; }
.ut-pdp__linked-meta b { color: var(--ut-color-ink); font-size: 16.5px; font-weight: var(--ut-font-weight-regular); white-space: nowrap; }
.ut-pdp__linked-meta small { margin-top: 3px; font-size: 14px; }
.ut-pdp__linked-meta .is-available { color: #4f6b4a; }
.ut-pdp__linked-meta .is-unavailable { color: #b4553f; }
.ut-pdp__linked-arrow { display: grid; width: 14px; flex: none; place-items: center; }
.ut-pdp__linked-arrow svg { width: 14px; height: 14px; fill: none; stroke: #8a7b69; stroke-width: 2; }
.ut-pdp__linked-row.is-current .ut-pdp__linked-arrow { opacity: 0; }
.ut-pdp__linked-more { width: 100%; min-height: 48px; padding: 14px 16px; border: 0; border-top: 1px solid #efe6da; background: transparent; color: var(--ut-color-clay); font: inherit; font-size: 15.5px; cursor: pointer; }

/* Purchase */
.ut-pdp__cart { margin: 0 0 18px; }
.ut-pdp__buy-row { display: flex; gap: 12px; }
/* CDE quantity pill: 46×52 steps, 28px value, 16.5px digits; disabled step = 50 % opacity (CDE). */
.ut-pdp__qty { display: flex; min-height: 52px; flex: none; align-items: center; border: 1px solid #d9ccba; border-radius: 999px; background: var(--ut-color-surface); }
.ut-pdp__qty-step { width: 46px; height: 52px; flex: none; padding: 0; border: 0; background: transparent; color: var(--ut-color-ink); font: inherit; font-size: 19px; line-height: 1; cursor: pointer; }
.ut-pdp__qty-step:disabled { opacity: .5; cursor: default; }
.ut-pdp__qty-value { box-sizing: content-box; width: 28px; min-width: 28px; max-width: 48px; field-sizing: content; padding: 0; border: 0; border-radius: 6px; background: transparent; color: var(--ut-color-ink); font: inherit; font-size: 16.5px; text-align: center; -moz-appearance: textfield; appearance: textfield; }
.ut-pdp__qty-value::-webkit-outer-spin-button,
.ut-pdp__qty-value::-webkit-inner-spin-button { margin: 0; -webkit-appearance: none; }
.ut-pdp__add { position: relative; display: flex; min-width: 0; min-height: 52px; flex: 1; align-items: center; justify-content: center; gap: 10px; overflow: hidden; padding: 17px; border: 0; border-radius: 999px; background: var(--ut-color-ink); color: var(--ut-color-surface); font: inherit; font-size: 16px; line-height: normal; cursor: pointer; transition: background .25s ease; }
.ut-pdp__add:hover:not(:disabled) { background: #5f6a54; }
.ut-pdp__add[aria-busy="true"] { background: #4a4239; }
.ut-pdp__add-sheen { position: absolute; top: 0; bottom: 0; left: 0; width: 30%; background: linear-gradient(90deg, rgb(255 252 247 / 0%), rgb(255 252 247 / 16%), rgb(255 252 247 / 0%)); animation: ut-cta-sheen 6.5s ease-in-out 1.5s infinite; pointer-events: none; }
.ut-pdp__add-spinner { display: none; width: 15px; height: 15px; flex: none; border: 2px solid rgb(255 252 247 / 35%); border-top-color: var(--ut-color-surface); border-radius: 999px; animation: ut-spin .7s linear infinite; }
.ut-pdp__add[aria-busy="true"] .ut-pdp__add-spinner { display: block; }
.ut-pdp__add-label { position: relative; }
.ut-pdp__add--sold-out { border: 1px solid #d9ccba; background: #f3eee7; color: #8a8074; cursor: not-allowed; }
.ut-pdp__favorite { display: grid; width: 58px; min-height: 52px; flex: none; place-items: center; border: 1px solid #d9ccba; border-radius: 999px; background: var(--ut-color-surface); color: var(--ut-color-ink); transition: border-color .2s ease; }
.ut-pdp__favorite:hover { border-color: var(--ut-color-clay); }
.ut-pdp__favorite svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.ut-pdp__favorite.is-active svg { fill: var(--ut-color-clay); stroke: var(--ut-color-clay); }
.ut-pdp__sold-out { margin: 0 0 26px; color: #6b6156; font-size: 15.5px; line-height: 1.6; }
.ut-pdp__sold-out span, .ut-pdp__sold-out strong { color: #b4553f; font-weight: var(--ut-font-weight-regular); }
.ut-pdp__info .ut-product-card__add-error { margin: -8px 0 16px; text-align: left; }
@keyframes ut-cta-sheen { 0%, 72% { transform: translateX(-120%) skewX(-20deg); } 100% { transform: translateX(320%) skewX(-20deg); } }
@keyframes ut-spin { to { transform: rotate(360deg); } }

/* Facts grid */
.ut-pdp__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 0 0 34px; padding: 0; overflow: hidden; border: 1px solid #e7dccb; border-radius: 10px; background: #f6efe5; list-style: none; }
.ut-pdp__facts li { display: flex; align-items: flex-start; gap: 12px; padding: 15px 16px; background: #fbf6ef; }
.ut-pdp__facts li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.ut-pdp__facts svg { width: 22px; height: 22px; flex: none; margin-top: 1px; fill: none; stroke: var(--ut-color-clay); stroke-width: 1.6; }
.ut-pdp__facts .is-available svg { stroke: #6f7a63; }
.ut-pdp__facts span { display: flex; min-width: 0; flex-direction: column; gap: 2px; }
.ut-pdp__facts b { color: var(--ut-color-ink); font-size: 16px; font-weight: var(--ut-font-weight-regular); line-height: normal; }
.ut-pdp__facts .is-available b { color: #4f5a45; }
.ut-pdp__facts .is-unavailable b { color: #b4553f; }
.ut-pdp__facts b a { color: inherit; text-decoration: none; }
.ut-pdp__facts small { color: #7b7064; font-size: 14px; line-height: normal; }

/* Accordions */
.ut-pdp__accordion { border-top: 1px solid #e7dccb; }
.ut-pdp__accordion summary { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; color: var(--ut-color-ink); font-size: 16px; line-height: normal; cursor: pointer; list-style: none; }
.ut-pdp__accordion summary::-webkit-details-marker { display: none; }
.ut-pdp__accordion summary span::after { color: #9a8f81; content: "+"; }
.ut-pdp__accordion[open] summary span::after { content: "−"; }
.ut-pdp__accordion > div { max-width: 560px; padding: 0 0 22px; color: #6b6156; font-size: 16.5px; line-height: 1.7; animation: ut-fade-in .2s ease; }
.ut-pdp__accordion p { margin: 10px 0 0; }
.ut-pdp__delivery-list { margin: 0; padding: 0; list-style: none; }
.ut-pdp__delivery-list li { display: flex; justify-content: space-between; gap: 16px; padding: 4px 0; }
.ut-pdp__delivery-list b { color: var(--ut-color-ink); font-weight: var(--ut-font-weight-regular); white-space: nowrap; }
@keyframes ut-fade-in { from { opacity: 0; } to { opacity: 1; } }

/* Description, parameters, GPSR */
.ut-pdp-about { display: flex; flex-wrap: wrap; gap: 36px clamp(32px, 5vw, 80px); margin-top: 80px; padding-top: 44px; border-top: 1px solid #e7dccb; }
.ut-pdp-about__text { min-width: min(100%, 300px); max-width: 860px; flex: 999 1 520px; }
.ut-pdp-about h2 { margin: 0 0 20px; color: var(--ut-color-ink); font-family: var(--ut-font-display); font-size: clamp(26px, 3.2vw, 38px); font-weight: var(--ut-font-weight-regular); line-height: normal; }
.ut-pdp-about__body { color: #4f473e; font-size: 16px; line-height: 1.75; text-wrap: pretty; }
.ut-pdp-about__body p { margin: 0 0 16px; }
.ut-pdp-about__body p:last-child { margin-bottom: 0; }
.ut-pdp-about__params { max-width: 400px; flex: 1 1 300px; margin-left: auto; }
.ut-pdp-about__label { margin: 10px 0 14px; color: #9a8f81; font-size: 12.5px; letter-spacing: .12em; line-height: normal; text-transform: uppercase; }
.ut-pdp-about__params dl { display: grid; grid-template-columns: minmax(0, auto) minmax(0, 1fr); margin: 0; border-top: 1px solid #e7dccb; font-size: 16px; line-height: normal; }
.ut-pdp-about__params dt { padding: 12px 20px 12px 0; border-bottom: 1px solid #efe6da; color: #8a8074; }
.ut-pdp-about__params dd { margin: 0; padding: 12px 0; border-bottom: 1px solid #efe6da; color: var(--ut-color-ink); }
.ut-pdp-gpsr { flex: 1 1 100%; padding-top: 4px; border-top: 1px solid #efe6da; }
.ut-pdp-gpsr summary { display: flex; min-height: 44px; align-items: center; gap: 8px; padding: 12px 0; color: #8a8074; font-size: 15px; cursor: pointer; list-style: none; }
.ut-pdp-gpsr summary::-webkit-details-marker { display: none; }
.ut-pdp-gpsr summary svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.ut-pdp-gpsr summary span { color: #a8927c; font-size: 13px; }
.ut-pdp-gpsr__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 20px 40px; padding: 8px 0 6px 22px; color: #6b6156; font-size: 15px; line-height: 1.65; }
.ut-pdp-gpsr__grid .ut-pdp-about__label { margin: 0 0 6px; letter-spacing: .1em; }
.ut-pdp-gpsr__grid dl { margin: 0; }
.ut-pdp-gpsr__grid dl div { display: flex; flex-wrap: wrap; gap: 0 6px; }
.ut-pdp-gpsr__grid dt { color: #9a8f81; }
.ut-pdp-gpsr__grid dt::after { content: ":"; }
.ut-pdp-gpsr__grid dd { margin: 0; }
.ut-pdp-gpsr__address { white-space: pre-line; }

/* Related products — shared Product Card */
.ut-pdp-related { margin-top: 96px; }
.ut-pdp-related__head { margin-bottom: 24px; }
.ut-pdp-related h2 { margin: 0 0 6px; color: var(--ut-color-ink); font-family: var(--ut-font-display); font-size: 38px; font-weight: var(--ut-font-weight-regular); line-height: normal; }
.ut-pdp-related__head p { margin: 0; color: #7b7064; font-size: 17px; line-height: normal; }
/* Same card size regardless of product count: auto-fill (no stretching) capped at 4 columns. */
.ut-pdp-related__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, max(225px, (100% - 60px) / 4)), 1fr)); gap: 20px; align-items: stretch; }

/* Reviews */
.ut-pdp-reviews { display: flex; flex-wrap: wrap; gap: clamp(28px, 3vw, 56px); margin: 96px 0 0; }
.ut-pdp-reviews__summary { min-width: min(100%, 260px); flex: 1 1 280px; }
.ut-pdp-reviews h2 { margin: 0 0 14px; color: var(--ut-color-ink); font-family: var(--ut-font-display); font-size: clamp(26px, 3.2vw, 38px); font-weight: var(--ut-font-weight-regular); line-height: normal; }
.ut-pdp-reviews__average { margin: 0; color: var(--ut-color-ink); font-family: var(--ut-font-display); font-size: 52px; line-height: 1; }
.ut-pdp-reviews__stars { margin: 8px 0 6px; letter-spacing: .12em; }
.ut-pdp-reviews__count { margin: 0 0 22px; color: #8a8074; font-size: 15.5px; }
.ut-pdp-reviews__content { min-width: min(100%, 280px); flex: 999 1 420px; }
.ut-pdp-reviews__list { margin: 0; padding: 0; list-style: none; }
.ut-pdp-review { margin-bottom: 26px; padding: 0 0 26px; border-bottom: 1px solid #e7dccb; }
.ut-pdp-review header { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 10px; line-height: normal; }
.ut-pdp-review header strong { color: var(--ut-color-ink); font-size: 16.5px; font-weight: var(--ut-font-weight-regular); }
.ut-pdp-review header small { color: #9a8f81; font-size: 14.5px; }
.ut-pdp-review__stars { margin: 0 0 10px; color: var(--ut-color-clay); font-size: 14.5px; letter-spacing: .1em; }
.ut-pdp-review__stars span { color: #e3d8c9; }
.ut-pdp-review__text { margin: 0; color: #6b6156; font-size: 17px; line-height: 1.65; }
.ut-pdp-review__note { margin: 10px 0 0; color: #6b6156; font-size: 15.5px; line-height: 1.6; }
.ut-pdp-review__note strong { color: var(--ut-color-ink); font-weight: var(--ut-font-weight-regular); }
.ut-pdp-reviews__empty, .ut-pdp-reviews__thanks { margin: 0 0 26px; color: #7b7064; font-size: 17px; line-height: 1.65; }
.ut-pdp-rating-form fieldset { margin: 0 0 14px; padding: 0; border: 0; }
.ut-pdp-rating-form legend { margin-bottom: 10px; color: var(--ut-color-ink); font-size: 16px; }
.ut-pdp-rating-form__options { display: flex; gap: 6px; }
.ut-pdp-rating-form__options label { display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid #d9ccba; border-radius: 999px; background: var(--ut-color-surface); color: #c9bca9; font-size: 18px; cursor: pointer; }
.ut-pdp-rating-form__options input { position: absolute; width: 1px; height: 1px; opacity: 0; }
/* Native radios keep the submitted value; preceding stars share its fill. */
.ut-pdp-rating-form__options label:where(:has(input:checked), :has(~ label input:checked)) { color: var(--ut-color-clay); }
.ut-pdp-rating-form__options label:has(input:checked) { border-color: var(--ut-color-clay); }
@media (hover: hover) and (pointer: fine) {
    /* Pointer preview overrides only the fill; leaving restores the checked value. */
    .ut-pdp-rating-form__options:has(label:hover) label { color: #c9bca9; }
    .ut-pdp-rating-form__options:has(label:hover) label:hover,
    .ut-pdp-rating-form__options:has(label:hover) label:has(~ label:hover) { color: var(--ut-color-clay); }
    .ut-pdp-rating-form__options label:hover { border-color: var(--ut-color-clay); }
}
.ut-pdp-rating-form__options label:has(input:focus-visible) { outline: 2px solid var(--ut-color-clay); outline-offset: 2px; }
.ut-pdp-rating-form input[type="submit"], .ut-pdp-rating-form button { min-height: 48px; padding: 14px 26px; border: 1px solid #d9ccba; border-radius: 999px; background: var(--ut-color-surface); color: var(--ut-color-ink); font: inherit; font-size: 16px; cursor: pointer; }

/* Lightbox (CDE) */
.ut-pdp-lightbox { position: fixed; inset: 0; z-index: calc(var(--ut-z-modal) + 30); display: flex; flex-direction: column; background: #1f1b17; color: #f1e9de; animation: ut-fade-in .25s ease; }
.ut-pdp-lightbox[hidden] { display: none; }
.ut-pdp-lightbox__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px clamp(14px, 3vw, 28px); }
.ut-pdp-lightbox__bar p { display: flex; min-width: 0; align-items: baseline; gap: 14px; margin: 0; }
.ut-pdp-lightbox__name { overflow: hidden; color: var(--ut-color-surface); font-family: var(--ut-font-display); font-size: 20px; text-overflow: ellipsis; white-space: nowrap; }
.ut-pdp-lightbox__counter { color: #b9a794; font-size: 15px; white-space: nowrap; }
.ut-pdp-lightbox__close { display: grid; width: 44px; height: 44px; flex: none; place-items: center; border: 0; border-radius: 999px; background: rgb(255 252 247 / 8%); cursor: pointer; transition: background .2s ease; }
.ut-pdp-lightbox__close:hover { background: rgb(255 252 247 / 18%); }
.ut-pdp-lightbox svg { width: 18px; height: 18px; fill: none; stroke: #fffcf7; stroke-width: 1.7; }
.ut-pdp-lightbox__stage { display: flex; min-height: 0; flex: 1 1 auto; align-items: center; justify-content: center; gap: clamp(8px, 2vw, 24px); padding: 0 clamp(8px, 2vw, 24px); touch-action: pan-y; }
.ut-pdp-lightbox__nav { display: grid; width: 48px; height: 48px; flex: none; place-items: center; border: 1px solid rgb(255 252 247 / 22%); border-radius: 999px; background: transparent; cursor: pointer; transition: background .2s ease; }
.ut-pdp-lightbox__nav:hover { background: rgb(255 252 247 / 12%); }
.ut-pdp-lightbox__frame { position: relative; overflow: hidden; display: flex; flex: 0 1 auto; min-width: 0; align-items: center; justify-content: center; max-width: 100%; max-height: 100%; border-radius: 6px; background: var(--ut-color-ink); }
.ut-pdp-lightbox__frame img { display: block; width: auto; height: auto; max-width: 100%; max-height: calc(100dvh - 200px); object-fit: contain; animation: ut-fade-in .3s ease; }
.ut-pdp-lightbox__thumbs { display: flex; justify-content: center; gap: 10px; overflow-x: auto; padding: 16px clamp(14px, 3vw, 28px) 20px; }
.ut-pdp-lightbox__thumbs button { position: relative; width: 58px; height: 58px; flex: none; overflow: hidden; padding: 0; border: 2px solid transparent; border-radius: 6px; background: var(--ut-color-sand); opacity: .55; cursor: pointer; transition: opacity .2s ease; }
.ut-pdp-lightbox__thumbs button.is-active { border-color: var(--ut-color-surface); opacity: 1; }
.ut-pdp-lightbox__thumbs img { display: block; width: 100%; height: 100%; object-fit: contain; }
body.ut-pdp-lightbox-open { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  .ut-pdp__add-sheen { display: none; }
  .ut-pdp-lightbox, .ut-pdp-lightbox__frame img, .ut-pdp__accordion > div { animation: none; }
}
@media (max-width: 47.99rem) {
  .ut-pdp-gallery, .ut-pdp__top[data-ut-pdp-sticky] .ut-pdp-gallery, .ut-pdp__top[data-ut-pdp-sticky] .ut-pdp__info { position: static; }
}
/* Mobile gallery (CDE mobil finální): one full-width photo, swipe via scroll-snap, dots under the photo. Desktop keeps
   thumbnails + main photo. Photos are never distorted (contain on the white background). */
.ut-pdp-gallery__slider { display: none; }
@media (max-width: 47.99rem) {
  .ut-pdp-gallery { display: block; margin-inline: calc(-1 * clamp(16px, 3vw, 40px)); }
  .ut-pdp-gallery__thumbs, .ut-pdp-gallery__main { display: none; }
  .ut-pdp-gallery__slider { display: block; }
  .ut-pdp-gallery__track { display: flex; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; background: #fff; }
  .ut-pdp-gallery__track::-webkit-scrollbar { display: none; }
  .ut-pdp-gallery__slide { flex: 0 0 100%; padding: 0; border: 0; background: transparent; scroll-snap-align: start; scroll-snap-stop: always; cursor: zoom-in; }
  .ut-pdp-gallery__slide:focus-visible { outline-offset: -4px; }
  .ut-pdp-gallery__slide img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; }
  .ut-pdp-gallery__dots { display: flex; justify-content: center; gap: 0; padding: 6px 0 0; }
  .ut-pdp-gallery__dot { display: grid; width: 22px; height: 22px; place-items: center; padding: 0; border: 0; background: transparent; cursor: pointer; }
  .ut-pdp-gallery__dot::before { width: 6px; height: 6px; border-radius: 50%; background: #d9ccba; content: ""; }
  .ut-pdp-gallery__dot.is-active::before { background: var(--ut-color-ink); }
}
/* Below ~386px the CDE single row squeezes the CTA label into 3–4 lines (prototype defect, 320px): keep pill and
   wishlist on the first row and give the CTA its own full-width row. 390px and wider keep the CDE row. */
@media (max-width: 24.1rem) {
  .ut-pdp__buy-row--qty { flex-wrap: wrap; }
  .ut-pdp__buy-row--qty .ut-pdp__qty { margin-right: auto; }
  .ut-pdp__buy-row--qty .ut-pdp__add { order: 3; flex-basis: 100%; }
}
