/* ==========================================================================
   b-detail.css – detail produktu (PDP) podle brooksrunning.com/en_us
   galerie · titul a cena · barva / velikost / šířka · do košíku · popis
   lightbox · košíkový panel · tabulka velikostí · dárek · dotaz · sleva
   Závisí na b-base.css (tokeny, .b-btn, formuláře, modaly).
   ========================================================================== */

/* ---------- rozvržení: galerie vlevo, sticky info vpravo ---------- */
#product-detail .row-eq-height { --bs-gutter-x: 0; align-items: flex-start; margin-top: 16px; }
#product-detail .pd-info { padding-top: 0; }
#detail-form .row { --bs-gutter-x: 0; }

@media (min-width: 992px) {
    #product-detail .pd-info {
        position: sticky;
        top: calc(var(--b-header-h) + 24px);
        align-self: flex-start;
        padding-left: 56px;
        padding-bottom: 24px;
    }
}

@media (max-width: 991px) {
    #product-detail .pd-info { padding-top: 20px; }
}

/* ---------- galerie ---------- */
#product-detail .pg {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
}

#product-detail .pg.pg-single { grid-template-columns: minmax(0, 1fr); }

/* miniatury: výška se přizpůsobí stage (grid řádek), přebytek se scrolluje */
.pg-thumbs {
    position: relative;
    display: flex; flex-direction: column; gap: 8px;
    align-self: stretch; height: 0; min-height: 100%;
    overflow-y: auto; scrollbar-width: none;
}
.pg-thumbs::-webkit-scrollbar { display: none; }

.pg-thumb {
    flex: 0 0 auto;
    width: 88px; height: 88px; padding: 0;
    border: 1px solid transparent; border-radius: 0;
    background: var(--b-tile);
    cursor: pointer;
    transition: border-color .15s ease;
}
.pg-thumb img { display: block; width: 100%; height: 100%; padding: 6px; object-fit: contain; mix-blend-mode: multiply; }
.pg-thumb:hover { border-color: var(--b-alt); }
.pg-thumb.is-active { border-color: var(--b-ink); box-shadow: 0 0 0 1px var(--b-ink); }
.pg-thumb:focus-visible { outline: 2px solid var(--b-blue); outline-offset: 2px; }

.pg-stage {
    position: relative;
    aspect-ratio: 1 / 1;
    background: var(--b-tile);
    overflow: hidden;
}

.pg-track {
    position: absolute; inset: 0;
    display: flex;
    overflow-x: auto; overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.pg-track::-webkit-scrollbar { display: none; }

.pg-slide { flex: 0 0 100%; height: 100%; scroll-snap-align: center; scroll-snap-stop: always; }
.pg-slide img {
    display: block; width: 100%; height: 100%;
    padding: 4%; box-sizing: border-box;
    object-fit: contain; mix-blend-mode: multiply;
    cursor: zoom-in;
}

.pg-slide.pg-noimg { display: flex; align-items: center; justify-content: center; padding: 32px; text-align: center; }
.pg-slide.pg-noimg > div { max-width: 320px; color: var(--b-alt); font-size: 14px; line-height: 20px; }

.pg-nav {
    position: absolute; top: 50%; z-index: 5;
    width: 40px; height: 40px; margin-top: -20px; padding: 0;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--b-ink); border-radius: 0;
    background: #fff; color: var(--b-ink);
    cursor: pointer; opacity: 0;
    transition: opacity .2s ease;
}
.pg-nav svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.pg-prev { left: 12px; }
.pg-next { right: 12px; }
.pg-stage:hover .pg-nav, .pg-nav:focus-visible { opacity: 1; }
.pg-nav:hover { box-shadow: 4px 4px 0 -2px #fff, 4px 4px 0 0 var(--b-ink); }

.pg-count { position: absolute; left: 16px; bottom: 12px; z-index: 5; font-size: 14px; line-height: 20px; color: var(--b-alt); }
.pg-count b { color: var(--b-ink); font-weight: 700; }

.pg-dots { position: absolute; left: 0; right: 0; bottom: 12px; z-index: 5; display: none; justify-content: center; gap: 6px; }
.pg-dots span { width: 20px; height: 3px; background: rgba(14, 19, 31, .25); transition: background .2s ease; }
.pg-dots span.is-active { background: var(--b-ink); }

.pg-single .pg-thumbs, .pg-single .pg-nav, .pg-single .pg-count, .pg-single .pg-dots { display: none; }

@media (max-width: 991px) {
    #product-detail .pg { grid-template-columns: minmax(0, 1fr); }
    .pg-thumbs, .pg-nav, .pg-count { display: none; }
    .pg-dots { display: flex; }
    .pg-single .pg-dots { display: none; }
    #product-detail .row-eq-height { margin-top: 8px; }
}

/* ---------- odznaky na fotce (Novinka / Výprodej / Tip …) ---------- */
#product-detail .sticker-container { position: absolute; top: 8px; left: 8px; z-index: 10; display: block; pointer-events: none; }
#product-detail .sticker-container .sticker {
    display: block; margin: 0; padding: 4px 8px;
    background: transparent; color: var(--b-ink);
    font-size: 14px; font-weight: 400; line-height: 20px; text-transform: none; text-align: left;
}
#product-detail .sticker-container .sticker.vyprodej { color: var(--b-red); }

