/* ==========================================================================
   TENSINORM CUSTOM STYLES (THEME: LIGHT | PRESET: A SPLIT STICKY)
   ========================================================================== */

:root {
  /* Dynamic Palette Names based on Product Theme */
  --te-canvas: #f8fafc;
  --te-surface: #ffffff;
  --te-surface-muted: #f1f5f9;
  --te-ruby-primary: #c5221f;
  --te-ruby-hover: #9f1816;
  --te-ruby-glow: rgba(197, 34, 31, 0.12);
  --te-ink-strong: #0f172a;
  --te-ink-soft: #475569;
  --te-border-line: #e2e8f0;
  --te-accent-gold: #f59e0b;

  /* Fonts */
  --font-display: 'Montserrat', sans-serif;
  --font-body: 'Poppins', sans-serif;

  /* Layout Specs */
  --te-container-width: 1180px;
  --te-radius-soft: 16px;
  --te-radius-pill: 999px;
  --te-shadow-raised: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  --te-shadow-floating: 0 20px 30px -10px rgba(197, 34, 31, 0.25);
}

/* Reset & Root Base */
*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

.te-body-root {
  background-color: var(--te-canvas);
  color: var(--te-ink-strong);
  font-family: var(--font-body);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.te-main-holder {
  flex: 1 0 auto;
}

/* ==========================================================================
   HEADER
   ========================================================================== */

.te-site-header {
  background-color: var(--te-surface);
  border-bottom: 1px solid var(--te-border-line);
  position: relative;
  z-index: 20;
  width: 100%;
}

.te-header-container {
  max-width: var(--te-container-width);
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.te-brand-identity {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--te-ink-strong);
}

.te-brand-icon {
  width: 32px;
  height: 32px;
  color: var(--te-ruby-primary);
}

.te-brand-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--te-ink-strong);
}

.te-desktop-header-art {
  display: none;
  color: var(--te-ruby-primary);
}

@media (min-width: 768px) {
  .te-desktop-header-art {
    display: block;
  }
}

/* ==========================================================================
   PRODUCT STAGE (PRESET A: SPLIT STICKY)
   ========================================================================== */

.te-stage-split {
  position: relative;
  padding: 3rem 1.5rem;
  overflow: hidden;
}

.te-canvas-backdrop {
  position: absolute;
  top: -100px;
  right: -100px;
  width: 600px;
  height: 600px;
  color: var(--te-ruby-primary);
  pointer-events: none;
  z-index: 0;
}

.te-split-wrapper {
  max-width: var(--te-container-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  position: relative;
  z-index: 10;
}

@media (min-width: 992px) {
  .te-split-wrapper {
    flex-direction: row;
    align-items: flex-start;
  }
}

/* Sticky Figure Left (40%) */
.te-sticky-figure {
  margin: 0;
  width: 100%;
}

@media (min-width: 992px) {
  .te-sticky-figure {
    width: 40%;
    position: sticky;
    top: 2rem;
    align-self: flex-start;
  }
}

.te-image-frame {
  background: var(--te-surface);
  border-radius: var(--te-radius-soft);
  padding: 2rem;
  box-shadow: var(--te-shadow-raised);
  border: 1px solid var(--te-border-line);
  display: flex;
  justify-content: center;
  align-items: center;
}

.te-product-art {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 15px 15px rgba(0,0,0,0.08));
}

/* Content Pane Right (60%) */
.te-details-pane {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 992px) {
  .te-details-pane {
    width: 60%;
  }
}

.te-tag-label {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--te-ruby-primary);
  background-color: var(--te-ruby-glow);
  padding: 0.35rem 0.85rem;
  border-radius: var(--te-radius-pill);
  align-self: flex-start;
}

.te-hero-heading {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--te-ink-strong);
  margin: 0;
}

.te-info-panel {
  background-color: var(--te-surface);
  border-radius: var(--te-radius-soft);
  padding: 1.5rem;
  border-left: 4px solid var(--te-ruby-primary);
  box-shadow: var(--te-shadow-raised);
}

.te-panel-entry {
  margin: 0;
  color: var(--te-ink-soft);
  font-size: 1rem;
}

/* Feature Rows List */
.te-feature-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.te-bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  color: var(--te-ink-strong);
  font-size: 0.95rem;
  font-weight: 500;
}

.te-bullet-icon {
  width: 22px;
  height: 22px;
  color: var(--te-ruby-primary);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Guarantee Badge (Icon Left) */
.te-badge-shield {
  display: flex;
  align-items: center;
  gap: 1rem;
  background-color: var(--te-surface-muted);
  border: 1px dashed var(--te-border-line);
  padding: 1rem 1.25rem;
  border-radius: var(--te-radius-soft);
}

.te-shield-icon {
  width: 36px;
  height: 36px;
  color: var(--te-ruby-primary);
  flex-shrink: 0;
}

.te-shield-text strong {
  display: block;
  color: var(--te-ink-strong);
  font-size: 0.9rem;
}

.te-shield-text p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--te-ink-soft);
}

/* Price & CTA Block */
.te-buying-zone {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 0.5rem;
}

