/*
 * Custom code goes here.
 * A template should always ship with an empty custom.css
 */

/* ***************************************************** */
/* ***************************************************** */
/* *************** Begin Global settings *************** */
/* ***************************************************** */
/* ***************************************************** */

/* ---------- Begin define global variables ---------- */
:root {
  --bs-primary: #BBB09C;
  --bs-body-font-family: "Inter", sans-serif; /* "Open Sans", Helvetica, Arial, sans-serif; */ /* body */
  --secondary-font-family: var(--bs-body-font-family); /* titles */
  --bs-breadcrumb-divider: "›";

  /* Color palette */
  --color-1: #212529;
  --color-2: #16181c;
  --color-3: #cdb58d;
  --color-3-rgb: 205, 181, 141;
  --color-4: #afa189;
  --color-4-rgb: 175, 161, 137;

  --bs-body-color: var(--color-1);

  --footer-background-color: var(--color-4);

  /* --primary-bg-color: #897352;

	--primary-bg-color-variant: #988040;

    --primary-bg-color-light: #f7f6f3;

	--secondary-bg-color: #c1121c;

	--secondary-bg-color-variant: #edebe8; */

  --main-bg-color: #e9ebee;

  --main-text-color: #000000;

  --additional-text-color: #333;

  /* --discount-color: #f71735; */

  --btn-bg-color: var(--primary-bg-color);

  --btn-color: white;

  --btn-hover-bg-color: var(--primary-bg-color-variant);

  --btn-hover-color: white;

  --bs-link-color: #000;
  --bs-link-color-rgb: 0, 0, 0;
  --bs-link-hover-color: var(--color-4);
  --bs-link-hover-color-rgb: var(--color-4-rgb);

  --header-bg-color: white;
  --header-text-color: var(--main-text-color);
  --header-text-hover-color: var(--bs-link-hover-color);

  --header-nav-bg-color: inherit;
  --header-nav-text-color: inherit;
  --header-nav-text-hover-color: var(--header-text-hover-color);

  --header-top-bg-color: inherit;

  --header-top-text-color: inherit;

  --header-top-text-hover-color: var(--header-text-hover-color);

  --header-bottom-bg-color: var(--green-5);

  --header-bottom-text-color: white;

  --header-bottom-text-hover-color: inherit;

  /* --footer-background-color: var(--grey-1); */

  --footer-text-color: var(--color-1);
  --footer-hover-color: #000;

  --footer-top-bg-color: inherit;

  --footer-top-text-color: inherit;

  --footer-top-text-hover-color: inherit;

  --footer-center-bg-color: inherit;

  --footer-center-text-color: inherit;

  --footer-center-text-hover-color: inherit;

  --footer-bottom-bg-color: inherit;

  --footer-bottom-text-color: inherit;

  --footer-bottom-text-hover-color: inherit;

  --bs-card-border-radius: 3px; /* for buttons, cards, ... */

  --btn-disabled-color: white;

  --btn-disabled-bg: darkgrey;

  --btn-disabled-border-color: darkgrey;

  --bs-primary-rgb: 27, 142, 0;
}

.btn-primary {
  --bs-btn-bg: #829C7E;
  --bs-btn-border-color: #829C7E;
  --bs-btn-hover-bg: #829C7Ee3;
  --bs-btn-hover-border-color: #829C7Ee3;
  --bs-btn-disabled-bg: #829C7Ea6;
  --bs-btn-disabled-border-color: #829C7Ea6;
  --bs-btn-active-bg: #829c7ed3;
  --bs-btn-active-border-color: #829C7Ed3;
}

.btn-outline-primary {
  --bs-btn-color: #829C7E;
  --bs-btn-border-color: #829C7E;
  --bs-btn-hover-bg: #829C7Ee3;
  --bs-btn-hover-border-color: #829c7ee3;
  --bs-btn-active-bg: #829c7ed3;
  --bs-btn-active-border-color: #829c7ed3;
  --bs-btn-disabled-color: #829C7Ea6;
  --bs-btn-disabled-border-color: #829C7Ea6;
}

/* ---------- End define global variables ---------- */

