.page-products {
  --products-wine: #4a1024;
  --products-wine-2: #731a33;
  --products-wine-3: #8a1f3d;
  --products-gold-soft: rgba(212, 160, 23, .16);
  --products-ring-size: 88px;
  background: var(--color-white);
}
.page-products .container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  box-sizing: border-box;
}

/* ===== Hero ===== */
.page-products .product-hero {
  position: relative;
  overflow: hidden;
  background: var(--color-deep);
  color: var(--color-white);
  padding: 36px 0 72px;
}
.page-products .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  letter-spacing: .04em;
  color: rgba(247, 245, 240, .65);
  margin-bottom: 36px;
}
.page-products .breadcrumb a {
  color: rgba(247, 245, 240, .75);
  text-decoration: none;
  transition: color .25s var(--ease);
}
.page-products .breadcrumb a:hover {
  color: var(--color-gold);
}
.page-products .breadcrumb-sep {
  opacity: .5;
}
.page-products .hero-split {
  display: grid;
  gap: 40px;
  align-items: center;
}
.page-products .hero-copy {
  max-width: 580px;
}
.page-products .hero-copy h1 {
  margin: 16px 0 18px;
  font-size: clamp(28px, 6vw, 48px);
  line-height: 1.18;
  letter-spacing: -0.015em;
  font-weight: 800;
  color: var(--color-white);
}
.page-products .hero-copy .lead {
  margin: 0 0 28px;
  font-size: 16px;
  line-height: 1.75;
  color: rgba(247, 245, 240, .82);
}
.page-products .hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 32px;
  margin-bottom: 28px;
}
.page-products .meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.page-products .meta-num {
  font-size: 26px;
  line-height: 1;
  font-weight: 800;
  color: var(--color-gold);
}
.page-products .meta-label {
  font-size: 13px;
  color: rgba(247, 245, 240, .7);
}
.page-products .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.page-products .hero-actions .btn-ghost {
  border-color: rgba(247, 245, 240, .55);
  color: var(--color-white);
}

/* ===== Hero: CSS visual ===== */
.page-products .hero-visual {
  position: relative;
  min-height: 260px;
}
.page-products .visual-panel {
  width: 100%;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid rgba(212, 160, 23, .3);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(212, 160, 23, .1), rgba(11, 16, 31, .42));
  padding: 22px;
  transform: rotate(2deg);
  box-sizing: border-box;
}
.page-products .visual-panel-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
}
.page-products .visual-circle {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(247, 245, 240, .3);
}
.page-products .visual-circle--red {
  background: var(--color-red);
}
.page-products .visual-circle--yellow {
  background: var(--color-yellow);
}
.page-products .visual-circle--green {
  background: var(--color-green);
}
.page-products .visual-title-line {
  flex: 1;
  height: 8px;
  margin-left: 8px;
  border-radius: 999px;
  background: rgba(247, 245, 240, .18);
}
.page-products .visual-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.page-products .visual-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(247, 245, 240, .07);
  animation: page-products-row-pulse 2.6s ease-in-out infinite alternate;
  animation-delay: calc(var(--i, 0) * .18s);
}
.page-products .visual-row-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-gold);
  opacity: .85;
  flex-shrink: 0;
}
.page-products .visual-row-bar {
  height: 10px;
  border-radius: 999px;
  background: rgba(247, 245, 240, .35);
}
.page-products .visual-row-badge {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-left: auto;
  background: var(--color-green);
  box-shadow: 0 0 0 3px rgba(39, 174, 96, .25);
  flex-shrink: 0;
}
.page-products .visual-chip {
  position: absolute;
  right: 0;
  bottom: 8px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--color-deep-2);
  color: var(--color-white);
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .28);
  z-index: 2;
}
.page-products .visual-chip-text {
  white-space: nowrap;
}

@keyframes page-products-row-pulse {
  from {
    opacity: 1;
  }
  to {
    opacity: .5;
  }
}

/* ===== Section base ===== */
.page-products .product-section {
  position: relative;
  padding: 64px 0;
}
.page-products .section-kicker {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--color-gold);
}
.page-products .product-section h2 {
  margin: 0 0 16px;
  font-size: 30px;
  line-height: 1.2;
  font-weight: 800;
  color: var(--color-ink);
}
.page-products .section-lead {
  margin: 0 0 36px;
  max-width: 680px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--color-muted);
}