/* ---------- titul a cena ---------- */
.pd-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.pd-title-wrap { flex: 1 1 auto; min-width: 0; }
.pd-title { margin: 0; font-size: 2rem; font-weight: 700; line-height: 1.15; letter-spacing: -.01em; overflow-wrap: anywhere; }
.pd-price { flex: 0 0 auto; text-align: right; padding-top: 6px; }
.pd-price-box { display: block; }
.pd-price-main { display: block; }
.pd-price-row { display: flex; align-items: flex-start; justify-content: flex-end; gap: 10px; }
.pd-price-row > .d-flex { align-items: flex-end; }

#detail-form .price { font-size: 16px; font-weight: 500; line-height: 24px; white-space: nowrap; }
#detail-form .price-before { margin: 0; color: var(--b-alt); font-size: 14px; line-height: 20px; text-decoration: line-through; white-space: nowrap; }
#detail-form .price-before:not(.d-none) + .price { color: var(--b-red); }
#detail-form .circle-sale { display: inline-block; padding: 2px 0 0; color: var(--b-red); font-size: 14px; font-weight: 700; line-height: 20px; white-space: nowrap; }
.pd-real { margin-top: 4px; }
.pd-real .real-sleva-text, #detail-form .real-sleva-text { color: var(--b-alt); font-size: 12px; line-height: 16px; }

@media (max-width: 575px) {
    .pd-title { font-size: 1.5rem; }
    .pd-head { margin-bottom: 20px; }
}

/* ---------- labely výběru ---------- */
#detail-form .info-title,
#detail-form .size-title,
#detail-form .width-title {
    margin: 0 0 12px;
    color: var(--b-alt);
    font-size: 1rem; font-weight: 500; font-stretch: 125%; line-height: 1.25;
    letter-spacing: 0; text-transform: uppercase;
}
#detail-form .col-12.mb-1 { margin-bottom: 0 !important; }  /* řádek se štítkem a odkazem na tabulku */
#detail-form .row + .row { margin-top: 0; }
#detail-form hr { margin: 8px 0 24px; }
#detail-form .row:has(.btn-width-selection) { margin-top: 24px; }

.pd-sg-link {
    margin: 0 0 12px; color: var(--b-ink); font-size: 14px; font-weight: 400; line-height: 20px;
    text-decoration: underline; text-underline-offset: 3px;
}
.pd-sg-link:hover { color: var(--b-ink); text-decoration-thickness: 2px; }

/* ---------- výběr barvy (miniatura fotky) ---------- */
.color-container {
    position: relative; display: inline-block; vertical-align: top;
    width: 56px; height: 56px; margin: 0 6px 6px 0;
    border: 1px solid var(--b-line); border-radius: 0;
    background: var(--b-tile);
    cursor: pointer;
    transition: border-color .15s ease;
}
.color-container a { display: block; width: 100%; height: 100%; }
.color-container .product-color-img { display: block; width: 100%; height: 100%; padding: 3px; object-fit: contain; mix-blend-mode: multiply; }
.color-container:hover { border-color: var(--b-alt); }
.color-container.select-active { border-color: var(--b-ink); box-shadow: 0 0 0 1px var(--b-ink); }
.color-container.disabled { opacity: .4; pointer-events: none; }

