body, html {
  height: 100%
}
body {
  padding-top: 230px;
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: #2e2e2e;
  background-color: #f2f2f2
}
.wrapper {
  min-height: 100%;
  height: auto !important;
  height: 100%;
  margin: 0 auto -200px
}
.sticky {
  height: 200px
}
.inner-wrap {
  width: 960px;
  margin: 0 auto
}
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 120px;
  z-index: 9999;
  background-color: #2b2e35
}
.site-header 
.site-header h1, .site-header ul {
  display: table-cell;
  vertical-align: middle
}

.site-header ul {
  font-size: 16px;
  text-align: right;
  color: #b2c4d8
}
.site-header ul li {
  padding-left: 7px;
  padding-right: 7px
}
.site-header .search, .site-toolbar .notifications span {
  color: #434f5b
}
.site-header .account {
  color: #6f8295
}
.site-header ul button {
  color: #aab5c0;
  border: none;
  background: none;
  outline: none
}
.site-header ul a:hover, .site-header ul button.have-items, .site-header ul button:hover {
  color: #b8d87f
}
.site-header ul button.have-items {
  position: relative
}
.site-header ul button.have-items::before {
  position: absolute;
  top: -5px;
  right: 0;
  z-index: 9;
  content: '\f111';
  display: block;
  font-family: 'FontAwesome';
  color: #fff
}
.site-header ul button.have-items::after {
  position: absolute;
  top: -4px;
  right: 3px;
  z-index: 11;
  content: attr(data-item-num);
  display: block;
  font-weight: bold;
  font-size: 0.8em;
  color: #2b2e35
}
.site-toolbar, .site-toolbar * {
  transition: all 0.5s
}
.site-toolbar {
  position: fixed;
  top: 120px;
  left: 0;
  width: 100%;
  height: 30px;
  z-index: 9999;
  background-color: #b8d87f
}
.site-toolbar .notifications {
  float: left;
  width: 100%;
  padding-top: 5px;
  padding-bottom: 5px;
  padding-right: 7px;
  font-weight: 600;
  text-align: right;
  opacity: 0
}
.content-wrap {
  position: relative;
  padding-top: 30px;
  padding-bottom: 30px
}
.filter-grid {
  position: fixed;
  top: 150px;
  left: 0;
  z-index: 8999;
  width: 100%;
  padding-top: 10px;
  padding-bottom: 10px;
  background-color: #434f5b
}
.filter-grid .filter-cell {
  float: left;
  width: 25%;
  padding: 7px
}
.filter-grid select {
  font-weight: 600
}
.grid-product .img-name img, .product-grid {
  width: 100%
}
.grid-product {
  width: 25%;
  padding: 7px;
  float: left;
  box-sizing: border-box;
  display: block
}
.grid-product .img-name {
  position: relative;
  width: 100%;
  height: 190px;
  background-color: #fff;
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
  border: 1px solid #aab5c0;
  image-rendering: auto
}
.grid-product .img-name h4 {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  margin: 0;
  padding-bottom: 5px;
  padding-left: 15px;
  padding-right: 15px;
  padding-top: 5px;
  font-size: 12px;
  color: #2b2e35;
  background-color: rgba(242, 242, 242, 0.8)
}
.grid-product .price {
  position: relative;
  padding: 13px;
  font-weight: bold;
  background-color: #aab5c0
}
.grid-product .add-to-cart {
  position: absolute;
  top: 7px;
  right: 7px;
  color: #fff;
  background-color: #434f5b
}
.grid-product .add-to-cart:hover {
  color: #b8d87f;
  background-color: #2b2e35
}
.grid-product .price {
  display: flex !important
}
.grid-product .got-it-toggle {
  display: inline-block !important
}
.price {
  display: none
}
.grid-product .price {
  display: flex;
  justify-content: space-between;
  align-items: center
}


/* === Header micro‑tuning === */
/* Shift title slightly left so it isn't perfectly centered */


