/* ========================================================
   HOME PAGE CSS (index.html)
   ======================================================== */

/* --- 1. HERO BANNER SECTION --- */
.hero-section {
  padding-top: 20px;
  margin-bottom: 30px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 260px 1fr 240px;
  gap: 16px;
}

.hero-grid.no-category-menu {
  grid-template-columns: 1fr 240px;
}

.hero-grid.no-sub-banners {
  grid-template-columns: 260px 1fr;
}

.hero-grid.no-category-menu.no-sub-banners {
  grid-template-columns: 1fr;
}

/* Sidebar Mega Menu Left */
.hero-category-menu {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  padding: 8px 0;
}

.hero-cat-item a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  font-size: 13.5px;
  color: #444;
  font-weight: 500;
  transition: var(--transition);
}

.hero-cat-item a:hover {
  background: var(--primary-light);
  color: var(--primary-color);
  padding-left: 22px;
}

.hero-cat-item i {
  color: var(--primary-color);
  font-size: 15px;
  width: 18px;
  text-align: center;
}

/* Main Slider */
.hero-slider-wrapper {
  background: #fde8ed;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: center;
  box-shadow: var(--shadow-sm);
}

/* ========================================================
   DẠNG 1: HERO IMAGE SLIDER (CAROUSEL BANNER HÌNH ẢNH)
   ======================================================== */
.hero-image-slider {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 380px;
  overflow: hidden;
  user-select: none;
}

.hero-image-track {
  width: 100%;
  height: 100%;
  position: relative;
}

/* Kiểu Lướt ngang (Slide) */
.hero-image-slider.transition-slide .hero-image-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
  height: 100%;
}

.hero-image-slider.transition-slide .hero-image-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  position: relative;
}

/* Kiểu Mờ dần (Fade) */
.hero-image-slider.transition-fade .hero-image-track {
  position: relative;
  height: 100%;
}

.hero-image-slider.transition-fade .hero-image-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease-in-out, visibility 0.6s ease-in-out;
  z-index: 1;
}

.hero-image-slider.transition-fade .hero-image-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.hero-image-link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
}

.hero-slide-img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}

.hero-image-slider:hover .hero-slide-img {
  transform: scale(1.015);
}

/* Nút điều hướng Trái / Phải */
.hero-slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(0, 0, 0, 0.06);
  color: #1e293b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 10;
  opacity: 0;
  pointer-events: auto;
}

.hero-image-slider:hover .hero-slider-nav {
  opacity: 1;
}

.hero-slider-prev {
  left: 12px;
}

.hero-slider-next {
  right: 12px;
}

.hero-slider-nav:hover {
  background: #ffffff;
  color: var(--primary-color, #e11d48);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* Dot Indicators */
.hero-slider-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 10;
  padding: 5px 10px;
  background: rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(4px);
  border-radius: 20px;
}

.hero-slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.65);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.25s ease;
}

.hero-slider-dot:hover {
  background: #ffffff;
}

