/*
Theme Name: mysportokaz
Theme URI: https://my.sportokaz.com
Description: Thème enfant de ListingHive pour personnalisation.
Author: Mojocom
Author URI: https://my.sportokaz.com
Template: listinghive
Version: 1.0.0
License: GNU General Public License v3 or later
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: child-theme, listinghive, custom
Text Domain: mysportokaz
*/

/* @import url("https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap"); */

/* body{
  font-family: "Nunito", sans-serif !important;
} */

button.button {
  /* font-family: "Nunito", sans-serif !important; */
  /* font-weight: 700 !important; */
  text-transform: uppercase !important;
  border-radius: 15px !important;
}

.has-orange-sport-background-color {
  background-color: #e8461e !important;
}
.has-bleu-sport-background-color {
  background-color: #18b8d3 !important;
}
.has-orange-sport-color {
  color: #e8461e !important;
}
.has-bleu-sport-color {
  color: #18b8d3 !important;
}
.has-blanc-color {
  color: #fff !important;
}

.hp-form__fields {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  grid-gap: 20px;
}

.hp-form__field--textarea {
  order: 89;
  grid-column: 1 / -1;
}

.hp-form__field--attachment-upload {
  order: 99;
  grid-column: 1 / -1;
}

.site-content {
  padding: 0 !important;
}

@media only screen and (max-width: 74.99em) {
  .site-content {
    padding: 0 !important;
  }
}

@media only screen and (max-width: 47.99em) {
  .hp-menu--site-header a span,
  .hp-menu--site-header button span {
    display: inline-block !important;
  }

  .header-navbar__end {
    width: 100%;
    justify-content: space-between !important;
    margin: 15px 0;
  }
}

/* Hero Banner Styles */
.hero-banner {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 60px 20px;
  color: #fff;
  margin-bottom: 50px;
}

.hero-banner::before {
  content: "";
  z-index: 1;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
}

.hero-banner__content {
  position: relative;
  z-index: 2;
  color: #fff;
}
.hero-banner__title {
  color: #fff;
}

.page span[id^="more-"] + .hp-form--listing-search,
.page span[id^="more-"] + .hp-form--vendor-search,
.tax-hp_listing_category .hp-form--listing-search,
.tax-hp_listing_category .hp-form--vendor-search {
  margin-top: 0 !important;
}
.header-navbar {
  flex-wrap: wrap;
}
.header-navbar__searchform {
  flex-basis: 100%;
}
.header-navbar__searchform form {
  width: fit-content;
  margin: 0 auto;
}
.header-navbar__menu ul li a {
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: 0.5px;
  color: #e8461e !important;
}

.hp-form.hp-form--listing-filter {
  padding: 15px;
  border-radius: 5px;
  background: #f3f3f3;
  margin: 0 auto 60px;
}
.hp-form.hp-form--listing-filter .hp-form__fields {
  grid-gap: 0;
}
.hp-form.hp-form--listing-filter .hp-form__fields input {
  background-color: white !important;
}

.site-footer {
  background-color: #e8461e;
  color: white;
}
.site-footer .widget--footer .widget__title,
.site-footer a {
  color: white;
}
.site-footer .widget--footer .widget__title::before {
  background-color: #862811;
}
.site-footer .widget--footer.widget_nav_menu li a {
  color: white;
}
.site-footer .widget--footer.tagcloud a:hover {
  background-color: white;
}

.hp-listing__title a,
.hp-listing--view-block
  .hp-listing__attributes--primary
  .hp-listing__attribute {
  font-weight: 900;
}
.hp-listing--view-block .hp-listing__created-date,
.hp-listing--view-page .hp-listing__created-date {
  color: #e8461e !important;
}
.hp-listing--view-block .hp-listing__categories a,
.hp-listing--view-page .hp-listing__categories a {
  background-color: #18b8d3 !important;
  color: white !important;
}
.hp-listing--view-block .hp-listing__categories a:hover,
.hp-listing--view-page .hp-listing__categories a:hover {
  background-color: #e8461e !important;
}

.hp-intersport-verified {
  width: 40px;
  height: 40px;
  background-image: url(./images/intersport-verified.svg);
  background-size: 30px;
  background-repeat: no-repeat;
  background-position: center;
  display: inline-block;
  padding: 10px;
}
.hp-listing--view-block {
  position: relative;
}
.hp-listing--view-block .hp-listing__verified-badge-wrapper {
  position: absolute;
  cursor: help;
  right: 10px;
  top: 10px;
  background-color: white;
  border-radius: 50%;
}

.hp-listing--view-block .hp-listing__verified-badge-wrapper::after {
  content: attr(data-tooltip);
  position: absolute;
  top: 125%; /* position du tooltip */
  left: 50%;
  transform: translateX(-50%);
  background: #333;
  color: #fff;
  padding: 5px 8px;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.block-intersport-verified {
  background-color: #eeeeee;
  color: #212121;
  padding: 30px 0;
  text-align: center;
  margin-top: 30px;
  background-image: url(./images/intersport-verified-back.png);
  background-size: auto 100%;
  background-position: right;
  background-repeat: no-repeat;
}
.block-intersport-verified .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.block-intersport-verified .col {
  flex: 0 1 800px;
}
.block-intersport-verified img {
  max-width: 80px;
  height: auto;
  flex: 0 1 100px;
}
.block-intersport-verified h2 {
  font-size: 22px;
  font-weight: 500;
  line-height: 1.1;
  text-transform: uppercase;
  color: #212121;
}
.hp-listing__verified-badge-wrapper:hover::after {
  opacity: 1;
}

.hp_title_card .hp-marque {
  font-weight: 900;
  font-size: 18px;
  line-height: 20px;
  text-decoration: none;
  color: black;
  display: block;
}

.hp_title_card .hp-modele {
  font-weight: lighter;
  font-size: 15px;
  line-height: 16px;
  color: #5f5f5f;
}
.hp_title_card .hp-taille {
  font-weight: lighter;
  font-size: 15px;
  line-height: 16px;
  color: #19b8d3;
  position: relative;
}
.hp_title_card .hp-taille::after {
  position: absolute;
  content: 'cm';
  font-weight: lighter;
  font-size: 13px;
  line-height: 16px;
  color: #19b8d3;
}
