﻿/* RESET STYLES */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}

ul,
ol {
  list-style: none;
}

img,
picture {
  max-width: 100%;
  display: block;
}

input,
button,
textarea,
select {
  font: inherit;
}
button {
  border: none;
  background: transparent;
}
/* RESET STYLES */

/*  GLOBAL STYLES */
html:root {
  --bs-breadcrumb-divider: '/';

  --primary-color: #BAA483;
  --success-color: #006800;
  --warning-color: #EB6F25;
  --danger-color: #680000;

  --bs-primary-rgb: 186, 164, 131;
  --bs-success-rgb: 0, 104, 0;
  --bs-warning-rgb: 235, 111, 37;
  --bs-danger-rgb: 104, 0, 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Raleway !important;
  display: flex;
  flex-direction: column;
}

body a,
body a.nav-link {
  text-decoration: none;
  color: black;
}
body a:hover {
  color: var(--primary-color) !important;
}
body a:hover svg path {
  fill: var(--primary-color) !important;
}

header .navbar-nav .nav-link,
header a {
  color: white !important;
  width: fit-content;
  padding: 6px;
  border-bottom-width: 1px !important;
}

.tradeplace-container {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  padding: 0 50px !important;
}
.tradeplace-section {
  margin-top: 48px;
}
.tradeplace-breadcrumb {
  background-color: black;
}
.tradeplace-breadcrumb a {
  color: white;
}

@media (max-width: 992px) {
  .tradeplace-container {
    padding: 0 64px !important;
  }
}
@media (max-width: 768px) {
  .tradeplace-container {
    padding: 0 16px !important;
  }
}

.tradeplace-header-logo {
  width: 123px;
}

@media (max-width: 768px) {
  .tradeplace-header-logo {
    width: 61px;
  }
}
body .form-control {
  border-radius: 0;
  border: 1px solid #000000;
  height: 48px;
}
body .form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: none;
}
.nav-search-form {
  position: relative;
}
.nav-search-form input.form-control {
  height: 40px;
  padding-left: 30px;
  background: transparent;
  border-width: 0 0 1px 0;
  border-color: white;
  color: white;
}
.nav-search-form input.form-control::placeholder {
  color: #FFFFFFB8;
}

.nav-search-form button[type="submit"] {
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  color: white;
}
@media screen and (max-width: 991px) {
  a.nav-link {
    padding: 0;
  }
  .nav-search-form {
    padding: 24px 0;
    margin: 24px 0;
    border-bottom: 1px solid #F0F3F6;
    border-top: 1px solid #F0F3F6;
  }
}
.nav-underline .nav-link:focus,
.nav-underline .nav-link:hover {
  border-bottom-color: white !important;
}
.nav-underline .nav-link.active,
.nav-underline .show>.nav-link {
  border-bottom-color: white !important;
}

@media screen and (min-width: 992px) {
  nav.navbar {
    padding-top: 20px;
    padding-bottom: 20px;
  }
}
nav.navbar {
  border-bottom: 1px solid #303030;
}

.navbar .navbar-toggler {
  background: transparent;
  border: none;
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none !important;
}
.navbar-toggler[aria-expanded="true"] .bi-list {
  display: none;
  color: white;
}
.navbar-toggler[aria-expanded="false"] .bi-x-lg {
  display: none;
  color: white;
}
.navbar-toggler[aria-expanded="true"] .bi-x-lg {
  display: block;
  color: white;
}
.navbar-toggler[aria-expanded="false"] .bi-list {
  display: block;
  color: white;
}
.fs-7 {
  font-size: 14px;
}
.fs-8 {
  font-size: 12px;
}
body .btn {
  border-radius: 0;
  white-space: nowrap;
  height: 48px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}
body .btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}
body .btn-primary:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}
body .btn-primary:active {
  background-color: #003057;
}
.btn.disabled, .btn:disabled, fieldset:disabled .btn {
  border: 1px solid #BDC4CA !important;
  background: #BDC4CA !important;
}
body .btn.btn-outline-primary:hover {
  background-color: black !important;
  background-color: black !important;
  color: #FFF !important;
}
body .btn.btn-outline-danger:hover {
  background-color: var(--danger-color) !important;
  border-color: var(--danger-color) !important;
  color: #FFF !important;
}
body .btn.btn-outline-danger {
  border-color: black;
  color: var(--danger-color);
}

