/* ============================================================
   SOLÁRIA ROSE — Detail produktu (produkt.php)
   Samostatná stránka jednoho produktu, styl zarovnaný s obchodním
   vzhledem katalogu SunCity — velká fotka, cena, chipy, akce.
   ============================================================ */

.pd-page {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    padding: 28px 20px 70px;
}

.pd-trail {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 0.82rem;
    color: var(--text-secondary, #77706f);
    margin-bottom: 22px;
}
.pd-trail a { color: var(--text-secondary, #77706f); text-decoration: none; }
.pd-trail a:hover { color: var(--accent); text-decoration: underline; }
.pd-trail span:last-child { color: var(--text-primary, #221b1c); font-weight: 600; }

.pd-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 40px;
    align-items: start;
}
@media (max-width: 760px) {
    .pd-grid { grid-template-columns: 1fr; gap: 24px; }
}

.pd-foto {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: 20px;
    overflow: hidden;
    background: var(--bg-secondary, #f6f1ef);
    border: 1px solid var(--glass-border, #ece3e1);
    display: flex;
    align-items: center;
    justify-content: center;
}
.pd-foto img { width: 100%; height: 100%; object-fit: cover; opacity: 1; }
.pd-noimg { font-size: 3rem; opacity: 0.3; }
.pd-badge-ml {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(34, 27, 28, 0.72);
    color: #fff;
    font-size: 0.74rem;
    font-weight: 700;
}

.pd-info { display: flex; flex-direction: column; gap: 14px; }
.pd-info h1 {
    font-family: var(--font-display, 'Playfair Display', Georgia, serif);
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    line-height: 1.2;
    margin: 0;
    text-align: left;
    border: none;
    padding: 0;
    color: var(--text-primary, #221b1c);
}

.pd-cena-blok {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 10px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--glass-border, #ece3e1);
}
.pd-cena-puvodni {
    text-decoration: line-through;
    color: var(--text-secondary, #77706f);
    font-size: 1rem;
}
.pd-cena {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary, #221b1c);
    line-height: 1;
}
.pd-cena-jednotka {
    font-size: 0.78rem;
    color: var(--text-secondary, #77706f);
    align-self: center;
}

.pd-sklad-row { display: flex; flex-wrap: wrap; gap: 8px; }
.pd-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    border: 1px solid transparent;
}
.pd-chip i, .pd-chip svg { width: 1em; height: 1em; }
.pd-chip--ok   { background: #eaf6eb; color: #2e7d32; border-color: #c8e6c9; }
.pd-chip--bad  { background: #fbeaea; color: #b03a2e; border-color: #f2cccc; }
.pd-chip--wait { background: #fff6e0; color: #8a6d1f; border-color: #f0e2b0; }
.pd-chip--vip  { background: linear-gradient(135deg, #d4af37, #a8801d); color: #fff; border-color: transparent; }

.pd-popis {
    margin: 0;
    color: var(--text-secondary, #4a4342);
    line-height: 1.7;
    font-size: 0.95rem;
}

.pd-form { display: flex; gap: 10px; margin-top: 4px; }
.pd-mnozstvi {
    width: 68px;
    flex: 0 0 68px;
    padding: 12px;
    text-align: center;
    border: 1px solid var(--glass-border, #ddd);
    border-radius: 12px;
    background: var(--bg-secondary, #f6f1ef);
    font: inherit;
    font-size: 0.95rem;
}
.pd-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 12px;
    border: none;
    font: inherit;
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: transform 150ms ease, filter 150ms ease, box-shadow 150ms ease;
}
.pd-btn--primary {
    flex: 1;
    background: linear-gradient(135deg, var(--accent), var(--accent-active));
    color: #fff;
    box-shadow: 0 10px 24px var(--accent-subtle);
}
.pd-btn--primary:hover:not(:disabled) { transform: translateY(-2px); filter: brightness(1.04); }
.pd-btn--primary:disabled { background: #c9c3c3; cursor: not-allowed; box-shadow: none; }
.pd-btn--ghost {
    border: 1px solid var(--glass-border, #ddd);
    background: var(--bg-card, #fff);
    color: var(--text-primary);
}
.pd-btn--ghost:hover { background: var(--bg-secondary, #f6f1ef); }

.pd-note {
    margin: 0;
    font-size: 0.8rem;
    color: var(--text-secondary, #77706f);
}

.pd-locked {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding: 14px 16px;
    border-radius: 12px;
    background: var(--bg-secondary, #f6f1ef);
    border: 1px dashed var(--glass-border, #ddd);
    font-size: 0.88rem;
    color: var(--text-secondary, #4a4342);
}
.pd-locked a { color: var(--accent); font-weight: 700; text-decoration: none; }
.pd-locked a:hover { text-decoration: underline; }

.pd-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-secondary, #77706f);
}
.pd-empty i, .pd-empty svg { width: 44px; height: 44px; opacity: 0.4; margin-bottom: 10px; }
.pd-empty h1 { font-size: 1.4rem; margin: 6px 0 8px; }

.pd-podobne { margin-top: 56px; }
.pd-podobne h2 {
    font-size: 1.2rem;
    text-align: left;
    border: none;
    padding: 0;
    margin: 0 0 16px;
}
.pd-podobne-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
}
.pd-podobne-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-decoration: none;
    color: inherit;
}
.pd-podobne-foto {
    aspect-ratio: 1 / 1;
    border-radius: 14px;
    overflow: hidden;
    background: var(--bg-secondary, #f6f1ef);
    border: 1px solid var(--glass-border, #ece3e1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: box-shadow 150ms ease;
}
.pd-podobne-item:hover .pd-podobne-foto { box-shadow: var(--shadow-md, 0 8px 20px rgba(0,0,0,0.08)); }
.pd-podobne-foto img { width: 100%; height: 100%; object-fit: cover; opacity: 1; }
.pd-podobne-nazev {
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.35;
}
.pd-podobne-cena { font-size: 0.86rem; font-weight: 800; color: var(--accent-active); }
