/**
 * BRAND NEW Homepage Design for myBrickDepot
 * Modern, Bold, Different
 */

/* ==========================================
   GLOBAL FONT - FUN & ROUNDED
   ========================================== */
body,
.s01,
.product_section,
h1, h2, h3, h4, h5, h6,
p, a, button, input, label,
.search_box, .highlight_box,
.product_heading,
.btn, .btn_blue, .effect {
  font-family: 'Poppins', 'Nunito', 'Comic Sans MS', cursive, sans-serif !important;
}

/* Make body transparent so background shows through */
body {
  background: transparent !important;
  margin: 0 !important;
  padding: 0 !important;
}

html {
  background: transparent !important;
  margin: 0 !important;
  padding: 0 !important;
  height: 100% !important;
}

/* Ensure body takes full height for sticky footer on login/register pages */
body:has(.login_section) {
  min-height: 100vh !important;
  display: flex !important;
  flex-direction: column !important;
}

body:has(.login_section) .login_section {
  flex: 1 !important;
}

/* Make all text dark/black by default - REMOVED TO DEBUG */

/* Exception: Header menu stays white - MUST come after and be more specific */
.logo_section,
.logo_section a,
.logo_section span,
.logo_section div,
.logo_section p,
.logo_section .nav-link,
.logo_section .navbar-brand,
.logo_section .navbar-toggler-icon,
.logo_section .navbar-nav .nav-link,
.logo_section nav a,
.logo_section .navbar-nav a,
.logo_section .navbar-nav .nav-item a,
.logo_section .navbar-nav .nav-item .nav-link {
  color: #ffffff !important;
}

/* Exception: Footer stays white - REMOVED, will be redesigned */

/* Exception: Buttons keep their colors */
.btn, .btn_blue, button {
  color: #ffffff !important;
}

/* Exception: Search input text should be dark/visible */
.s01 form .inner-form .input-field input {
  color: #1a1a1a !important;
}

.s01 form .inner-form .input-field input::placeholder {
  color: #999999 !important;
}

/* Exception: Checkbox labels in filter should be dark and readable */
.s01 .toggle-label,
.s01 .toggle-label span,
.s01 .toggle-label .deals-label,
.s01 .deals-label,
.s01 span.deals-label,
.filter-panel .toggle-label,
.filter-panel .toggle-label span,
.filter-panel .toggle-label .deals-label,
.filter-panel .deals-label,
.filter-panel span.deals-label,
.advanced-filter-section .toggle-label,
.advanced-filter-section .toggle-label span,
.advanced-filter-section .toggle-label .deals-label,
.advanced-filter-section .deals-label,
.advanced-filter-section span.deals-label,
.toggle-group .toggle-label,
.toggle-group .toggle-label span,
.toggle-group span.deals-label,
.toggle-group span {
  color: #1a1a1a !important;
  font-weight: 500 !important;
}

/* ==========================================
   THEMEN PAGE - MODERN GRID CARDS
   ========================================== */
/* Add spacing between grid items on theme page */
.theme-card {
  margin-bottom: 2rem;
}

/* Spacing for theme card columns */
.theme-card,
.row.deal_box > .col-6,
.row.deal_box > .col-md-2 {
  margin-bottom: 2rem !important;
}

/* Modern card design for categories */
.search_box {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.search_box {
  border: 3px solid transparent !important;
}

.search_box:hover {
  border: 3px solid rgb(37, 99, 235) !important;
  transform: translateY(-8px) scale(1.02) !important;
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4) !important;
}

/* Category name styling */
.search_box .wrap-box p,
.highlight_box .wrap-box p {
  font-size: 1rem !important;
  font-weight: 700 !important;
  color: #1a1a1a !important;
  margin: 1rem 0 !important;
  line-height: 1.4 !important;
  min-height: 60px !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

/* Button styling for category cards */
.search_box .btn_blue {
  width: 100%;
  font-size: 0.95rem !important;
  padding: 12px 20px !important;
  font-weight: 600 !important;
}

/* Icon for theme cards */
.theme-icon {
  width: 80px;
  height: 80px;
  margin: 1.5rem auto 1rem;
  background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.theme-icon i {
  font-size: 2.5rem;
  color: rgb(29, 78, 216);
}

.search_box:hover .theme-icon {
  background: linear-gradient(135deg, rgb(29, 78, 216) 0%, #0d47a1 100%);
  transform: rotate(10deg) scale(1.1);
}

.search_box:hover .theme-icon i {
  color: #ffffff;
}

/* ==========================================
   HERO SECTION - BOLD & MODERN
   ========================================== */
/* Make diagonal design go all the way to top */
.s01 {
  min-height: 45vh;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: "Poppins", sans-serif;
  padding: 120px 20px 40px 20px; /* More padding to push content down */
  position: relative;
  background: transparent !important;
  z-index: 100;
}

/* For pages with breadcrumbs but not product pages (e.g. deals/category pages) */
body:has(.bread_crumb):not(:has(#productCarousel)) .s01 {
  min-height: 20vh;
  padding: 80px 20px 15px 20px;
}

/* Page Background Layer - behind everything like Windows desktop wallpaper */
.page-background-layer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, #1e293b 0%, #0f172a 50%, #1e293b 100%);
  z-index: -9999;
  pointer-events: none;
}

/* Curved overlay to create the diagonal cut effect - medium blue */
.page-background-layer::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(135deg, rgb(37, 99, 235) 0%, rgb(29, 78, 216) 100%);
  clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
}

/* Modern split design with blue accent - goes to very top, behind content */
.s01::before {
  display: none;
}

/* Phone mockup container - modern card design */
.phone-mockup-container {
  background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
  border-radius: 40px;
  padding: 40px 30px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
  margin: 20px auto;
  max-width: 500px;
}

.phone-mockup {
  border-radius: 20px;
  width: 65% !important;
}

/* Shift entire phone section right by 140px */
.col-12.col-md-6:has(.phone-mockup-container) {
  transform: translateX(140px);
}

.s01::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0, 102, 204, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  z-index: -1;
}

/* Hide blue background on product detail pages only */
body:has(.product-image-swiper) .s01::after,
body:has(#productCarousel) .s01::after {
  display: none !important;
}

/* ==========================================
   SEARCH AREA - COMPLETELY NEW LAYOUT
   ========================================== */
.s01 form {
  width: 100%;
  max-width: 1200px;
  position: relative;
  z-index: 10;
  text-align: center;
}

.s01 form legend,
.s01 form h1 {
  font-size: 72px;
  font-weight: 900;
  line-height: 1.1;
  color: #1a1a1a;
  margin-bottom: 32px;
  text-align: left;
  letter-spacing: -0.03em;
  text-shadow: none;
  position: relative;
  max-width: 800px;
}

.s01 form h1::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 0;
  width: 120px;
  height: 6px;
  background: linear-gradient(90deg, #0066cc 0%, #00cc66 100%);
  border-radius: 3px;
}

/* Big centered search box - match /app width */
.s01 form .inner-form {
  background: #ffffff !important;
  border-radius: 60px !important;
  padding: 8px !important;
  display: flex !important;
  width: 100% !important;
  max-width: 900px !important;
  margin: 0 auto !important;
  align-items: center !important;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.15),
    0 0 0 1px rgba(0, 0, 0, 0.05) !important;
  transition: all 0.4s ease !important;
  border: 3px solid transparent !important;
}

.s01 form .inner-form:focus-within {
  border-color: #0066cc;
  box-shadow:
    0 25px 70px rgba(0, 102, 204, 0.25),
    0 0 0 1px #0066cc;
  transform: translateY(-2px);
}

/* ==========================================
   MODERN INPUT - CLEAN & BIG
   ========================================== */
.s01 form .inner-form .input-field {
  margin-right: 8px;
  height: 60px;
  position: relative;
}

.s01 form .inner-form .input-field.first-wrap {
  flex-grow: 1;
}

.s01 form .inner-form .input-field input {
  height: 100%;
  background: transparent;
  border-radius: 50px;
  border: none;
  display: block;
  width: 100%;
  padding: 0 32px;
  font-size: 18px;
  font-weight: 500;
  color: #1a1a1a;
  transition: all 0.3s ease;
}

.s01 form .inner-form .input-field input::placeholder {
  color: #999999;
  font-size: 18px;
  font-weight: 400;
}

.s01 form .inner-form .input-field input:focus {
  outline: none;
}

/* ==========================================
   BOLD SEARCH BUTTON
   ========================================== */
.s01 form .inner-form .input-field.third-wrap {
  width: auto;
  margin-right: 0;
}