/* ===== Nav section (deep) ===== */
.page-products .product-section--nav {
  background: var(--color-deep);
  padding: 56px 0 104px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 56px), 0 100%);
}
.page-products .product-section--nav .section-lead {
  color: rgba(247, 245, 240, .8);
}
.page-products .product-section--nav h2 {
  color: var(--color-white);
}

/* ===== Feature split ===== */
.page-products .feature-split {
  display: grid;
  gap: 36px;
  align-items: center;
}
.page-products .feature-copy {
  min-width: 0;
}
.page-products .feature-tier {
  padding: 24px;
  margin-bottom: 16px;
  border-radius: 24px;
  background: rgba(247, 245, 240, .06);
}
.page-products .feature-tier h3 {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 700;
  color: var(--color-white);
}
.page-products .feature-tier ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.page-products .feature-tier li {
  position: relative;
  padding-left: 18px;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(247, 245, 240, .86);
}
.page-products .feature-tier li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-gold);
}

/* ===== Library section (light) ===== */
.page-products .product-section--library {
  background: var(--color-white);
  padding: 72px 0 80px;
}
.page-products .feature-tier--light {
  background: rgba(13, 27, 62, .04);
}
.page-products .feature-tier--light h3 {
  color: var(--color-ink);
}
.page-products .feature-tier--light li {
  color: var(--color-ink);
}
.page-products .tier-tag {
  display: inline-block;
  margin-bottom: 12px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(247, 245, 240, .14);
  color: rgba(247, 245, 240, .9);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.page-products .tier-tag--gold {
  background: rgba(212, 160, 23, .2);
  color: var(--color-gold);
}
.page-products .tier-tag--light {
  background: rgba(13, 27, 62, .06);
  color: var(--color-deep);
}
.page-products .link-more {
  display: inline-block;
  margin-top: 12px;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(212, 160, 23, .4);
  font-size: 15px;
  font-weight: 600;
  color: var(--color-gold);
  text-decoration: none;
}
.page-products .upgrade-note {
  margin-top: 16px;
  padding: 16px 20px;
  border-left: 3px solid var(--color-gold);
  border-radius: 0 16px 16px 0;
  background: rgba(212, 160, 23, .08);
  font-size: 14px;
  line-height: 1.6;
  color: #82630f;
}

/* ===== Feature visual ===== */
.page-products .feature-visual {
  position: relative;
}
.page-products .feature-visual img,
.page-products .premium-icon img,
.page-products .feedback-media img {
  max-width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}
.page-products .feature-visual img {
  border-radius: 28px;
}
.page-products .refresh-badge,
.page-products .search-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--color-deep-2);
  color: var(--color-white);
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
}

/* ===== Premium section ===== */
.page-products .product-section--premium {
  background: var(--color-deep-2);
  padding: 88px 0;
  clip-path: polygon(0 24px, 100% 0, 100% calc(100% - 24px), 0 100%);
}
.page-products .product-section--premium h2 {
  color: var(--color-white);
}
.page-products .premium-panel {
  display: grid;
  gap: 36px;
  align-items: center;
  border: 1px solid rgba(212, 160, 23, .35);
  border-radius: 36px;
  background: linear-gradient(135deg, rgba(212, 160, 23, .13), rgba(39, 174, 96, .05));
  padding: 36px 24px;
}
.page-products .premium-icon img {
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  border-radius: 28px;
}
.page-products .premium-content {
  min-width: 0;
}
.page-products .premium-content h2 {
  margin-top: 12px;
}
.page-products .premium-lead {
  margin: 0 0 24px;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(247, 245, 240, .8);
}
.page-products .premium-content ul {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  gap: 12px;
}
.page-products .premium-content li {
  position: relative;
  padding-left: 24px;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(247, 245, 240, .9);
}
.page-products .premium-content li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-gold);
}
.page-products .price-badge {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 20px 28px;
  border: 1px solid rgba(212, 160, 23, .4);
  border-radius: 24px;
  background: rgba(212, 160, 23, .16);
}
.page-products .price-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-gold);
}
.page-products .price-number {
  font-size: 42px;
  line-height: 1;
  font-weight: 900;
  color: var(--color-white);
}
.page-products .price-unit {
  font-size: 14px;
  color: rgba(247, 245, 240, .72);
}

