/* .select2-container {
  width: 100% !important;
  background-color: white;
  min-height: 31px;
  min-width: 364px;
  text-align: left;
} */

@media (min-width: 768px) {
  .html-product-first-options .pff-above-the-fold-container .attributes-container .attribute-item {
    margin-bottom: 24px !important;
    flex-direction: column !important;
    gap: 8px;
  }

  .html-product-first-options .pff-above-the-fold-container .attributes-container .attribute-item__label{
      margin-top: 0px; 
  }
}

@media (max-width: 767px){
  .html-product-first-options .pff-above-the-fold-container .attributes-container .attribute-item__label {
    margin-bottom: 8px;
  }
} 

.html-product-first-options .pff-above-the-fold-container .attributes-container .attribute-item__dropdown, .html-product-first-options .pff-above-the-fold-container .attributes-container .attribute-item__label {
  width: 100%;
}

  /* Attribute Label Styling (Figma) */
.attribute-item--stacked .attribute-item__label .text-prompt {
  font-family: 'Open Sans', sans-serif !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  line-height: 22px !important;
  color: #2C2C2C !important;
}

@media (min-width: 768px) {
  .attribute-item--stacked .attribute-item__label .text-prompt {
    font-size: 14px !important;
    line-height: 20px !important;
  }
}

.select2-container--default {
  background-color: white !important;
  color: black !important;
}

.select2-selection__arrow {
  height: 26px;
  position: absolute;
  top: 3px !important;
  right: 1px;
  width: 20px;
  margin: 2px 8px;
  height: 51px;
}

  .select2-selection__arrow b {
    border-color: #888 transparent transparent transparent;
    border-style: solid;
    border-width: 6px 5px 0 5px;
    height: 0;
    left: 50%;
    margin-left: -4px;
    margin-top: -2px;
    position: absolute;
    top: 50%;
    width: 0;
  }


.select2-dropdown {
  border: 1px solid #D9D9D9 !important;
}

.select2-container--default .select2-results > .select2-results__options{
    max-height: 340px;
}

.select2-search--dropdown{
    display: none;
}

/* .select2-container--default .select2-selection--single .select2-selection__rendered, .select2-results__option, .select2-container {
  font-size: 12px !important;
} */
.select2-container .select2-selection--single {
  /* height: 40px !important; */
  box-sizing: content-box;
}

/* .select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 40px !important;
  padding-left: 18px !important;
} */

.select2-container--open {
  box-shadow: none !important
}

/* When dropdown opens below: flatten the bottom corners of the trigger and top corners of the panel */
.html-product-first-options .attribute-item__dropdown .select2-container--open .select2-selection--single {
  border-radius: 4px 4px 0 0 !important;
  border-bottom-color: transparent !important;
}

.html-product-first-options .select2-dropdown--below {
  border-radius: 0 0 4px 4px !important;
  border-top: none !important;
}

/* When dropdown opens above: round top corners, flat bottom, top border visible.
   3-class selector (vs general rule's 2-class) wins even with same !important. */
.select2-container--default .select2-dropdown--above.select2-dropdown {
  border-radius: 4px 4px 0 0 !important;
  border-top: 1px solid #D9D9D9 !important;
  border-bottom: none !important;
}

/* Trigger when dropdown opens above (JS adds .select2-opens-above to in-place container) */
.html-product-first-options .attribute-item__dropdown .select2-opens-above.select2-container--open .select2-selection--single {
  border-radius: 0 0 4px 4px !important;
  border-bottom: 1px solid #D9D9D9 !important;
}

.select2-container--default .select2-selection--single {
  border: 1px solid #ddd !important;
  border-radius: 1px !important;
}

.select2-container--default .select2-results__option ul {
  margin: 0;
  padding-left: 20px;
}

.select2-container--default .select2-results__option li {
  list-style-type: disc;
  margin-left: 10px;
}
/* 
.selectedRow {

.select2-container--default .select2-results__option--highlighted[aria-selected=true],
.select2-container--default .select2-results__option--highlighted[aria-selected],
.selectedRow,
.imgSquarDropdownOptionValue:hover,
.materialDropdownOptionValue:hover, 
.sizeDropdownOptionValue:hover 
{
  background-color: #ddd !important;
} */

.select2-dropdown {
  z-index: 1 !important;
}

.product-essential .product-details-overview-grid .overview {
  border: 0px !important;
}

  .product-essential .product-details-overview-grid .overview h3 {
    background-color: white !important;
    color: #444444;
    font-size: 24px !important;
  }

.select2-container--default .select2-selection--single .select2-selection__arrow b {
  border-width: 6px 5px 0 5px !important;
}

.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
  border-width: 0 5px 6px 5px !important;
}

/* Chevron arrow for product-first dropdowns */
.html-product-first-options .select2-selection__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  top: 3px !important;
  bottom: 0 !important;
  height: auto !important;
}

.html-product-first-options .select2-selection__arrow b {
  display: none !important;
}

.html-product-first-options .select2-selection__arrow::after {
  content: '';
  display: block;
  width: 12px;
  height: 10px;
  background-image: url("data:image/svg+xml,%3Csvg width='11' height='7' viewBox='0 0 11 7' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5.16667 5.16667L9.33333 1' stroke='%237A7A7A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  transition: transform 0.2s ease;
}

.html-product-first-options .select2-container--open .select2-selection__arrow::after {
  transform: rotate(180deg);
}

/* .product-first-add-to-cart-panel {
  padding-left: 8px !important;
} */

.overview .product-first-qty-input, .variant-overview .product-first-qty-input {
  width: 109px !important;
}

.html-product-first-options .pff-above-the-fold-container .qty-price-container .qty-price__content {
  justify-content: flex-end;
}

.html-product-first-options .pff-above-the-fold-container .qty-price-container .qty-price__content .product-first-prices .old-product-first-price {
  display: flex;
  align-items: center;
}

.product-first-prices .strike-through-price {
  padding-right: 5px;
  line-height: 22px;
}

.old-product-first-price .old-product-first-price-value {
  font-size: 14px;
  color: #7A7A7A;
}

.product-first-price.product-price .price-value {
  color: #4A9D5F;
  font-size: 28px;
  font-weight: 600;
  line-height: 36px;
}

.price-label {
  margin: 0px 0px 0px auto;
  font-weight: bold;
  font-size: 14px;
  color: #2C2C2C;
  line-height: 20px;
}

.qty-price__content .product-first-prices .product-first-price {
  padding: 0px;
  font-weight: 600;
}

.total-price-section {
  display: flex;
  align-items: center;
  color: #666666;
  gap: 5px;
  margin-left: auto;
  font-weight: 600;
  font-size: 12px;
  line-height: 18px;
}

.ea-text {
  font-size: 16px;
  font-weight: 400;
  color: #2C2C2C;
  line-height: 24px;
}

.save-price {
  color: #4A9D5F;
}

.product-first-prices .you-saved {
  font-weight: 600;
  line-height: 18px;
}

.product-first-prices .product-first-price {
  padding-right: 0px;
}

.product-first-prices .bas-product-price-section {
  flex-direction: column;
}

.pff-above-the-fold-container .qty-price-container .qty-price__label {
  color: #2C2C2C;
  font-size: 14px !important;
  line-height: 20px;
  gap: 2px;
}

.product-first-add-to-cart-panel .qty-container {
  display: flex;
  align-items: center;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  overflow: hidden;
  width: 132px;
  height: 40px;
  background-color: #fff;
  margin: 5px 0px;
  position: relative;
}

.product-first-add-to-cart-panel .qty-container .qty-btn {
  all: unset;
  width: 32.42px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #D9D9D9;
  cursor: pointer;
}

.product-first-add-to-cart-panel .qty-container .qty-input {
  width: 67.16px;
  height: 40px;
  color: #2C2C2C;
  border: 1px solid #D9D9D9;
  text-align: center;
  font-size: 14px;
  font-family: "Open Sans";
  -moz-appearance: textfield;
  padding: 9px 8px;
  margin: 0;
}

.product-first-add-to-cart-panel .qty-container .qty-input::-webkit-outer-spin-button,
.product-first-add-to-cart-panel .qty-container .qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.product-first-add-to-cart-panel .qty-container .qty-dropdown.qty-input {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: #fff;
  border: none;
  border-radius: 4px;
  padding: 9px 8px;
  padding-right: 41px;
  font-size: 14px;
  color: #2C2C2C;
  text-align: left;
  width: 100%;
  flex: 1;
  cursor: pointer;
  outline: none;
  background-image: none;
}

.product-first-add-to-cart-panel .qty-container .qty-dropdown-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 33px;
  height: 40px;
  background-color: #D9D9D9;
  border-radius: 0 3px 3px 0;
  position: absolute;
  right: 0;
  top: 0;
  pointer-events: none;
}

.product-first-add-to-cart-panel .qty-container .qty-dropdown-arrow svg {
  display: block;
}

