/* ND */
#header .header-nav {
  background-color: var(--header-top);
}

#product .tax-shipping-delivery-label {
  display: block;
}

#manufacturer nav.col-12.pt-0.pb-5.breadcrumb {
  display: none;
}

#product .product-add-to-cart .add {
  flex-direction: column;
}

/* Adaptation for MT */
#module-payplug-cards #content-wrapper {
  width: 70% !important;
}

#module-payplug-cards #wrapper .container-fluid .row {
  display: flex !important;
  justify-content: center !important;
}

#module-payplug-cards .page-footer .btn {
  width: auto;
}

#product .payplugOneyCta_wrapper {
  margin-top: 20px;
}

/*
[data-scheme="dark"] {
    #product .form-control:not(.sw_sws), #product select:not(.sw_sws), #product input:not(.sw_sws) {
        color: white !important;
        }
}
*/

#product .ceos-product-availability.plabel {
  display: none !important;
}

/*
GIFTCARD
*/

#module-giftcard-choicegiftcard #content-wrapper {
  width: 70% !important;
}

#module-giftcard-choicegiftcard .container-fluid .row {
  display: flex !important;
  justify-content: center !important;
}

#module-giftcard-choicegiftcard h1 {
  font-family: var(--font2);
  font-weight: var(--font2-weight3);
  font-size: 1.625rem;
  background-color: var(--primary-color);
  background: linear-gradient(
    45deg,
    var(--primary-color),
    var(--gradient-second) 80%
  );
  background-size: 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: center;
  text-transform: none;
  padding-top: 43px;
  padding-bottom: 15px;
  margin: 0;
}

.cm_green .product-title {
  font-size: 0.9rem;
  margin-bottom: 6px;
  min-height: 45px;
  max-height: 45px;
}

@media (max-width: 640px) {
  .cm_green .product-title {
    min-height: 61px;
    max-height: 61px;
  }
}

.cm_green .product-description .pd_stock,
#product #stockBkLabel .pd_stock {
  font-size: 0.8rem;
}

#product #stockBkLabel .txtavailable {
  color: #28a745;
  font-weight: 600;
}
#product #stockBk .txtoutofstock {
  color: #dc3545;
  font-weight: 600;
}

.monetico-img {
  display: flex;
  max-width: 100%;
  justify-content: center;
}

.monetico-img > span {
  font-size: 0.7rem;
  color: #000;
  font-size: 0.7rem;
  color: #000;
  font-family: Poppins, sans-serif;
  font-weight: 400;
  align-items: center;
  text-transform: uppercase;
  display: flex;
}

#product .bkprod_right {
  padding-top: 15px !important;
}

div.product-attrs {
  min-height: 18px;
  max-height: 18px;
  display: flex;
  justify-content: center;
  margin: 2px 0;
  font-size: 0.8rem;
  font-weight: 600;
}

/* 10/08/2023 */

#checkout .checkout-step .nav-inline li.nav-item {
  margin-right: 0;
}

#checkout .checkout-step .nav-inline li.nav-item .nav-link {
  padding: 0.65rem 0.9rem;
}

#checkout .checkout-step .warn_guestorder {
  font-size: 0.9rem;
  color: #ec3d3d;
  line-height: 1.1;
  padding: 0.5rem 0 1.2rem 0;
}

#checkout .checkout-step .nav-inline li.nav-item .nav-link.active {
  background-color: var(--primary-color);
  color: white;
}

#checkout .checkout-step .nav-inline li.nav-item:first-child a {
  padding: 0.65rem 0.9rem;
}

#checkout .checkout-step .nav-inline li.nav-item .btn {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

#checkout .checkout-step .nav-separator {
  display: none;
}

#product .product-description h2 {
  font-size: 1rem !important;
}

#product .product-prices .pprices {
  margin-bottom: 0;
}

#product .product-variants > .product-variants-item {
  margin-top: 0.85rem;
}

/*----------------------------------------------------------------
Padd-Wide permettait de faire la transition du full width */

/*body .padd-wide {
  padding-left: 6em;
  padding-right: 6em;
  margin: 0 auto;
  max-width: 1600px;
}

body .padd-wide.ppl {
  padding-left: 4em;
  padding-right: 4em;
}

@media all and (max-width: 1200px) {
  body .padd-wide {
    padding-left: 3em;
    padding-right: 3em;
  }
  body .padd-wide.ppl {
    padding-left: 0.9em;
    padding-right: 0.9em;
  }
}

@media all and (max-width: 768px) {
  body .padd-wide {
    padding-left: 1em;
    padding-right: 1em;
  }
  body .padd-wide.ppl {
    padding-left: 0.5em;
    padding-right: 0.5em;
  }
}*/

@media all and (min-width: 992px) {
  #js-product-list .col-lg-3.cm_green.px-2 {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
  }
}

#product .product-description h3 {
  margin-bottom: 8px;
}