/* ---------- výběr velikosti a šířky ---------- */
#detail-form .wr { display: flex; flex-wrap: wrap; gap: 8px; }

#detail-form .btn-size-selection,
#detail-form .btn-width-selection {
    position: relative;
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 44px; height: 44px; margin: 0; padding: 0 8px;
    border: 1px solid #ccc; border-radius: 0;
    background: #fff; color: var(--b-ink);
    font-family: var(--b-font); font-size: 14px; font-weight: 500; line-height: 1;
    white-space: nowrap; text-transform: none; letter-spacing: 0;
    box-shadow: none;
    transition: border-color .15s ease;
}
#detail-form .btn-size-selection:hover,
#detail-form .btn-width-selection:hover { border-color: var(--b-ink); background: #fff; color: var(--b-ink); box-shadow: none; }
#detail-form .btn-size-selection:focus-visible,
#detail-form .btn-width-selection:focus-visible { outline: 2px solid var(--b-blue); outline-offset: 2px; box-shadow: none; }

#detail-form .btn-size-selection.select-active,
#detail-form .btn-width-selection.select-active {
    border-color: var(--b-ink); box-shadow: 0 0 0 1px var(--b-ink);
    background: #fff; color: var(--b-ink); font-weight: 700;
}

/* nedostupné: šedé a přeškrtnuté úhlopříčkou (tenká čára, ne gradient jako dekorace) */
#detail-form .btn-size-selection.select-unavailable,
#detail-form .btn-width-selection.select-unavailable,
#detail-form .btn-width-selection:disabled {
    border-color: var(--b-line); color: #a3a3a3; background: #fff; box-shadow: none; cursor: not-allowed;
}
#detail-form .btn-size-selection.select-unavailable::after,
#detail-form .btn-width-selection.select-unavailable::after,
#detail-form .btn-width-selection:disabled::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(to top right, transparent calc(50% - .5px), #c4c4c4 calc(50% - .5px), #c4c4c4 calc(50% + .5px), transparent calc(50% + .5px));
}
#detail-form .btn-width-selection.width-locked { opacity: .5; cursor: not-allowed; }

/* štítek šířek na horní hraně velikosti */
#detail-form .btn-size-selection .size-widths {
    position: absolute; top: -8px; left: 50%; transform: translateX(-50%);
    padding: 0 4px; background: #fff; color: var(--b-alt);
    font-size: 10px; font-weight: 700; line-height: 14px; letter-spacing: .02em; white-space: nowrap; pointer-events: none;
}
#detail-form .btn-size-selection.select-active .size-widths { background: var(--b-ink); color: #fff; }

/* šířka: kód + popis */
#detail-form .btn-width-selection { height: auto; min-height: 44px; gap: 6px; padding: 6px 14px; }
#detail-form .btn-width-selection .bu-width__code { font-size: 14px; font-weight: 700; }
#detail-form .btn-width-selection .bu-width__desc { color: var(--b-alt); font-size: 12px; font-weight: 400; text-transform: lowercase; }
#detail-form .btn-width-selection.select-active .bu-width__desc { color: var(--b-ink); }

/* ---------- vložit do košíku ---------- */
#detail-form .insert-to-cart-container { padding-bottom: 6px; }
#detail-form #insert-to-cart { width: 100%; max-width: none; }
#detail-form #insert-to-cart > .d-flex { width: 100%; justify-content: center !important; }
#detail-form #insert-to-cart .price { display: none; }   /* cena je v hlavičce; tlačítko je jen textové */
#detail-form #insert-to-cart:disabled { opacity: .4; box-shadow: none; }
#detail-form #validation:empty { display: none; }
#detail-form #validation { margin-top: 12px; }
#detail-form #validation .alert { margin-bottom: 0; padding: 12px 16px; font-size: 14px; }
#detail-form .row.my-3 { margin-top: 28px !important; margin-bottom: 24px !important; }

