/* Teneprime Tour Category Cards */
body.tpc-tour-category-page #sidebar,
body.tpc-tour-category-page .et_pb_widget_area,
body.tpc-tour-category-page aside {
  display: none !important;
}

body.tpc-tour-category-page #left-area,
body.tpc-tour-category-page #content-area {
  float: none !important;
  width: 100% !important;
  padding-right: 0 !important;
}

body.tpc-tour-category-page #main-content .container:before {
  display: none !important;
}

body.tpc-tour-category-page #main-content .container,
body.tpc-tour-category-page .woocommerce,
body.tpc-tour-category-page .woocommerce-page,
body.tpc-tour-category-page #main-content .woocommerce-products-header,
body.tpc-tour-category-page #main-content .woocommerce-notices-wrapper,
body.tpc-tour-category-page #main-content .woocommerce-result-count,
body.tpc-tour-category-page #main-content .woocommerce-ordering {
  width: 98% !important;
  max-width: 1600px !important;
  box-sizing: border-box !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body.tpc-tour-category-page .woocommerce ul.products,
body.tpc-tour-category-page .woocommerce-page ul.products,
body.tpc-tour-category-page #main-content ul.products {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body.tpc-tour-category-page .woocommerce ul.products,
body.tpc-tour-category-page .woocommerce-page ul.products,
body.tpc-tour-category-page #main-content ul.products {
  display: grid !important;
  float: none !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: clamp(24px, 2vw, 32px) !important;
  align-items: start !important;
  justify-content: center !important;
  padding: 0 !important;
  margin-bottom: 56px !important;
  overflow: visible !important;
  list-style: none !important;
}

body.tpc-tour-category-page .woocommerce ul.products::before,
body.tpc-tour-category-page .woocommerce ul.products::after,
body.tpc-tour-category-page .woocommerce-page ul.products::before,
body.tpc-tour-category-page .woocommerce-page ul.products::after {
  display: none !important;
  content: none !important;
}

body.tpc-tour-category-page .woocommerce ul.products li.product,
body.tpc-tour-category-page .woocommerce-page ul.products li.product,
body.tpc-tour-category-page ul.products li.product,
body.tpc-tour-category-page ul.products li.product.tpc-tour-product-card {
  position: relative !important;
  min-height: clamp(300px, 25vw, 340px) !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
  float: none !important;
  clear: none !important;
  margin: 0 !important;
  left: auto !important;
  right: auto !important;
}

body.tpc-tour-category-page ul.products li.product.tpc-tour-product-card {
  overflow: hidden !important;
  border-radius: 24px !important;
  background-color: #243044 !important;
  background-size: cover !important;
  background-position: center !important;
  box-shadow: 0 20px 55px rgba(15, 23, 42, .16) !important;
}

body.tpc-tour-category-page ul.products li.product.tpc-tour-product-card,
body.tpc-tour-category-page ul.products li.product.tpc-tour-product-card .tpc-tour-card-overlay {
  inline-size: 100% !important;
}

body.tpc-tour-category-page ul.products li.product.tpc-tour-product-card > *:not(.tpc-tour-card-overlay):not(.tpc-tour-card-meta) {
  display: none !important;
}

body.tpc-tour-category-page ul.products li.product.tpc-tour-product-card:first-child:last-child {
  width: 100% !important;
  max-width: 100% !important;
}

body.tpc-tour-category-page .tpc-tour-card-overlay {
  position: absolute !important;
  inset: 0 !important;
  z-index: 2 !important;
  isolation: isolate !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
  padding: clamp(28px, 2.5vw, 36px) !important;
  color: #fff !important;
}

body.tpc-tour-category-page .tpc-tour-card-overlay:before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  background:
    linear-gradient(90deg, rgba(10, 18, 32, .74), rgba(10, 18, 32, .38) 48%, rgba(10, 18, 32, .08)),
    linear-gradient(0deg, rgba(10, 18, 32, .74), rgba(10, 18, 32, .08) 58%) !important;
}