/* ===== Feedback section (wine) ===== */
.page-products .product-section--feedback {
  background: linear-gradient(135deg, var(--products-wine), var(--products-wine-2) 55%, var(--products-wine-3));
  padding: 72px 0 92px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 40px), 0 100%);
}
.page-products .product-section--feedback h2 {
  color: var(--color-white);
}
.page-products .product-section--feedback .section-lead {
  color: rgba(247, 245, 240, .82);
}
.page-products .feedback-grid {
  display: grid;
  gap: 20px;
  margin-bottom: 36px;
}
.page-products .feedback-point {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: rgba(247, 245, 240, .08);
  padding: 28px;
}
.page-products .feedback-point-num {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  color: rgba(212, 160, 23, .85);
}
.page-products .feedback-point h3 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 700;
  color: var(--color-white);
}
.page-products .feedback-point p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(247, 245, 240, .78);
}
.page-products .feedback-media {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.page-products .feedback-media img {
  width: 100%;
  max-width: 480px;
  border-radius: 24px;
}

/* ===== Pricing section ===== */
.page-products .product-section--pricing {
  background: var(--color-white);
  padding: 72px 0 80px;
}
.page-products .section-head--center {
  text-align: center;
}
.page-products .section-head--center .section-lead {
  margin-left: auto;
  margin-right: auto;
}
.page-products .table-frame {
  overflow-x: auto;
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
  background: var(--color-white);
}
.page-products .table-frame .data-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
}
.page-products .table-frame th {
  padding: 16px 20px;
  background: var(--color-deep);
  color: var(--color-white);
  font-size: 14px;
  letter-spacing: .04em;
  text-align: left;
  white-space: nowrap;
}
.page-products .table-frame td {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(13, 27, 62, .08);
  background: var(--color-white);
  color: var(--color-ink);
  font-size: 15px;
  line-height: 1.5;
}
.page-products .table-frame td:first-child {
  background: var(--color-deep);
  color: var(--color-white);
  font-weight: 700;
  white-space: nowrap;
}
.page-products .table-frame tbody tr:last-child td {
  border-bottom: none;
}
.page-products .table-frame tbody tr:hover td {
  background: rgba(212, 160, 23, .05);
}
.page-products .table-frame tbody tr:hover td:first-child {
  background: var(--color-deep-2);
}
.page-products .table-frame .price-row--premium td:not(:first-child) {
  background: linear-gradient(90deg, rgba(212, 160, 23, .1), rgba(212, 160, 23, .02));
  border-top: 2px solid rgba(212, 160, 23, .45);
  border-bottom: 2px solid rgba(212, 160, 23, .2);
}
.page-products .pricing-note {
  position: relative;
  overflow: hidden;
  margin-top: 36px;
  padding: 28px 24px;
  border-radius: 24px;
  background: rgba(13, 27, 62, .04);
}
.page-products .pricing-note .texture-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .18;
  z-index: 0;
}
.page-products .pricing-note p {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--color-ink);
}
.page-products .pricing-note a {
  color: var(--color-blue);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ===== Responsive ===== */
@media (min-width: 720px) {
  .page-products .product-hero {
    padding: 52px 0 88px;
  }
  .page-products .hero-split {
    grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
    gap: 48px;
  }
  .page-products .hero-visual {
    min-height: 320px;
  }
  .page-products .feature-split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 52px;
  }
  .page-products .feature-split--flip .feature-visual {
    order: -1;
  }
  .page-products .product-section--premium {
    padding: 96px 0;
  }
  .page-products .premium-panel {
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    gap: 48px;
    padding: 48px 44px;
  }
  .page-products .product-section--feedback {
    padding: 80px 0 104px;
  }
  .page-products .feedback-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .page-products .feedback-media {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  .page-products .feedback-media img {
    max-width: 360px;
  }
  .page-products .product-section--pricing {
    padding: 88px 0;
  }
}

@media (min-width: 1024px) {
  .page-products .hero-copy h1 {
    font-size: 52px;
    line-height: 1.1;
  }
  .page-products .hero-copy .lead {
    font-size: 17px;
  }
  .page-products .product-section--nav,
  .page-products .product-section--library {
    padding: 96px 0 112px;
  }
  .page-products .product-section h2 {
    font-size: 36px;
  }
  .page-products .section-lead {
    font-size: 17px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .visual-row {
    animation: none;
  }
}

.page-products {
  --i: inherit;
}