/* ---------- popis (accordion) ---------- */
#detail-form .filter-collapse-toggle {
    display: flex; align-items: center; justify-content: space-between;
    padding: 20px 0; border-top: 1px solid var(--b-line);
    color: var(--b-ink); text-decoration: none;
}
#detail-form .filter-collapse-toggle:hover { color: var(--b-ink); text-decoration: none; }
.pd-acc-title { font-size: 1rem; font-weight: 500; font-stretch: 125%; line-height: 1.25; text-transform: uppercase; }
#detail-form .filter-chevron { flex: none; width: 9px; height: 9px; margin: -3px 4px 0 0; border: solid var(--b-ink); border-width: 0 2px 2px 0; font-size: 0; line-height: 0; transform: rotate(45deg); transition: transform .2s ease; }
#detail-form .filter-collapse-toggle[aria-expanded="true"] .filter-chevron { margin-top: 3px; transform: rotate(-135deg); }

#product-detail-desc-collapse { margin-top: 0 !important; border-bottom: 1px solid var(--b-line); }
#product-detail-desc-collapse > .row { margin-bottom: 20px !important; }
.detail-description { font-size: 16px; line-height: 24px; overflow-wrap: anywhere; }
.detail-description p { margin: 0 0 12px; }
.detail-description ul, .detail-description ol { margin: 0 0 12px; padding-left: 20px; }
.detail-description li { margin-bottom: 4px; }
.detail-description h2, .detail-description h3, .detail-description h4, .detail-description h5 { margin: 16px 0 8px; font-size: 1rem; }
.detail-description strong, .detail-description b { font-weight: 700; }
.detail-description img { max-width: 100%; height: auto; }
.detail-description a { text-decoration: underline; text-underline-offset: 3px; }
.detail-description table { width: 100%; margin-bottom: 12px; border-collapse: collapse; }
.detail-description td, .detail-description th { padding: 6px 8px; border-bottom: 1px solid var(--b-line); }
.detail-description-short br + br { display: none; }