.hero-slider-dot.active {
  width: 22px;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

/* Chế độ Khớp ảnh & Chiều cao Slider (Fit Mode) */
.hero-slider-wrapper.fit-auto {
  min-height: unset !important;
  height: auto !important;
  align-items: flex-start;
  background: transparent;
  box-shadow: none;
}

.hero-image-slider.fit-auto {
  min-height: unset !important;
  height: auto !important;
}

.hero-image-slider.fit-auto .hero-image-track {
  height: auto !important;
  align-items: flex-start;
}

.hero-image-slider.fit-auto .hero-image-slide {
  height: auto !important;
}

.hero-image-slider.fit-auto .hero-image-link {
  height: auto !important;
  display: block;
}

.hero-image-slider.fit-auto .hero-slide-img {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: unset !important;
  max-height: none !important;
  object-fit: contain !important;
  display: block;
}

.hero-image-slider.fit-auto.transition-fade .hero-image-track {
  position: relative;
  height: auto !important;
}

.hero-image-slider.fit-auto.transition-fade .hero-image-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-image-slider.fit-auto.transition-fade .hero-image-slide:first-child {
  position: relative;
}

.hero-image-slider.fit-contain .hero-slide-img {
  object-fit: contain !important;
  background-color: #f8fafc;
}

.hero-image-slider.fit-cover .hero-slide-img {
  object-fit: cover !important;
}

@media (max-width: 992px) {
  .hero-slider-wrapper {
    min-height: unset !important;
    height: auto !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    background: transparent !important;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.07) !important;
  }

  .hero-image-slider {
    min-height: unset !important;
    height: auto !important;
  }

  .hero-image-track {
    height: auto !important;
    align-items: flex-start !important;
  }

  .hero-image-slide {
    height: auto !important;
  }

  .hero-image-link {
    height: auto !important;
    display: block !important;
  }

  .hero-slide-img {
    width: 100% !important;
    height: auto !important;
    min-height: unset !important;
    max-height: none !important;
    object-fit: cover !important;
    display: block !important;
    border-radius: 14px !important;
  }

  .hero-image-slider.transition-fade .hero-image-track {
    position: relative !important;
    height: auto !important;
  }

  .hero-image-slider.transition-fade .hero-image-slide:first-child {
    position: relative !important;
  }

  .hero-slider-nav {
    opacity: 0.8 !important;
    width: 30px !important;
    height: 30px !important;
    font-size: 11px !important;
    background: rgba(255, 255, 255, 0.88) !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15) !important;
  }

  .hero-slider-prev {
    left: 8px !important;
  }

  .hero-slider-next {
    right: 8px !important;
  }

  .hero-slider-dots {
    bottom: 6px !important;
    gap: 5px !important;
  }

  .hero-slider-dot {
    width: 6px !important;
    height: 6px !important;
    background: rgba(255, 255, 255, 0.6) !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4) !important;
  }

  .hero-slider-dot.active {
    width: 18px !important;
    border-radius: 8px !important;
    background: #ffffff !important;
  }
}

.slider-slide {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px 40px;
  background: linear-gradient(135deg, #fff2f6 0%, #ffe3ea 100%);
}

.slide-content {
  max-width: 50%;
}

.slide-tag {
  display: inline-block;
  background: var(--primary-color);
  color: white;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.slide-title {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.25;
  color: #2b2b2b;
  margin-bottom: 14px;
}

.slide-desc {
  font-size: 14px;
  color: #666;
  margin-bottom: 20px;
}

.btn-slide-cta {
  background: var(--primary-gradient);
  color: white;
  padding: 10px 24px;
  border-radius: var(--radius-full);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(243, 84, 120, 0.3);
}

.btn-slide-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(243, 84, 120, 0.4);
}

.slide-img {
  max-width: 48%;
  display: flex;
  justify-content: center;
}

.slide-img img {
  max-height: 320px;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.08));
}

/* Hero Right Banners */
.hero-side-banners {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.side-banner-card {
  flex: 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border-color);
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: var(--transition);
}