.s01 form .inner-form .input-field.third-wrap .btn-search {
  height: 60px;
  min-width: 160px;
  padding: 0 36px;
  background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
  white-space: nowrap;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  transition: all 0.3s ease;
  border: 0;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(0, 102, 204, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.s01 form .inner-form .input-field.third-wrap .btn-search:hover {
  background: linear-gradient(135deg, #0052a3 0%, #003d7a 100%);
  box-shadow: 0 12px 35px rgba(0, 102, 204, 0.5);
  transform: translateY(-2px) scale(1.02);
}

.s01 form .inner-form .input-field.third-wrap .btn-search:active {
  transform: translateY(0) scale(0.98);
}

/* ==========================================
   PRODUCT CARDS - MODERN & FRESH
   ========================================== */
.product_section {
  background: transparent !important;
  padding: 20px 0 20px 0;
  position: relative;
  z-index: 1;
}

/* Only on product detail pages - make content closer to top */
body:has(.product-image-swiper) .s01,
body:has(#productCarousel) .s01,
body:has(#imageSlider) .s01 {
  min-height: 10vh;
  padding: 70px 20px 10px 20px;
}

body:has(.product-image-swiper) .product_section,
body:has(#productCarousel) .product_section,
body:has(#imageSlider) .product_section {
  background: transparent !important;
  padding: 5px 0 60px 0;
  position: relative;
  z-index: 1;
}

/* Breadcrumb container spacing from fixed header */
.product_section .col-12 {
  margin-top: 80px !important;
  margin-bottom: 5px !important;
}

/* Breadcrumbs closer to content on product pages */
.product_section .bread_crumb {
  margin-top: 0px !important;
  margin-bottom: 2.5rem !important;
  padding-top: 0px !important;
  padding-bottom: 10px !important;
}

/* Reduce spacing for depot button section */
.product_section .col-lg-5 .mt-4.mt-md-4 {
  margin-top: 10px !important;
}

/* Form Switch - Versandkosten berücksichtigen - STYLISCH GLASSMORPHISM */
.product_section .form-check.form-switch {
  max-width: fit-content !important;
  min-width: auto !important;
  width: auto !important;
  display: inline-flex !important;
  align-items: center !important;
  padding: 12px 20px !important;
  margin-left: 0 !important;
  margin-right: auto !important;
  justify-content: flex-start !important;
  background: linear-gradient(145deg,
    rgba(255, 255, 255, 0.15) 0%,
    rgba(255, 255, 255, 0.1) 100%) !important;
  backdrop-filter: blur(20px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
  border: 2px solid rgba(255, 255, 255, 0.3) !important;
  border-radius: 16px !important;
  box-shadow:
    0 8px 25px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
  transition: all 0.3s ease !important;
}

.product_section .form-check.form-switch:hover {
  background: linear-gradient(145deg,
    rgba(255, 255, 255, 0.2) 0%,
    rgba(255, 255, 255, 0.15) 100%) !important;
  border-color: rgba(255, 255, 255, 0.4) !important;
  transform: translateY(-2px) !important;
  box-shadow:
    0 12px 35px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.4) !important;
}

.product_section .form-check.form-switch .form-check-input {
  margin-left: 0 !important;
  margin-right: 12px !important;
  flex-shrink: 0 !important;
  width: 52px !important;
  height: 28px !important;
  cursor: pointer !important;
  background-color: rgba(255, 255, 255, 0.2) !important;
  border: 2px solid rgba(255, 255, 255, 0.4) !important;
  transition: all 0.3s ease !important;
  position: relative !important;
}

.product_section .form-check.form-switch .form-check-input:checked {
  background-color: rgb(37, 99, 235) !important;
  border-color: rgb(37, 99, 235) !important;
  box-shadow: 0 0 20px rgba(37, 99, 235, 0.5) !important;
}

/* Emoji Hintergrund-Icon - bleibt fix in der Mitte */
.product_section .form-check.form-switch .form-check-input::after {
  content: '📦' !important;
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  transform: translate(-50%, -50%) !important;
  font-size: 14px !important;
  opacity: 0.6 !important;
  z-index: 0 !important;
  transition: all 0.3s ease !important;
  pointer-events: none !important;
}

.product_section .form-check.form-switch .form-check-input:checked::after {
  content: '🚚' !important;
  opacity: 0.9 !important;
}

.product_section .form-check.form-switch .form-check-label {
  margin-bottom: 0 !important;
  white-space: nowrap !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  color: #ffffff !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
  cursor: pointer !important;
}

/* Make all breadcrumb text dark/black */
.product_section .bread_crumb,
.product_section .bread_crumb span,
.product_section .bread_crumb span a {
  color: #1a1a1a !important;
}

/* Make all text in product section dark */
.product_section h1,
.product_section h2,
.product_section h3,
.product_section h4,
.product_section p,
.product_section span,
.product_section a {
  color: #ffffff !important;
}

/* Exception: links should be bright when hovered */
.product_section a:hover {
  color: #60a5fa !important;
}

/* IMPORTANT: Don't override Bootstrap grid columns! */
.deal_box .col-6,
.deal_box .col-md-2,
.deal_box .box {
  /* Let Bootstrap handle the grid layout */
}

/* Add proper spacing between grid items */
.deal_box .col-12,
.deal_box .col-md-4 {
  margin-bottom: 30px;
}

.row.row-cols-3 .col-12,
.row.row-cols-3 .col-md-4 {
  margin-bottom: 30px;
}

.product_section .search_box,
.product_section .highlight_box {
  background: #ffffff;
  border-radius: 24px;
  padding: 20px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 2px solid transparent;
  position: relative;
  overflow: visible;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product_section .search_box:hover,
.product_section .highlight_box:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 102, 204, 0.15);
  border-color: #0066cc;
}

/* Image container with modern effect */
.product_section .search_box img,
.product_section .highlight_box img {
  transition: all 0.4s ease;
  border-radius: 16px;
  display: block;
  width: 100%;
  background: #f5f5f5;
  padding: 12px;
}

.product_section .search_box:hover img,
.product_section .highlight_box:hover img {
  transform: scale(1.08) rotate(2deg);
}

/* ==========================================
   BUTTONS - BOLD & MODERN
   ========================================== */
.btn_blue,
.btn.btn-secondary {
  background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
  border: none;
  border-radius: 50px;
  padding: 14px 32px;
  font-weight: 700;
  font-size: 15px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(0, 102, 204, 0.3);
  color: #ffffff;
  text-decoration: none;
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn_blue:hover,
.btn.btn-secondary:hover {
  background: linear-gradient(135deg, #0052a3 0%, #003d7a 100%);
  box-shadow: 0 8px 25px rgba(0, 102, 204, 0.4);
  transform: translateY(-3px);
  color: #ffffff;
}

.btn_blue:active,
.btn.btn-secondary:active {
  transform: translateY(-1px);
}

/* ==========================================
   HEADINGS - BOLD & IMPACTFUL
   ========================================== */
.product_heading {
  font-weight: 900;
  color: #0a0a0a;
  margin-bottom: 32px;
  position: relative;
  display: block;
  font-size: 36px;
  letter-spacing: -0.02em;
  text-align: left;
}

.product_heading::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 0;
  width: 80px;
  height: 5px;
  background: linear-gradient(90deg, #0066cc 0%, #00cc66 100%);
  border-radius: 3px;
}

/* Ensure headings stay left aligned */
.product_section .product_heading {
  text-align: left !important;
}

/* ==========================================
   MODERN DISCOUNT BADGE
   ========================================== */
.deal_box .box {
  position: relative;
  margin-bottom: 24px;
}

.ribbon-red {
  position: absolute;
  z-index: 10;
  top: -15px;
  left: -15px;
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.ribbon-red3 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 50px;
  height: 50px;
  padding: 6px;
  background: linear-gradient(135deg, #ff4757 0%, #ff3838 100%);
  color: #ffffff;
  border-radius: 50%;
  font-weight: 900;
  font-size: 14px;
  line-height: 1;
  box-shadow: 0 6px 20px rgba(255, 71, 87, 0.5);
  transition: all 0.3s ease;
  border: 3px solid #ffffff;
}

.ribbon-red3:before,
.ribbon-red3:after {
  display: none;
}

/* Hide badge on card hover */
.box:hover .ribbon-red {
  opacity: 0;
  transform: scale(0.8) rotate(15deg);
}

/* ==========================================
   SEO DESCRIPTION - SIMPLE & LEFT ALIGNED
   ========================================== */
.seo-description {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 32px;
  margin-left: 0 !important;
  margin-right: 0 !important;
  border-left: 4px solid #0066cc;
  width: 100% !important;
  max-width: 100% !important;
  text-align: left !important;
}

.seo-description p {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.7;
  color: #555;
  font-size: 15px;
  text-align: left !important;
}

/* Override any centering on container for this page */
.product_section > .container {
  margin-left: auto !important;
  margin-right: auto !important;
}

/* ==========================================
   TEXT BOX - MODERN CARD
   ========================================== */
.text_box {
  background: #ffffff;
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  border-left: 6px solid #0066cc;
  line-height: 1.8;
  color: #333333;
  transition: all 0.3s ease;
  font-size: 16px;
  text-align: left !important;
  width: 100% !important;
  display: block !important;
  margin: 0 !important;
}

.product_section .text_box {
  text-align: left !important;
}

.product_section .text_box,
.product_section .text_box * {
  text-align: left !important;
}

.s01 ~ .product_section .text_box {
  text-align: left !important;
}

/* Force text-align left for text_box */
.text_box,
div.text_box,
.product_section div.text_box,
.container .text_box,
.row .text_box,
.col-12 .text_box {
  text-align: left !important;
  direction: ltr !important;
}

/* Override any center tags */
center .text_box,
.text-center .text_box,
[align="center"] .text_box {
  text-align: left !important;
}

/* Make sure container doesn't center */
.product_section .container,
.product_section .row,
.product_section .col-12 {
  text-align: left !important;
}

body .product_section .col-12 > .text_box {
  text-align: left !important;
  margin-left: 0 !important;
  margin-right: auto !important;
}

/* DON'T override Bootstrap grid system - it needs to work naturally */

/* Ensure text_box is not auto-centered by margin */
.product_section .text_box {
  margin-left: 0 !important;
  margin-right: auto !important;
  max-width: 100% !important;
  float: none !important;
  clear: both !important;
}

/* Text box directly under product_section (not in container) - align to container left edge */
.product_section > .text_box {
  width: auto !important;
  max-width: 1140px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-bottom: 40px !important;
  padding-left: 15px !important;
  padding-right: 15px !important;
}

/* Override to align left within container bounds */
@media (min-width: 1200px) {
  .product_section > .text_box {
    margin-left: calc((100vw - 1140px) / 2) !important;
    margin-right: auto !important;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .product_section > .text_box {
    margin-left: calc((100vw - 960px) / 2) !important;
    margin-right: auto !important;
    max-width: 960px !important;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .product_section > .text_box {
    margin-left: calc((100vw - 720px) / 2) !important;
    margin-right: auto !important;
    max-width: 720px !important;
  }
}

@media (min-width: 576px) and (max-width: 767px) {
  .product_section > .text_box {
    margin-left: calc((100vw - 540px) / 2) !important;
    margin-right: auto !important;
    max-width: 540px !important;
  }
}

.text_box:hover {
  box-shadow: 0 12px 40px rgba(0, 102, 204, 0.12);
  transform: translateY(-4px);
}

/* ==========================================
   MORE OFFERS LINK - BOLD CTA
   ========================================== */
.effect.effect-1 {
  display: inline-block;
  padding: 16px 36px;
  margin-top: 8px;
  background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
  color: #ffffff;
  border-radius: 50px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  box-shadow: 0 8px 25px rgba(0, 102, 204, 0.35);
  transition: all 0.4s ease;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  text-align: center;
}

.effect.effect-1:hover {
  background: linear-gradient(135deg, #0052a3 0%, #003d7a 100%);
  box-shadow: 0 12px 35px rgba(0, 102, 204, 0.45);
  transform: translateY(-4px) scale(1.05);
  color: #ffffff;
}

/* ==========================================
   AUTOCOMPLETE - ULTRA FANCY GLASSMORPHISM
   ========================================== */
.autocomplete {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(135deg,
    rgba(37, 99, 235, 0.98) 0%,
    rgba(29, 78, 216, 0.98) 50%,
    rgba(37, 99, 235, 0.98) 100%) !important;
  backdrop-filter: blur(20px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
  border-radius: 24px;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.3),
    0 0 30px rgba(37, 99, 235, 0.6),
    0 8px 16px rgba(29, 78, 216, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.2) !important;
  overflow: hidden;
  max-height: 500px;
  overflow-y: auto;
  animation: autocompleteSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

@keyframes autocompleteSlideIn {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Animated shimmer overlay */
.autocomplete::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  animation: autocompleteShimmer 3s infinite;
  z-index: 1;
  pointer-events: none;
}

@keyframes autocompleteShimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

.autocomplete ul {
  list-style: none;
  margin: 0;
  padding: 16px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.autocomplete-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.12) !important;
  border: 2px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  z-index: 2;
}

.autocomplete-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.3));
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.autocomplete-item:hover {
  background: rgba(255, 255, 255, 0.25) !important;
  border-color: rgba(255, 255, 255, 0.5) !important;
  transform: translateX(8px) scale(1.02);
  box-shadow:
    0 8px 24px rgba(255, 255, 255, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
}

.autocomplete-item:hover::before {
  transform: scaleY(1);
}

.autocomplete-item:active {
  transform: translateX(6px) scale(1.0);
}

.autocomplete-img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  border-radius: 12px;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  padding: 12px;
  flex-shrink: 0;
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 1);
  border: 2px solid rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
}

.autocomplete-item:hover .autocomplete-img {
  transform: scale(1.05) rotate(-2deg);
  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 1);
}

.autocomplete-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.autocomplete-id {
  font-weight: 700;
  color: #ffffff !important;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.autocomplete-item:hover .autocomplete-id {
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
  letter-spacing: 1px;
}

.autocomplete-name {
  color: #ffffff !important;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.autocomplete-item:hover .autocomplete-name {
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
}

/* Custom fancy scrollbar */
.autocomplete::-webkit-scrollbar {
  width: 8px;
}

.autocomplete::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}

.autocomplete::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg,
    rgba(255, 255, 255, 0.4),
    rgba(255, 255, 255, 0.2));
  border-radius: 10px;
  border: 2px solid transparent;
  background-clip: padding-box;
  transition: all 0.3s ease;
}

.autocomplete::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg,
    rgba(255, 255, 255, 0.6),
    rgba(255, 255, 255, 0.4));
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Mobile responsive */
@media screen and (max-width: 767px) {
  .autocomplete-img {
    width: 60px;
    height: 60px;
  }

  .autocomplete-item {
    padding: 12px;
    gap: 12px;
  }

  .autocomplete-name {
    font-size: 14px;
  }
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */
@media screen and (max-width: 992px) {
  .s01::before {
    width: 100%;
    clip-path: polygon(0 0, 100% 0, 100% 40%, 0% 50%);
  }

  .s01 form legend,
  .s01 form h1 {
    font-size: 52px;
    margin-bottom: 28px;
  }

  .s01 form h1::after {
    width: 100px;
    height: 5px;
  }

  .s01 form .inner-form {
    max-width: 600px;
    padding: 6px;
  }

  .s01 form .inner-form .input-field {
    height: 54px;
  }

  .s01 form .inner-form .input-field.third-wrap .btn-search {
    height: 54px;
    min-width: 140px;
    font-size: 16px;
  }

  .product_heading {
    font-size: 30px;
  }
}

@media screen and (max-width: 767px) {
  .s01 {
    min-height: 70vh;
    padding: 30px 15px;
  }

  .s01::before {
    clip-path: polygon(0 0, 100% 0, 100% 35%, 0% 45%);
  }

  .s01 form legend,
  .s01 form h1 {
    font-size: 36px;
    margin-bottom: 24px;
    text-align: center;
  }

  .s01 form h1::after {
    width: 80px;
    height: 4px;
    left: 50%;
    transform: translateX(-50%);
  }

  .s01 form .inner-form {
    flex-wrap: wrap;
    padding: 12px;
    border-radius: 24px;
  }

  .s01 form .inner-form .input-field {
    margin-right: 0;
    height: 52px;
  }

  .s01 form .inner-form .input-field input {
    padding: 0 24px;
    font-size: 16px;
  }

  .s01 form .inner-form .input-field.first-wrap {
    width: 100%;
    margin-bottom: 12px;
  }

  .s01 form .inner-form .input-field.third-wrap {
    width: 100%;
  }

  .s01 form .inner-form .input-field.third-wrap .btn-search {
    width: 100%;
    height: 52px;
    font-size: 16px;
  }

  .product_section .search_box,
  .product_section .highlight_box {
    border-radius: 16px;
    padding: 16px;
  }

  .text_box {
    padding: 28px;
  }

  .product_heading {
    font-size: 26px;
  }

  .ribbon-red3 {
    height: 40px;
    line-height: 40px;
    padding: 0 16px;
    font-size: 14px;
    left: 12px;
    top: 12px;
  }
}

/* ==========================================
   HEADER & FOOTER - NEW BLUE
   ========================================== */
/* Clean minimal header with subtle dark bar */
.logo_section {
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.95) 0%, rgba(37, 99, 235, 0.95) 100%) !important;
  backdrop-filter: blur(15px) !important;
  -webkit-backdrop-filter: blur(15px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 9999 !important;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3) !important;
  padding: 8px 0 !important;
  margin: 0 !important;
  height: 60px !important;
  max-height: 60px !important;
  min-height: 60px !important;
}

/* Hide info section if it exists */
.info_section {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

/* Remove any top margin/padding from first elements */
body > *:first-child {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.logo_section .container,
.logo_section .row {
  align-items: center;
}

.logo_section .row .col-12 {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

.logo_section .navbar {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.logo_section .container-fluid {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* Remove any specific themen page header rules - use default */

/* Header Search Styling */
.logo_section #autocomplete {
  width: auto !important;
  min-width: 280px !important;
  max-width: 350px !important;
  margin: 0 20px !important;
  flex: 1;
}

.logo_section .container-fluid {
  display: flex !important;
  align-items: center !important;
  gap: 20px;
}

/* Center the navigation items */
.logo_section .navbar-nav {
  margin-left: auto !important;
  margin-right: auto !important;
  display: flex !important;
  align-items: center !important;
  gap: 5px !important;
}

.logo_section .navbar-collapse {
  justify-content: center !important;
}

.logo_section #autocomplete .inner-form {
  display: flex;
  align-items: center;
  margin: 0;
}

.logo_section #autocomplete .autocomplete-wrap {
  position: relative;
  width: 100%;
}

.logo_section #autocomplete input#term {
  background: rgba(255, 255, 255, 0.95) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  border-radius: 20px !important;
  padding: 8px 16px !important;
  color: #1a1a1a !important;
  font-size: 14px !important;
  transition: all 0.3s ease;
}

.logo_section #autocomplete input#term::placeholder {
  color: rgba(0, 0, 0, 0.5) !important;
}

.logo_section #autocomplete input#term:focus {
  background: rgba(255, 255, 255, 1) !important;
  border-color: rgb(37, 99, 235) !important;
  outline: none !important;
}

