/* ======================================== */
/* THEME COLORS                             */
/* ======================================== */
:root {
  --mut-paper: #eef1ec;
  --mut-paper2: #e1e7de;
  --mut-white: #fbfcfa;
  --mut-ink: #2b1f17;
  --mut-pink: #ff3d7f;
  --mut-rust: #b0561f;
  --mut-line: rgba(43, 31, 23, 0.22);
  --bs-link-color: #2b1f17;
  --bs-link-hover-color: #b0561f;

  /* Bootstrap's own theme colors, overridden so nothing green leaks through */
  --bs-body-bg: #eef1ec;
  --bs-body-bg-rgb: 238, 241, 236;
  --bs-body-color: #2b1f17;
  --bs-body-color-rgb: 43, 31, 23;
  --bs-secondary-bg: #e1e7de;
  --bs-secondary-bg-rgb: 225, 231, 222;
  --bs-tertiary-bg: #e1e7de;
  --bs-tertiary-bg-rgb: 225, 231, 222;
  --bs-light: #fbfcfa;
  --bs-light-rgb: 251, 252, 250;
  --bs-border-color: rgba(43, 31, 23, 0.22);
  --bs-border-color-translucent: rgba(43, 31, 23, 0.22);
  --bs-emphasis-color: #2b1f17;
  --bs-primary: #2b1f17;
  --bs-primary-rgb: 43, 31, 23;
  --bs-border-radius: 0;
  --bs-border-radius-sm: 0;
  --bs-border-radius-lg: 0;
}

/* ======================================== */
/* BASE STYLES                              */
/* ======================================== */
body {
  width: 100%;
  margin: 0;
  font-family: 'Inter Tight', "Open Sans", sans-serif;
  color: var(--mut-ink);
  background-color: var(--mut-paper);
}
h1, h2, h3, h4, h5, h6 { color: var(--mut-ink); }
h1, h2, h3 { font-weight: 800; letter-spacing: -0.025em; }
legend { padding:7px 0; margin-bottom:20px; border-bottom:1px solid var(--mut-line); }
label { font-size:12px; font-weight:normal; }
button:focus { outline:none !important; }
a { color: var(--mut-ink); }
a:hover { color: var(--mut-rust); }
:focus-visible { outline:3px solid var(--mut-ink); outline-offset:2px; }

/* Buttons */
.btn-primary {
  --bs-btn-color: var(--mut-paper);
  --bs-btn-bg: var(--mut-ink);
  --bs-btn-border-color: var(--mut-ink);
  --bs-btn-hover-color: var(--mut-ink);
  --bs-btn-hover-bg: var(--mut-pink);
  --bs-btn-hover-border-color: var(--mut-pink);
  --bs-btn-active-color: var(--mut-ink);
  --bs-btn-active-bg: var(--mut-pink);
  --bs-btn-active-border-color: var(--mut-pink);
  --bs-btn-disabled-bg: var(--mut-ink);
  --bs-btn-disabled-border-color: var(--mut-ink);
  border-radius: 0;
}
.btn-light {
  --bs-btn-color: var(--mut-ink);
  --bs-btn-bg: var(--mut-white);
  --bs-btn-border-color: var(--mut-ink);
  --bs-btn-hover-color: var(--mut-ink);
  --bs-btn-hover-bg: var(--mut-pink);
  --bs-btn-hover-border-color: var(--mut-ink);
  --bs-btn-active-color: var(--mut-ink);
  --bs-btn-active-bg: var(--mut-pink);
  --bs-btn-active-border-color: var(--mut-ink);
  border-width: 2px;
  border-radius: 0;
}
.btn-secondary, .btn-outline-secondary { border-radius: 0; }
.form-control, .form-select { border-radius: 0; border-color: var(--mut-ink); background-color: var(--mut-white); color: var(--mut-ink); }
.form-control:disabled, .form-control[readonly] { background-color: var(--mut-paper2); }
.form-control:focus, .form-select:focus { border-color: var(--mut-ink); box-shadow: 0 0 0 3px rgba(255, 61, 127, 0.35); }

/* ======================================== */
/* CONTAINER / LAYOUT                        */
/* ======================================== */
#container { width:100%; display:flex; flex-direction:column; min-height:100vh; }
#container > main { flex:1 0 auto; }

/* Breathing room between the last thing on the page and the footer.
   The landing page sits outside #content, so it is untouched. */
#content { padding-bottom:56px; }

