/**
 * Gen Z Creation - Luxury Product Compare Stylesheet
 * Brand colors: Deep Emerald (#0B3D2E), Metallic Gold (#C5A059), Warm Ivory (#FAF8F5, #F8F4EC)
 * Fully responsive across desktop, tablet, and mobile
 */

/* ========================================================
   GLOBAL RESETS & HIDE REDUNDANT TOP BANNER
   ======================================================== */
.site-wrapper > .title.page-title,
.site-wrapper > .title,
#content > .title.page-title,
#content > .title,
.title.page-title {
  display: none !important;
}

#product-compare.container {
  max-width: 1240px !important;
  margin: 28px auto 50px !important;
  padding-left: 15px !important;
  padding-right: 15px !important;
}

/* ========================================================
   MAIN LUXURY CARD WRAPPER
   ======================================================== */
.genz-compare-card {
  background: #FFFFFF !important;
  border: 1px solid rgba(197, 160, 89, 0.28) !important;
  border: 1px solid rgba(197, 160, 89, 0.2) !important;
  border-radius: 18px !important;
  box-shadow: 0 10px 32px rgba(11, 61, 46, 0.05), 0 2px 6px rgba(0, 0, 0, 0.02) !important;
  padding: 30px 32px !important;
  position: relative !important;
  overflow: hidden !important;
}

.genz-compare-card::before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 3px !important;
  background: linear-gradient(90deg, #0B3D2E 0%, #C5A059 50%, #0B3D2E 100%) !important;
}

/* ========================================================
   CARD HEADER
   ======================================================== */
.genz-compare-header {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 16px !important;
  padding-bottom: 22px !important;
  margin-bottom: 24px !important;
  border-bottom: 1px solid rgba(197, 160, 89, 0.22) !important;
  border-bottom: 1px solid rgba(197, 160, 89, 0.18) !important;
}

.genz-compare-header-left {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
}

.genz-compare-icon-wrap {
  width: 48px !important;
  height: 48px !important;
  border-radius: 12px !important;
  background: rgba(197, 160, 89, 0.12) !important;
  border: 1px solid rgba(197, 160, 89, 0.28) !important;
  background: rgba(197, 160, 89, 0.1) !important;
  border: 1px solid rgba(197, 160, 89, 0.22) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}

.genz-compare-title-group h2 {
  font-family: 'Playfair Display', Georgia, serif !important;
  font-size: 23px !important;
  font-weight: 700 !important;
  color: #0B3D2E !important;
  margin: 0 0 3px 0 !important;
  letter-spacing: -0.2px !important;
  line-height: 1.2 !important;
}

.genz-compare-title-group p {
  font-family: 'Jost', sans-serif !important;
  font-size: 13.5px !important;
  color: #64748B !important;
  margin: 0 !important;
  line-height: 1.4 !important;
}

.genz-compare-count-badge {
  background: rgba(11, 61, 46, 0.08) !important;
  color: #0B3D2E !important;
  border: 1px solid rgba(11, 61, 46, 0.2) !important;
  border: 1px solid rgba(11, 61, 46, 0.16) !important;
  border-radius: 20px !important;
  padding: 5px 15px !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  font-family: 'Jost', sans-serif !important;
}

/* ========================================================
   TABLE & PRODUCT HERO HEADERS
   ======================================================== */
.genz-compare-table-wrapper {
  overflow-x: auto !important;
  margin-bottom: 24px !important;
  border: 1px solid #ECE7DE !important;
  border: 1px solid #EAE5DC !important;
  border-radius: 14px !important;
  background: #FFFFFF !important;
  -webkit-overflow-scrolling: touch !important;
}

/* Subtle modern scrollbar */
.genz-compare-table-wrapper::-webkit-scrollbar {
  height: 7px !important;
  height: 6px !important;
}
.genz-compare-table-wrapper::-webkit-scrollbar-track {
  background: #FAF7F2 !important;
}
.genz-compare-table-wrapper::-webkit-scrollbar-thumb {
  background: #D9D0C3 !important;
  border-radius: 4px !important;
}
.genz-compare-table-wrapper::-webkit-scrollbar-thumb:hover {
  background: #C5A059 !important;
}