/* Header autocomplete dropdown */
.logo_section .autocomplete {
  top: calc(100% + 8px) !important;
  width: 400px !important;
  max-width: 90vw !important;
}

/* Logo white and clean - same size as /app */
.logo_section .navbar-brand,
.logo_section .logo,
.logo_section .navbar-brand img,
.logo_section .logo img {
  color: #ffffff !important;
  filter: brightness(0) invert(1);
  font-weight: 700;
  height: auto !important;
  width: 200px !important;
  max-width: 200px !important;
  transform: scale(1) !important;
  transform-origin: left center;
  margin: 0 !important;
  padding: 0 !important;
}

/* Menu links - bigger with fun rounded font */
.logo_section nav a,
.logo_section .nav-link,
.logo_section .nav-link.text-white,
.logo_section .navbar-nav .nav-link {
  color: #ffffff !important;
  background: transparent;
  padding: 10px 20px !important;
  border-radius: 12px;
  margin: 0 4px;
  transition: all 0.3s ease;
  font-weight: 700;
  font-size: 17px;
  font-family: 'Poppins', 'Nunito', 'Comic Sans MS', cursive, sans-serif;
  letter-spacing: 0.3px;
}

.logo_section nav a:hover,
.logo_section .nav-link:hover,
.logo_section .nav-link.text-white:hover,
.logo_section .navbar-nav .nav-link:hover {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Dropdown menu items */
.logo_section .dropdown-toggle {
  color: #ffffff !important;
}

/* .footer_section REMOVED - will be redesigned in footer-modern.css */

/* ==========================================
   SMOOTH EVERYTHING
   ========================================== */
html {
  scroll-behavior: smooth;
}

* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ==========================================
   ACCESSIBILITY
   ========================================== */
.s01 form .inner-form .input-field input:focus-visible,
.btn_blue:focus-visible,
.btn.btn-secondary:focus-visible,
.s01 form .inner-form .input-field.third-wrap .btn-search:focus-visible {
  outline: 3px solid rgba(0, 102, 204, 0.5);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ==========================================
   FLOATING APP BUTTON - BOTTOM RIGHT
   ========================================== */
.app-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
}

.app-toggle {
  display: none;
}

.app-float-trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
  color: #ffffff;
  border-radius: 50px;
  box-shadow: 0 8px 25px rgba(0, 102, 204, 0.35);
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 700;
  font-size: 15px;
}

.app-float-trigger:hover {
  background: linear-gradient(135deg, #0052a3 0%, #003d7a 100%);
  box-shadow: 0 12px 35px rgba(0, 102, 204, 0.45);
  transform: translateY(-2px);
}

.app-float-icon {
  font-size: 24px;
  line-height: 1;
  animation: wiggle 2s ease-in-out infinite;
}

@keyframes wiggle {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-10deg); }
  75% { transform: rotate(10deg); }
}

.app-float-text {
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.app-float-panel {
  position: absolute;
  bottom: 70px;
  right: 0;
  width: 320px;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.app-toggle:checked ~ .app-float-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.app-float-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 10;
}

.app-float-close label {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0f4f8;
  border-radius: 50%;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
  color: #64748b;
  transition: all 0.2s ease;
}

.app-float-close label:hover {
  background: #e1e8ed;
  color: #334155;
  transform: rotate(90deg);
}

.app-float-content {
  padding: 24px;
}

.app-float-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.app-float-emoji {
  font-size: 32px;
  line-height: 1;
}

.app-float-header strong {
  font-size: 18px;
  font-weight: 700;
  color: #1a365d;
}

.app-float-content p {
  color: #1e293b !important;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.app-float-buttons {
  display: flex;
  gap: 8px;
}

.app-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 2px solid transparent;
}

.app-btn-ios {
  background: #0066cc;
  color: #ffffff;
}

.app-btn-ios:hover {
  background: #0052a3;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 102, 204, 0.3);
  color: #ffffff;
}

.app-btn-android {
  background: #f0f4f8;
  color: #0066cc;
  border-color: #e1e8ed;
}

.app-btn-android:hover {
  background: #e1e8ed;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  color: #0052a3;
}

/* Responsive */
@media screen and (max-width: 767px) {
  .app-float {
    bottom: 16px;
    right: 16px;
  }

  .app-float-panel {
    width: calc(100vw - 32px);
    max-width: 320px;
  }

  .app-float-trigger {
    padding: 12px 16px;
    font-size: 14px;
  }

  .app-float-icon {
    font-size: 20px;
  }
}


/* Product Details Table - Modern & Clean */
.product_section .sl-product-details {
  border-radius: 24px !important;
  background: #ffffff;
  border: 2px solid transparent;
  transition: all 0.4s ease;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08) !important;
}

.product_section .sl-product-details:hover {
  border-color: rgba(0, 102, 204, 0.2);
  box-shadow: 0 12px 40px rgba(0, 102, 204, 0.15) !important;
  transform: translateY(-2px);
}

.product_section .sl-product-details table {
  margin-bottom: 0;
}

.product_section .sl-product-details .product_name {
  font-weight: 700;
  color: #64748b;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product_section .sl-product-details .product_price {
  font-weight: 700;
  color: #000000;
  font-size: 16px;
}

.product_section .sl-product-details tr {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
}

.product_section .sl-product-details tr:last-child {
  border-bottom: none;
}

.product_section .sl-product-details tr:hover {
  background: rgba(0, 102, 204, 0.03);
}

}

/* ==========================================
   SUBTLE ACTION LINKS - PRODUCT PAGE
   ========================================== */
.product_section a.link {
  display: inline-block;
  padding: 10px 20px;
  background: #0066cc;
  color: #ffffff !important;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.2s ease;
  margin: 6px 8px 6px 0;
  text-align: center;
}

.product_section a.link:hover {
  background: #0052a3;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 102, 204, 0.25);
  color: #ffffff !important;
}

/* ==========================================
   MODERN LEGO LOGIN PAGE
   ========================================== */
