/* =================================================
   SHOWTIMEWEAR CUSTOM STYLES
   Bootstrap 5 Grid with 5px gaps + Brand Colors
   ================================================= */

/* ============ ROOT VARIABLES ============ */
:root {
  --primary-pink: #ef5da8;  /* Brand rózsaszín */
  --dark-gray: #2c2c2c;     /* Sötét szürke */
  --light-gray: #f8f9fa;    /* Világos szürke */
  --white: #ffffff;
  --text-muted: #6c757d;
  --grid-gap: 5px;          /* Bootstrap grid gap */
  --border-radius: 20px;    /* Alap lekerekítés */
}

/* ============ BOOTSTRAP GRID CUSTOMIZATION ============ */
.container,
.container-fluid {
  --bs-gutter-x: var(--grid-gap);
  --bs-gutter-y: var(--grid-gap);
}

.row {
  --bs-gutter-x: var(--grid-gap);
  --bs-gutter-y: var(--grid-gap);
}

/* Custom gap utilities */
.g-custom {
  --bs-gutter-x: var(--grid-gap);
  --bs-gutter-y: var(--grid-gap);
}

.gap-5px {
  gap: var(--grid-gap) !important;
}

.gap-30 {
  gap: 30px !important;
}

/* ============ GLOBAL STYLES ============ */
body {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--dark-gray);
}

/* ============ HEADER STYLES ============ */

/* Top bar */
.top-bar {
  font-size: 0.875rem;
}

.top-bar .form-select {
  font-size: 0.875rem;
  padding: 0.25rem 1.5rem 0.25rem 0.5rem;
  cursor: pointer;
}

.top-bar .form-select:focus {
  box-shadow: none;
  background-color: var(--dark-gray);
}

/* Main header */
.main-header {
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.navbar-brand {
  font-weight: 400;
  font-size: 18px;
  letter-spacing: 1px;
  text-decoration: none;
  color: rgba(0, 0, 0, 0.9) !important;
}

/* Search form */
.main-header .form-control {
  border: 1px solid #dee2e6;
}

.main-header .form-control:focus {
  border-color: var(--primary-pink);
  box-shadow: 0 0 0 0.2rem rgba(239, 93, 168, 0.25);
}

/* Navigation bar */
.navbar-nav .nav-link {
  font-family: 'Inter', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 16px;
  padding: 0.5rem 1rem;
  transition: color 0.3s ease;
  color: var(--dark-gray);
}

/* Tight header nav: 2px vertical padding and bottom border to mirror top line */
.header-nav-tight {
  padding-top: 2px !important;
  padding-bottom: 2px !important;
  border-bottom: 1px solid #dee2e6; /* matches Bootstrap's default border color */
}

.navbar-nav .nav-link:hover {
  color: var(--primary-pink) !important;
}

.navbar-nav .nav-link.active {
  color: var(--dark-gray) !important;
  text-decoration: underline;
  text-decoration-color: var(--dark-gray);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

/* Categories dropdown */
.dropdown .btn-dark {
  background-color: var(--dark-gray);
  border-color: var(--dark-gray);
  font-weight: 600;
  text-align: left;
  border-radius: 0;
  font-size: 0.85rem;
}

.dropdown .btn-dark:hover {
  background-color: #1a1a1a;
  border-color: #1a1a1a;
}

.dropdown .btn-dark:focus {
  background-color: var(--dark-gray);
  border-color: var(--dark-gray);
  box-shadow: none;
}

/* Social links */
.social-links a {
  transition: color 0.3s ease;
  font-size: 1rem;
}

.social-links a:hover {
  color: var(--primary-pink) !important;
}

/* Header icons */
.header-main a {
  text-decoration: none;
  transition: color 0.3s ease;
}

.header-main a:hover {
  color: var(--primary-pink) !important;
}

/* ============ HERO SECTION ============ */
.hero-section {
  background-color: white;
}

/* Hero Main Card */
.hero-main-card {
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  border-radius: var(--border-radius);
}

.hero-overlay {
  background: linear-gradient(90deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.2) 60%, rgba(0,0,0,0) 100%);
}

.hero-content .badge {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  letter-spacing: 1px;
}

.hero-content .btn {
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Product Promo Cards */
.product-promo-card {
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  cursor: pointer;
  border-radius: var(--border-radius);
}

.product-overlay {
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.6) 100%);
}

