/* DETAIL PRODUKTU CSS */
.pd-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
    /* Pojistka proti horizontálnímu overflow způsobenému tabulkami ve specifikacích.
       `clip` (moderní prohlížeče) na rozdíl od `hidden` nevytváří scroll kontejner —
       iOS Safari tak nemůže skrytou osu posouvat gestem (známý WebKit problém). */
    overflow-x: hidden;
    overflow-x: clip;
    width: 100%;
    box-sizing: border-box;
}

/* BREADCRUMB */
.pd-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
    font-size: 14px;
    color: #666;
    flex-wrap: wrap;
}

.pd-breadcrumb a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}

.pd-breadcrumb a:hover {
    color: #FF6B00;
}

/* HLAVNÍ SEKCE */
.pd-main {
    display: grid;
    grid-template-columns: 450px 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

/* GALERIE - ZMĚNĚNO */
.pd-gallery {
    position: relative;
}

.pd-image-container {
    position: relative;
    width: 100%;
    height: 420px;  /* ZMĚNĚNO z 500px */
    background: #f5f5f5;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.pd-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
}

.pd-video-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255,107,0,0.9);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.pd-video-overlay:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background: rgba(255,107,0,1);
}

.pd-video-overlay svg {
    width: 35px;
    height: 35px;
    fill: #fff;
    margin-left: 5px;
}

/* VIDEO MODAL */
.pd-video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.9);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.pd-video-modal.active {
    display: flex;
}

.pd-video-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.pd-video-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: #FF6B00;
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* INFO SEKCE */
.pd-info {
    padding-top: 10px;
}

.pd-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
    line-height: 1.3;
}

/* ROZMĚR */
.pd-dimensions {
    font-size: 20px;
    color: #333;
    margin-bottom: 25px;
    background: #f9f9f9;
    padding: 12px 20px;
    border-radius: 8px;
    display: inline-block;
}

.pd-dimensions-label {
    font-weight: 400;
    color: #666;
}

.pd-dimensions-value {
    font-weight: 700;
    color: #1a1a1a;
}

.pd-availability {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.pd-stock-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #4CAF50;
    color: #fff;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
}

