/* 
 * CSS dedicat pentru pagina Home
 * Optimizat pentru desktop și mobile
 */

/* Reset și variabile */
:root {
  --home-primary: #005eb8;
  --home-secondary: #6f2dbd;
  --home-accent: #ef3340;
  --home-dark: #002b5c;
  --home-light: #f5f7fa;
  --home-white: #ffffff;
  --home-text: #1a1a1a;
  --home-text-light: #6c757d;
}

/* Container principal */
.home-main-wrapper {
  position: relative !important;
  z-index: 1 !important;
  pointer-events: auto !important;
  width: 100%;
  overflow-x: hidden;
  min-height: 50vh;
}

/* ============================================
   HEADER SECTION
   ============================================ */
.header__section {
  background: linear-gradient(135deg, #0066cc 0%, #4a2c7a 50%, #6f2dbd 100%);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.header__section .main__header--inner {
  min-height: 60px;
}

.header__section .header__account--btn {
  color: white !important;
}

.header__section .header__account--btn:hover {
  color: rgba(255, 255, 255, 0.8) !important;
}

.header__section .main__logo--img {
  background: white;
  padding: 5px;
  border-radius: 4px;
}

.header__section .header__search--input {
  border-color: #ddd;
}

.header__section .header__search--button {
  background: #ff6b35 !important;
  color: white !important;
}

.header__section .header__search--button:hover {
  background: #e55a2b !important;
}

/* Spațiere între secțiunea de căutare și butonul Blog */
.header__section .header__account {
  margin-left: 1.5rem !important;
}

@media (max-width: 991px) {
  .header__section .header__account {
    margin-left: 1rem !important;
  }
  .header__products-menu {
    display: none !important; /* Ascunde meniul vechi de produse pe mobile */
  }
}

@media (max-width: 767px) {
  .header__section .header__account {
    margin-left: 0.5rem !important;
  }
}

.footer__section .footer__copyright {
  color: rgba(255, 255, 255, 0.8) !important;
  margin: 0;
}

/* ============================================
   HEADER PRODUCTS MENU (BURGER)
   ============================================ */
.header__products-menu {
  position: relative;
  margin-right: 1rem;
  z-index: 10000 !important;
  display: block !important;
}

.products-menu-trigger {
  position: relative;
  z-index: 10000 !important;
  display: block !important;
}

.products-menu-btn {
  display: flex;
  align-items: center;
  padding: 0.5rem 1rem;
  background: transparent;
  color: white;
  border: none;
  border-radius: 0.375rem;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.products-menu-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 102, 204, 0.3);
}

.products-menu-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0.5rem;
  background: white;
  border-radius: 0.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  min-width: 800px;
  max-height: 600px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 9999;
  overflow: hidden;
  pointer-events: none;
}

.products-menu-trigger:hover .products-menu-dropdown,
.products-menu-dropdown:hover {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.products-menu-container {
  display: flex;
  height: 100%;
  max-height: 600px;
}

.products-menu-categories {
  width: 300px;
  background: #f8f9fa;
  border-right: 1px solid #dee2e6;
  overflow-y: auto;
  max-height: 600px;
}

.categories-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.category-item {
  border-bottom: 1px solid #e9ecef;
}

.category-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  color: #495057;
  text-decoration: none;
  transition: all 0.2s ease;
  position: relative;
}

.category-link:hover {
  background: white;
  color: #0066cc;
  padding-left: 1.5rem;
}

.category-link svg {
  opacity: 0.5;
  transition: opacity 0.2s ease;
}

.category-link:hover svg {
  opacity: 1;
}

.category-item.active .category-link {
  background: white;
  color: #0066cc;
  font-weight: 600;
  border-left: 3px solid #0066cc;
}

.products-menu-products {
  flex: 1;
  padding: 1.5rem;
  overflow-y: auto;
  max-height: 600px;
}

.products-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 400px;
}

.products-preview-text {
  color: #6c757d;
  font-size: 0.95rem;
  text-align: center;
  margin: 0;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.product-preview-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  border: 1px solid #e9ecef;
  border-radius: 0.375rem;
  transition: all 0.2s ease;
  text-decoration: none;
  color: inherit;
}

.product-preview-item:hover {
  border-color: #0066cc;
  box-shadow: 0 2px 8px rgba(0, 102, 204, 0.1);
  transform: translateY(-2px);
}

.product-preview-image {
  width: 60px;
  height: 60px;
  object-fit: contain;
  background: #f8f9fa;
  border-radius: 0.25rem;
  padding: 0.25rem;
}

.product-preview-info {
  flex: 1;
  min-width: 0;
}

