body.home .elementor-element-38b58eb,
body.home .elementor-element-80b3df1 {
  display: none !important;
}

body.home .elementor-element-bf0afd5 {
  --min-height: 0;
  position: relative;
}

body.home .elementor-element-bf0afd5::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .28) 0%, rgba(0, 0, 0, .18) 45%, rgba(0, 0, 0, .45) 100%);
  pointer-events: none;
  z-index: 0;
}

body.home .elementor-element-bf0afd5 > .e-con-inner {
  position: relative;
  z-index: 1;
}

.cb-hero {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  color: #fff;
  font-family: "Bai Jamjuree", sans-serif;
}

.cb-hero-kicker {
  display: inline-block;
  margin: 0 0 10px;
  padding: 4px 10px;
  border: 1px solid rgba(241, 90, 36, .55);
  background: rgba(241, 90, 36, .16);
  color: #ffd3c2;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .7px;
  text-transform: uppercase;
}

.cb-hero-title {
  margin: 0 0 10px;
  color: #fff;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.18;
  max-width: 820px;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .35);
}

.cb-hero-sub {
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 16px;
  line-height: 1.5;
  max-width: 720px;
}

.cb-hero-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 12px;
}

.cb-hero-kicker,
.cb-hero-title,
.cb-hero-sub,
.cb-hero-more {
  animation: cbHeroFadeUp .7s ease both;
}

.cb-hero-title {
  animation-delay: .08s;
}

.cb-hero-sub {
  animation-delay: .16s;
}

.cb-hero-more {
  animation-delay: .7s;
  transition: transform .22s ease, background .22s ease, box-shadow .22s ease;
}

.cb-hero-card {
  display: flex;
  flex-direction: column;
  background: rgba(8, 8, 8, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  color: #fff;
  text-decoration: none;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .22);
  animation: cbHeroCardIn .55s ease both;
  animation-delay: calc(.22s + (var(--i, 0) * .07s));
  transition: transform .28s ease, border-color .22s ease, box-shadow .28s ease;
}

.cb-hero-card:hover,
.cb-hero-card:active {
  transform: translateY(-8px);
  border-color: #f15a24;
  box-shadow: 0 16px 30px rgba(0, 0, 0, .38), 0 0 0 1px rgba(241, 90, 36, .35);
}

.cb-hero-card-img img {
  transition: transform .45s ease;
}

.cb-hero-card:hover .cb-hero-card-img img,
.cb-hero-card:active .cb-hero-card-img img {
  transform: scale(1.06);
}

.cb-hero-more:hover,
.cb-hero-more:active {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(241, 90, 36, .35);
}

.cb-hero-card-img {
  display: block;
  position: relative;
  background: #111;
  line-height: 0;
  overflow: hidden;
}

.cb-hero-card-img img {
  width: 100%;
  height: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
}

.cb-hero-card-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.5em;
  padding: 8px 8px 0;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
}

.cb-hero-card-price,
.cb-hero-card-price .woocommerce-Price-amount {
  padding: 6px 8px 10px;
  color: #f15a24;
  font-size: 13px;
  font-weight: 700;
}

.cb-hero-more {
  display: inline-flex;
  align-items: center;
  margin-top: 20px;
  padding: 11px 18px;
  border: 1px solid #f15a24;
  background: #f15a24;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  text-decoration: none;
  border-radius: 6px;
}

.cb-hero-more:hover {
  background: #d94c1b;
  border-color: #d94c1b;
  color: #fff;
}

.cb-home {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 8px 0 40px;
  font-family: "Bai Jamjuree", sans-serif;
}

.elementor-shortcode .cb-home-search-open,
.cb-home-search-open {
  display: flex;
  align-items: stretch;
  width: 100%;
  max-width: 640px;
  height: 48px;
  margin: 0 auto;
  padding: 0;
  border: 0;
  background: transparent;
  font-family: "Bai Jamjuree", sans-serif;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.cb-home-search-field {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
  padding: 0 14px;
  background: #fff;
  border: 1px solid #ddd;
  border-right: 0;
  border-radius: 2px 0 0 2px;
}

.cb-home-search-open-icon {
  display: flex;
  color: #888;
  flex-shrink: 0;
}

.cb-home-search-placeholder {
  color: #555;
  font-size: 16px;
  font-weight: 400;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cb-home-search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  background: #ff5a00;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  border-radius: 0 2px 2px 0;
}

.cb-home-search-open:hover .cb-home-search-field {
  border-color: #ff5a00;
}

.cb-home-search-open:hover .cb-home-search-btn {
  background: #e64d00;
}

.cb-home-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 10px;
}

.cb-home-nav-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid #e4e4e4;
  border-radius: 999px;
  background: #fff;
  color: #111;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
}

.cb-home-nav-item span {
  color: #888;
  font-weight: 500;
}

.cb-home-nav-item:hover,
.cb-home-nav-all {
  border-color: #f15a24;
  color: #f15a24;
}

.cb-home-section {
  margin: 28px 0 10px;
}

.cb-home-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.cb-home-title {
  margin: 0;
  font-size: 26px;
  font-weight: 700;
  color: #111;
}

.cb-home-more {
  color: #f15a24;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .6px;
  text-decoration: none;
  white-space: nowrap;
}

.cb-home-more:hover {
  text-decoration: underline;
}

.cb-home-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.cb-home-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #ececec;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  min-height: 100%;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.cb-home-card:hover {
  border-color: #f15a24;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .08);
}

.cb-home-card-img {
  background: #f6f6f6;
  line-height: 0;
}

.cb-home-card-img img {
  width: 100%;
  height: auto;
  display: block;
}

.cb-home-card-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px;
}

.cb-home-card-name {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  color: #111;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.7em;
}

.cb-home-card-price,
.cb-home-card-price .woocommerce-Price-amount {
  color: #f15a24;
  font-size: 16px;
  font-weight: 700;
}

.cb-home-cta {
  display: flex;
  justify-content: center;
  margin: 36px 0 8px;
}

.cb-home-cta-btn {
  display: inline-block;
  background: #f15a24;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .6px;
  padding: 14px 28px;
}

.cb-home-cta-btn:hover {
  background: #d94c1b;
  color: #fff;
}

@keyframes cbHeroFadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes cbHeroCardIn {
  from {
    opacity: 0;
    transform: translateY(22px) scale(.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cb-hero-kicker,
  .cb-hero-title,
  .cb-hero-sub,
  .cb-hero-more,
  .cb-hero-card,
  .cb-hero-card-img img {
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 1024px) {
  .cb-hero-title {
    font-size: 24px;
  }

  .cb-hero-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .cb-home-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .cb-hero-title {
    font-size: 22px;
  }

  .cb-hero-sub {
    font-size: 14px;
  }

  .cb-hero-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .cb-hero-more {
    width: 100%;
    justify-content: center;
  }

  .cb-home-title {
    font-size: 20px;
  }

  .cb-home-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .cb-home-search-open {
    max-width: none;
    height: 44px;
  }

  .cb-home-search-placeholder {
    font-size: 14px;
  }

  .cb-home-search-btn {
    padding: 0 16px;
    font-size: 14px;
  }
}
