/***** IMPORTED FONTS *****/
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');

/***** VARIABLES *****/
:root {
  --bg-secondary-color: #e6e6e6;
  --text-color: #1f1f1f;
  --body-color: #121212;
  --primary-bg-color: #ffffff;
  --secondary-bg-color: #f8f9fa;
  --primary-text-color: #212529;
  --light-text-color: white;
  --secondary-text-light-color: #f3f3f3;
  --muted-color: #6c757d;
  --icon-color: #a9b3c9;
  --green-color: #379f3c;
  --red-color: #ca5b53;
  --success-color: #71b670;
  --border-color: #dcdcdc;
  --disabled-color: #e0e0e0;

  --body-font-family: -apple-system, BlinkMacSystemFont, 'Inter', sans-serif;

  --tiny-size: 8px;
  --extra-small-size: 10px;
  --small-size: 12px;
  --base-size: 14px;
  --medium-size: 16px;
  --large-size: 18px;
  --big-size: 20px;
  --extra-large-size: 26px;
  --extra-big-size: 30px;
  --big-font-size: 2rem;
  --normal-font-size: 0.838rem;
  --small-font-size: 0.713rem;
  --smaller-font-size: 0.65rem;
}

:root.dark {
  --bg-secondary-color: #1f1f1f;
  --text-color: #e6e6e6;
  --body-color: #f0f0f0;
  --primary-bg-color: #000000;
  --secondary-bg-color: #121212;
  --primary-text-color: white;
  --light-text-color: #212529;
  --secondary-text-light-color: #a9b3c9;
  --muted-color: #cfcfcf;
  --icon-color: #585858;
  --green-color: #c6ff00;
  --red-color: #ca5b53;
  --success-color: #71b670;
  --border-color: #333333;
  --disabled-color: #575757;
}

/* COLORS */
.fa {
  color: var(--icon-color);
}

.primary-bg-color {
  background: var(--primary-bg-color);
}
.secondary-bg-color {
  background: var(--secondary-bg-color);
}
.brand-bg-color {
  background: var(--brand-color);
}
.primary-bg-text-color {
  background: var(--primary-text-color);
}
.light-bg-text-color {
  background: var(--light-text-color) !important;
}
.secondary-bg-text-light-color {
  background: var(--secondary-text-light-color);
}
.muted-bg-color {
  background: var(--muted-color);
}
.icon-bg-color {
  background: var(--icon-color);
}
.green-bg-color {
  background: var(--green-color);
}
.red-bg-color {
  background: var(--red-color);
}
.success-bg-color {
  background: var(--success-color);
}
.border-bg-color {
  background: var(--border-color);
}
.disabled-bg-color {
  background: var(--disabled-color);
}
.body-bg-color {
  background: var(--body-color);
}

.primary-color {
  color: var(--primary-bg-color);
}
.secondary-color {
  color: var(--secondary-bg-color);
}
.brand-color {
  color: var(--brand-color);
}
.primary-text-color {
  color: var(--primary-text-color) !important;
}
.light-text-color {
  color: var(--light-text-color);
}
.secondary-text-light-color {
  color: var(--secondary-text-light-color);
}
.muted-color {
  color: var(--muted-color);
}
.icon-color {
  color: var(--icon-color);
}
.green-color {
  color: var(--green-color);
}
.red-color {
  color: var(--red-color);
}
.success-color {
  color: var(--success-color);
}
.border-color {
  color: var(--border-color);
}
.disabled-color {
  color: var(--disabled-color);
}
.body-color {
  color: var(--body-color);
}

/* FONTS */
.tiny-size {
  font-size: var(--tiny-size) !important;
}

.extra-small-size {
  font-size: var(--extra-small-size) !important;
}

.small-size {
  font-size: var(--small-size);
}

.base-size {
  font-size: var(--base-size);
}

.midium-size {
  font-size: var(--medium-size);
}

.large-size {
  font-size: var(--large-size);
}

.big-size {
  font-size: var(--big-size);
}