.product-preview-name {
  font-size: 0.875rem;
  font-weight: 500;
  color: #212529;
  margin: 0 0 0.25rem 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-preview-price {
  font-size: 0.875rem;
  font-weight: 600;
  color: #0066cc;
  margin: 0;
}

.loading-spinner {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #0066cc;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Scrollbar pentru categorii */
.products-menu-categories::-webkit-scrollbar {
  width: 6px;
}

.products-menu-categories::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.products-menu-categories::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 3px;
}

.products-menu-categories::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* Scrollbar pentru produse */
.products-menu-products::-webkit-scrollbar {
  width: 6px;
}

.products-menu-products::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.products-menu-products::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 3px;
}

.products-menu-products::-webkit-scrollbar-thumb:hover {
  background: #555;
}

@media (max-width: 991px) {
  .products-menu-dropdown {
    min-width: 600px;
  }
  
  .products-grid {
    grid-template-columns: 1fr;
  }
}

/* Stiluri pentru mobile */
@media (max-width: 767px) {
  /* Meniul vechi de produse trebuie să fie ascuns pe mobile */
  .header__products-menu {
    display: none !important;
  }
  
  /* Meniul burger în dreapta pe mobile */
  .offcanvas__header--menu__open {
    display: block !important;
    margin-left: 0.5rem;
  }
  
  /* Asigură că header__account și meniul burger sunt în dreapta */
  .main__header--inner {
    flex-wrap: nowrap;
  }
  
  .header__account {
    margin-left: auto;
  }
}

/* Stiluri pentru tablet */
@media (min-width: 768px) and (max-width: 991px) {
  .products-menu-dropdown {
    min-width: 600px;
  }
  
  .products-grid {
    grid-template-columns: 1fr;
  }
}

/* Asigură că meniul este vizibil pe desktop */
@media (min-width: 992px) {
  .header__products-menu {
    display: block !important;
  }
  
  .products-menu-btn span {
    display: inline;
  }
}

/* ============================================
   HERO SECTION
   ============================================ */
.home-hero {
  background: linear-gradient(135deg, var(--home-dark) 0%, var(--home-primary) 50%, var(--home-secondary) 100%);
  color: var(--home-white);
  padding: 3rem 0;
  position: relative;
  overflow: hidden;
}

.home-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.1);
  z-index: 1;
}

.home-hero .container {
  position: relative;
  z-index: 2;
}

.home-hero-content {
  display: flex;
  align-items: center;
  min-height: 400px;
}

.home-hero-text {
  flex: 1;
}

.home-hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  color: var(--home-white);
}

.home-hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.95);
}

.home-hero-image {
  flex: 1;
  text-align: center;
}

.home-hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.home-hero-btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: var(--home-white);
  color: var(--home-primary);
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  pointer-events: auto;
  cursor: pointer;
  position: relative;
  z-index: 100;
}

.home-hero-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  color: var(--home-primary);
  text-decoration: none;
}

/* ============================================
   SECTIONS GENERALE
   ============================================ */
.home-section {
  padding: 4rem 0;
  position: relative;
  pointer-events: auto;
}

/* Prima secțiune (bannere) - fără padding-top și bottom */
.home-main-wrapper > .home-section:first-child {
  padding-top: 0;
  padding-bottom: 0;
}

/* Container pentru bannere - fără padding lateral pe mobile */
.home-main-wrapper > .home-section:first-child .container {
  padding-left: 0;
  padding-right: 0;
  max-width: 100%;
}

@media (min-width: 576px) {
  .home-main-wrapper > .home-section:first-child .container {
    padding-left: 15px;
    padding-right: 15px;
  }
}

.home-section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--home-text);
}

.home-section-bg-light {
  background-color: var(--home-light);
}

/* ============================================
   CATEGORIES SECTION
   ============================================ */
.home-categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.home-category-card {
  background: var(--home-white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
  pointer-events: auto;
  position: relative;
  z-index: 10;
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
}

.home-category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
  text-decoration: none;
  color: inherit;
}

.home-category-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.home-category-body {
  padding: 1.5rem;
  text-align: center;
}

.home-category-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--home-text);
}

.home-category-description {
  font-size: 0.95rem;
  color: var(--home-text-light);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.home-category-btn {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: var(--home-primary);
  color: var(--home-white);
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  pointer-events: auto;
  cursor: pointer;
  position: relative;
  z-index: 100;
}

.home-category-btn:hover {
  background: var(--home-dark);
  color: var(--home-white);
  text-decoration: none;
  transform: scale(1.05);
}

/* ============================================
   PRODUCTS SECTION
   ============================================ */
.home-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.home-product-card {
  background: var(--home-white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
  pointer-events: auto;
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.home-product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.home-product-image-wrapper {
  position: relative;
  width: 100%;
  height: 250px;
  overflow: hidden;
  background: var(--home-light);
}

.home-product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  pointer-events: auto;
  cursor: pointer;
}

.home-product-card:hover .home-product-image {
  transform: scale(1.05);
}

.home-product-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.home-product-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--home-text);
  line-height: 1.4;
  pointer-events: auto;
  cursor: pointer;
}