/* Push login section down from header and ensure footer stays at bottom */
.login_section {
  padding-top: 150px !important;
  padding-bottom: 100px !important;
  min-height: calc(100vh - 200px) !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
}

/* Modern LEGO-style login card */
.login_section #formContent {
  background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%) !important;
  border-radius: 30px !important;
  padding: 60px 50px !important;
  box-shadow: 0 25px 60px rgba(37, 99, 235, 0.15) !important;
  border: 3px solid transparent !important;
  position: relative;
  overflow: hidden;
  max-width: 550px !important;
  width: 100% !important;
}

/* LEGO brick pattern background effect */
.login_section #formContent::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background:
    radial-gradient(circle at 20% 50%, rgba(37, 99, 235, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 193, 7, 0.03) 0%, transparent 50%);
  z-index: 0;
  pointer-events: none;
}

/* Ensure content is above background */
.login_section #formContent > * {
  position: relative;
  z-index: 1;
}

/* LEGO Minifigure Icon */
.lego-minifig {
  width: 140px !important;
  height: 160px !important;
  margin: 0 auto 30px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 10px !important;
}

/* LEGO Head - yellow cylinder */
.lego-head {
  width: 55px;
  height: 60px;
  background: linear-gradient(135deg, #ffd54f 0%, #ffb300 100%);
  border-radius: 28px 28px 10px 10px;
  box-shadow:
    0 6px 12px rgba(0, 0, 0, 0.2),
    inset 0 -3px 6px rgba(0, 0, 0, 0.1);
  position: relative;
}

/* Face details */
.lego-head::before {
  content: '^^';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 24px;
  font-weight: bold;
  color: #333;
  letter-spacing: 3px;
}

/* Head stud on top */
.lego-head::after {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 10px;
  background: linear-gradient(135deg, #ffb300 0%, #ff8f00 100%);
  border-radius: 50% 50% 0 0;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
}

/* LEGO Body - blue torso */
.lego-body {
  width: 70px;
  height: 55px;
  background: linear-gradient(135deg, rgb(37, 99, 235) 0%, rgb(29, 78, 216) 100%);
  border-radius: 8px;
  box-shadow:
    0 6px 12px rgba(0, 0, 0, 0.2),
    inset 0 -3px 6px rgba(0, 0, 0, 0.1);
  position: relative;
}

/* Body studs/details */
.lego-body::before {
  content: '';
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 42px;
  height: 28px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 6px;
}

/* LEGO Legs - blue/dark blue */
.lego-legs {
  width: 70px;
  height: 48px;
  background: linear-gradient(135deg, rgb(29, 78, 216) 0%, #0d47a1 100%);
  border-radius: 0 0 10px 10px;
  box-shadow:
    0 6px 12px rgba(0, 0, 0, 0.2),
    inset 0 -3px 6px rgba(0, 0, 0, 0.1);
  position: relative;
}

/* Leg separation line */
.lego-legs::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
}

/* Modern input fields with LEGO colors */
.login_section input[type="text"],
.login_section input[type="password"],
.login_section input[type="email"] {
  background: #ffffff !important;
  border: 2px solid #e3f2fd !important;
  border-radius: 18px !important;
  padding: 18px 25px !important;
  font-size: 16px !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
  width: 100% !important;
}

.login_section input[type="text"]:focus,
.login_section input[type="password"]:focus,
.login_section input[type="email"]:focus {
  border-color: rgb(37, 99, 235) !important;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.2) !important;
  transform: translateY(-2px);
}

/* Playful submit button */
.login_section input[type="submit"] {
  background: linear-gradient(135deg, rgb(37, 99, 235) 0%, rgb(29, 78, 216) 100%) !important;
  border: none !important;
  border-radius: 18px !important;
  padding: 18px 40px !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3) !important;
  transition: all 0.3s ease !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  width: 100% !important;
}

.login_section input[type="submit"]:hover {
  background: linear-gradient(135deg, rgb(29, 78, 216) 0%, #0d47a1 100%) !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.4) !important;
}

.login_section input[type="submit"]:active {
  transform: translateY(-1px) scale(0.98) !important;
}

/* Form wrapper to center inputs */
.login_section form {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin-bottom: 25px !important;
}

/* Footer with modern links */
.login_section #formFooter {
  background: linear-gradient(145deg, #f8f9fa 0%, #e3f2fd 100%) !important;
  border-top: 2px solid #bbdefb !important;
  border-radius: 0 0 25px 25px !important;
  padding: 35px !important;
  font-size: 16px !important;
  margin-top: 25px !important;
}

.login_section #formFooter a {
  color: rgb(37, 99, 235) !important;
  font-weight: 600 !important;
  transition: all 0.3s ease;
}

.login_section #formFooter a:hover {
  color: #0d47a1 !important;
  transform: translateY(-2px);
}

/* ==========================================
   MODERN LEGO ADVANCED FILTER SECTION
   ========================================== */

/* Reduce space between product grid and filter button */
.product_section + .advanced-filter-section,
.s01 ~ .advanced-filter-section {
  margin-top: -30px !important;
}

.advanced-filter-section {
  margin: 40px auto 30px auto;
  max-width: 1200px;
  width: 100%;
  padding: 0 15px;
}

/* Filter Toggle Button - bigger and more visible */
.filter-toggle-btn {
  background: linear-gradient(135deg, rgb(37, 99, 235) 0%, rgb(29, 78, 216) 100%) !important;
  border: none !important;
  border-radius: 30px !important;
  padding: 18px 45px !important;
  color: white !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4) !important;
  transition: all 0.3s ease !important;
  display: flex !important;
  align-items: center !important;
  gap: 15px !important;
  margin: 0 auto !important;
  cursor: pointer !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.filter-toggle-btn:hover {
  background: linear-gradient(135deg, rgb(29, 78, 216) 0%, #0d47a1 100%) !important;
  transform: translateY(-4px) !important;
  box-shadow: 0 12px 35px rgba(37, 99, 235, 0.5) !important;
}

.filter-toggle-btn:active {
  transform: translateY(-2px) scale(0.98) !important;
}

.filter-toggle-btn i.fa-filter {
  font-size: 20px;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

#filterChevron {
  transition: transform 0.3s ease;
  font-size: 16px;
  margin-left: 5px;
}

#filterChevron.rotated {
  transform: rotate(180deg);
}

/* Filter Panel */
.filter-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1),
              margin 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  margin-top: 0;
}

.filter-panel.active {
  max-height: 1200px;
  opacity: 1;
  margin-top: 30px;
}

.filter-panel-inner {
  background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
  border-radius: 30px;
  padding: 40px;
  box-shadow: 0 20px 50px rgba(37, 99, 235, 0.15);
  border: 3px solid #e3f2fd;
}

/* Filter Header - improved layout */
.filter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 35px;
  padding-bottom: 25px;
  border-bottom: 3px solid #bbdefb;
  flex-wrap: wrap;
  gap: 15px;
}

.filter-header h3 {
  color: rgb(37, 99, 235) !important;
  font-size: 28px !important;
  font-weight: 800 !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 15px !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.filter-header h3 i {
  font-size: 32px;
  color: rgb(29, 78, 216);
}

/* Reset Button - MUCH MORE VISIBLE */
.reset-btn {
  background: linear-gradient(135deg, #ff4757 0%, #ff3838 100%) !important;
  border: none !important;
  border-radius: 20px !important;
  padding: 14px 28px !important;
  color: white !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  transition: all 0.3s ease !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  box-shadow: 0 6px 20px rgba(255, 71, 87, 0.4) !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.reset-btn i {
  font-size: 18px;
  animation: rotate 2s linear infinite;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.reset-btn:hover {
  background: linear-gradient(135deg, #ff3838 0%, #ee2211 100%) !important;
  border: none !important;
  color: white !important;
  transform: translateY(-3px) scale(1.05) !important;
  box-shadow: 0 10px 30px rgba(255, 71, 87, 0.5) !important;
}

.reset-btn:active {
  transform: translateY(-1px) scale(1.02) !important;
}

/* Filter Groups - improved spacing */
.filter-group {
  margin-bottom: 20px;
  background: rgba(255, 255, 255, 0.7);
  padding: 20px;
  border-radius: 20px;
  border: 2px solid #e3f2fd;
  transition: all 0.3s ease;
}

.filter-group:hover {
  background: rgba(255, 255, 255, 1);
  border-color: #bbdefb;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.08);
}

/* Compact filter groups - smaller padding, no bottom margin on range sliders */
.filter-group.compact-filter {
  margin-bottom: 15px;
  padding: 15px;
}

.filter-group.compact-filter .range-slider-wrapper {
  margin-bottom: 0;
}

.filter-label {
  display: flex !important;
  color: rgb(29, 78, 216) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  margin-bottom: 10px !important;
  align-items: center !important;
  gap: 8px !important;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.filter-label i {
  font-size: 16px;
  color: rgb(37, 99, 235);
}

/* Range Slider Wrapper - improved design (compact) */
.range-slider-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 0;
  background: white;
  padding: 0;
  border-radius: 0;
  border: none;
  box-shadow: none;
  transition: all 0.3s ease;
}

.range-input {
  flex: 1;
  max-width: 140px;
  padding: 10px 12px;
  border: 2px solid #e3f2fd;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  color: rgb(37, 99, 235);
  background: white;
}

.range-input:focus {
  outline: none;
  border-color: rgb(37, 99, 235);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
  background: #f0f8ff;
}

.range-separator {
  color: rgb(37, 99, 235);
  font-weight: 700;
  font-size: 16px;
  margin: 0 5px;
}

/* Range Slider - improved */
.range-slider {
  width: 100%;
  height: 10px;
  border-radius: 6px;
  background: linear-gradient(to right, #e3f2fd 0%, rgb(37, 99, 235) 100%);
  outline: none;
  cursor: pointer;
  -webkit-appearance: none;
  transition: all 0.2s ease;
}

.range-slider:hover {
  height: 12px;
}

.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgb(37, 99, 235) 0%, rgb(29, 78, 216) 100%);
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.5);
  transition: all 0.3s ease;
  border: 3px solid white;
}

.range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.3);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.7);
}

.range-slider::-webkit-slider-thumb:active {
  transform: scale(1.1);
}

.range-slider::-moz-range-thumb {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgb(37, 99, 235) 0%, rgb(29, 78, 216) 100%);
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.5);
  transition: all 0.3s ease;
  border: 3px solid white;
}

.range-slider::-moz-range-thumb:hover {
  transform: scale(1.3);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.7);
}

.range-slider::-moz-range-thumb:active {
  transform: scale(1.1);
}

/* Range Values - improved */
.range-values {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 600;
  color: rgb(37, 99, 235);
  margin-top: 8px;
  padding: 0 5px;
}

.range-values span {
  background: #f0f8ff;
  padding: 4px 10px;
  border-radius: 8px;
  border: 1px solid #e3f2fd;
}