.genz-compare-table {
  width: 100% !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  border-collapse: collapse !important;
  margin: 0 !important;
  min-width: 680px !important;
}

/* Table Lead Cell (Top Left) */
.genz-feature-label-cell {
  width: 190px !important;
  min-width: 190px !important;
  max-width: 210px !important;
  background: #FAF7F2 !important;
  padding: 24px 20px !important;
  vertical-align: middle !important;
  border-right: 1.5px solid #EBE5DB !important;
  border-bottom: 1.5px solid #E5DFD4 !important;
  border-right: 1px solid #EAE5DC !important;
  border-bottom: 1px solid #EAE5DC !important;
}

.genz-table-lead {
  display: flex !important;
  flex-direction: column !important;
  gap: 3px !important;
}

.genz-table-lead .lead-title {
  font-family: 'Playfair Display', Georgia, serif !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #0B3D2E !important;
}

.genz-table-lead .lead-sub {
  font-family: 'Jost', sans-serif !important;
  font-size: 11.5px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  color: #8C9BAE !important;
}

/* Product Hero Column */
.genz-product-hero-col {
  padding: 22px 18px !important;
  background: #FFFFFF !important;
  border-right: 1px solid #F0ECE4 !important;
  border-bottom: 1.5px solid #E5DFD4 !important;
  border-right: 1px solid #EFECE6 !important;
  border-bottom: 1px solid #EAE5DC !important;
  vertical-align: top !important;
  min-width: 230px !important;
  position: relative !important;
}

.genz-product-hero-col:last-child {
  border-right: none !important;
}

.genz-compare-product-card {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
}

/* Remove Icon (Top Right Cross) */
.genz-btn-remove-icon {
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  width: 28px !important;
  height: 28px !important;
  border-radius: 50% !important;
  background: #FAF7F2 !important;
  border: 1px solid #ECE7DE !important;
  border: 1px solid #EAE5DC !important;
  color: #94A3B8 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.2s ease !important;
  z-index: 2 !important;
  text-decoration: none !important;
}

.genz-btn-remove-icon:hover {
  background: #FEE2E2 !important;
  border-color: #FCA5A5 !important;
  color: #DC2626 !important;
  transform: scale(1.08) !important;
}

/* Image Wrapper */
.genz-compare-thumb-wrap {
  width: 140px !important;
  height: 140px !important;
  margin: 0 auto 14px !important;
  background: #FAF8F5 !important;
  border: 1px solid #ECE7DE !important;
  border: 1px solid #EAE5DC !important;
  border-radius: 12px !important;
  padding: 8px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  transition: all 0.25s ease !important;
}

.genz-compare-thumb-wrap:hover {
  border-color: #C5A059 !important;
  box-shadow: 0 4px 14px rgba(197, 160, 89, 0.18) !important;
  box-shadow: 0 4px 14px rgba(197, 160, 89, 0.15) !important;
}

.genz-compare-img {
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  transition: transform 0.3s ease !important;
}

.genz-compare-thumb-wrap:hover .genz-compare-img {
  transform: scale(1.05) !important;
}

/* Product Title */
.genz-compare-prod-name {
  margin: 0 0 8px 0 !important;
  font-family: 'Playfair Display', Georgia, serif !important;
  font-size: 16.5px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
}