/* Quantity control hover states */
.product-first-add-to-cart-panel .qty-container .qty-minus:hover svg path,
.product-first-add-to-cart-panel .qty-container .qty-dropdown-arrow:hover svg path {
  stroke: #2B2B2B;
}

.product-first-add-to-cart-panel .qty-container .qty-plus:hover svg path {
  fill: #2B2B2B;
}

@media (max-width: 767px) {
  .price-label {
    font-size: 14px;
  }

  .pff-above-the-fold-container .qty-price-container .qty-price__label {
    font-size: 14px !important;
  }
}


.product-first-overview .banner-text {
  margin: 20px 0;
}

.product-first-overview .banner-image {
  max-width: 100%;
  height: auto;
}

.product-first-overview .line-spacing {
  line-height: 1.6;
}

.most-popular-text {
  color: #36d07b;
}

.imgSquarDropdownOption .most-popular-text {
  font-size: 12px;
  padding-left: 5px;
}

.faux-text {
  background: #dddddd;
  border-radius: 4px;
  height: 20px;
  margin-bottom: 5px;
}

  .faux-text.short {
    width: 75%;
  }

.placeholder {
  max-width: 400px;
}

.shimmer {
  overflow: hidden;
  position: relative;
}

  .shimmer::before {
    content: "";
    position: absolute;
    background: linear-gradient( 90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0) 100% );
    height: 100%;
    width: 100%;
    z-index: 1;
    animation: shimmer 1s infinite;
  }

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(100%);
  }
}
/*styles form product table manager plugin*/
#speedtabs {
  border: none;
  background: #fff;
}

.ui-tabs .ui-tabs-nav {
  display: flex;
  border: none;
  background: #fff;
  border-bottom: 1px solid #d3d3d3;
}

  .ui-tabs .ui-tabs-nav li {
    font-size: 14px;
    flex: 1;
    font-family: "Open Sans";
    text-align: center;
    color: #a9a9a9;
    font-weight: bold;
    padding: 15px;
    cursor: pointer;
    border: none;
    outline: none;
    transition: background-color .3s;
    background-color: #fff;
    white-space: unset;
  }

.ui-state-default a, .ui-state-default a:link,
.ui-state-default a:visited, a.ui-button, a:link.ui-button,
a:visited.ui-button, .ui-button {
  color: #a9a9a9;
}

.ui-tabs-nav li a {
  border: none;
}

.ui-tab:hover {
  background-color: #ddd !important;
}


  .ui-tabs-anchor {
    font-size: 20px;
    padding: 15px;
  }

@media (min-width: 901px) {
  .ui-tabs .ui-tabs-nav li,
  .ui-tabs-nav li a {
    font-size: 20px !important;
    margin: 0px !important;
  }
}

.ui-tabs-nav li a {
  padding: 15px !important;
  font-size: 14px;
}

.ui-tabs-nav li.ui-state-active {
  background-color: #fff !important;
  color: #008035;
  border-bottom: 4px solid #008035 !important;
}

.ui-tabs-nav li.ui-state-active a {
  background-color: #fff;
}

/*** ESTIMATE SHIPPING POPUP ***/

.estimate-shipping-popup {
  position: relative;
  background: #FFF;
  padding: 25px 10px;
  width: auto;
  max-width: 800px;
  max-height: 70vh;
  height: auto;
  overflow-y: auto;
  margin: 0 auto;
}

.estimate-shipping-popup-zoom-in .mfp-with-anim {
  opacity: 0;
  transition: opacity 0.2s ease-in-out, transform 0.2s ease-in-out;
  transform: scale(0.8);
}

.estimate-shipping-popup-zoom-in.mfp-bg {
  opacity: 0;
  transition: all 0.3s ease-out;
}

.estimate-shipping-popup-zoom-in.mfp-ready .mfp-with-anim {
  opacity: 1;
  transform: none;
}

.estimate-shipping-popup-zoom-in.mfp-ready.mfp-bg {
  opacity: 0.8;
}

.estimate-shipping-popup-zoom-in.mfp-removing .mfp-with-anim {
  transform: scale(0.8);
  opacity: 0;
}

.estimate-shipping-popup-zoom-in.mfp-removing.mfp-bg {
  opacity: 0;
}

.shipping-options-loading {
  background: url(../images/ajax-loader-small.gif) no-repeat;
  width: 16px;
  height: 16px;
  position: relative;
  right: 8px;
  margin: 4% 50%;
}

.shipping-address .required {
  margin-left: 0px;
}

.estimate-shipping-row {
  display: flex;
  display: -webkit-flex;
  align-items: center;
}

.estimate-shipping-row.shipping-option {
  cursor: pointer;
}

.estimate-shipping-row.shipping-option.active {
  font-weight: 700;
}

.estimate-shipping-row-item {
  flex: 0 1 100%;
}

.estimate-shipping-row-item.shipping-item {
  padding: 8px 0;
  overflow: hidden;
  overflow-wrap: break-word;
}

.estimate-shipping-row-item.shipping-header-item {
  padding: 12px 0;
  border-bottom: 1px solid #f2f2f2;
  align-self: flex-end;
}

.estimate-shipping-row-item.address-item + .estimate-shipping-row-item.address-item {
  padding-left: 15px;
}

.estimate-shipping-row-item + .estimate-shipping-row-item {
  padding-left: 10px;
}

.estimate-shipping-row-item-radio {
  flex: 0 0 35px;
}

.ship-to-title {
  margin-bottom: 10px;
}

.choose-shipping-title {
  margin-top: 20px;
}

.estimate-shipping-address-control {
  width: 100%;
  height: 36px;
}

.estimate-shipping-radio {
  display: none;
}

.estimate-shipping-radio + label {
  -webkit-appearance: none;
  background-color: #fafafa;
  border: 1px solid #cacece;
  padding: 9px;
  border-radius: 50px;
  display: inline-block;
  position: relative;
}

.estimate-shipping-radio:checked + label:after {
  content: ' ';
  width: 6px;
  height: 6px;
  border-radius: 50px;
  position: absolute;
  top: 6px;
  left: 6px;
  background: #ffffff;
}

.estimate-shipping-radio:checked + label {
  background-color: #008035;
  color: #99a1a7;
  border: 1px solid #008035;
}

.apply-shipping-button {
  border: none;
  padding: 8px 25px;
  background-color: #008035;
  color: #fff;
  cursor: pointer;
}

.apply-shipping-button:hover {
  background-color: #006628;
}

.apply-shipping-button-container {
  margin-top: 15px;
  text-align: center;
}

.shipping-options-header {
  top: 0;
  z-index: 1;
  position: sticky;
  background-color: #fff;
}

.shipping-options {
  position: relative;
  z-index: 1;
  overflow: hidden;
  overflow-y: auto;
  max-height: 200px;
  background: #FFF no-repeat;
}

.no-shipping-options {
  text-align: center;
  margin: 4% 0;
}

.estimate-shipping-popup .message-failure {
  margin: 5px 0 -5px;
  font-size: 12px;
  color: #e4434b;
}

/*** PRODUCT ESTIMATE SHIPPING ***/

.product-estimate-shipping {
  margin-top: 10px;
  margin-bottom: 20px;
  text-align: left;
}

.product-estimate-shipping .shipping-date {
  margin-top: 3px;
}

.product-estimate-shipping .shipping-title {
  font-size: 16px;
  font-weight: bold;
  color: #444;
  margin-bottom: 5px;
  display: flex;
  align-items: center;
}

.product-estimate-shipping .shipping-title .shipping-price {
  margin-left: 5px;
  vertical-align: middle;
  color: #008035;
}

.product-estimate-shipping .shipping-title .shipping-loading {
  margin-left: 5px;
  vertical-align: middle;
  background: url(../images/ajax-loader-small.gif) no-repeat;
  width: 16px;
  height: 16px;
  display: inline-block;
}