/* Make sure the search icon renders before Login */
.site-header a.search{display:inline-flex; align-items:center; min-width:18px;}
.site-header a.search::before{content:""; display:inline-block; width:16px; height:16px;
  border:2px solid #6b7a89; border-radius:50%; margin-right:8px;}
.site-header a.search::after{content:""; display:inline-block; width:9px; height:2px; background:#6b7a89;
  transform:translate(-6px,5px) rotate(45deg); border-radius:1px;}


/* SEARCH ICON ABSOLUTE */
.site-header a.search{position:relative; display:block; width:22px; height:22px; text-indent:-9999px;}
.site-header a.search i{display:none;}
.site-header a.search::before{
  content:""; position:absolute; left:2px; top:2px;
  width:14px; height:14px; border:2px solid #6b7a89; border-radius:50%;
}
.site-header a.search::after{
  content:""; position:absolute; left:15px; top:15px;
  width:9px; height:2px; background:#6b7a89; transform:rotate(45deg); border-radius:1px;
}

.site-header 

.site-header .inner-wrap{position:relative; display:block; height:100px;}


/* === Header: title left, search+login right (single-line title) === */
.site-header .inner-wrap{max-width:1140px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;min-height:86px;}
.site-header h1{position:static!important;transform:none!important;margin:0;color:#fff;font-weight:700;line-height:1;white-space:nowrap;font-size:44px;}
.site-header ul{display:flex;align-items:center;gap:14px;list-style:none;margin:0;padding:0;}
/* Search icon */
.site-header a.search{position:relative;display:block;width:22px;height:22px;text-indent:-9999px;}
.site-header a.search i{display:none;}
.site-header a.search::before{content:"";position:absolute;left:2px;top:2px;width:14px;height:14px;border:2px solid #6b7a89;border-radius:50%;}
.site-header a.search::after{content:"";position:absolute;left:15px;top:15px;width:9px;height:2px;background:#6b7a89;transform:rotate(45deg);border-radius:1px;}




/* === Product image fit fix v2: prevent magnified/cropped thumbnails; no upscale; center === */
.img-name { position: relative; overflow: hidden; }
.img-name img {
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  -o-object-fit: contain !important;
}





/* === Header search input positioning (no layout shift) === */
.site-header .inner-wrap li,
.site-toolbar .inner-wrap li { position: relative; }
.site-header .inner-wrap li a.search,
.site-toolbar .inner-wrap li a.search { position: relative; z-index: 2; }
/* Drop the input BELOW the nav item, aligned to right edge of the icon/login */
.site-header .inner-wrap li #search-input,
.site-toolbar .inner-wrap li #search-input { left: 50%;

  position: absolute;
  
  top: calc(100% + 8px);
  display: none;
  width: 260px;
  max-width: 40vw;
  padding: 6px 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0,0,0,0.16);
  z-index: 3;

  transform: translateX(-50%);}
.site-header .inner-wrap li.search-open #search-input,
.site-toolbar .inner-wrap li.search-open #search-input { display: block !important; }




/* === Replace magnifier with SVG asset === */
.site-header .inner-wrap a.search,
.site-toolbar .inner-wrap a.search,
a.search {
  background: url("../img/magnifying-glass-solid-full.svg") no-repeat center;
  background-size: 18px 18px;
  width: 22px;
  height: 22px;
  display: inline-block;
  text-indent: -9999px;
}
/* Hide the old drawn handle/circle */
a.search::before,
a.search::after {
  display: none !important;
  content: none !important;
}



/* mask the svg so we can color it */
  -webkit-mask: url("../img/magnifying-glass-solid-full.svg") no-repeat center;
          mask: url("../img/magnifying-glass-solid-full.svg") no-repeat center;
  -webkit-mask-size: 18px 18px;
          mask-size: 18px 18px;
  background-color: #9E9E9E; /* mid grey */
}

.site-header .inner-wrap a.search:hover,
.site-toolbar .inner-wrap a.search:hover,
a.search:hover {
  background-color: #B3ADA8; /* slightly lighter on hover */
}

/* === Header search icon alignment & spacing tweak === */
/* Make the icon line up with the nav text and sit closer to Login/Logout */
.site-header .inner-wrap a.search,
.site-toolbar .inner-wrap a.search,
a.search {
  vertical-align: middle;
  position: relative;
  top: 1px;          /* nudge down to align with text baseline */
  margin-right: 30px; /* pull closer to the following item (Login/Logout) */
}

/* If your theme adds spacing on <li>, this reinforces the tighter gap for the search item */
.site-header .inner-wrap li > a.search,
.site-toolbar .inner-wrap li > a.search {
  margin-right: 6px;
}


/* === ddvt override (scoped) ===
   Allow four-across product grid by widening the toolbar content wrapper only.
   Keeps header/footer .inner-wrap unaffected.
*/
.site-toolbar > .inner-wrap {
  width: 100% !important;
  max-width: 1140px !important; /* matches theme's later max width */
}
