/* ============================================================
   KTK Seller Suite Shortcode Styles — v1.3.0
   ============================================================ */

.ktk-ss-wrap *,
.ktk-ss-wrap *::before,
.ktk-ss-wrap *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.ktk-ss-wrap {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #1a1a1a;
    line-height: 1.6;
    max-width: 1100px;
    margin: 0 auto;
}

/* ----- Section ----- */
.ktk-ss-section {
    background: #edf5f1;
    border-radius: 12px;
    padding: 56px 48px;
}

/* ----- Section Header ----- */
.ktk-ss-section-label {
    text-align: center;
    margin-bottom: 44px;
}

.ktk-ss-eyebrow {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #4a7a62;
    margin-bottom: 14px;
}

.ktk-ss-section-title {
    font-size: clamp(26px, 4vw, 40px);
    font-weight: 800;
    color: #0d2e1e;
    line-height: 1.15;
    margin-bottom: 14px;
}

.ktk-ss-section-sub {
    font-size: 16px;
    color: #4a6b58;
    max-width: 540px;
    margin: 0 auto;
    line-height: 1.65;
}

/* ----- Rows ----- */
.ktk-ss-row {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.ktk-ss-row:last-child {
    margin-bottom: 0;
}

/* Row 1: 4 equal cards */
.ktk-ss-row-4 .ktk-ss-channel {
    flex: 1;
}

/* Row 2: 3 cards centered, same width as row-1 cards */
.ktk-ss-row-3 {
    justify-content: center;
}

.ktk-ss-row-3 .ktk-ss-channel {
    flex: 0 0 calc(25% - 12px);
}

/* ----- Card ----- */
.ktk-ss-channel {
    background: #ffffff;
    border: 1px solid #dceee6;
    border-radius: 10px;
    padding: 28px 20px 24px;
    text-align: center;
    transition: box-shadow 0.18s, transform 0.18s;
}

.ktk-ss-channel:hover {
    box-shadow: 0 6px 20px rgba(10, 74, 46, 0.10);
    transform: translateY(-2px);
}

.ktk-ss-channel-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    margin-bottom: 14px;
}

.ktk-ss-channel-name {
    font-size: 15px;
    font-weight: 700;
    color: #0d2e1e;
    margin-bottom: 10px;
    line-height: 1.3;
}

.ktk-ss-channel-desc {
    font-size: 13px;
    color: #5a7a68;
    line-height: 1.55;
}

/* ----- Optional Badge ----- */
.ktk-ss-optional-badge {
    display: inline-block;
    background: #e8f5ee;
    color: #0a4a2e;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 50px;
    border: 1px solid #b8dfc9;
    vertical-align: middle;
    margin-left: 4px;
}

.ktk-ss-channel-optional {
    border-color: #b8dfc9;
}

/* ----- Responsive ----- */
@media (max-width: 860px) {
    .ktk-ss-row-4 {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
    .ktk-ss-row-3 {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        justify-content: unset;
    }
    .ktk-ss-row-3 .ktk-ss-channel {
        flex: unset;
    }
}

@media (max-width: 580px) {
    .ktk-ss-section {
        padding: 40px 20px;
    }
    .ktk-ss-row-4,
    .ktk-ss-row-3 {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
    .ktk-ss-row-3 .ktk-ss-channel {
        flex: unset;
    }
}
