.elementor-10309 .elementor-element.elementor-element-8880887{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}:root{--page-title-display:none;}/* Start custom CSS for html, class: .elementor-element-9a76408 *//* ==================================================== */
/* === 1. BASE COMPARISON WRAPPER & SEARCH HEADER === */
/* ==================================================== */

#compare-wrapper > div {
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  padding: 20px 10px;
  position: relative;
  overflow: visible; /* Allows search dropdown to show over the edge */
}

.compare-header-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 15px;
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 10px;
}

.compare-header-section h2 {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

.compare-search {
  position: relative;
  width: 250px;
  max-width: 100%;
  z-index: 1000;
}

#compare-search-input {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

#compare-search-results {
  position: absolute;
  top: 42px;
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  max-height: 250px;
  overflow-y: auto;
  z-index: 2000;
}

/* ==================================================== */
/* === 2. THE COMPARISON CARD & ALIGNMENT FIXES === */
/* ==================================================== */

.compare-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  font-size: 14px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  height: 100%;
}

.compare-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

.compare-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  background: #f7f7f7;
  border-bottom: 1px solid #e0e0e0;
}

/* Force titles to one line */
.compare-card h3 {
  font-size: 15px;
  margin: 0;
  flex: 1;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.compare-header button {
  background: #d00;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 2px 8px;
  cursor: pointer;
  font-size: 14px;
  margin-left: 5px;
}

/* Tabular Rows - Vertical Alignment Core Fix */
.compare-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 10px;
  border-bottom: 1px solid #e0e0e0;
  align-items: center;
  /* Min-height ensures rows stay level even if values are empty */
  min-height: 46px; 
  box-sizing: border-box;
}

.compare-row:last-child {
  border-bottom: none;
}

.compare-label {
  font-weight: 600;
  color: #333;
  flex: 1;
  white-space: nowrap;
  font-size: 13px;
}

/* Force content to one line to prevent pushing the layout down */
.compare-value, .val {
  text-align: right;
  flex: 1.4;
  padding-left: 8px;
  color: #555;
  white-space: nowrap;      /* No wrapping to second line */
  overflow: hidden;         /* Hide overflow */
  text-overflow: ellipsis;  /* Show "..." if text is too long */
  font-size: 13px;
}

.compare-row img {
  width: 100%;
  height: 180px; 
  object-fit: cover;
  border-radius: 4px;
  display: block;
}

/* ==================================================== */
/* === 3. BUTTONS & ACTIONS === */
/* ==================================================== */

.clear-all-btn,
.share-btn {
  margin: 20px auto;
  display: block;
  background: #333;
  color: #fff;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.2s ease;
  font-weight: 600;
}

.clear-all-btn:hover { background: #444; }
.share-btn { background: #00b894; }
.share-btn:hover { background: #009975; }

.compare-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 15px;
}

/* ==================================================== */
/* === 4. SCROLLING & SWIPER LAYOUT === */
/* ==================================================== */

#compare-wrapper .compare-swiper {
  overflow-x: auto !important;
  padding-bottom: 15px !important;
  -webkit-overflow-scrolling: touch !important;
}

#compare-wrapper .compare-swiper .swiper-wrapper {
  display: flex !important;
  width: max-content !important;
}

#compare-wrapper .compare-swiper .swiper-slide {
  flex: 0 0 auto;
  box-sizing: border-box;
  padding: 5px;
  width: 280px !important; /* Kept fixed width per your request */
  flex-shrink: 0 !important;
}

/* Custom Scrollbar Styles */
#compare-wrapper .compare-swiper::-webkit-scrollbar { height: 10px; }
#compare-wrapper .compare-swiper::-webkit-scrollbar-track { background: #e0e0e0; border-radius: 10px; }
#compare-wrapper .compare-swiper::-webkit-scrollbar-thumb { background-color: #555; border-radius: 10px; border: 2px solid #e0e0e0; }

/* Swiper Controls */
.swiper-button-prev, .swiper-button-next { color: #00b894; }
.swiper-pagination-bullet-active { background: #00b894; }

/* ==================================================== */
/* === 5. MOBILE RESPONSIVE === */
/* ==================================================== */

@media (max-width: 768px) {
  .compare-swiper .swiper-slide {
    flex: 0 0 85%;
    width: auto !important;
  }
  .swiper-button-prev, .swiper-button-next { display: none !important; }
  .compare-row { min-height: 42px; }
  .compare-row img { height: 150px; }
  .compare-header-section { flex-direction: column; align-items: flex-start; }
  .compare-search { width: 100%; }
}/* End custom CSS */