.product-estimate-shipping .open-estimate-shipping-popup {
  display: block;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.product-estimate-shipping .open-estimate-shipping-popup:hover {
  text-decoration: underline;
}

.product-estimate-shipping .open-estimate-shipping-popup .arrow-down {
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  margin: 0 0 3px 6px;
  border: solid black;
  border-width: 0 1px 1px 0;
  display: inline-block;
  padding: 3px;
}

.product-estimate-shipping .estimated-delivery {
  font-size: 13px;
  color: #666;
}

.product-estimate-shipping .shipping-address {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

ul.bas-size-qty-checkboxes {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
}

  ul.bas-size-qty-checkboxes li {
    display: flex;
    flex-direction: column;
    gap: 0.25rem; /* gap-1 = 4px */
  }

    ul.bas-size-qty-checkboxes li input[type="checkbox"] {
      display: none;
    }

    ul.bas-size-qty-checkboxes li label {
      align-self: flex-start;
      font-size: 0.875rem; /* text-sm */
      font-weight: 500; /* font-medium */
      color: var(--bas-primary-text-fg-color);
    }

    ul.bas-size-qty-checkboxes li .qty-box input[type="text"],
    ul.bas-size-qty-checkboxes li .qty-box input[type="number"] {
      width: 5rem; /* w-20 = 80px */
      text-align: center;
      box-shadow: inset 2px 2px 7px 0 #2f2f2f3b,inset -2px -2px 15px 2px #fff;
      border-radius: 5px;
    }

/* ===================================
   ATTRIBUTES SKELETON LOADER
   =================================== */

:root {
  --bas-skeleton-loader-bg-color: #e5e7eb;
}

.attributes.bas-loading,
.attributes-container.bas-loading {
  overflow: hidden;
}

/* Override global .bas-loading spinner - we use skeleton instead */
.attributes.bas-loading::after,
.attributes-container.bas-loading::after {
  display: none;
}

/* Hide dl from layout flow entirely during loading */
.attributes.bas-loading dl,
.attributes-container.bas-loading dl {
  visibility: hidden;
  position: absolute;
  height: 0;
  overflow: hidden;
}

/* Show skeleton placeholder */
.attributes.bas-loading .attributes-skeleton,
.attributes-container.bas-loading .attributes-skeleton {
  display: block;
}

/* Skeleton placeholder - reserves space during loading */
.attributes-skeleton {
  display: none;
  border: none;
  box-shadow: none;
  outline: none;
}

.attributes-skeleton .skeleton-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

  .attributes-skeleton .skeleton-label {
    height: 16px;
    width: 120px;
    border-radius: 4px;
    background-color: var(--bas-skeleton-loader-bg-color);
    animation: skeleton-pulse 1.5s ease-in-out infinite;
    align-self: flex-start;
  }
  .attributes-skeleton .skeleton-single-line {
    width: 100% !important;
    max-width: 100%;
    height: 56px;
    border-radius: 4px;
    background-color: var(--bas-skeleton-loader-bg-color);
    animation: skeleton-pulse 1.5s ease-in-out infinite;
  }

  .attributes-skeleton .skeleton-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    width: 100% !important;
  }

/* Image squares style */
.attributes-skeleton .skeleton-options.skeleton-image-squares {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  width: 100% !important;
}

.attributes-skeleton .skeleton-options.skeleton-image-squares .skeleton-option {
  height: 80px;
  border-radius: 4px;
  background-color: var(--bas-skeleton-loader-bg-color);
  animation: skeleton-pulse 1.5s ease-in-out infinite;
}

/* Color squares style */
.attributes-skeleton .skeleton-options.skeleton-color-squares .skeleton-option {
  height: 32px;
  width: 32px;
  border-radius: 6px;
  background-color: var(--bas-skeleton-loader-bg-color);
  animation: skeleton-pulse 1.5s ease-in-out infinite;
}

/* Button/radio list style (Size, etc.) */
.attributes-skeleton .skeleton-options.skeleton-buttons {
  display: grid;
  width: 100% !important;
  grid-template-columns: 1fr;
  gap: 8px;
}

.attributes-skeleton .skeleton-options.skeleton-buttons .skeleton-option {
  height: 56px;
  border-radius: 4px;
  background-color: var(--bas-skeleton-loader-bg-color);
  animation: skeleton-pulse 1.5s ease-in-out infinite;
}

@keyframes skeleton-pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}

@media (min-width: 576px) {
  .attributes-skeleton .skeleton-options.skeleton-buttons {
    grid-template-columns: repeat(auto-fit, minmax(calc(25% - 6px), 1fr));
  }
}

@media (min-width: 768px) {
  .attributes-skeleton .skeleton-single-line {
    max-width: 844px;
  }

  .attributes-skeleton .skeleton-options.skeleton-image-squares {
    grid-template-columns: repeat(2, 1fr);
  }
}

.attribute-square-input {
  display: none
}

.color-squares {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.625rem; /* gap-2.5 = 10px */
}

  /* li */
  .color-squares li {
    position: relative;
    border-radius: 0.375rem; /* rounded-md */
    padding-inline-start: 0;
    transition: transform 0.2s ease;
  }

    .color-squares li:hover {
      transform: scale(1.1);
    }

    /* attribute square */
    .color-squares li .attribute-square {
      display: inline-block;
      width: 2rem; /* w-8 = 32px */
      height: 2rem; /* h-8 = 32px */
      cursor: pointer;
      border-radius: 0.375rem;
      background-color: #ffffff;
      border: 1px solid var(--bas-thumb-rail-item-outline-color);
    }

    /* selected value */
    .color-squares li.selected-value {
      position: relative;
      user-select: none;
      animation: pulse-color-square-active-selection 0.3s ease-in-out forwards;
    }

      .color-squares li.selected-value::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        width: 2rem; /* size-1.5 = 6px */
        height: 2rem;
        user-select: none;
        border-radius: 9999px;
        background-color: var(--bas-theme-primary-color);
        box-shadow: 0 0 0 2px #ffffff, 0 0 0 2.95px #8d8d8d;
        animation: pulse-active-selection 0.4s ease-in-out forwards;
      }

  /* disabled square inside color-squares */
  .color-squares .disabled-square::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient( to top right, transparent 47%, gray 47%, gray 53%, transparent 53% );
  }

/* disabled square */
.disabled-square {
  position: relative;
  cursor: not-allowed;
  border-style: dashed;
}

  .disabled-square:hover {
    transform: none;
    box-shadow: none;
  }

  .disabled-square label {
    opacity: 0.5;
  }

  .disabled-square::after {
    content: "";
    position: absolute;
    inset: 0;
  }

 .checkbox-card:has(input:disabled) {
    background-color: #f5f5f5;
    border-color: #e0e0e0;
    color: #9e9e9e;
    cursor: not-allowed;
    opacity: 0.6;
}

.color-card {
  border-radius: 3px;
  background-color: #fff;
  padding: 6px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: all .2s
}

.dpm-attribute-card input[type=radio], .dpm-attribute-card input[type=checkbox], .radio-card input[type=radio], .checkbox-card input[type=checkbox], .color-card input[type=radio] {
  display: none
}

/* Image Square Selection Chips */
.image-squares-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  width: 100%;
  align-items: stretch;
}

.image-squares-grid .image-square-tile {
  height: 100%;
}

@media (min-width: 768px) {
  .image-squares-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.image-square-radio {
  display: none;
}

.image-square-tile {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  padding: 16px 12px;
  min-height: 80px;
  border: 1px solid #D9D9D9;
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
  transition: all 0.2s;
  box-sizing: border-box;
}

.image-square-radio:checked + .image-square-tile {
  background: #F3FFF7;
  border: 1px solid #4A9D5F;
}

@media (hover: hover) and (pointer: fine) {
  .image-square-tile:hover {
    border: 1px solid #999;
    background-color: #f1f1f1;
  }
}

.image-square-tile img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border: 1px solid #999;
  border-radius: 4px;
  flex: none;
}

.image-square-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  flex: 1;
  min-width: 0;
}

.image-square-name-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 4px;
  align-self: stretch;
}

.selected-value .image-square-label {
  color: #2B2B2B !important;
}

.image-square-tile .image-square-label{
    color: #444444;
}

.image-square-label {
  font-family: 'Open Sans', sans-serif;
  font-weight: 600;
  font-size: 14px;
  line-height: 22px;
  flex: 1;
  text-align: left;
}

.image-square-price {
  font-family: 'Open Sans', sans-serif;
  font-weight: 600;
  font-size: 10px;
  line-height: 18px;
  color: #4A9D5F;
  align-self: flex-start;
  text-align: left;
}

.image-square-info-wrapper {
  display: inline-flex;
  align-items: center;
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
}

.image-square-info-wrapper svg {
  display: block;
}

@media (max-width: 767px) {
  .image-square-tile {
    position: relative !important;
  }

  .image-square-name-row {
    position: static !important;
  }

  .dpm-tooltip-wrapper {
    position: static !important;
    display: inline-block;
  }

  .dpm-tooltip-wrapper .dpm-tooltip.below {
    position: absolute !important;
    top: calc(100% - 26px) !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: none !important;
    transform: none !important;
    box-sizing: border-box !important;
    background: #fff;
    border: 1px solid #e5e7eb;
    padding: 12px 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .12);
    z-index: 9999 !important;
    overflow: visible !important;
    margin-top: 0px;
  }

  .dpm-tooltip-wrapper .dpm-tooltip .dpm-tooltip-arrow {
    display: none !important;
  }

  .dpm-tooltip-wrapper .dpm-tooltip::before {
    content: "";
    position: absolute;
    top: -7px;
    right: 12px;
    width: 12px;
    height: 12px;
    background: #fff;
    border-left: 1px solid #e5e7eb;
    border-top: 1px solid #e5e7eb;
    transform: rotate(45deg);
    z-index: 1;
  }
}

.image-square-tooltip {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 9999;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  padding: 12px 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  min-width: 250px;
  max-width: 400px;
  font-size: 13px;
  line-height: 1.5;
  color: #333;
}

