/* Основной контейнер */
.fs-wrapper-dark { display: flex; gap: 30px; font-family: 'Montserrat', sans-serif; color: #e0e0e0; position: relative; }

/* КАРТА */
.fs-map-container-dark { 
    flex: 3; 
    position: relative; 
    background: #000000; 
    border: 1px solid #222; 
    border-radius: 4px; 
    overflow: hidden; 
    min-height: 500px; 
    cursor: default; 
}
.fs-base-image-dark { width: 100%; height: 100%; object-fit: contain; opacity: 1; }

/* ЗОНЫ */
.fs-zone { position: absolute; cursor: pointer; transition: all 0.2s ease; background-color: transparent; border: 1px solid transparent; }
.fs-zone:hover, .fs-zone.selected { background-color: rgba(212, 175, 55, 0.25); border: 1px solid #d4af37; box-shadow: 0 0 20px rgba(212, 175, 55, 0.4); z-index: 10; }

/* КООРДИНАТЫ */
.zone-fosse-gold { top: 28%; left: 34%; width: 32%; height: 42%; clip-path: polygon(15% 0, 85% 0, 100% 15%, 100% 85%, 85% 100%, 15% 100%, 0 85%, 0 15%); }
.zone-side-left-red { top: 25%; left: 18%; width: 15%; height: 50%; clip-path: polygon(20% 0, 100% 10%, 100% 90%, 20% 100%, 0 80%, 0 20%); }
.zone-side-right-red { top: 25%; right: 18%; width: 15%; height: 50%; clip-path: polygon(0 10%, 80% 0, 100% 20%, 100% 80%, 80% 100%, 0 90%); }
.zone-cat1-blue { top: 73%; left: 30%; width: 40%; height: 20%; clip-path: polygon(10% 0, 90% 0, 80% 100%, 20% 100%); }
.zone-rear-green { top: 2%; left: 20%; width: 60%; height: 22%; border-radius: 50% 50% 0 0; }

/* ТУЛТИП */
.fs-tooltip { position: fixed; background: #d4af37; color: #000; padding: 8px 16px; border-radius: 50px; font-size: 0.9rem; font-weight: 700; pointer-events: none; opacity: 0; z-index: 9999; transform: translate(-50%, -150%); transition: opacity 0.2s ease; box-shadow: 0 4px 20px rgba(0,0,0,0.5); white-space: nowrap; }
.fs-tooltip.visible { opacity: 1; }

/* САЙДБАР */
.fs-sidebar-dark { flex: 1; background: #111; padding: 30px; border-top: 1px solid #d4af37; height: fit-content; }
.fs-label-dark { display: block; font-weight: 500; margin-bottom: 10px; color: #888; text-transform: uppercase; font-size: 0.8rem; letter-spacing: 1px; }
#fs-qty-select-dark { width: 100%; padding: 15px; border: 1px solid #333; font-size: 1rem; background-color: #000; color: #fff; outline: none; margin-bottom: 20px; appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23d4af37%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E"); background-repeat: no-repeat; background-position: right 15px top 50%; background-size: 12px auto; }
.switch { position: relative; display: inline-block; width: 46px; height: 24px; float: right; }
.switch input { display: none; }
.slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #333; transition: .4s; border-radius: 34px; }
.slider:before { position: absolute; content: ""; height: 18px; width: 18px; left: 3px; bottom: 3px; background-color: #000; transition: .4s; border-radius: 50%; }
input:checked + .gold-slider { background-color: #d4af37; }
input:checked + .gold-slider:before { transform: translateX(22px); }
.checkbox-row { display: flex; justify-content: space-between; align-items: center; }
.btn-main.disabled { opacity: 0.3; pointer-events: none; border-color: #444; color: #444; }
.fs-trust-badges { margin-top: 25px; padding-top: 20px; border-top: 1px solid #222; }
.fs-badge-item { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; color: #ccc; font-size: 0.85rem; }
.fs-badge-item svg { flex-shrink: 0; }

/* МОДАЛЬНОЕ ОКНО */
.fs-modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.85); backdrop-filter: blur(8px); z-index: 10000; display: none; justify-content: center; align-items: center; opacity: 0; transition: opacity 0.3s ease; }
.fs-modal-overlay.open { display: flex; opacity: 1; }
.fs-modal { background: #0b0b0b; border: 1px solid #d4af37; padding: 40px; width: 90%; max-width: 450px; border-radius: 8px; position: relative; box-shadow: 0 20px 50px rgba(0,0,0,0.9); transform: translateY(20px); transition: transform 0.3s ease; }
.fs-modal-overlay.open .fs-modal { transform: translateY(0); }
.fs-close-btn { position: absolute; top: 15px; right: 20px; background: none; border: none; color: #666; font-size: 2rem; cursor: pointer; transition: 0.2s; }
.fs-close-btn:hover { color: #fff; }
.fs-modal-header { text-align: center; margin-bottom: 30px; }
.fs-modal-header h3 { color: #d4af37; margin: 0; font-family: 'Playfair Display', serif; font-size: 1.8rem; }
.fs-modal-header p { color: #666; margin: 5px 0 0; font-size: 0.9rem; }
.fs-order-summary { background: #141414; padding: 20px; border-radius: 4px; border: 1px dashed #333; margin-bottom: 25px; }
.fs-summary-row { display: flex; justify-content: space-between; font-weight: bold; font-size: 1.2rem; color: #fff; margin-bottom: 5px; }
.fs-summary-detail { color: #888; font-size: 0.9rem; }
.fs-input-group { margin-bottom: 15px; }
.fs-input-group label { display: block; color: #ccc; margin-bottom: 8px; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; }
.fs-input-group input { width: 100%; padding: 14px; background: #000; border: 1px solid #333; color: #fff; border-radius: 4px; outline: none; box-sizing: border-box; transition: 0.3s; }
.fs-input-group input:focus { border-color: #d4af37; }
.fs-row-split { display: flex; gap: 15px; } .fs-row-split .fs-input-group { flex: 1; }
.fs-card-wrapper { position: relative; }
.fs-card-icon { position: absolute; right: 15px; top: 50%; transform: translateY(-50%); display: flex; align-items: center; pointer-events: none; }
.fs-secure-note { text-align: center; color: #555; font-size: 0.8rem; margin-top: 20px; display: flex; align-items: center; justify-content: center; gap: 8px; }

/* МОБИЛЬНЫЙ ФИКС */
@media (max-width: 1024px) {
    .fs-wrapper-dark { flex-direction: column; gap: 20px; }
    .fs-map-container-dark, .fs-sidebar-dark { flex: none; width: 100%; box-sizing: border-box; }
    
    /* Соотношение сторон для правильного позиционирования зон */
    .fs-map-container-dark {
        min-height: auto; 
        height: auto;
        aspect-ratio: 1.6;
    }
    
    .fs-modal { padding: 20px; width: 95%; max-height: 90vh; overflow-y: auto; }
}