.side-banner-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.side-banner-1 {
  background: linear-gradient(135deg, #fff0f3 0%, #ffd8e2 100%);
  border: 1px solid #ffccd9;
}

.side-banner-2 {
  background: linear-gradient(135deg, #fff8ee 0%, #ffe9cc 100%);
  border: 1px solid #ffe2ba;
}

.side-banner-card h4 {
  font-size: 16px;
  font-weight: 800;
  color: #333;
  margin-bottom: 6px;
}

.side-banner-card p {
  font-size: 12px;
  color: #666;
}

.side-banner-card .badge-pill {
  display: inline-block;
  background: #fff;
  color: var(--primary-color);
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  border-radius: var(--radius-full);
  margin-top: 10px;
}

/* --- 2. THREE MINI BANNERS --- */
.category-promo-banners {
  margin-bottom: 30px;
}

.promo-banners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.promo-banner-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  background: #fff;
}

.promo-banner-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

@media (max-width: 768px) {
  .promo-banners-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

/* --- 3. QUICK SEARCH FILTER BOX --- */
.quick-filter-section {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 22px 30px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  margin-bottom: 30px;
}

.quick-filter-title {
  text-align: center;
  font-size: 18px;
  font-weight: 800;
  color: #222;
  margin-bottom: 4px;
}

.quick-filter-subtitle {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.quick-filter-form {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 160px;
  gap: 14px;
}

.filter-select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #e1e4e8;
  border-radius: var(--radius-sm);
  background-color: #fafbfc;
  color: #444;
  font-size: 13.5px;
  appearance: auto;
}

.filter-select:focus {
  border-color: var(--primary-color);
  background-color: #fff;
}

.btn-filter-submit {
  background: var(--primary-gradient);
  color: white;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-filter-submit:hover {
  opacity: 0.95;
  box-shadow: 0 4px 12px rgba(243, 84, 120, 0.3);
}

/* --- 4. CIRCLE CATEGORY ICONS --- */
.highlight-categories-section {
  margin-bottom: 35px;
}

.circle-cats-grid {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 12px;
  background: #fff;
  padding: 24px 16px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.circle-cat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  transition: var(--transition);
}

.circle-cat-item:hover {
  transform: translateY(-4px);
}

.circle-cat-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
  transition: var(--transition);
}

.circle-cat-item:hover .circle-cat-icon {
  transform: scale(1.08);
}

.circle-cat-name {
  font-size: 12px;
  font-weight: 600;
  color: #444;
  line-height: 1.3;
}

/* Icon pastel colors */
.cat-c-1 {
  background: #ffeaa7;
  color: #d35400;
}

.cat-c-2 {
  background: #fab1a0;
  color: #c0392b;
}

.cat-c-3 {
  background: #81ecec;
  color: #0097e6;
}

.cat-c-4 {
  background: #74b9ff;
  color: #0984e3;
}

.cat-c-5 {
  background: #fdcb6e;
  color: #e67e22;
}

.cat-c-6 {
  background: #e17055;
  color: #ffffff;
}

.cat-c-7 {
  background: #a8e6cf;
  color: #27ae60;
}

.cat-c-8 {
  background: #dcdde1;
  color: #2f3640;
}

.cat-c-9 {
  background: #fd79a8;
  color: #e84393;
}

.cat-c-10 {
  background: #ff7675;
  color: #d63031;
}

/* --- 5. FLASH SALE SECTION --- */
.flash-sale-section {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-md);
  border: 2px solid #ffd6e0;
  margin-bottom: 40px;
}

.flash-sale-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 15px;
}

.flash-sale-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.flash-sale-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary-color);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
}

@media (max-width: 600px) {
  .flash-sale-left {
    flex-direction: column;
  }
}

/* Countdown box */
.countdown-box {
  display: flex;
  align-items: center;
  gap: 6px;
}

.countdown-box .time-num {
  background: #2d3436;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
  min-width: 32px;
  text-align: center;
}

.countdown-box .time-colon {
  font-weight: 800;
  color: #2d3436;
}

/* Flash sale sub-links */
.sale-quick-links {
  display: flex;
  gap: 15px;
  font-size: 12.5px;
  color: #666;
}

.sale-quick-links a:hover {
  color: var(--primary-color);
}

.product-grid-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 15px;
}

.section-footer-action {
  text-align: center;
  margin-top: 25px;
}

@media (max-width: 600px) {
  .sale-quick-links {
    flex-wrap: wrap-reverse;
  }
}

/* --- 6. CATEGORY BLOCKS (SỮA, BỈM, SỨC KHỎE) --- */
.category-block-section {
  margin-bottom: 45px;
}

.cat-block-with-banner {
  display: grid;
  grid-template-columns: var(--block2-banner-w, 280px) 1fr;
  gap: 16px;
}

.cat-side-banner {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  position: relative;
  min-height: 100%;
  display: block;
}

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

.cat-side-banner-image-only:hover img {
  transform: scale(1.02);
}

.cat-side-banner-image-only.fit-contain {
  background: #ffffff;
}

.cat-side-banner-image-only.fit-contain img {
  object-fit: contain;
}

.cat-side-banner-image-only.fit-auto img {
  height: auto;
  object-fit: unset;
}

.product-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

