.fr-calculator-container {
    width: 80%;
    margin: 40px auto;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03);
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #0f172a;
}

.fr-header-banner {
    width: 100%;
    background: #f8fafc;
    text-align: center;
    border-bottom: 1px solid #e2e8f0;
}

.fr-header-banner img {
    width: 100%;
    max-height: 220px;
    object-fit: cover;
    display: block;
    margin: 0 auto;
}

.fr-calculator-content {
    padding: 30px 40px;
}

.fr-form-grid {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.fr-form-col {
    flex: 1;
    min-width: 260px;
}

.fr-form-group {
    margin-bottom: 18px;
}

.fr-form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: #0f172a;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.fr-form-group input,
.fr-form-group select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 13px;
    background-color: #f8fafc;
    color: #0f172a;
    transition: all 0.2s ease;
}

.fr-form-group input:focus,
.fr-form-group select:focus {
    border-color: #1e3a8a;
    background-color: #ffffff;
    outline: none;
    box-shadow: 0 0 0 2px rgba(30, 58, 138, 0.08);
}

.fr-btn-wrapper {
    text-align: center;
    margin-top: 20px;
}

#fr-calculate-btn {
    background-color: #b30000;
    color: #ffffff;
    border: none;
    padding: 10px 24px;
    border-radius: 5px;
    font-size: 13px;
    cursor: pointer;
    font-weight: 700;
    text-transform: uppercase;
    font-family: system-ui, -apple-system, sans-serif;
    letter-spacing: 0.5px;
    transition: background 0.2s;
    display: inline-block;
}
#fr-calculate-btn:hover { background-color: #900000; }

.fr-spinner {
    width: 35px;
    height: 35px;
    border: 3px solid #f1f5f9;
    border-top: 3px solid #1e3a8a;
    border-radius: 50%;
    animation: frSpin 0.7s linear infinite;
    margin: 0 auto;
}

@keyframes frSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.fr-modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(15, 23, 42, 0.5);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

.fr-modal-content {
    background: #fff;
    width: 100%;
    max-width: 650px;
    border-radius: 10px;
    padding: 25px;
    position: relative;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.1);
    animation: frModalFade 0.2s ease;
    max-height: 90vh;
    overflow-y: auto;
}

@keyframes frModalFade {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.fr-modal-close {
    position: absolute;
    top: 12px; right: 18px;
    background: none; border: none;
    font-size: 24px; cursor: pointer; color: #64748b;
}
.fr-modal-close:hover { color: #0f172a; }

.fr-modal-header-text h4 {
    margin: 0 0 6px 0;
    font-size: 18px;
    color: #0f172a;
}

.fr-specs-badge {
    background: #f8fafc;
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 13px;
    color: #0f172a;
    display: inline-block;
    margin-bottom: 18px;
    border: 1px solid #cbd5e1;
    font-weight: 500;
}

.fr-shop-card-featured {
    display: flex;
    gap: 15px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 15px;
    border-radius: 6px;
    align-items: center;
    margin-bottom: 20px;
}

.fr-shop-thumb img {
    width: 110px;
    height: 110px;
    object-fit: cover;
    border-radius: 5px;
    border: 1px solid #cbd5e1;
}

.fr-badge-rec {
    background: #b30000;
    color: #fff;
    font-size: 9px;
    text-transform: uppercase;
    padding: 2px 6px;
    border-radius: 3px;
    font-weight: 600;
}

.fr-shop-title {
    font-size: 16px;
    margin: 6px 0 4px 0;
    color: #0f172a;
    font-weight: 600;
}

.fr-shop-price {
    font-size: 14px;
    font-weight: bold;
    color: #334155;
    margin-bottom: 10px;
}

.fr-shop-actions a.button {
    background-color: #0f172a;
    color: #fff;
    padding: 6px 14px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
}
.fr-shop-actions a.button:hover { background-color: #1e3a8a; }

.fr-carousel-section {
    border-top: 1px solid #e2e8f0;
    padding-top: 15px;
}

.fr-carousel-section h5 {
    font-size: 11px;
    text-transform: uppercase;
    color: #64748b;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.fr-carousel-track {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 5px;
}

.fr-carousel-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 5px;
    padding: 10px;
    min-width: 130px;
    max-width: 130px;
    text-align: center;
    flex-shrink: 0;
}

.fr-carousel-item img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 6px;
}

.fr-carousel-item h6 {
    font-size: 12px;
    margin: 0 0 4px 0;
    color: #0f172a;
}

.fr-alt-price {
    font-size: 11px;
    font-weight: bold;
    color: #475569;
    margin-bottom: 6px;
}

.fr-alt-link {
    font-size: 9px;
    color: #64748b;
    text-decoration: none;
    font-weight: 400;
    text-transform: lowercase;
}
.fr-alt-link:hover { color: #1e3a8a; text-decoration: underline; }