.genz-compare-prod-name a {
  color: #0B3D2E !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}

.genz-compare-prod-name a:hover {
  color: #C5A059 !important;
}

/* Price Section */
.genz-compare-price-wrap {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  margin-bottom: 14px !important;
  flex-wrap: wrap !important;
}

.genz-compare-price {
  font-family: 'Playfair Display', Georgia, serif !important;
  font-size: 17.5px !important;
  font-weight: 700 !important;
  color: #0B3D2E !important;
}

.genz-compare-price-special {
  font-family: 'Playfair Display', Georgia, serif !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #0B3D2E !important;
}

.genz-compare-price-old {
  font-family: 'Jost', sans-serif !important;
  font-size: 13px !important;
  color: #94A3B8 !important;
  text-decoration: line-through !important;
}

/* Add to Cart Button */
.genz-compare-actions {
  width: 100% !important;
}

.genz-btn-compare-cart {
  width: 100% !important;
  max-width: 190px !important;
  height: 38px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  background: #0B3D2E !important;
  color: #FFFFFF !important;
  border: 1.5px solid #0B3D2E !important;
  border: 1px solid #0B3D2E !important;
  border-radius: 50px !important;
  font-family: 'Jost', sans-serif !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 3px 10px rgba(11, 61, 46, 0.15) !important;
  margin: 0 auto !important;
}

.genz-btn-compare-cart:hover {
  background: #082c21 !important;
  border-color: #082c21 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 5px 14px rgba(11, 61, 46, 0.25) !important;
}

/* ========================================================
   SECTION DIVIDERS
   ======================================================== */
.genz-compare-section-row td {
  background: #FAF7F2 !important;
  padding: 10px 20px !important;
  border-top: 1.5px solid #EBE5DB !important;
  border-bottom: 1.5px solid #EBE5DB !important;
  border-top: 1px solid #EAE5DC !important;
  border-bottom: 1px solid #EAE5DC !important;
}

.genz-section-pill {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-family: 'Jost', sans-serif !important;
  font-size: 11.5px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.6px !important;
  color: #0B3D2E !important;
}

/* ========================================================
   SPECIFICATION ROWS & CELLS
   ======================================================== */
.genz-spec-row {
  transition: background 0.15s ease !important;
}

.genz-spec-row:hover td {
  background: #FDFBF8 !important;
}

.genz-feature-label {
  width: 190px !important;
  min-width: 190px !important;
  background: #FAF8F5 !important;
  font-family: 'Jost', sans-serif !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.4px !important;
  color: #64748B !important;
  padding: 14px 20px !important;
  vertical-align: middle !important;
  border-right: 1.5px solid #EBE5DB !important;
  border-bottom: 1px solid #F0ECE4 !important;
  border-right: 1px solid #EAE5DC !important;
  border-bottom: 1px solid #EFECE6 !important;
}

.genz-spec-val {
  padding: 14px 18px !important;
  vertical-align: middle !important;
  text-align: center !important;
  border-right: 1px solid #F0ECE4 !important;
  border-bottom: 1px solid #F0ECE4 !important;
  border-right: 1px solid #EFECE6 !important;
  border-bottom: 1px solid #EFECE6 !important;
  font-family: 'Jost', sans-serif !important;
  font-size: 13.5px !important;
  color: #2D3748 !important;
}

.genz-spec-val:last-child {
  border-right: none !important;
}

/* Stock Badges */
.genz-stock-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 4px 12px !important;
  border-radius: 20px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
}

.genz-stock-badge .stock-dot {
  width: 6px !important;
  height: 6px !important;
  border-radius: 50% !important;
}

.genz-stock-badge.in-stock {
  background: rgba(11, 61, 46, 0.08) !important;
  color: #0B3D2E !important;
  border: 1px solid rgba(11, 61, 46, 0.2) !important;
  border: 1px solid rgba(11, 61, 46, 0.14) !important;
}
.genz-stock-badge.in-stock .stock-dot {
  background: #0B3D2E !important;
}

.genz-stock-badge.out-stock {
  background: rgba(229, 62, 62, 0.08) !important;
  color: #C53030 !important;
  border: 1px solid rgba(229, 62, 62, 0.22) !important;
  border: 1px solid rgba(229, 62, 62, 0.16) !important;
}
.genz-stock-badge.out-stock .stock-dot {
  background: #C53030 !important;
}

/* Model & Brand */
.genz-model-pill {
  display: inline-block !important;
  background: rgba(11, 61, 46, 0.06) !important;
  border: 1px solid rgba(11, 61, 46, 0.16) !important;
  border: 1px solid rgba(11, 61, 46, 0.12) !important;
  color: #0B3D2E !important;
  padding: 3px 10px !important;
  border-radius: 6px !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
}

.genz-brand-text {
  font-weight: 600 !important;
  color: #0B3D2E !important;
}

/* Rating */
.genz-rating-wrap {
  display: inline-flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 3px !important;
}

.genz-stars .star {
  font-size: 14px !important;
  line-height: 1 !important;
}
.genz-stars .star.filled {
  color: #C5A059 !important;
}
.genz-stars .star.empty {
  color: #CBD5E1 !important;
}

