/* VIP Sales - Sanctum */
.th-vip-wrap {
    max-width: 1100px;
    margin: 0 auto;
    font-family: 'Montserrat', sans-serif;
}

/* Gate screen */
.th-vip-gate {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    min-height: 400px; text-align: center;
}
.th-vip-gate-icon { font-size: 72px; margin-bottom: 20px; }
.th-vip-gate h2 { color: #f1c40f; font-size: 28px; margin-bottom: 10px; letter-spacing: 2px; }
.th-vip-gate p { color: #888; font-size: 14px; }

/* ═══ Admin form ═══ */
.th-vip-admin-section {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px; padding: 36px; margin-bottom: 30px;
}
.th-vip-admin-section h4 {
    color: #f0f0f0; font-size: 16px; margin: 0 0 20px 0;
    font-weight: 700; letter-spacing: 0;
}
.th-vip-form-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px; margin-bottom: 20px;
}
.th-vip-field label {
    display: block; color: #b0b0b0; font-size: 11px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 8px;
}
.th-vip-field input,
.th-vip-field select {
    width: 100%; padding: 14px 16px; height: 52px;
    background: rgba(0,0,0,0.35) !important; border: 1px solid rgba(255,255,255,0.1) !important;
    border-radius: 10px; color: #e8e8e8 !important; font-size: 14px;
    font-family: 'Montserrat', sans-serif; outline: none; box-sizing: border-box;
    color-scheme: dark; transition: all 0.25s;
}
.th-vip-field input[type="datetime-local"],
.th-vip-field input[type="date"],
.th-vip-field input[type="time"] {
    background: rgba(0,0,0,0.35) !important; color: #e8e8e8 !important; color-scheme: dark;
}
.th-vip-field input[type="datetime-local"]::-webkit-calendar-picker-indicator {
    filter: invert(1); cursor: pointer;
}
.th-vip-field input:focus, .th-vip-field select:focus { border-color: rgba(255,255,255,0.25) !important; box-shadow: 0 0 0 3px rgba(255,255,255,0.03); }

.th-vip-btn-submit {
    padding: 12px 28px !important;
    background: #fff !important; color: #0a0a0a !important;
    border: none !important; border-radius: 10px;
    font-weight: 800; font-size: 13px;
    letter-spacing: 0.5px; cursor: pointer; transition: all 0.2s;
    font-family: 'Montserrat', sans-serif;
    display: inline-block !important; width: auto !important;
    margin-top: 10px;
}
.th-vip-btn-submit:hover {
    transform: translateY(-1px); background: #e0e0e0 !important;
    box-shadow: 0 6px 20px rgba(255,255,255,0.1);
}

/* ═══ Grid ═══ */
.th-vip-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px;
}

/* ═══ Cards ═══ */
.th-vip-card {
    background: #0b0b0f; border: 1px solid rgba(241,196,15,0.1);
    border-radius: 16px; overflow: hidden; cursor: pointer;
    transition: all 0.3s; position: relative;
}
.th-vip-card:hover {
    border-color: rgba(241,196,15,0.4);
    box-shadow: 0 0 25px rgba(241,196,15,0.1); transform: translateY(-4px);
}
.th-vip-card-media {
    position: relative; aspect-ratio: 1/1; overflow: hidden; background: #0a0a0a;
}
.th-vip-card-media img,
.th-vip-card-media video {
    width: 100%; height: 100%; object-fit: cover; display: block;
}
.th-vip-card-timer {
    position: absolute; bottom: 8px; left: 8px;
    background: rgba(0,0,0,0.85); color: #f1c40f;
    padding: 4px 10px; border-radius: 6px;
    font-size: 11px; font-weight: 700; backdrop-filter: blur(4px);
}
.th-vip-discount {
    position: absolute; top: 10px; right: 10px;
    background: #e74c3c; color: #fff;
    padding: 4px 10px; border-radius: 6px;
    font-size: 12px; font-weight: 800;
}
.th-vip-card-info { padding: 15px; }
.th-vip-card-col {
    color: #f1c40f; font-size: 9px; font-weight: 800;
    text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px;
}
.th-vip-card-name {
    color: #fff; font-size: 13px; font-weight: 700; margin-bottom: 8px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.th-vip-card-pricing { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.th-vip-old-price { color: #666; text-decoration: line-through; font-size: 12px; }
.th-vip-new-price { color: #2ecc71; font-weight: 800; font-size: 16px; }
.th-vip-card-stock { color: #888; font-size: 11px; }

/* ═══ Delete button - discret, apparaît au hover ═══ */
.th-vip-delete-btn {
    position: absolute; top: 10px; left: 10px; z-index: 10;
    width: 26px; height: 26px; border-radius: 6px;
    background: rgba(0,0,0,0.6); color: rgba(255,255,255,0.4);
    border: 1px solid rgba(255,255,255,0.1); cursor: pointer;
    font-size: 11px; line-height: 24px;
    text-align: center; transition: all 0.25s;
    backdrop-filter: blur(6px);
    opacity: 0; pointer-events: none;
}
.th-vip-card:hover .th-vip-delete-btn {
    opacity: 1; pointer-events: auto;
}
.th-vip-delete-btn:hover {
    background: #e74c3c; color: #fff;
    border-color: #e74c3c; transform: scale(1.1);
}

/* ═══ Empty state ═══ */
.th-vip-empty {
    text-align: center; padding: 60px 20px; color: #888; font-size: 16px;
}

/* ═══ Responsive ═══ */
@media (max-width: 600px) {
    .th-vip-form-grid { grid-template-columns: 1fr; }
    .th-vip-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .th-vip-delete-btn { opacity: 1; pointer-events: auto; }
}

/* ═══════════════════════════════════════════════
   🔧 RESPONSIVE PATCH - VIP Sales
   ═══════════════════════════════════════════════ */

@media (max-width: 480px) {
    .th-vip-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 10px !important; }
    .th-vip-card-info { padding: 10px !important; }
    .th-vip-card-name { font-size: 11px !important; }
    .th-vip-new-price { font-size: 14px !important; }
    .th-vip-old-price { font-size: 10px !important; }
    .th-vip-card-timer { font-size: 9px !important; padding: 3px 8px !important; }
    .th-vip-admin-section { padding: 18px 14px !important; }
    .th-vip-gate h2 { font-size: 22px !important; }
    .th-vip-gate-icon { font-size: 52px !important; }
    .th-vip-btn-submit { padding: 10px 20px !important; font-size: 12px !important; }
}

@media (max-width: 380px) {
    .th-vip-grid { gap: 8px !important; }
    .th-vip-card-name { font-size: 10px !important; }
    .th-vip-new-price { font-size: 13px !important; }
}
