/**
 * Single product: block biến thể license + package features + Add to Cart
 */

/* Ẩn form biến thể mặc định khi có block của Sago */
.sago-license-product-block ~ .cart .variations,
.sago-license-product-block ~ .cart .single_variation_wrap {
    display: none !important;
}

.sago-license-product-block {
    max-width: 100%;
    margin: 1.5em 0;
    padding: 0;
}

.sago-license-block-title {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: #374151;
    margin: 0 0 1rem;
}

.sago-license-variant-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
  
 
    margin-bottom: 1.25rem;
}

.sago-license-variant-tab {
    flex: 1;
    min-width: 0;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    font-weight: 600;
    color: #707C93;
    background: #e5e9e7;
    border: none;
    border-right: 1px solid #e5e9e7;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    border-radius: 8px;
    text-transform: none;
}

.sago-license-variant-tab:last-child {
    border-right: none;
}


.sago-license-variant-tab.active {
    background: #174035;
    color: #fff;
    border-right: 1px solid #174035;
}

.sago-license-price-wrap {
    margin-bottom: 1.25rem;
}

.sago-license-price span.amount{
    font-size: 1.75rem;
    font-weight: 700;
    color: #174035;
}

.sago-license-price-suffix {
    font-size: 1rem;
    font-weight: 400;
    color: #6b7280;
}
button#sago-license-add-to-cart-btn{
    min-height: 55px !important;
    font-weight: 500;
    border-radius: 8px;
    background: #174035;
}
.sago-license-features {
    list-style: none;
    margin: 0 0 1.25rem;
    padding: 0;
}

.sago-license-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0;
    font-size: 0.95rem;
    margin-left: 0px !important;
}

.sago-license-feature-icon {
    color: #174035;
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.sago-license-feature-icon svg {
    width: 1.25em;
    height: 1.25em;
}

.sago-license-feature-label {
    color: #374151;
}

.sago-license-feature-value {
    margin-left: auto;
    font-weight: 600;
    color: #111827;
}

.sago-license-vcash-rewards {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    margin-bottom: 1.25rem;
    background: #C3DF94;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #174035;
    width: 100%;
}

.sago-license-vcash-icon {
    color: #166534;
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.sago-license-vcash-icon svg {
    width: 1.25em;
    height: 1.25em;
}

.sago-license-add-to-cart-wrap {
    margin-top: 1rem;
}

.sago-license-add-to-cart-button {
    display: inline-block;
    width: 100%;
    max-width: 320px;
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: #fff !important;
 
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
}

.sago-license-add-to-cart-button:hover {
    background: #14532d !important;
}

.sago-license-add-to-cart-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

@media (max-width: 480px) {
    .sago-license-variant-tabs {
        flex-direction: column;
    }

    .sago-license-variant-tab {
        border-right: none;
        border-bottom: 1px solid #e5e7eb;
    }

    .sago-license-variant-tab:last-child {
        border-bottom: none;
    }
}