/* Mid-Page Promo Strip */
.mid-promo-strip {
  margin: 40px 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.mid-promo-strip img {
  width: 100%;
}

/* --- 7. BRANDS CAROUSEL --- */
.brands-section {
  /* background: #fff;
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm); */
  margin-bottom: 40px;
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  align-items: center;
}

.brand-card {
  padding: 15px;
  background: #fafbfc;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 70px;
  border: 1px solid #f0f0f0;
  transition: var(--transition);
}

.brand-card:hover {
  border-color: var(--primary-color);
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.brand-card img {
  max-height: 45px;
  object-fit: contain;
  filter: grayscale(20%);
  transition: var(--transition);
}

.brand-card:hover img {
  filter: grayscale(0%);
}

/* --- 8. NEWS SECTION --- */
.news-section {
  margin-bottom: 40px;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.news-card {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.news-thumb {
  height: 180px;
  overflow: hidden;
  position: relative;
}

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

.news-card:hover .news-thumb img {
  transform: scale(1.05);
}

.news-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.news-title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 8px;
  color: #222;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.news-title a:hover {
  color: var(--primary-color);
}

.news-meta {
  font-size: 11.5px;
  color: #888;
  margin-bottom: 10px;
}

.news-excerpt {
  font-size: 12.5px;
  color: #666;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 12px;
}

.news-readmore {
  margin-top: auto;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--primary-color);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s ease;
}

.news-readmore:hover {
  gap: 8px;
  opacity: 0.9;
}

/* Responsive */
@media (max-width: 1200px) {
  .hero-grid {
    grid-template-columns: 240px 1fr;
  }

  .hero-side-banners {
    display: none;
  }

  .product-grid-5 {
    grid-template-columns: repeat(4, 1fr);
  }

  .circle-cats-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (max-width: 992px) {
  .hero-section {
    padding-top: 10px !important;
    margin-bottom: 16px !important;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .hero-category-menu {
    display: none;
  }

  .hero-slider-wrapper {
    min-height: unset !important;
    height: auto !important;
  }

  .slider-slide {
    padding: 24px 28px;
    gap: 20px;
  }

  .slide-title {
    font-size: 26px;
  }

  .product-grid-4,
  .product-grid-5 {
    grid-template-columns: repeat(3, 1fr);
  }

  .cat-block-with-banner {
    grid-template-columns: 1fr;
  }

  .brands-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .quick-filter-form {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding-top: 8px !important;
    margin-bottom: 14px !important;
  }

  .hero-slider-wrapper {
    border-radius: 14px !important;
  }

  .slider-slide {
    flex-direction: column-reverse;
    align-items: center;
    text-align: center;
    padding: 24px 18px 20px;
    gap: 16px;
    position: relative;
    overflow: hidden;
  }

  .slide-content {
    max-width: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .slide-tag {
    font-size: 11px;
    padding: 4px 12px;
    margin-bottom: 10px;
    letter-spacing: 0.3px;
  }

  .slide-title {
    font-size: 22px;
    line-height: 1.3;
    margin-bottom: 10px;
  }

  .slide-desc {
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 16px;
    max-width: 92%;
    color: #555;
  }

  .btn-slide-cta {
    padding: 9px 22px;
    font-size: 13.5px;
    border-radius: 30px;
  }

  .slide-img {
    max-width: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 4px;
  }

  .slide-img img {
    max-height: 180px;
    max-width: 85%;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  }
}

@media (max-width: 576px) {
  .hero-section {
    padding-top: 8px;
    margin-bottom: 14px;
  }

  .slider-slide {
    padding: 20px 14px 18px;
    border-radius: 14px;
  }

  .slide-title {
    font-size: 20px;
    font-weight: 800;
  }

  .slide-desc {
    font-size: 12.5px;
    max-width: 100%;
    margin-bottom: 14px;
  }

  .slide-img img {
    max-height: 160px;
  }

  .btn-slide-cta {
    width: 100%;
    max-width: 240px;
    justify-content: center;
    padding: 10px 18px;
    font-size: 13px;
  }

  .product-grid-4,
  .product-grid-5 {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .circle-cats-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .brands-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .quick-filter-form {
    grid-template-columns: 1fr;
  }
}