/**
 * assets/css/header-cta.css
 * PHASE 5 FIX: Primary CTA button styles for desktop nav header.
 */

/* Desktop CTA button */
.hdr-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 20px;
    /* WCAG FIX: Darkened to #b84200 → white text contrast ratio ≈ 4.6:1 (passes AA) */
    background: linear-gradient(135deg, #c94a00, #a83b00);
    color: #fff !important;
    border-radius: 50px;
    font-size: .83rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 4px 16px rgba(180, 60, 0, .35);
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
    font-family: 'Poppins', sans-serif;
    letter-spacing: .2px;
}

.hdr-cta-btn:hover,
.hdr-cta-btn:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(180, 60, 0, .45);
    background: linear-gradient(135deg, #e05500, #c94a00);
    color: #fff !important;
    outline: none;
}

.hdr-cta-btn:focus-visible {
    outline: 3px solid #c94a00;
    outline-offset: 3px;
}

/* Hide on mobile — drawer has its own CTA */
@media (max-width: 991px) {
    .hdr-cta-btn {
        display: none;
    }
}

/* ── Blog skeleton loader ── */
.blg-skeleton {
    background: linear-gradient(90deg, #f0ece8 25%, #e8e4e0 50%, #f0ece8 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s infinite;
    border-radius: 8px;
}

@keyframes skeleton-shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.blg-pcard-skeleton {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    border: 1.5px solid #f0ece8;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .05);
}

.blg-pcard-skeleton .sk-img {
    height: 200px;
    width: 100%;
}

.blg-pcard-skeleton .sk-body {
    padding: 20px 22px 22px;
}

.blg-pcard-skeleton .sk-line {
    height: 14px;
    margin-bottom: 10px;
    border-radius: 4px;
}

.blg-pcard-skeleton .sk-line.sk-title {
    height: 20px;
    width: 85%;
    margin-bottom: 14px;
}

.blg-pcard-skeleton .sk-line.sk-meta {
    width: 55%;
}

.blg-pcard-skeleton .sk-line.sk-excerpt {
    width: 100%;
}

.blg-pcard-skeleton .sk-line.sk-excerpt-2 {
    width: 70%;
}

/* ── Payment trust badges ── */
.payment-trust-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.payment-trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: .72rem;
    font-weight: 600;
    color: #6b7280;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 5px 10px;
    font-family: 'Poppins', sans-serif;
}

.payment-trust-badge i {
    color: #22c55e;
    font-size: .8rem;
}

.payment-trust-badge.razorpay-badge {
    color: #072654;
    border-color: #d1e3ff;
    background: #f0f6ff;
}