﻿.sky-product-template-section {
    padding: 0;
    background: transparent;
    font-family: "Segoe UI", Inter, Arial, sans-serif;
}

.sky-product-template-wrap {
    width: 100%;
    background: #ffffff;
    border: 1px solid #e7ebf0;
    border-radius: 24px;
    padding: 24px;
}

/* MEDIA */
.sky-product-media {
    width: 100%;
}

.sky-product-main-image {
    width: 100%;
    min-height: 220px;
    overflow: hidden;
    border-radius: 20px;
    border: 1px solid #e7ebf0;
    background: #f8fafc;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 18px;
}

    .sky-product-main-image img {
        display: block;
        width: 100%;
        max-width: 220px;
        height: auto;
        max-height: 220px;
        object-fit: contain;
    }

/* TOP CONTENT */
.sky-product-top {
    width: 100%;
}

.sky-product-label {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 7px 13px;
    border-radius: 999px;
    background: rgba(190, 23, 60, 0.08);
    color: #be173c;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.045em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.sky-product-title {
    margin: 0 0 12px;
    font-size: clamp(26px, 2.6vw, 40px);
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: -0.03em;
    color: #0f172a;
}

.sky-product-desc {
    margin: 0;
    max-width: 760px;
    font-size: 15px;
    line-height: 1.75;
    font-weight: 400;
    color: #667085;
}

/* ACTION */
.sky-product-action-box {
    width: 100%;
    display: flex;
    justify-content: flex-end;
}

.sky-product-btn-primary {
    width: 100%;
    min-height: 48px;
    padding: 12px 20px;
    border-radius: 14px;
    background: #be173c;
    border: 1px solid #be173c;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    box-shadow: none;
}

    .sky-product-btn-primary:hover,
    .sky-product-btn-primary:focus {
        background: #a81435;
        border-color: #a81435;
        color: #ffffff;
    }

/* BOXES */
.sky-product-tech-box,
.sky-product-version-box {
    width: 100%;
    padding: 20px;
    border: 1px solid #e7ebf0;
    border-radius: 20px;
    background: #ffffff;
}

.sky-box-title {
    margin: 0 0 14px;
    font-size: 18px;
    line-height: 1.25;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: #0f172a;
}

/* TAGS */
.sky-version-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

    .sky-version-tags span {
        display: inline-flex;
        align-items: center;
        min-height: 36px;
        padding: 8px 14px;
        border-radius: 999px;
        background: #f8fafc;
        border: 1px solid #e7ebf0;
        color: #334155;
        font-size: 13px;
        font-weight: 500;
    }

/* TECH TABLE */
.sky-tech-table {
    width: 100%;
}

.sky-tech-row {
    min-height: 52px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 12px 18px;
    border-radius: 14px;
    background: #f8fafc;
    border: 1px solid #edf1f5;
}

    .sky-tech-row span {
        font-size: 14px;
        color: #64748b;
        font-weight: 500;
    }

    .sky-tech-row strong {
        font-size: 14px;
        color: #0f172a;
        font-weight: 600;
        text-align: right;
    }

/* TABS */
.sky-product-detail-tabs {
    width: 100%;
    border-top: 1px solid #eef2f6;
    padding-top: 24px;
}

.sky-product-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

    .sky-product-pills .nav-link {
        border: 1px solid #e2e8f0;
        background: #ffffff;
        color: #334155;
        border-radius: 999px;
        padding: 10px 18px;
        font-size: 14px;
        font-weight: 500;
    }

        .sky-product-pills .nav-link.active {
            background: #0f172a;
            border-color: #0f172a;
            color: #ffffff;
        }

.sky-product-tab-content {
    width: 100%;
    border: 1px solid #e7ebf0;
    border-radius: 20px;
    background: #ffffff;
    padding: 24px;
}

.sky-tab-panel h3 {
    margin: 0 0 14px;
    font-size: 22px;
    line-height: 1.25;
    font-weight: 600;
    letter-spacing: -0.025em;
    color: #0f172a;
}

.sky-tab-panel p {
    margin: 0 0 12px;
    font-size: 15px;
    line-height: 1.75;
    color: #667085;
}

.sky-usage-card {
    min-height: 70px;
    display: flex;
    align-items: center;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid #e7ebf0;
    background: #f8fafc;
    font-size: 14px;
    font-weight: 500;
    color: #334155;
}

.sky-delivery-list {
    margin: 0;
    padding-left: 18px;
}

    .sky-delivery-list li {
        margin-bottom: 10px;
        font-size: 15px;
        line-height: 1.75;
        color: #667085;
    }

/* RESPONSIVE */
@media (max-width: 991.98px) {
    .sky-product-template-wrap {
        padding: 18px;
        border-radius: 20px;
    }

    .sky-product-main-image {
        min-height: 200px;
    }

        .sky-product-main-image img {
            max-width: 200px;
            max-height: 200px;
        }

    .sky-product-action-box {
        justify-content: flex-start;
    }

    .sky-product-btn-primary {
        width: auto;
        min-width: 180px;
    }
}

@media (max-width: 767.98px) {
    .sky-product-pills {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 4px;
    }

        .sky-product-pills .nav-item {
            flex: 0 0 auto;
        }

        .sky-product-pills .nav-link {
            white-space: nowrap;
        }

    .sky-tech-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }

        .sky-tech-row strong {
            text-align: left;
        }
}

@media (max-width: 575.98px) {
    .sky-product-template-wrap {
        padding: 14px;
        border-radius: 18px;
    }

    .sky-product-main-image {
        min-height: 170px;
        padding: 14px;
    }

        .sky-product-main-image img {
            max-width: 170px;
            max-height: 170px;
        }

    .sky-product-title {
        font-size: 25px;
    }

    .sky-product-tech-box,
    .sky-product-version-box,
    .sky-product-tab-content {
        padding: 18px;
        border-radius: 18px;
    }

    .sky-tab-panel h3 {
        font-size: 20px;
    }

    .sky-product-btn-primary {
        width: 100%;
    }
}
