/* ============================================================
   Product Showcase Pro v3 — Frontend
============================================================ */
.psp-wrap {
    max-width: 860px;
    margin: 0 auto 40px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ── Top badge ── */
.psp-top-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #16a34a;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 7px 16px;
    border-radius: 30px;
    margin-bottom: 18px;
    letter-spacing: .3px;
    box-shadow: 0 2px 8px rgba(22,163,74,.25);
}
.psp-top-badge-icon { flex-shrink: 0; }

/* ── Product wrapper ── */
.psp-product-wrap {
    margin-bottom: 32px;
}

/* ── Top number bar ── */
.psp-top-num {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(90deg,#1e1b4b 0%,#3730a3 100%);
    color: #fff;
    padding: 9px 18px;
    border-radius: 10px 10px 0 0;
    font-weight: 800;
}
.psp-top-num-medal { font-size: 22px; }
.psp-top-num-label {
    font-size: 15px;
    letter-spacing: .5px;
    text-transform: uppercase;
}
.psp-top-num + .psp-block {
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
    border-top: none !important;
}

/* ── Product block ── */
.psp-block {
    display: flex;
    gap: 28px;
    align-items: flex-start;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 22px;
    margin-bottom: 0;
    box-shadow: 0 2px 12px rgba(0,0,0,.07);
}
.psp-product-wrap .psp-buy-section {
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
    border-top: none !important;
    margin-top: 0 !important;
}

@media (max-width: 620px) {
    .psp-block { flex-direction: column; }
    .psp-media { width: 100% !important; }
}

/* ── Media ── */
.psp-media { flex: 0 0 42%; }
.psp-thumb-wrap { position: relative; }
.psp-thumb-wrap img {
    width: 100%;
    border-radius: 8px;
    display: block;
    object-fit: cover;
}
.psp-badge {
    position: absolute;
    top: 10px; left: 10px;
    background: #22c55e;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 20px;
    letter-spacing: .4px;
}
.psp-video-wrap {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    border-radius: 8px;
    overflow: hidden;
    background: #000;
}
.psp-video-wrap iframe,
.psp-video-wrap video {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    border: 0;
}

/* ── Info ── */
.psp-info { flex: 1; min-width: 0; }
.psp-cats {
    display: flex; flex-wrap: wrap; gap: 5px;
    margin-bottom: 8px;
}
.psp-cats a {
    font-size: 11px; font-weight: 700;
    text-transform: uppercase; letter-spacing: .5px;
    color: #6b7280;
    background: #f3f4f6;
    padding: 2px 9px;
    border-radius: 20px;
    text-decoration: none;
}
.psp-cats a:hover { background: #7c3aed; color: #fff; }
.psp-title {
    font-size: 22px !important;
    font-weight: 800 !important;
    margin: 0 0 12px !important;
    line-height: 1.25 !important;
    color: #111 !important;
}

/* ── Prices ── */
.psp-prices {
    display: flex; align-items: baseline; gap: 10px;
    margin-bottom: 16px;
}
.psp-price-now { font-size: 26px; font-weight: 800; color: #111; }
.psp-price-was { font-size: 16px; color: #9ca3af; text-decoration: line-through; }

/* ── CTA ── */
.psp-cta {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    width: 100% !important;
    padding: 13px 20px !important;
    background: #7c3aed !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    letter-spacing: .8px !important;
    text-transform: uppercase !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    margin-bottom: 12px !important;
    transition: filter .2s, transform .15s !important;
    box-shadow: 0 4px 14px rgba(124,58,237,.3) !important;
}
.psp-cta:hover { filter: brightness(1.08) !important; transform: translateY(-1px) !important; }

/* ── Coupon ── */
.psp-coupon {
    display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
    border: 2px dashed #e5e7eb;
    border-radius: 8px;
    padding: 9px 13px;
    margin-bottom: 13px;
    background: #fffbeb;
}
.psp-coupon-lab { font-size: 11px; font-weight: 700; color: #9ca3af; text-transform: uppercase; }
.psp-coupon-btn {
    display: inline-flex; align-items: center; gap: 6px;
    font-family: monospace; font-size: 13px; font-weight: 700;
    background: #fef3c7; border: 1px solid #fbbf24;
    color: #92400e; padding: 5px 12px;
    border-radius: 6px; cursor: pointer; letter-spacing: 1px;
    transition: background .15s;
}
.psp-coupon-btn:hover  { background: #fde68a; }
.psp-coupon-btn.copied { background: #d1fae5; border-color: #22c55e; color: #065f46; }

/* ── Highlights ── */
.psp-highlights {
    list-style: none !important;
    padding: 0 !important; margin: 0 0 13px !important;
}
.psp-highlights li {
    display: flex; align-items: center; gap: 9px;
    font-size: 14px; padding: 4px 0;
}
.psp-hi-ic { font-size: 16px; flex-shrink: 0; }

/* ── Description ── */
.psp-desc { font-size: 14px; color: #6b7280; line-height: 1.6; margin-top: 2px; }

/* ── Buy Cards ── */
.psp-buy-section {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 0 0 10px 10px;
    padding: 22px;
    box-shadow: 0 2px 12px rgba(0,0,0,.07);
}
.psp-buy-heading {
    display: flex; align-items: center; gap: 8px;
    font-size: 15px !important; font-weight: 800 !important;
    margin: 0 0 16px !important;
    padding-bottom: 13px;
    border-bottom: 1px solid #e5e7eb;
    color: #111 !important;
}
.psp-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
}
.psp-card {
    display: flex; flex-direction: column; align-items: center; gap: 13px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 16px 14px;
    background: #f9fafb;
    transition: box-shadow .2s, border-color .2s;
}
.psp-card:hover { border-color: #c4b5fd; box-shadow: 0 4px 14px rgba(124,58,237,.1); }
.psp-card-store {
    display: flex; align-items: center; justify-content: center;
    min-height: 42px;
}
.psp-card-store img { max-height: 42px; max-width: 130px; object-fit: contain; }
.psp-card-name { font-weight: 800; font-size: 15px; }
.psp-card-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
    width: 100% !important;
    padding: 9px 14px !important;
    background: #7c3aed !important;
    color: #fff !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    letter-spacing: .7px !important;
    text-transform: uppercase !important;
    border-radius: 6px !important;
    text-decoration: none !important;
    transition: filter .15s !important;
}
.psp-card-btn:hover { filter: brightness(1.1) !important; }