.product-promo-card .badge {
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 2px;
}

.product-promo-card h5 {
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 4px;
  color: #000 !important;
}

.product-promo-card .price {
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 0;
  color: #fff !important;
}

/* Carousel Controls */
#heroCarousel .carousel-control-prev,
#heroCarousel .carousel-control-next {
  width: 45px;
  height: 45px;
  top: 50%;
  opacity: 1;
}

#heroCarousel .carousel-control-prev {
  left: 0;
  transform: translate(-50%, -50%);
}

#heroCarousel .carousel-control-next {
  right: 0;
  transform: translate(50%, -50%);
}

#heroCarousel .carousel-control-prev-icon,
#heroCarousel .carousel-control-next-icon {
  width: 45px;
  height: 45px;
  background-color: white !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  background-image: none !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

#heroCarousel .carousel-control-prev-icon::after {
  content: '❮';
  font-size: 1.5rem;
  color: #000 !important;
  font-weight: normal;
}

#heroCarousel .carousel-control-next-icon::after {
  content: '❯';
  font-size: 1.5rem;
  color: #000 !important;
  font-weight: normal;
}

/* Hero section spacing */
.hero-section .row {
  margin-left: 0;
  margin-right: 0;
}

/* Responsive hero section */
@media (max-width: 992px) {
  .hero-section .row {
    flex-direction: column;
    gap: 15px !important;
  }
  
  .hero-section .col {
    max-width: 100% !important;
  }
  
  .product-promo-card {
    height: 200px !important;
  }
}

/* Tablet layout: 2 items per row between 992px and 768px */
/* Moved lower in file to override general <=992px rules */

/* ============ CATEGORY SECTIONS ============ */
.categories-section {
  background-color: var(--white);
}

/* Slick Carousel Custom Styles */
.categories-slider {
  position: relative;
  padding: 0;
}

.categories-slider .slick-prev,
.categories-slider .slick-next {
  width: 45px !important;
  height: 45px !important;
  z-index: 10 !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  top: 116px !important;
  transform: translateY(-50%) !important;
}

.categories-slider .slick-prev.slick-disabled,
.categories-slider .slick-next.slick-disabled {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  cursor: pointer !important;
  pointer-events: auto !important;
}

.categories-slider .slick-arrow {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.categories-slider .slick-prev {
  left: 0;
}

.categories-slider .slick-next {
  right: 0;
}

.categories-slider .slick-prev:before,
.categories-slider .slick-next:before {
  content: '';
  display: inline-block !important;
  width: 45px;
  height: 45px;
  background-color: white;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  line-height: 45px;
  text-align: center;
  font-family: Arial;
  font-size: 1.5rem;
  font-weight: normal;
  color: #000;
  opacity: 1 !important;
  visibility: visible !important;
}

.categories-slider .slick-prev:before {
  content: '❮';
}

.categories-slider .slick-next:before {
  content: '❯';
}

.categories-slider .slick-prev:hover:before,
.categories-slider .slick-next:hover:before {
  background-color: #f5f5f5;
}

.categories-slider .slick-slide {
  padding: 0 10px;
}

.categories-slider .slick-list {
  margin: 0 -10px;
}

.category-item {
  display: inline-block;
  text-decoration: none;
  transition: none;
}

.category-item:hover {
  transform: none !important;
  opacity: 1 !important;
}

.category-item h6 {
  display: inline;
  white-space: nowrap;
}

.category-item p {
  display: inline;
  white-space: nowrap;
  margin-left: 4px;
}

.category-img {
  width: 232px;
  height: 232px;
  object-fit: cover;
  border: none;
  transition: none;
  margin: 0 auto;
}

.category-img:hover {
  transform: none !important;
}

/* Responsive category images */
/* Tablet - közepes méret */
@media (min-width: 768px) and (max-width: 991px) {
  .category-img {
    width: 200px;
    height: 200px;
  }
}

/* Kis tablet/nagy mobil */
@media (min-width: 576px) and (max-width: 767px) {
}

/* Mobil */
@media (max-width: 575px) {
  .categories-slider {
    padding: 0 50px;
  }
  
  .categories-slider .slick-slide {
    display: flex;
    justify-content: center;
  }
}

/* ============ PRODUCT SECTIONS ============ */
.products-section,
.steelfit-section,
.szimpad-section {
  background-color: var(--white);
}

/* Category Banner Cards */
.category-banner-card {
  border-radius: var(--border-radius);
  height: 250px;
  position: relative;
}

.category-banner-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--border-radius);
}