@media (max-width: 991px) {
  .container {
    max-width: initial;
  }
}
@media (min-width: 992px) and (max-width: 1199px) {
  .container {
    width: 95%;
    max-width: 95%;
  }
}
@media (min-width: 1200px) {
  .container {
    width: 90%;
    max-width: 90%;
  }
}
@media (min-width: 1920px) {
  .container {
    max-width: 1920px;
  }
}
@media (min-width: 576px) {
  .container--limited-sm {
    max-width: 540px;
  }
}
@media (min-width: 768px) {
  .container--limited-md {
    max-width: 720px;
  }
}

@media (min-width: 992px) {
  .container--limited-lg {
    max-width: 960px;
  }
}

@media (min-width: 1200px) {
  .container--limited-xl {
    max-width: 1140px;
  }
}

@media (min-width: 1400px) {
  .container--limited-xxl {
    max-width: 1320px;
  }
}

html {
  font-size: 16px; /* -----> 1rem = 16px */

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@media (max-width: 767px) {
  html {
    font-size: 15px;
  }
}

.svg-icon {
  display: inline-block;
  stroke-width: 0;
  stroke: currentColor;
  fill: currentColor;
  flex-shrink: 0;
  max-width: 100%;
  max-height: 100%;
}

.icon-collapse {
  flex-shrink: 0;
}

/* ---------- custom classes ---------- */

.fw-300 {
  font-weight: 300;
}
.fw-400 {
  font-weight: 400;
}
.fw-500 {
  font-weight: 500;
}
.fw-600 {
  font-weight: 600;
}
.fw-700 {
  font-weight: 700;
}

.fs-1 {
  font-size: calc(1.375rem + 1.5vw) !important;
}
.fs-2 {
  font-size: calc(1.325rem + 0.9vw) !important;
}
.fs-3 {
  font-size: calc(1.3rem + 0.6vw) !important;
}
.fs-4 {
  font-size: calc(1.275rem + 0.3vw) !important;
}
.fs-5 {
  font-size: 1.25rem !important;
}
.fs-6 {
  font-size: 1rem !important;
}
@media (min-width: 1200px) {
  .fs-1 {
    font-size: 2.5rem !important;
  }
  .fs-2 {
    font-size: 2rem !important;
  }
  .fs-3 {
    font-size: 1.75rem !important;
  }
  .fs-4 {
    font-size: 1.5rem !important;
  }
}
.fs-inherit {
  font-size: inherit !important;
}

.line-height-0 {
  line-height: 0;
}
.line-height-1 {
  line-height: 1;
}
.line-height-initial {
  line-height: initial;
}

.text-decoration-underline-hover:hover {
  text-decoration: underline;
}

.d--none {
  display: none;
}
.inset-0 {
  inset: 0;
}

/* table styles */
.table thead th {
  border-bottom-width: 2px;
}
.table .thead-light th {
  color: #495057;
  background-color: #e9ecef;
  border-color: #dee2e6;
}

.rich-text :is(.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6) {
  color: inherit;
}

.img-hover-effect img {
  transition: all 0.7s ease;
}
.img-hover-effect img:hover {
  filter: contrast(1.25);
}

.img-zoom-effect img {
  transition: all 0.7s ease;
  -webkit-transform: scale(1);
  transform: scale(1);
}
.img-zoom-effect img:hover {
  -webkit-transform: scale(1.12);
  transform: scale(1.12);
}
.img-zoom-effect :has(> img) {
  display: block;
  overflow: hidden;
}

.grid-auto-columns {
  grid-template-columns: repeat(
    auto-fill,
    minmax(
      min(
        max(var(--column-preferred-width, 100%), var(--column-min-width, 50px)),
        100%
      ),
      1fr
    )
  );
}

/* ~~~~~~~~~~~~~~~~~~~~~~ */
/* custom css for nunido: */
/* ~~~~~~~~~~~~~~~~~~~~~~ */
:root {
  /* Color palette */
  --color-1: #171717;
  --color-2: #c3b8a6;
  --color-3: #cdb58d;
  --color-4: #afa189;
}

/* temporary css rules */

/* body#index :is(#home-slider, #custom-text, .featured-products, .banner, .best-sellers-products), */
#footer .email-subscription {
  display: none !important;
}
/* ~~~~~~~~~~~~~~~~~~~~~~ */
/* ~~~~~~~~~~~~~~~~~~~~~~ */
/* ~~~~~~~~~~~~~~~~~~~~~~ */

.page-footer:not(:has(*)) {
  display: none;
}

