/* ============================================
   E-commerce  -  About the Product
   Premium two-column about + details panel
   ============================================ */

.ecom-about {
  --ea-navy: #0a1d37;
  --ea-blue: #1d4ed8;
  --ea-royal: #2563eb;
  --ea-cyan: #0ea5e9;
  --ea-muted: #5a6b7d;
  position: relative;
  padding: clamp(48px, 5.5vw, 80px) 0;
  isolation: isolate;
  overflow: hidden;
  background:
    linear-gradient(165deg, #f7fbff 0%, #eef5fc 48%, #f5f9fd 100%);
}

.ecom-about::before,
.ecom-about::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.ecom-about::before {
  top: -18%;
  right: -10%;
  width: min(46vw, 420px);
  height: min(36vw, 300px);
  border-radius: 48% 52% 44% 56%;
  background: linear-gradient(140deg, rgba(56, 189, 248, 0.16), rgba(37, 99, 235, 0.08), transparent 70%);
  filter: blur(4px);
  transform: rotate(8deg);
  opacity: 0.7;
}

.ecom-about::after {
  bottom: -22%;
  left: -12%;
  width: min(44vw, 380px);
  height: min(34vw, 280px);
  border-radius: 54% 46% 58% 42%;
  background: linear-gradient(320deg, rgba(29, 78, 216, 0.12), rgba(14, 165, 233, 0.08), transparent 72%);
  filter: blur(4px);
  transform: rotate(-10deg);
  opacity: 0.65;
}

.ecom-about .container {
  position: relative;
  z-index: 1;
}

.ecom-about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(28px, 4vw, 48px);
  align-items: start;
}

.ecom-about__copy {
  min-width: 0;
}

.ecom-about__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  font-family: var(--font-display, "Poppins", sans-serif);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ea-royal);
}

.ecom-about__badge-line {
  display: block;
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, #0ea5e9, #1d4ed8);
}