.category-banner-overlay {
  background: linear-gradient(90deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
  border-radius: var(--border-radius);
}

.category-banner-overlay h3 {
  font-size: 1.4rem;
}

.category-banner-link {
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.5px;
  border-bottom: 1px solid white;
  display: inline-block;
  padding-bottom: 2px;
}

.category-banner-link:hover {
  text-decoration: none;
  border-bottom: 1px solid var(--primary-pink);
  color: var(--primary-pink) !important;
}

/* Filter Buttons */
.filter-buttons {
  background-color: #f7f7f7;
  border-radius: 13px;
  padding: 0.25rem;
}

.filter-buttons .btn {
  border-radius: 10px;
  font-weight: 500;
  font-size: 1.05rem; /* 20% nagyobb: 0.875rem * 1.2 */
  padding: 0.5rem 1.5rem;
  border: none;
  background-color: transparent;
  color: #6c757d;
  transition: none;
}

.filter-buttons .btn:hover {
  background-color: transparent;
  color: #6c757d;
}

.filter-buttons .btn.active {
  background-color: var(--white);
  color: var(--dark-gray);
  border: 1px solid #e9ecef;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  font-weight: 700;
}

/* Promo Block Card */
.promo-block-card {
  border-radius: var(--border-radius);
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  aspect-ratio: 1 / 1;
  width: 100%;
}

/* Gray Promo Block Card */
.promo-block-card-gray {
  border-radius: var(--border-radius);
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  aspect-ratio: 1 / 1;
  width: 100%;
  background-color: #6c757d;
}

/* Simple Product Cards */
.product-card-simple {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: 300px;
}

.product-image-simple {
  border-radius: var(--border-radius);
  overflow: hidden;
  position: relative;
  flex: 1;
  min-height: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.product-image-simple img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Sale badge on product cards */
.badge-sale {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #dc3545; /* Bootstrap danger */
  color: #fff;
  font-size: 12px;
  line-height: 1.2;
  padding: 8px 14px;
  border-radius: 14px;
  text-transform: uppercase;
  z-index: 2;
}

/* Filter OffCanvas link styles */
#filterOffCanvas ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

#filterOffCanvas ul > li {
  list-style: none;
}

#filterOffCanvas ul > li > a {
  color: inherit;
  text-decoration: none;
}

.product-title-simple {
  font-size: 1rem; /* 10% kisebb: 1rem * 0.9 */
  color: var(--dark-gray);
}

.product-price-simple {
  font-weight: 600;
  font-size: 1.2rem; /* 10% kisebb: 1rem * 0.9 */
  color: var(--dark-gray);
}

/* Product Hover Overlay */
.product-hover-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: transparent;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  padding: 20px;
  z-index: 10;
}

.product-image-simple:hover .product-hover-overlay {
  transform: translateY(0);
}

.product-view-btn {
  width: 100%;
  background-color: var(--primary-pink);
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: normal;
  padding: 12px;
  text-transform: uppercase;
  color: white;
  text-decoration: none;
  display: block;
  text-align: center;
}

.product-view-btn:hover {
  background-color: var(--primary-pink);
  opacity: 0.9;
  color: white;
}