/* ***************************************************** */
/* **************** Begin Footer settings ************** */
/* ***************************************************** */
#footer {
  --footer-background-color: inherit;
  --footer-text-color: inherit;
  --footer-hover-color: inherit;
  --footer-heading-color: inherit;
}
#footer .footer__block__content-list a {
  display: inline-block;
}
#footer .footer__block__toggle i {
  color: var(--footer-text-color);
}
#footer .copyright a {
  color: var(--footer-text-color);
}
#footer .copyright a:hover {
  color: var(--footer-hover-color);
}
/* ***************************************************** */
/* **************** End Footer settings **************** */
/* ***************************************************** */

/* ********************************************************* */
/* ***************** Begin Product listing ***************** */
/* ********************************************************* */

.left-block {
  --left-block-border-bottom: none;
}

/* ****************** custom listing css ******************* */

/* .layout-left-column #left-column {
    padding-right: calc(var(--bs-gutter-x) * 0.5);
} */

/* .block-category #category-description {

    color: inherit;

    font-size: 0.875rem;

}

.block-category #category-description p,

.block-category #category-description ul {

    font-size: inherit;

}

.block-category #category-description p:last-child {

    margin-bottom: 0;

} */

.block-category .page-title-section:only-child {
  margin-bottom: 0 !important;
}

/* ***************** subcategories ******************** */

@media (max-width: 399px) {
  #subcategories {
    --item-count: 2;
  }
}

@media (min-width: 400px) and (max-width: 599.9999px) {
  #subcategories {
    --item-count: 3;
  }
}

@media (min-width: 600px) and (max-width: 1199.9999px) {
  #subcategories {
    --item-count: 4;
  }
}

@media (min-width: 1200px) and (max-width: 1999.9999px) {
  #subcategories {
    --item-count: 7;
  }
}

@media (min-width: 2000px) {
  #subcategories {
    --item-count: 7;
  }
}

#subcategories {
  --item-width: calc(100% / var(--item-count, 1));
}

.subcategory__wrapper {
  flex: 0 0 var(--item-width, 100%);

  max-width: var(--item-width, 100%);
}

#subcategories .subcategory {
  box-shadow: 0 1px 5px -1px rgba(0, 0, 0, 0.13);
}

#subcategories .subcategory__name {
  color: inherit;
}

#subcategories .subcategory__name.text-white {
  bottom: unset;

  min-height: 45%;

  max-height: 100%;

  background-image: -webkit-linear-gradient(
    rgba(0, 0, 0, 0.7),
    rgba(0, 0, 0, 0)
  );

  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0));
}

/* **************************************************** */

.section-title {
  /* margin-top: 0; */

  font-weight: bold;

  font-size: 1.25rem;

  color: #333;

  margin-bottom: 1rem;
}

.product-flags {
  gap: 0.5rem;

  top: 0.5rem;

  /* left: calc(var(--bs-gutter-x) * -.5); */

  left: 0.5rem;

  z-index: 3;
}

.product-flags.positioned-right {
  left: unset;

  /* right: calc(var(--bs-gutter-x) * -.5); */

  right: 0.5rem;

  align-items: flex-end;
}

.product-flags:empty {
  display: none;
}

.product-flag {
  --bs-badge-padding-x: 0.5rem;

  --bs-badge-padding-y: 0.25rem;

  padding: var(--bs-badge-padding-y) var(--bs-badge-padding-x);

  /* text-transform: initial;

    font-weight: 500;

	font-size: 0.875rem;

    line-height: initial;

	margin-top: 0;

	position: relative; */

  display: flex;

  align-items: center;
}

.product-flag.discount {
  --bs-primary: white;

  aspect-ratio: 1 / 1;

  border-radius: 50%;

  min-width: 70px;

  font-size: 15px;

  background: var(--red-3);

  border-width: 2px;

  line-height: 1.1;
}

@media (max-width: 991px) {
  .product-flag.discount {
    min-width: 45px;
  }

  .breadcrumb {
    display: block;

    white-space: nowrap;

    overflow: hidden;

    overflow-x: scroll;

    li {
      display: inline-block;
    }
  }
}