#authentication #wrapper .btn.inactive,
#password #wrapper .btn.inactive {
  color: white !important;
  background-color: var(--primary-color) !important;
}

#authentication #wrapper .btn.active:hover,
#password #wrapper .btn.active:hover {
  color: white !important;
  background-color: var(--primary-color) !important;
}

/* Site Full Size */
html {
  overflow-x: hidden;
}

@media (min-width: 1200px) {
  .container-xl,
  .container-lg,
  .container-md,
  .container-sm,
  .container {
    max-width: 1920px;
  }
}

@media all and (min-width: 992px) {
  #js-product-list .cm_green.px-2,
  .products .cm_green.px-2,
  #products .swfilter_block,
  .padd-wide {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
  }
}

#header .header-banner {
  display: none;
}

/* Add border top dans les listes produits */
.product-miniature .thumbnail-container .product-thumbnail img {
  border-top: 3px solid var(--primary-color);
}

.cm_green .product-miniature {
  margin-bottom: 35px;
}

/* Libère espaces verticaux dans fiche produit */
#product .product-variants > .product-variants-item {
  padding: 0.35rem 0 1.25rem 0;
}

#product .featured-products {
  padding-top: 0.3rem;
  padding-bottom: 0;
  margin-top: 0;
}

#product .cm_green .product-miniature {
  margin-bottom: 0;
}

#product .bkprod_right {
  padding-bottom: 0;
}

#swoverlay-swtm_filter_btn {
  background: var(--btn-color-bg);
  color: var(--white);
  font-weight: 600;
}

.is-dark,
[data-scheme="dark"] a:hover {
  color: var(--white);
}

#subcategories > .subcategory-heading {
  padding: 10px 0 10px 0;
}
#subcategories > .subcategories-list {
  text-align: center;
}

.product-information .product-quantities label {
  padding: 6px 10px;
}

#product #stockBkLabel .circle,
.inStock-info .circle {
  width: 12px;
  min-width: 12px;
  min-height: 12px;
  height: 12px;
  border-radius: 50%;
}

#product #stockBkLabel .textavailable,
.inStock-info .textavailable {
  color: #28a745;
  font-weight: 600;
}
#product #stockBkLabel .circle.available,
.inStock-info .circle.available {
  background-color: #28a745;
}

#product #stockBkLabel .textavailablelater,
.inStock-info .textavailablelater {
  color: #f0ad4e;
  font-weight: 600;
}
#product #stockBkLabel .circle.availablelater,
.inStock-info .circle.availablelater {
  background-color: #f0ad4e;
}

#product #stockBkLabel .textoutofstock,
.inStock-info .textoutofstock {
  color: #dc3545;
  font-weight: 600;
}
#product #stockBkLabel .circle.outofstock,
.inStock-info .circle.outofstock {
  background-color: #dc3545;
}

.pd_stock {
  font-size: 0.75rem;
  line-height: 1.1;
  padding-left: 6px;
}

.swcustomtext-bk .container {
  display: flex;
  justify-content: space-between;
}

.swcustomtext-bk .container .contact {
  align-self: center;
}

.newsletter-title {
  font-size: 1rem;
}

.monetico-img span {
  color: var(--color-txt-l1);
}

.payplugOneyCta span {
  color: var(--color-txt-l1);
}

#product .product-description .ceos-product-availability.plabel {
  display: flex !important;
}

#subcategories .subcat-scroll:before,
#subcategories .subcat-scroll:after {
  display: none !important;
}

#subcategories .subcategories-list {
  text-align: center;
}

.block-category {
  padding: 0;
}

.block-category .block-category-inner {
  position: relative;
  justify-content: center;
}

.block-category .block-category-inner .category-cover img {
  width: 100%;
  height: 100%;
}

.category-cover .title-cover {
  position: absolute;
  background: rgba(0, 0, 0, 0.2);
  top: 50%;
  transform: translate(0, -50%);
  color: var(--white);
  padding: 5px 15px;
}

/*.category-cover .title-cover.no-cover {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}*/

.category-cover .title-cover .breadcrumb,
.category-cover .title-cover .breadcrumb a {
  color: var(--white);
}

.category-cover .title-cover .breadcrumb a:hover {
  color: var(--primary-color);
}

@media screen and (max-width: 767px) {
  /*.block-category {
    padding: 15px 0;
  }*/
  .category-cover .title-cover {
    padding: 0;
  }
  .block-category .block-category-inner .category-cover img {
    object-fit: cover;
    width: 100%;
    height: 85px;
  }
}

#subcategories .subcategories-list .subcat-tag .subcategory-name {
  margin: 0;
}
#subcategories .subcategories-list {
  padding-left: 14px;
}

#subcategories .subcategories-list .subcat-tag {
  max-width: 250px;
  width: 250px;
  padding: 4px 0;
  margin: 0 4px;
}

#subcategories .subcategories-list .subcat-tag .subcategory-image img {
  margin-bottom: 15px;
  border-radius: 0.4rem;
}