/* 5 stavů availability — barvy podle významu */
.pd-stock-badge.avail-skladem         { background: #4CAF50; }
.pd-stock-badge.avail-novinka         { background: #2196F3; }
.pd-stock-badge.avail-sleva           { background: #E91E63; }
.pd-stock-badge.avail-na-objednavku   { background: #9C27B0; }
.pd-stock-badge.avail-na-poptavku     { background: #FF9800; }
.pd-stock-badge.na-poptavku           { background: #FF9800; }   /* legacy */

.pd-stock-badge svg {
    width: 18px;
    height: 18px;
    stroke: #fff;
}

.pd-delivery {
    font-size: 14px;
    color: #666;
}

/* CENY - OPTIMALIZOVÁNO */
.pd-price-box {
    background: linear-gradient(135deg, #f9f9f9 0%, #fff 100%);
    border: 2px solid #FF6B00;
    border-radius: 12px;
    padding: 25px;
    margin: 30px 0;
}

.pd-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e0e0e0;
}

.pd-price-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.pd-price-label {
    color: #666;
    font-size: 14px;
}

.pd-price-value {
    text-align: right;
}

.pd-price-czk {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

/* ZMĚNĚNÁ HLAVNÍ CENA */
.pd-price-czk.with-vat {
    font-size: 22px;  /* ZMĚNĚNO z 24px */
    font-weight: 700;
    color: #FF6B00;
}

.pd-price-eur {
    font-size: 13px;
    color: #999;
    margin-top: 3px;
}

/* MNOŽSTVÍ A KOŠÍK */
.pd-cart-section {
    display: flex;
    gap: 15px;
    align-items: stretch;
}

.pd-quantity {
    display: flex;
    align-items: center;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
}

.pd-qty-btn {
    width: 50px;
    height: 50px;
    border: none;
    background: #fff;
    cursor: pointer;
    font-size: 24px;
    font-weight: 600;
    color: #666;
    transition: all 0.3s;
}

.pd-qty-btn:hover {
    background: #FF6B00;
    color: #fff;
}

.pd-qty-value {
    width: 80px;
    text-align: center;
    border: none;
    font-size: 18px;
    font-weight: 700;
    outline: none;
    padding: 0 5px;
}

/* Zvýraznění při focusu */
.pd-qty-value:focus {
    background: #fffbf0;
}

/* Zabránit šipkám u number inputu */
.pd-qty-value::-webkit-inner-spin-button,
.pd-qty-value::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.pd-qty-value[type=number] {
    -moz-appearance: textfield;
}

.pd-btn-cart {
    flex: 1;
    padding: 15px 30px;
    background: linear-gradient(135deg, #FF6B00 0%, #ff8533 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(255,107,0,0.3);
    text-decoration: none;
}

.pd-btn-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255,107,0,0.4);
}

.pd-btn-cart svg {
    width: 20px;
    height: 20px;
    stroke: #fff;
}

/* SOUVISEJÍCÍ PRODUKTY - OPRAVENO! */
.pd-related {
    background: #f9f9f9;
    border-radius: 12px;
    padding: 30px;
    margin: 40px 0;
}

.pd-related-title {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-bottom: 25px;
}

.pd-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.pd-related-item {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    text-decoration: none;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.pd-related-item:hover {
    border-color: #FF6B00;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.pd-related-image {
    width: 100%;
    height: 180px;
    background: #f5f5f5;
    border-radius: 8px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 5px;
}

.pd-related-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.pd-related-name {
    font-size: 14px;
    color: #333;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
}

.pd-related-dimensions {
    font-size: 13px;
    color: #333;
    margin-bottom: 10px;
    padding: 6px 10px;
    background: #f9f9f9;
    border-radius: 6px;
}

.pd-related-price {
    font-size: 18px;
    color: #FF6B00;
    font-weight: 700;
}

.pd-related-price-label {
    font-size: 12px;
    color: #999;
    font-weight: 400;
    margin-left: 3px;
}

.pd-related-price-eur {
    font-size: 13px;
    color: #999;
    margin-top: 2px;
}

/* SPECIFIKACE */
.pd-specs {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    margin-bottom: 40px;
}

.pd-specs-title {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid #FF6B00;
}

.pd-specs-content {
    line-height: 1.8;
    color: #333;
    font-size: 15px;
    /* POZOR: sekce sama NESMÍ horizontálně scrollovat (posouval by se i text) —
       vodorovný scroll mají jen samotné tabulky uvnitř (viz mobilní blok níže). */
}

/* STYLY PRO HTML OBSAH VE SPECIFIKACÍCH */
.pd-specs-content h2 {
    color: #FF6B00;
    margin: 25px 0 15px;
    font-size: 20px;
    font-weight: 700;
}

.pd-specs-content h3 {
    color: #333;
    margin: 20px 0 10px;
    font-size: 18px;
    font-weight: 700;
}

.pd-specs-content p {
    margin-bottom: 15px;
}

.pd-specs-content ul {
    margin: 15px 0 15px 30px;
    list-style: disc;
}

.pd-specs-content ol {
    margin: 15px 0 15px 30px;
    list-style: decimal;
}

.pd-specs-content strong {
    color: #1a1a1a;
    font-weight: 600;
}

/* STYLY PRO TABULKY VE SPECIFIKACÍCH */
.pd-specs-content {
    /* Pojistka proti overflow z tabulek. `clip` navíc (na rozdíl od `hidden`)
       nevytváří scroll kontejner → iOS nemůže obsah posouvat gestem do strany. */
    max-width: 100%;
    overflow-x: hidden;
    overflow-x: clip;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.pd-specs-content table {
    width: 100%;
    max-width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    table-layout: auto;
}

.pd-specs-content table th,
.pd-specs-content table td {
    border: 1px solid #e0e0e0;
    padding: 12px 15px;
    text-align: left;
}

.pd-specs-content table th {
    background: linear-gradient(180deg, #f8f8f8 0%, #f0f0f0 100%);
    font-weight: 600;
    color: #333;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Scroll wrapper tabulek (obaluje je produkt.php) — vodorovně scrolluje JEN on,
   stránka ani sekce se nehýbou a text zůstává na místě. Tabulka uvnitř zůstává
   display:table → sloupce hlavičky a těla jsou zarovnané. Na desktopu se obsah
   vejde, takže wrapper je neviditelný (žádný scrollbar). */
.pd-specs-content .pd-table-scroll {
    max-width: 100%;
    overflow-x: auto;
    margin: 20px 0;
    border-radius: 10px;
}

.pd-specs-content .pd-table-scroll > table {
    /* Svislý odstup nese wrapper; !important přebíjí inline margin z DB obsahu. */
    margin: 0 !important;
}

/* Spec block (nove kategorie specifikace v category_translations.default_specification) */
.pd-specs-content .spec-block h4 {
    margin: 0 0 18px;
    font-family: 'Space Grotesk', 'Manrope', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #181511;
    letter-spacing: -0.02em;
}

.pd-specs-content .spec-block h5 {
    margin: 28px 0 12px;
    font-family: 'Space Grotesk', 'Manrope', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #FF6B00;
    letter-spacing: -0.01em;
}

.pd-specs-content .spec-block p {
    margin: 0 0 14px;
}

.pd-specs-content .spec-block em {
    color: #888;
    font-size: 13px;
    font-style: italic;
}

/* Spec-norms-table (inline tabulka norem) */
.pd-specs-content .spec-norms-table {
    border-collapse: collapse;
    margin: 18px 0;
    font-size: 14px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.pd-specs-content .spec-norms-table th {
    background: linear-gradient(180deg, #fff7f1, #fff) !important;
    color: #FF6B00;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.pd-specs-content .spec-norms-table td {
    background: #fff;
    color: #333;
    font-weight: 500;
}

/* ====== MOBILE RESPONSIVE TABULKY ====== */
@media (max-width: 768px) {

    /* Spec-block typografie zmensit na mobilu */
    .pd-specs-content .spec-block h4 {
        font-size: 20px;
    }
    .pd-specs-content .spec-block h5 {
        font-size: 16px;
        margin-top: 22px;
    }
    .pd-specs-content .spec-block p {
        font-size: 14.5px;
        line-height: 1.6;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }

    /* Tabulky scrollují přes wrapper .pd-table-scroll (viz základní blok výše).
       POZOR: display:block na <table> NEpoužívat — rozpojí thead a tbody do dvou
       anonymních tabulek a sloupce hlavičky/těla se přestanou zarovnávat. */
    .pd-specs-content table {
        font-size: 13px;
    }

    .pd-specs-content .pd-table-scroll {
        margin: 16px 0;
    }

    .pd-specs-content table th,
    .pd-specs-content table td {
        padding: 8px 12px !important;
        white-space: nowrap !important; /* bunky se NEzalamuji — scroll vodorovne */
        font-size: 13px;
    }

    /* Spec-norms-table dostane na mobilu jemný oranžový rámeček
       (scroll řeší wrapper .pd-table-scroll, ne tabulka sama). */
    .pd-specs-content .spec-norms-table {
        border: 1px solid rgba(255, 107, 0, 0.18);
        box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    }
}

.pd-specs-content table tr:nth-child(even) {
    background: #fafafa;
}

.pd-specs-content table tr:hover {
    background: #f5f5f5;
}

.pd-specs-content a {
    color: #FF6B00;
    text-decoration: none;
    font-weight: 600;
}

.pd-specs-content a:hover {
    text-decoration: underline;
}

/* Scrollbar pro tabulky — cílí na scroll wrapper .pd-table-scroll,
   sekce .pd-specs-content sama nescrolluje. */
.pd-specs-content .pd-table-scroll::-webkit-scrollbar {
    height: 6px;
}

.pd-specs-content .pd-table-scroll::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.pd-specs-content .pd-table-scroll::-webkit-scrollbar-thumb {
    background: #FF6B00;
    border-radius: 3px;
}

.pd-specs-content .pd-table-scroll::-webkit-scrollbar-thumb:hover {
    background: #e55a00;
}

/* SEKCE - POMOC S VÝBĚREM */
.pd-help {
    background: linear-gradient(135deg, #fff 0%, #f8f8f8 100%);
    border-radius: 16px;
    padding: 45px;
    text-align: center;
    border: 1px solid #e0e0e0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
}

.pd-help::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #FF6B00 0%, #ff8533 50%, #FF6B00 100%);
}

.pd-help-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, #FF6B00 0%, #ff8533 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 32px rgba(255,107,0,0.35), inset 0 -2px 8px rgba(0,0,0,0.08);
    color: #fff; /* dedi se do SVG stroke="currentColor" */
}

.pd-help-icon svg {
    width: 44px;
    height: 44px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.12));
}

.pd-help-title {
    font-size: 26px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.pd-help-text {
    font-size: 16px;
    color: #666;
    margin-bottom: 35px;
    line-height: 1.6;
}

.pd-help-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.pd-help-btn {
    padding: 18px 40px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    min-width: 220px;
    justify-content: center;
}

.pd-help-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s;
}

.pd-help-btn:hover::before {
    left: 100%;
}

.pd-help-btn-faq {
    background: #fff;
    border: 2px solid #FF6B00;
    color: #FF6B00;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.pd-help-btn-faq:hover {
    background: #FF6B00;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255,107,0,0.2);
}

.pd-help-btn-faq:hover svg {
    stroke: #fff;
}

.pd-help-btn-call {
    background: linear-gradient(135deg, #FF6B00 0%, #ff8533 100%);
    color: #fff;
    border: 2px solid transparent;
    box-shadow: 0 4px 20px rgba(255,107,0,0.3);
}

.pd-help-btn-call:hover {
    background: linear-gradient(135deg, #e55a00 0%, #FF6B00 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255,107,0,0.4);
}

.pd-help-btn svg {
    width: 22px;
    height: 22px;
    stroke-width: 2.5;
    transition: all 0.3s;
}

.pd-help-btn-faq svg {
    stroke: #FF6B00;
}

.pd-help-btn-call svg {
    stroke: #fff;
    animation: phoneRing 2s ease-in-out infinite;
}

@keyframes phoneRing {
    0%, 100% { transform: rotate(0deg); }
    10%, 30% { transform: rotate(-15deg); }
    20%, 40% { transform: rotate(15deg); }
}

/* MOBILE - OPTIMALIZOVÁNO */
@media (max-width: 768px) {
    .pd-main {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    /* ZMĚNĚNÁ OBRÁZEK NA MOBILU */
    .pd-image-container {
        height: 300px;  /* ZMĚNĚNO z 350px */
    }
    
    /* UPRAVENÁ NADPIS NA MOBILU - MENŠÍ */
    .pd-title {
        font-size: 18px;  /* ZMĚNĚNO z 20px - trochu menší, ale stále čitelný */
        line-height: 1.4;
        margin-bottom: 12px;
    }
    
    .pd-dimensions {
        font-size: 16px;  /* ZMĚNĚNO z 17px */
        padding: 10px 15px;
    }
    
    /* OPTIMALIZOVANÉ CENY NA MOBILU */
    .pd-price-box {
        padding: 20px 18px;
    }
    
    .pd-price-czk {
        font-size: 16px;
    }
    
    .pd-price-czk.with-vat {
        font-size: 19px;  /* ZMĚNĚNO z 22px */
    }
    
    .pd-price-label {
        font-size: 13px;
    }
    
    .pd-price-eur {
        font-size: 12px;
    }
    
    .pd-cart-section {
        flex-direction: column;
        align-items: center;       /* centrovat quantity + button */
        gap: 14px;
    }

    /* Vycentrovany kompaktni quantity selector misto plnopojem prazdneho pruhu */
    .pd-quantity {
        width: auto;
        max-width: 220px;
        margin: 0 auto;
    }

    .pd-qty-btn {
        width: 52px;
        height: 52px;
        font-size: 22px;
    }

    .pd-qty-value {
        width: 96px;                /* misto na 4-mistny pocet */
        font-size: 18px;
        font-weight: 700;
    }

    .pd-btn-cart {
        width: 100%;
    }

    .pd-related-grid {
        grid-template-columns: 1fr;
    }
    
    .pd-specs {
        padding: 25px 20px;
    }

    /* POZN. (oprava 2026-06-12): tady býval starší pokus o responzivní tabulky
       (overflow-x: auto + -webkit-overflow-scrolling na CELÉ .pd-specs-content
       + min-width: 500px na tabulce). Protože byl v souboru POZDĚJI, přebíjel
       novější správné řešení z bloku „MOBILE RESPONSIVE TABULKY" výše — na
       mobilu se pak vodorovně posouvala celá sekce včetně textu a tabulka
       trčela mimo kartu. Scroll teď mají VÝHRADNĚ tabulky samotné. */

    .pd-help {
        padding: 30px 20px;
    }
    
    .pd-help-icon {
        width: 60px;
        height: 60px;
    }

    .pd-help-icon svg {
        width: 32px;
        height: 32px;
    }
    
    .pd-help-title {
        font-size: 20px;
    }
    
    .pd-help-text {
        font-size: 14px;
        margin-bottom: 25px;
    }
    
    .pd-help-buttons {
        gap: 12px;
    }
    
    .pd-help-btn {
        width: 100%;
        min-width: auto;
        padding: 14px 20px;
        font-size: 14px;
        letter-spacing: 0.3px;
        gap: 8px;
    }
    
    .pd-help-btn svg {
        width: 18px;
        height: 18px;
    }
}

/* EXTRA MALÉ OBRAZOVKY */
@media (max-width: 480px) {
    .pd-container {
        padding: 20px 15px;
    }
    
    .pd-image-container {
        height: 280px;  /* JEŠTĚ MENŠÍ */
    }
    
    /* JEŠTĚ MENŠÍ NADPIS PRO MALÉ DISPLEJE */
    .pd-title {
        font-size: 17px;  /* ZMĚNĚNO z 19px - ideální pro malé mobily */
        line-height: 1.35;
    }
    
    .pd-dimensions {
        font-size: 15px;  /* ZMĚNĚNO z 16px */
        padding: 8px 12px;
    }
    
    /* JEŠTĚ MENŠÍ CENY PRO MALÉ DISPLEJE */
    .pd-price-box {
        padding: 18px 15px;
    }
    
    .pd-price-czk.with-vat {
        font-size: 18px;
        word-break: break-all;  /* Pro velmi dlouhé ceny */
    }
    
    /* POZN. (oprava 2026-06-12): min-width: 450px odstraněn — min-width vítězí
       nad max-width: 100 %, takže roztahoval tabulku mimo kartu. Šířku obsahu
       určují buňky (white-space: nowrap) a tabulka scrolluje sama. */
    .pd-specs-content table {
        font-size: 12px;
    }

    .pd-specs-content table th,
    .pd-specs-content table td {
        padding: 8px 10px;
    }
}

/* PŘEPSÁNÍ INLINE STYLŮ Z SUMMERNOTE */
.pd-specs-content table[style] {
    width: 100% !important;
    max-width: 100% !important;
}

.pd-specs-content td[style],
.pd-specs-content th[style] {
    width: auto !important;
}

/* POZN. (oprava 2026-06-12): tady býval čtvrtý, nejstarší pokus o responzivní
   tabulky — `display: block` na table + tbody + tr. Každý řádek se pak layoutoval
   jako samostatná anonymní tabulka → sloupce hlavičky a těla NEBYLY zarovnané.
   Responzivitu tabulek řeší scroll wrapper `.pd-table-scroll` (obaluje produkt.php),
   tabulky zůstávají display:table. */