/* === WESTARP TAILWIND REPLACEMENT - VOLLSTÄNDIG === */

/* DISPLAY */
.hidden { display: none !important; }
.block { display: block !important; }
.flex { display: flex !important; }
.grid { display: grid !important; }
.inline-flex { display: inline-flex !important; }

/* LAYOUT */
.min-h-screen { min-height: 100vh !important; }
.w-full { width: 100% !important; }
.h-5 { height: 1.25rem !important; }
.h-9 { height: 2.25rem !important; }
.w-5 { width: 1.25rem !important; }
.w-9 { width: 2.25rem !important; }
.h-3 { height: 0.75rem !important; }
.h-4 { height: 1rem !important; }
.w-3 { width: 0.75rem !important; }
.w-4 { width: 1rem !important; }
.max-w-7xl { max-width: 80rem !important; }
.max-w-md { max-width: 28rem !important; }
.max-w-2xl { max-width: 42rem !important; }
.h-8 { height: 2rem !important; }
.w-8 { width: 2rem !important; }

/* GRID SYSTEM - VOLLSTÄNDIG */
.grid-cols-1 { display: grid !important; grid-template-columns: repeat(1, minmax(0, 1fr)) !important; }
.grid-cols-2 { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
.grid-cols-3 { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
.grid-cols-12 { display: grid !important; grid-template-columns: repeat(12, minmax(0, 1fr)) !important; }

.col-span-1 { grid-column: span 1 / span 1 !important; }
.col-span-2 { grid-column: span 2 / span 2 !important; }
.col-span-3 { grid-column: span 3 / span 3 !important; }
.col-span-6 { grid-column: span 6 / span 6 !important; }
.col-span-7 { grid-column: span 7 / span 7 !important; }
.col-span-12 { grid-column: span 12 / span 12 !important; }

/* GAPS */
.gap-1 { gap: 0.25rem !important; }
.gap-2 { gap: 0.5rem !important; }
.gap-3 { gap: 0.75rem !important; }
.gap-4 { gap: 1rem !important; }
.gap-5 { gap: 1.25rem !important; }
.gap-6 { gap: 1.5rem !important; }
.gap-8 { gap: 2rem !important; }

/* FLEXBOX */
.items-center { align-items: center !important; }
.justify-end { justify-content: flex-end !important; }
.justify-center { justify-content: center !important; }
.justify-between { justify-content: space-between !important; }
.flex-1 { flex: 1 1 0% !important; }
.flex-shrink-0 { flex-shrink: 0 !important; }

/* SPACING */
.mx-auto { margin-left: auto !important; margin-right: auto !important; }
.px-2 { padding-left: 0.5rem !important; padding-right: 0.5rem !important; }
.px-3 { padding-left: 0.75rem !important; padding-right: 0.75rem !important; }
.px-4 { padding-left: 1rem !important; padding-right: 1rem !important; }
.py-1 { padding-top: 0.25rem !important; padding-bottom: 0.25rem !important; }
.py-2 { padding-top: 0.5rem !important; padding-bottom: 0.5rem !important; }
.py-3 { padding-top: 0.75rem !important; padding-bottom: 0.75rem !important; }
.pr-10 { padding-right: 2.5rem !important; }
.pr-8 { padding-right: 2rem !important; }
.mx-4 { margin-left: 1rem !important; margin-right: 1rem !important; }
.-top-2 { top: -0.5rem !important; }
.-right-2 { right: -0.5rem !important; }
.min-w-\\[1rem\\] { min-width: 1rem !important; }

/* COLORS */
.bg-white { background-color: #ffffff !important; }
.bg-gray-50 { background-color: #f9fafb !important; }
.bg-blue-600 { background-color: #2563eb !important; }
.bg-red-500 { background-color: #ef4444 !important; }
.rounded-full { border-radius: 9999px !important; }
.text-white { color: #ffffff !important; }
.text-gray-700 { color: #374151 !important; }
.text-gray-600 { color: #4b5563 !important; }
.text-gray-400 { color: #9ca3af !important; }
.text-gray-900 { color: #111827 !important; }
.text-xs { font-size: 0.75rem !important; line-height: 1rem !important; }
.text-sm { font-size: 0.875rem !important; line-height: 1.25rem !important; }

/* BORDERS */
.border-b { border-bottom-width: 1px !important; }
.border-t { border-top-width: 1px !important; }
.border { border-width: 1px !important; }
.border-gray-300 { border-color: #d1d5db !important; }
.rounded { border-radius: 0.25rem !important; }
.rounded-lg { border-radius: 0.5rem !important; }

/* POSITION */
.sticky { position: sticky !important; }
.relative { position: relative !important; }
.absolute { position: absolute !important; }
.top-0 { top: 0 !important; }
.right-2 { right: 0.5rem !important; }
.right-3 { right: 0.75rem !important; }
.z-40 { z-index: 40 !important; }

/* TYPOGRAPHY */
.font-semibold { font-weight: 600 !important; }
.font-bold { font-weight: 700 !important; }
.tracking-tight { letter-spacing: -0.025em !important; }
.whitespace-nowrap { white-space: nowrap !important; }

/* OVERFLOW */
.overflow-x-auto { overflow-x: auto !important; }

/* TRANSFORM */
.-translate-y-1\/2 { transform: translateY(-50%) !important; }

/* FOCUS STATES */
.focus\:border-blue-500:focus { border-color: #3b82f6 !important; }
.focus\:outline-none:focus { outline: none !important; }
.focus\:ring-1:focus { box-shadow: 0 0 0 1px #3b82f6 !important; }
.focus\:ring-blue-500:focus { box-shadow: 0 0 0 1px #3b82f6 !important; }

/* HOVER STATES */
.hover\:text-blue-600:hover { color: #2563eb !important; }
.hover\:text-gray-600:hover { color: #4b5563 !important; }

/* ORDER */
.order-2 { order: 2 !important; }
.order-3 { order: 3 !important; }

/* RESPONSIVE BREAKPOINTS */
@media (min-width: 640px) {
    .sm\:inline { display: inline !important; }
    .sm\:hidden { display: none !important; }
}

@media (min-width: 768px) {
    .md\:block { display: block !important; }
    .md\:col-span-2 { grid-column: span 2 / span 2 !important; }
    .md\:col-span-3 { grid-column: span 3 / span 3 !important; }
    .md\:col-span-7 { grid-column: span 7 / span 7 !important; }
    .md\:gap-6 { gap: 1.5rem !important; }
    .md\:text-sm { font-size: 0.875rem !important; line-height: 1.25rem !important; }
    .md\:px-3 { padding-left: 0.75rem !important; padding-right: 0.75rem !important; }
    .md\:py-2 { padding-top: 0.5rem !important; padding-bottom: 0.5rem !important; }
    .md\:order-2 { order: 2 !important; }
    .md\:order-3 { order: 3 !important; }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-3 { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
    .lg\:col-span-1 { grid-column: span 1 / span 1 !important; }
    .lg\:col-span-2 { grid-column: span 2 / span 2 !important; }
}

/* WESTARP SPEZIFISCHE KLASSEN */
.wp-block-group { display: block !important; }
.westarp-header { display: block !important; }
.alle-kategorien-dropdown { position: relative !important; }
.nav-link { 
    color: #374151 !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    border-radius: 0.375rem !important;
}
.nav-link:hover {
    color: #3b82f6 !important;
    background-color: #f8fafc !important;
}

.btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 0.375rem !important;
    font-weight: 500 !important;
    transition: all 0.2s ease !important;
    cursor: pointer !important;
    border: none !important;
    text-decoration: none !important;
}

.btn-secondary {
    background-color: #f8fafc !important;
    color: #374151 !important;
    border: 1px solid #d1d5db !important;
}

.btn-secondary:hover {
    background-color: #f1f5f9 !important;
    border-color: #9ca3af !important;
}

.scrollbar-hide {
    -ms-overflow-style: none !important;
    scrollbar-width: none !important;
}
.scrollbar-hide::-webkit-scrollbar {
    display: none !important;
}

/* SPEZIFISCHE SINGLE PRODUCT FIXES */
body.single-product .grid.lg\:grid-cols-3 {
    display: grid !important;
    grid-template-columns: 1fr 2fr !important;
    gap: 2rem !important;
}

body.single-product .lg\:col-span-1 {
    grid-column: 1 / 2 !important;
}

body.single-product .lg\:col-span-2 {
    grid-column: 2 / 3 !important;
}

/* BUY-BOX GRID ERZWINGEN */
body.single-product .grid.lg\:grid-cols-2 {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 3rem !important;
    align-items: start !important;
}

/* BUTTONS PADDING UND STYLING */
body.single-product button,
body.single-product .button,
body.single-product .btn {
    padding: 0.75rem 1.5rem !important;
    border-radius: 0.5rem !important;
    font-weight: 500 !important;
    transition: all 0.2s ease !important;
}

/* RESPONSIVE MOBILE FIXES */
@media (max-width: 768px) {
    body { font-size: 14px !important; }
    
    .nav-link, .btn {
        min-height: 44px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .westarp-header .wp-block-group {
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
    }
    
    .westarp-header .grid {
        display: grid !important;
    }
    
    .westarp-header .grid-cols-12 {
        grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
    }
    
    .westarp-header input[type="search"] {
        font-size: 16px !important;
    }
}