.product-compare-float {
  position: fixed;
  bottom: 24px;
  left: 16px;
  z-index: 250;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: #F9F9F9;
  border: 1px solid #333333;
  border-radius: 9999px;
  font-size: 16px;
  font-weight: 500;
  color: #333333;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease; }

.product-compare-float:hover {
  background: #00385C;
  border-color: #00385C;
  color: #FFFFFF; }

.product-compare-float-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0; }

.product-compare-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 260;
  background: #FFFFFF;
  border-top: 1px solid #EDEDED;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(100%);
  visibility: hidden;
  transition: transform 0.35s ease, visibility 0.35s ease; }

.product-compare-bar.is-open {
  transform: translateY(0);
  visibility: visible; }

.product-compare-bar.is-collapsed .product-compare-bar-body {
  display: none; }

.product-compare-bar.is-collapsed .product-compare-bar-toggle-icon {
  transform: rotate(180deg); }

.product-compare-bar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 24px;
  border-bottom: 1px solid #EDEDED; }

.product-compare-bar-title {
  margin: 0;
  font-family: var(--font-family);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #333333;
  text-transform: uppercase; }

.product-compare-bar-actions {
  display: flex;
  align-items: center;
  gap: 12px; }

/*.product-compare-bar-go {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: #00385C;
  border: 1px solid #00385C;
  border-radius: 16px;
  font-size: 16px;
  font-weight: 500;
  color: #FFFFFF;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.product-compare-bar-go:hover {
  background: transparent;
  color: #00385C;
}*/
.product-compare-bar-go.is-disabled {
  pointer-events: none;
  opacity: 0.45; }

.product-compare-bar-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  background: #F9F9F9;
  border: 1px solid #EDEDED;
  border-radius: 50%;
  color: #333333;
  cursor: pointer;
  transition: background 0.2s ease; }

