/*  GENERAL */
* {
  font-family: var(--shop-font), sans-serif;
}

body{
}

.dropdown-menu {
  background: none;
  border: none;
  font-family: inherit;
  color: inherit;
  font-size: inherit;
  letter-spacing: inherit;
}

.obf-link-interne.type-a, .obf-link-externe.type-a {
  color: var(--primary-color);
  font-weight: 600;
  text-underline-offset: 0.3rem;
}

:focus-visible {
  outline: none;
}

.form-check-input:checked {
  background-color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
}

.form-check-input:focus {
  border-color: var(--primary-color) !important;
  box-shadow: 0 0 0 .25rem var(--primary-color-40) !important;
}

.form-control:focus {
  border-color: var(--primary-color) !important;
  box-shadow: 0 0 0 .25rem var(--primary-color-40)!important;
}

.btn-primary{
  background-color: var(--primary-color) !important;
  color: #ffffff !important;
  border: none !important;
  outline:none;
}

.alert-primary {
  background-color:var(--primary-color-40) !important;
  color: var(--black-color);
  border: var(--primary-color) 2px solid !important;
}

.page-width {
  max-width: 90rem;
  margin: 0 auto;
  padding-right: 1.5rem;
  padding-left: 1.5rem;
}

.text-primary {
  color: var(--primary-color);
}

.primary-text {
  color: var(--primary-color);
}

.text-secondary {
  color: var(--secondary-color);
}

.secondary-text {
  color: var(--secondary-color);
}

.bg-primary-light {
  background-color: var(--primary-color-20);
}

.bg-secondary-light {
  background-color: var(--secondary-color-20);
}

.bg-primary {
  background-color: var(--primary-color);
}

.bg-secondary {
  background-color: var(--secondary-color);
}

/* HEADER */
.header-main {
  padding-top: 1.5rem;
  padding-bottom: 2rem;
}

.header-main .menu-header,
.sidebar-mobile .menu-header  {
  list-style: none;
}

.header-main .menu-header a,
.sidebar-mobile .menu-header a {
  text-decoration: none;
  color: var(--dark-color);
}

.header-main .menu-header a:hover,
.sidebar-mobile .menu-header a:hover  {
  text-decoration: underline;
  text-underline-offset: .3rem;
}

.header-main .logo{
  width: 6rem;
}

.header-main .header-icon:hover svg {
  transform: scale(1.1);
}

.header-main .nav-header {
  width: 100%;
}

.header-main .cart-count-header {
  position: absolute;
  background-color: var(--primary-color-20);
  color: #fff;
  height: 1.4rem;
  width: 1.4rem;
  border-radius: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.7rem;
  bottom: -1rem;
  left: 0.8rem;
  line-height: 1.4rem;
}

.header-main .cart-count-header span {
  height: 100%;
}

/* MOBILE MENU */
.button-mobile-menu {
  background: none;
  border: none;
}

.sidebar-mobile .backdrop-menu {
  opacity : 0;
  background: #0000005e;
  transition: 0.2s opacity;
}

.sidebar-mobile.opened .backdrop-menu {
  opacity: 1;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 4;
  transition: 0.2s opacity;
}

.sidebar-mobile.opened .mobile-menu {
  right: 0;
}

.sidebar-mobile .mobile-menu {
  position: fixed;
  right: -100%;
  top: 0;
  height: -webkit-fill-available;
  width: 20rem;
  background: #fff;
  padding: 20px 30px;
  z-index: 4;
  box-shadow: 2px 6px 15px 0 rgba(0, 0, 0, .2);
  transition: 0.4s right;
}

/* SEARCH-BAR */
.search-container {
  position: absolute;
}

.search-container .search-wrapper{
  width: 100%;
  position: fixed;
  background: #ffffff;
  top: -100%;
  left: 0;
  padding: 2rem;
  z-index: 4;
  transition: top 0.2s ease-in-out;
}

