.products-section {
  padding: 80px 0 90px;
  position: relative;
  z-index: 2;
  background: #202020;
}

.products-section .container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}

.products-header {
  text-align: center;
  margin-bottom: 32px;
}

.products-header h2 {
  font-size: 2.4rem;
  margin-bottom: 8px;
  color: #fff;
}

.products-header p {
  color: #cccccc;
  font-size: 0.98rem;
}

/* Tabs */
.product-tabs {
  position: relative;
  display: inline-flex;
  border-radius: 999px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  margin: 0 auto 32px;
  gap: 4px;
}

.product-tabs::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.05);
  pointer-events: none;
}

.product-tabs .product-tab {
  position: relative;
  border: none;
  padding: 10px 24px;
  border-radius: 999px;
  background: transparent;
  color: #eee;
  font-size: 0.96rem;
  cursor: pointer;
  z-index: 1;
  transition: color 0.25s ease;
  white-space: nowrap;
}

.product-tabs .product-tab.active {
  color: #111;
  font-weight: 600;
}

.product-tab-indicator {
  position: absolute;
  height: calc(100% - 8px);
  top: 4px;
  left: 4px;
  width: 0;
  border-radius: 999px;
  background: #ff5252;
  box-shadow: 0 12px 30px rgba(255, 82, 82, 0.5);
  transition: all 0.3s ease;
  z-index: 0;
}
@media (max-width: 480px) {
  .product-tabs {
    gap: 2px;
    padding: 3px;
  }

  .product-tabs .product-tab {
    padding: 8px 14px;
    font-size: 0.8rem;
  }

  .product-tab-indicator {
    height: calc(100% - 6px);
    top: 3px;
    left: 3px;
  }
}


/* Panels */
.product-panels {
  position: relative;
}

.product-panel {
  display: none;
}

.product-panel.active {
  display: block;
}

/* Main layout */
.product-main {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.25fr);
  gap: 32px;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.05); /* as you requested */
  border-radius: 24px;
  padding: 28px 28px 30px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.65);
  position: relative;
  overflow: hidden;
}

.product-main::before {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle at center, rgba(255, 0, 61, 0.28), transparent 70%);
  top: -120px;
  right: -80px;
  opacity: 0.8;
  pointer-events: none;
}

/* Media */
.product-media {
  position: relative;
}

.product-media-frame {
  border-radius: 18px;
  overflow: hidden;
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 8px;
}

.product-media-frame img {
  display: block;
  width: 100%;
  border-radius: 12px;
}

.floating {
  animation: floatY 3.5s ease-in-out infinite;
}

@keyframes floatY {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0px); }
}

/* Content */
.product-content {
  position: relative;
  z-index: 1;
}

.product-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #f5f5f5;
  margin-bottom: 8px;
}

.product-content h3 {
  font-size: 1.75rem;
  margin-bottom: 8px;
  color: #fff;
}

.product-subtitle {
  color: #d3d3d3;
  font-size: 0.98rem;
  margin-bottom: 18px;
}

.product-meta {
  display: grid;
  gap: 18px;
  margin-bottom: 18px;
}

.product-meta-two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.product-meta h4 {
  font-size: 0.95rem;
  color: #fff;
  margin-bottom: 6px;
}

.product-meta ul {
  list-style: disc;
  padding-left: 18px;
  margin: 0;
}

.product-meta li {
  font-size: 0.9rem;
  color: #d3d3d3;
  line-height: 1.4;
}

/* Price & CTAs */
.product-price-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
}

.price-block {
  min-width: 220px;
}

.price-label {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  color: #bbbbbb;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.price-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
}

.old-price {
  font-size: 0.96rem;
  text-decoration: line-through;
  color: #ff9d9d;
  opacity: 0.7;
}

.new-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
}

.price-note {
  font-size: 0.78rem;
  color: #dddddd;
}

.tag-pill {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 0.78rem;
  color: #f5f5f5;
}

/* Buttons */
.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.9rem;
  border: none;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-primary {
  background: #ff3b3b;
  color: #fff;
  box-shadow: 0 12px 32px rgba(255, 59, 59, 0.7);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(255, 59, 59, 0.9);
}

.btn-ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #f0f0f0;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.06);
}

.cta-block {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Steps / advantages cards */
.product-steps {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.step-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 18px;
  padding: 16px 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  overflow: hidden;
}

.step-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 59, 59, 0.18), transparent);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.step-card:hover::before {
  opacity: 1;
}

.step-number {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ff9d9d;
  margin-bottom: 6px;
}

.step-card h4 {
  font-size: 1.02rem;
  color: #fff;
  margin-bottom: 6px;
}

.step-card p {
  font-size: 0.88rem;
  color: #d3d3d3;
  margin: 0;
}

/* Responsive */
@media (max-width: 900px) {
  .product-main {
    grid-template-columns: 1fr;
    padding: 22px 18px 24px;
  }
  .product-meta-two-col {
    grid-template-columns: 1fr;
  }
  .product-steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .products-section {
    padding: 60px 0 70px;
  }
  .products-header h2 {
    font-size: 2rem;
  }
}


.title-highlight {
  color: #ed1c24;
  position: relative;
}

/* Optional glowing underline for highlight */
/* .card-title-highlight::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.15em;
  width: 100%;
  height: 0.25em;
  background: rgba(237, 28, 36, 0.25);
  border-radius: 4px;
  z-index: -1;
} */

/* Base logo-frame styles (already good, keep them) */
.logo-frame {
  background: transparent;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-frame img {
  width: auto;
  object-fit: contain;
}

/* Specific override for Smart Home only – wider & shorter */
#smart-home .logo-frame {
  background: white;                /* solid white background */
  border-radius: 16px;              /* softer corners if desired */
  padding: 24px 32px;               /* more horizontal padding for width feel */
  border: 1px solid rgba(0, 0, 0, 0.08);  /* subtle border to define it */
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15); /* light lift */
}

#smart-home .logo-frame img {
  max-height: 180px;                /* reduced height – tune between 160–220px */
  max-width: 420px;                 /* increased width – makes it appear wider */
  width: 100%;                      /* fill available space horizontally */
  height: auto;
}

/* Optional: if you want even more emphasis on width */
#smart-home .logo-frame img {
  aspect-ratio: 2.3 / 1;            /* forces wider proportion – adjust 2.3 to taste, e.g. 2.5 for very wide */
  object-fit: contain;
}

/* Override the global .logo-box if it interferes */
.logo-box img {
  max-height: none !important;      /* prevent conflict */
}