/* Category Select - improved */
.category-select {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #e3f2fd;
  border-radius: 15px;
  font-size: 15px;
  font-weight: 600;
  color: #333 !important;
  background: white !important;
  min-height: 140px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.category-select option {
  color: #333 !important;
  background: white !important;
  padding: 10px !important;
  font-weight: 500;
}

.category-select option:checked {
  background: linear-gradient(135deg, rgb(37, 99, 235) 0%, rgb(29, 78, 216) 100%) !important;
  color: white !important;
  font-weight: 700;
}

.category-select:focus {
  outline: none;
  border-color: rgb(37, 99, 235);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
}

/* Toggle Group - REMOVED - will be recreated from scratch */

/* Disabled state for filters when deals-only is active */
.filter-group.disabled {
  opacity: 0.4;
  pointer-events: none;
  user-select: none;
}

.filter-group.disabled::after {
  content: '🔒 Deaktiviert im Angebote-Modus';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 152, 0, 0.95);
  color: white;
  padding: 8px 16px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Apply Filters Button - even more prominent */
.apply-filters-btn {
  background: linear-gradient(135deg, #00cc66 0%, #00aa55 100%) !important;
  border: none !important;
  border-radius: 25px !important;
  padding: 22px 50px !important;
  color: white !important;
  font-size: 20px !important;
  font-weight: 800 !important;
  box-shadow: 0 10px 30px rgba(0, 204, 102, 0.4) !important;
  transition: all 0.3s ease !important;
  width: 100% !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 15px !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
}

.apply-filters-btn i {
  font-size: 24px;
}

.apply-filters-btn:hover {
  background: linear-gradient(135deg, #00aa55 0%, #008844 100%) !important;
  transform: translateY(-4px) scale(1.02) !important;
  box-shadow: 0 15px 40px rgba(0, 204, 102, 0.5) !important;
}

.apply-filters-btn:active {
  transform: translateY(-2px) scale(1.0) !important;
}

.apply-filters-btn:disabled {
  background: linear-gradient(135deg, #cccccc 0%, #999999 100%) !important;
  cursor: not-allowed !important;
  transform: none !important;
  box-shadow: none !important;
}


/* Dual Range Slider Styles */
.dual-range-container {
  position: relative;
  height: 50px;
  margin: 20px 0;
}

.dual-range-track {
  position: absolute;
  width: 100%;
  height: 6px;
  background: #e3f2fd;
  border-radius: 3px;
  top: 50%;
  transform: translateY(-50%);
}

.dual-range-fill {
  position: absolute;
  height: 100%;
  background: linear-gradient(90deg, rgb(37, 99, 235) 0%, rgb(29, 78, 216) 100%);
  border-radius: 3px;
  transition: all 0.1s ease;
}

.dual-range-min,
.dual-range-max {
  position: absolute;
  width: 100%;
  height: 6px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  -webkit-appearance: none;
  background: transparent;
}

.dual-range-min::-webkit-slider-thumb,
.dual-range-max::-webkit-slider-thumb {
  pointer-events: all;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: white;
  border: 3px solid rgb(37, 99, 235);
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  transition: all 0.2s ease;
}

.dual-range-min::-webkit-slider-thumb:hover,
.dual-range-max::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

.dual-range-min::-moz-range-thumb,
.dual-range-max::-moz-range-thumb {
  pointer-events: all;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: white;
  border: 3px solid rgb(37, 99, 235);
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  transition: all 0.2s ease;
}

.dual-range-min::-moz-range-thumb:hover,
.dual-range-max::-moz-range-thumb:hover {
  transform: scale(1.2);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

/* Mobile Responsive for Filters */
@media screen and (max-width: 767px) {
  .advanced-filter-section {
    padding: 0 10px;
    margin: 30px auto 20px auto;
  }

  .filter-toggle-btn {
    padding: 15px 30px !important;
    font-size: 16px !important;
    gap: 10px !important;
  }

  .filter-toggle-btn i.fa-filter {
    font-size: 18px;
  }

  .filter-panel-inner {
    padding: 25px 20px;
    border-radius: 20px;
  }

  .filter-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .filter-header h3 {
    font-size: 22px !important;
  }

  .reset-btn {
    width: 100%;
    justify-content: center;
    padding: 12px 20px !important;
  }

  .filter-group {
    padding: 15px;
    margin-bottom: 20px;
  }

  .filter-label {
    font-size: 15px !important;
  }

  .range-slider-wrapper {
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px;
  }

  .range-input {
    width: 90px;
    font-size: 14px;
    padding: 8px 10px;
  }

  .category-select {
    min-height: 120px;
    font-size: 14px;
  }

  .apply-filters-btn {
    padding: 18px 35px !important;
    font-size: 18px !important;
  }
}

@media screen and (max-width: 480px) {
  .filter-toggle-btn {
    padding: 12px 25px !important;
    font-size: 14px !important;
  }

  .filter-header h3 {
    font-size: 18px !important;
  }

  .range-slider-wrapper {
    padding: 10px;
  }

  .range-input {
    width: 75px;
    font-size: 13px;
  }

  .apply-filters-btn {
    padding: 16px 30px !important;
    font-size: 16px !important;
  }
}

/* ==========================================
   FINAL OVERRIDES - MUST BE AT END
   ========================================== */

/* Header search input MUST have dark text to be readable */
.logo_section input.form-control,
.logo_section input#term {
  color: #1a1a1a !important;
  background: rgba(255, 255, 255, 0.95) !important;
}

.logo_section input.form-control::placeholder,
.logo_section input#term::placeholder {
  color: rgba(0, 0, 0, 0.5) !important;
}

/* ==========================================
   PRODUCT PAGE SPECIFIC FIXES
   Use global background, just add spacing
   ========================================== */
body:has(.product-image-swiper) .page-background-layer,
body:has(#productCarousel) .page-background-layer {
  display: none !important;
}

/* Product section styling moved to main section above (line 421-428) */

/* Extra spacing for the bottom grid of "Weitere LEGO Sets" */
body:has(#productCarousel) .product_section .row:last-child,
body:has(#productCarousel) .more_sets:last-child {
  margin-bottom: 80px !important;
  padding-bottom: 40px !important;
}

/* Modern glass-morphism effect for price boxes */
body:has(#productCarousel) .singleShop {
  background: rgba(255, 255, 255, 0.9) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
}

body:has(#productCarousel) .singleShop:hover {
  background: rgba(255, 255, 255, 0.95) !important;
  box-shadow: 0 8px 32px rgba(0, 102, 204, 0.2) !important;
}

/* Glass effect for product details card */
body:has(#productCarousel) .sl-product-details {
  background: rgba(15, 23, 42, 0.85) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* Make text readable on dark background */
body:has(#productCarousel) .sl-product-details * {
  color: #ffffff !important;
}

body:has(#productCarousel) .sl-product-details .product_name {
  color: rgba(255, 255, 255, 0.7) !important;
}

/* ==========================================
   FANCY CHART CONTAINER - COMPLETELY NEW DESIGN
   ========================================== */

.fancy-chart-container {
  background: linear-gradient(135deg,
    rgba(30, 58, 138, 0.95) 0%,
    rgba(37, 99, 235, 0.95) 100%);
  border-radius: 24px;
  padding: 0;
  margin: 30px 0;
  box-shadow:
    0 20px 60px rgba(37, 99, 235, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.1) inset;
  overflow: hidden;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.fancy-chart-container:hover {
  transform: translateY(-8px);
  box-shadow:
    0 30px 80px rgba(37, 99, 235, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.15) inset;
}

/* Animated background gradient */
.fancy-chart-container::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 70%
  );
  animation: rotate 20s linear infinite;
  pointer-events: none;
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Chart Header */
.chart-header {
  padding: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 1;
}

.chart-title-section {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
}

.chart-icon {
  font-size: 28px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
  width: 60px;
  height: 60px;
  min-width: 60px;
  min-height: 60px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  backdrop-filter: blur(10px);
  flex-shrink: 0;
  padding: 0;
  overflow: hidden;
  line-height: 1;
}

.chart-icon i {
  display: block;
  line-height: 1;
}

.chart-title {
  color: #ffffff;
  font-size: 24px;
  font-weight: 700;
  margin: 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Chart Stats */
.chart-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
}

.stat-item {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 20px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.3s ease;
}

.stat-item:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.stat-label {
  color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.stat-value {
  color: #ffffff;
  font-size: 24px;
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.stat-low {
  color: #4ade80 !important;
}

.stat-current {
  color: #fbbf24 !important;
}

.stat-high {
  color: #f87171 !important;
}

/* Chart Body - GLASSMORPHISM DESIGN mit besserer Lesbarkeit */
.chart-body {
  padding: 40px;
  background: linear-gradient(145deg,
    rgba(255, 255, 255, 0.25) 0%,
    rgba(255, 255, 255, 0.20) 50%,
    rgba(255, 255, 255, 0.25) 100%);
  backdrop-filter: blur(25px) saturate(150%);
  -webkit-backdrop-filter: blur(25px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-top: none;
  border-radius: 0 0 24px 24px;
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  position: relative;
  z-index: 1;
}

#chartdiv {
  width: 100%;
  height: 500px;
  border-radius: 16px;
  background: transparent !important;
}

/* No Data Message */
.no-data-message {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  text-align: center;
  padding: 60px 40px;
}

.no-data-message i {
  font-size: 80px;
  color: rgba(37, 99, 235, 0.3);
  margin-bottom: 30px;
}

.no-data-message h3 {
  color: #1a1a1a !important;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
}

.no-data-message p {
  color: #475569 !important;
  font-size: 16px;
  max-width: 500px;
  line-height: 1.6;
  margin: 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .chart-stats {
    grid-template-columns: 1fr;
  }

  .chart-title {
    font-size: 18px;
  }

  .chart-icon {
    width: 50px;
    height: 50px;
    font-size: 24px;
  }

  .stat-value {
    font-size: 20px;
  }
}

/* Glass effect for text boxes */
body:has(#productCarousel) .text_box {
  background: rgba(255, 255, 255, 0.9) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
}

/* Glass effect for product carousel */
body:has(#productCarousel) #productCarousel {
  background: rgba(255, 255, 255, 0.9) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  border-radius: 24px !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  padding: 20px;
}

/* Modern gradient for ALL buttons on product pages */
body:has(#productCarousel) .btn_blue,
body:has(#productCarousel) .btn.btn-secondary,
body:has(#productCarousel) .btn.btn-primary,
body:has(#productCarousel) .btn-add,
body:has(#productCarousel) .btn_add_login,
body:has(#productCarousel) button.btn,
body:has(#productCarousel) a.btn,
body:has(#productCarousel) .product_section a.link {
  background: linear-gradient(135deg, rgb(37, 99, 235) 0%, rgb(29, 78, 216) 100%) !important;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4) !important;
  border: none !important;
  color: white !important;
}

body:has(#productCarousel) .btn_blue:hover,
body:has(#productCarousel) .btn.btn-secondary:hover,
body:has(#productCarousel) .btn.btn-primary:hover,
body:has(#productCarousel) .btn-add:hover,
body:has(#productCarousel) .btn_add_login:hover,
body:has(#productCarousel) button.btn:hover,
body:has(#productCarousel) a.btn:hover,
body:has(#productCarousel) .product_section a.link:hover {
  background: linear-gradient(135deg, rgb(29, 78, 216) 0%, rgb(37, 99, 235) 100%) !important;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.6) !important;
  transform: translateY(-2px) !important;
  color: white !important;
}

/* Special styling for modal buttons */
body:has(#productCarousel) .modal-body .btn_blue,
body:has(#productCarousel) .modal-body button {
  background: linear-gradient(135deg, rgb(37, 99, 235) 0%, rgb(29, 78, 216) 100%) !important;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4) !important;
}

body:has(#productCarousel) .modal-body .btn_blue:hover,
body:has(#productCarousel) .modal-body button:hover {
  background: linear-gradient(135deg, rgb(29, 78, 216) 0%, rgb(37, 99, 235) 100%) !important;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.6) !important;
}

/* ==========================================
   GLOBAL BUTTON GRADIENT - ALL PAGES
   Apply blue-purple gradient to ALL buttons site-wide
   ========================================== */
.btn_blue,
.btn.btn-secondary,
.btn.btn-primary,
.btn-add,
.btn_add_login,
button.btn,
a.btn,
.product_section a.link,
.effect.effect-1,
.s01 form .inner-form .input-field.third-wrap .btn-search,
.modal-body .btn_blue,
.modal-body button,
.filter-toggle-btn,
.apply-filters-btn,
.reset-btn,
.btn-branded,
.btn-branded-table,
input[type="submit"] {
  background: linear-gradient(135deg, rgb(37, 99, 235) 0%, rgb(29, 78, 216) 100%) !important;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4) !important;
  border: none !important;
  color: white !important;
}

.btn_blue:hover,
.btn.btn-secondary:hover,
.btn.btn-primary:hover,
.btn-add:hover,
.btn_add_login:hover,
button.btn:hover,
a.btn:hover,
.product_section a.link:hover,
.effect.effect-1:hover,
.s01 form .inner-form .input-field.third-wrap .btn-search:hover,
.modal-body .btn_blue:hover,
.modal-body button:hover,
.filter-toggle-btn:hover,
.apply-filters-btn:hover,
.reset-btn:hover,
.btn-branded:hover,
.btn-branded-table:hover,
input[type="submit"]:hover {
  background: linear-gradient(135deg, rgb(29, 78, 216) 0%, rgb(37, 99, 235) 100%) !important;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.6) !important;
  transform: translateY(-2px) !important;
  color: white !important;
}

/* ==========================================
   GLOBAL FOOTER SPACING FIX
   Add proper spacing before footer on all pages
   ========================================== */
.product_section,
.deal_box,
.highligh_box,
body > .container {
  padding-bottom: 10px !important;
  margin-bottom: 5px !important;
}

/* Extra spacing for grids and rows before footer - REMOVED for compact footer */
.product_section .row:last-of-type,
.deal_box .row:last-of-type,
.container > .row:last-of-type {
  margin-bottom: 0px !important;
  padding-bottom: 0px !important;
}

/* ==========================================
   PRICE ERROR & PRICE ALARM BUTTONS STYLING
   Modern button styling for alert links
   ========================================== */
body:has(#productCarousel) .price_error_alert,
body:has(#imageSlider) .price_error_alert {
  gap: 10px !important;
  margin-top: 15px !important;
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: flex-start !important;
}

body:has(#productCarousel) .price_error_alert a.link,
body:has(#imageSlider) .price_error_alert a.link {
  display: inline-block !important;
  padding: 10px 18px !important;
  background: linear-gradient(135deg, rgb(37, 99, 235) 0%, rgb(29, 78, 216) 100%) !important;
  color: #ffffff !important;
  border-radius: 10px !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3) !important;
  border: none !important;
  text-align: center !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}

body:has(#productCarousel) .price_error_alert a.link:hover,
body:has(#imageSlider) .price_error_alert a.link:hover {
  background: linear-gradient(135deg, rgb(29, 78, 216) 0%, rgb(37, 99, 235) 100%) !important;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5) !important;
  transform: translateY(-2px) !important;
  color: #ffffff !important;
}

/* ==========================================
   FANCY GLASSMORPHISM MODALS - Navy Blue Theme
   Universal modal styling for all pages
   ========================================== */

.modal-backdrop,
.modal-backdrop.show,
.modal-backdrop.fade {
  backdrop-filter: blur(15px) saturate(180%) !important;
  background-color: rgba(15, 23, 42, 0.85) !important;
}

.modal .modal-dialog .modal-content,
.modal-content,
div.modal-content {
  border-radius: 35px !important;
  /* TRANSPARENT GLASS für das ganze Modal */
  background: linear-gradient(145deg,
    rgba(255, 255, 255, 0.15) 0%,
    rgba(255, 255, 255, 0.1) 50%,
    rgba(255, 255, 255, 0.15) 100%) !important;
  backdrop-filter: blur(30px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(30px) saturate(180%) !important;
  border: 2px solid rgba(255, 255, 255, 0.3) !important;
  background-clip: padding-box !important;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.2),
    0 30px 60px rgba(0, 0, 0, 0.15),
    0 50px 100px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.4) !important;
  overflow: hidden !important;
  animation: modal-bounce-in 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) !important;
  position: relative !important;
}

@keyframes modal-bounce-in {
  0% {
    opacity: 0;
    transform: scale(0.7) translateY(-50px);
  }
  70% {
    transform: scale(1.05) translateY(0);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.modal .modal-dialog .modal-content .modal-header,
.modal-content .modal-header,
.modal-header,
div.modal-header {
  background: linear-gradient(135deg,
    rgb(37, 99, 235) 0%,
    rgb(59, 130, 246) 30%,
    rgb(29, 78, 216) 70%,
    rgb(30, 64, 175) 100%) !important;
  color: white !important;
  padding: 40px !important;
  border-bottom: none !important;
  position: relative !important;
  overflow: hidden !important;
  box-shadow:
    0 10px 30px rgba(37, 99, 235, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
}

/* Animated floating circles in header */
.modal-header::before {
  content: '' !important;
  position: absolute !important;
  width: 200px !important;
  height: 200px !important;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.05) 70%, transparent 100%) !important;
  border-radius: 50% !important;
  top: -80px !important;
  right: -60px !important;
  animation: float-circle 8s ease-in-out infinite !important;
  filter: blur(2px) !important;
}

.modal-header::after {
  content: '' !important;
  position: absolute !important;
  width: 140px !important;
  height: 140px !important;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.05) 60%, transparent 100%) !important;
  border-radius: 50% !important;
  bottom: -50px !important;
  left: 15% !important;
  animation: float-circle 6s ease-in-out infinite reverse !important;
  filter: blur(1px) !important;
}

@keyframes float-circle {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-20px) scale(1.1);
  }
}

.modal-header .modal-title {
  font-size: 28px !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  margin: 0 !important;
  position: relative !important;
  z-index: 2 !important;
}

/* LEGO brick emoji with wiggle animation */
.modal-header .modal-title::before {
  content: '🧱' !important;
  font-size: 32px !important;
  margin-right: 15px !important;
  display: inline-block !important;
  animation: wiggle-brick 3s ease-in-out infinite !important;
}

@keyframes wiggle-brick {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-8deg); }
  50% { transform: rotate(8deg); }
  75% { transform: rotate(-8deg); }
}

.modal-header .btn-close {
  filter: brightness(0) invert(1) !important;
  opacity: 1 !important;
  background: rgba(255, 255, 255, 0.25) !important;
  border-radius: 50% !important;
  width: 40px !important;
  height: 40px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.3s ease !important;
  z-index: 3 !important;
}

.modal-header .btn-close:hover {
  background: rgba(255, 255, 255, 0.4) !important;
  transform: rotate(90deg) scale(1.2) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
}

.modal .modal-dialog .modal-content .modal-body,
.modal-content .modal-body,
.modal-body,
div.modal-body {
  padding: 50px !important;
  /* ECHTER GLASSMORPHISMUS - RICHTIG TRANSPARENT */
  background: linear-gradient(135deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.05) 50%,
    rgba(255, 255, 255, 0.1) 100%) !important;
  backdrop-filter: blur(25px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(25px) saturate(180%) !important;
  color: #ffffff !important;
  position: relative !important;
  border-top: 1px solid rgba(255, 255, 255, 0.4) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
}

/* formContent auch transparent und weiß */
.modal-body #formContent,
.modal-body div#formContent {
  background: transparent !important;
  color: #ffffff !important;
}

/* Accordion (MwSt. Überschreiben) - GLASSMORPHISMUS & COMIC STYLE */
.modal-body .accordion,
.modal-body .accordion-item {
  background: transparent !important;
  border: none !important;
}

.modal-body .accordion-button {
  background: linear-gradient(135deg,
    rgba(255, 255, 255, 0.3) 0%,
    rgba(255, 255, 255, 0.2) 100%) !important;
  backdrop-filter: blur(20px) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-family: 'Comic Sans MS', 'Chalkboard SE', 'Comic Neue', cursive, sans-serif !important;
  border: 2px solid rgba(255, 255, 255, 0.5) !important;
  border-radius: 20px !important;
  padding: 15px 25px !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
}

.modal-body .accordion-button:not(.collapsed) {
  background: linear-gradient(135deg,
    rgba(255, 255, 255, 0.4) 0%,
    rgba(255, 255, 255, 0.3) 100%) !important;
  color: #ffffff !important;
  border-bottom-left-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}

.modal-body .accordion-button::after {
  filter: brightness(0) invert(1) !important;
}

.modal-body .accordion-body {
  background: linear-gradient(135deg,
    rgba(255, 255, 255, 0.2) 0%,
    rgba(255, 255, 255, 0.1) 100%) !important;
  backdrop-filter: blur(20px) !important;
  color: #ffffff !important;
  border: 2px solid rgba(255, 255, 255, 0.5) !important;
  border-top: none !important;
  border-radius: 0 0 20px 20px !important;
  padding: 25px !important;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5) !important;
  font-weight: 600 !important;
}

.modal-body .accordion-collapse {
  border: none !important;
}

/* "Zum Depot hinzufügen" Button - WEIßE SCHRIFT */
.modal-body button.btn_blue,
.modal-body .btn_blue {
  color: #ffffff !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3) !important;
}

/* Custom Checkbox Styling - Nettopreis (NOT STANDARD) */
.modal-body input[type="checkbox"]#scales {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 30px !important;
  height: 30px !important;
  border: 3px solid rgba(255, 255, 255, 0.8) !important;
  border-radius: 8px !important;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.2) 100%) !important;
  backdrop-filter: blur(15px) !important;
  cursor: pointer !important;
  position: relative !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
}

.modal-body input[type="checkbox"]#scales:hover {
  transform: scale(1.1) !important;
  border-color: rgba(37, 99, 235, 0.8) !important;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4) !important;
}

.modal-body input[type="checkbox"]#scales:checked {
  background: linear-gradient(135deg, rgb(37, 99, 235) 0%, rgb(29, 78, 216) 100%) !important;
  border-color: rgb(37, 99, 235) !important;
  box-shadow: 0 6px 25px rgba(37, 99, 235, 0.6) !important;
}

.modal-body input[type="checkbox"]#scales:checked::after {
  content: '✓' !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  color: #ffffff !important;
  font-size: 20px !important;
  font-weight: 900 !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3) !important;
}

/* WEIßE SCHRIFT für alle Labels und Text */
.modal-body label,
.modal-body .row .col-6 label,
.modal-body #formContent label,
#formContent label {
  color: #ffffff !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5) !important;
  font-family: 'Comic Sans MS', 'Chalkboard SE', 'Comic Neue', cursive, sans-serif !important;
  font-weight: 700 !important;
}

