/* ── Free Sample modal — two-column Figma layout ──────────────── */

/* Reset old single-column styles */
.guest-wishlist li { width: auto; float: none; font-size: inherit; }

/* Modal title */
.free-samples-modal .modal-title {
    margin: 0;
    padding: 16px 24px;
    font-size: 20px;
    font-weight: 700;
    border-bottom: 1px solid #e0e0e0;
}

/* Inner two-column wrapper */
.fs-modal-inner {
    display: flex;
    min-height: 480px;
}

/* ── LEFT PANEL ─────────────────────────────────────────────────── */
.fs-modal-left {
    flex: 0 0 55%;
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    border-right: 1px solid #e0e0e0;
    overflow-y: auto;
}

/* Status banner */
.fs-banner {
    padding: 10px 14px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
}
.fs-banner--error {
    background: #fde8e8;
    border: 1px solid #f5a6a6;
    color: #c0392b;
}
.fs-banner--success {
    background: #e6f9ed;
    border: 1px solid #82d9a2;
    color: #1a7a3a;
}

/* Left headings */
.fs-left-heading {
    font-size: 16px;
    font-weight: 700;
    margin: 0;
}
.fs-left-subtitle {
    font-size: 13px;
    color: #555;
    margin: 0;
    line-height: 1.5;
}

/* ── Lining section ─────────────────────────────────────────── */
.fs-lining-section { display: flex; flex-direction: column; gap: 8px; }

.fs-lining-label {
    font-size: 14px;
    font-weight: 600;
    margin: 0;
}
.fs-required { color: #c0392b; }

.fs-lining-options { display: flex; flex-direction: column; gap: 8px; }

.fs-lining-checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border: 1px solid #d0d0d0;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: border-color .15s, background .15s;
    user-select: none;
}
.fs-lining-checkbox-label:hover { border-color: #aaa; }
.fs-lining-checkbox-label.is-checked {
    border-color: #333;
    background: #fafafa;
    font-weight: 600;
}
.fs-lining-checkbox { width: 16px; height: 16px; cursor: pointer; flex-shrink: 0; }

/* ── Feature grid ───────────────────────────────────────────── */
.fs-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 16px;
    margin-top: 4px;
}
.fs-feature { display: flex; flex-direction: column; gap: 2px; }
.fs-feature-title { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; }
.fs-feature-desc  { font-size: 11px; color: #666; line-height: 1.4; }

/* ORDER FREE SAMPLES button */
.fs-order-btn {
    display: block;
    width: 100%;
    padding: 14px;
    background: #111;
    color: #fff;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 2px;
    margin-top: auto;
    transition: background .15s;
}
.fs-order-btn:hover { background: #333; color: #fff; text-decoration: none; }

/* ── RIGHT PANEL ────────────────────────────────────────────────── */
.fs-modal-right {
    flex: 0 0 45%;
    padding: 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 0;
    overflow-y: auto;
}

.fs-right-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}
.fs-counter-label { font-size: 15px; font-weight: 700; }
.fs-free-badge {
    background: #9e9e9e;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.fs-divider { border: none; border-top: 1px solid #e0e0e0; margin: 0 0 12px; }

/* Product list */
.fs-product-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0; }

.fs-product-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #efefef;
}
.fs-product-item:first-child { padding-top: 0; }
.fs-product-item:last-child  { border-bottom: none; }

.fs-product-image img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border: 1px solid #e0e0e0;
    border-radius: 3px;
    display: block;
}

.fs-product-details { display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0; }

.fs-product-name {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
    display: block;
}

.fs-lining-subtitle {
    font-size: 12px;
    color: #555;
    display: block;
}
.fs-lining-subtitle--pending { color: #999; font-style: italic; }

.fs-product-actions { display: flex; align-items: center; gap: 6px; margin-top: 4px; }

.fs-view-link {
    font-size: 12px;
    color: #333;
    text-decoration: none;
}
.fs-view-link:hover { text-decoration: underline; }

.fs-action-sep { font-size: 12px; color: #ccc; }

.fs-remove-link {
    font-size: 12px;
    color: #a0394a;
    text-decoration: underline;
}

/* ── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 640px) {
    .fs-modal-inner { flex-direction: column; }
    .fs-modal-left  { border-right: none; border-bottom: 1px solid #e0e0e0; flex: none; }
    .fs-modal-right { flex: none; }
    .fs-features-grid { grid-template-columns: 1fr; }
}