@media (min-width: 576px) {
  .te-buying-zone {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* Price Badge */
.te-price-pill {
  background-color: var(--te-ruby-primary);
  color: #ffffff;
  padding: 0.85rem 1.5rem;
  border-radius: var(--te-radius-soft);
  display: flex;
  flex-direction: column;
  box-shadow: var(--te-shadow-raised);
}

.te-price-caption {
  font-size: 0.75rem;
  text-transform: uppercase;
  opacity: 0.9;
  font-weight: 500;
}

.te-price-amount {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  line-height: 1.1;
}

/* Action Button */
.te-action-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background-color: var(--te-ruby-primary);
  color: #ffffff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  padding: 1.1rem 2rem;
  border-radius: var(--te-radius-soft);
  box-shadow: var(--te-shadow-floating);
  transition: background-color 0.2s ease, transform 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.te-action-link:hover, .te-action-link:focus {
  background-color: var(--te-ruby-hover);
  transform: translateY(-2px);
}

/* ==========================================================================
   FEATURES SECTION (PRESET A: HORIZONTAL ROWS)
   ========================================================================== */

.te-grid-benefits {
  background-color: var(--te-surface);
  border-top: 1px solid var(--te-border-line);
  border-bottom: 1px solid var(--te-border-line);
  padding: 4rem 1.5rem;
}

.te-section-header {
  max-width: var(--te-container-width);
  margin: 0 auto 3rem auto;
  text-align: center;
}

.te-section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 3vw, 2rem);
  text-transform: uppercase;
  color: var(--te-ink-strong);
  margin: 0 0 0.5rem 0;
}

.te-section-sub {
  color: var(--te-ink-soft);
  margin: 0;
  font-size: 1rem;
}

.te-rows-stack {
  max-width: var(--te-container-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.te-perk-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
  background-color: var(--te-canvas);
  padding: 1.75rem;
  border-radius: var(--te-radius-soft);
  border: 1px solid var(--te-border-line);
}

@media (min-width: 640px) {
  .te-perk-row {
    flex-direction: row;
    align-items: center;
  }
}

.te-perk-avatar {
  width: 60px;
  height: 60px;
  border-radius: var(--te-radius-pill);
  background-color: var(--te-ruby-glow);
  color: var(--te-ruby-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.te-perk-avatar svg {
  width: 30px;
  height: 30px;
}

.te-perk-content {
  flex: 1;
}

.te-perk-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  text-transform: uppercase;
  color: var(--te-ink-strong);
  margin: 0 0 0.35rem 0;
}

.te-perk-desc {
  margin: 0;
  color: var(--te-ink-soft);
  font-size: 0.95rem;
}

/* ==========================================================================
   TESTIMONIALS SECTION (PRESET A: 2-3 COL GRID, COLORED TOP-BORDER)
   ========================================================================== */

.te-feedback-board {
  padding: 4rem 1.5rem;
  max-width: var(--te-container-width);
  margin: 0 auto;
}

.te-opinions-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .te-opinions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.te-opinion-item {
  background-color: var(--te-surface);
  border-radius: var(--te-radius-soft);
  padding: 1.75rem;
  box-shadow: var(--te-shadow-raised);
  border: 1px solid var(--te-border-line);
  border-top: 4px solid var(--te-ruby-primary);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.te-item-header {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.te-avatar-circle {
  width: 48px;
  height: 48px;
  border-radius: var(--te-radius-pill);
  background-color: var(--te-surface-muted);
  color: var(--te-ruby-primary);
  font-family: var(--font-display);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  border: 1px solid var(--te-border-line);
}

.te-user-info {
  display: flex;
  flex-direction: column;
}

.te-user-name {
  color: var(--te-ink-strong);
  font-size: 1rem;
}

.te-star-rating {
  color: var(--te-accent-gold);
  font-size: 0.9rem;
  letter-spacing: 2px;
}

.te-opinion-text {
  margin: 0;
  color: var(--te-ink-soft);
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.te-page-footer {
  background-color: var(--te-ink-strong);
  color: var(--te-surface-muted);
  padding: 3rem 1.5rem 2rem 1.5rem;
  margin-top: auto;
  z-index: 20;
  width: 100%;
}

.te-footer-container {
  max-width: var(--te-container-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 768px) {
  .te-footer-container {
    flex-direction: row;
    justify-content: space-between;
  }
}

.te-footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.te-footer-brand .te-brand-title {
  color: #ffffff;
}

.te-footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  text-align: center;
}

@media (min-width: 768px) {
  .te-footer-nav {
    flex-direction: row;
    gap: 1.5rem;
    text-align: right;
  }
}

.te-foot-link {
  color: var(--te-surface-muted);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s ease;
}

.te-foot-link:hover, .te-foot-link:focus {
  color: #ffffff;
  text-decoration: underline;
}

.te-footer-copy {
  max-width: var(--te-container-width);
  margin: 1.5rem auto 0 auto;
  text-align: center;
  font-size: 0.75rem;
  color: #94a3b8;
}

.te-footer-copy p {
  margin: 0;
}