/* Gap zwischen Labels und Inputs */
.modal-body .row {
  gap: 15px !important;
}

.modal-body .row .col-6:has(label) {
  text-align: right !important;
  padding-right: 10px !important;
}

/* Modal form layout - GLASSMORPHISM - Labels left, wider inputs */
.modal-body .row {
  margin-bottom: 20px !important;
  align-items: center !important;
  gap: 15px !important;
}

.modal-body .row .col-6:has(label) {
  flex: 0 0 30% !important;
  max-width: 30% !important;
  padding-right: 15px !important;
  text-align: right !important;
}

.modal-body .row .col-6:has(input),
.modal-body .row .col-6:has(select),
.modal-body .row .col-6:has(textarea),
.modal-body .row .col-6:has(.form-control) {
  flex: 0 0 calc(70% - 15px) !important;
  max-width: calc(70% - 15px) !important;
}

.modal-body .row .col-6 label {
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  margin-bottom: 0 !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5) !important;
  font-family: 'Comic Sans MS', 'Chalkboard SE', 'Comic Neue', cursive, sans-serif !important;
}

/* All text elements dark */
.modal-body *:not(.btn):not(.fa):not(.fas):not(.far):not(i) {
  color: #0f172a !important;
}

.modal-body p,
.modal-body span:not(.btn span),
.modal-body div:not(.btn),
.modal-body label,
.modal-body strong,
.modal-body td,
.modal-body th,
.modal-body h1, .modal-body h2, .modal-body h3, .modal-body h4, .modal-body h5, .modal-body h6 {
  color: #0f172a !important;
  font-weight: 600 !important;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8) !important;
}