.extra-big-size {
  font-size: var(--extra-big-size);
}

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

.mt-7 {
  margin-top: 5rem !important;
}

/***** RESET *****/
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

html {
  scroll-behavior: smooth;
}

body {
  font-size: var(--body-font);
  color: var(--text-color);
  font-family: var(--body-font-family);
  background-color: var(--secondary-bg-color);
}

a {
  color: var(--text-color);
  text-decoration: none;
}

a:hover {
  text-decoration: none;
  color: var(--primary-text-color);
  opacity: 80%;
  font-weight: 500;
}

ul {
  list-style: none;
}

input,
textarea {
  outline: none;
  color: var(--primary-text-color) !important;
  background-color: var(--secondary-bg-color) !important;
}

.poppins {
  font-family: 'Poppins';
}

.content-wrapper {
  flex: 1 0 auto;
  margin-top: 5rem;
  margin-bottom: 2rem;
  background-color: var(--secondary-bg-color);
}

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

/***** HEADER *****/
header {
  border-bottom: 1px solid var(--brand-color);
  background-color: var(--secondary-bg-color);
  z-index: 999;
  display: block;
}

/* Search bar */
.nav__search-bar {
  background-color: var(--bg-secondary-color);
  font-size: var(--small-font-size);
  height: min-content;
  min-width: 180px;
  white-space: nowrap;
  position: relative;
}
.nav__search-bar__icon {
  position: absolute;
  right: 10px;
  top: 6px;
}
.primary-menu {
  padding-left: 10rem;
}

/* Cart */
.nav__cart__icon {
  font-size: var(--h2-font-size);
  position: relative;
}

.nav__cart-items {
  font-size: 10px;
  font-style: normal;
  color: #fff;
  background: var(--brand-color);
  border-radius: 50%;
  padding: 0 3px;
  position: absolute;
  right: -4px;
  top: -4px;
}

.nav__cart-detail {
  font-size: var(--small-font-size);
  font-style: normal;
  top: 7px;
}

/***** FOOTER SECTION *****/
.footer {
  padding: 3rem 0 2.5rem 0;
  border-top: 1px solid var(--bg-secondary-color);
  flex-shrink: 0;
}
.footer p {
  font-size: smaller;
}

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

/***** MAIN SECTION *****/
.main-card {
  position: relative;
  margin-bottom: 30px;
  /* box-shadow: 0 0 10px rgba(0,0,0,0.1); */
  transition: transform 0.2s ease-in-out;
}

.main-card:hover {
  transform: scale(1.03);
}

.card-img-top {
  height: 500px;
  object-fit: cover;
  border-radius: 5px;
}

.card-category {
  height: 300px;
  width: 100%;
  object-fit: cover;
  border-radius: 5px;
}

/***** BEST SELLERS SECTION *****/
.best-sellers {
  padding-left: 5rem;
}
/* Hide scrollbar for Chrome, Safari and Opera */
.best-sellers__scroll::-webkit-scrollbar {
  display: none;
}
.best-sellers__scroll {
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}

/***** SERVICES SECTION *****/
.services {
  padding: auto 12rem;
  margin: 2rem auto 6rem auto !important;
}

.services .services__center-col {
  border-left: 1px solid #f2f2f2;
  border-right: 1px solid #f2f2f2;
}

.services__col {
  padding: 0rem 3rem;
}

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

/***** CART FORM SECTION *****/
.cart-form {
  padding: 4rem 1rem 3rem 1rem;
}

.stepper p {
  font-size: 0.65rem;
  font-weight: 300;
}

.stepper hr {
  width: 97%;
  border: 1px solid #828282;
}

.stepper .active {
  border: 1px solid #69bb58;
  opacity: 100%;
}

.cart-form input,
.cart-form textarea {
  border-color: #d9d9d9;
  border-radius: 15px;
  font-size: 0.7rem;
  font-weight: 300;
  padding: 0.8rem 1.4rem;
}

