/* ==================== SERVICE CARDS ==================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px 24px 24px;
    background: rgba(18, 21, 27, 0.94);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    overflow: hidden;
    content-visibility: auto;
    contain-intrinsic-size: 0 380px;
    contain: layout style paint;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, var(--gold-wash-strong), transparent 65%);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
}

.service-card:hover {
    transform: translateY(-8px) scale(1.015);
    background: var(--surface-3);
    border-color: var(--line-gold);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 25px rgba(229, 183, 87, 0.15);
}

.service-card:hover::before {
    opacity: 1;
}

.card-top {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.service-icon {
    width: 80px;
    height: 80px;
    display: grid;
    place-items: center;
    color: var(--gold);
    background: var(--gold-wash);
    border: 1px solid var(--line-gold);
    border-radius: var(--radius-lg);
    font-size: 30px;
    transition: var(--transition);
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: inherit;
}

.service-card:hover .service-icon {
    transform: scale(1.15) rotate(6deg);
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    color: #0c0e12;
    box-shadow: 0 10px 25px rgba(229, 183, 87, 0.4);
}

.card-top {
    position: relative;
}

.service-tag {
    position: absolute;
    top: -6px;
    right: -6px;
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    color: #0c0e12;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 8px;
    z-index: 1;
    white-space: nowrap;
    letter-spacing: 0.02em;
    box-shadow: 0 2px 8px rgba(229, 183, 87, 0.4);
}

.service-badge {
    padding: 4px 10px;
    color: var(--gold);
    background: var(--gold-wash);
    border: 1px solid var(--line-gold);
    border-radius: var(--radius-full);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.service-title {
    color: var(--text);
    font-size: 18px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 8px;
}

.service-desc {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 16px;
    flex-grow: 1;
}

.service-features {
    list-style: none;
    margin-bottom: 24px;
    padding-top: 16px;
    border-top: 1px dashed var(--line);
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 8px;
}

.service-features li i {
    color: var(--gold);
    font-size: 11px;
}

.service-bottom {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.price-tag {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.price-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    width: 100%;
}

.price-row {
    display: inline-flex;
    align-items: baseline;
    justify-content: center;
    gap: 6px;
}

.price-val {
    color: var(--gold-light);
    font-size: 26px;
    font-weight: 900;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 12px rgba(229, 183, 87, 0.22);
    line-height: 1;
}

.price-currency {
    color: var(--gold);
    font-size: 13px;
    font-weight: 700;
    opacity: 0.85;
}

.price-meta-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
}

.price-tax-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 9px;
    font-size: 11px;
    font-weight: 700;
    color: var(--gold-light);
    background: rgba(229, 183, 87, 0.12);
    border: 1px solid rgba(229, 183, 87, 0.25);
    border-radius: var(--radius-full);
    transition: var(--transition);
}
.price-tax-badge i {
    font-size: 9px;
    color: var(--gold);
}
.price-tax-badge:hover {
    background: rgba(229, 183, 87, 0.18);
    border-color: rgba(229, 183, 87, 0.4);
    transform: translateY(-1px);
}

.price-sub {
    font-size: 11px;
    color: var(--quiet);
    display: flex;
    align-items: center;
    gap: 2px;
}

.price-breakdown {
    font-size: 11px;
    color: var(--quiet);
    display: block;
    margin-top: 2px;
}

.price-warranty {
    font-size: 11px;
    color: var(--muted);
    font-weight: 600;
    vertical-align: super;
}

.service-warranty {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: #2ecc71;
    margin-bottom: 4px;
}
.service-warranty i {
    font-size: 14px;
}

.service-notes {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    font-size: 12px;
    color: var(--muted);
    text-align: start;
    line-height: 1.5;
    margin-bottom: 4px;
}
.service-notes i {
    color: var(--gold);
    font-size: 12px;
    margin-top: 2px;
    flex-shrink: 0;
}

.service-sub-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 9px;
    font-size: 11px;
    font-weight: 700;
    color: #60a5fa;
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.25);
    border-radius: var(--radius-full);
    transition: var(--transition);
}
.service-sub-badge i {
    font-size: 9px;
}
.service-sub-badge:hover {
    background: rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.4);
    transform: translateY(-1px);
}

body.light-theme .service-sub-badge {
    color: #2563eb;
    background: rgba(37, 99, 235, 0.08);
    border-color: rgba(37, 99, 235, 0.22);
}

body.light-theme .price-tax-badge {
    color: #8c6d28;
    background: rgba(176, 138, 58, 0.08);
    border-color: rgba(176, 138, 58, 0.25);
}

body.light-theme .service-warranty {
    color: #1a8a4a;
}

.service-note {
    font-size: 11px;
    color: var(--quiet);
    text-align: center;
    margin-top: 2px;
}

.card-actions {
    display: flex;
    align-items: stretch;
    gap: 8px;
    width: 100%;
    margin-top: 4px;
}

.card-actions .btn-add-cart,
.card-actions .btn-buy-wa {
    flex: 1;
    min-height: 42px;
    padding: 0 10px;
    font-size: 12.5px;
    font-weight: 700;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    white-space: nowrap;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

/* Buy Button - Glowing emerald accent */
.card-actions .btn-buy-wa {
    color: #ffffff;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border: 1px solid rgba(16, 185, 129, 0.5);
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.25);
}

.card-actions .btn-buy-wa:hover {
    background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
    border-color: rgba(52, 211, 153, 0.7);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.4), 0 0 15px rgba(52, 211, 153, 0.2);
    transform: translateY(-2px);
}

/* Cart Button - Refined glass / cyan accent */
.card-actions .btn-add-cart {
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.08);
    border: 1px solid rgba(56, 189, 248, 0.25);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.card-actions .btn-add-cart:hover {
    color: #ffffff;
    background: linear-gradient(135deg, #38bdf8, #0284c7);
    border-color: rgba(56, 189, 248, 0.6);
    box-shadow: 0 8px 24px rgba(56, 189, 248, 0.35);
    transform: translateY(-2px);
}

.card-actions-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
}

.btn-card-add {
    flex: 1;
    min-height: 42px;
    font-size: 13px;
}

.btn-quick-view,
.service-share-btn {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    color: var(--muted);
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: 10px;
    transition: var(--transition);
    font-size: 13px;
}

.btn-quick-view:hover,
.service-share-btn:hover {
    color: var(--gold-light);
    border-color: var(--line-gold);
    background: var(--gold-wash);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(229, 183, 87, 0.2);
}