.home-product-title a {
  color: var(--home-text);
  text-decoration: none;
  pointer-events: auto;
  cursor: pointer;
  position: relative;
  z-index: 100;
}

.home-product-title a:hover {
  color: var(--home-primary);
  text-decoration: none;
}

.home-product-description {
  font-size: 0.9rem;
  color: var(--home-text-light);
  margin-bottom: 1rem;
  line-height: 1.5;
  flex-grow: 1;
}

.home-product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid #e9ecef;
}

.home-product-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--home-primary);
  margin: 0;
}

.home-product-btn {
  padding: 0.5rem 1rem;
  background: var(--home-primary);
  color: var(--home-white);
  border: none;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  pointer-events: auto;
  position: relative;
  z-index: 100;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.home-product-btn:hover {
  background: var(--home-dark);
  transform: scale(1.05);
}

.home-product-btn:active {
  transform: scale(0.95);
}

/* ============================================
   BANNERS SECTION
   ============================================ */
.home-banners-carousel-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden; /* Previne depășirea conținutului */
  border-radius: 0;
  margin-bottom: 0;
  max-width: 100%; /* Asigură că nu depășește lățimea viewport-ului */
}

.home-banners-carousel {
  display: flex;
  position: relative;
  width: 100%;
  min-height: 400px;
}

.home-banner-item {
  flex: 0 0 100%;
  width: 100%;
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  transition: opacity 0.5s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden; /* Previne depășirea imaginilor */
}

.home-banner-item.active {
  opacity: 1;
  position: relative;
}

.home-banner-image {
  width: 100%;
  height: 400px;
  max-width: 100%; /* Asigură că imaginea nu depășește lățimea containerului */
  max-height: 100%; /* Asigură că imaginea nu depășește înălțimea containerului */
  object-fit: cover; /* Păstrează proporțiile și acoperă întreaga zonă */
  object-position: center; /* Centrează imaginea în container */
  border-radius: 0;
  display: block;
}

/* Stiluri pentru link-urile care conțin imagini de banner */
.home-banner-item a {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden; /* Previne depășirea imaginilor din link */
}

.home-banner-item a img,
.home-banner-item a video {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  object-position: center;
}

.home-banner-video {
  width: 100%;
  height: 400px;
  max-width: 100%; /* Asigură că video-ul nu depășește lățimea containerului */
  max-height: 100%; /* Asigură că video-ul nu depășește înălțimea containerului */
  object-fit: cover; /* Păstrează proporțiile și acoperă întreaga zonă */
  object-position: center; /* Centrează video-ul în container */
  border-radius: 0;
  display: block;
}

.banner-indicators {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}

.banner-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.banner-indicator.active {
  background-color: rgba(255, 255, 255, 1);
  width: 24px;
  border-radius: 6px;
}

.banner-indicator:hover {
  background-color: rgba(255, 255, 255, 0.8);
}

.home-banners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  padding: 1rem 0;
}

.home-banner-card {
  border-radius: 0.5rem;
  overflow: hidden; /* Previne depășirea conținutului */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  max-width: 100%; /* Asigură că card-ul nu depășește lățimea containerului */
}

/* Stiluri pentru link-urile din card-urile de banner */
.home-banner-card a {
  display: block;
  width: 100%;
  overflow: hidden; /* Previne depășirea imaginilor din link */
}

.home-banner-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.home-banner-card .home-banner-image {
  width: 100%;
  height: auto;
  max-width: 100%; /* Asigură că imaginea nu depășește lățimea containerului */
  max-height: 100%; /* Asigură că imaginea nu depășește înălțimea containerului */
  object-fit: cover; /* Păstrează proporțiile și acoperă întreaga zonă */
  object-position: center; /* Centrează imaginea în container */
  display: block;
}

@media (max-width: 768px) {
  .home-banner-image,
  .home-banner-video {
    height: 250px;
    max-width: 100%; /* Asigură că nu depășește lățimea pe mobile */
    max-height: 100%; /* Asigură că nu depășește înălțimea pe mobile */
  }
  
  .home-banners-carousel {
    min-height: 250px; /* Ajustează înălțimea minimă pe mobile */
  }
  
  .home-banners-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
  }
  
  .banner-indicators {
    bottom: 0.5rem;
  }
  
  .banner-indicator {
    width: 10px;
    height: 10px;
  }
  
  .banner-indicator.active {
    width: 20px;
  }
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.home-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.home-feature-item {
  text-align: center;
  padding: 2rem 1rem;
  pointer-events: auto;
  position: relative;
  z-index: 10;
}