.search-container.opened .search-wrapper{
  top: 0;
}

.search-container .search-wrapper form {
  max-width: 100%;
  margin: auto;
}

.search-container .search-wrapper input {
  width: 100%;
  padding: 0.8rem;
  border-radius: 7px;
  border: 1px solid #000;
}

.search-container .search-wrapper input:hover {
  outline: 2px solid #000;
}

.search-container .search-wrapper .wrapper-input {
  position: relative;
  width: 100%;
}

.search-container .wrapper-input input:focus {
  outline: 3px solid var(--primary-color-80);
}

.search-container .wrapper-input .submit-search {
  border: none;
  background: none;
  font-size: 1.4rem;
  position: absolute;
  right: 0.8rem;
  top: 0.9rem;
}

.search-container .search-wrapper .button-close-searchbar {
  margin-left: 1rem;
  font-size: 1.8rem;
  text-decoration: none;
  color: black;
  font-weight: 100;
}

.search-container .search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 3;
  transition : opacity 0.8s ease-in-out;
  opacity: 0;
  display: none;
}

.search-container.opened .search-overlay {
  opacity: 1;
  display: block;
}

/* FOOTER */
.banner-wrapper {
  padding-top: 2rem;
  padding-bottom: 2rem;
  border-top: 1px solid #e9ecef;
}

.footer .footer-banner {
  max-width: 60rem;
}

.footer .footer-banner .container-banner,
.footer .footer-banner .wrapper-socials{
  text-align: center;
}

.footer .footer-banner .container-banner .logo-footer{
  width: 5rem;
}

.footer .footer-banner .container-banner a{
  color: #000;
}

.footer .footer-banner .container-banner .heading-footer {
  font-size: calc(1.0 * 1rem);
  padding: 1.5rem 0;
}

.footer .footer-banner .container-banner .sub-heading-footer {
  font-size : calc(1.0 * 0.8rem);
}

.footer .footer-banner .wrapper-socials  .social-link {
  text-decoration: none;
  color: var(--dark-color);
  margin: 0 0.3rem;
}

.footer .footer-banner .wrapper-socials .social-link:hover svg {
  transform: scale(1.1);
}

.footer .footer-bottom {
  padding: 2rem 0;
  border-top: 1px solid #e9ecef;
}

.footer .footer-bottom .button-conversion,
.footer .footer-bottom .button-conversion:focus {
  background: white;
  color: black;
  border: 2px solid #000000;
}

.footer .payment-link {
  text-decoration: none;
  color: var(--dark-color);
}

.footer .payment-link svg {
  width: 35px;
  height: 35px;
}

.footer .payment-link .img-payment {
    width: 4rem;
}

.footer .footer-bottom .footer-menu h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark-color);
}

.footer .footer-bottom .footer-menu {
  margin-bottom: 2rem;
}

.footer .footer-bottom .footer-menu .wrapper-menu {
  margin-bottom: 1rem;
}

.footer .footer-bottom .footer-menu a {
  text-decoration: none;
  color: var(--dark-color);
}

.footer .footer-bottom .footer-menu a:hover{
  text-decoration: underline;
  text-underline-offset: .3rem;
  transition: 0.2s;

}

.footer .footer-bottom .footer-menu h3 a:hover{
  color : var(--primary-color);
  text-decoration: none;
}

.footer .footer-bottom .footer-menu ul {
  list-style: none;
  padding: 0;
}

.footer .footer-bottom .footer-menu ul li {
  padding: 0.5rem 0;
  font-size: 1rem;
}

/* SHOP */
.products {
  min-height : 60vh;
}

.products .card-product {
  text-decoration: none;
  margin: 0 1rem;
}

.products .img-container {
  width: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 1.6rem;
  padding-bottom: 100%;
}

.products .img-product {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.2s ease-in-out;
}

.products .img-hover {
  opacity: 0;
}

.products .img-container:hover .img-hover {
  opacity: 1;
}

