.elementor-244 .elementor-element.elementor-element-f33210c{margin-top:0px;margin-bottom:0px;}.elementor-244 .elementor-element.elementor-element-9f82f48{margin-top:0px;margin-bottom:0px;}@media(max-width:767px){.elementor-244 .elementor-element.elementor-element-f33210c{margin-top:30px;margin-bottom:0px;}}/* Start custom CSS for html, class: .elementor-element-8cb3dfb *//* ===== HERO SECTION ===== */
.hero-section {
  position: relative;
  width: 100%;
  height: 520px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  color: #fff;
  text-align: center;
}

.hero-bg {
  position: absolute;
  top: 0; left: 0;
  width: 200%;
  height: 100%;
  animation: moveBg 20s ease-in-out infinite alternate;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.75) saturate(1.2);
}
@keyframes moveBg {
  0% { transform: translateX(0); }
  50% { transform: translateX(-20%); }
  100% { transform: translateX(-35%); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.35), rgba(0,0,0,0.65));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  animation: fadeIn 1.5s ease forwards;
  opacity: 0;
  padding: 0 24px;
}
@keyframes fadeIn { to { opacity: 1; } }

.hero-title {
     font-size: 42px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #fff;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 255, 255, 0.2);
    margin: 0;
}

.hero-divider {
  width: 90px;
  height: 3px;
  background: #ffffff;
  margin: 0 auto 26px;
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(255,255,255,0.3);
}

/* --- Responsive cho Hero Section --- */
@media (max-width: 768px) {
  .hero-section {
    height: 360px;
    padding: 0 16px;
  }

  .hero-title {
    font-size: 30px;                 /* 👈 nhỏ hơn đáng kể */
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-shadow: 0 2px 6px rgba(0,0,0,0.5);
    max-width: 90%;
    margin: 0 auto 16px;
    word-break: break-word;
  }

  .hero-divider {
    width: 50px;
    height: 2px;
    margin: 10px auto 0;
  }

  .hero-content {
    padding: 0 10px;
  }
}

