.menu .catalog li.nav-ice-melt a {
  color: yellow;
}

.menu .catalog li.nav-ice-melt a::before {
  content: "NEW";
  font-weight: 700;
  margin-right: 5px;
}

.menu .catalog li.nav-ice-melt a:hover {
  color: #fff;
}

.live-inventory-v2-add-to-cart-wrapper {
  width: calc(100% - 55px);
  max-width: none;
}

.live-inventory-v2-wrapper {
  white-space: normal;
  margin: 5px 0;
}

.catalog-grid .tile .footer button.btn-primary {
  width: 100%;
}

/*login for true price text*/
.footer-wrapper-price::after {
content: "Login for True Price";
display: block;
font-weight: bold;
color: #03bcd9;
font-size:14px;
font-weight: bold;
margin-top: 5px;
}

.product-shopping-actions-prices::after {
content: "Login for True Price";
display: block;
font-weight: bold;
color: #317cc5;
margin-top: 16px;
margin-top:10px;
text-align: center;
}

.merchandising-content-static .widget-product-box .product-price-container::after {
content: "Login for True Price";
display: block;
font-weight: bold;
color: #317cc5;
margin-top: 16px;
margin-top:10px;
text-align: center;
}
/*login for true price text END*/

/*hide true price message for logged in users*/

body.ex-loggedin .footer-wrapper-price::after {
  display: none !important;
}

body.ex-loggedin .product-shopping-actions-prices::after {
display: none !important;
}

body.ex-loggedin .merchandising-content-static .widget-product-box .product-price-container::after {
  display: none !important;
}
/*hide "login for true price from furniture*/
.furniture-price::after,
.furniture-tile .footer-wrapper-price::after,
.furniture-tile .product-shopping-actions-prices::after,
.furniture-tile .product-price-container::after,
.ex-product .furniture-item::after {
  display: none !important;
  content: none !important;
}
/*end*/
.contact-furniture-rep {
  font-size: 1rem;
}
.furniture-price ~ .uom {
  display: none !important;
}

/* Header elements width change, search to fill remaining space */
.header-full .vertical-align > div {
  width: auto;
  
  &.search_container {
    flex: 1;
  }
}

/* override the hiding rule for tablets/desktops */
@media (max-width: 1366px) {
  .header-full .menu .catalog > li:nth-child(n+8) {
    display: inline-block !important;
  }
}

/* Hide all RRP and Save labels everywhere */
.rrp,
.label.save.with-value {
  display: none !important;
}

/* Show RRP and Save on tiles */
.tileparent.category_1283649 .rrp,
.tileparent.category_1024549 .rrp {
  display: block !important;
}
.tileparent.category_1283649 .label.save.with-value,
.tileparent.category_1024549 .label.save.with-value {
  display: inline-block !important;
}


.product-shopping-actions.category_1283649 .rrp,
.product-shopping-actions.category_1024549 .rrp {
  display: block !important;
}
.product-shopping-actions.category_1283649 .label.save.with-value,
.product-shopping-actions.category_1024549 .label.save.with-value {
  display: inline-block !important;
}

/* Style list price */
.product-shopping-actions .rrp {
  text-decoration: line-through;
  color: #888;
}

.tileparent .rrp > span {
  text-decoration: line-through;
  color: #888;
}

/* Style save label */
.label.save.with-value {
  text-decoration: none;
}

.menu.expanded .catalog li .submenu .submenucontainer {
  overflow: auto;
  flex-flow: row wrap; 
}

/* ECOMMDR-474 - Pop up form for furniture items | MD */
.modal-contact-form-pop-up {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
}

.modal-contact-form-pop-up .popup-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(0 0 0 / 50%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}

.modal-contact-form-pop-up .popup-content {
  background: white;
  border-radius: 8px;
  width: 100%;
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 10px 25px rgb(0 0 0 / 20%);
  animation: popupFadeIn 0.3s ease-out;
}

.modal-contact-form-pop-up .popup-header {
  padding: 20px 24px 16px;
  border-bottom: 1px solid #e0e0e0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-contact-form-pop-up .popup-header h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: #317cc5 !important;
}

.modal-contact-form-pop-up .popup-header .popup-close {
  background: none;
  border: 0;
  font-size: 24px;
  cursor: pointer;
  color: #666;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.2s ease;
}

.modal-contact-form-pop-up .popup-header .popup-close:hover {
  background-color: #f5f5f5;
  color: #333;
}

.modal-contact-form-pop-up .popup-body {
  padding: 24px;
}

.modal-contact-form-pop-up .popup-body .contact-form-pop-up .form-wrapper .form-row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -10px 20px;
}

.modal-contact-form-pop-up .popup-body .contact-form-pop-up .form-wrapper .form-row:last-child {
  margin-bottom: 0;
}

.modal-contact-form-pop-up .popup-body .contact-form-pop-up .form-wrapper .form-row [class*="col-"] {
  padding: 0 10px;
}

.modal-contact-form-pop-up .popup-body .contact-form-pop-up .form-wrapper .form-group {
  margin-bottom: 16px;
}

.modal-contact-form-pop-up .popup-body .contact-form-pop-up .form-wrapper .form-group input {
  color: #333;
}

