main {
  background: rgb(246, 246, 246) !important;
  padding-top: 70px;
}

.compare-products {
  width: 100%;
  max-width: 1580px;
  min-height: 100px;
}

h1#compare-products-h1 {
  font-size: 30px;
  font-weight: 700;
  line-height: 38px;
  letter-spacing: 0;
  margin-bottom: 15px;
}

h2#specifications-title {
  font-size: 24px;
  font-weight: 600;
  line-height: 28px;
  letter-spacing: 0;
}

.compare-products-table {
  margin-bottom: 40px;
}

.specifications-title {
  background: white;
  margin-bottom: 5px;
  padding: 12px;
  height: 48px;
  display: flex;
  align-items: flex-start;
  justify-content: left;
}

.attribute-header-row {
  font-size: 16px;
  font-weight: 600;
  line-height: 20px;
  letter-spacing: 0;
}

.attribute-header-row,
.attribute-table-cell {
  background: white;
  margin-bottom: 5px;
  padding: 12px;
  height: 48px;
  display: flex;
  align-items: flex-start;
  justify-content: left;
}

.attribute-table-row--0-products,
.attribute-table-row--1-products {
  display: none;
}

.attribute-table-row--2-products,
.attribute-table-row--3-products,
.attribute-table-row--4-products {
  display: grid;
  column-gap: 4px;
}

.attribute-table-row--2-products {
  grid-template-columns: repeat(2, minmax(0, 50%));
}

.attribute-table-row--3-products {
  grid-template-columns: repeat(3, minmax(0, 33.333%));
}

.attribute-table-row--4-products {
  grid-template-columns: repeat(4, minmax(0, 25%));
}

.back-arrow {
  margin-right: 10px;
  margin-left: 2px;
}

.back-link {
  font-size: 14px;
  font-weight: 400;
  height: 24px;
  line-height: 20px;
  text-decoration: none;
  color: black;
  margin-bottom: 30px;
  display: block;
}

.compare-products__single-product {
  background: white;
  min-height: 50px;
  min-width: 50px;
  padding: 8px 16px 12px;
}

.compare-product-buy-btn {
  width: 48px;
  height: 48px;
  margin-left: 15px;
  border-radius: 10px;
  background-color: rgb(255, 204, 51);
  display: flex;
  align-items: center;
  justify-content: center;
}

.single-compare-product-title {
  font-size: 16px;
  font-weight: 600;
  line-height: 20px;
  height: 40px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.compare-buy-icon {
  position: relative;
  left: -2px;
  width: 24px;
  height: auto;
}

.compare-price-and-buy-button {
  display: flex;
  justify-content: right;
  align-items: center;
  margin-left: 10px;
  margin-top: 10px;
  min-height: 48px;
}

.h1-and-export {
  display: flex;
  justify-content: space-between;
}

.single-compare-product-price,
.single-compare-product-price .woocommerce-Price-amount {
  text-align: right;
  font-size: 24px;
  font-weight: 600;
}
.single-compare-product-price ins,
.single-compare-product-price .woocommerce-Price-amount ins {
  text-decoration: none;
}
.single-compare-product-price del,
.single-compare-product-price .woocommerce-Price-amount del {
  color: #a1a1a1;
}

.export-to-pdf {
  font-size: 12px;
  color: white;
  padding: 8px 12px;
  border-radius: 8px;
  box-shadow: none;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: 0;
  border: none;
  height: 40px;
  text-transform: none;
  background-color: black;
}
.export-to-pdf:hover {
  background: #252525;
  cursor: pointer;
}

.trigger {
  background: #fff;
  border: 1.5px solid #e5e5e5;
  border-radius: 10px;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 500;
  font-family: "DM Sans", sans-serif;
  cursor: pointer;
  color: #1a1a1a;
  transition: background 0.15s;
}

.trigger:hover {
  background: #fafafa;
}

.attribute-table-row--brand .attribute-table-cell {
  text-transform: uppercase;
}

.overlay-compare {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.overlay-compare.open {
  opacity: 1;
  pointer-events: all;
}

.modal {
  background: #fff;
  border-radius: 16px;
  padding: 40px 44px;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 8px 48px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
  text-align: center;
  position: relative;
  transform: translateY(16px) scale(0.97);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.2s ease;
  opacity: 0;
}

.overlay-compare.open .modal {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 28px;
  height: 28px;
  border: none;
  background: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  color: #aaa;
  transition: background 0.15s, color 0.15s;
}

.close-btn:hover {
  background: #f5f5f4;
  color: #1a1a1a;
}

.message {
  font-size: 15px;
  font-weight: 500;
  color: #1a1a1a;
  line-height: 1.6;
  margin: 0 0 28px;
  letter-spacing: -0.01em;
}

.message strong {
  font-weight: 700;
}

.btn {
  background: #1a1a1a;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 11px 28px;
  font-size: 13.5px;
  font-weight: 600;
  font-family: "DM Sans", sans-serif;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: opacity 0.15s;
}

.btn:hover {
  opacity: 0.8;
}

.remove-compared-product__icon {
  width: 35px;
  height: auto;
  margin-top: 15px;
}
.remove-compared-product__icon:hover {
  cursor: pointer;
}

.compare-products-remove {
  height: 36px;
  border-top: 1px solid #eee;
  margin-top: 10px;
  display: flex;
  justify-content: right;
  align-items: center;
}

.single-compare-product-sku {
  margin-bottom: 10px;
  display: block;
  color: rgb(108, 108, 108);
  font-size: 12px;
  font-weight: 600;
}

.single-compare-product-image {
  max-width: 220px;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.compare-products-products {
  margin-bottom: 10px;
  min-height: 200px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* or whatever min width you want */
  gap: 4px;
}

.attribute-table-row--brand,
.attribute-header-row {
  text-transform: capitalize;
}

@media screen and (max-width: 1590px) {
  .compare-products {
    padding-left: 45px;
    padding-right: 45px;
  }
}
@media screen and (max-width: 980px) {
  .compare-products {
    padding-left: 15px;
    padding-right: 15px;
  }
}
@media screen and (max-width: 768px) {
  .h1-and-export {
    display: block;
  }
  .export-to-pdf {
    margin-bottom: 10px;
  }
  h1#compare-products-h1 {
    margin-bottom: 10px;
  }
}

/*# sourceMappingURL=compare-products.css.map */