.products .img-container:hover .img-default {
  opacity: 0;
}

.products .card-product .title-product, 
.products .card-product .price-product {
  color: #000000;
}

.products .card-product .wrapper-product-details {
  padding: 1rem 0.5rem;
}

.products .card-product .title-product {
  font-size: 0.9rem;
  font-weight: 500;
  color: #635b5b;
}

.products .card-product .price-product {
  font-size: 1.1rem;
}

.products .card-product:hover .title-product {
  text-decoration: underline;
}

/* PRODUCT */
.product {
  padding-bottom: 3rem;
}

.product .img-container {
  position: relative;
  overflow: hidden;
  border-radius: 1.6rem;
}

.product .main-image {
  width: 100%;
  padding-bottom: 100%;
  cursor : zoom-in;
}

.main-image img {
  transition: all .3s ease 0s;
}

.main-image img.zoomed {
  transform: scale(1.4);
  cursor: -moz-zoom-out;
  cursor: -webkit-zoom-out;
  cursor: zoom-out;
}

.product .sub-images-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.product .sub-image {
  flex: 1 1 calc(33.333% - 1rem); 
  padding-bottom: calc(33.333% - 1rem);
  position: relative;
  cursor: pointer;
}

.product .img-product {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; 
}

.product .slider-buttons .slider-button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 1rem;
}

.product .slider-buttons .slider-counter.caption{
  font-size: 0.8rem;
}

.product .container-description {
  width: 90%;
}

.product .button-add-to-cart {
  background-color: var(--primary-color);
  color: white;
  line-height: calc(1 + .2 / 1.0);
  letter-spacing: .07rem;
  border-radius: 5px;
  position: relative;
  border: none;
  padding: 0.8rem 1.5rem;
  min-width: calc(12rem + 1px* 2);
  min-height: calc(3rem + 1px* 2);
  width: 100%;
  font-size: 1rem;
}

.product .button-add-to-cart:hover {
  outline : 1px solid var(--primary-color);
}

.product #description-product {
  white-space: pre-line;
}

.product .product-price {
  font-size: 1.3rem;
  letter-spacing: .13rem;
}

.product .option-name{
  font-size: 0.9rem;
}

.product .social-item {
  padding: 0.2em;
  margin-right: 0.4em;
  color:#000000;
}

.product .social-item svg {
  width: 16px;
  height: 16px;
}

.form-select:focus {
  border-color: var(--primary-color) !important;
  outline: 0 !important;
  box-shadow: 0 0 0 .25rem var(--primary-color)!important;
}

/* MODAL SIZE */
.product .size-guide {
  width: 100%;
  max-width: 100%;
  margin-bottom: 1rem;
  background-color: transparent;
}

.product .size-guide th,
.product .size-guide td {
  padding: 0.5rem;
}

.product .size-guide th,
.product .size-guide td {
  border: 1px solid #dbdbdb;
}

.product .size-guide th {
  background-color: #dbdbdb;
}

/* CART */
.cart,
.order-tracking {
  min-height : 60vh;
}

.cart .title-cart {
  font-size: 1.2rem;
}

.cart .link-continue-shopping{
  font-size: 0.8rem;
}

.cart .link-continue-shopping:hover {
  text-decoration-thickness : 2px;
  transition: text-decoration-thickness ease .1s;
}

.cart .title-page-cart{
  margin : 3rem 0 2rem;
}
.cart .thead-cart th,
.order-tracking .thead-cart th {
  font-weight: 400;
  font-size: 0.7rem;
  padding-bottom: 1rem;
  border-bottom: 0.1rem solid #e4e3e3;
}

.cart .cart-item td,
.order-tracking .cart-item td{
  padding-top: 3rem;
  vertical-align: top;
}

.cart .name-product,
.order-tracking .name-product {
  text-decoration: none;
  width: 8rem;
}

.cart .name-product:hover,
.order-tracking .name-product:hover {
  text-decoration: underline;
  text-underline-offset: .3rem;
}

