/**
 * QIC Plus Size Surcharge - Frontend Styles v1.2
 */

.qic-pss-surcharge-notice {
    margin: 10px 0;
    padding: 10px 14px;
    background: #fff8e1;
    border-left: 4px solid #f9a825;
    border-radius: 3px;
    font-size: 14px;
    line-height: 1.5;
}

.qic-pss-notice-inner {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.qic-pss-icon {
    color: #f9a825;
    font-size: 18px;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 1px;
}

.qic-pss-text {
    color: #333;
}

/* Restricted swatch — CSS class approach (survives vi-wpvs re-renders) */
.qic-pss-restricted {
    opacity: 0.2 !important;
    pointer-events: none !important;
    position: relative !important;
    cursor: not-allowed !important;
    user-select: none !important;
}

.qic-pss-restricted::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 15%;
    right: 15%;
    height: 2px;
    background: #d32f2f;
    transform: rotate(-45deg);
    pointer-events: none;
}

/* Also handle native select disabled options */
select option:disabled {
    color: #ccc;
}

/* ══════════════════════════════════════════
   Frame Addon (Poster Moldura)
   ══════════════════════════════════════════ */

.qic-frame-addon {
    margin: 20px 0;
    padding: 20px;
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
}

.qic-frame-title {
    font-size: 17px;
    font-weight: 700;
    color: #1d2327;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.qic-frame-info-icon {
    color: #2271b1;
    font-size: 18px;
    cursor: help;
}

.qic-frame-description {
    margin-bottom: 16px;
    padding: 10px 14px;
    background: #fff;
    border-left: 3px solid #2271b1;
    border-radius: 0 4px 4px 0;
}

.qic-frame-description p {
    margin: 0;
    font-size: 13px;
    color: #50575e;
    line-height: 1.6;
}

.qic-frame-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.qic-frame-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: #fff;
    border: 2px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.qic-frame-option:hover {
    border-color: #2271b1;
    background: #f0f6fc;
    box-shadow: 0 2px 4px rgba(0,0,0,0.06);
}

.qic-frame-option input[type="radio"]:checked ~ .qic-frame-option-text {
    font-weight: 600;
}

.qic-frame-option:has(input[type="radio"]:checked) {
    border-color: #2271b1;
    background: #f0f6fc;
}

.qic-frame-option input[type="radio"] {
    margin: 0;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    accent-color: #2271b1;
}

.qic-frame-option-text {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    color: #1d2327;
    flex-wrap: wrap;
    width: 100%;
}

.qic-frame-dims {
    font-size: 13px;
    color: #646970;
    font-weight: 400;
}

.qic-frame-price {
    font-weight: 700;
    font-size: 16px;
    color: #e52520;
    margin-left: auto;
    white-space: nowrap;
}