.ecom-about__title {
  margin: 0 0 12px;
  font-family: var(--font-display, "Poppins", sans-serif);
  font-size: clamp(1.85rem, 1.4rem + 1.5vw, 2.65rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.15;
  color: var(--ea-navy);
}

.ecom-about__title span {
  background: linear-gradient(105deg, #0ea5e9 0%, #2563eb 55%, #1d4ed8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ecom-about__lead {
  margin: 0 0 20px;
  max-width: 36rem;
  font-size: clamp(0.95rem, 0.9rem + 0.2vw, 1.05rem);
  line-height: 1.65;
  font-weight: 500;
  color: var(--ea-muted);
}

.ecom-about__points {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ecom-about__point {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 2px 0;
  transition: transform 0.3s ease;
}

.ecom-about__point:hover {
  transform: translateX(4px);
}

.ecom-about__point-icon {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  border-radius: 18px;
  background:
    linear-gradient(155deg, #ffffff 0%, #f0f7ff 48%, #e2efff 100%);
  border: 1px solid rgba(147, 197, 253, 0.65);
  box-shadow:
    0 10px 22px rgba(29, 78, 216, 0.12),
    0 2px 6px rgba(14, 165, 233, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    inset 0 -1px 0 rgba(147, 197, 253, 0.25);
  filter: drop-shadow(0 8px 14px rgba(29, 78, 216, 0.1));
}

.ecom-about__point-icon svg {
  width: 44px;
  height: 44px;
  display: block;
  overflow: visible;
}

.ecom-about__point-rule {
  width: 1.5px;
  height: 50px;
  border-radius: 2px;
  background: linear-gradient(180deg, #67e8f9 0%, #0ea5e9 45%, rgba(37, 99, 235, 0.35) 100%);
}

.ecom-about__point-title {
  margin: 0 0 4px;
  font-family: var(--font-display, "Poppins", sans-serif);
  font-size: 1.02rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  color: var(--ea-navy);
}

.ecom-about__point-desc {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  font-weight: 500;
  color: var(--ea-muted);
}

/* Product Details panel */
.ecom-about__panel {
  position: relative;
  border-radius: 22px;
  background:
    linear-gradient(165deg, #ffffff 0%, #f7fbff 55%, #eef5ff 100%);
  border: 1px solid rgba(147, 197, 253, 0.55);
  box-shadow:
    0 18px 42px rgba(15, 55, 120, 0.1),
    0 4px 12px rgba(37, 99, 235, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  overflow: hidden;
}

.ecom-about__panel-head {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: linear-gradient(115deg, #06111f 0%, #0b2a5c 40%, #1d4ed8 78%, #0ea5e9 100%);
  overflow: hidden;
}

.ecom-about__panel-head::after {
  content: none;
  display: none;
  background: none;
}

.ecom-about__panel-icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 15px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0.1) 100%);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    0 6px 14px rgba(0, 0, 0, 0.18);
  color: #fff;
  filter: drop-shadow(0 5px 12px rgba(0, 0, 0, 0.22));
}

.ecom-about__panel-icon svg {
  width: 32px;
  height: 32px;
  display: block;
  overflow: visible;
}

.ecom-about__panel-divider {
  position: relative;
  z-index: 1;
  width: 1px;
  height: 22px;
  background: rgba(255, 255, 255, 0.28);
}

.ecom-about__panel-title {
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: var(--font-display, "Poppins", sans-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
}

.ecom-about__rows {
  display: flex;
  flex-direction: column;
  padding: 4px 8px;
}

.ecom-about__row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  transition: background 0.25s ease;
}

.ecom-about__row:last-of-type {
  border-bottom: 0;
}

.ecom-about__row:hover {
  background: rgba(239, 246, 255, 0.65);
}

.ecom-about__row-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background:
    linear-gradient(145deg, #ffffff 0%, #e8f2ff 55%, #dbeafe 100%);
  border: 1px solid rgba(147, 197, 253, 0.6);
  box-shadow:
    0 6px 14px rgba(29, 78, 216, 0.12),
    0 1px 4px rgba(14, 165, 233, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -1px 0 rgba(147, 197, 253, 0.2);
  filter: drop-shadow(0 4px 8px rgba(29, 78, 216, 0.1));
}

.ecom-about__row-icon svg {
  width: 28px;
  height: 28px;
  display: block;
  overflow: visible;
}

.ecom-about__row-label {
  margin: 0;
  font-family: var(--font-display, "Poppins", sans-serif);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ea-navy);
  letter-spacing: -0.01em;
}

.ecom-about__row-value {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ea-muted);
  text-align: right;
  white-space: nowrap;
}

.ecom-about__cta-wrap {
  padding: 4px 18px 16px;
}

.ecom-about__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 13px 18px;
  border-radius: 12px;
  font-family: var(--font-display, "Poppins", sans-serif);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(105deg, #38bdf8 0%, #0ea5e9 28%, #2563eb 75%, #1d4ed8 100%);
  box-shadow: 0 8px 18px rgba(29, 78, 216, 0.2);
  transition:
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.3s ease;
}

.ecom-about__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(29, 78, 216, 0.26);
}

.ecom-about__cta span {
  transition: transform 0.3s ease;
}

.ecom-about__cta:hover span {
  transform: translateX(3px);
}

.ecom-about .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.ecom-about .reveal.is-visible {
  opacity: 1;
  transform: none;
}

.ecom-about .reveal-delay-1 { transition-delay: 0.1s; }

@media (max-width: 980px) {
  .ecom-about__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .ecom-about__panel {
    max-width: 480px;
  }
}

@media (max-width: 640px) {
  .ecom-about {
    padding: 40px 0 52px;
  }

  .ecom-about__point {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px;
  }

  .ecom-about__point-rule {
    display: none;
  }

  .ecom-about__point-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
  }

  .ecom-about__point-icon svg {
    width: 38px;
    height: 38px;
  }

  .ecom-about__panel-icon {
    width: 48px;
    height: 48px;
  }

  .ecom-about__panel-icon svg {
    width: 28px;
    height: 28px;
  }

  .ecom-about__row-icon {
    width: 44px;
    height: 44px;
  }

  .ecom-about__row-icon svg {
    width: 26px;
    height: 26px;
  }

  .ecom-about__row {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px;
  }

  .ecom-about__row-value {
    grid-column: 2;
    text-align: left;
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ecom-about .reveal,
  .ecom-about__point,
  .ecom-about__cta {
    transition: none;
  }

  .ecom-about .reveal {
    opacity: 1;
    transform: none;
  }

  .ecom-about__point:hover,
  .ecom-about__cta:hover {
    transform: none;
  }
}

[data-theme="dark"] .ecom-about {
  background:
    linear-gradient(165deg, #0b1422 0%, #0e1726 100%);
}

[data-theme="dark"] .ecom-about__title,
[data-theme="dark"] .ecom-about__point-title,
[data-theme="dark"] .ecom-about__row-label {
  color: #f1f5f9;
}

[data-theme="dark"] .ecom-about__lead,
[data-theme="dark"] .ecom-about__point-desc,
[data-theme="dark"] .ecom-about__row-value {
  color: #94a3b8;
}

[data-theme="dark"] .ecom-about__panel {
  background: #121c2d;
  border-color: rgba(120, 160, 220, 0.18);
}

[data-theme="dark"] .ecom-about__point-icon,
[data-theme="dark"] .ecom-about__row-icon {
  background: rgba(30, 58, 110, 0.45);
  border-color: rgba(120, 160, 220, 0.22);
  color: #60a5fa;
}

[data-theme="dark"] .ecom-about__row {
  border-bottom-color: rgba(120, 160, 220, 0.12);
}

[data-theme="dark"] .ecom-about__row:hover {
  background: rgba(37, 99, 235, 0.08);
}