.image-square-tooltip::before {
  content: "";
  position: absolute;
  top: -7px;
  right: 4px;
  width: 12px;
  height: 12px;
  background: #fff;
  border-left: 1px solid #e5e7eb;
  border-top: 1px solid #e5e7eb;
  transform: rotate(45deg);
  z-index: 1;
}

.image-square-info-wrapper:hover .image-square-tooltip {
  display: block;
}

@media (min-width: 768px) {
  .image-square-tile .dpm-tooltip.below {
    left: auto !important;
    right: -14px !important;
  }

  .image-square-tile .dpm-tooltip.below .dpm-tooltip-arrow {
    left: auto;
    right: 23px;
  }
}

.dpm-tooltip .tooltip-body p {
  margin-bottom: 0;
}

.dpm-attribute-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin: 0;
  padding: 0;
  width: 100%;
  box-sizing: border-box;
}

@media (min-width: 576px) {
  .dpm-attribute-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.dpm-attribute-grid:has(> .radio-card) {
  grid-template-columns: 1fr;
}

@media (min-width: 576px) {
  .dpm-attribute-grid:has(> .radio-card) {
    grid-template-columns: repeat(auto-fit, minmax(calc(25% - 6px), 1fr));
  }
}

.dpm-attribute-grid:has(> .checkbox-card) {
  grid-template-columns: 1fr;
}

@media (min-width: 576px) {
  .dpm-attribute-grid:has(> .checkbox-card) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.radio-card,
.checkbox-card {
  padding: 16px 12px;
  font-family: 'Open Sans', sans-serif;
  font-weight: 600;
  font-size: 14px;
  line-height: 22px;
  color: #444444;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}

.radio-card > .dpm-tooltip-wrapper,
.checkbox-card > .dpm-tooltip-wrapper {
  flex: 0 0 auto;
  margin-left: 8px;
  display: inline-flex;
  align-items: center;
  position: relative;
}

@media (min-width: 768px) {
  .radio-card,
  .checkbox-card {
    min-width: 0;
  }
}

label.radio-card,
label.checkbox-card {
  min-height: 56px;
  height: 56px;
}

@media (max-width: 767px) {
  .radio-card .dpm-tooltip::before,
  .checkbox-card .dpm-tooltip::before {
    right: 12px;
    width: 12px;
    height: 12px;
    z-index: 1;
  }
}

.radio-card-unselected, .checkbox-card-unselected {
  border: 1px solid #D9D9D9;
  background-color: #fff;
}

.radio-card-selected, .checkbox-card-selected {
  background: #F3FFF7;
  border: 1px solid #2CA960;
  color: #2B2B2B;
}

.dpm-attribute-card {
  padding: 10px;
  border-radius: 3px;
  text-align: center;
  font-weight: 500;
  cursor: pointer;
  transition: all .2s;
  border: 1px solid #ddd;
  background-color: #fff;
  color: #333
}

@media(min-width: 768px) {
  .skeleton-group-item {
    margin-bottom: 16px;
    flex-direction: row
  }
  .skeleton-group__label {
    width: 25%;
    margin-bottom: 0;
    margin-top: .8rem;
  }
}

.skeleton-group__label {
  width: 25%;
  position: relative;
  z-index: 1;
  text-align: left;
  pointer-events: auto;
  font-size: 12px
}

.skeleton-group-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  width: 100%;
}

.skeleton-kiited-option {
  height: 48px !important;
  width: 48px !important;
}

.skeleton-kitted-checkbox-options {
  flex-direction: column;
  display: flex;
  width: 72px;
  height: 64px;
  border-radius: 6px;
  background-color: var(--bas-skeleton-loader-bg-color);
  animation: skeleton-pulse 1.5s ease-in-out infinite;
}


/* Mobile view */
@media (max-width: 767px) {
  .skeleton-group-item {
      display:block;
    flex-direction: column; /* stack into two rows */
    align-items: flex-start; /* left align */
    gap: 8px;
  }

  .skeleton-group__label,
  .skeleton-single-line {
    width: 100%;
  }
  .attributes-skeleton .skeleton-label {
      width:25%;
  }
  .attributes-skeleton .skeleton-single-line {
    width: 100% !important;
  }
  .attributes-skeleton .skeleton-options {
    width: 100% !important;
  }
}
/*** BAS ESTIMATE SHIPPING POPUP REDESIGN ***/

.estimate-shipping-popup {
    padding: 0;
    width: 876px;
    max-width: 95vw;
    max-height: 70vh;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.bas-estimate-shipping-header {
    background-color: #2CA960;
    height: 51px;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
}

.bas-estimate-shipping-title {
    color: #fff;
    font-size: 18px;
    font-weight: 400;
    font-family: 'Open Sans', sans-serif;
}

.bas-estimate-shipping-close.mfp-close {
    background: none;
    border: none;
    color: #fff !important;
    font-size: 0;
    cursor: pointer;
    line-height: 0;
    padding: 0;
    opacity: 1;
    position: static;
    width: auto;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bas-estimate-shipping-close.mfp-close:hover,
.bas-estimate-shipping-close.mfp-close:focus {
    opacity: 0.8;
    color: #fff !important;
}

.bas-estimate-shipping-close svg,
.bas-estimate-shipping-close svg * {
    pointer-events: none;
}

/* Hide magnific popup auto-generated close button */
.mfp-close-btn-in .estimate-shipping-popup > .mfp-close {
    display: none;
}

.bas-estimate-shipping-body {
  padding: 32px 20px;
  flex: 1;
  overflow-y: auto;
}

/* Hide state/province field */
.estimate-shipping-popup .bas-state-item {
    display: none;
}

/* Form row layout - desktop */
.estimate-shipping-popup .shipping-address {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 16px;
}

.estimate-shipping-popup .bas-country-item {
    flex: 1 1 40%;
    min-width: 200px;
    padding-left: 0 !important;
}

.estimate-shipping-popup .bas-zip-item {
    flex: 1 1 35%;
    min-width: 150px;
    padding-left: 0 !important;
    position: relative;
}

.estimate-shipping-popup .bas-apply-item {
    flex: 0 0 auto;
    padding-left: 0 !important;
    align-self: flex-start;
}

/* Country placeholder style */
.estimate-shipping-popup .estimate-shipping-address-control.bas-country-placeholder {
    color: #999;
}


/* Address controls */
.estimate-shipping-popup .estimate-shipping-address-control {
  width: 100%;
  height: 40px;
  padding: 8px 12px;
  border: 1px solid #C4C4C4;
  border-radius: 4px;
  font-size: 16px;
  font-family: 'Open Sans';
  font-weight: 400;
  color: #757575;
  background-color: #fff;
  box-sizing: border-box;
  transition: border-color 0.2s;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.estimate-shipping-popup select.estimate-shipping-address-control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23666666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M6 9l6 6 6-6'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 22px;
  padding-right: 40px;
}

.estimate-shipping-popup .estimate-shipping-address-control::placeholder {
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  color: #757575;
}

.estimate-shipping-address-control:-webkit-autofill,
.estimate-shipping-address-control:-webkit-autofill:hover,
.estimate-shipping-address-control:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 30px #fff inset !important;
  -webkit-text-fill-color: #2B2B2B !important;
  transition: background-color 5000s ease-in-out 0s;
}

.estimate-shipping-address-control:focus {
  border-color: #2B2B2B !important;
  outline: none;
  box-shadow: none;
  color: #2B2B2B !important;
}

.estimate-shipping-zipcode-control {
    flex: 1;
    min-width: 0;
    padding-right: 28px;
}

.estimate-shipping-zipcode-control:focus {
  border: 2px solid #2B2B2B;
  border-color: #2B2B2B !important;
  outline: none;
  box-shadow: none;
  color: #2B2B2B !important;
}

.bas-zip-item:focus-within .bas-zip-floating-label {
  color: #2B2B2B;
}

.estimate-shipping-popup .bas-zip-item.bas-zip-has-value .estimate-shipping-address-control {
  border-color: #C4C4C4;
}

/* Zip validation error state */
.estimate-shipping-popup .bas-zip-item.bas-zip-error .estimate-shipping-address-control {
  border-color: #F44336;
  border-width: 2px;
}

/* Keep red border when the error-state input is focused */
.estimate-shipping-popup .bas-zip-item.bas-zip-error .estimate-shipping-address-control:focus,
.estimate-shipping-popup .bas-zip-item.bas-zip-error .estimate-shipping-zipcode-control:focus {
  border-color: #F44336 !important;
  border-width: 2px !important;
}

/* Custom country dropdown (replaces native select for full style control) */
.bas-hidden-native-select {
    display: none !important;
}

.bas-custom-select-wrapper {
    position: relative;
    flex: 1;
    min-width: 0;
}

.bas-custom-select-trigger {
    cursor: pointer;
    user-select: none;
    display: flex;
    align-items: center;
    padding-right: 40px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23666666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M6 9l6 6 6-6'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 22px;
    transition: border-color 0.2s;
}

.bas-custom-select-wrapper.open .bas-custom-select-trigger {
  border-top: 2px solid rgb(43, 43, 43);
  border-right: 2px solid rgb(43, 43, 43);
  border-left: 2px solid rgb(43, 43, 43);
  border-bottom: 1px solid rgba(43, 43, 43, 0.2);
  border-radius: 4px 4px 0 0;
}

.bas-custom-select-trigger.bas-cs-placeholder-active {
    color: #757575;
}

.bas-cs-value,
.bas-cs-placeholder {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
    width: 100%;
}

.bas-custom-select-panel {
    position: fixed;
    background: #fff;
    border: 2px solid rgb(43, 43, 43);
    border-top: none;
    border-radius: 0 0 4px 4px;
    z-index: 9999;
    overflow-y: auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.bas-custom-select-option {
    padding: 8px 12px;
    cursor: pointer;
    font-size: 14px;
    font-family: 'Open Sans', sans-serif;
    color: #2B2B2B;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bas-custom-select-option:hover {
    background-color: #F5F5F5;
}

  .bas-custom-select-option.active {
    background-color: #1967D2;
    font-weight: 500;
    color:#fff;
  }

.bas-custom-select-option.bas-cs-option-placeholder.active {
    color: #fff;
}

.bas-zip-floating-label {
    display: block;
    position: absolute;
    top: 50%;
    left: 12px;
    transform: translateY(-50%);
    background: #fff;
    padding: 0 4px;
    font-family: 'Open Sans', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    letter-spacing: 0.25px;
    color: rgba(0, 0, 0, 0.54) !important;
    pointer-events: none;
    transition: top 0.2s ease, font-size 0.2s ease, color 0.2s ease;
    z-index: 1;
}

.estimate-shipping-popup .bas-zip-item:focus-within .bas-zip-floating-label {
    top: 0;
    transform: translateY(-50%);
    font-size: 12px;
    color: #2B2B2B !important;
}

.estimate-shipping-popup .bas-zip-item.bas-zip-has-value .bas-zip-floating-label {
    display: none;
}

/* Typing: has value AND focused � keep label visible at top */
.estimate-shipping-popup .bas-zip-item.bas-zip-has-value:focus-within .bas-zip-floating-label {
    display: block;
    top: 0;
    transform: translateY(-50%);
    font-size: 12px;
    color: #2B2B2B !important;
}

.estimate-shipping-popup .bas-zip-item.bas-zip-error .bas-zip-floating-label {
    display: block;
    top: 0;
    transform: translateY(-50%);
    font-size: 12px;
    color: #F44336 !important;
}

.bas-zip-error-msg {
  display: none;
  font-size: 14px;
  font-weight:400;
  color: #F44336;
  margin-top: 4px;
  font-family: 'Open Sans', sans-serif;
}

.estimate-shipping-popup .bas-zip-item.bas-zip-error .bas-zip-error-msg {
    display: block;
}

/* Apply button */
.bas-apply-shipping-btn {
  width: 87px;
  height: 40px;
  padding: 0;
  border-radius: 10px;
  border: none;
  font-size: 14px;
  font-weight: 600;
  font-family: 'Open Sans', sans-serif;
  cursor: pointer;
  transition: background-color 0.2s, opacity 0.2s;
  white-space: nowrap;
  color: #fff;
}

.bas-apply-shipping-btn:not(:disabled) {
    background-color: #2CA960;
    color: #fff;
}

.bas-apply-shipping-btn:not(:disabled):hover {
    background-color: #249152;
}

.bas-apply-shipping-btn:disabled {
    background: rgba(44, 169, 96, 0.2);
    border: 1.5px solid #E5E7EA;
    color: #9AC3A7;
    cursor: not-allowed;
}

/* Ship to title */
.estimate-shipping-popup .ship-to-title,
.estimate-shipping-popup .ship-to-title strong {
    margin-bottom: 12px;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 22px;
    color: #161616;
}

/* Address summary */
.bas-shipping-address-summary {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
    color: #161616;
    margin-top: 12px;
    margin-bottom: 4px;
}

.bas-shipping-address-summary:empty {
    display: none;
}

/* No delivery message */
.bas-no-delivery-msg {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 22px;
    color: #161616;
    margin-top: 8px;
    margin-bottom: 0;
}

.bas-no-delivery-msg:empty {
    display: none;
}

/* Shipping method title - hidden initially */
.estimate-shipping-popup .choose-shipping-title {
    margin-top: 20px;
    margin-bottom: 12px;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 22px;
    color: #161616;
    display: none;
}

/* Shipping options container - hidden initially */
.estimate-shipping-popup .shipping-options {
    display: none;
    max-height: none;
    overflow: visible;
    border-radius: 6px;
    background-color: #FAFAFA;
}

/* Shipping options header */
.estimate-shipping-popup .shipping-options-header {
  background-color: #F2F2F2;
  border-radius: 4px 4px 0 0;
  position: static;
}

.estimate-shipping-popup .shipping-options-header .estimate-shipping-row {
    padding: 12px 16px;
}

.estimate-shipping-popup .shipping-options-header .shipping-header-item {
    border-bottom: none;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
    color: #161616;
    padding: 0;
}

.estimate-shipping-popup .shipping-options-header .bas-price-header {
    text-align: right;
    flex: 0 0 80px;
}

/* Hide radio column in header */
.estimate-shipping-popup .shipping-options-header .estimate-shipping-row-item-radio {
    display: none;
}

/* Shipping option rows */
.bas-shipping-option-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 12px;
}

.bas-shipping-option-row:last-child {
    border-bottom: none;
}

.bas-shipping-option-left {
    flex: 1;
}

.bas-shipping-option-right {
    flex: 0 0 auto;
    text-align: right;
    padding-left: 16px;
}

.bas-shipping-date {
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 14px;
    line-height: 22px;
    color: #161616;
    margin-bottom: 4px;
}

.bas-shipping-method-line {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    flex: 0 0 100%;
}

.bas-shipping-method-name {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 22px;
    color: #444444;
}

.bas-shipping-price {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 22px;
    color: #161616;
}

/* Free shipping badge */
.bas-shipping-badge {
    display: inline-flex;
    align-items: center;
    font-family: 'Open Sans', sans-serif;
    font-size: 12px;
    font-weight: 600;
    line-height: 18px;
    color: #4A9D5F;
    background-color: rgba(44, 169, 96, 0.06);
    padding: 2px 4px;
    border-radius: 4px;
    vertical-align: middle;
}

/* Fastest delivery badge */
.bas-shipping-badge-fastest {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-family: 'Open Sans', sans-serif;
    font-size: 12px;
    font-weight: 600;
    line-height: 18px;
    color: #666666;
    background-color: #F2F2F2;
    padding: 2px 4px;
    border-radius: 4px;
    vertical-align: middle;
    flex-shrink: 0;
    white-space: nowrap;
}

.bas-shipping-badge-fastest img {
    width: 16px;
    height: auto;
    vertical-align: middle;
}

/* Disclaimer */
.bas-estimate-disclaimer {
    margin-top: 20px;
    font-family: 'Open Sans', sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 18px;
    color: #666666;
}

/* Hide original apply button container */
.estimate-shipping-popup .apply-shipping-button-container {
    display: none !important;
}

/* Required asterisk */
.estimate-shipping-popup .required {
    display: none;
}

.bas-zip-item .estimate-shipping-row {
    position: relative;
}

.estimate-shipping-popup .bas-zip-item.bas-zip-has-value .required {
    display: inline-flex;
    align-items: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    color: #757575;
}

.bas-zip-item:focus-within .required {
    display: none !important;
}

/* Message failure */
.estimate-shipping-popup .message-failure {
    margin: 8px 0;
    font-size: 12px;
    color: #e4434b;
}

/* Product page trigger */
.product-estimate-shipping .bas-estimate-trigger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    cursor: default;
    text-decoration: none;
    color: #2C2E2F;
    pointer-events: none;
}

.product-estimate-shipping .bas-estimate-trigger:hover {
    text-decoration: none;
}

.product-estimate-shipping .bas-estimate-trigger .bas-trigger-icon {
    display: inline-flex;
    align-items: center;
}

  .product-estimate-shipping .bas-estimate-trigger .bas-trigger-icon img {
    width: 24px;
    height: auto;
    opacity: unset !important;
  }

.product-estimate-shipping .bas-estimate-trigger .bas-trigger-label {
    font-weight: 400;
    color: #2C2E2F;
    font-size: 14px;
}

.product-estimate-shipping .bas-estimate-trigger .bas-trigger-action {
    font-weight: 600;
    color: #2C2C2C;
    text-decoration: underline;
    pointer-events: auto;
    cursor: pointer;
}

/* No shipping options */
.estimate-shipping-popup .no-shipping-options {
    text-align: center;
    margin: 16px 0;
    font-size: 14px;
    color: #555;
}

/* Loading spinner */
.estimate-shipping-popup .shipping-options-loading {
    margin: 16px auto;
}

/*** BAS PRODUCT PAGE DELIVERY SUMMARY ***/

.bas-delivery-summary {
    margin-top: 12px;
    margin-bottom: 20px;
    text-align: left;
}

.bas-delivery-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.bas-delivery-truck-icon {
    width: 24px;
    height: auto;
}

.bas-delivery-header-text {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #2C2E2F;
}

.bas-delivery-zip-link {
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #2C2C2C !important;
  text-decoration: underline !important;
  cursor: pointer;
}

.bas-delivery-zip-link:hover {
    color: #000 !important;
}

.bas-delivery-options {
    margin-bottom: 4px;
}

.bas-delivery-option-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 4px;
}

.bas-delivery-option-text {
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  color: #2B2B2B;
}

.bas-delivery-option-text .bas-delivery-date {
    font-weight: 600;
}

.bas-delivery-option-text .bas-delivery-price {
    font-weight: 400;
}

.bas-delivery-view-more {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #000 !important;
    text-decoration: underline !important;
    cursor: pointer;
    display: block;
    text-align: left;
    margin-top: 4px;
}

.bas-delivery-view-more:hover {
    color: #333 !important;
}

/*** BAS ESTIMATE SHIPPING - MOBILE RESPONSIVE ***/

@media screen and (max-width: 768px) {
    /* Fix popup visibility on scroll - ensure popup is centered and fully visible */
    .mfp-wrap .mfp-container {
        padding: 16px;
        box-sizing: border-box;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .estimate-shipping-popup {
        width: 320px;
        max-width: 100%;
        border-radius: 10px;
        max-height: 70vh;
        height: auto;
        display: flex;
        flex-direction: column;
        overflow: clip;
        margin: auto;
        padding: 0;
    }

    .bas-estimate-shipping-header {
        flex-shrink: 0;
        position: sticky;
        top: 0;
        z-index: 10;
        padding: 12px 20px;
        height: 51px;
        box-sizing: border-box;
        border-radius: 10px 10px 0 0;
    }

    .bas-estimate-shipping-body {
        flex: 1;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding: 32px 20px;
    }

    .estimate-shipping-popup .shipping-address {
        flex-wrap: wrap;
        gap: 16px;
    }

    .estimate-shipping-popup .bas-country-item {
        flex: 0 0 100%;
        min-width: 0;
    }

    /* Country dropdown: fix grey/disabled-looking options */
  .estimate-shipping-popup .estimate-shipping-address-control {
    color: #757575;
    font-size: 16px;
    font-family: 'Roboto','Open Sans';
    font-weight: 400;
    height: 40px;
    border: 1px solid #C4C4C4;
    border-radius: 4px;
    background-color: #fff;
  }

  .estimate-shipping-popup select.estimate-shipping-address-control {
    color: #2B2B2B;
  }

    .estimate-shipping-popup select.estimate-shipping-address-control option {
        color: #161616;
        background-color: #fff;
    }

    .estimate-shipping-popup .bas-zip-item,
    .estimate-shipping-popup .bas-apply-item {
        flex: none;
    }

    .estimate-shipping-popup .bas-zip-item {
        width: calc(100% - 87px - 16px);
        min-width: 0;
    }

    .estimate-shipping-popup .bas-apply-item {
        width: 87px;
    }

    /* Apply button: match Figma (87px wide, 40px tall, 10px radius) */
    .bas-apply-shipping-btn {
        width: 87px;
        height: 40px;
        padding: 0;
        border-radius: 10px;
        display: flex;
        justify-content: center;
        align-items: center;
        font-family: 'Open Sans', sans-serif;
        font-size: 14px;
        font-weight: 600;
        line-height: 22px;
        letter-spacing: 0.005em;
        text-align: center;
    }

    .bas-estimate-shipping-title {
        font-size: 18px;
        font-weight: 400;
        line-height: 28px;
        font-family: 'Open Sans', sans-serif;
    }

    /* Zip placeholder: match Figma font size 16px */
    .bas-zip-floating-label {
        font-size: 16px;
        font-family: 'Open Sans', sans-serif;
        color: rgba(0, 0, 0, 0.54);
        letter-spacing: 0.25px;
    }

    /* Ship to title */
    .estimate-shipping-popup .ship-to-title,
    .estimate-shipping-popup .ship-to-title strong {
        font-size: 14px;
        font-weight: 700;
        line-height: 22px;
        color: #161616;
        margin-bottom: 12px;
    }

    /* Shipping method title */
    .estimate-shipping-popup .choose-shipping-title,
    .estimate-shipping-popup .choose-shipping-title strong {
        font-size: 14px;
        font-weight: 700;
        line-height: 22px;
        color: #161616;
    }

    .bas-shipping-option-row {
        padding: 12px 16px;
        gap: 4px;
    }

    .bas-shipping-date {
        font-size: 14px;
        font-weight: 700;
        line-height: 22px;
        color: #161616;
    }

    .bas-shipping-method-name {
        font-size: 14px;
        font-weight: 600;
        line-height: 22px;
        color: #444444;
    }

    .bas-shipping-price {
        font-size: 14px;
        font-weight: 600;
        line-height: 22px;
        color: #161616;
    }

    /* Shipping options container */
    .estimate-shipping-popup .shipping-options {
        border-radius: 4px;
    }

    .estimate-shipping-popup .shipping-options-header {
        border-radius: 4px 4px 0 0;
        background-color: #F2F2F2;
    }

    .estimate-shipping-popup .shipping-options-header .shipping-header-item {
        font-size: 14px;
        font-weight: 400;
        line-height: 22px;
        color: #161616;
    }

    /* EDD section: add spacing from PayPal callout */
    .bas-delivery-summary {
        margin-top: 20px;
        margin-bottom: 24px;
    }

    /* Free shipping badge */
    .bas-shipping-badge {
        font-size: 12px;
        font-weight: 600;
        line-height: 18px;
        color: #4A9D5F;
        background-color: rgba(44, 169, 96, 0.06);
        padding: 2px 4px;
    }

    /* Fastest delivery badge */
    .bas-shipping-badge-fastest {
        background-color: #F2F2F2;
        font-size: 12px;
        font-weight: 600;
        line-height: 18px;
        color: #666666;
        padding: 2px 4px;
        gap: 4px;
    }

    /* Disclaimer */
    .bas-estimate-disclaimer {
        font-size: 12px;
        font-weight: 400;
        line-height: 18px;
        color: #666666;
    }

    /* Shipping address summary */
    .bas-shipping-address-summary {
        font-size: 14px;
        font-weight: 400;
        line-height: 22px;
        color: #161616;
    }

    /* Scrollbar styling */
    .bas-estimate-shipping-body::-webkit-scrollbar {
        width: 4px;
    }

    .bas-estimate-shipping-body::-webkit-scrollbar-thumb {
        background: #BFBFBF;
        border-radius: 120px;
    }

    .bas-estimate-shipping-body::-webkit-scrollbar-track {
        background: transparent;
    }
}

@media screen and (max-width: 480px) {
    .estimate-shipping-popup {
        width: 320px;
        max-width: calc(100vw - 32px);
    }

    .bas-estimate-shipping-body {
        padding: 32px 20px;
    }

    .estimate-shipping-popup .bas-country-item {
        min-width: 0;
    }

    .estimate-shipping-popup .bas-zip-item {
        min-width: 0;
    }
}

/*** BAS ESTIMATE SHIPPING - TABLET ***/

@media screen and (min-width: 769px) and (max-width: 1024px) {
    .estimate-shipping-popup {
        width: 700px;
        max-width: 95vw;
    }

    .estimate-shipping-popup .bas-country-item {
        flex: 1 1 35%;
    }

    .estimate-shipping-popup .bas-zip-item {
        flex: 1 1 30%;
    }
}

/* 1) Default */
.textbox {
  width: 100%;
  color: #7A7A7A;
  font-size: 14px;
  border-radius: 4px !important;
  font-weight: 400;
  font-family: "Open Sans";
  min-height: 48px;
  border: 1px solid #D9D9D9 !important;
  background-color: #FFFFFF;
  box-sizing: border-box;
  transition: border-color 0.15s ease;
  padding: 14px 16px !important;
}

.textbox::placeholder {
  color: #7A7A7A;
}

/* 2) Hover */
.textbox:hover:not(:disabled) {
  border-color: #7A7A7A !important;
}

/* 3) Active / Focus */
.textbox:focus:not(:disabled),
.textbox:active:not(:disabled) {
  color: #2B2B2B;
  border-color: #2B2B2B !important;
  outline: none;
}

/* 3b) Filled — has content (placeholder hidden) */
.textbox:not(:placeholder-shown):not(:disabled) {
  color: #2B2B2B;
}

/* 4) Disabled */
.textbox:disabled {
  border-color: #BFBFBF !important;
  background-color: #F2F2F2;
  color: #BFBFBF;
  cursor: not-allowed;
}

.textbox:disabled::placeholder {
  color: #BFBFBF;
}

/* 5 & 6) Filled / Filled Content — text color already handled by base color: #2B2B2B */

/* ── MULTILINE TEXTBOX (textarea) ── */

/* 1) Default */
.multiline-textbox {
  width: 100%;
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  border-radius: 4px;
  border: 1px solid #D9D9D9;
  min-height: 56px;
  max-height: 116px;
  padding: 8px 16px;
  color: #7A7A7A;
  background-color: #FFFFFF;
  box-sizing: border-box;
  resize: none;
  overflow-y: hidden;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cline x1='2' y1='11' x2='11' y2='2' stroke='%23BFBFBF' stroke-width='1.5' stroke-linecap='round'/%3E%3Cline x1='6' y1='11' x2='11' y2='6' stroke='%23BFBFBF' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 4px bottom 4px;
  background-size: 12px 12px;
  transition: border-color 0.15s ease;
}

.multiline-textbox::placeholder {
  color: #7A7A7A;
}

/* 2) Hover */
.multiline-textbox:hover:not(:disabled) {
  border-color: #7A7A7A;
}

/* 3) Active / Focus */
.multiline-textbox:focus:not(:disabled),
.multiline-textbox:active:not(:disabled) {
  color: #2B2B2B;
  border-color: #2B2B2B;
  outline: none;
}

/* 3b) Filled — has content (placeholder hidden) */
.multiline-textbox:not(:placeholder-shown):not(:disabled) {
  color: #2B2B2B;
}

/* 4) Disabled */
.multiline-textbox:disabled {
  border-color: #BFBFBF;
  background-color: #F2F2F2;
  color: #BFBFBF;
  cursor: not-allowed;
}

.multiline-textbox:disabled::placeholder {
  color: #BFBFBF;
}

/* 5 & 6) Filled / Filled Content — text color #2B2B2B from base; JS handles auto-grow and scroll after 5 lines */

/* Scrollbar — track margin prevents it from clipping the rounded corners */
.multiline-textbox::-webkit-scrollbar {
  width: 6px;
}

.multiline-textbox::-webkit-scrollbar-track {
  margin: 4px 0;
  background: transparent;
}

.multiline-textbox::-webkit-scrollbar-thumb {
  border-radius: 3px;
  background-color: #D9D9D9;
}

.loading-overlay-non-vortex {
  background-color: unset !important;
}

.kitted-color-label {
  width: 80%;
  height: 16px;
  margin-top: 10px;
}

.skeleton-animation {
  background-color: var(--bas-skeleton-loader-bg-color);
  animation: skeleton-pulse 1.5s ease-in-out infinite;
  border-radius: 2px;
}

.quantity-per-size {
  align-items: start !important;
}

@media (max-width: 480px) {
  .kitted-color-label {
    width: 30%;
    height: 16px;
  }
}

.quantity-per-size {
  width: 100%;
}

.kitted-product-attributes-skeleton {
  gap: 0px !important
}

.skeleton-size-quantity-item {
  height: 64px;
  min-width:72px;
}

.attributes li {
  margin: unset !important;
}

.size-qty-input {
  font-family: "Open Sans";
  font-size:16px;
  font-weight:400;
}

.color-swatches .selected-value {
    border: 2px solid #2B2B2B;
  border-radius: unset;
}

.estimate-shipping-popup {
  max-width: 876px;
  max-height: min(667px, 90vh);
}
@media screen and (max-width: 768px) {
  .estimate-shipping-popup {
    max-height: 70vh;
  }
}

/* Buy More Save More Modal */
.buymore-modal.modal.fade .modal-dialog {
    transform: translate(0, -25%);
    transition: transform 0.3s ease-out;
}

.buymore-modal.modal.show .modal-dialog {
    transform: translate(0, 0);
}

.buymore-modal {
    z-index: 1050;
    overflow: hidden;
    padding: 1rem !important;
    align-content: center;
}

.buymore-modal .modal-backdrop,
.buymore-modal-backdrop {
    z-index: 1040;
}

div#BuyMoreSaveMore-PopUp {
    width: 480px;
    max-width: 480px;
    margin: 1.75rem auto;
}

.buymore-modal-content.modal-content {
    border-radius: 10px;
    background-color: #ffffff;
    height: fit-content;
    max-height: 666px;
    display: flex;
    flex-direction: column;
    border: none;
}

#buy-more #text {
  color: #4A9D5F;
  font-size: 12px;
  font-weight: 600;
}

  #buy-more #text:hover {
    color: #259150;
    text-decoration: underline;
  }

