/* ===== Promo Grid ===== */
.promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0; /* flush tiles together */
}

/* ===== Promo Card ===== */
.promo-card {
  position: relative;
  background-size: cover;
  background-position: center;
  min-height: clamp(220px, 31vw, 470px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

/* ===== Overlay (roll-up) ===== */
:root {
  --strip: 60px; /* height of the visible title strip at rest */
}

.promo-overlay {
  position: absolute;
  inset: auto 0 0 0;
  background: rgba(255, 255, 255, 0.85); /* white translucent */
  color: #333;
  transform: translateY(calc(100% - var(--strip)));
  transition: transform 320ms cubic-bezier(.2, .8, .2, 1);
  z-index: 2;
}

.promo-card:hover .promo-overlay,
.promo-card:focus-within .promo-overlay {
  transform: translateY(0%);
}

/* ===== Overlay Content ===== */
.promo-content {
  padding: 1rem 1.5rem 1.8rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.9rem;
}

/* ===== Title ===== */
.promo-title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: #654421 /* dark text for contrast */
  line-height: 1.1;
}

/* ===== Button ===== */
.promo-btn {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  border: 2px solid #654421;   /* dark border on white overlay */
  border-radius: 999px;
  background: #654421;
  color: white;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.9rem;
  opacity: 0;               /* hidden at rest */
  transform: translateY(10px);
  transition: opacity 200ms ease, transform 200ms ease;
}

.promo-card:hover .promo-btn,
.promo-card:focus-within .promo-btn {
  opacity: 1;
  transform: translateY(0);
}

.promo-btn:hover,
.promo-btn:focus {
  background: transparent;
  color: #654421;
  border: 2px solid #654421; 
  }


/* ===== Responsive ===== */
@media (max-width: 768px) {
  .promo-grid {
    grid-template-columns: 1fr; /* stack on smaller screens */
  }
}



nav.menu .catalog-block ul.catalog>li>a {
    align-items: center;
    border-bottom: 2px solid transparent;
    color: var(--evo-text-col);
    display: flex;
    font-size: .875em;
    height: 100%;
    line-height: 1.5;
    padding: 10px 15px;
    transition: border .35s ease, color .35s ease !important;
    white-space: nowrap;
}

.productspecs_container .tech-specs .item:nth-child(odd) {
    background-color: #f6f8fc !important;
}

.productsummary_container .productdetails .prod-code span {
    background-color: #f6f8fc !important;
    color: var(--evo-text-col);
    font-weight: 400;
}

/* CHANGES REMOVE LATER */

.bg-primary {
    background-color: white !important;
}

header .menu .catalog-block {
    background: #654421 !IMPORTANT;
}

nav.menu .additional_links .menuitem a {
    align-items: center;
    border-bottom: 2px solid transparent;
    color: #ffffff;
    display: flex;
    font-size: .875em;
    height: 100%;
    line-height: 1.5;
    padding: 10px 15px;
    transition: border .35s ease, color .35s ease !important;
}

nav.menu .additional_links .menuitem a:hover {
    color: #d98829;
}

nav.menu .cd-dropdown-wrapper, nav.menu .cd-dropdown-wrapper .cd-dropdown-trigger {
    color: #ffffff;
}

nav.menu .cd-dropdown-wrapper .cd-dropdown-trigger:after, nav.menu .cd-dropdown-wrapper .cd-dropdown-trigger:before {
    background: #ffffff;
}

header .shoppingtools_container .contractitemslink span, header .shoppingtools_container .quickordertoggle span {
    color: #654421;
    line-height: 1.1;
    margin: 0;
    text-align: inherit;
    transition: color .35s ease;
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
}

header .shoppingtools_container .contractitemslink, header .shoppingtools_container .quickordertoggle {
    color: #654421;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
    text-align: center;
}

header .shoppingtools_container a.account-btn.btn-outlined-invert>span>span {
    color: #654421;
    transition: color .35s ease;
}

header .shoppingtools_container a.account-btn.btn-outlined-invert>i.user-icon {
    color: #654421;
    font-family: FontAwesome;
    font-size: 1rem;
    padding: 0;
}

.header-links a {
    color: #654421;
    display: inline-flex;
    margin-right: 10px;
    position: relative;
    transition: color .35s ease;
}

header section.search .search-form .form-group input {
    border: #654421 solid 2px;
    border-radius: 5px;
    color: var(--evo-text-col);
    height: 46px;
}

header .minicart_container .cart-btn>a.btn {
    background: #654421 !important;
    border: 1px solid #d3d3d3;
    color: #ffffff !important;
    transition: color .35s ease, background .35s ease;
}

header .widgetlogo .logo {
    display: inline-block;
    margin: 0;
    transition: opacity .35s ease;
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
    padding: 20px;
}

header .shoppingtools_container #vuequicklistdropdown>a {
    color: #674321;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
    margin: 0;
    text-align: center;
}

#cdash_address .with-padding-trl {
    background-color: #ffffff;
    padding: 15px;
}

.live-inventory-v2-wrapper .in-stock, .live-inventory-v2-wrapper .out-stock, .product-stock .in-stock, .product-stock .out-stock {
    font-size: 0.9em;
}