body.tpc-tour-category-page .tpc-tour-card-badge {
  position: absolute !important;
  z-index: 4 !important;
  top: 24px !important;
  right: 24px !important;
  min-width: 118px !important;
  border-radius: 22px !important;
  padding: 13px 16px !important;
  background: #d7b85a !important;
  color: #fff !important;
  text-align: center !important;
  font-weight: 900 !important;
  line-height: 1.05 !important;
  letter-spacing: .04em !important;
}

body.tpc-tour-category-page .tpc-tour-card-badge strong,
body.tpc-tour-category-page .tpc-tour-card-badge span {
  display: block !important;
}

body.tpc-tour-category-page .tpc-tour-card-badge strong {
  font-size: 17px !important;
}

body.tpc-tour-category-page .tpc-tour-card-badge span {
  margin-top: 4px !important;
  font-size: 12px !important;
}

body.tpc-tour-category-page .tpc-tour-card-map {
  position: absolute !important;
  z-index: 1 !important;
  right: clamp(24px, 2.5vw, 36px) !important;
  bottom: clamp(28px, 2.5vw, 36px) !important;
  display: block !important;
  width: clamp(110px, 9.6vw, 170px) !important;
  max-width: 29% !important;
  max-height: 170px !important;
  object-fit: contain !important;
  opacity: .82 !important;
  pointer-events: none !important;
  filter: drop-shadow(0 14px 20px rgba(0, 0, 0, .28)) !important;
}

body.tpc-tour-category-page .tpc-tour-card-title {
  position: relative !important;
  z-index: 2 !important;
  max-width: min(720px, calc(100% - 180px)) !important;
  margin: 0 0 18px !important;
  color: #fff !important;
  font-size: clamp(30px, 2.25vw, 42px) !important;
  line-height: 1.08 !important;
  font-weight: 900 !important;
  letter-spacing: 0 !important;
  overflow-wrap: anywhere !important;
}

body.tpc-tour-category-page .tpc-tour-card-desc {
  position: relative !important;
  z-index: 2 !important;
  max-width: min(800px, calc(100% - 112px)) !important;
  margin: 0 0 24px !important;
  color: rgba(255, 255, 255, .94) !important;
  font-size: clamp(14px, .95vw, 16px) !important;
  line-height: 1.45 !important;
  font-weight: 800 !important;
}

body.tpc-tour-category-page .tpc-tour-card-button {
  position: relative !important;
  z-index: 2 !important;
  align-self: flex-start !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  max-width: 100% !important;
  min-height: 42px !important;
  border-radius: 10px !important;
  padding: 11px 22px !important;
  background: #d7b85a !important;
  color: #111827 !important;
  font-size: clamp(13px, .9vw, 15px) !important;
  font-weight: 900 !important;
  text-align: center !important;
  text-decoration: none !important;
  white-space: normal !important;
  box-shadow: none !important;
}

body.tpc-tour-category-page .tpc-tour-card-button:hover {
  background: #caa945 !important;
  color: #111827 !important;
}

body.tpc-tour-category-page #main-content aside {
  display: none !important;
}

body.tpc-tour-category-page .tpc-tour-extra-info {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  margin: 0 auto 72px !important;
  padding: clamp(26px, 3vw, 46px) !important;
  border-radius: 24px !important;
  background:
    linear-gradient(135deg, rgba(215, 184, 90, .18), rgba(215, 184, 90, 0) 36%),
    linear-gradient(135deg, #172033, #2f363b) !important;
  color: #fff !important;
  box-shadow: 0 24px 70px rgba(15, 23, 42, .18) !important;
  overflow: hidden !important;
  position: relative !important;
}

body.tpc-tour-category-page .tpc-tour-extra-info:before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  border: 1px solid rgba(255, 255, 255, .12) !important;
  border-radius: inherit !important;
  pointer-events: none !important;
}

body.tpc-tour-category-page .tpc-tour-extra-head {
  max-width: 760px !important;
  margin: 0 0 26px !important;
  position: relative !important;
  z-index: 1 !important;
}