.buymore-modal-close {
    position: absolute;
    top: 8px;
    right: 15px;
    font-size: 26px;
    color: #FFFFFF;
    border: none;
    background-color: transparent;
    z-index: 1;
    cursor: pointer;
    opacity: 1;
}

span.buymore-heading {
    color: white;
    font-size: 20px;
}

.buymore-modal-content .modal-header {
    background: #2ca960;
    padding: 12px 20px;
    height: 51px;
    min-height: 51px;
    font-family: "Open Sans";
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
    border-bottom: none;
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.buymore-modal-content .modal-body {
    padding: 0 !important;
    overflow-y: auto;
    flex: 1;
}

.buymore-popup-body {
    padding: 20px;
}

.buymore-table-wrapper {
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    overflow: hidden;
}

.buymore-table {
    width: 100%;
    border-collapse: collapse;
    font-family: "Open Sans";
    font-size: 16px;
    color: #2b2b2b;
}

.buymore-table thead th {
    padding: 12px 24px;
    height: 64px;
    text-align: left;
    font-weight: 600;
    border-bottom: 1px solid #e0e0e0;
}

.buymore-table tbody tr {
    height: 64px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
}

.buymore-table tbody tr:hover {
    background-color: #f5f5f5;
}

.buymore-table tbody td {
    padding: 14px 24px;
    height: 64px;
}

.buymore-save-highlight {
  color: #4A9D5F;
}

h5#BuyMoreSaveMoreLabel {
    font-weight: 600;
}