.modal-contact-form-pop-up .popup-body .contact-form-pop-up .form-wrapper .form-group .form-label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
  color: #333;
}

.modal-contact-form-pop-up .popup-body .contact-form-pop-up .form-wrapper .form-group .form-label .text-danger {
  color: #dc3545;
}

.modal-contact-form-pop-up .popup-body .contact-form-pop-up .form-wrapper .form-group .form-control {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  transition: border-color 0.2s ease;
  box-sizing: border-box;
}

.modal-contact-form-pop-up .popup-body .contact-form-pop-up .form-wrapper .form-group .form-control:focus {
  outline: none;
  border-color: $col-primary;
  box-shadow: 0 0 0 2px rgba(from $col-primary r g b / 10%);
}

.modal-contact-form-pop-up .popup-body .contact-form-pop-up .form-wrapper .form-group textarea.form-control {
  min-height: 80px;
  resize: vertical;
  color: #333;
}

.modal-contact-form-pop-up .popup-body .contact-form-pop-up .form-wrapper .submit-group {
  text-align: right;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #e0e0e0;
}

.modal-contact-form-pop-up .popup-body .contact-form-pop-up .form-wrapper .submit-group .btn {
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 500;
}

@keyframes popupFadeIn {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(-20px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@media (max-width: 768px) {
  .modal-contact-form-pop-up .popup-overlay {
    padding: 10px;
  }

  .modal-contact-form-pop-up .popup-content {
    max-height: 95vh;
  }

  .modal-contact-form-pop-up .popup-header {
    padding: 16px 20px 12px;
  }

  .modal-contact-form-pop-up .popup-header h3 {
    font-size: 1.1rem;
  }

  .modal-contact-form-pop-up .popup-body {
    padding: 20px;
  }

  .modal-contact-form-pop-up .popup-body .contact-form-pop-up .form-wrapper .form-row {
    margin: 0 -5px 16px;
  }

  .modal-contact-form-pop-up .popup-body .contact-form-pop-up .form-wrapper .form-row [class*="col-"] {
    padding: 0 5px;
  }

  /* Stack columns on mobile */
  .modal-contact-form-pop-up .popup-body .contact-form-pop-up .form-wrapper .form-row .col-xs-12,
  .modal-contact-form-pop-up .popup-body .contact-form-pop-up .form-wrapper .form-row .col-sm-6,
  .modal-contact-form-pop-up .popup-body .contact-form-pop-up .form-wrapper .form-row .col-md-6,
  .modal-contact-form-pop-up .popup-body .contact-form-pop-up .form-wrapper .form-row .col-lg-6 {
    width: 100%;
    margin-bottom: 16px;
  }

  .modal-contact-form-pop-up .popup-body .contact-form-pop-up .form-wrapper .form-row .col-xs-12:last-child,
  .modal-contact-form-pop-up .popup-body .contact-form-pop-up .form-wrapper .form-row .col-sm-6:last-child,
  .modal-contact-form-pop-up .popup-body .contact-form-pop-up .form-wrapper .form-row .col-md-6:last-child,
  .modal-contact-form-pop-up .popup-body .contact-form-pop-up .form-wrapper .form-row .col-lg-6:last-child {
    margin-bottom: 0;
  }

  /* Keep item number and quantity side by side on mobile */
  .modal-contact-form-pop-up .popup-body .contact-form-pop-up .form-wrapper .form-row.item-row .col-xs-10,
  .modal-contact-form-pop-up .popup-body .contact-form-pop-up .form-wrapper .form-row.item-row .col-xs-2 {
    width: auto;
    flex: 1;
    margin-bottom: 0;
  }

  .modal-contact-form-pop-up .popup-body .contact-form-pop-up .form-wrapper .form-row.item-row .col-xs-2 {
    flex: 0 0 80px;
    margin-left: 10px;
  }
}

// Multiple item rows styling
.modal-contact-form-pop-up .popup-body .contact-form-pop-up .form-wrapper .item-rows-container .item-row {
  position: relative;
  margin-bottom: 15px;
  padding: 10px;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  background-color: #f9f9f9;
}

.modal-contact-form-pop-up .popup-body .contact-form-pop-up .form-wrapper .item-rows-container .item-row:first-child {
  background-color: transparent;
  border: 0;
  padding: 0;
}

.modal-contact-form-pop-up .popup-body .contact-form-pop-up .form-wrapper .item-rows-container .add-item-row {
  background-color: #6c757d;
  border-color: #6c757d;
  color: white;
  font-size: 12px;
  opacity: 0.8;
}

.modal-contact-form-pop-up .popup-body .contact-form-pop-up .form-wrapper .item-rows-container .add-item-row:hover {
  background-color: #5a6268;
  border-color: #545b62;
  opacity: 1;
}

.modal-contact-form-pop-up .popup-body .contact-form-pop-up .form-wrapper .item-rows-container .remove-item-row {
  background-color: #adb5bd;
  border-color: #adb5bd;
}

.modal-contact-form-pop-up .popup-body .contact-form-pop-up .form-wrapper .item-rows-container .remove-item-row:hover {
  background-color: #868e96;
  border-color: #868e96;
}