@media (max-width: 480px) {
  .hero-section {
    height: 320px;
  }

  .hero-title {
    font-size: 30px;               /* 👈 kích thước tối ưu cho màn nhỏ */
    line-height: 1.2;
    letter-spacing: 0.4px;
  }

  .hero-divider {
    width: 40px;
    height: 2px;
  }
}/* End custom CSS */
/* Start custom CSS for section, class: .elementor-element-f33210c */.elementor-widget-wrap {
    padding : 0px  !important;
}/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-1cb772a *//* --- Layout chính --- */
    .product-section {
      padding: 40px;
      max-width: 1400px;
      margin: 0 auto;
      font-family: 'Inter', sans-serif;
    }

    .product-title {
      text-align: center;
      font-size: 32px;
      font-weight: 800;
      margin-bottom: 30px;
      color: #0f172a;
      letter-spacing: -0.5px;
    }

    /* --- Tabs --- */
    .category-tabs {
      text-align: center;
      margin-bottom: 35px;
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 12px;
    }

    .tab-btn {
      background: #fff;
      border: 1.8px solid #d1d5db;
      padding: 10px 22px;
      border-radius: 30px;
      cursor: pointer;
      font-weight: 600;
      font-size: 15px;
      color: #334155;
      transition: all 0.25s ease;
      box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
      font-family: 'Montserrat', sans-serif;
    }
    .tab-btn:hover {
      background: #f0f9ff;
      border-color: #0284c7;
      color: #0284c7;
      transform: translateY(-2px);
    }
    .tab-btn.active {
      background: #0284c7;
      color: #fff;
      border-color: #0284c7;
      box-shadow: 0 2px 6px rgba(2, 132, 199, 0.25);
    }

    /* --- Loading --- */
    .loading-container {
      text-align: center;
      margin-top: 40px;
    }
    .loading-container p {
      font-size: 14px;
      color: #555;
      margin-top: 10px;
    }
    .spinner {
      border: 4px solid #e5e7eb;
      border-top: 4px solid #0284c7;
      border-radius: 50%;
      width: 40px;
      height: 40px;
      animation: spin 0.9s linear infinite;
      margin: 0 auto;
    }
    @keyframes spin {
      100% {
        transform: rotate(360deg);
      }
    }

    /* --- Grid hiển thị sản phẩm --- */
    .product-grid {
      display: none;
      grid-template-columns: repeat(4, 1fr);
      gap: 28px;
      justify-items: center;
    }

    /* --- Card sản phẩm --- */
    .product-item {
      width: 100%;
      max-width: 310px;
      background: #fff;
      border: 1px solid #e2e8f0;
      border-radius: 14px;
      box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
      overflow: hidden;
      transition: all 0.3s ease;
      text-align: center;
      display: flex;
      flex-direction: column;
      cursor: pointer;
    }

    .product-item:hover {
      transform: translateY(-5px);
      box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
      border-color: #0284c7;
    }

    .product-item img {
      width: 100%;
      height: 220px;
      object-fit: cover;
      background: #f9fafb;
      display: block;
      transition: transform 0.3s ease;
    }
    .product-item:hover img {
      transform: scale(1.05);
    }

    .product-item .info {
      padding: 14px 16px 20px;
    }

    .product-item .category {
      color: #059669;
      font-weight: 600;
      font-size: 14px;
      margin-bottom: 6px;
    }

    .product-item h3 {
      font-size: 17px;
      font-weight: 700;
      color: #0f172a;
      margin: 3px 0 8px;
    }

    .product-item p {
      font-size: 15px;
      color: #475569;
      line-height: 1.55;
      margin: 0;
      max-width: 260px;
      margin-left: auto;
      margin-right: auto;
      font-family: 'Montserrat', sans-serif;
    }

    /* --- Responsive --- */
    @media (max-width: 1200px) {
      .product-grid {
        grid-template-columns: repeat(3, 1fr);
      }
    }

    @media (max-width: 900px) {
      .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
      }
    }

    @media (max-width: 600px) {
      .product-grid {
        grid-template-columns: 1fr;
        gap: 24px;
      }

      .product-item {
        max-width: 90%;
        margin: 0 auto;
        border-radius: 18px;
      }

      .product-item img {
        height: 200px;
        object-fit: cover;
        background: #fff;
      }

      .product-item .info {
        padding: 14px 18px 22px;
      }

      .tab-btn {
        flex: 1 1 42%;
        font-size: 15px;
        padding: 10px 0;
        border-radius: 28px;
      }

      .category-tabs {
        gap: 10px;
        max-width: 400px;
        margin: 0 auto 30px;
      }
    }
    
    .product-item img {
  width: 100%;
  height: 230px;              /* tăng nhẹ chiều cao */
  object-fit: contain;        /* hiển thị trọn hình, không bị crop */
  background: #f9fafb;        /* nền nhẹ trung tính */
  display: block;
  padding: 8px 0;             /* tránh dính mép card */
  transition: transform 0.3s ease, filter 0.3s ease;
}

.product-item:hover img {
  transform: scale(1.04);
  filter: brightness(1.05);
}

@media (max-width: 900px) {
  .product-item img {
    height: 210px;
    padding: 6px 0;
  }
}

@media (max-width: 600px) {
  .product-item img {
    height: 190px;
    padding: 4px 0;
  }
}
.product-item img {
    width: 100%;
    height: 340px;
    object-fit: contain;
    background: white !important;
    display: block;
    padding: 0;
    transition: transform 0.3s 
ease, filter 0.3s 
ease;
}/* End custom CSS */
/* Start custom CSS for section, class: .elementor-element-9f82f48 */.elementor-widget-wrap {
    padding : 0px  !important;
}/* End custom CSS */