/* ===== Package selector ===== */
.packages-block {
    padding: 16px 16px 8px;
    background: #fff;
}

.packages-title {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    color: #222;
    margin: 0 0 14px;
    text-transform: uppercase;
}

.packages-title span {
    display: block;
    color: #e05a00;
}

.package-item {
    display: block;
    position: relative;
    margin-bottom: 10px;
    border: 2px solid #ddd;
    border-radius: 14px;
    background: #fafafa;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    overflow: hidden;
}

.package-item input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.package-item.featured {
    border-color: #f06d6a;
    background: #fff8f7;
}

.package-item.active,
.package-item:has(input:checked) {
    border-color: #f06d6a;
    box-shadow: 0 0 0 3px rgba(240, 109, 106, 0.25);
    background: #fff3f2;
}

.package-badge {
    background: linear-gradient(135deg, #f06d6a 0%, #f2a65a 100%);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    padding: 5px 12px;
    letter-spacing: 0.3px;
}

.package-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    gap: 10px;
}

.package-left {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.package-emoji {
    font-size: 26px;
    flex-shrink: 0;
    line-height: 1;
}

.package-details {
    flex: 1;
}

.package-name {
    font-size: 16px;
    font-weight: 700;
    color: #222;
    line-height: 1.2;
}

.package-sub {
    font-size: 13px;
    color: #666;
    margin-top: 2px;
    line-height: 1.3;
}

.package-price-wrap {
    flex-shrink: 0;
    text-align: right;
}

.package-price {
    font-size: 20px;
    font-weight: 800;
    color: #e05a00;
    white-space: nowrap;
}

/* Radio circle indicator */
.package-content::after {
    content: '';
    display: block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #ccc;
    flex-shrink: 0;
    transition: border-color 0.2s, background 0.2s;
    background: #fff;
    margin-left: 8px;
}

.package-item.active .package-content::after,
.package-item:has(input:checked) .package-content::after {
    border-color: #f06d6a;
    background: radial-gradient(circle, #f06d6a 40%, #fff 42%);
    box-shadow: 0 0 0 2px rgba(240,109,106,0.3);
}

/* Total price display in form */
.form-total-price {
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    color: #e05a00;
    margin: 8px 0 12px;
    padding: 10px;
    background: #fff8f7;
    border-radius: 10px;
    border: 2px solid rgba(240,109,106,0.3);
}