@media screen and (max-width: 500px) {
    div#BuyMoreSaveMore-PopUp {
        width: auto;
        margin: 10px auto;
    }
}

@media (max-width: 768px) {
  span.buymore-heading {
    font-size: 18px;
  }

  .buymore-table {
    font-size: 14px;
  }

  .ruk-rating-snippet-count {
    width: fit-content !important;
    margin: 0 auto !important;
  }
}

.upload-design-dpm-button {
  background-color: #4A9D5F;
  justify-content: center;
  gap: 8px;
  padding: 16px 20px;
  border-radius: 8px !important;
  height: 56px;
  border: none;
  color: #fff;
  font-weight: 700;
  position: relative;
  top: 2px;
  width: 100%;
  display: flex;
  align-items: center;
}

.upload-design-dpm-button:hover {
  background-color: #259150;
}

.browse-buttons-dpm-text {
  color: #fff !important;
  font-size: 16px;
  font-weight: 700;
}

.browseDesignTemplates-design-button {
  border: 2px solid #4A9D5F;
  justify-content: center;
  gap: 8px;
  padding: 16px 20px;
  height: 56px;
}

.browseDesignTemplates-design-button:hover {
  background-color: #A3D6B366;
}

.browse-template-buttons-text {
  color: #4A9D5F;
  font-size: 16px;
}