/* Quantity button */
.cart .quantity-control {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: fit-content;
  background: #ffffff;
  border-radius: 10px;
  padding: 0.8rem 0.4rem;
  border: 1px solid #000;
}

.cart .quantity-control.mobile{
  padding: 0.4rem 0.1rem;
}

.cart .quantity-btn {
  background: transparent;
  border: none;
  outline: none;
  margin: 0;
  padding: 0 8px;
  cursor: pointer;
}
.cart .quantity-btn svg {
  width: 10px;
  height: 10px;
}
.cart .quantity-input {
  outline: none;
  user-select: none;
  text-align: center;
  width: 47px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  font-size: 12px;
}
.cart .quantity-input::-webkit-inner-spin-button,
.quantity-input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Delete button */
.cart .delete-control a {
  margin-left: 1rem;
}

.cart .delete-control svg{
  height: 1rem;
  width: 1rem;
}

.cart table,
.order-tracking table {
  border-bottom: 1px solid #e1e1e1;
}

.cart .empty-cart {
  text-decoration: none;
  color: var(--black-color);
}

.cart .empty-cart:hover span{
  text-decoration: underline;
  text-underline-offset: .3rem;
}

.cart .empty-cart svg{
  width: 1rem;
  vertical-align: text-top;
}

.cart .footer-cart {
  padding: 4rem 0 2rem 0;
  text-align: right;
}
.cart .total-title {
  font-size: 1.2rem;
  margin: 0 1rem 0 0;
}

.cart .cart-empty-title {
  margin : 2rem 0;
}

.cart .container-cart-empty svg {
  margin-top : 5rem;
}

.cart .checkout-cart-button {
  color : #fff !important;
}


/* ORDER TRACKING */

.order-tracking .order-detail {
  margin: 2rem 0;
}

.order-tracking .text-order {
  font-size: 0.8rem;
  padding: 1rem 1rem;
}

.order-tracking .order-detail .order-number {
  font-size: 1.3rem;
  font-weight: 100;
}

.order-tracking .order-detail .date-order {
  font-size: 0.7rem;
}

.order-tracking .progresses {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
  margin-bottom: 3rem;
  padding: 0 3rem;
}

.order-tracking .progresses .line {
  width: 50px;
  height: 3px;
  transform: rotate(90deg);
  background-color: #b1b1b1;
}

.order-tracking .progresses .line.complete {
  background-color: var(--primary-color);
}

.order-tracking .progresses .steps{
  display: flex;
  background-color: #b1b1b1;
  color: #fff;
  font-size: 0.8rem;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  position: relative;
  margin: 1rem 0.6rem;
  z-index: 1;
}

.order-tracking .progresses .steps.complete {
  background-color : var(--primary-color);
}

.order-tracking .progresses .steps .text-timeline{
  position: absolute;
  top: 0.3rem;
  left : 3rem;
  color: #7d7d7d;
  width: 12rem;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 100;
}

.order-tracking .products-summary{
  margin-top: 2rem;
}

.order-tracking .picture img{
  object-fit: cover;
  width: 70px;
  height: 70px;
}

.order-tracking .details {
  padding-left: 1rem;
}

.order-tracking .customer-info {
  margin-top: 4rem;
}

.order-tracking .customer-info .icon {
  font-size: 0.7rem;
  width: 20px;
  height: 20px;
  text-align: center;
  line-height: 1.3rem;
}

.order-tracking .customer-info h5 {
  font-size: 1rem;
  font-weight: 600;
}

.order-tracking .customer-info p {
  font-size: 0.9rem;
  font-weight: 100;
}

.order-tracking .customer-info .tracking-button,
.order-tracking .customer-info .invoice-button {
  background: var(--primary-color-20);
  padding: 1rem;
  border-radius: 5px;
}

/* MODALS */
.modal-backdrop.show {
  display: block;
}

.modal.show {
  display: block!important;
}

