/* ============================================================
   SafeBuy — Product Detail Page Styles
   Used by: shop/show.php
   ============================================================ */

.pdp-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 8rem 1.5rem 5rem;
}

/* ── Breadcrumb ── */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: #bbb;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}
.breadcrumb a { color: #888; text-decoration: none; transition: color 0.15s; }
.breadcrumb a:hover { color: #C9933A; }
.breadcrumb i { font-size: 0.7rem; }

/* ── Main grid ── */
.pdp-grid {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 4rem;
    align-items: start;
}
@media (max-width: 900px) {
    .pdp-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ── Media ── */
.media-main {
    aspect-ratio: 4/3;
    border-radius: 1rem;
    overflow: hidden;
    background: #F7F5F2;
    border: 1px solid #F0EDE8;
    margin-bottom: 1rem;
}
.media-main img,
.media-main video { width: 100%; height: 100%; object-fit: cover; }
.no-media {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: #ccc;
}
.no-media i { font-size: 3rem; }
.no-media span {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.media-thumbs { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.thumb {
    width: 76px;
    height: 76px;
    border-radius: 0.6rem;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.15s;
    background: #F7F5F2;
    flex-shrink: 0;
}
.thumb.active,
.thumb:hover { border-color: #C9933A; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb-video {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0B1628;
    color: #fff;
}
.thumb-video i { font-size: 1.25rem; }

/* ── Info panel ── */
.pdp-info { position: sticky; top: 6rem; }

.pdp-cat {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #C9933A;
    margin-bottom: 0.75rem;
}
.pdp-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    font-weight: 700;
    color: #0B1628;
    line-height: 1.2;
    margin: 0 0 1.5rem;
}

/* ── Price block ── */
.pdp-price-block {
    padding: 1.25rem 0;
    border-top: 1px solid #F0EDE8;
    border-bottom: 1px solid #F0EDE8;
    margin-bottom: 1.5rem;
}
.price-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #bbb;
    margin-bottom: 0.35rem;
}
.price-value { font-size: 2rem; font-weight: 700; color: #0B1628; line-height: 1; }
.price-value.negotiable { font-size: 1.25rem; color: #C9933A; }
.price-note { font-size: 0.8rem; color: #888; margin-top: 0.35rem; }

/* ── Shipping tag ── */
.shipping-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    margin-bottom: 1.5rem;
}
.shipping-tag.free { background: #F0FDF4; color: #15803D; border: 1px solid #BBF7D0; }
.shipping-tag.paid { background: #FDF8F0; color: #92400E; border: 1px solid #F3D4A5; }

/* ── Seller strip ── */
.seller-strip {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #F0EDE8;
    margin-bottom: 1.5rem;
}
.seller-avatar {
    width: 40px;
    height: 40px;
    border-radius: 0.6rem;
    background: #0B1628;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #C9933A;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
}
.seller-info { flex: 1; min-width: 0; }
.seller-name {
    font-size: 0.875rem;
    font-weight: 700;
    color: #0B1628;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.seller-name .verified { color: #C9933A; font-size: 0.9rem; }
.seller-sub { font-size: 0.75rem; color: #aaa; margin-top: 0.1rem; }
.seller-strip a {
    font-size: 0.78rem;
    font-weight: 700;
    color: #0B1628;
    text-decoration: none;
    border: 1.5px solid #E8E5E0;
    padding: 0.4rem 0.9rem;
    border-radius: 0.5rem;
    white-space: nowrap;
    transition: all 0.15s;
    flex-shrink: 0;
}
.seller-strip a:hover { border-color: #C9933A; color: #C9933A; }

/* ── Action buttons ── */
.pdp-actions { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 1.5rem; }
.btn-buy {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    background: #0B1628;
    color: #fff;
    border: none;
    padding: 1rem;
    border-radius: 0.75rem;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    font-family: 'Plus Jakarta Sans', sans-serif;
    text-decoration: none;
    transition: background 0.2s;
}
.btn-buy:hover { background: #1B3A6B; }

.btn-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    background: transparent;
    color: #0B1628;
    border: 1.5px solid #0B1628;
    padding: 1rem;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    font-weight: 700;
    cursor: pointer;
    font-family: 'Plus Jakarta Sans', sans-serif;
    text-decoration: none;
    transition: all 0.2s;
}
.btn-contact:hover { background: #F7F5F2; }
.btn-disabled {
    background: #F7F5F2;
    color: #bbb;
    padding: 1rem;
    border-radius: 0.75rem;
    font-size: 0.95rem;
    font-weight: 700;
    text-align: center;
    cursor: not-allowed;
}

/* ── Shipping cost input ── */
.shipping-input-wrap {
    background: #F7F5F2;
    border-radius: 0.75rem;
    padding: 1rem;
    margin-bottom: 0.75rem;
}
.shipping-input-wrap label {
    font-size: 0.75rem;
    font-weight: 700;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 0.5rem;
}
.shipping-input-wrap input {
    width: 100%;
    border: 1.5px solid #E8E5E0;
    border-radius: 0.5rem;
    padding: 0.65rem 0.9rem;
    font-size: 0.875rem;
    outline: none;
    background: #fff;
    font-family: 'Plus Jakarta Sans', sans-serif;
    transition: border-color 0.2s;
}
.shipping-input-wrap input:focus { border-color: #C9933A; }
.shipping-input-wrap p { font-size: 0.72rem; color: #aaa; margin: 0.4rem 0 0; }

/* ── Escrow notice ── */
.escrow-notice {
    display: flex;
    gap: 0.75rem;
    padding: 1rem;
    background: #F7F5F2;
    border-radius: 0.75rem;
    border-left: 3px solid #C9933A;
    margin-top: 1rem;
}
.escrow-notice i { color: #C9933A; font-size: 1.1rem; flex-shrink: 0; margin-top: 0.1rem; }
.escrow-notice p { font-size: 0.78rem; color: #555; line-height: 1.5; margin: 0; }
.escrow-notice p strong { color: #0B1628; }

/* ── Description ── */
.pdp-desc { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid #F0EDE8; }
.section-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #bbb;
    margin-bottom: 1rem;
    display: block;
}
.pdp-desc-text { font-size: 0.9rem; color: #555; line-height: 1.8; white-space: pre-wrap; }
.appeal-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    color: #bbb;
    margin-top: 1rem;
    text-decoration: none;
    transition: color 0.15s;
}
.appeal-link:hover { color: #E24B4A; }

/* ── Guest prompt ── */
.guest-prompt {
    background: #0B1628;
    color: #fff;
    border-radius: 0.75rem;
    padding: 1.25rem 1rem;
    text-align: center;
}
.guest-prompt p { font-size: 0.875rem; color: rgba(255,255,255,0.65); margin: 0 0 0.75rem; }
.guest-prompt a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: #C9933A;
    color: #fff;
    padding: 0.65rem 1.5rem;
    border-radius: 0.6rem;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    transition: opacity 0.2s;
}
.guest-prompt a:hover { opacity: 0.88; }



/* ── Verified seller badge ── */
.verified {
    color: #1D4ED8;
    font-size: 1rem;
    vertical-align: middle;
    margin-left: .2rem;
}

.seller-name .verified {
    display: inline-flex;
    align-items: center;
}