/* Promóciós blokkok - használjuk a brand rózsaszínt */
.promo-block {
  background-color: var(--primary-pink) !important;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.promo-block:hover {
  transform: translateY(-5px);
}

.promo-block.bg-secondary {
  background-color: #6c757d !important;
}

/* Product Cards */
.product-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e9ecef;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.product-image {
  overflow: hidden;
  height: 250px;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-price {
  color: var(--primary-pink) !important;
}

/* Product Banners */
.product-banner {
  position: relative;
  overflow: hidden;
  height: 300px;
}

.product-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-banner:hover img {
  transform: scale(1.05);
}

.banner-overlay {
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
}

/* Product Badges */
.product-badges .badge {
  font-size: 1rem;
}

/* ============ SERVICES SECTION ============ */
.services-section {
  background-color: white;
}

.services-section .container {
  border-radius: var(--border-radius);
}

.service-item i {
  color: var(--primary-pink);
}

/* ============ NEWSLETTER SECTION ============ */
.newsletter-section {
  background-color: var(--primary-pink) !important;
}

.newsletter-form-wrapper {
  position: relative;
}

.newsletter-input {
  border: none;
  border-radius: 8px;
  padding: 12px 180px 12px 20px;
  background-color: white;
  width: 100%;
}

.newsletter-input:focus {
  border: none;
  box-shadow: none;
  outline: none;
}

.newsletter-btn-inside {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.5px;
  background-color: #2c2c2c;
  color: white;
  padding: 10px 24px;
  white-space: nowrap;
}

.newsletter-btn-inside:hover {
  background-color: #1a1a1a;
  color: white;
}

/* ============ PRODUCT DETAIL PAGE ============ */
.product-gallery .main-image img {
  max-height: 500px;
  object-fit: cover;
}

.thumbnail-image {
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.3s ease, border 0.3s ease;
  border: 2px solid transparent;
}

.thumbnail-image:hover,
.thumbnail-image.active {
  opacity: 1;
  border-color: var(--primary-pink);
}

.quantity-controls input {
  max-width: 80px;
}

/* ============ LOGIN PAGE ============ */
.login-section,
.new-user-section {
  border-radius: 10px;
}

.login-section {
  border: 1px solid #e9ecef;
}

/* ============ CHECKOUT PAGE ============ */
.checkout-section {
  margin-bottom: 2rem;
}

.section-header {
  font-weight: 600;
}

.section-header.bg-primary {
  background-color: var(--primary-pink) !important;
}

.cart-item {
  transition: background-color 0.3s ease;
}

.cart-item:hover {
  background-color: rgba(239, 93, 168, 0.05);
}

.order-summary .cart-item {
  transition: none;
}

.order-summary .cart-item:hover {
  background-color: transparent;
}

.order-summary .cart-item .item-image {
  position: relative;
}

.order-summary .cart-item .item-quantity-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background-color: #000;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 999px;
  line-height: 1;
}

.order-summary .cart-item .item-remove-btn {
  background: none;
  border: none;
  padding: 0;
  margin-left: 8px;
  color: var(--primary-pink);
  font-size: 0.85rem;
}

.order-summary .cart-item .item-remove-btn:hover {
  color: #c1204f;
}
.order-summary {
  border: 1px solid #e9ecef;
  border-radius: 10px;
  position: sticky;
  top: 20px;
}

/* ============ BUTTONS ============ */
.btn-primary {
  background-color: var(--primary-pink);
  border-color: var(--primary-pink);
}

.btn-primary:hover {
  background-color: #d54191;
  border-color: #d54191;
}

.btn-main {
  background-color: var(--primary-pink);
  border-color: var(--primary-pink);
  color: white;
}

.btn-main:hover {
  background-color: #d54191;
  border-color: #d54191;
  color: white;
}

.btn-outline-main {
  color: var(--primary-pink);
  border-color: var(--primary-pink);
  background-color: transparent;
}

.btn-outline-main:hover {
  background-color: var(--primary-pink);
  border-color: var(--primary-pink);
  color: white;
}

.btn-outline-primary {
  color: var(--primary-pink);
  border-color: var(--primary-pink);
}

.btn-outline-primary:hover {
  background-color: var(--primary-pink);
  border-color: var(--primary-pink);
}

/* ============ FOOTER STYLES ============ */
footer a:hover {
  color: var(--primary-pink) !important;
}

/* ============ RESPONSIVE DESIGN ============ */
@media (max-width: 992px) {
  /* Steelfit section mobile layout */
  .products-section .d-flex.justify-content-between ,
  .steelfit-section .d-flex.justify-content-between {
    flex-direction: column !important;
    align-items: flex-start !important;
  }
  
  .steelfit-section .filter-buttons {
    margin-top: 1rem;
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  
  /* Steelfit section content layout */
  .products-section .d-flex.align-items-start,
  .steelfit-section .d-flex.align-items-start {
    flex-direction: column !important;
    gap: 30px !important;
    align-items: center !important;
  }
  
  .steelfit-section .d-flex.align-items-start > div:first-child {
    width: 100% !important;
    margin: 0 auto;
  }
  
  .products-section .d-flex.flex-grow-1,
  .steelfit-section .d-flex.flex-grow-1 {
    flex-direction: column !important;
    gap: 30px !important;
    align-items: center !important;
    width: 100% !important;
  }
  
  .products-section .flex-fill,
  .steelfit-section .flex-fill {
    width: 100% !important;
  }
  
  /* Színpadi kiegészítők section mobile layout */
  .szimpad-section .d-flex.justify-content-between {
    flex-direction: column !important;
    align-items: flex-start !important;
  }
  
  .szimpad-section .filter-buttons {
    margin-top: 1rem;
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  
  /* Színpadi kiegészítők section content layout */
  .szimpad-section .d-flex.align-items-start {
    flex-direction: column !important;
    gap: 30px !important;
    align-items: center !important;
  }
  
  .szimpad-section .d-flex.align-items-start > div:first-child {
    width: 100% !important;
    margin: 0 auto;
  }
  
  .szimpad-section .d-flex.flex-grow-1 {
    flex-direction: column !important;
    gap: 30px !important;
    align-items: center !important;
    width: 100% !important;
  }
  
  .szimpad-section .flex-fill {
    width: 100% !important;
  }
}

@media (max-width: 768px) {
  .hero-content {
    text-align: center;
    padding: 2rem !important;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .hero-content h2 {
    font-size: 1.5rem;
  }
  
  .product-banner {
    height: 200px;
  }
  
  .order-summary {
    position: static;
    margin-top: 2rem;
  }
  
  /* Center hero content completely over image on mobile */
  .hero-overlay {
    justify-content: center !important;
    align-items: center !important;
  }
  
  .hero-content {
    text-align: center !important;
    padding: 1.5rem !important;
    max-width: 90%;
  }
  
  /* Force single column layout for product sections below 768px */
  .products-section .d-flex.flex-grow-1,
  .steelfit-section .d-flex.flex-grow-1,
  .szimpad-section .d-flex.flex-grow-1 {
    display: flex !important;
    flex-direction: column !important;
  }
  
  .products-section .flex-fill,
  .steelfit-section .flex-fill,
  .szimpad-section .flex-fill {
    flex: none !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  
  /* Move hero carousel arrows inward to avoid horizontal overflow */
  #heroCarousel .carousel-control-prev,
  #heroCarousel .carousel-control-next {
    width: 36px;
    height: 36px;
  }

  #heroCarousel .carousel-control-prev {
    left: 10px;
    transform: translate(0, -50%);
  }

  #heroCarousel .carousel-control-next {
    right: 10px;
    transform: translate(0, -50%);
  }

  /* Match icon size to controls to keep perfect circle */
  #heroCarousel .carousel-control-prev-icon,
  #heroCarousel .carousel-control-next-icon {
    width: 36px;
    height: 36px;
    border-radius: 50% !important;
  }
  
  /* Stack category banner cards vertically on mobile */
  .category-cards-section .d-flex {
    flex-direction: column !important;
    gap: 30px !important;
  }
  
  .category-cards-section .flex-fill {
    width: 100% !important;
  }
}

/* Tablet layout: 2 items per row between 992px and 768px */
@media (max-width: 992px) and (min-width: 769px) {
  /* A felső konténer tördeljen, és balra igazítva 2 oszlopos rácsként viselkedjen */
  .products-section .d-flex.align-items-start,
  .steelfit-section .d-flex.align-items-start,
  .szimpad-section .d-flex.align-items-start {
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
    gap: 30px !important;
  }

  /* A promó doboz is 50%-os oszlop legyen (ugyanolyan, mint a termék elemek) */
  .steelfit-section .d-flex.align-items-start > div:first-child,
  .szimpad-section .d-flex.align-items-start > div:first-child {
    flex: 0 0 calc(50% - 15px) !important;
    width: calc(50% - 15px) !important;
    max-width: none !important;
    margin: 0 !important;
  }

  /* A belső termék-grid "szétesik", a gyerekei feljebb, a fő rácsba kerülnek */
  .products-section .d-flex.flex-grow-1,
  .steelfit-section .d-flex.flex-grow-1,
  .szimpad-section .d-flex.flex-grow-1 {
    display: contents !important;
  }

  /* Minden termékkártya 50% szélességű legyen (2 oszlop) */
  .products-section .flex-fill,
  .steelfit-section .flex-fill,
  .szimpad-section .flex-fill {
    flex: 0 0 calc(50% - 15px) !important;
    
    max-width: none !important;
    margin: 0 !important;
  }
}

@media (max-width: 576px) {
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  
  .hero-bg {
    min-height: 400px;
  }
  
  .promo-block {
    text-align: center;
  }
  
  /* Mobile specific improvements for product sections */
  .product-card-simple {
    height: auto;
    min-height: 250px;
  }
  
  .product-image-simple {
    height: 200px;
  }
}

/* ============ UTILITIES ============ */
.text-primary {
  color: var(--primary-pink) !important;
}

.bg-primary {
  background-color: var(--primary-pink) !important;
}

.border-primary {
  border-color: var(--primary-pink) !important;
}

/* Loading states */
.loading {
  opacity: 0.6;
  pointer-events: none;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Focus styles */
.form-control:focus {
  border-color: var(--primary-pink);
  box-shadow: 0 0 0 0.2rem rgba(239, 93, 168, 0.25);
}

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

::-webkit-scrollbar-track {
  background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-pink);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #d54191;
}

/* Force arrows to always show - Override at end of file for maximum specificity */
.categories-slider button.slick-prev,
.categories-slider button.slick-next,
.categories-slider button.slick-arrow {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.categories-slider button.slick-prev.slick-disabled,
.categories-slider button.slick-next.slick-disabled,
.categories-slider button.slick-arrow.slick-disabled {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  cursor: pointer !important;
  pointer-events: all !important;
}

.categories-slider .slick-prev:before,
.categories-slider .slick-next:before,
.categories-slider .slick-arrow:before {
  display: inline-block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* ============ PRODUCT PAGE MOSAIC ============ */
.product-mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.product-mosaic .product-tile {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

/* Right side product details card + controls */
.product-details-card {
  background-color: #ffffff;
}

.qty-inline .qty-btn {
  height: 38px;
  line-height: 1;
  padding: 0 12px;
}

.qty-inline .qty-input {
  height: 38px;
}

.add-to-cart-btn {
  height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  white-space: nowrap;
}

@media (max-width: 576px) {
  .add-to-cart-btn {
    flex: 1 1 auto;
    width: 100%;
  }
}

/* Product lightbox image sizing */
.product-lightbox-image {
  max-height: 85vh;
  object-fit: contain;
  background: #000;
}

/* Product grid containers - desktop: product items ne legyenek teljes szélességűek */
/* 992px-1199px: 2 oszlop */
@media (min-width: 992px) and (max-width: 1199px) {
  .steelfit-products-container,
  .szimpad-section .d-flex.flex-grow-1.gap-30 {
    flex-wrap: wrap !important;
  }
  
  .steelfit-products-container .product-item,
  .szimpad-section .d-flex.flex-grow-1.gap-30 .product-item {
    flex: 0 0 auto !important;
    flex-grow: 0 !important;
    flex-shrink: 0 !important;
    flex-basis: auto !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: calc(50% - 15px) !important; /* 2 elem sorban, gap-ekkel */
  }
  
  .steelfit-products-container .product-item .product-card-simple,
  .szimpad-section .d-flex.flex-grow-1.gap-30 .product-item .product-card-simple {
    width: 100%;
    max-width: 100%;
  }
}

/* 1200px+: 3 oszlop */
@media (min-width: 1200px) {
  .steelfit-products-container,
  .szimpad-section .d-flex.flex-grow-1.gap-30 {
    flex-wrap: wrap !important;
  }
  
  .steelfit-products-container .product-item,
  .szimpad-section .d-flex.flex-grow-1.gap-30 .product-item {
    flex: 0 0 auto !important;
    flex-grow: 0 !important;
    flex-shrink: 0 !important;
    flex-basis: auto !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: calc(33.333% - 20px) !important; /* 3 elem sorban, gap-ekkel */
  }
  
  .steelfit-products-container .product-item .product-card-simple,
  .szimpad-section .d-flex.flex-grow-1.gap-30 .product-item .product-card-simple {
    width: 100%;
    max-width: 100%;
  }
}
