/**
 * Stats Counter Shortcode Styles
 * Namespace: .ktech-stats-counter
 */

.ktech-stats-counter {
    position: relative;
    width: 100%;
    background-color: var(--ktech-bg);
    color: #ffffff;
    padding-top: var(--ktech-pt, 53px);
    padding-bottom: var(--ktech-pb, 53px);
    box-sizing: border-box;
}

.ktech-stats-counter-inner {
    box-sizing: border-box;
}

.ktech-stats-grid {
    display: grid;
    grid-template-columns: repeat(var(--ktech-cols-desktop, 4), 1fr);
    gap: var(--ktech-gap, 30px);
    align-items: flex-start;
    justify-content: center;
}

.ktech-stats-item {
    text-align: center;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.ktech-stats-label {
    font-size: var(--ktech-label-size, 16px);
    font-weight: var(--ktech-label-weight, 700);
    text-transform: var(--ktech-label-transform, uppercase);
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    color: inherit;
    line-height: 1.3;
}

.ktech-stats-number {
    font-size: var(--ktech-number-size, 42px);
    font-weight: var(--ktech-number-weight, 800);
    line-height: 1.1;
    color: inherit;
    display: inline-flex;
    align-items: baseline;
    justify-content: center;
    font-feature-settings: "tnum";
    font-variant-numeric: tabular-nums;
}

.ktech-stats-number-value {
    display: inline;
}

.ktech-stats-unit {
    font-size: var(--ktech-unit-size, 16px);
    font-weight: var(--ktech-unit-weight, 400);
    margin-top: 6px;
    color: inherit;
    line-height: 1.4;
}

/* Tablet Responsive */
@media (max-width: 991px) {
    .ktech-stats-grid {
        grid-template-columns: repeat(var(--ktech-cols-desktop, 4), 1fr);
        gap: 20px;
    }
}

/* Mobile Responsive */
@media (max-width: 767px) {
    .ktech-stats-counter {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .ktech-stats-grid {
        grid-template-columns: repeat(var(--ktech-cols-mobile, 2), 1fr);
        gap: 25px 15px;
    }

    .ktech-stats-label {
        font-size: clamp(13px, var(--ktech-label-size, 16px), 16px);
    }

    .ktech-stats-number {
        font-size: clamp(28px, var(--ktech-number-size, 42px), 36px);
    }

    .ktech-stats-unit {
        font-size: clamp(13px, var(--ktech-unit-size, 16px), 16px);
    }
}