.browse-buttons-dpm-svg,
.browseDesignTemplates-buttons-svg {
  width: 24px;
  height: 24px;
}

.ruk-rating-snippet-count {
  color: #2C2C2C !important;
  border-bottom: 1px solid #2B2B2B;
  font-weight: 600 !important;
  font-family: "Open Sans" !important;
}

.ruk-rating-snippet-count:hover {
  color: #2CA960 !important;
  border-bottom: 1px solid #4A9D5F;
}

/* ===== Dropdown / Select Styling (Figma) ===== */

.attribute-item--stacked .attribute-item__dropdown select,
.attribute-item--stacked .attribute-item__dropdown .select2-container {
  width: 100% !important;
  max-width: 100%;
}

.attribute-item--stacked .attribute-item__dropdown select {
  height: 56px;
  padding: 0 44px 0 16px;
  font-family: 'Open Sans', sans-serif !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 22px !important;
  color: #2B2B2B !important;
  background-color: #fff;
  border: 1px solid #D9D9D9;
  border-radius: 4px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23888' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  cursor: pointer;
  box-sizing: border-box;
}

.attribute-item--stacked .attribute-item__dropdown select:focus {
  outline: none;
  border-color: #4A9D5F;
}

.attribute-item--stacked .attribute-item__dropdown .select2-container .select2-selection--single {
  height: 56px !important;
  border: 1px solid #D9D9D9 !important;
  padding: 0 16px;
  display: flex;
  align-items: center;
  box-sizing: border-box;
}