/* .product-flag:before {

	content: "";

	border-top: 0 solid transparent;

	border-bottom: 4px solid transparent;

    border-right: 5px solid #8d8d8d;

    position: absolute;

    bottom: -4px;

    left: 0;

}

.product-flags.positioned-right .product-flag:before {

    border-left: 5px solid #8d8d8d;

	border-right: unset;

	left: unset;

    right: 0;

}

.product-flags.positioned-left .product-flag {

    border-bottom-left-radius: 0;

}

.product-flags.positioned-right .product-flag {

    border-bottom-right-radius: 0;

}

.product-flags .product-flag.discount {

	display: inline-flex;

}



.product-flag.on-sale {

    color: #000;

    background: #31d5f9;

}

.product-flag.new {

    color: #000;

    background: #43e59c;

} */

/* .product-miniature.availability_unavailable:not(.product_allow_oosp):not(.available_with_different_options) .product-flag {

	filter: grayscale(0.8);

} */

.product-miniature .card {
  --bs-card-box-shadow: 0 1px 5px -1px rgba(0, 0, 0, 0.13);
}

.product-miniature .card:hover {
  --bs-card-box-shadow: 0 1px 6px 0 rgba(0, 0, 0, 0.25);
}

.product-miniature .product-miniature__quickview {
  left: 0;
}

.product-miniature .product-miniature__image-container {
  overflow: initial;
}

.product-miniature .product-miniature__top {
  overflow: inherit;
}

.product-miniature .product-miniature__top,
.product-miniature .product-miniature__infos {
  padding: 8px;
}

.product-miniature .product-miniature__infos {
  gap: 10px;
}

.product-miniature .product-miniature__infos__bottom {
  gap: 1rem;
}

.product-miniature .product-miniature__title {
  font-size: 0.875rem;

  line-height: 1.5;
}

.product-miniature .product-miniature__title a {
  display: -webkit-box;

  -webkit-line-clamp: 3;

  -webkit-box-orient: vertical;

  overflow: hidden;

  padding: 2px 0;
}

.product-miniature .product-miniature__prices {
  gap: 3px;

  font-size: 1.1rem;
}

.product-prices .price {
  font-weight: 700;

  margin: 0 !important;

  /* color: #f61d1d; */

  color: #db0a0a;
}

.product-miniature .product-miniature__regular-price {
  color: #5d5d5d;

  font-size: 0.8em;
}

.product-miniature .b2b-badge {
  background-color: #333;

  transform: rotate(-45deg);

  right: -44px;

  width: 130px;

  bottom: 10px;
}

/* .product-miniature .oos-badge {

    top: 70%;

    left: 0;

    right: 0;

    background: #DB0A0A;

    max-width: 75%;

    box-shadow: -1px 1px 9px 0px #949494;

} */

.product-miniature .out-of-stock {
  padding: 6px 8px;

  box-shadow: -1px 1px 9px 0px #949494;

  font-size: 12px;

  background: #db0a0a;

  color: white;
}

.product__add-to-cart__container .btn {
  padding: 0;

  gap: 2px;

  width: 100%;

  min-width: 80%;

  margin-left: auto;

  margin-right: auto;

  /* border-width: 1px;

	min-height: calc(2rem + 4px + 2px); */ /* 4-padding + 2-border */

  border-width: 0px;

  min-height: calc(2rem + 6px + 0px); /* 6-padding + 0-border */
}

.product__add-to-cart__container .btn-cart-icon__container {
  /* padding: 5px; */

  padding: 3px 1rem;

  background: var(--red-2);

  transition: inherit;

  border-radius: inherit;

  border-top-right-radius: 0;

  border-bottom-right-radius: 45% 100%;
}

.product__add-to-cart__container
  .btn:is(.disabled, :disabled)
  .btn-cart-icon__container {
  background: grey;
}

.product__add-to-cart__container .btn-cart__label {
  font-size: 0.938rem;

  line-height: 1;

  padding: 3px 3px;

  margin-right: 5px;
}

@media (max-width: 991px) {
  .product__add-to-cart__container .btn-cart-icon__container {
    padding: 3px 0.6rem 3px 0.5rem;
  }

  .product-miniature .product-miniature__title {
    line-height: 1.35;
  }
}

.product-miniature .quantity-discount-label-container .badge {
  background-color: #ff630f;
  font-size: 12px;
}

/* ********************************************************* */
/* ****************** End Product listing ****************** */
/* ********************************************************* */

