/* ============================================================
   SALIENT CHILD — Custom Product Page Styles
   Scope: .summary, .sticky-cart-bar, .produkt-*
   ============================================================ */

/* ── Subtytuł nad tytułem produktu ───────────────────────── */
.produkt-subtytul {
    color: #9B8BC4;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
}

/* ── Tytuł produktu ─────────────────────────────────────── */
.product_title.entry-title {
    text-transform: uppercase !important;
    letter-spacing: 0.02em !important;
    font-weight: 700 !important;
    color: #1B2B4C !important;
    line-height: 1.2 !important;
    margin-bottom: 16px !important;
}

/* ── Cena ───────────────────────────────────────────────── */
.summary .price {
    font-size: 2rem !important;
    color: #1B2B4C !important;
    font-weight: 700 !important;
}
.summary .price del {
    color: #999 !important;
    font-size: 1.25rem !important;
    margin-right: 12px !important;
    font-weight: 400 !important;
}
.summary .price ins {
    text-decoration: none !important;
    background: transparent !important;
}


/* ── Badge'y zaufania ───────────────────────────────────── */
.produkt-trust-badges {
    display: flex;
    gap: 12px;
    margin: 24px 0 16px;
    flex-wrap: wrap;
}
.produkt-trust-badges span {
    background: #F7FAFD;
    border: 1px solid #D6ECFA;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 0.875rem;
    color: #1B2B4C;
    font-weight: 500;
}

/* ── Metody płatności ────────────────────────────────────── */
.produkt-payment-methods {
    display: flex;
    gap: 12px;
    align-items: center;
    margin: 16px 0 24px;
    padding: 12px 16px;
    border: 1px solid #D6ECFA;
    border-radius: 12px;
    flex-wrap: wrap;
}
.produkt-payment-banner {
    width: 100%;
    height: auto;
    display: block;
}

/* ── Sticky Cart Bar ─────────────────────────────────────── */
.sticky-cart-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    background: #fff;
    box-shadow: 0 -2px 16px rgba(27, 43, 76, 0.12);
    transform: translateY(100%);
    transition: transform 0.3s ease;
    padding: 12px 24px;
}
.sticky-cart-bar.visible {
    transform: translateY(0);
}
.sticky-cart-inner {
    display: flex;
    align-items: center;
    gap: 16px;
    max-width: 1200px;
    margin: 0 auto;
}
.sticky-cart-thumb img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}
.sticky-cart-info {
    flex: 1;
    min-width: 0;
}
.sticky-cart-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1B2B4C;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.sticky-cart-price {
    font-size: 1rem;
    font-weight: 700;
    color: #1B2B4C;
}
.sticky-cart-btn {
    background: linear-gradient(135deg, #9B8BC4 0%, #7B6BAF 100%);
    color: #fff !important;
    border: none;
    border-radius: 999px;
    padding: 12px 28px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s;
    flex-shrink: 0;
}
.sticky-cart-btn:hover {
    background: linear-gradient(135deg, #a99bd0 0%, #8b7bbf 100%);
    box-shadow: 0 6px 24px rgba(155, 139, 196, 0.45);
}
.sticky-cart-btn.added {
    background: #4caf50;
}

/* Padding body żeby stopka nie była zasłonięta */
body.single-product {
    padding-bottom: 80px !important;
}

/* ── Responsywność ──────────────────────────────────────── */
@media (max-width: 600px) {
    .sticky-cart-thumb,
    .sticky-cart-text {
        display: none;
    }
    .sticky-cart-bar {
        padding: 10px 16px;
    }
    .sticky-cart-btn {
        padding: 12px 20px;
    }
}