.category-cover .title-cover .breadcrumb > ol {
  flex-wrap: wrap !important;
}

.newsletter-title {
  font-size: 1rem;
}

/* Gestion du module newsletter popup*/
.ynp-inner-wrapper h4 {
  color: var(--white);
}

.ynp-form {
  background-color: rgba(0, 0, 0, 0.4);
}

.ynp-form .reduction_color {
  color: inherit;
}

.ynp-input-row input,
.ynp-input-row select {
  background-color: rgb(0, 0, 0, 0.5) !important;
}

.ynpt4 .ynp-form {
  border: none;
}

.ynp-button {
  width: 100%;
  display: flex;
  height: 40px;
}

.ynp-button .btn {
  font-size: 1rem;
}

.ynpt4 .alert-danger {
  color: #842029;
  background-color: #f8d7da;
  border-color: #f5c2c7;
}

.ybc-newsletter-popup .alert-success > h3 {
  color: var(--primary-color);
}

.ynpt4 .ybc_nlt_content {
  background-color: var(--bodybg);
}

.ynpt4 * {
  color: var(--color-txt);
}

.returnto-stores {
  display: none;
}

.block-social {
  align-content: center;
}

#product
  .product-variants
  > .product-variants-item
  input.disableattr-input
  + span {
  opacity: 0.4 !important;
}

/*Gifcard mobile version*/
@media (max-width: 768px) {
  #choicegiftcard h2.step-title {
    margin-bottom: 5px;
  }

  #choicegiftcard h2.step-title .step-edit {
    float: none;
    text-align: right;
  }

  #choicegiftcard section .gc-section-content {
    padding: 0;
  }

  #choicegiftcard .gc-receptmode-options .gc-receptmode-option label {
    margin-bottom: 8px;
  }

  #choicegiftcard #recepmode-mail-additional-information {
    margin: 0;
  }

  #choicegiftcard #recepmode-mail-additional-information .select.datesendcard {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    gap: 8px;
  }

  #choicegiftcard
    #recepmode-mail-additional-information
    .select.datesendcard
    select {
    text-align: center;
  }

  #choicegiftcard .jcarousel-control-prev,
  #choicegiftcard .jcarousel-control-next {
    color: var(--btn-color-txt);
    background-color: var(--btn-color-bg);
  }

  #module-giftcard-choicegiftcard .container-fluid #content-wrapper {
    width: 90% !important;
  }

  #choicegiftcard .gctabs li a {
    width: 100%;
  }

  #choicegiftcard .ta-gc-submit {
    gap: 5px;
    margin: 0;
  }
}
/*End Gifcard mobile version*/

/* Start product variants mobile and loader */
@media (max-width: 768px) {
  .product-variants .product-variants-item #group_2 {
    flex-direction: column;
    max-height: calc(50px * 3) /*Nb line*/;
    overflow-x: auto;
    padding-bottom: 10px;
    margin-left: -1.5rem;
    margin-right: -1.5rem;
  }

  #product .product-variants > .product-variants-item #group_2 label {
    width: 100%;
    /*min-width: 180px;*/
  }

  #product
    .product-variants
    > .product-variants-item
    #group_2
    input
    + .radio-label {
    width: 100%;
    font-size: 3.4vw;
    padding-left: 5px;
    padding-right: 5px;
  }
}

#product .product-variants > .product-variants-item {
  position: relative;
}
/* Overlay */
.loading-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bodybg); /* Semi-transparent background */
  opacity: 0.8; /* Make it semi-transparent */
  display: none; /* Initially hidden */
  justify-content: center;
  align-items: center;
  z-index: 9999; /* Ensure it is on top of other elements */
}

.loading-overlay.loading {
  display: flex; /* Show overlay when loading */
}

.swnaturedog-variant-loader {
  display: flex;
  margin: 0px;
  position: absolute;
  bottom: 10px;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: radial-gradient(farthest-side, var(--cartbtn-color-bg) 94%, #0000)
      top/9px 9px no-repeat,
    conic-gradient(#0000 30%, var(--cartbtn-color-bg));
  -webkit-mask: radial-gradient(farthest-side, #0000 calc(100% - 9px), #000 0);
  animation: spinner-c7wet4 1s infinite linear;
}

@keyframes spinner-c7wet4 {
  100% {
    transform: rotate(1turn);
  }
}
/* END Start product variants mobile and loader */

/*Correction breadcrum mobile*/
@media (max-width: 768px) {
  #wrapper .breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
  }
}

#product .product-description-short {
  margin: 5px 0 25px;
}

#product .product-description h2 {
  font-size: 1.375rem !important;
}

#product .product-description h3 {
  font-size: 1.1rem !important;
}

@media (max-width: 768px) {
  #module-swstorespages-store #content .bg-store-mc {
    height: 220px;
  }
}

#adtm_menu .swnaturedog-menusubcat .title {
  color:#2A2AF1;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
}