.modal .close {
  font-size: 1.5rem;
  color: var(--primary-color);
}

.modal .app-image {
  height: 20vh;
  text-align: center;
}

.modal .app-image img {
  max-width: 100%;
  max-height: 100%;
}

/* MAINTENANCE */
.maintenance .maintenance-button:hover {
  outline : 1px solid var(--primary-color);
}

.maintenance .powered-tpop {
    text-decoration: none;
    color: #fff;
    background: var(--secondary-color-40);
    border: 1px solid var(--secondary-color-40);
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.maintenance .powered-tpop:hover{
  background-color: #fff;
  color: var(--secondary-color-40);
  transition: 0.2s;
}

/* PAGINATION */
.pagination .active>.page-link, .pagination .page-link.active {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.pagination .page-link {
  color: var(--primary-color);
}

.pagination .page-link:hover {
  color: #f1f1f1;
  background-color: var(--primary-color-20);
}

.pagination .page-item:not(.active) .page-link:focus:not(:hover) {
  color: var(--primary-color);
}

.pagination .page-item.active .page-link:focus,
.pagination .page-item:not(.active) .page-link:focus {
  box-shadow: 0 0 0 0.2rem var(--primary-color-40);
}

/* RESPONSIVE */
@media screen and (min-width: 992px) {
  .header-main {
      padding-top: 2.5rem;
      padding-bottom: 3rem;
  }

  .header-main .nav-header {
    width: auto;
  }

  .product .container-description{
    width: 30%;
  }

  .cart .cart-item .details{
    width: 50rem;
  }
}

@media screen and (min-width: 768px) {
  .page-width {
    padding-right: 5rem;
    padding-left: 5rem;
  }

  .search-container .search-wrapper form {
    max-width: 50%;
    margin: auto;
  }

  .cart .cart-item .details {
    width: 20rem;
  }

  .cart .name-product {
    width: 100%;
  }

  .cart .title-cart {
    font-size: 2rem;
  }
  
  .cart .link-continue-shopping{
    font-size: 1rem;
  }

  .order-tracking .text-order {
    padding: 1rem 6rem;
  }

  .order-tracking .name-product {
    width: auto;
  }

  .order-tracking .details {
    padding-left: 0;
  }

  .order-tracking .progresses {
    flex-direction: row;
    align-items: center;
    margin-bottom: 6rem;
  }

  .order-tracking .progresses .steps{
    margin: 1rem 0;
  }

  .order-tracking .progresses .steps .text-timeline {
    top: 3rem;
    left: -3rem;
  }

  .order-tracking .progresses .line{
    width: 170px;
    transform: rotate(0deg);
  }

  .footer .footer-banner .container-banner .heading-footer {
      font-size: calc(1.0 * 1.2rem);
      padding: 1.5rem 0;
  }

  .footer .footer-banner .container-banner .sub-heading-footer {
    font-size : calc(1.0 * 1rem);
  }

  .footer .footer-bottom .footer-menu .wrapper-menu {
    margin-bottom: 2rem;
  }
}

.display-6 {
  font-size: 2em!important;
}

.badge-tags {
  font-weight: 400 !important;
  text-transform: uppercase !important;
  background-color: #F6F6F7 !important;
  color: black !important;
  border: 1px solid #DDD !important;
  padding: 5px 10px !important;
  border-radius: 7px !important;
  font-size: 12px!important;
}

.top-blog-title {
  background-color: #fafafa !important;
}

#global-content * {
  letter-spacing: 1px !important;
}

.tag-title {
  text-transform: capitalize;
}

.tpopLink  {
  border-radius: 6px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.32), 0 8px 10px rgba(0,0,0,0.08);
  padding: 5px 10px;
  float: left;
  font-weight: 500;
  color: #000000!important;
  margin-top: 2em;
  margin-bottom: 2em;
  text-decoration: none;
}

.tpopLink:hover{
  background: #000000 !important;
  color: #ffffff !important;
}
