/* Compact desktop and mobile category cards. */
body#index .tvcategory-slider-content-box {
  max-width: 920px;
  gap: 14px;
}

/* Final alignment inside the storefront content column. */
body#index .tvcategory-slider {
  width: 100% !important;
  max-width: 100% !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
}

body#index .tvcategory-slider-content-box {
  width: 100% !important;
  max-width: 100% !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
}

@media (max-width: 767px) {
  body#index .tvcategory-slider-content-box {
    width: auto !important;
    max-width: none !important;
    margin-right: -12px !important;
    padding-right: 12px;
    scrollbar-width: none;
  }
  body#index .tvcategory-slider-content-box::-webkit-scrollbar { display: none; }
}

body#index .zb-category-card .tvcategory-img-block {
  height: 160px;
  padding: 12px 16px 4px;
}

body#index .zb-category-card .tvcategory-img-block img {
  max-width: 220px;
}

body#index .zb-category-card .tvcategory-slider-info-box {
  min-height: 78px;
  padding: 12px 14px 13px;
}

body#index .zb-category-card .tvcmscategory-slider-title {
  font-size: 16px;
}

body#index .zb-category-arrow {
  flex-basis: 30px;
  width: 30px;
  height: 30px;
}

@media (max-width: 767px) {
  body#index .tvcategory-slider-content-box {
    max-width: none;
    gap: 10px;
  }

  body#index .tvcategory-slider-wrapper-info {
    flex-basis: 68vw;
    max-width: 250px !important;
  }

  body#index .zb-category-card .tvcategory-img-block {
    height: 155px;
  }
}

/* 2026-08 category artwork and warmer storefront card treatment. */
body#index .zb-category-card {
  overflow: hidden;
  border: 1px solid #d7e5dc;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(9, 57, 39, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

body#index .zb-category-card:hover,
body#index .zb-category-card:focus-visible {
  border-color: #ff9f2d;
  box-shadow: 0 16px 34px rgba(9, 57, 39, 0.14);
  transform: translateY(-3px);
}

body#index .zb-category-card .tvcategory-img-block {
  height: 205px;
  padding: 0;
  overflow: hidden;
  border-bottom: 0;
}

body#index .tvcategory-slider-wrapper-info:nth-child(1) .tvcategory-img-block { background: #eef7f1; }
body#index .tvcategory-slider-wrapper-info:nth-child(2) .tvcategory-img-block { background: #fff5e8; }
body#index .tvcategory-slider-wrapper-info:nth-child(3) .tvcategory-img-block { background: #fff0e3; }

body#index .zb-category-card .tvcategory-img-block img {
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.01);
  transition: transform 260ms ease;
}

body#index .zb-category-card:hover .tvcategory-img-block img { transform: scale(1.045); }

body#index .zb-category-card .tvcategory-slider-info-box {
  min-height: 92px;
  padding: 15px 15px 16px;
  border-top: 1px solid rgba(20, 87, 63, 0.10);
  background: linear-gradient(135deg, #ffffff 0%, #f4faf6 100%);
}

body#index .zb-category-card .tvcmscategory-slider-title {
  color: #0c4f38;
  font-size: 17px;
  line-height: 1.25;
  font-weight: 750;
}

body#index .zb-category-description {
  margin-top: 5px;
  color: #61766d;
  font-size: 13px;
  line-height: 1.35;
}

body#index .zb-category-arrow {
  flex-basis: 34px;
  width: 34px;
  height: 34px;
  color: #fff;
  background: #10875e;
  box-shadow: 0 6px 14px rgba(16, 135, 94, 0.22);
}

body#index .zb-category-card:hover .zb-category-arrow,
body#index .zb-category-card:focus-visible .zb-category-arrow {
  background: #f58220;
}

@media (max-width: 767px) {
  body#index .tvcategory-slider-wrapper-info {
    flex-basis: 76vw;
    max-width: 286px !important;
  }

  body#index .zb-category-card .tvcategory-img-block { height: 178px; }
  body#index .zb-category-card .tvcategory-slider-info-box {
    min-height: 88px;
    padding: 13px 14px 14px;
  }
  body#index .zb-category-card .tvcmscategory-slider-title { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  body#index .zb-category-card,
  body#index .zb-category-card .tvcategory-img-block img { transition: none; }
}
