/*
Theme Name:   ReHub Child for Laptop Duniya
Theme URI:    https://laptopduniya.com
Description:  Custom child theme for ReHub optimized for laptop price comparison, coupons, and high conversion.
Author:       Antigravity
Template:     rehub-theme
Version:      1.0.0
Text Domain:  rehub-child
*/

/* Custom CSS overrides for Laptop Duniya */

/* 1. Typography and Colors */
:root {
    --primary-color: #4f46e5;
    --primary-hover: #4338ca;
    --accent-color: #10b981;
    --text-dark: #0f172a;
    --text-muted: #475569;
    --bg-light: #f8fafc;
    --radius-premium: 12px;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-muted);
    background-color: var(--bg-light);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    color: var(--text-dark);
    font-weight: 700;
}

/* 2. Custom Spec Score Gauge Styles inside ReHub */
.rehub-spec-score-gauge {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 12px 18px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-premium);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    font-family: 'Inter', sans-serif;
}

.rehub-gauge-svg-container {
    position: relative;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rehub-gauge-ring {
    width: 60px;
    height: 60px;
}

.rehub-gauge-bg {
    fill: none;
    stroke: #f1f5f9;
}

.rehub-gauge-fill {
    fill: none;
    stroke-linecap: round;
    transition: stroke-dashoffset 0.8s ease-in-out;
}

/* Gauge Colors based on Spec Score */
.rehub-spec-score-gauge.excellent .rehub-gauge-fill { stroke: #10b981; }
.rehub-spec-score-gauge.good .rehub-gauge-fill { stroke: #6366f1; }
.rehub-spec-score-gauge.average .rehub-gauge-fill { stroke: #f59e0b; }
.rehub-spec-score-gauge.poor .rehub-gauge-fill { stroke: #ef4444; }

.rehub-gauge-score-value {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.rehub-gauge-score-value .score-number {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1;
}

.rehub-gauge-score-value .score-total {
    font-size: 0.65rem;
    color: #64748b;
    font-weight: 600;
}

.rehub-gauge-text-info {
    display: flex;
    flex-direction: column;
}

.rehub-gauge-title {
    margin: 0 0 2px 0;
    font-size: 0.85rem;
    font-weight: 700;
    color: #475569;
}

.rehub-gauge-verdict {
    margin: 0;
    font-size: 0.78rem;
    font-weight: 700;
}

.rehub-spec-score-gauge.excellent .rehub-gauge-verdict { color: #047857; }
.rehub-spec-score-gauge.good .rehub-gauge-verdict { color: #4338ca; }
.rehub-spec-score-gauge.average .rehub-gauge-verdict { color: #b45309; }
.rehub-spec-score-gauge.poor .rehub-gauge-verdict { color: #b91c1c; }

/* 3. Coupon card design enhancements */
.rehub-coupon-badge {
    background: linear-gradient(135deg, var(--accent-color) 0%, #059669 100%);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 6px;
    text-transform: uppercase;
}

.coupon-clipboard-btn {
    border: 2px dashed var(--primary-color) !important;
    background: rgba(79, 70, 229, 0.05) !important;
    color: var(--primary-color) !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    transition: all 0.2s ease !important;
}

.coupon-clipboard-btn:hover {
    background: var(--primary-color) !important;
    color: #ffffff !important;
}