body.tpc-tour-category-page .tpc-tour-extra-head span {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 30px !important;
  margin: 0 0 12px !important;
  padding: 7px 12px !important;
  border-radius: 999px !important;
  background: rgba(215, 184, 90, .18) !important;
  color: #d7b85a !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
}

body.tpc-tour-category-page .tpc-tour-extra-head h2 {
  margin: 0 !important;
  color: #fff !important;
  font-size: clamp(30px, 3vw, 46px) !important;
  line-height: 1.08 !important;
  font-weight: 900 !important;
  letter-spacing: 0 !important;
}

body.tpc-tour-category-page .tpc-tour-extra-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 18px !important;
  position: relative !important;
  z-index: 1 !important;
}

body.tpc-tour-category-page .tpc-tour-extra-card {
  min-height: 210px !important;
  padding: clamp(22px, 2vw, 30px) !important;
  border: 1px solid rgba(255, 255, 255, .12) !important;
  border-radius: 18px !important;
  background: rgba(255, 255, 255, .07) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08) !important;
}

body.tpc-tour-category-page .tpc-tour-extra-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 46px !important;
  height: 46px !important;
  margin: 0 0 18px !important;
  border-radius: 14px !important;
  background: #d7b85a !important;
  color: #111827 !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
}

body.tpc-tour-category-page .tpc-tour-extra-card h3 {
  margin: 0 0 12px !important;
  color: #fff !important;
  font-size: clamp(22px, 1.55vw, 28px) !important;
  line-height: 1.15 !important;
  font-weight: 900 !important;
  letter-spacing: 0 !important;
}

body.tpc-tour-category-page .tpc-tour-extra-card p {
  margin: 0 !important;
  color: rgba(255, 255, 255, .82) !important;
  font-size: 16px !important;
  line-height: 1.65 !important;
  font-weight: 700 !important;
}

body.tpc-tour-category-page .tpc-tour-extra-contact {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 10px 14px !important;
  margin: 20px 0 0 !important;
  padding: 18px 20px !important;
  border-radius: 16px !important;
  background: rgba(0, 0, 0, .22) !important;
  color: rgba(255, 255, 255, .9) !important;
  position: relative !important;
  z-index: 1 !important;
}

body.tpc-tour-category-page .tpc-tour-extra-contact strong {
  color: #fff !important;
  font-weight: 900 !important;
}

body.tpc-tour-category-page .tpc-tour-extra-contact a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 38px !important;
  padding: 9px 14px !important;
  border-radius: 999px !important;
  background: #d7b85a !important;
  color: #111827 !important;
  font-weight: 900 !important;
  text-decoration: none !important;
}

body.tpc-tour-category-page .tpc-tour-extra-contact a:hover {
  background: #caa945 !important;
  color: #111827 !important;
}

@media (max-width: 1450px) {
  body.tpc-tour-category-page #main-content .container,
  body.tpc-tour-category-page .woocommerce,
  body.tpc-tour-category-page .woocommerce-page,
  body.tpc-tour-category-page #main-content .woocommerce-products-header,
  body.tpc-tour-category-page #main-content .woocommerce-result-count,
  body.tpc-tour-category-page #main-content .woocommerce-ordering {
    width: 92% !important;
    max-width: 100% !important;
  }

  body.tpc-tour-category-page .woocommerce ul.products,
  body.tpc-tour-category-page .woocommerce-page ul.products,
  body.tpc-tour-category-page #main-content ul.products {
    width: 100% !important;
    max-width: 100% !important;
  }

  body.tpc-tour-category-page .woocommerce ul.products,
  body.tpc-tour-category-page .woocommerce-page ul.products,
  body.tpc-tour-category-page #main-content ul.products {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  body.tpc-tour-category-page ul.products li.product.tpc-tour-product-card {
    min-height: clamp(340px, 42vw, 430px) !important;
  }

  body.tpc-tour-category-page .tpc-tour-card-title {
    font-size: clamp(30px, 4vw, 42px) !important;
    max-width: calc(100% - 170px) !important;
  }

  body.tpc-tour-category-page .tpc-tour-card-desc {
    max-width: calc(100% - 120px) !important;
    font-size: 15px !important;
  }
}