/* Footer */
.payment-options-container .payment-option {
  height: 45px;
  border: 1px solid #948161bf;
  border-radius: 6px;
}

.payment-options-container .payment-option .label {
  font-size: 1em;
  background-color: #383838;
  display: inline;
  padding: .2em .6em .3em;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: .25em;
}

.footer-copyright-section {
  border-top-color: rgb(23, 23, 23) !important;
}

footer .copyright {
  color: var(--color-1) !important;
  font-size: 14px;
}

footer .disclaimer {
  font-size: 10px;
}

footer .payment-options {
  grid-template-columns: repeat(auto-fill, minmax(min(max(var(--column-preferred-width, 100%), var(--column-min-width, 50px)), 100%), 1fr));
  --column-preferred-width: 30%;
  --column-min-width: 180px;
}
/* End Footer */

/* Header */
#_desktop_contact_link .contact-link {
  height: min-content;
  font-size: 12px;
}

.header-bottom .navbar-brand {
  max-width: 140px;
}

@media (min-width: 768px) {
  .header-block__badge {
    background: var(--bs-gray-100);
    height: 1.2em;
    line-height: 1.2;
    margin-left: 0;
    min-width: 1.2em;
    padding: 0 .2em;
    position: absolute;
    right: -2px;
    text-align: center;
    top: 0;
    font-size: 14px
  } 
}

@media (min-width: 768px) and (max-width: 1199px) {
  .header-block__action-btn {
    padding: 0.25rem;
  }
}

.header-top {
  background-color: #BBB09C;
}

.text-sm {
  font-size: 0.725rem;
}

#header {
  box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
}

.header-bottom {
  border-bottom: 0;
}

.main-menu__mobile .menu__list > li {
    border-bottom: 1px solid #BBB09C;
}

#_desktop_contact_link .phone-link:hover {
  color: #000;
}

@media (min-width: 1200px) {
  .main-menu__tree>li .menu-container a[data-depth="1"] {
    margin-bottom: 10px;
  }
  
  .main-menu__tree>li .menu-container a[data-depth="2"] {
      padding: 2px 0px;
  }
}

.js-menu-desktop .js-sub-menu {
  -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
  box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
}

/* Listing */

.product-miniature .product-miniature__link:hover .product-miniature__image {
  transform: scale(1);
}

.product-miniature .card:hover {
  filter: none;
}

.product-miniature .product-miniature__infos__bottom {
  margin-top: 0;
  margin-bottom: auto;
}

.product-miniature .product-miniature__price {
  margin-right: 0 !important;
}

.product-miniature .top-half {
  border-top: 1px solid black
}

.grid-auto-columns-ultimate {
  --column-min-width: 170px;
  --column-max-width: calc(calc(var(--column-min-width) * 2) - 1px); 

  --container-max-width: 1440px;
  --container-min-width: calc(var(--column-min-width) * 2);
  --column-ideal-width: calc(var(--column-max-width) * 0.75);
  --column-slope-top: calc(var(--column-ideal-width) - var(--column-min-width));
  --column-slope-bottom: calc(var(--container-max-width) - var(--container-min-width));
  --column-slope: calc(var(--column-slope-top) / var(--column-slope-bottom) * 100);
  --itercept: calc(var(--column-min-width) - calc(var(--column-slope) * var(--container-min-width) / 100));
  --column-preferred-width-calculated: calc(var(--column-slope) * 1cqw + var(--itercept));
  --column-preferred-width: var(--item-width, var(--column-preferred-width-calculated));
  grid-template-columns: repeat(auto-fill, minmax(clamp(var(--column-min-width), var(--column-preferred-width), var(--column-max-width)), 1fr));

  /* --target-floor-number: calc(100cqw / (clamp(var(--column-min-width), var(--column-preferred-width), var(--column-max-width)))); */
}

/* Product */

.thumbnails__container .thumbnail.active img {
  border: 1px solid #BBB09D;
  padding: 4px;
}

.product__details, .product__features {
  background: white;
}

.detail {
  padding: 0.25rem 0.5rem;
}

.product-comments-additional-info {
  margin: 1rem 0;
}

.form-check-label a {
  text-decoration: underline;
}

/* Page fix */
body {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
}

body main {
  flex: 1;
}

/* Custom page - fix */

.addresses__new-address i {
  background-color: transparent;
}