.product-compare-bar-toggle:hover {
  background: #EDEDED; }

.product-compare-bar-toggle-icon {
  transition: transform 0.25s ease; }

.product-compare-bar-body {
  padding: 0 24px 24px; }

.product-compare-bar-slots {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0; }

.compare-bar-slot {
  position: relative;
  padding: 20px 24px;
  border-right: 1px solid #EDEDED; }

.compare-bar-slot:last-child {
  border-right: none; }

.compare-bar-slot-inner {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  flex-flow: column; }

.compare-bar-slot-image-wrap-inner {
  width: 100%;
  position: relative; }

.compare-bar-slot-image-wrap {
  flex-shrink: 0;
  width: 100px; }

.compare-bar-slot-image {
  display: block;
  position: relative;
  padding-bottom: 100%;
  border-radius: 8px;
  overflow: hidden;
  background: #F9F9F9; }

.compare-bar-slot-image img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; }

.compare-bar-slot-remove {
  position: absolute;
  top: -8px;
  right: -8px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 0;
  background: #FFFFFF;
  border: 1px solid #EDEDED;
  border-radius: 50%;
  color: #333333;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease; }

.compare-bar-slot-remove:hover {
  background: #F9F9F9;
  border-color: #333333; }

.compare-bar-slot-info {
  flex: 1;
  min-width: 0; }

.compare-bar-slot-title {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  color: #333333;
  text-decoration: none; }

.compare-bar-slot-title:hover {
  color: #00385C; }

.compare-bar-slot-price {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px; }

.compare-bar-slot-price-sale {
  font-size: 16px;
  font-weight: 500;
  color: #F04438; }

.compare-bar-slot-price-original {
  font-size: 14px;
  font-weight: 400;
  color: #BBBBBB;
  text-decoration: line-through; }

.compare-bar-slot-empty {
  display: flex;
  align-items: center;
  justify-content: center; }

.compare-bar-slot-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  border: 1px dashed #BBBBBB;
  border-radius: 8px;
  color: #BBBBBB;
  padding: 20%; }

.btn-compare-add {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #EDEDED;
  border-radius: 8px;
  color: #333333;
  cursor: pointer;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.2s ease, visibility 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease; }

/*.product-block:hover .btn-compare-add,
.btn-compare-add.is-active {
  opacity: 1;
  visibility: visible;
}

.btn-compare-add:hover {
  background: #00385C;
  border-color: #00385C;
  color: #FFFFFF;
}*/
.btn-compare-add.is-active {
  background: #00385C;
  border-color: #00385C;
  color: #FFFFFF; }

body.compare-bar-open .product-compare-float {
  display: none !important; }

body.compare-bar-open {
  padding-bottom: 0; }

.compare-page {
  padding-top: 48px;
  padding-bottom: 50px; }

.compare-page .container-fluid {
  max-width: 1280px;
  margin: 0 auto;
  padding-right: 48px;
  padding-left: 48px; }

.compare-page-title {
  margin-bottom: 32px;
  font-size: 28px;
  font-weight: 400;
  line-height: 1.25;
  color: #333333; }

.compare-page-empty {
  padding: 48px 16px;
  text-align: center;
  color: #BBBBBB;
  font-size: 16px; }

.compare-page-slider {
  width: 100%; }

.compare-page-list {
  display: grid;
  grid-template-columns: repeat(var(--compare-cols, 4), minmax(0, 1fr));
  gap: 24px; }

.compare-page-card {
  position: relative;
  overflow: hidden;
  background: #F9F9F9;
  border-radius: 8px; }

.compare-page-image-wrap {
  position: relative;
  width: 100%;
  padding: 16px; }

.compare-page-image-link {
  display: block;
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #F9F9F9;
  border-radius: 8px; }

.compare-page-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover; }

.compare-page-image-wrap .compare-bar-slot-remove {
  top: 8px;
  right: 8px;
  width: 20px;
  height: 20px;
  background: #FFFFFF;
  border: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); }

.compare-page-card-body {
  padding: 24px 16px 28px; }

.compare-page-field {
  margin-bottom: 16px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
  color: #333333; }

.compare-page-field:last-child {
  margin-bottom: 0; }

.compare-page-field-label {
  margin-bottom: 4px;
  font-weight: 600; }

.compare-page-cell-link {
  color: #333333;
  text-decoration: none;
  font-weight: 400;
  word-break: break-word; }

.compare-page-cell-link:hover {
  color: #00385C; }

.compare-page-table-cell-price {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px; }

.compare-page-cell-price-sale {
  font-size: 14px;
  font-weight: 400;
  color: #333333; }

.compare-page-cell-price-original {
  font-size: 14px;
  font-weight: 400;
  color: #BBBBBB;
  text-decoration: line-through; }

.compare-page-footer {
  margin-top: 48px;
  text-align: center; }

.compare-page-back {
  justify-content: center;
  min-width: 200px; }

/*.compare-page-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  padding: 12px 48px;
  background: #00385C;
  border: 1px solid #00385C;
  border-radius: 16px;
  font-size: 16px;
  font-weight: 500;
  color: #FFFFFF;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.compare-page-back:hover {
  background: transparent;
  color: #FFFFFF;
  border-color: #FFFFFF;
}*/
body#HaravanTheme-page-compare main {
  padding: 0; }

@media (max-width: 991px) {
  .product-compare-bar-slots {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch; }
  .compare-bar-slot {
    flex: 0 0 220px;
    border-right: 1px solid #EDEDED;
    border-bottom: none;
    padding: 16px;
    scroll-snap-align: start; }
  .compare-bar-slot:last-child {
    border-right: none; }
  .product-compare-bar-header {
    padding: 12px 16px; }
  .product-compare-bar-body {
    padding: 0 16px 16px; }
  .product-compare-bar-title {
    font-size: 14px; }
  .product-compare-bar-go {
    padding: 8px 14px;
    font-size: 14px; }
  .btn-compare-add {
    opacity: 1;
    visibility: visible; } }

@media (max-width: 767px) {
  .compare-page {
    padding-top: 28px; }
  .compare-page .container-fluid {
    padding-right: 15px;
    padding-left: 15px; }
  .product-compare-float {
    bottom: 16px;
    left: 12px;
    font-size: 14px;
    padding: 8px 12px; }
  .compare-page-title {
    margin-bottom: 24px; }
  .compare-page-slider {
    margin-right: -15px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch; }
  .compare-page-list {
    display: flex;
    gap: 12px;
    width: max-content;
    min-width: 100%;
    padding-right: 15px; }
  .compare-page-card {
    width: 160px;
    flex: 0 0 160px;
    scroll-snap-align: start; }
  .compare-page-card-body {
    padding: 16px 10px 20px; }
  .compare-page-field {
    margin-bottom: 12px;
    font-size: 11px;
    line-height: 1.45; }
  .compare-page-field-label {
    margin-bottom: 3px; }
  .compare-page-cell-price-sale,
  .compare-page-cell-price-original {
    font-size: 11px; }
  .compare-page-back {
    min-width: 160px;
    padding: 10px 32px;
    font-size: 14px; } }