/* ======================================== */
/* ALERT POPUPS                               */
/* ======================================== */
#alert {
  z-index:9999;
  position:fixed;
  top:30%;
  left:50%;
  width:400px;
  margin-left:-200px;
}
@media (min-width:992px) { #alert { width:600px; margin-left:-300px; } }
@media (min-width:1140px) { #alert { width:600px; margin-left:-300px; } }
@media (min-width:1320px) { #alert { width:600px; margin-left:-300px; } }
#alert .alert { margin-bottom:15px; border-radius:0; }
#alert .alert-primary { box-shadow:0 0 0 5px rgb(var(--bs-primary-rgb),0.1); }
#alert .alert-secondary { box-shadow:0 0 0 5px rgb(var(--bs-secondary-rgb),0.1); }
#alert .alert-success { box-shadow:0 0 0 5px rgb(var(--bs-success-rgb),0.1); }
#alert .alert-warning { box-shadow:0 0 0 5px rgb(var(--bs-warning-rgb),0.1); }
#alert .alert-danger { box-shadow:0 0 0 5px rgb(var(--bs-danger-rgb),0.1); }
#alert .alert-info { box-shadow:0 0 0 5px rgb(var(--bs-info-rgb),0.1); }
#alert .alert-light { box-shadow:0 0 0 5px rgb(var(--bs-light-rgb),0.1); }
#alert .alert-dark { box-shadow:0 0 0 5px rgb(var(--bs-dark-rgb),0.1); }

/* ======================================== */
/* TOP BAR                                    */
/* ======================================== */
#top {
  background-color: var(--mut-white);
  border-bottom:1px solid var(--mut-line);
  margin-bottom:20px;
  position:relative;
  padding-bottom:5px;
}
#top ul.list-inline { margin-bottom:0; }
#top .list-inline-item > a, #top .list-inline-item .dropdown > a {
  font-size:1.1em;
  color: var(--mut-ink);
  line-height:40px;
  vertical-align:middle;
  padding:10px 0 5px 0;
  text-decoration:none;
}
#top .list-inline-item > a:hover, #top .list-inline-item .dropdown > a:hover { color: var(--mut-rust); }

/* ======================================== */
/* LOGO                                       */
/* ======================================== */
#logo { text-align:center; margin:7px 0; }
@media (min-width:768px) { #logo { text-align:left; } }
#logo img {
  display:block;
  margin:0 auto;
  max-width:400px;
  width:auto;
  height:auto;
  image-rendering:auto;
}

/* ======================================== */
/* SEARCH                                     */
/* ======================================== */
#search { margin-bottom:10px; }
#search .form-control-lg { height:40px; font-size:14px; line-height:20px; padding:0 12px; background-color: var(--mut-white); border:2px solid var(--mut-ink); color: var(--mut-ink); }
#search .form-control-lg::placeholder { color:#7a6a5f; }
#search .btn-lg { font-size:15px; line-height:18px; padding:0.4rem 28px; border:2px solid var(--mut-ink); border-left:0; }

/* ======================================== */
/* CART                                       */
/* ======================================== */
#cart { margin-bottom:10px; }
#cart .img-thumbnail { min-width:100px; border-radius:0; }
#cart .btn-lg { font-size:15px; line-height:18px; padding:14px 35px; }
#cart .dropdown-menu { background: var(--mut-white); border:2px solid var(--mut-ink); border-radius:0; }
#cart .dropdown-menu li { min-width:300px; }
@media (max-width:768px) { #cart .dropdown-menu li { min-width:100%; } }

/* Cart dropdown link colors */
#cart .dropdown-menu a:not(.btn),
#shopping-cart a:not(.btn),
#checkout-cart a:not(.btn),
#checkout-checkout a:not(.btn) { color: var(--mut-ink); }
#cart .dropdown-menu a:not(.btn):hover,
#shopping-cart a:not(.btn):hover,
#checkout-cart a:not(.btn):hover,
#checkout-checkout a:not(.btn):hover { color: var(--mut-rust); }

/* ======================================== */
/* MENU                                       */
/* ======================================== */
#menu {
  background-color: var(--mut-ink);
  border:0;
  border-radius:0;
  min-height:40px;
  padding:0 1rem;
  margin-bottom:20px;
}
#menu .navbar-nav > li > a { color: var(--mut-paper); padding:10px 15px; background-color:transparent; font-weight:600; }
#menu .navbar-nav > li > a:hover { background-color: var(--mut-pink); color: var(--mut-ink); }
#menu .dropdown-menu { border-radius:0; border:2px solid var(--mut-ink); background: var(--mut-white); }
#menu .dropdown-menu .dropdown-item:hover { background: var(--mut-pink); color: var(--mut-ink); }
#menu .dropdown-inner { display:flex; flex-direction:column; }
#menu .dropdown-inner ul { width:100%; min-width:200px; }
@media (min-width:960px) { #menu .dropdown:hover .dropdown-menu { display:block; } #menu .dropdown-inner { flex-direction:row; } }

/* ======================================== */
/* BREADCRUMB                                 */
/* ======================================== */
.breadcrumb {
  margin:0 0 20px;
  padding:8px 0;
  border:1px solid var(--mut-line);
  border-radius:0;
  background-color: var(--mut-paper2);
}
.breadcrumb i { font-size:15px; }
.breadcrumb > li.breadcrumb-item { padding:0 20px; position:relative; white-space:nowrap; }
.breadcrumb > li.breadcrumb-item > a { text-decoration:none; }
.breadcrumb > li.breadcrumb-item:after {
  content:"";
  display:block;
  position:absolute;
  top:-3px;
  right:-5px;
  width:26px;
  height:26px;
  border-right:1px solid var(--mut-line);
  border-bottom:1px solid var(--mut-line);
  transform:rotate(-45deg);
}

/* ======================================== */
/* PRODUCTS                                   */
/* ======================================== */
.product-thumb { border:2px solid var(--mut-ink); position:relative; height:100%; background: var(--mut-white); }
.product-thumb .image { text-align:center; }
.product-thumb .image a:hover { opacity:0.8; }
.product-thumb .description { padding:15px; margin-bottom:45px; }
.product-thumb .description h4 { font-weight:800; letter-spacing:-0.02em; }
.product-thumb .button { display:flex; position:absolute; width:100%; bottom:0; }
.product-thumb .button button { width:33.33%; border:none; border-top:2px solid var(--mut-ink); background-color: var(--mut-paper2); color: var(--mut-ink); line-height:38px; text-align:center; }
.product-thumb .button button:hover { color: var(--mut-ink); background-color: var(--mut-pink); cursor:pointer; }
.product-thumb .button button + button { border-left:2px solid var(--mut-ink); }
@media (min-width:960px) {
  .product-list .product-thumb { display:flex; }
  .product-list .product-thumb .image { flex-direction:column; margin-bottom:0; }
  .product-list .product-thumb .content { flex-direction:column; flex:75%; position:relative; }
  .product-list .product-thumb .button { border-left:2px solid var(--mut-ink); width:calc(100% - 15px); margin-left:15px; }
}

/* ======================================== */
/* IMAGE FIXES - CRISP DISPLAY               */
/* ======================================== */
.banner-image,
#banner img,
#manufacturers img,
.manufacturer img,
.product-thumb .image img,
#logo img,
.col-lg-4 img,
.col-md-3 img,
.col-md-4 img {
  max-width:100%;
  width:auto;
  height:auto;
  display:block;
  image-rendering:auto;
}
#logo, .banner-container, #manufacturers { overflow:hidden; }

/* ======================================== */
/* FOOTER                                     */
/* ======================================== */
footer {
  flex-shrink:0;
  width:100%;
  padding-top:40px;
  background-color: var(--mut-ink);
  border:0;
  color: var(--mut-paper);
}
footer hr { border-top:none; border-bottom:1px solid rgba(238, 241, 236, 0.3); }
footer a { color: var(--mut-paper); text-decoration:none; opacity:0.85; }
footer a:hover { color: var(--mut-pink); opacity:1; }
footer h5 { font-size:13px; font-weight:bold; color: var(--mut-paper); margin:10px 0; }

/* ======================================== */
/* COOKIE NOTICE                              */
/* ======================================== */
#cookie {
  position:fixed;
  bottom:0;
  left:0;
  width:100%;
  height:150px;
  z-index:9999;
  opacity:0.95;
  color: var(--mut-paper);
  background: var(--mut-ink);
}
#cookie div { font-size:16px; color: var(--mut-paper); }

/* ======================================== */
/* IMAGE MAGNIFIER - WHITE BACKGROUND       */
/* Only the image itself, not the overlay */
/* ======================================== */
.mfp-figure figure {
  background: #ffffff !important;
}

.mfp-img {
  background: #ffffff !important;
}