/* záložky (ProductDescription.cshtml, pokud se vrátí) */
.product-tabs .nav-tabs { border-bottom: 1px solid var(--b-line); gap: 28px; }
.product-tabs .nav-tabs .nav-link { padding: 12px 0; border: 0; border-bottom: 3px solid transparent; background: none; color: var(--b-alt); font-size: 14px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.product-tabs .nav-tabs .nav-link.active { border-bottom-color: var(--b-ink); color: var(--b-ink); }
.product-tabs .tab-content { padding: 24px 0; }

/* ---------- podobné produkty (lazy) ---------- */
#product-detail .lazy-similar { min-height: 1px; }

/* ---------- parametry / technologie ---------- */
.technology-container { display: block; color: var(--b-ink); text-decoration: none; }
.technology-container .input-group { display: block; }
.technology-container .parameter-item { display: flex; align-items: center; gap: 12px; padding: 8px 0; }
.technology-container .technology-icon-container { display: flex; align-items: center; gap: 12px; padding: 0; border: 0; background: none; }
.technology-container .technology-icon { width: 40px; height: 40px; object-fit: contain; }
.technology-container .technology-name-container { padding: 0; border: 0; background: none; }
.technology-container .technology-name { font-size: 14px; font-weight: 700; line-height: 20px; }

/* ---------- lightbox (zvětšená fotka) ---------- */
.modal-lightbox { padding: 0; background: #fff; overflow: hidden; }
.modal-lightbox .modal-content {
    position: relative; display: block;
    width: 100%; max-width: none; height: 100%;
    border: 0; background: #fff; box-shadow: none;
}
.modal-lightbox .productImages { position: absolute; inset: 72px 96px 40px; width: auto; height: auto; }
.modal-lightbox .productImages img {
    position: absolute !important; inset: 0 !important;
    width: 100% !important; height: 100% !important;
    object-fit: contain; mix-blend-mode: multiply;
}
.modal-lightbox .numbertext { position: absolute; top: -48px; left: 0; z-index: 3; font-size: 14px; line-height: 20px; color: var(--b-alt); }
.modal-lightbox .close {
    position: fixed; top: 16px; right: 16px; z-index: 1060;
    width: 48px; height: 48px;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--b-ink); background: #fff; color: var(--b-ink);
    font-size: 20px; cursor: pointer;
}
.modal-lightbox .close:hover { box-shadow: 4px 4px 0 -2px #fff, 4px 4px 0 0 var(--b-ink); }
.modal-lightbox .prev, .modal-lightbox .next {
    position: fixed; top: 50%; z-index: 1060;
    width: 48px; height: 48px; margin-top: -24px; padding: 0;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--b-ink); background: #fff; color: var(--b-ink);
    font-size: 18px; line-height: 1; text-decoration: none; cursor: pointer; user-select: none;
}
.modal-lightbox .prev { left: 24px; }
.modal-lightbox .next { right: 24px; }
.modal-lightbox .prev:hover, .modal-lightbox .next:hover { box-shadow: 4px 4px 0 -2px #fff, 4px 4px 0 0 var(--b-ink); }

@media (max-width: 767px) {
    .modal-lightbox .productImages { inset: 72px 0 72px; }
    .modal-lightbox .prev, .modal-lightbox .next { top: auto; bottom: 12px; margin-top: 0; }
    .modal-lightbox .prev { left: 16px; }
    .modal-lightbox .next { right: 16px; }
}

/* ---------- panel „Přidáno do košíku“ ---------- */
#cart-popup-offcanvas { width: min(100vw, 480px); border-left: 0; }
#cart-popup-offcanvas .cp-head { padding: 20px 24px; border-bottom: 1px solid var(--b-line); }
.cp-title { display: flex; align-items: center; gap: 12px; font-size: 1.25rem; font-weight: 700; line-height: 1.2; letter-spacing: -.005em; }
.cp-check { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 28px; width: 28px; height: 28px; border-radius: 50%; background: var(--b-ink); color: #fff; }
.cp-check svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: square; }
.cp-body { padding: 24px; }
.cp-item { display: flex; gap: 16px; padding-bottom: 24px; border-bottom: 1px solid var(--b-line); }
.cp-img { flex: 0 0 96px; width: 96px; height: 96px; background: var(--b-tile); }
.cp-img img { display: block; width: 100%; height: 100%; padding: 6px; object-fit: contain; mix-blend-mode: multiply; }
.cp-info { min-width: 0; }
.cp-name { margin-bottom: 8px; font-size: 14px; font-weight: 700; line-height: 20px; letter-spacing: .02em; text-transform: uppercase; }
.cp-attrs span { display: block; padding: 1px 0; color: var(--b-alt); font-size: 14px; line-height: 20px; }
.cp-attrs b { color: var(--b-ink); font-weight: 700; }
.cp-actions { display: grid; gap: 12px; margin: 24px 0 8px; }
.cp-btn { text-decoration: none; }
.cp-btn svg { width: 16px; height: 16px; margin-left: 10px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.cp-btn--solid:hover { color: #fff; }
.cp-more { margin-top: 32px; }

/* starší potvrzovací modal (#cart-popup-modal) */
.my-modal .modal-body { padding: 28px; }
.my-modal .modal-body img { max-height: 320px; }
.my-modal .modal-close { cursor: pointer; }
.my-modal .btn { white-space: normal; }

/* ---------- tabulka velikostí a šířek ---------- */
.sg-modal .modal-content { border: 0; border-radius: 0; }
.sg-head { padding: 20px 28px; border-bottom: 1px solid var(--b-line); }
.sg-title { margin: 0; font-size: 1.25rem; font-weight: 700; line-height: 1.2; letter-spacing: -.005em; text-transform: none; }
.sg-body { padding: 8px 28px 28px; }

.sg-tabs { display: flex; flex-wrap: wrap; gap: 28px; margin: 0 0 20px; border-bottom: 1px solid var(--b-line); }
.sg-tab {
    padding: 14px 0 11px; border: 0; border-bottom: 3px solid transparent; border-radius: 0;
    background: none; color: var(--b-alt);
    font-family: var(--b-font); font-size: 14px; font-weight: 700; letter-spacing: 1.2px; line-height: 1.2; text-transform: uppercase;
    cursor: pointer; transition: color .15s ease, border-color .15s ease;
}
.sg-tab:hover { color: var(--b-ink); }
.sg-tab.is-active { border-bottom-color: var(--b-ink); color: var(--b-ink); }
.sg-tabs--sub { gap: 20px; margin-top: 4px; }
.sg-tabs--sub .sg-tab { padding: 8px 0 6px; font-size: 13px; }

.sg-units { display: inline-flex; margin: 16px 0 20px; }
.sg-unit-btn {
    min-width: 64px; height: 40px; padding: 0 16px; margin-right: -1px;
    border: 1px solid var(--b-ink); border-radius: 0; background: #fff; color: var(--b-ink);
    font-family: var(--b-font); font-size: 14px; font-weight: 700; cursor: pointer;
}
.sg-unit-btn.is-active { background: var(--b-ink); color: #fff; }

.sg-modal[data-unit="cm"] .sg-unit--in,
.sg-modal[data-unit="in"] .sg-unit--cm { display: none; }

.sg-h3 { margin: 20px 0 10px; font-size: 1rem; font-weight: 500; font-stretch: 125%; line-height: 1.25; letter-spacing: 0; text-transform: uppercase; }
.sg-lead { margin: 4px 0 20px; font-size: 16px; line-height: 24px; }

.sg-table-wrap { max-height: 48vh; overflow: auto; border: 1px solid var(--b-line); }
.sg-table { width: 100%; margin: 0; border-collapse: collapse; font-size: 14px; line-height: 20px; }
.sg-table th, .sg-table td { padding: 10px 14px; border-bottom: 1px solid var(--b-line); text-align: left; white-space: nowrap; }
.sg-table thead th { position: sticky; top: 0; z-index: 1; background: var(--b-panel); color: var(--b-alt); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.sg-table tbody th { font-weight: 700; }
.sg-table tbody tr:last-child > * { border-bottom: 0; }
.sg-table tbody tr:hover > * { background: var(--b-panel); }
.sg-table tr.is-mine > *, .sg-table td.is-mine { background: var(--b-teal); font-weight: 700; }
.sg-table tr.is-mine:hover > * { background: var(--b-teal); }

.sg-note { margin: 16px 0 0; color: var(--b-alt); font-size: 14px; line-height: 20px; }
.sg-note strong { color: var(--b-ink); }
.sg-note--how { margin-top: 8px; }
.sg-modal .btn-close { opacity: 1; }

@media (max-width: 575px) {
    .sg-head { padding: 16px; }
    .sg-body { padding: 4px 16px 20px; }
    .sg-table th, .sg-table td { padding: 8px 10px; }
}

/* ---------- dárek (OrderGift) ---------- */
#btnGiftsOpen { display: flex; align-items: center; justify-content: center; gap: 8px; height: 50px; border-radius: 0; font-size: 16px; font-weight: 700; letter-spacing: .64px; text-transform: uppercase; }
#btnGiftsOpen.btn-success { border: 3px solid var(--b-ink); background: #fff; color: var(--b-ink); }
.gift { text-align: center; }
.gift h5 { margin: 0 0 16px; font-size: 1rem; font-weight: 700; }
.gift .size-title { text-align: center; }
.gift .size-button {
    min-width: 44px; height: 44px; margin: 0 4px 8px; padding: 0 8px;
    border: 1px solid #ccc; border-radius: 0; background: #fff; color: var(--b-ink);
    font-size: 14px; font-weight: 500;
}
.gift .size-button:hover { border-color: var(--b-ink); background: #fff; color: var(--b-ink); }
.gift .size-button.active { border-color: var(--b-ink); box-shadow: 0 0 0 1px var(--b-ink); background: #fff; color: var(--b-ink); font-weight: 700; }
.gift .size-button.disabled, .gift .color-gift.disabled { opacity: .35; pointer-events: none; text-decoration: line-through; }
.gift .color-gift { margin: 0 4px 8px; }

/* ---------- dotaz na produkt ---------- */
#question-form, #contact-form-tag { max-width: 640px; margin: 0 auto; }
#question-form .form-row, #contact-form-tag .form-row { display: block; margin: 0; }
#question-form [class*="col-"], #question-form .form-group, #contact-form-tag [class*="col-"] { width: 100%; margin-left: 0; padding: 0; }
#question-form .form-group, #contact-form-tag .form-group { margin-bottom: 16px; }
#question-form textarea.form-control, #contact-form-tag textarea.form-control { min-height: 140px; }
#contact-form-tag .star { color: var(--b-red); }
#question-form .btn, #contact-form-tag .btn { min-width: 190px; }
#question-form .validation-summary-errors, #question-form .field-validation-error { margin-top: 12px; }

/* ---------- množstevní slevy / úroveň zákazníka ---------- */
.membership-info { padding: 12px 16px; border: 1px solid var(--b-line); background: var(--b-panel); font-size: 14px; line-height: 20px; }
.membership-info a { text-decoration: underline; text-underline-offset: 3px; }
.grey-text { color: var(--b-alt); font-weight: 700; }
.gold-text { color: #8a6d1d; font-weight: 700; }
.bold { font-weight: 700; }
.bonus-level { font-weight: 700; }
.milestone-desc, .earn-state { color: var(--b-alt); font-size: 14px; line-height: 20px; }
.uroven { padding: 16px; border: 1px solid var(--b-line); background: #fff; }
.uroven .logo { width: 40px; height: 40px; margin-right: 12px; border: 1px solid var(--b-line); }
.no-bullets { padding-left: 0; list-style: none; }
.to-upper { text-transform: uppercase; }

/* ==========================================================================
   DETAIL PODLE BROOKS – galerie = mřížka velkých čtverců, modré tlačítko s cenou
   ========================================================================== */
@media (min-width: 992px) {
    #product-detail .pg,
    #product-detail .pg.pg-single { display: block; }
    #product-detail .pg-thumbs,
    #product-detail .pg-nav,
    #product-detail .pg-count,
    #product-detail .pg-dots { display: none; }
    #product-detail .pg-stage { position: relative; aspect-ratio: auto; background: transparent; overflow: visible; }
    #product-detail .pg-track {
        position: static; inset: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px;
        overflow: visible; scroll-snap-type: none;
    }
    #product-detail .pg-slide { flex: none; height: auto; aspect-ratio: 1 / 1; background: #f8f8f8; scroll-snap-align: none; overflow: hidden; }
    #product-detail .pg-slide img { position: static; width: 100%; height: 100%; padding: 0; object-fit: cover; mix-blend-mode: normal; cursor: zoom-in; }
    #product-detail .pg-slide.pg-noimg { grid-column: 1 / -1; aspect-ratio: 2 / 1; }
    #product-detail .pg-stage .sticker-container { top: 16px; left: 16px; }
}

/* tlačítko "Vložit do košíku": modré, text vlevo a cena vpravo uvnitř */
#detail-form #insert-to-cart,
#detail-form #insert-to-cart:hover,
#detail-form #insert-to-cart:focus-visible {
    background: var(--b-blue); color: #fff;
}
#detail-form #insert-to-cart:hover,
#detail-form #insert-to-cart:focus-visible { box-shadow: 6px 6px 0 -3px #fff, 6px 6px 0 0 var(--b-blue); }
#detail-form #insert-to-cart > .d-flex { width: 100%; justify-content: space-between !important; gap: 16px; }
#detail-form #insert-to-cart .price { display: inline-block; color: #fff; font-size: 16px; font-weight: 700; letter-spacing: .64px; text-transform: none; }
#detail-form #insert-to-cart .price * { color: #fff; }
#detail-form #insert-to-cart:disabled { opacity: .55; }

/* dlaždice barev: větší (Brooks) */
#product-detail .color-container,
#detail-form .color-container { width: 84px; height: 84px; }
#product-detail .color-container .product-color-img,
#detail-form .color-container .product-color-img { padding: 4px; }