.cart-form select {
  border-color: #d9d9d9;
  border-radius: 15px;
  font-size: 0.7rem;
  font-weight: 300;
  padding: 0.8rem 1.4rem;
}

.cart-form button {
  border-radius: 15px;
  font-size: 0.7rem;
}

.cart-form .resume-card {
  border-radius: 15px;
}

.resume-card {
  background-color: var(--disabled-color);
}

.resume-card hr {
  border: 0.4px solid #a4a4a4;
}

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

/***** PRODUCTS SECTION *****/
.banner-img {
  filter: brightness(50%);
  width: 100%;
  height: 20rem;
  object-fit: cover;
  object-position: 0% 45%;
}
.banner-title {
  position: absolute;
  top: 62%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-family: 'Poppins';
  font-size: 1.7rem;
  font-weight: bold;
}
.product-card__img img {
  width: 235px;
  border-radius: 5px;
}
.filter {
  margin-bottom: 1rem;
}
.filter__title {
  text-transform: uppercase;
  font-size: 0.95rem;
  font-weight: bold;
}
.filter__title i {
  font-size: 1.3rem;
}
.filter__item {
  font-size: 0.9rem;
  font-weight: 300;
  color: #f0f0f0;
}
.filter__item a {
  display: flex;
}
.filter__item a label {
  cursor: pointer !important;
}
.filter__item__active {
  font-weight: 450;
  color: var(--brand-color);
}
.filter__hr {
  border: 0.5px solid #a6a6a6;
  width: 70%;
}
.product-card__title {
  font-size: 1rem;
  margin-top: 0.9rem;
}
.product-card__price {
  font-size: 0.9rem;
  font-weight: 300;
}
.product-card__info {
  margin: auto 20px;
}

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

/***** CONTACT SECTION *****/
.contact-banner-img {
  object-position: 0% 27%;
}
.contact-form-container {
  border: 1px solid #dedede;
}
.contact-form-container input,
.contact-form-container textarea {
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 300;
  padding-left: 3rem;
}
.contact-form-container input {
  height: 2.5rem;
}
.contact-form-container button[type='button'] {
  border-radius: 30px;
  font-size: 0.8rem;
}
.contact-form-container .contact-form i {
  left: 5%;
  top: 18%;
  color: #909090;
  font-size: 1.1rem;
}
.contact-info-container {
  padding-top: 6rem;
  padding-left: 7rem;
}
.contact-info-container p {
  font-size: 0.9rem;
  font-weight: 300;
  color: #909090;
  margin: 0;
}
.map-icon {
  top: 5.3rem;
  left: 7.5rem;
  font-size: 1.8rem;
}
.phone-icon {
  top: 12.9rem;
  left: 7.5rem;
  font-size: 1.8rem;
}
.email-icon {
  top: 18.8rem;
  left: 7.5rem;
  font-size: 1.8rem;
}

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

/***** ORDER DETAILS SECTION *****/
.details-container {
  background-color: var(--disabled-color);
  border-radius: 30px;
}

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