/* Form inputs glassmorphism - SUPER FANCY - ULTRA SPECIFIC */
.modal .modal-dialog .modal-content .modal-body input[type="text"],
.modal .modal-dialog .modal-content .modal-body input[type="number"],
.modal .modal-dialog .modal-content .modal-body input[type="date"],
.modal .modal-dialog .modal-content .modal-body input[type="email"],
.modal .modal-dialog .modal-content .modal-body input[type="password"],
.modal .modal-dialog .modal-content .modal-body select,
.modal .modal-dialog .modal-content .modal-body textarea,
.modal .modal-dialog .modal-content .modal-body input.form-control,
.modal .modal-dialog .modal-content .modal-body select.form-control,
.modal .modal-dialog .modal-content .modal-body textarea.form-control,
.modal .modal-dialog .modal-content .modal-body .form-control,
.modal-content .modal-body input[type="text"],
.modal-content .modal-body input[type="number"],
.modal-content .modal-body input[type="date"],
.modal-content .modal-body select,
.modal-content .modal-body textarea,
.modal-content .modal-body .form-control,
.modal-body input[type="text"],
.modal-body input[type="number"],
.modal-body input[type="date"],
.modal-body select,
.modal-body textarea,
.modal-body .form-control {
  color: #0f172a !important;
  font-weight: 600 !important;
  /* ECHTER GLASSMORPHISMUS wie gefrorenes Glas */
  background: linear-gradient(135deg,
    rgba(255, 255, 255, 0.5) 0%,
    rgba(255, 255, 255, 0.3) 100%) !important;
  background-color: rgba(255, 255, 255, 0.4) !important;
  border: 2px solid rgba(255, 255, 255, 0.8) !important;
  border-color: rgba(255, 255, 255, 0.8) !important;
  border-width: 2px !important;
  border-style: solid !important;
  border-radius: 20px !important;
  padding: 16px 24px !important;
  font-size: 17px !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 100% !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  /* MEGA STRONG BLUR für Glas-Effekt */
  backdrop-filter: blur(30px) saturate(200%) brightness(110%) !important;
  -webkit-backdrop-filter: blur(30px) saturate(200%) brightness(110%) !important;
  box-shadow:
    0 8px 32px 0 rgba(31, 38, 135, 0.15),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.9),
    inset 0 -1px 0 0 rgba(255, 255, 255, 0.5) !important;
}

.modal .modal-dialog .modal-content .modal-body input[type="text"]:focus,
.modal .modal-dialog .modal-content .modal-body input[type="number"]:focus,
.modal .modal-dialog .modal-content .modal-body input[type="date"]:focus,
.modal .modal-dialog .modal-content .modal-body select:focus,
.modal .modal-dialog .modal-content .modal-body textarea:focus,
.modal .modal-dialog .modal-content .modal-body .form-control:focus,
.modal-content .modal-body input:focus,
.modal-content .modal-body select:focus,
.modal-content .modal-body textarea:focus,
.modal-content .modal-body .form-control:focus,
.modal-body input[type="text"]:focus,
.modal-body input[type="number"]:focus,
.modal-body input[type="date"]:focus,
.modal-body select:focus,
.modal-body textarea:focus,
.modal-body .form-control:focus {
  /* Focus: Glas wird heller und leuchtender */
  border-color: rgba(255, 255, 255, 1) !important;
  border-width: 2px !important;
  box-shadow:
    0 0 0 4px rgba(59, 130, 246, 0.3),
    0 12px 40px rgba(59, 130, 246, 0.2),
    0 8px 20px rgba(37, 99, 235, 0.15),
    inset 0 1px 0 0 rgba(255, 255, 255, 1) !important;
  outline: none !important;
  transform: translateY(-2px) !important;
  background: linear-gradient(135deg,
    rgba(255, 255, 255, 0.7) 0%,
    rgba(255, 255, 255, 0.5) 100%) !important;
  background-color: rgba(255, 255, 255, 0.6) !important;
  backdrop-filter: blur(35px) saturate(220%) brightness(120%) !important;
  -webkit-backdrop-filter: blur(35px) saturate(220%) brightness(120%) !important;
}

/* Buttons in modals - COMIC/PLAYFUL STYLE */
.modal-footer .btn,
.modal-body .btn {
  border-radius: 50px !important;
  padding: 18px 40px !important;
  font-weight: 900 !important;
  font-size: 18px !important;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55) !important;
  text-transform: uppercase !important;
  letter-spacing: 2px !important;
  font-family: 'Comic Sans MS', 'Chalkboard SE', 'Comic Neue', cursive, sans-serif !important;
  box-shadow:
    0 6px 0 rgba(0, 0, 0, 0.3),
    0 10px 25px rgba(0, 0, 0, 0.2) !important;
  position: relative !important;
  overflow: hidden !important;
  border: 4px solid rgba(0, 0, 0, 0.2) !important;
}

.modal-footer .btn:hover,
.modal-body .btn:hover {
  transform: translateY(-2px) scale(1.05) !important;
  box-shadow:
    0 8px 0 rgba(0, 0, 0, 0.3),
    0 15px 35px rgba(0, 0, 0, 0.3) !important;
}

.modal-footer .btn:active,
.modal-body .btn:active {
  transform: translateY(2px) scale(0.98) !important;
  box-shadow:
    0 2px 0 rgba(0, 0, 0, 0.3),
    0 5px 15px rgba(0, 0, 0, 0.2) !important;
}

/* Primary submit buttons - MEGA FANCY */
.modal-footer .btn-primary,
.modal-body .btn-primary,
.modal-footer .btn-success,
.modal-body .btn-success,
.modal-footer input[type="submit"],
.modal-body input[type="submit"],
.modal-footer button[type="submit"],
.modal-body button[type="submit"] {
  background: linear-gradient(135deg,
    rgb(37, 99, 235) 0%,
    rgb(59, 130, 246) 25%,
    rgb(29, 78, 216) 75%,
    rgb(30, 64, 175) 100%) !important;
  border: none !important;
  color: white !important;
  font-weight: 800 !important;
  font-size: 18px !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2) !important;
  box-shadow:
    0 10px 30px rgba(37, 99, 235, 0.4),
    0 4px 15px rgba(37, 99, 235, 0.3),
    inset 0 2px 4px rgba(255, 255, 255, 0.4),
    inset 0 -2px 4px rgba(0, 0, 0, 0.1) !important;
}

.modal-footer .btn-primary:hover,
.modal-body .btn-primary:hover,
.modal-footer .btn-success:hover,
.modal-body .btn-success:hover,
.modal-footer input[type="submit"]:hover,
.modal-body input[type="submit"]:hover,
.modal-footer button[type="submit"]:hover,
.modal-body button[type="submit"]:hover {
  background: linear-gradient(135deg,
    rgb(59, 130, 246) 0%,
    rgb(37, 99, 235) 25%,
    rgb(30, 64, 175) 75%,
    rgb(29, 78, 216) 100%) !important;
  box-shadow:
    0 15px 45px rgba(37, 99, 235, 0.5),
    0 8px 20px rgba(37, 99, 235, 0.4),
    inset 0 2px 6px rgba(255, 255, 255, 0.5),
    inset 0 -2px 6px rgba(0, 0, 0, 0.15) !important;
  transform: translateY(-5px) scale(1.08) !important;
}

/* File upload styling */
.modal-body input[type="file"] {
  padding: 20px !important;
  background: rgba(255, 255, 255, 0.9) !important;
  border: 3px dashed rgba(59, 130, 246, 0.4) !important;
  border-radius: 15px !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
}

.modal-body input[type="file"]:hover {
  border-color: rgb(59, 130, 246) !important;
  background: rgba(59, 130, 246, 0.05) !important;
}

.modal .modal-dialog .modal-content .modal-footer,
.modal-content .modal-footer,
.modal-footer,
div.modal-footer {
  padding: 25px 45px !important;
  /* GLASSMORPHISMUS - wie modal-body */
  background: linear-gradient(135deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.05) 50%,
    rgba(255, 255, 255, 0.1) 100%) !important;
  backdrop-filter: blur(25px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(25px) saturate(180%) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.3) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
}