.attribute-item--stacked .attribute-item__dropdown .select2-container--default .select2-selection--single .select2-selection__rendered {
  font-family: 'Open Sans', sans-serif !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 24px !important;
  color: #2B2B2B !important;
  padding-left: 0 !important;
  top: unset !important;
  left:unset !important;
}

.attribute-item--stacked .attribute-item__dropdown .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 56px;
  right: 12px;
  display: flex;
  align-items: center;
}

@media (min-width: 768px) {
  .attribute-item--stacked .attribute-item__dropdown select,
  .attribute-item--stacked .attribute-item__dropdown .select2-container {
    max-width: 844px;
  }
}

.html-product-first-options .pff-above-the-fold-container .attributes-container .attribute-item__dropdown .select2-container {
  font-size: 14px !important;
  line-height: 48px;

}

.html-product-first-options .pff-above-the-fold-container .attributes-container .attribute-item__dropdown .select2-container .selected-text, .html-product-first-options .pff-above-the-fold-container .attributes-container .attribute-item__dropdown .productAttImageDropdown .selected-text{
  position: static !important;
  font-size: 14px !important;
  top: 0px !important;
  color: #2B2B2B;
  font-weight: 600;
}

.html-product-first-options .pff-above-the-fold-container .attributes-container .attribute-item{
    margin-bottom: 24px;
}

.productAttImageDropdown .select2-selection__arrow {
  margin-right: 17px;
}

.html-product-first-options .pff-above-the-fold-container .attributes-container .attribute-item__dropdown .select2-container, .html-product-first-options .pff-above-the-fold-container .attributes-container .attribute-item__dropdown .productAttImageDropdown{
  border-radius: 4px;
}

  .html-product-first-options .pff-above-the-fold-container .attributes-container .attribute-item__dropdown .select2-container{
      height: 56px;
  }

.html-product-first-options .select2-container .select2-results__options {
  font-weight: 600;
  font-size: 14px;
  scrollbar-width: thin;
  scrollbar-color: #BFBFBF transparent;
  color: #2B2B2B !important;
}

.html-product-first-options .select2-container .select2-results__options::-webkit-scrollbar {
  width: 4px;
}

.html-product-first-options .select2-container .select2-results__options::-webkit-scrollbar-track {
  background: transparent;
}
}

.html-product-first-options .select2-container .select2-results__options::-webkit-scrollbar-thumb {
  background-color: #BFBFBF;
  border-radius: 120px;
}

.html-product-first-options .pff-above-the-fold-container .attributes-container .attribute-item__dropdown .dropdown-menu {
  top: 55px !important;
  box-shadow: 0px 2px 6px rgba(26, 26, 26, 0.05) !important;
}

.html-product-first-options .pff-above-the-fold-container .attributes-container .attribute-item__dropdown .productAttImageDropdown
{
    height: 56px;
}

  @media (min-width: 768px) {
    .html-product-first-options .pff-above-the-fold-container .attributes-container .attribute-item__dropdown .select2-container .selected-text, .html-product-first-options .pff-above-the-fold-container .attributes-container .attribute-item__dropdown .productAttImageDropdown .selected-text {
      font-weight: 600;
      font-size: 14px !important;
      color: #2B2B2B !important;
      line-height: 20px !important;
    }

    .radio-card, .checkbox-card, .image-square-label,
    .attribute-item--stacked .attribute-item__dropdown .select2-container--default .select2-selection--single .select2-selection__rendered {
      font-size: 14px !important;
      line-height: 20px !important;
    }

      .radio-card span {
        line-height: 20px !important;
      }

      .html-product-first-options .pff-above-the-fold-container .attributes-container .attribute-item__dropdown .select2-container {
        font-size: 16px !important;
        font-weight: 600;
      }

    .image-square-price{
      font-size: 12px;
    }

    .html-product-first-options .select2-container .select2-results__options{
        font-weight: 600; 
        font-size: 14px;
    }

    .html-product-first-options .pff-above-the-fold-container .attributes-container .attribute-item__dropdown .imgSquareBtn{
      padding-left: 16px;
    }
  }

@media (min-width: 1001px) {
  .html-product-first-options .pff-above-the-fold-container .carousel-container {
    position: sticky;
    top: 0;
  }
}
.html-product-first-options .select2-results__option {
  border: 1px solid transparent;
  border-radius: 4px;
  padding: 12px;
  margin: 8px 8px;
}

.html-product-first-options .select2-container--default .select2-results__option[aria-selected=true],
.html-product-first-options .select2-container--default .select2-results__option--highlighted[aria-selected=true] {
  background-color: #F3FFF7;
  border-color: #4A9D5F;
  color: #2B2B2B;
  height: 46px;
}

.html-product-first-options .select2-container--default .select2-results__option--highlighted[aria-selected]:not([aria-selected=true]) {
  background-color: #F1F1F1;
  border: 1px solid #999;
  color: #2B2B2B;
}

.html-product-first-options .select2-container--default .select2-results__option[aria-disabled=true] {
  background-color: #F6F6F6 !important;
  color: #BFBFBF;
}

/* Closed state */
.select2-container--default .select2-selection--single {
  border: 1px solid #D9D9D9 !important;
  border-radius: 4px !important;
}

/* Open state */
.select2-container--default.select2-container--open .select2-selection--single {
  border-bottom: 0 !important;
  border-radius: 4px 4px 0 0 !important;
}

/* Dropdown */
.select2-container--default .select2-dropdown {
  box-shadow: 0px 2px 6px rgba(26, 26, 26, 0.05);
  border: 1px solid #D9D9D9 !important;
  border-top: 0 !important;
  border-radius: 0 0 4px 4px !important;
  overflow: hidden !important; /* important */
}

/* Description dropdown (imgSquareBtn) open state */
.html-product-first-options .pff-above-the-fold-container .attributes-container .attribute-item__dropdown .imgSquareBtn[aria-expanded="true"] {
  border-radius: 4px 4px 0 0;
  border-bottom-color: transparent;
}

.html-product-first-options .imgSquarDropdownMenu {
  border-radius: 0 0 4px 4px;
  border-top: 1px solid #ECECEC !important;
  border-color: #D9D9D9 !important;
  margin-top: 0 !important;
  transform: none !important;
  left: 0 !important;
  width: 100% !important;
}

.html-product-first-options .imgSquareBtn[aria-expanded="true"] .select2-selection__arrow::after {
  transform: rotate(180deg);
}

/* Description dropdown option states */
.html-product-first-options .imgSquarDropdownOptionValue {
  border: 1px solid transparent !important;
  border-radius: 4px;
  margin: 8px 8px;
  padding: 12px !important;
}

.html-product-first-options .imgSquarDropdownOptionValue.selectedRow {
  background-color: #F3FFF7 !important;
  border-color: #4A9D5F !important;
  border-bottom-color: #4A9D5F !important;
  color: #2B2B2B;
}

  .html-product-first-options .imgSquarDropdownOptionValue {
   font-weight:600; 
  }

.html-product-first-options .imgSquarDropdownOption:hover .imgSquarDropdownOptionValue:not(.selectedRow) {
  background-color: #F1F1F1 !important;
  border: 1px solid #999;
  color: #2B2B2B;
}

/* Disabled option state */
.html-product-first-options .imgSquarDropdownOption[style*="pointer-events: none"] .imgSquarDropdownOptionValue {
  background-color: #F8F6F6 !important;
  border-color: #F8F6F6 !important;
  color: #BFBFBF !important;
}

.html-product-first-options .imgSquarDropdownOption[style*="pointer-events: none"] .dropdown__copy,
.html-product-first-options .imgSquarDropdownOption[style*="pointer-events: none"] .dropdown__copy * {
  color: #BFBFBF !important;
}

.imgSquarDropdownOptionValue ul {
  margin-bottom: unset !important;
}
.html-product-first-options .pff-above-the-fold-container .attributes-container .attribute-item__dropdown .imgSquareBtn {
  border: 1px solid #D9D9D9;
  padding: 0 16px;
}

/* Description dropdown - opens above (when near bottom of viewport) */
.html-product-first-options .pff-above-the-fold-container .attributes-container .attribute-item__dropdown .productAttImageDropdown.opens-above .dropdown-menu {
  top: auto !important;
  bottom: 100% !important;
  border-radius: 4px 4px 0 0 !important;
  border-bottom: none !important;
  border-top: 1px solid #D9D9D9 !important;
}

.html-product-first-options .pff-above-the-fold-container .attributes-container .attribute-item__dropdown .productAttImageDropdown.opens-above .imgSquareBtn[aria-expanded="true"] {
  border-radius: 0 0 4px 4px !important;
  border-top-color: #D9D9D9 !important;
  border-bottom-color: #D9D9D9 !important;
}

input[type=text]:focus, input[type=email]:focus, input[type=tel]:focus, input[type=password]:focus, textarea:focus, select:focus {
  color: #2B2B2B !important;
}

.save-text {
  color: #4A9D5F;
}