body .btn.btn-primary:hover {
  color: #FFF !important;
}
.why-tradeplace-section {
  background: #E3E3E3;
  padding: 48px 0;
}
.tradeplace-footer {
    background-color: #000000;
    padding: 32px 0;
    margin-top: auto;
}
h1,h2,h3,h4,h5,h6 {
  font-weight: 700 !important;
}
.tradeplace-product-card {
    width: 374px;
    min-width: 374px;
    background: #FFF;
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 24px;
}
.tradeplace-product-card-image {
    height: 220px;
}
@media (max-width: 576px) {
    .tradeplace-product-card {
        width: 294px;
        min-width: 294px;
    }
    .tradeplace-product-card-image {
        height: 140px;
    }
}

.tradeplace-product-category-card-image {
    flex-grow: 1;
    display: flex;
    align-items: start;
    justify-content: center;
    margin-bottom: 8px;
    max-height: 290px;
}
    .tradeplace-product-category-card-image img {
        max-height: 100%;
        object-fit: contain;
    }
@media screen and (max-width: 768px) {
    .tradeplace-product-category-card {
        align-items: center;
    }
    .tradeplace-product-category-card-image {
        max-height: 290px;
    }
        .tradeplace-product-category-card-image img {
            max-height: 95%;
        }
}

input[type="search" i]::-webkit-search-cancel-button {
  cursor: pointer;
}

body .nav.nav-tabs {
  border: none;
  gap: 16px;
  margin-bottom: 16px;
  background-color: #E3E3E3;
  padding: 0 16px 20px 16px;
  font-weight: 700;
}
body .nav.nav-tabs .nav-link {
  border: none;
  padding:0;
  padding-top: 20px;
  border-top: 2px solid transparent;
  border-radius: 0;

}
body .nav-tabs .nav-link.active {
  border-top: 2px solid var(--primary-color);
  background-color: transparent;
}

/* header dropdown styles */
@media (min-width: 992px) {
    .tradeplace-nav-dropdown-menu-content {
        width: 100vw;
        max-width: 100vw;
        min-width: 100vw;
    }
}
nav.navbar .dropdown-menu[data-bs-popper] {
  top: 97%;
  border-radius: 0;
  border-bottom: 1px solid #303030 !important;
  border-top: 1px solid #303030 !important;
  border-left: 0;
  border-right: 0;
  background-color: black;
}
.nav-item .tab-content a {
  color: white !important;
}
.form-check-input[type=checkbox] {
  width: 32px;
  height: 32px;
  box-shadow: none !important;
  border-radius: var(--default-border-radius) !important;
  background-size: 85%;
  margin-top: 0;
}
.form-check-input:checked {
  background-color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
  cursor: pointer;
}
select.form-select {
  border: 1px solid #000;
  cursor: pointer;
  border-radius: 0;
}
input.form-control {
  border: 1px solid #E3E3E3;
  height: 48px;
  background: #F8F8F8;
}
.modal .modal-content {
  border-radius: 0;
}


.tradeplace-paginator {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 24px;
}
@media (max-width: 576px) {
    .tradeplace-paginator {
        flex-direction: column;
        align-items: center;
    }
}
.tradeplace-paginator select {
    max-width: 200px;
}

.tradeplace-paginator .page-link {
    border: none !important;
    border-radius: var(--default-border-radius) !important;
    color: var(--main-text-color) !important;
}
    .tradeplace-paginator .page-link .active > .page-link, .page-link.active {
        background-color: black !important;
        color: white !important;
    }
.category-filters {
  min-width: 296px;
  width: 296px;
  border: 1px solid #DFDFDF;
  background: #F8F8F8;
  position: sticky;
  top: 84px;
  height: fit-content;
}
.products-list-card-image {
  max-height: 400px;
}
@media screen and (max-width: 992px) {
  .category-filters {
   width: 100%;
   position: relative;
   top: 0;
  }
  .products-list-card-image {
    max-height: 200px;
  }
}
body .form-check-input {
  width: 24px;
  height: 24px;
}

.button-aesthetics {
    height: 1rem;
    margin-right: 10px;
    width: 40px;
    border-bottom: 1px solid white;
    display: inline-block;
}
.button-aesthetics.black {
  border-bottom-color: black;
}
body .breadcrumb-item.active {
  color: white;
}
body .breadcrumb-item a {
  color: rgba(182, 182, 182, 1);
}
body .breadcrumb-item+.breadcrumb-item::before {
  color: rgba(182, 182, 182, 1);
}
.tradeplace-paginator .tradeplace-paginator .page-link .active > .page-link, .page-link.active {
    background-color: var(--primary-color) !important;
}
.tradeplace-paginator .tradeplace-paginator .page-link .active > .page-link, .page-link {
    cursor: pointer;
}
.product-item-info, .tradeplace-product-card, .products-list-container, .table-header-product-info, .tradeplace-cart-container, .checkout-summary {
    font-family: Mulish;
}
.text-overflow-ellipsis {
  overflow: hidden;
  text-overflow: ellipsis;
}
/*  GLOBAL STYLES */