.genz-review-count {
  font-size: 11.5px !important;
  color: #8C9BAE !important;
}

/* Description */
.genz-compare-desc {
  font-size: 12.5px !important;
  color: #64748B !important;
  line-height: 1.5 !important;
  max-width: 260px !important;
  margin: 0 auto !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

/* Attribute Pills */
.genz-attr-pill {
  display: inline-block !important;
  background: rgba(197, 160, 89, 0.1) !important;
  border: 1px solid rgba(197, 160, 89, 0.25) !important;
  border: 1px solid rgba(197, 160, 89, 0.18) !important;
  color: #0B3D2E !important;
  padding: 4px 12px !important;
  border-radius: 8px !important;
  font-size: 12.5px !important;
  font-weight: 500 !important;
}

.genz-dash {
  color: #CBD5E1 !important;
  font-weight: 600 !important;
}

/* ========================================================
   BOTTOM FOOTER ACTION
   ======================================================== */
.genz-compare-footer {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  margin-top: 24px !important;
  padding-top: 20px !important;
  border-top: 1px solid #ECE7DE !important;
  border-top: 1px solid #EAE5DC !important;
}

.genz-btn-back {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  height: 42px !important;
  padding: 0 24px !important;
  border-radius: 50px !important;
  background: #FFFFFF !important;
  border: 1.5px solid #0B3D2E !important;
  border: 1px solid #0B3D2E !important;
  color: #0B3D2E !important;
  font-family: 'Jost', sans-serif !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  box-sizing: border-box !important;
  transition: all 0.2s ease !important;
}

.genz-btn-back:hover {
  background: rgba(11, 61, 46, 0.06) !important;
  color: #0B3D2E !important;
  transform: translateX(-2px) !important;
}

/* ========================================================
   EMPTY STATE
   ======================================================== */
.genz-compare-empty {
  text-align: center !important;
  padding: 60px 24px !important;
}

.genz-empty-icon-wrap {
  width: 80px !important;
  height: 80px !important;
  margin: 0 auto 18px !important;
  border-radius: 50% !important;
  background: rgba(197, 160, 89, 0.1) !important;
  border: 1.5px solid rgba(197, 160, 89, 0.28) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.genz-empty-title {
  font-family: 'Playfair Display', Georgia, serif !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  color: #0B3D2E !important;
  margin: 0 0 8px 0 !important;
}

.genz-empty-desc {
  font-family: 'Jost', sans-serif !important;
  font-size: 14px !important;
  color: #64748B !important;
  max-width: 440px !important;
  margin: 0 auto 24px !important;
  line-height: 1.5 !important;
}

.genz-btn-shop-now {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  background: #0B3D2E !important;
  color: #FFFFFF !important;
  padding: 10px 28px !important;
  border-radius: 50px !important;
  font-family: 'Jost', sans-serif !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  box-shadow: 0 4px 12px rgba(11, 61, 46, 0.18) !important;
  transition: all 0.2s ease !important;
}

.genz-btn-shop-now:hover {
  background: #07271D !important;
  color: #FFFFFF !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 16px rgba(11, 61, 46, 0.26) !important;
}

/* ========================================================
   RESPONSIVENESS
   ======================================================== */
@media (max-width: 991px) {
  .genz-compare-card {
    padding: 20px 18px !important;
  }
}

@media (max-width: 767px) {
  .genz-compare-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
  }

  .genz-feature-label-cell,
  .genz-feature-label {
    width: 140px !important;
    min-width: 140px !important;
    padding: 12px 14px !important;
    font-size: 11.5px !important;
  }

  .genz-product-hero-col,
  .genz-spec-val {
    min-width: 190px !important;
    padding: 14px 12px !important;
  }

  .genz-compare-thumb-wrap {
    width: 110px !important;
    height: 110px !important;
  }

  .genz-compare-prod-name {
    font-size: 15px !important;
  }

  .genz-btn-compare-cart {
    max-width: 100% !important;
    font-size: 12px !important;
  }

  .genz-compare-footer {
    justify-content: center !important;
  }

  .genz-btn-back {
    width: 100% !important;
  }
}