/***** SHIPPING SECTION *****/
.shipping-option {
  border: 0.5px solid #d9d9d9;
}
.shipping-option.active {
  border: 1.2px solid var(--brand-color);
}
.delivered-option {
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
}
.pick-up-option {
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
}
.delivered-option i {
  font-size: 1.5rem;
  margin-right: 0.5rem !important;
}
.delivered-option p {
  margin-left: 0 !important;
}
.pick-up-option i {
  font-size: 1.5rem;
  margin-right: 0.5rem !important;
}
.pick-up-option p {
  margin-left: 0 !important;
}
.shipping-inputs input {
  font-size: 0.7rem;
  border-radius: 20px;
  padding: 0.7rem 0.7rem 0.7rem 2rem;
}
.shipping-inputs .calculate-shipping-btn {
  background-color: #454545;
}
.shipping-inputs button[type='submit'],
.shipping-inputs .calculate-shipping-btn {
  color: white;
  border-radius: 20px;
  font-size: 0.7rem;
}
select.minimal {
  border-radius: 20px;
  font-size: 0.7rem;
  padding: 0.5rem 2.5rem 0.5rem 1rem;
  border: 1px solid #b9b9b9;
  background-image: linear-gradient(45deg, transparent 50%, gray 50%),
    linear-gradient(135deg, gray 50%, transparent 50%),
    linear-gradient(to right, #ccc, #ccc);
  background-position: calc(100% - 20px) calc(1em + 2px),
    calc(100% - 15px) calc(1em + 2px), calc(100% - 3em) 0.5em;
  background-size: 5px 5px, 5px 5px, 1px 1.5em;
  background-repeat: no-repeat;
  -moz-appearance: none; /* Firefox */
  -webkit-appearance: none; /* Safari and Chrome */
  appearance: none;
}
select.minimal:focus {
  outline: none;
}

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

/***** YOUR CART SECTION *****/
.quantity-btn {
  width: 120px;
  height: 34px;
  border: 1px solid #c2c2c2;
  border-radius: 30px;
}
.quantity-btn button:hover {
  text-decoration: none;
}
.quantity-btn input {
  background-color: transparent;
  height: 100%;
}
.quantity-btn .input-group-prepend button {
  padding-left: 1rem !important;
  padding-top: 3px !important;
  color: var(--body-color);
}
.quantity-btn .input-group-append button {
  padding-right: 1rem !important;
  padding-top: 2.5px !important;
  color: var(--body-color);
}
.remove-btn {
  height: 34px;
  border-radius: 30px;
  font-size: 0.9rem;
  width: 100px;
}
.cart-product-img {
  border-radius: 20px;
  max-width: 35%;
}
.order-details {
  right: 10%;
  padding: 1.3rem 0rem;
  border-radius: 15px;
  background-color: var(--disabled-color);
}
.order-details h6 {
  padding-right: 13rem !important;
}
.order-details button {
  border-radius: 30px;
  font-size: 0.9rem;
}

/***** SINGLE PRODUCT SECTION *****/
.single-product-section {
  height: auto;
  margin-top: 3rem;
}
.single-product-section a {
  color: var(--brand-color);
  font-weight: 500;
}
.single-product-section img {
  border-radius: 10px;
}
.single-product-images-container {
  height: 500px;
}
.product-main-img {
  height: 100%;
  object-fit: cover;
  object-position: 0% 15%;
}
.product-secondary-img {
  height: 30%;
  object-fit: cover;
  object-position: 0% 15%;
}
.product-characteristic span {
  padding: 0.4rem 1rem;
  margin: 0 0.1rem;
  font-size: 0.8rem;
  border: 1px solid #cfcfcf;
  border-radius: 20px;
}
.product-characteristic span:first-of-type {
  margin-left: 0.5rem;
}
.item-selected {
  border: 1.5px solid var(--brand-color) !important;
}
.select-characteristic {
  padding-right: 4rem !important;
}
.product-info {
  font-weight: 300;
}
.product-card__img img {
  height: 300px;
  object-fit: cover;
}

.cursor-pointer {
  cursor: pointer;
}

.cursor-default {
  cursor: default;
}

.object-fit-cover {
  object-fit: cover;
}

/* OVERLAY */
.overlay {
  display: none;
  position: fixed;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  z-index: 998;
  opacity: 0;
  transition: all 0.5s ease-in-out;
}

.overlay.loading {
  display: block;
  opacity: 1;
  z-index: 999;
}

.spinner {
  width: 5rem;
  height: 5rem;
  left: 50%;
  top: 45%;
}

.feature-instance.disabled {
  background-color: var(--disabled-color);
  cursor: default;
}

.top-10 {
  top: 9% !important;
}

.tooltip-inner {
  font-size: .7rem;
}

.product-card-container {
  display: flex;
}

.product-card {
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.product-main-card {
  width: 65%;
  height: 60vh;
}

.product-secondary-row {
  width: 35%;
  height: 60vh;
  margin-left: 55px;
}

.product-secondary-row .product-card {
  height: calc(50%);
}

.product-card-image {
  flex-grow: 1;
  background-position: center;
  background-size: cover;
  border-radius: 10px;
  overflow: hidden;
}

.product-card-title {
  margin: 5px 0px 0px 0px;
  font-size: 18px;
  color: var(--text-color);
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
}

.product-card-amount {
  margin: 5px 0px 0px 0px;
  font-size: 18px;
  color: var(--text-color);
  font-family: sans-serif;
  font-weight: 100;
}

.product-card-amount-with-discount {
  margin-top: 5px;
  font-size: 18px;
  color: var(--text-color);
  font-family: sans-serif;
  font-weight: 100;
}

.product-card-amount-original{
  margin-right: 10px;
  text-decoration: line-through;
  color: var(--muted-color);
  font-size: .8rem;
}

.product-card-amount-with-discount{
  font-weight: 500;
}

.product-card:hover {
  transform: scale(1.01);
  transition-duration: 300ms;
}

.price-with-icon {
  display: flex;
  align-items: center;
  cursor: default;
}

.product-card-amount-with-discount {
  margin-right: 5px;
}

.fa-info-circle {
  font-size: .75rem;
  padding-bottom: .7rem;
  cursor: pointer;
  color: var(--muted-color);
}

.fa-info-circle:hover {
  color: var(--highlight-color);
}

.language-picker {
  height: 25px;
  margin-left: 100px;
}

.language-flag {
  padding: 0.75em 1em;
}

.language-flag img {
  height: 25px;
  margin-right: 10px;
}

.theme-toogle {
  height: 25px;
  margin-top: 5px;
  margin-left: 15px;
}

.border-primary {
  border-color: var(--brand-color) !important;
}

.page-item.active .page-link {
  background-color: var(--brand-color);
  border-color: var(--brand-color);
}

.btn-primary {
  background-color: var(--brand-color);
  border-color: var(--brand-color);
}

.btn-primary:hover {
  background-color: var(--brand-color);
  border-color: var(--brand-color);
}

.btn-primary.disabled,
.btn-primary:disabled {
  background-color: var(--brand-color);
  border-color: var(--brand-color);
}

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

.category-icon {
  min-width: 25px;
  height: 25px;
  margin-right: 5px;
  object-fit: cover;
}

.scrollbar-no-visible {
  -ms-overflow-style: none; /* Internet Explorer 10+ */
  scrollbar-width: none; /* Firefox */
}

.scrollbar-no-visible::-webkit-scrollbar {
  display: none; /* Safari and Chrome */
}

@media (max-width: 935px) {
  .product-card-container {
    flex-direction: column;
  }

  .product-main-card {
    height: 40vh;
    width: 100%;
  }

  .product-secondary-row {
    margin-top: 24px;
    margin-left: 0px;
    width: 100%;
    height: auto;
  }

  .product-secondary-row .product-card {
    height: 40vh;
  }
}

/************************************************** 
				BLOG CLASSES
**************************************************/
.article-author {
  font-size: var(--base-size);
  color: var(--body-color);
  font-family: 'Merriweather', serif;
  font-style: italic;
}

.article-title {
  font-size: var(--extra-large-size);
  font-family: 'Merriweather', serif;
  color: var(--primary-text-color);
}

.article-description {
  height: 100px;
  overflow: hidden;
}

.article-card {
  background-color: var(--primary-bg-color);
  border-radius: 15px;
}

.img-fluid {
  border-radius: 35px;
  object-fit: cover;
  height: 400px;
  width: 100%;
}

.badge-pill {
  border-radius: 14px !important;
}

.margin-top-10 {
  margin-top: 10em;
}

.merriweather-bold {
  font-family: 'Merriweather', serif;
  font-weight: 700;
}

.img-cover {
  max-width: 75%;
  height: auto;
}

.w-30 {
  width: 30%;
}

.article-related-image {
  height: 300px;
  border-radius: 30px;
  width: 100%;
  object-fit: cover;
}

.no-stock {
  display: flex;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  align-items: center;
  margin: auto;
  justify-content: center;
}

.no-stock h2 {
  font-family: 'Merriweather', serif;
  font-weight: 700;
}

.product-chevron-left {
  display: none;
  cursor: pointer;
  position: absolute;
  background: #12121278;
  top: calc(50% - 1em);
  left: 0;
  padding: 1em 0.4em 1em 0.2em;
  border-radius: 0px 10px 10px 0px;
}
.product-chevron-right {
  display: none;
  cursor: pointer;
  position: absolute;
  background: #12121278;
  top: calc(50% - 1em);
  right: 0;
  padding: 1em 0.2em 1em 0.4em;
  border-radius: 10px 0px 0px 10px;
}
.product-chevron-left::before {
  font-size: 30px;
}
.product-chevron-right::before {
  font-size: 30px;
}

/************************************************** 
				RESPONSIVE DESIGN
**************************************************/
@media only screen and (max-width: 992px) {
  /* Navbar */
  .primary-menu {
    padding-left: 5rem;
  }

  /* Contact Section */
  .contact-info-container {
    padding-left: 5rem;
  }
  .map-icon {
    left: 2.5rem;
  }
  .phone-icon {
    left: 2.5rem;
  }
  .email-icon {
    left: 2.5rem;
  }

  /* Your Cart */
  .order-details {
    padding-right: 5rem;
    position: inherit !important;
    right: 2% !important;
  }

  /* Products */
  .filter-container {
    text-align: left;
    margin: 0 1rem;
  }
  .filter-container .btn:focus {
    box-shadow: none;
  }
  .filter__hr {
    margin: 0 auto;
    width: 100%;
    margin-bottom: 1rem;
  }
  .filter__icon {
    margin-top: 0.75rem;
  }
  .product-cards-container {
    text-align: center;
  }
  .product-card__img img {
    width: 300px;
  }

  .nav__search-bar {
    min-width: 170px;
  }
}

@media only screen and (max-width: 836px) {
  .nav__cart-detail {
    display: none;
  }

  .language-picker {
    margin-left: 15px;
  }
}

@media only screen and (max-width: 768px) {
  /* Navbar */
  nav {
    flex-direction: column;
    align-items: center;
  }
  nav li {
    padding: 0.6rem 0;
  }
  .primary-menu {
    padding-left: 0;
  }

  /* Main Section */
  .card-img-top {
    height: 300px;
    object-fit: cover;
  }

  /* Cart Form Section */
  .cart-form {
    margin-top: 2rem;
  }
  .resume-card {
    width: 100%;
  }

  /* Banner Section */
  .banner-title {
    top: 75%;
  }

  /* Single Product Section */
  .single-product-section {
    margin-left: 1rem;
    height: 35%;
  }
  .product-main-img {
    height: 20rem;
  }
  .product-secondary-img {
    display: none;
  }
  .product-info  {
    margin-top: 10rem !important;
    margin-left: 1rem !important;
  }

  .product-card-container {
    margin-top: 7em !important;
  }

  .cart-container {
    margin-top: 7rem !important;
  }
}

@media only screen and (max-width: 576px) {
  /* Header */
  .header {
    padding-top: 3px !important;
  }

  /* Navbar */
  nav {
    flex-direction: column;
    align-items: center;
  }
  nav li {
    padding: 0.6rem 0;
  }

  /* Services Section */
  .services .services__center-col {
    border: 0px;
  }
  .services__col {
    margin: auto;
  }
  
  .single-product-images-container {
    height: auto;
    margin-top: 4em;
  }

  /* Footer Section */
  .footer {
    padding: 3rem 0 1rem 0 !important;
  }

  .product-chevron-right {
    display: block;
  }
}

@media only screen and (min-width: 1200px) {
  .article-card {
    margin: 0em 10em;
  }

  .no-stock {
    width: 235px;
  }
}
