@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

/* =====================================================
   VANTURY SHOP - GENERIC CUSTOM CSS
   Design: Mix of MineVale + MelonCity + OPSucht
   Author: Redesign 2026
   ===================================================== */

/* ── GOOGLE FONTS ── */
/* ── GLOBAL RESETS & BASE ── */
* {
    box-sizing: border-box;
}

body {
    font-family: "Inter", sans-serif !important;
    background: #080e1a !important;
    color: #e2e8f0 !important;
}

/* ── HEADINGS ── */
h1, h2, h3, h4, h5, h6,
.font-heading, .font-black,
[class*="font-heading"] {
    font-family: "Rajdhani", "Montserrat", sans-serif !important;
    font-weight: 700 !important;
    letter-spacing: 0.04em !important;
}

/* ── NAVIGATION - Dark + Cyan border like OPSucht ── */
.bg-header {
    background: rgba(6, 10, 20, 0.97) !important;
    border-bottom: 2px solid rgba(0, 200, 255, 0.2) !important;
    backdrop-filter: blur(12px) !important;
}

/* ── HERO SECTION - MineVale inspired gradient ── */
.bg-hero-wrapper,
.hero-bg,
.hero-section {
    background: linear-gradient(180deg,
        #0a1628 0%,
        #0d2850 45%,
        #0a1e3d 75%,
        #080e1a 100%) !important;
    position: relative;
}

/* Wave divider like MineVale */
.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

/* ── SIDEBAR - MelonCity clean style ── */
.bg-sidebar {
    background: #060c18 !important;
    border-right: 1px solid rgba(0, 200, 255, 0.1) !important;
}

/* Sidebar Category Items */
.category-entry,
.sidebar-category {
    border-radius: 10px !important;
    transition: all 0.2s ease !important;
    border: 1px solid transparent !important;
}

.category-entry:hover,
.sidebar-category:hover {
    background: rgba(0, 200, 255, 0.06) !important;
    border-color: rgba(0, 200, 255, 0.2) !important;
    transform: translateX(3px) !important;
}

/* ── PACKAGE CARDS - OPSucht ribbon style ── */
.bg-base {
    background: #0d1e3a !important;
    border: 1px solid rgba(0, 200, 255, 0.1) !important;
    border-radius: 12px !important;
    transition: all 0.25s ease !important;
    overflow: hidden !important;
}

.bg-base:hover {
    border-color: rgba(0, 200, 255, 0.3) !important;
    transform: translateY(-4px) !important;
    box-shadow: 0 12px 40px rgba(0, 200, 255, 0.1) !important;
}

/* Shadow utilities */
.shadow-xl {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4) !important;
}

