/* ============================================
   Custom Product Card Overrides
   Scoped to .custom-product-section
   ============================================ */

.custom-product-section .package {
    border-radius: 16px;
    border: 1.5px solid #dce4f0;
    box-shadow: 0 2px 16px rgba(100, 120, 160, 0.07);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.custom-product-section .package:hover {
    box-shadow: 0 8px 32px rgba(100, 120, 160, 0.14);
    transform: translateY(-3px);
}
.custom-product-section .package-featured {
    border-color: #4a90d9;
}
.custom-product-section .package-price .price-amount {
    font-size: 2.2rem;
    font-weight: 800;
    color: #1a1a2e;
}
.custom-product-section .package-content {
    text-align: left !important;
}
.custom-product-section .package-footer .btn {
    border-radius: 10px;
    font-weight: 700;
}


/* ============================================
   Kill WHMCS auto-inserted <br> tags
   ============================================ */
.spec-grid br,
.spec-item br,
.spec-info br,
.bw-section br,
.bw-header br,
.bw-bars br,
.bw-bar br {
    display: none !important;
}

/* ============================================
   Product Description Inner Elements
   ============================================ */

/* --- Setup Fee Badge --- */
.spec-badge {
    display: block !important;
    color: #2e9e5a;
    font-weight: 600;
    font-size: 0.92rem;
    text-align: center;
    margin-bottom: 12px;
}

/* --- Divider --- */
.spec-divider {
    border: none !important;
    border-top: 1.5px solid #e8edf5 !important;
    margin: 0 0 20px !important;
}

/* --- Spec Grid --- */
.spec-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 16px !important;
    margin-bottom: 20px !important;
    list-style: none !important;
    padding: 0 !important;
}
@media (max-width: 576px) {
    .spec-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

.spec-item {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 10px !important;
    text-align: left !important;
}

/* Icon circle */
.spec-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 10px;
    background: #eef3fb;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #4a7fd9;
}

/* Info text */
.spec-info {
    display: flex !important;
    flex-direction: column !important;
    min-width: 0;
}
.spec-label {
    display: block;
    font-size: 0.72rem;
    color: #888;
    line-height: 1.3;
    white-space: nowrap;
}
.spec-value {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1.4;
}

/* --- Bandwidth Section --- */
.bw-section {
    background: #f4f7fc;
    border-radius: 12px;
    padding: 14px;
    margin-top: 4px;
}
.bw-header {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-size: 0.85rem;
    color: #555;
    font-weight: 600;
}
.bw-bars {
    display: flex !important;
    border-radius: 10px;
    overflow: hidden;
}
.bw-bar {
    flex: 1;
    padding: 12px 8px;
    text-align: center;
    color: #fff;
}
.bw-bar-blue {
    background: linear-gradient(135deg, #4a8fd9, #3b7dd8);
}
.bw-bar-teal {
    background: linear-gradient(135deg, #3ba89e, #2d9e8f);
}
.bw-bar strong {
    display: block;
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 2px;
}
.bw-bar span {
    font-size: 0.78rem;
    opacity: 0.9;
}
