/* CSS for Quote Form Configurator */

.qfp-configurator-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 20px;
    font-family: 'Open Sans', sans-serif;
    /* Usando fonte do tema ou fallback */
}

.qfp-configurator-main {
    flex: 1;
    min-width: 300px;
}

/* Sidebar Sticky */
.qfp-configurator-sidebar {
    width: 340px;
    /* Largura fixa para sidebar premium */
    flex-shrink: 0;
    position: sticky;
    top: 120px;
    /* Ajuste conforme altura do Header do site */
    align-self: flex-start;
    z-index: 20;
    /* Deve ser menor que Header (normalmente 100+) */
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    /* Sombra suave premium */
    border: 1px solid #eaeaea;
    padding: 25px;
    transition: all 0.3s ease;
}

/* Responsive: Em mobile sidebar vai pro fim e deixa de ser sticky */
@media (max-width: 900px) {
    .qfp-configurator-sidebar {
        width: 100%;
        position: static;
        margin-top: 20px;
    }
}

.qfp-sidebar-title {
    font-size: 18px;
    font-weight: 700;
    color: #113559;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

/* Summary List */
.qfp-summary-list {
    margin-bottom: 25px;
}

.qfp-summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 14px;
    line-height: 1.4;
    border-bottom: 1px dashed #eee;
    padding-bottom: 8px;
}

.qfp-summary-label {
    font-weight: 600;
    color: #555;
    margin-right: 10px;
}

.qfp-summary-value {
    color: #113559;
    font-weight: 700;
    text-align: right;
}

/* Group & Cards */
.qfp-config-group {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 30px;
}

.qfp-group-title {
    font-size: 18px;
    font-weight: 700;
    color: #113559;
    margin-bottom: 20px;
    padding-left: 10px;
    border-left: 4px solid #113559;
}

.qfp-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 15px;
}

.qfp-option-card {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 120px;
}

.qfp-option-card:hover {
    border-color: #113559;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.qfp-option-card.selected {
    border-color: #113559;
    background-color: #f4f8fb;
    box-shadow: 0 0 0 1px #113559;
}

.qfp-option-img {
    max-width: 60px;
    max-height: 60px;
    margin-bottom: 10px;
    object-fit: contain;
}

.qfp-option-name {
    font-size: 14px;
    font-weight: 600;
    color: #444;
    line-height: 1.3;
}

/* Check Indicator Badge */
.qfp-check-indicator {
    display: none;
    position: absolute;
    top: -8px;
    right: -8px;
    background: #113559;
    color: #fff;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-size: 14px;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.qfp-check-indicator::after {
    content: "✓";
    /* V de check, ou use icone FontAwesome se tiver */
    font-weight: bold;
    font-size: 12px;
}

.qfp-option-card.selected .qfp-check-indicator {
    display: flex;
}

.qfp-config-actions {
    margin-top: 25px;
}

.qfp-btn-config-buy {
    background: #113559;
    color: #fff;
    border: none;
    padding: 15px 24px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s;
    width: 100%;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(17, 53, 89, 0.3);
}

.qfp-btn-config-buy:hover {
    background: #0d2a46;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(17, 53, 89, 0.4);
}

/* Trust Badges */
.qfp-trust-badges {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.qfp-trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 13px;
    color: #666;
}

.qfp-trust-item i,
.qfp-trust-item span.icon {
    color: #113559;
    font-size: 16px;
    width: 20px;
    text-align: center;
}

/* --- QUANTITY & MULTI SELECT STYLES (NEW) --- */

/* Quantity Input Styles */
.qfp-quantity-control {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    width: fit-content;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.03);
}

.qfp-qty-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid #e0e0e0;
    background: #fff;
    color: #113559;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    outline: none;
}

.qfp-qty-btn:hover {
    background: #113559;
    color: #fff;
    border-color: #113559;
}

.qfp-qty-btn:active {
    transform: scale(0.95);
}

.qfp-qty-input {
    width: 120px;
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    border: none !important;
    background: transparent !important;
    color: #113559;
    -moz-appearance: textfield;
    padding: 0;
    outline: none !important;
    box-shadow: none !important;
}

.qfp-qty-input::-webkit-outer-spin-button,
.qfp-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.qfp-qty-unit {
    font-size: 16px;
    color: #777;
    font-weight: 600;
    margin-left: 5px;
}