/* ==========================================================================
   Custom styles - Badges / Product Flags (Mobile)
   ========================================================================== */

@media (max-width: 767px) {
  .product-flags li.product-flag {
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9), 0 0 2px rgba(0, 0, 0, 0.7);
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    padding: 3px 8px;
    margin-top: 0;
    margin-left: 0;
    font-size: 9px;
    font-weight: 700;
    color: #fff !important;
    text-transform: uppercase;
    word-break: break-word;
    white-space: nowrap;
    pointer-events: auto;
    border-radius: 2px;
  }
}

/* ==========================================================================
   Page 404 - Centered texts and search form
   ========================================================================== */
.page-not-found,
#page-not-found .page-header,
body#page-not-found #content,
.page-not-found #content {
  text-align: center;
}

.page-not-found .page-header h1 {
  text-align: center;
}

.page-not-found #search_widget,
.page-not-found .search-widget,
.page-not-found .search-widget form {
  margin-left: auto;
  margin-right: auto;
  justify-content: center;
  text-align: center;
}

/* ==========================================================================
   Quickview - Product title styling
   ========================================================================== */
.quickview .h1 {
  font-size: 1.35rem;
  letter-spacing: -0.5px;
  font-weight: 400;
  line-height: 1.3;
  margin-top: 0;
  margin-bottom: 0.75rem;
}

@media (max-width: 767px) {
  .quickview .h1 {
    font-size: 1.15rem;
  }
}

/* ==========================================================================
   Header Logo - Mobile max-width
   ========================================================================== */
@media (max-width: 767px) {
  #_mobile_logo .logo,
  .header-mobile .logo {
    max-width: 200px !important;
    width: auto !important;
  }
}

@media (max-width: 374px) {
  #_mobile_logo .logo,
  .header-mobile .logo {
    max-width: 100px !important;
  }
}

/* ==========================================================================
   Contact page - Submit button vertical centering
   ========================================================================== */
.page-contact .form-footer button[type="submit"],
.page-contact .form-footer input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* ==========================================================================
   Footer - Prevent iOS auto-zoom on newsletter input
   ========================================================================== */
@media (max-width: 767px) {
  body .footer-container .block_newsletter form input {
    font-size: 16px !important;
  }
}

/* ==========================================================================
   Footer - Social icons (Desktop & Mobile)
   ========================================================================== */
.block-social ul {
  display: flex !important;
  align-items: center;
  padding-top: 15px;
  list-style: none;
  margin: 0;
  padding-left: 0;
}

.block-social ul li {
  display: inline-block;
  width: 1.5rem;
  height: 1.5rem;
  margin: 0 10px 0 0;
  cursor: pointer;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
}

.block-social ul li a {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  overflow: hidden !important;
  text-indent: -9999px !important;
  font-size: 0 !important;
  line-height: 0 !important;
  color: transparent !important;
  white-space: nowrap !important;
}

.block-social ul li a:hover,
.block-social ul li a:focus,
.block-social ul li a:active {
  color: transparent !important;
  text-indent: -9999px !important;
}

.block-social ul li.facebook {
  background-image: url("../img/picto-facebook.svg");
}

.block-social ul li.instagram {
  background-image: url("../img/picto-instagram.svg");
}

.block-social ul li.tiktok {
  background-image: url("../img/picto-tiktok.svg");
}

.block-social ul li.pinterest {
  background-image: url("../img/picto-pinterest.svg");
}

.block-social ul li.linkedin {
  background-image: url("../img/picto-linkedin.svg");
}

@media (max-width: 767px) {
  .block-social ul {
    justify-content: center;
    padding-top: 10px;
  }
  .block-social ul li {
    width: 1.6rem;
    height: 1.6rem;
    margin: 0 8px;
  }
}

/* ==========================================================================
   GDPR page alignment & buttons layout (Desktop & Mobile)
   ========================================================================== */
#module-psgdpr-gdpr #content .container,
.page-customer-account #content .container {
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
}

#module-psgdpr-gdpr .psgdprinfo17 {
  margin-left: 0 !important;
  margin-right: 0 !important;
  margin-top: 15px !important;
  margin-bottom: 25px !important;
  background: #f1f1f1 !important;
  padding: 24px 28px !important;
  width: 100% !important;
  box-sizing: border-box !important;
  display: flow-root !important;
  overflow: hidden !important;
}

#module-psgdpr-gdpr .psgdprinfo17 h2 {
  font-size: 1.25rem !important;
  font-weight: 700 !important;
  margin-top: 0 !important;
  margin-bottom: 12px !important;
}

#module-psgdpr-gdpr .psgdprinfo17 p {
  color: #555 !important;
  line-height: 1.5 !important;
  margin-bottom: 16px !important;
}

#module-psgdpr-gdpr .psgdpr-buttons-wrapper {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: flex-end !important;
  align-items: center !important;
  gap: 12px !important;
  margin-top: 15px !important;
  width: 100% !important;
}

#module-psgdpr-gdpr .psgdprgetdatabtn17,
#module-psgdpr-gdpr #exportDataToPdf,
#module-psgdpr-gdpr #exportDataToCsv {
  float: none !important;
  margin: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  padding: 10px 22px !important;
  font-size: 0.8125rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px !important;
  border-radius: 0 !important;
  white-space: nowrap !important;
}

@media (max-width: 767px) {
  #module-psgdpr-gdpr .psgdprinfo17 {
    padding: 18px 16px !important;
  }

  #module-psgdpr-gdpr .psgdpr-buttons-wrapper {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
  }

  #module-psgdpr-gdpr .psgdprgetdatabtn17,
  #module-psgdpr-gdpr #exportDataToPdf,
  #module-psgdpr-gdpr #exportDataToCsv {
    width: 100% !important;
    display: block !important;
    text-align: center !important;
    white-space: normal !important;
  }
}

/* ==========================================================================
   Footer - Logos responsive height & alignment
   ========================================================================== */
#footer .footer-logos img {
  height: auto !important;
}

