/* Artham Healthcare — Premium UI Components */

/* Buttons */
.btn-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: var(--text-base);
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
    font-family: inherit;
}

.btn-brand--primary {
    background: linear-gradient(135deg, var(--brand-accent), var(--emerald-dark));
    color: var(--brand-white);
    box-shadow: var(--shadow-btn);
}

.btn-brand--primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 32px rgba(46, 139, 87, 0.4);
    color: var(--brand-white);
}

.btn-brand--navy {
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
    color: var(--brand-white);
    box-shadow: var(--shadow-md);
}

.btn-brand--outline {
    background: var(--brand-white);
    color: var(--brand-primary);
    border: 2px solid var(--brand-primary);
}

/* Cards */
.card-brand {
    background: var(--brand-white);
    border-radius: var(--radius-card);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-card);
    overflow: hidden;
}

.card-brand--elevated {
    box-shadow: var(--shadow-md);
}

/* Benefit / ingredient cards */
.benefit-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    background: var(--brand-white);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}

.benefit-card__icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-light);
    border-radius: 50%;
}

.benefit-card__icon img {
    width: 24px;
    height: 24px;
}

/* Review card premium */
.review-card-premium {
    background: var(--brand-white);
    border-radius: var(--radius-card);
    padding: 18px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-card);
}

.review-card-premium__avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--brand-accent);
}

/* Offer / price card */
.price-card {
    text-align: center;
    padding: 24px 20px;
    background: linear-gradient(180deg, var(--brand-white) 0%, var(--brand-bg) 100%);
    border-radius: var(--radius-card);
    border: 2px solid var(--brand-gold);
    box-shadow: var(--shadow-gold);
}

.price-card__deal {
    display: inline-block;
    background: var(--brand-secondary);
    color: var(--brand-gold);
    font-weight: 800;
    font-size: var(--text-sm);
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    letter-spacing: 0.04em;
    margin-bottom: 12px;
}

.price-card__price {
    font-size: var(--text-3xl);
    font-weight: 800;
    color: var(--brand-primary);
}

.price-card__mrp {
    text-decoration: line-through;
    color: var(--text-muted);
    font-size: var(--text-lg);
    margin-right: 8px;
}

/* Badge row */
.badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.badge-row img {
    height: 32px;
    width: auto;
}

/* Guarantee seal */
.guarantee-seal {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-gold), #B8962E);
    color: var(--brand-secondary);
    font-weight: 800;
    font-size: var(--text-xs);
    text-align: center;
    line-height: 1.2;
    box-shadow: var(--shadow-gold);
}

.guarantee-seal strong {
    font-size: var(--text-xl);
    display: block;
}

/* FAQ accordion premium */
.faq-premium details {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    margin-bottom: 8px;
    background: var(--brand-white);
    overflow: hidden;
}

.faq-premium summary {
    padding: 16px 44px 16px 16px;
    font-weight: 600;
    color: var(--brand-secondary);
    cursor: pointer;
    list-style: none;
    position: relative;
}

.faq-premium summary::after {
    content: '+';
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: var(--brand-primary);
}

.faq-premium details[open] summary::after {
    content: '−';
}

.faq-premium details p {
    padding: 0 16px 16px;
    font-size: var(--text-sm);
    line-height: 1.55;
    color: var(--text-secondary);
}

/* Sticky CTA premium */
.sticky-cta-premium {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 150;
    background: linear-gradient(180deg, var(--brand-secondary), #0a1a3a);
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0));
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.2);
}

/* Floating actions */
.float-wa {
    background: #25D366 !important;
}

.float-call {
    background: var(--brand-accent) !important;
}

/* Premium footer */
.footer-premium {
    background: linear-gradient(180deg, var(--brand-secondary), #0a1a3a);
    color: rgba(255, 255, 255, 0.88);
}

.footer-premium a {
    color: rgba(255, 255, 255, 0.85);
}

.footer-premium a:hover {
    color: var(--brand-gold);
}

/* Hero premium */
.hero-premium {
    position: relative;
    background: var(--brand-bg);
    overflow: hidden;
}

.hero-premium::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../backgrounds/premium-abstract.svg') no-repeat top right;
    background-size: 60%;
    opacity: 0.6;
    pointer-events: none;
}

.hero-premium__bottle {
    filter: drop-shadow(0 16px 32px rgba(15, 36, 84, 0.2));
    max-width: min(260px, 75vw);
    width: 100%;
    height: auto;
}

.hero-premium__seal img {
    width: 72px;
    height: 72px;
}

/* Ingredient list premium */
.ing-premium__item {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 14px;
    background: var(--brand-white);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    margin-bottom: 10px;
    transition: box-shadow 0.2s;
}

.ing-premium__item:hover {
    box-shadow: var(--shadow-sm);
}

.ing-premium__thumb {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent-light);
    background: var(--brand-bg);
}

/* Symptom illustration grid */
.symptom-premium {
    background: var(--brand-white);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    overflow: hidden;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.symptom-premium:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.symptom-premium__img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: contain;
    background: linear-gradient(180deg, var(--brand-bg), var(--brand-white));
    padding: 12px;
}

/* Doctor card premium */
.doctor-premium {
    background: linear-gradient(135deg, var(--brand-secondary), var(--brand-primary));
    border-radius: var(--radius-card);
    padding: 20px;
    color: var(--brand-white);
    box-shadow: var(--shadow-lg);
}

.doctor-premium__title {
    color: var(--brand-gold);
    font-size: var(--text-lg);
    font-weight: 800;
    margin-bottom: 12px;
}

.doctor-premium__inner {
    display: flex;
    gap: 16px;
    align-items: flex-end;
}

.doctor-premium__photo {
    width: 110px;
    height: 130px;
    object-fit: cover;
    object-position: top center;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
    border: 2px solid rgba(212, 175, 55, 0.4);
}

/* Lazy load fade-in */
img[loading="lazy"] {
    opacity: 1;
    transition: opacity 0.3s;
}

img.lazy-loading {
    opacity: 0;
}

/* Countdown premium */
.countdown-premium {
    font-size: var(--text-2xl);
    font-weight: 800;
    color: #DC2626;
    letter-spacing: 0.05em;
}