.home-feature-icon {
  font-size: 3rem;
  color: var(--home-primary);
  margin-bottom: 1.5rem;
  display: block;
}

.home-feature-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--home-text);
}

.home-feature-description {
  font-size: 1rem;
  color: var(--home-text-light);
  line-height: 1.6;
  margin: 0;
}

/* ============================================
   RESPONSIVE - MOBILE (< 768px)
   ============================================ */
@media only screen and (max-width: 767.98px) {
  .home-main-wrapper {
    padding-bottom: 100px !important;
    pointer-events: auto !important;
    position: relative !important;
    z-index: 1 !important;
  }
  
  /* Asigură că toate elementele din main sunt clickable pe mobile */
  .home-main-wrapper * {
    pointer-events: auto !important;
  }
  
  .home-main-wrapper a,
  .home-main-wrapper button,
  .home-main-wrapper input,
  .home-main-wrapper select,
  .home-main-wrapper textarea {
    pointer-events: auto !important;
    cursor: pointer !important;
    position: relative;
    z-index: 100 !important;
  }

  /* Hero Mobile */
  .home-hero {
    padding: 2rem 0;
  }

  .home-hero-content {
    flex-direction: column;
    min-height: auto;
    text-align: center;
  }

  .home-hero-text {
    margin-bottom: 2rem;
  }

  .home-hero-title {
    font-size: 1.75rem;
    margin-bottom: 1rem;
  }

  .home-hero-subtitle {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .home-hero-btn {
    padding: 0.75rem 2rem;
    font-size: 0.95rem;
  }

  .home-hero-image {
    margin-top: 1rem;
  }

  .home-hero-image img {
    max-width: 100%;
    height: auto;
  }

  /* Sections Mobile */
  .home-section {
    padding: 2.5rem 0;
  }

  .home-section-title {
    font-size: 1.75rem;
    margin-bottom: 2rem;
  }

  /* Categories Mobile */
  .home-categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .home-category-image {
    height: 150px;
  }

  .home-category-body {
    padding: 1rem;
  }

  .home-category-title {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }

  .home-category-description {
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .home-category-btn {
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
  }

  /* Products Mobile */
  .home-products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .home-product-image-wrapper {
    height: 180px;
  }

  .home-product-body {
    padding: 1rem;
  }

  .home-product-title {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
  }

  .home-product-description {
    font-size: 0.8rem;
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .home-product-price {
    font-size: 1.25rem;
  }

  .home-product-btn {
    padding: 0.4rem 0.75rem;
    font-size: 0.8rem;
  }

  .home-product-btn span {
    display: none;
  }

  /* Features Mobile */
  .home-features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .home-feature-item {
    padding: 1.5rem 1rem;
  }

  .home-feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }

  .home-feature-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
  }

  .home-feature-description {
    font-size: 0.9rem;
  }
}

/* ============================================
   RESPONSIVE - TABLET (768px - 991px)
   ============================================ */
@media only screen and (min-width: 768px) and (max-width: 991.98px) {
  .home-hero-title {
    font-size: 2.5rem;
  }

  .home-hero-subtitle {
    font-size: 1.1rem;
  }

  .home-categories-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .home-products-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .home-features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ============================================
   RESPONSIVE - DESKTOP (>= 992px)
   ============================================ */
@media only screen and (min-width: 992px) {
  .home-hero {
    padding: 4rem 0;
  }

  .home-hero-title {
    font-size: 3.5rem;
  }

  .home-hero-subtitle {
    font-size: 1.35rem;
  }

  .home-section {
    padding: 5rem 0;
  }

  .home-section-title {
    font-size: 3rem;
  }
}

/* ============================================
   UTILITARE - Pointer Events
   ============================================ */
.home-main-wrapper * {
  pointer-events: auto;
}

.home-main-wrapper a,
.home-main-wrapper button,
.home-main-wrapper input,
.home-main-wrapper select,
.home-main-wrapper textarea {
  pointer-events: auto !important;
  cursor: pointer;
  position: relative;
  z-index: 100;
}

/* Asigură că nu există elemente care blochează */
@media only screen and (max-width: 767.98px) {
  .home-main-wrapper {
    pointer-events: auto !important;
  }

  .home-main-wrapper * {
    pointer-events: auto !important;
  }
}

