/*
 * Custom code goes here.
 * A template should always ship with an empty custom.css
 */
 #header{ background: #ffffff !important; }
 #header a:hover {
    color: #d95210;
    text-decoration: none;
}

#header .top-menu a[data-depth="0"]:hover, a:hover {
    color: #d95210;
    text-decoration: none;
}

.home-top-wrapper {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 40px;
}

.home-categories {
  flex: 0 0 250px !important;
  background: #ffffff !important;
  padding: 0px !important;
  border: 0px solid #ddd !important;
}

.block-categories {
  padding: 0px !important;
  margin-bottom: 0rem;
  margin-top: 0rem;
  background: #fff;
}

.home-slider {
  flex: 1;
}

.block-categories .h6 {
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    background: #ffffff;
    color: #d95210 !important;
    display: block ;
    padding: 11px;
    font-weight: 900 !important;
}
.block-categories .h6 i{
    font-size: 18px ;
    display: inline-block;
    margin-right: 12px;
    margin-left: 5px;
}

#header .header-nav {
    max-height: 50px;
    border-bottom:  0px solid !important;
    font-size: 12.5px;
}

a {
    background-color: transparent;
    -webkit-text-decoration-skip: objects;
    color: #d95210;
    text-decoration: none;
}

#header .header-nav .cart-preview .shopping-cart {
    color: #d95210;
    vertical-align: middle;
}

#header .header-nav .blockcart {
    height: 3rem;
    padding: .75rem;
    margin-left: .9375rem;
    text-align: center;
    white-space: nowrap;
    background: transparent;
}

#header a{font-weight: 800;}

#header .header-nav .blockcart {
    height: 3rem;
    padding: .75rem;
    padding-top: .85rem !important;
    padding-bottom: .40rem !important;
    margin-left: .9375rem;
    text-align: center;
    white-space: nowrap;
    background: transparent;
    font-weight: 800;
}

.block-categories .category-sub-menu {
    margin-left: 1rem;
    margin-right: 1rem;
    margin-top: 0rem;
}

.block-categories .category-sub-menu li {
    border-bottom: solid 1px #f6f6f6;
    font-size: 12.5px;
    padding: 2px 0px;

}

.grido{
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.blc{background: white; color: white; text-align: left;}
.blc .moore{padding:18px; padding-top: 120px; background: url('https://spib-ci.org/li.png') repeat-x; background-size: auto 100%;  text-align: left;}
.blc a{display: inline-block; padding: 10px 17px; background: #d95210; color: white; font-weight: 700; }
.blc a:hover{background: #e95611;}
.blc p{padding: 10px 0px; font-size: 12.5px; font-weight: 500; line-height: 20px; color: #fff !important; }

#custom-text {
    padding: 0rem !important;
    margin-bottom: 0rem !important;
    text-align: left;
    background: transparent !important;
    border-radius: 0px !important;
}

.dropdown:hover .expand-more{
  color: #d95210;
}
.product-flags li.product-flag {
    background: #d95210;
}

.btn-primary {
    color: #fff;
    background-color: #d95210;
    border-color: transparent;
}

#header .header-nav .cart-preview.active {
    background: #d95210;
}

.carousel .carousel-inner {
    height: 320px;
}

#mypresta_mib {
    box-shadow: none;
    margin-bottom: 1.563rem;
    background: transparent;
    padding: 10px;
    clear: both;
}

#header .header-nav {
    max-height: 50px;
    border-bottom: 0px solid !important;
    font-size: 12.5px;
    border-top: solid 0px #d95210;
}
.has-categories-dropdown .table-cell {
    display: table-cell;
    vertical-align: top;
    position: relative;
    font-size: 11.5px;
    font-weight: 800;
    background: white;
}
.searched_category, option.selected {
    background: url('../img/set.png') no-repeat 10px center white;
    background-size: auto 40%;
    width: 180px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-left: 35px;
}
#header .header-top a[data-depth="0"] {
    color: #7a7a7a;
    text-transform: capitalize;
    font-size: 12.8px;
}
.product-miniature .highlighted-informations .quick-view {
    font-size: 0.7rem;
    color: #7a7a7a;
}
.product-miniature .highlighted-informations .quick-view:hover {
    color: #d95210;
}
.product-miniature .highlighted-informations .quick-view .material-icons {
    font-size: 18px;
}
.product-miniature .product-flags li.product-flag {
    min-width: 3.125rem;
    min-height: 1.875rem;
    font-weight: 600;
    font-size: 11.2px;
}

.footer-container li a:hover {
    color: #d95210;
}
.footer-container .text-sm-center a{
    font-size: 12.3px;
}

.btn-primary:hover {
    background-color: #eb5612;
}

/*****************************/

#newsletter-popup {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 9999;
}
.modal-content {
  background: #fff;
  margin: 10% auto;
  padding: 0px;
  width: 600px;
  border-radius: 8px;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border:0px;
  overflow: hidden;
}
.close-popup {
  position: absolute;
  top: 10px; right: 15px;
  font-size: 20px;
  cursor: pointer;
}

.left_panel_pop{
    background: url('../img/nns.png') top center no-repeat ;
    background-size: cover;
}

.right_panel_pop .form-control{
    font-size: 0.8rem;
}
.form-control:focus {
    color: #232323;
    background-color: #fff;
    outline: .1875rem solid #f8eab4;
}

.right_panel_pop{ padding: 78px 40px; }
.right_panel_pop p{ font-size: .8375rem; }
.right_panel_pop h3{ font-size:20px; text-transform:uppercase; margin-bottom:30px; }

/*************************/


@media (max-width: 600px) {
    .grido{
        margin: auto;
        display: grid;
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .home-top-wrapper {  
        flex-direction: column;   
      }

      .home-categories,
      .home-slider {
        flex: 1 1 100%;     
        width: 100%;    
      }

      .modal-content {
          background: #fff;
          margin: 10% auto;
          padding: 0px;
          width: 80%;
          border-radius: 8px;
          position: relative;
          display: grid;
          grid-template-columns: 1fr;
          border:0px;
          overflow: hidden;
        }
        .left_panel_pop{
            height: 225px;
        }
        .right_panel_pop{ padding: 30px 25px; }
        .right_panel_pop .btn-primary{ display:block; }
        .right_panel_pop h3{ font-size:20px; text-transform:uppercase; margin-bottom:15px; }
}

@media (max-width: 575px) {
  #products .products .js-product,
  .featured-products .products .js-product {
      -webkit-box-flex: 0;
          -ms-flex: 0 0 50%;
              flex: 0 0 50%;
      max-width: 50%;
      padding-left: 5px;   /* ajuste si besoin */
      padding-right: 5px;
  }
}