/* Mobile responsive */
@media (max-width: 767px) {
  body:has(#productCarousel) .price_error_alert,
  body:has(#imageSlider) .price_error_alert {
    flex-direction: column !important;
    gap: 10px !important;
  }

  body:has(#productCarousel) .price_error_alert a.link,
  body:has(#imageSlider) .price_error_alert a.link {
    width: 100% !important;
    text-align: center !important;
  }
}

/* ==========================================
   WHITE TEXT ON PRODUCT PAGES
   Make all text white for better contrast with gradient background
   ========================================== */
body:has(#productCarousel),
body:has(#productCarousel) h1,
body:has(#productCarousel) h2,
body:has(#productCarousel) h3,
body:has(#productCarousel) h4,
body:has(#productCarousel) h5,
body:has(#productCarousel) h6,
body:has(#productCarousel) p,
body:has(#productCarousel) span,
body:has(#productCarousel) div,
body:has(#productCarousel) a,
body:has(#productCarousel) label,
body:has(#productCarousel) .product_section *,
body:has(#productCarousel) .product_heading,
body:has(#productCarousel) .bread_crumb,
body:has(#productCarousel) .bread_crumb span,
body:has(#productCarousel) .bread_crumb a {
  color: #ffffff !important;
}

/* Keep product cards readable with dark text on white background */
body:has(#productCarousel) .singleShop,
body:has(#productCarousel) .singleShop *,
body:has(#productCarousel) .sl-product-details,
body:has(#productCarousel) .sl-product-details *,
body:has(#productCarousel) .text_box,
body:has(#productCarousel) .text_box *,
body:has(#productCarousel) .search_box,
body:has(#productCarousel) .search_box *,
body:has(#productCarousel) .highlight_box,
body:has(#productCarousel) .highlight_box * {
  color: #1a1a1a !important;
}

/* Exception: Links should be blue/purple on hover */
body:has(#productCarousel) a:not(.btn):not(.link):hover {
  color: rgb(37, 99, 235) !important;
}

/* Keep button text white */
body:has(#productCarousel) .btn,
body:has(#productCarousel) .btn *,
body:has(#productCarousel) button,
body:has(#productCarousel) button *,
body:has(#productCarousel) a.link,
body:has(#productCarousel) a.link * {
  color: #ffffff !important;
}

/* ==========================================
   GRID ITEM BORDERS - BLUE/PURPLE GRADIENT
   Apply button gradient color to grid borders
   ========================================== */
/* Product grid cards - REMOVED duplicate border rules that caused double border effect */

/* ==========================================
   GLOBAL ELEGANT COLOR SCHEME FOR ALL PAGES
   Beautiful gradient backgrounds with white text
   ========================================== */

/* Global dark Navy Blue gradient background for all pages */
body {
  background: linear-gradient(to right, #1e293b 0%, #0f172a 50%, #1e293b 100%) !important;
  position: relative;
  min-height: 100vh;
}

/* Subtle animated gradient overlay for all pages */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
  z-index: -1;
  pointer-events: none;
}

/* Override the old page-background-layer for all pages */
.page-background-layer {
  display: none !important;
}

/* Global white text for main content areas */
body h1,
body h2,
body h3,
body h4,
body h5,
body h6,
.product_heading,
.bread_crumb,
.bread_crumb span,
.bread_crumb a {
  color: #ffffff !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Paragraphs and general text - slightly off-white for better readability */
body p,
body span:not(.singleShop *):not(.sl-product-details *):not(.text_box *):not(.search_box *):not(.highlight_box *):not(.filter-checkbox-label *):not(.filter-checkbox-group *),
body div:not(.singleShop):not(.sl-product-details):not(.text_box):not(.search_box):not(.highlight_box):not(.filter-checkbox-group) {
  color: #f0f0f0 !important;
}

/* Links - white with gradient hover */
body a:not(.btn):not(.link):not(.singleShop *):not(.sl-product-details *):not(.text_box *):not(.search_box *):not(.highlight_box *) {
  color: #ffffff !important;
  transition: all 0.3s ease;
}

body a:not(.btn):not(.link):hover {
  color: rgb(37, 99, 235) !important;
  text-shadow: 0 0 8px rgba(37, 99, 235, 0.6);
}

/* Glass-morphism cards keep dark text for readability */
.singleShop,
.singleShop *:not([style]),
.sl-product-details,
.sl-product-details *:not([style]),
.text_box,
.text_box *:not([style]),
.search_box,
.search_box *:not([style]),
.highlight_box,
.highlight_box *:not([style]),
.box,
.box *:not([style]) {
  color: #1a1a1a !important;
}

/* BUT: Elements with inline styles keep their color */
.sl-product-details [style*="color"],
.singleShop [style*="color"],
.text_box [style*="color"],
.search_box [style*="color"],
.highlight_box [style*="color"],
.box [style*="color"] {
  color: inherit;
}

/* Price boxes - make sure prices are very visible */
.product_price,
.product_discount {
  color: #000000;
  font-weight: 700;
}

/* EOL icons inside product_price keep their inline color - REMOVED because it breaks inline styles */


/* Shop names in price boxes */
.product_name {
  color: #64748b !important;
}

/* Input fields keep dark text */
input,
textarea,
select,
input::placeholder,
textarea::placeholder {
  color: #1a1a1a !important;
}

/* Table text in cards */
.singleShop table,
.sl-product-details table,
.singleShop table *,
.sl-product-details table *:not([style]) {
  color: #1a1a1a !important;
}

/* Elemente mit inline-styles behalten ihre Farbe - REMOVED because it overrides inline styles */

/* Ensure buttons always have white text */
.btn,
.btn *,
button,
button *,
a.link,
a.link *,
input[type="submit"],
input[type="submit"] * {
  color: #ffffff !important;
}

/* Special handling for s01 search section - REMOVED TO DEBUG */

.s01 input,
.s01 input::placeholder {
  color: #1a1a1a !important;
}

/* ==========================================
   EOL STATUS FIX - SUPER SIMPLE
   ========================================== */
/* Rot - EOL erreicht */
body i.fa-circle[style*="#b9052e"],
body .fa-circle[style*="#b9052e"],
i[style*="color: #b9052e"] {
  color: #b9052e !important;
}

/* Grün - EOL in Ferne */
body i.fa-circle[style*="#28c700"],
body .fa-circle[style*="#28c700"],
i[style*="color: #28c700"] {
  color: #28c700 !important;
}

/* Gelb - EOL möglich */
body i.fa-circle[style*="#fbff02"],
body .fa-circle[style*="#fbff02"],
i[style*="#fbff02"] {
  color: #fbff02 !important;
}

/* ==========================================
   SIMPLE COMPACT INFO BOXES
   Based on the EOL badge style
   ========================================== */

.compact-info-box {
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.95) 0%, rgba(37, 99, 235, 0.95) 100%);
  border-left: 4px solid rgb(37, 99, 235);
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
}

.compact-info-box .info-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 0;
  gap: 16px;
}

.compact-info-box .info-line .label {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  flex-shrink: 0;
}

.compact-info-box .info-line .value {
  font-weight: 700;
  color: #ffffff;
  text-align: right;
}

/* ==========================================
   FANCY RELOAD BUTTON
   ========================================== */
.fancy-reload-btn {
  float: right;
  margin-top: 8px;
  background: linear-gradient(135deg,
    rgba(37, 99, 235, 0.95) 0%,
    rgba(29, 78, 216, 0.95) 50%,
    rgba(37, 99, 235, 0.95) 100%) !important;
  backdrop-filter: blur(20px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
  border: 2px solid rgba(255, 255, 255, 0.3) !important;
  border-radius: 20px !important;
  padding: 10px 20px !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow:
    0 4px 15px rgba(37, 99, 235, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
}

.fancy-reload-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  animation: reloadBtnShimmer 2s infinite;
}

@keyframes reloadBtnShimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

.fancy-reload-btn i {
  transition: transform 0.6s ease;
}

.fancy-reload-btn:hover {
  background: linear-gradient(135deg,
    rgba(29, 78, 216, 0.95) 0%,
    rgba(37, 99, 235, 0.95) 50%,
    rgba(29, 78, 216, 0.95) 100%) !important;
  transform: translateY(-2px);
  box-shadow:
    0 6px 20px rgba(37, 99, 235, 0.6),
    0 0 30px rgba(29, 78, 216, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.4) !important;
}

.fancy-reload-btn:hover i {
  transform: rotate(360deg);
}

.fancy-reload-btn:active {
  transform: translateY(0px) scale(0.98);
}

/* EOL Badge */
.eol-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 13px;
  font-family: 'Comic Sans MS', 'Comic Sans', cursive;
}

.eol-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.eol-badge.eol-red {
  background: rgba(185, 5, 46, 0.1);
  color: #b9052e;
}

.eol-badge.eol-red .dot {
  background: #b9052e;
}

.eol-badge.eol-green {
  background: rgba(40, 199, 0, 0.1);
  color: #28c700;
}

.eol-badge.eol-green .dot {
  background: #28c700;
}

.eol-badge.eol-yellow {
  background: rgba(251, 255, 2, 0.15);
  color: #a89c00;
}

.eol-badge.eol-yellow .dot {
  background: #fbff02;
}

.eol-badge.eol-gray {
  background: rgba(128, 128, 128, 0.1);
  color: #666666;
}

.eol-badge.eol-gray .dot {
  background: #999999;
}

/* Responsive */
@media (max-width: 767px) {
  .compact-info-box .info-line {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .compact-info-box .info-line .value {
    text-align: left;
  }
}

/* ==========================================
   NEW FILTER CHECKBOX GROUP - NO COLORS YET
   ========================================== */
.filter-checkbox-group {
  background: white !important;
  padding: 18px 20px !important;
  border-radius: 15px !important;
  border: 2px solid #e3f2fd !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 15px !important;
}

.filter-checkbox-group:hover {
  border-color: #bbdefb !important;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1) !important;
}

.filter-checkbox-label {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  cursor: pointer !important;
  font-size: 16px !important;
  font-weight: normal !important;
}

.filter-checkbox-label span {
  font-weight: normal !important;
  user-select: none !important;
}

.filter-checkbox-label input[type="checkbox"] {
  width: 24px !important;
  height: 24px !important;
  cursor: pointer !important;
  accent-color: rgb(37, 99, 235) !important;
  border-radius: 6px !important;
  flex-shrink: 0 !important;
}

/* FINAL FIX: Force checkbox labels to be dark - MUST be at the end */
.filter-checkbox-label,
.filter-checkbox-label *,
.filter-checkbox-label span,
.filter-checkbox-label span.deals-label,
label.filter-checkbox-label,
label.filter-checkbox-label *,
label.filter-checkbox-label span,
label.filter-checkbox-label span.deals-label {
  color: #1a1a1a !important;
}

/* FINAL FIX: Force Comic Sans font everywhere - override style.css */
body,
.s01,
.product_section,
h1, h2, h3, h4, h5, h6,
p, a, button, input, label, span, div,
.search_box, .highlight_box,
.product_heading,
.btn, .btn_blue, .effect {
  font-family: 'Comic Sans MS', 'Comic Sans', cursive, sans-serif !important;
}

/* ==========================================
   GLOBAL TABLE DESIGN - NAVY BLUE THEME
   Apply Depot-style to ALL tables across the app
   ========================================== */

/* Table Container */
.product_table,
.table-responsive {
  background: rgba(255, 255, 255, 0.1) !important;
  border-radius: 20px !important;
  padding: 20px !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3) !important;
  margin: 2rem 0 !important;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Base Table Styles */
table.table {
  background: transparent !important;
  margin-bottom: 0 !important;
  border-radius: 0px;
  width: 100% !important;
  border-collapse: collapse !important;
}

/* Table Header - Navy Blue Gradient */
table.table thead {
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.95) 0%, rgba(37, 99, 235, 0.95) 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
}

table.table thead th {
  color: #ffffff !important;
  font-weight: 700 !important;
  padding: 16px 12px !important;
  border: none !important;
  border-right: 1px solid rgba(255, 255, 255, 0.15) !important;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  font-family: 'Poppins', 'Nunito', sans-serif !important;
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

table.table thead th:last-child {
  border-right: none !important;
}

table.table thead th:hover {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.1) !important;
}

/* Table Body Rows */
table.table tbody tr {
  background: rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

table.table tbody tr:last-child {
  border-bottom: none;
}

table.table tbody tr:hover {
  background: rgba(30, 58, 138, 0.5) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Table Body Cells */
table.table tbody td {
  padding: 14px 12px !important;
  vertical-align: middle !important;
  color: #ffffff !important;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  border: none !important;
  border-right: 1px solid rgba(255, 255, 255, 0.08) !important;
}

table.table tbody td:last-child {
  border-right: none !important;
}

/* DataTables Controls */
.dataTables_info {
  color: #ffffff !important;
  margin-left: 0px !important;
  padding: 10px 0 !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.dataTables_paginate {
  margin-right: 0px !important;
  padding: 10px 0 !important;
}