@media (max-width: 980px) {
  body.tpc-tour-category-page #main-content .container,
  body.tpc-tour-category-page .woocommerce,
  body.tpc-tour-category-page .woocommerce-page,
  body.tpc-tour-category-page #main-content .woocommerce-products-header,
  body.tpc-tour-category-page #main-content .woocommerce-result-count,
  body.tpc-tour-category-page #main-content .woocommerce-ordering {
    width: 92% !important;
    max-width: 100% !important;
  }

  body.tpc-tour-category-page .woocommerce ul.products,
  body.tpc-tour-category-page .woocommerce-page ul.products,
  body.tpc-tour-category-page #main-content ul.products {
    width: 100% !important;
    max-width: 100% !important;
  }

  body.tpc-tour-category-page .woocommerce ul.products,
  body.tpc-tour-category-page .woocommerce-page ul.products,
  body.tpc-tour-category-page #main-content ul.products {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  body.tpc-tour-category-page ul.products li.product.tpc-tour-product-card:first-child:last-child {
    max-width: none !important;
  }

  body.tpc-tour-category-page .tpc-tour-card-title,
  body.tpc-tour-category-page .tpc-tour-card-desc {
    max-width: calc(100% - 155px) !important;
  }
}

@media (max-width: 760px) {
  body.tpc-tour-category-page #main-content .container,
  body.tpc-tour-category-page .woocommerce,
  body.tpc-tour-category-page .woocommerce-page,
  body.tpc-tour-category-page #main-content .woocommerce-products-header,
  body.tpc-tour-category-page #main-content .woocommerce-result-count,
  body.tpc-tour-category-page #main-content .woocommerce-ordering {
    width: 92% !important;
    max-width: 100% !important;
  }

  body.tpc-tour-category-page .woocommerce ul.products,
  body.tpc-tour-category-page .woocommerce-page ul.products,
  body.tpc-tour-category-page #main-content ul.products {
    width: 100% !important;
    max-width: 100% !important;
  }

  body.tpc-tour-category-page ul.products li.product.tpc-tour-product-card {
    min-height: 410px !important;
  }

  body.tpc-tour-category-page .tpc-tour-card-overlay {
    padding: 24px !important;
  }

  body.tpc-tour-category-page .tpc-tour-card-title,
  body.tpc-tour-category-page .tpc-tour-card-desc {
    max-width: 100% !important;
  }

  body.tpc-tour-category-page .tpc-tour-card-title {
    font-size: clamp(26px, 8vw, 32px) !important;
  }

  body.tpc-tour-category-page .tpc-tour-card-badge {
    position: static !important;
    align-self: flex-start !important;
    margin-bottom: 18px !important;
  }

  body.tpc-tour-category-page .tpc-tour-card-map {
    position: static !important;
    align-self: flex-start !important;
    width: min(144px, 43vw) !important;
    max-width: 45% !important;
    max-height: 144px !important;
    margin: -8px 0 18px !important;
    opacity: .76 !important;
  }

  body.tpc-tour-category-page .tpc-tour-extra-info {
    width: 92% !important;
    margin-bottom: 54px !important;
    border-radius: 20px !important;
  }

  body.tpc-tour-category-page .tpc-tour-extra-grid {
    grid-template-columns: 1fr !important;
  }

  body.tpc-tour-category-page .tpc-tour-extra-card {
    min-height: auto !important;
  }
}

@media (max-width: 420px) {
  body.tpc-tour-category-page ul.products li.product.tpc-tour-product-card {
    min-height: 450px !important;
  }

  body.tpc-tour-category-page .tpc-tour-card-button {
    width: 100% !important;
  }
}
