/* PatchBant V1.22.3 - make purchase the primary product CTA */
.pb-product-detail .pb-hero-actions,
.pb-product-detail .detail-actions,
.pb-product-detail .hero-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* Official purchase button: strongest visual priority */
.pb-product-detail .pb-hero-actions .btn.official,
.pb-product-detail .pb-hero-actions .btn.pb-buy-primary,
.pb-product-detail .hero-actions .btn.official,
.pb-product-detail .detail-actions .btn.official {
    order: 1 !important;
    min-height: 58px !important;
    min-width: 230px !important;
    padding: 0 30px !important;
    border: 0 !important;
    color: #ffffff !important;
    background: linear-gradient(135deg, #0f766e 0%, #14b8a6 52%, #0d9488 100%) !important;
    box-shadow: 0 22px 42px rgba(15, 118, 110, .30), inset 0 1px 0 rgba(255,255,255,.22) !important;
    font-size: 16px !important;
    letter-spacing: -.01em !important;
    position: relative;
    overflow: hidden;
}

.pb-product-detail .pb-hero-actions .btn.official::before,
.pb-product-detail .hero-actions .btn.official::before,
.pb-product-detail .detail-actions .btn.official::before {
    content: "🛒";
    margin-right: 9px;
    font-size: 16px;
    line-height: 1;
}

.pb-product-detail .pb-hero-actions .btn.official::after,
.pb-product-detail .hero-actions .btn.official::after,
.pb-product-detail .detail-actions .btn.official::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.24), transparent);
    transform: translateX(-120%);
    transition: transform .55s ease;
}

.pb-product-detail .pb-hero-actions .btn.official:hover,
.pb-product-detail .hero-actions .btn.official:hover,
.pb-product-detail .detail-actions .btn.official:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 28px 55px rgba(15, 118, 110, .36), inset 0 1px 0 rgba(255,255,255,.25) !important;
}

.pb-product-detail .pb-hero-actions .btn.official:hover::after,
.pb-product-detail .hero-actions .btn.official:hover::after,
.pb-product-detail .detail-actions .btn.official:hover::after {
    transform: translateX(120%);
}

/* Info button: useful but secondary */
.pb-product-detail .pb-hero-actions .btn.primary,
.pb-product-detail .pb-hero-actions .btn.pb-info-secondary,
.pb-product-detail .hero-actions .btn.primary,
.pb-product-detail .detail-actions .btn.primary {
    order: 2 !important;
    background: #ffffff !important;
    color: #0f766e !important;
    border: 1px solid rgba(15, 118, 110, .24) !important;
    box-shadow: 0 14px 28px rgba(15, 23, 42, .06) !important;
    min-height: 52px !important;
    padding: 0 22px !important;
}

/* Appointment button: tertiary */
.pb-product-detail .pb-hero-actions .btn.secondary,
.pb-product-detail .pb-hero-actions .btn.pb-meeting-secondary,
.pb-product-detail .hero-actions .btn.secondary,
.pb-product-detail .detail-actions .btn.secondary {
    order: 3 !important;
    background: #ffffff !important;
    color: #0f172a !important;
    border: 1px solid rgba(226, 232, 240, .95) !important;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .045) !important;
    min-height: 52px !important;
    padding: 0 22px !important;
}

/* Small trust line under CTA, only if inserted by blade */
.pb-product-detail .pb-cta-helper {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    color: #64748b;
    font-size: 13px;
    font-weight: 800;
}
.pb-product-detail .pb-cta-helper span {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #14b8a6;
    flex: 0 0 auto;
}

/* Product list card CTA: buy/info hierarchy should remain clean */
.product-card .mini-btn,
.product-card .card-actions .mini-btn {
    background: #f1f5f9;
    color: #0f172a;
}
.product-card .text-link {
    color: #0f766e;
}

@media (max-width: 760px) {
    .pb-product-detail .pb-hero-actions,
    .pb-product-detail .hero-actions,
    .pb-product-detail .detail-actions {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 10px !important;
        width: 100% !important;
    }

    .pb-product-detail .pb-hero-actions .btn,
    .pb-product-detail .hero-actions .btn,
    .pb-product-detail .detail-actions .btn {
        width: 100% !important;
        min-width: 0 !important;
    }

    .pb-product-detail .pb-hero-actions .btn.official,
    .pb-product-detail .hero-actions .btn.official,
    .pb-product-detail .detail-actions .btn.official {
        min-height: 60px !important;
        font-size: 16px !important;
    }
}