/* ── BUTTONS ── */
/* Primary button - cyan gradient */
.btn-primary {
    background: linear-gradient(135deg, #007eb5 0%, #00c8ff 100%) !important;
    border: none !important;
    border-radius: 8px !important;
    font-family: "Rajdhani", sans-serif !important;
    font-weight: 700 !important;
    font-size: 0.95rem !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    color: white !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 4px 16px rgba(0, 200, 255, 0.25) !important;
    padding: 0.6rem 1.4rem !important;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #00aae0 0%, #40d8ff 100%) !important;
    box-shadow: 0 6px 24px rgba(0, 200, 255, 0.4) !important;
    transform: translateY(-2px) !important;
    color: white !important;
}

/* Success button - Green */
.btn-success {
    background: linear-gradient(135deg, #00895a 0%, #00d688 100%) !important;
    border: none !important;
    border-radius: 8px !important;
    font-family: "Rajdhani", sans-serif !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    color: white !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 4px 16px rgba(0, 214, 136, 0.2) !important;
}

.btn-success:hover {
    background: linear-gradient(135deg, #00c47f 0%, #00ffaa 100%) !important;
    box-shadow: 0 6px 24px rgba(0, 214, 136, 0.35) !important;
    transform: translateY(-2px) !important;
}

/* Secondary button */
.btn-secondary {
    background: rgba(0, 200, 255, 0.1) !important;
    border: 1px solid rgba(0, 200, 255, 0.3) !important;
    border-radius: 8px !important;
    color: #00c8ff !important;
    font-family: "Rajdhani", sans-serif !important;
    font-weight: 600 !important;
    letter-spacing: 0.05em !important;
    text-transform: uppercase !important;
    transition: all 0.2s ease !important;
}

.btn-secondary:hover {
    background: rgba(0, 200, 255, 0.18) !important;
    border-color: #00c8ff !important;
    color: white !important;
}

/* ── PRICE DISPLAY ── */
.text-primary {
    color: #00c8ff !important;
}

/* ── BADGE STYLES - MineVale Bestseller style ── */
.bg-primary {
    background: linear-gradient(135deg, #007eb5, #00c8ff) !important;
}

/* ── TOP SECTION STATS (player count, discord) - MineVale ── */
.stats-box,
.server-stat {
    background: rgba(13, 40, 80, 0.7) !important;
    border: 1px solid rgba(0, 200, 255, 0.2) !important;
    border-radius: 12px !important;
    backdrop-filter: blur(8px) !important;
}

/* ── CONTENT BACKGROUNDS ── */
.bg-content {
    background: #0d1e3a !important;
}

/* ── BORDER UTILITIES ── */
.border-base {
    border-color: rgba(0, 200, 255, 0.15) !important;
}

.border-primary {
    border-color: rgba(0, 200, 255, 0.4) !important;
}

/* ── WIDGET PANELS - MelonCity style ── */
.rounded-xl {
    border-radius: 12px !important;
}

/* ── FEATURED PACKAGE HIGHLIGHT ── */
.border-primary/40 {
    border: 2px solid rgba(0, 200, 255, 0.4) !important;
    box-shadow: 0 0 24px rgba(0, 200, 255, 0.12) !important;
}

/* ── CHECKOUT / FORMS ── */
.bg-base input,
.bg-base select,
input[type="text"],
input[type="email"],
input[type="password"],
select {
    background: rgba(8, 14, 26, 0.8) !important;
    border: 1px solid rgba(0, 200, 255, 0.2) !important;
    border-radius: 8px !important;
    color: #e2e8f0 !important;
    transition: all 0.2s ease !important;
}

input:focus,
select:focus {
    border-color: #00c8ff !important;
    box-shadow: 0 0 0 3px rgba(0, 200, 255, 0.12) !important;
    outline: none !important;
}

/* ── FOOTER ── */
.bg-footer {
    background: #060c18 !important;
    border-top: 1px solid rgba(0, 200, 255, 0.1) !important;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: #060c18;
}
::-webkit-scrollbar-thumb {
    background: rgba(0, 200, 255, 0.4);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #00c8ff;
}

/* ── SALE BANNER - OPSucht yellow accent ── */
.sale-bar,
.discount-bar,
[class*="sale"] {
    background: linear-gradient(135deg, #0d2850, #0f3366) !important;
    border: 1px solid rgba(0, 200, 255, 0.25) !important;
    border-radius: 10px !important;
}

/* ── COUNTDOWN TIMER ── */
.countdown-timer,
[class*="countdown"] {
    font-family: "Rajdhani", monospace !important;
    font-weight: 700 !important;
    color: #00c8ff !important;
    font-size: 1.1rem !important;
}

/* ── PACKAGE IMAGE HOVER ── */
.package-img,
[class*="package-img"] {
    transition: transform 0.3s ease !important;
}

.package-card:hover .package-img,
[class*="package"]:hover img {
    transform: scale(1.05) !important;
}

/* ── TOP DONATOR WIDGET ── */
.widget-top-donor {
    background: linear-gradient(135deg, #0d1e3a, #0a2040) !important;
    border: 1px solid rgba(0, 200, 255, 0.15) !important;
    border-radius: 12px !important;
}

/* Gold crown for top donor */
.crown {
    color: #f1c40f !important;
    text-shadow: 0 0 10px rgba(241, 196, 15, 0.5) !important;
}

/* ── DIVIDERS ── */
hr,
.divider {
    border-color: rgba(0, 200, 255, 0.1) !important;
}

/* ── CATEGORY PAGE TITLE ── */
.font-black.font-heading {
    font-size: 2rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    background: linear-gradient(135deg, #ffffff, #00c8ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── GLASSMORPHISM CARDS - Modern feel ── */
.glass-card {
    background: rgba(13, 30, 58, 0.7) !important;
    backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(0, 200, 255, 0.12) !important;
    border-radius: 14px !important;
}

/* ── RIBBON BADGE - OPSucht style ── */
.ribbon {
    position: absolute;
    top: 12px;
    right: -5px;
    background: linear-gradient(135deg, #e67e22, #f39c12);
    color: white;
    font-family: "Rajdhani", sans-serif;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 4px 0 0 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

/* ── HOVER GLOW EFFECT ── */
.hover-glow:hover {
    box-shadow: 0 0 20px rgba(0, 200, 255, 0.25) !important;
}

/* ── AVATAR IMAGES ── */
.rounded-md img,
.avatar img {
    border: 2px solid rgba(0, 200, 255, 0.3) !important;
    border-radius: 6px !important;
}

/* ── EMPTY STATE ── */
.empty,
.empty-state {
    color: rgba(255,255,255,0.5) !important;
    font-style: italic;
}

/* ── TOAST/ALERT ── */
.toast {
    background: #0d1e3a !important;
    border: 1px solid rgba(0, 200, 255, 0.25) !important;
    border-radius: 10px !important;
    color: white !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4) !important;
}

/* ══════════════════════════════════════════════════════
   BUTTON FIX - Text immer mittig
   ══════════════════════════════════════════════════════ */

/* Alle Buttons - Text zentriert */
button, .btn, [class*="btn-"] {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    gap: 6px !important;
    line-height: 1.2 !important;
    vertical-align: middle !important;
}

/* Stelle sicher, dass Icons in Buttons korrekt ausgerichtet sind */
button svg, .btn svg, button i, .btn i {
    flex-shrink: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
}

/* Block-Buttons auch zentriert */
.btn-block, button[class*="w-full"], a.btn[class*="w-full"] {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    width: 100% !important;
}

/* ══════════════════════════════════════════════════════
   MODAL - OPSucht Style
   Dark, modern, mit Cyan-Akzenten
   ══════════════════════════════════════════════════════ */

/* Modal Backdrop - dunkler Overlay */
.modal-backdrop,
[class*="modal-backdrop"] {
    background: rgba(0, 0, 0, 0.75) !important;
    backdrop-filter: blur(6px) !important;
}

/* Modal Container / Dialog */
.modal,
[class*="modal-container"],
[class*="modal-dialog"],
[role="dialog"] {
    border-radius: 16px !important;
    overflow: hidden !important;
    border: 1px solid rgba(0, 200, 255, 0.2) !important;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6), 0 0 40px rgba(0, 200, 255, 0.08) !important;
}

/* Modal Body - OPSucht dark navy */
.modal-body,
[class*="modal-body"],
.slideout-body,
[class*="popup-content"] {
    background: #0d1e3a !important;
    color: #e2e8f0 !important;
}

/* Modal Header - leuchtend blau wie OPSucht */
.modal-header,
[class*="modal-header"],
.slideout-header,
[class*="popup-header"] {
    background: linear-gradient(135deg, #0d40a0, #0099cc) !important;
    border-bottom: none !important;
    color: white !important;
    padding: 1rem 1.25rem !important;
    border-radius: 0 !important;
}

.modal-header h1,
.modal-header h2,
.modal-header h3,
.modal-header h4,
.modal-header h5,
.modal-header h6,
.modal-header .modal-title,
[class*="popup-header"] * {
    color: white !important;
    font-family: "Rajdhani", sans-serif !important;
    font-weight: 700 !important;
    font-size: 1.3rem !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
}

/* Modal Footer */
.modal-footer,
[class*="modal-footer"],
[class*="popup-footer"] {
    background: #0a1628 !important;
    border-top: 1px solid rgba(0, 200, 255, 0.12) !important;
    padding: 0.875rem 1.25rem !important;
}

/* Modal Close Button */
.modal-close,
.modal button.close,
[class*="modal-close"],
[class*="popup-close"],
button[aria-label="Close"],
.btn-close {
    background: rgba(239, 68, 68, 0.85) !important;
    color: white !important;
    border: none !important;
    border-radius: 8px !important;
    width: 32px !important;
    height: 32px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.1rem !important;
    transition: all 0.2s ease !important;
    padding: 0 !important;
    line-height: 1 !important;
}

.modal-close:hover,
button.close:hover,
.btn-close:hover {
    background: rgba(239, 68, 68, 1) !important;
    transform: scale(1.1) !important;
}

/* ── USERNAME / LOGIN MODAL spezifisch ── */
/* "PLEASE LOG IN" Banner - aktuell grün, umfärben zu Cyan */
.modal .btn-success:not(.btn-primary),
.popup .btn-success:not(.btn-primary),
[class*="login-header"],
[class*="login-banner"] {
    background: linear-gradient(135deg, #0d40a0, #0099cc) !important;
    border: none !important;
    pointer-events: none !important;
    cursor: default !important;
    color: white !important;
    font-family: "Rajdhani", sans-serif !important;
    font-weight: 700 !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    font-size: 1rem !important;
    border-radius: 10px !important;
    padding: 0.75rem !important;
    text-align: center !important;
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Tab Buttons (Java / Bedrock) in Login-Modal */
.modal .btn-secondary,
.popup .btn-secondary,
[class*="tab-btn"],
[class*="edition-tab"] {
    background: transparent !important;
    border: 1px solid rgba(0, 200, 255, 0.25) !important;
    color: rgba(255,255,255,0.7) !important;
    border-radius: 8px !important;
    transition: all 0.2s ease !important;
}

.modal .btn-secondary.active,
.modal .btn-secondary:focus,
.popup .btn-secondary.active,
[class*="tab-btn"].active,
[class*="edition-tab"].active {
    background: linear-gradient(135deg, #007eb5, #00c8ff) !important;
    border-color: #00c8ff !important;
    color: white !important;
    font-weight: 700 !important;
}

.modal .btn-secondary:hover,
.popup .btn-secondary:hover {
    background: rgba(0, 200, 255, 0.1) !important;
    border-color: rgba(0, 200, 255, 0.4) !important;
    color: white !important;
}

/* Input fields inside modals */
.modal input,
.modal select,
.popup input,
.popup select,
[class*="modal"] input[type="text"],
[class*="popup"] input[type="text"] {
    background: rgba(6, 12, 24, 0.8) !important;
    border: 1px solid rgba(0, 200, 255, 0.2) !important;
    border-radius: 8px !important;
    color: #e2e8f0 !important;
    padding: 0.6rem 0.9rem !important;
    font-size: 0.9rem !important;
    transition: all 0.2s ease !important;
}

.modal input:focus,
.popup input:focus {
    border-color: #00c8ff !important;
    box-shadow: 0 0 0 3px rgba(0, 200, 255, 0.12) !important;
    outline: none !important;
    background: rgba(8, 20, 45, 0.9) !important;
}

/* Input placeholder */
.modal input::placeholder,
.popup input::placeholder {
    color: rgba(255,255,255,0.35) !important;
}

/* LOGIN Submit Button im Modal */
.modal .btn-primary,
.popup .btn-primary {
    background: linear-gradient(135deg, #007eb5 0%, #00c8ff 100%) !important;
    border: none !important;
    border-radius: 8px !important;
    color: white !important;
    font-family: "Rajdhani", sans-serif !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    padding: 0.65rem 1.5rem !important;
    font-size: 1rem !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 4px 16px rgba(0, 200, 255, 0.25) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
}

.modal .btn-primary:hover,
.popup .btn-primary:hover {
    background: linear-gradient(135deg, #00aae0, #40d8ff) !important;
    box-shadow: 0 6px 24px rgba(0, 200, 255, 0.4) !important;
    transform: translateY(-1px) !important;
}

/* SLIDEOUT inner panel only - NOT the full-screen overlay */
.slideout > div, .slideout .panel, .slideout-content {
    background: #060c18 !important;
    border-left: 1px solid rgba(0, 200, 255, 0.15) !important;
}

/* ── PACKAGE DETAIL MODAL / POPUP ── */
.popup-package,
[class*="package-popup"],
[class*="package-modal"] {
    background: #0d1e3a !important;
    border: 1px solid rgba(0, 200, 255, 0.2) !important;
    border-radius: 16px !important;
    overflow: hidden !important;
}

/* Package popup image area */
.popup-image,
[class*="package-image"] {
    border-radius: 0 !important;
    overflow: hidden !important;
}

/* ── NOTIFICATION / TOAST ── */
.notification,
.alert,
[class*="notification"],
[class*="alert-"] {
    background: #0d1e3a !important;
    border: 1px solid rgba(0, 200, 255, 0.2) !important;
    border-radius: 10px !important;
    color: white !important;
}

.alert-success,
[class*="alert-success"] {
    border-color: rgba(0, 214, 136, 0.4) !important;
    background: rgba(0, 214, 136, 0.08) !important;
}

.alert-danger,
.alert-error,
[class*="alert-danger"] {
    border-color: rgba(239, 68, 68, 0.4) !important;
    background: rgba(239, 68, 68, 0.08) !important;
}


/* ══════════════════════════════════════════════════════
   POPUP / MODAL - Template-spezifische Klassen
   Basierend auf popup.twig Markup
   OPSucht-Style: dunkel, Cyan-Header, rotes X
   ══════════════════════════════════════════════════════ */

/* Popup Overlay */
.popup:not([hidden]) {
    /* semi-transparent + blur so the main page stays visible behind the modal (OPSucht style) */
    background: rgba(4, 10, 22, 0.55) !important;
    -webkit-backdrop-filter: blur(6px) !important;
    backdrop-filter: blur(6px) !important;
}
.popup[hidden] {
    display: none !important;
}

/* Popup Scroll Container */
.popup-scroll-cont {
    padding: 1.5rem !important;
}

/* Popup Content Box - OPSucht dark style */
.popup-content {
    background: #0d1e3a !important;
    border: 1px solid rgba(0, 200, 255, 0.2) !important;
    border-radius: 16px !important;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.7), 0 0 40px rgba(0, 200, 255, 0.06) !important;
    overflow: visible !important;
    position: relative !important;
}

/* Popup Close Button - Red X outside like OPSucht */
.popup-close {
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(239, 68, 68, 0.9) !important;
    color: transparent !important;
    font-size: 0 !important;
    line-height: 1 !important;
    border: none !important;
    border-radius: 9px !important;
    cursor: pointer !important;
    z-index: 10 !important;
    overflow: hidden !important;
    opacity: 1 !important;
    transition: all 0.18s ease !important;
}

.popup-close:hover {
    background: rgb(220, 38, 38) !important;
    transform: scale(1.1) !important;
    box-shadow: 0 4px 16px rgba(239, 68, 68, 0.4) !important;
}

/* Popup inner padding */
.popup-content > div {
    padding: 1.5rem !important;
}

/* Popup Headings */
.popup-content h2,
.popup-content h3 {
    font-family: "Rajdhani", sans-serif !important;
    font-weight: 700 !important;
    color: white !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
    margin-bottom: 1rem !important;
    font-size: 1.25rem !important;
}

/* Package items in popup */
.popup-content .bg-base {
    background: rgba(6, 12, 24, 0.7) !important;
    border: 1px solid rgba(0, 200, 255, 0.12) !important;
    border-radius: 10px !important;
}

.popup-content .bg-base:hover {
    background: rgba(0, 200, 255, 0.06) !important;
    border-color: rgba(0, 200, 255, 0.25) !important;
}

/* bg-page override for popup */
.popup-content.bg-page,
.popup .bg-page {
    background: #0d1e3a !important;
}

/* ── USERNAME / LOGIN POPUP ── */
/* Username form inside popup */
.popup-content form {
    display: flex !important;
    flex-direction: column !important;
    gap: 1rem !important;
}

/* Java / Bedrock edition buttons in login popup */
.popup-content .btn-bold,
.popup-content [class*="flex-1"] {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    font-family: "Rajdhani", sans-serif !important;
    font-weight: 600 !important;
    letter-spacing: 0.05em !important;
    text-transform: uppercase !important;
    border-radius: 8px !important;
    transition: all 0.2s ease !important;
    padding: 0.5rem 1rem !important;
}

/* bg-primary (active tab) */
.popup-content .bg-primary,
.popup-content [class*="bg-primary"] {
    background: linear-gradient(135deg, #007eb5, #00c8ff) !important;
    color: white !important;
    border: none !important;
}

/* bg-content-500 (inactive tab) */
.popup-content .bg-content-500,
.popup-content [class*="bg-content-5"] {
    background: rgba(13, 30, 58, 0.8) !important;
    color: rgba(255,255,255,0.65) !important;
    border: 1px solid rgba(0, 200, 255, 0.15) !important;
}

.popup-content .bg-content-500:hover {
    background: rgba(0, 200, 255, 0.1) !important;
    color: white !important;
}

/* Input in popup */
.popup-content input[type="text"],
.popup-content input {
    background: rgba(6, 12, 24, 0.85) !important;
    border: 1px solid rgba(0, 200, 255, 0.2) !important;
    border-radius: 8px !important;
    color: white !important;
    padding: 0.65rem 1rem !important;
    font-size: 0.9rem !important;
    width: 100% !important;
    transition: border-color 0.2s ease !important;
}

.popup-content input:focus {
    border-color: #00c8ff !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(0, 200, 255, 0.1) !important;
}

.popup-content input::placeholder {
    color: rgba(255,255,255,0.3) !important;
}

/* Submit / Login Button in popup */
.popup-content .btn-primary,
.popup-content button[type="submit"] {
    background: linear-gradient(135deg, #007eb5, #00c8ff) !important;
    border: none !important;
    border-radius: 8px !important;
    color: white !important;
    font-family: "Rajdhani", sans-serif !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    padding: 0.7rem 1.5rem !important;
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 4px 16px rgba(0, 200, 255, 0.25) !important;
    cursor: pointer !important;
}

.popup-content .btn-primary:hover,
.popup-content button[type="submit"]:hover {
    background: linear-gradient(135deg, #00aae0, #40d8ff) !important;
    box-shadow: 0 6px 24px rgba(0, 200, 255, 0.4) !important;
    transform: translateY(-1px) !important;
}

/* Text-muted in dark popup */
.popup-content .text-muted,
.popup-content [class*="text-content"] {
    color: rgba(255,255,255,0.65) !important;
}

/* bg-content-900 (input bg) in popup */
.popup-content .bg-content-900 {
    background: rgba(4, 8, 18, 0.8) !important;
}


/* ── LOGIN "PLEASE LOG IN" Banner umfärben (bg-success → cyan) ── */
.btn-bold.bg-success,
[class*="btn-bold"].bg-success,
.field .bg-success,
form .bg-success.uppercase {
    background: linear-gradient(135deg, #0d40a0, #0099cc) !important;
    color: white !important;
    box-shadow: 0 4px 16px rgba(0, 153, 204, 0.2) !important;
}


/* ── Java/Bedrock Selector Button im User-Block (bg-success → cyan) ── */
button.bg-success.text-success-900,
.user-block button.bg-success,
[class*="user"] button.bg-success {
    background: linear-gradient(135deg, #007eb5, #00c8ff) !important;
    color: white !important;
}


/* Sidebar (slideout) backdrop: dim + blur so the page stays visible behind it */
.slideout-backdrop {
    background: rgba(4, 10, 22, 0.55) !important;
    -webkit-backdrop-filter: blur(6px) !important;
    backdrop-filter: blur(6px) !important;
}

/* Close button: show a clean × instead of "Schließen" text or masked icon */
.popup-close::before {
    content: "×" !important;
    display: block !important;
    width: auto !important;
    height: auto !important;
    background: none !important;
    -webkit-mask: none !important;
    mask: none !important;
    color: #fff !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    font-family: Arial, "Helvetica Neue", sans-serif !important;
    text-align: center !important;
}


/* ════════ LOGIN FORM POLISH (OPSucht-style) ════════ */
/* The login container card */
.store-product-options {
    border: 1px solid rgba(0, 200, 255, 0.18) !important;
    border-radius: 16px !important;
    box-shadow: 0 20px 60px rgba(0,0,0,0.45) !important;
}
/* "PLEASE LOG IN" heading -> full-width cyan gradient banner, centered */
.store-form .btn-bold.h-16,
.store-product-options .btn-bold.h-16 {
    display: flex !important;
    width: 100% !important;
    align-items: center !important;
    justify-content: center !important;
    background-image: linear-gradient(135deg, #00c8ff, #0080ff) !important;
    color: #04121f !important;
    border-radius: 12px !important;
    text-align: center !important;
    letter-spacing: 0.04em !important;
    pointer-events: none !important;
}
/* Username input: dark with cyan focus */
.store-form input[type="text"],
.store-form input:not([type]) {
    background: #0e1c33 !important;
    border: 1px solid rgba(0, 200, 255, 0.18) !important;
    border-radius: 12px !important;
    color: #e6f4ff !important;
    padding: 0.9rem 1rem !important;
}
.store-form input:focus {
    border-color: #00c8ff !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(0,200,255,0.18) !important;
}
.store-form input::placeholder { color: #6f86a8 !important; }
/* Java / Bedrock toggle + LOGIN button consistent rounded look */
.store-form .btn-bold {
    border-radius: 12px !important;
}


/* ════════ FIX HIDDEN ATTRIBUTE (cart 'Auswählen' button) ════════ */
/* My button-centering rule used display:inline-flex !important which was overriding [hidden].
   Restore [hidden] so the Auswählen button disappears when item is in the basket. */
[hidden] { display: none !important; }


/* ════════ CART QUANTITY FIELD (in-basket controls) ════════ */
/* When an item is in the basket, only the quantity controls show (Auswählen is [hidden]). */
.quantity-field.with-open-basket:not([hidden]) {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 0.4rem !important;
    width: 100% !important;
    background: rgba(8, 14, 26, 0.7) !important;
    border: 1px solid rgba(0, 200, 255, 0.18) !important;
    border-radius: 12px !important;
    padding: 4px !important;
    overflow: hidden !important;
}
/* +/- buttons */
.quantity-field .adjust {
    flex: 0 0 auto !important;
    width: 38px !important;
    height: 38px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 8px !important;
}
/* 'im Warenkorb' label takes the middle */
.quantity-field .open-basket {
    flex: 1 1 auto !important;
    text-align: center !important;
    white-space: nowrap !important;
    order: 2 !important;
}
/* the numeric quantity input: centered, compact, not overlapping the label */
.quantity-field input.quantity {
    flex: 0 0 auto !important;
    width: 34px !important;
    text-align: center !important;
    background: transparent !important;
    border: none !important;
    color: #e6f4ff !important;
    font-weight: 700 !important;
    padding: 0 !important;
    order: 1 !important;
    -moz-appearance: textfield !important;
}
.quantity-field input.quantity::-webkit-outer-spin-button,
.quantity-field input.quantity::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
}


/* ════════ FIX MODAL HIDDEN ADD (Auswählen in product modal) ════════ */
/* Higher-specificity rules elsewhere force .popup .btn-primary to display:flex,
   which re-shows the [hidden] Auswählen button inside the product modal.
   These overrides keep hidden buttons hidden in modals too. */
.popup .add[hidden],
.popup-content .add[hidden],
.popup .btn-primary[hidden],
.popup-content .btn-primary[hidden],
.popup [hidden],
.popup-content [hidden] {
    display: none !important;
}


/* ════════ BASKET BEAUTIFY (Warenkorb slideout) ════════ */
.basket-popup-content {
    background: #0a1424 !important;
    border-left: 1px solid rgba(0, 200, 255, 0.18) !important;
}
/* Header with user info: softer cyan gradient, rounded */
.basket-header {
    background-image: linear-gradient(135deg, #0d4aa0, #00a3e0) !important;
    border-radius: 14px !important;
    margin: 14px !important;
    padding: 16px !important;
    box-shadow: 0 8px 24px rgba(0, 130, 255, 0.25) !important;
}
.basket-header .basket-title { letter-spacing: 0.03em !important; }
/* "Ausloggen" pill */
.basket-header a {
    background: rgba(255,255,255,0.92) !important;
    color: #0a1424 !important;
    border-radius: 10px !important;
    font-weight: 700 !important;
}
/* "2 Produkte / Gesamt" summary header */
.basket-second-header {
    padding: 6px 18px 12px !important;
    border-bottom: 1px solid rgba(0, 200, 255, 0.1) !important;
}
/* Each product row as a clean card */
.basket-item {
    background: rgba(13, 30, 58, 0.6) !important;
    border: 1px solid rgba(0, 200, 255, 0.12) !important;
    border-radius: 14px !important;
    padding: 12px 14px !important;
    gap: 12px !important;
    align-items: center !important;
    transition: border-color 0.18s ease, box-shadow 0.18s ease !important;
}
.basket-item:hover {
    border-color: rgba(0, 200, 255, 0.35) !important;
    box-shadow: 0 0 18px rgba(0, 200, 255, 0.12) !important;
}
.basket-item img { border-radius: 10px !important; }
.basket-item .title { font-weight: 700 !important; }
.basket-item .price { color: #00c8ff !important; margin-top: 4px !important; margin-left: 0 !important; display: block !important; } /* basket price spacing */
/* quantity field in basket row */
.basket-item .quantity-field {
    background: rgba(8, 14, 26, 0.8) !important;
    border: 1px solid rgba(0, 200, 255, 0.18) !important;
    border-radius: 10px !important;
    overflow: hidden !important;
}
.basket-item input.quantity {
    background: transparent !important;
    border: none !important;
    width: 44px !important;
    text-align: center !important;
    color: #e6f4ff !important;
}
/* remove (×) link per row */
.basket-item > a:last-child {
    color: #ef6b6b !important;
    opacity: 0.8 !important;
    transition: opacity 0.15s ease, transform 0.15s ease !important;
}
.basket-item > a:last-child:hover { opacity: 1 !important; transform: scale(1.15) !important; }
/* total + checkout footer */
.total { color: #00c8ff !important; }
.btn-primary.checkout, button.checkout {
    background-image: linear-gradient(135deg, #00c8ff, #0080ff) !important;
    color: #04121f !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 24px rgba(0, 200, 255, 0.25) !important;
}


/* PROFESSIONAL POLISH PASS */
/* ---- Basket row: stack name above price (fix name/price touching) ---- */
.basket-item .info {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    gap: 2px !important;
    min-width: 0 !important;
}
.basket-item .info .title { margin: 0 !important; line-height: 1.2 !important; }
.basket-item .info .title a { color: #f1f7ff !important; text-decoration: none !important; }
.basket-item .info .price { margin: 0 !important; }
/* hide empty options list so it doesn't add stray spacing */
.basket-item .options:empty { display: none !important; }
.basket-item .quantity-field { flex: 0 0 auto !important; }
/* keep the remove x clear of the price */
.basket-item { padding-right: 30px !important; }

/* ---- Basket header avatar: hide if empty/broken, frame nicely if present ---- */


/* ---- Category cards (homepage): clean, consistent, professional ---- */
.category-item {
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease !important;
    gap: 14px !important;
    min-height: 84px !important;
}
.category-item:hover {
    transform: translateY(-3px) !important;
    border-color: rgba(0, 200, 255, 0.40) !important;
    box-shadow: 0 10px 28px rgba(0, 130, 255, 0.18) !important;
}
.category-item img {
    width: 52px !important;
    height: 52px !important;
    object-fit: contain !important;
    flex: 0 0 auto !important;
    padding: 6px !important;
    background: rgba(0, 200, 255, 0.06) !important;
    border-radius: 12px !important;
    border: 1px solid rgba(0, 200, 255, 0.10) !important;
}
.category-item .text-xl {
    font-size: 1.25rem !important;
    line-height: 1.15 !important;
    white-space: nowrap !important;
}

/* ---- Product cards & detail: gentle consistent hover lift ---- */
.package-item, .package, [class*="package-item"] {
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease !important;
}

/* ---- Smooth, consistent transitions on all interactive bits ---- */
a, button, .btn, [class*="btn-"], input, .quantity-field {
    transition: all 0.16s ease !important;
}
/* hide broken-image artifact: blend avatar into header, hide alt/broken icon */
.basket-header .user-avatar img {
    border-radius: 10px !important;
    object-fit: cover !important;
    color: transparent !important;           /* hide broken-image alt text/icon */
    background: rgba(255,255,255,0.12) !important;
}
.basket-header .user-avatar {
    align-self: center !important;
    background: transparent !important;
}

/* GRACEFUL AVATAR FALLBACK */
/* Any avatar image (header user-block + basket header): never show jarring
   broken-image icon/alt; blend into a soft rounded tile if the skin fails to load */
.user-avatar {
    background: rgba(0, 200, 255, 0.06) !important;
    border: 1px solid rgba(0, 200, 255, 0.10) !important;
    border-radius: 12px !important;
}
.user-avatar img {
    object-fit: cover !important;
    color: transparent !important;
    font-size: 0 !important;
    border-radius: 11px !important;
}
.basket-header .user-avatar { background: rgba(255,255,255,0.10) !important; border-color: rgba(255,255,255,0.18) !important; }

