/*
Theme Name: OKTW Light
Theme URI: https://oktwsatiety.com/
Author: Guangzhou Shengmei Pharmaceutical Industry Co., Ltd
Author URI: https://oktwsatiety.com/
Description: A lightweight brochure theme for OKTW weight management supplement OEM/ODM products.
Version: 1.5.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: oktw-light
Tags: custom-logo, featured-images, one-column, responsive-layout, e-commerce
*/

:root {
  --oktw-bg: #fbf7ff;
  --oktw-surface: #ffffff;
  --oktw-text: #1f1b24;
  --oktw-muted: #675a70;
  --oktw-line: #e9dcef;
  --oktw-purple: #762498;
  --oktw-purple-dark: #2a123c;
  --oktw-teal: #762498;
  --oktw-gold: #dca936;
  --oktw-shadow: 0 14px 35px rgba(31, 27, 36, 0.1);
  --oktw-radius: 6px;
  --oktw-max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--oktw-bg);
  color: var(--oktw-text);
  font-family: Arial, "Helvetica Neue", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.site-header {
  position: fixed;
  z-index: 20;
  inset: 0 0 auto;
  color: #ffffff;
  background: rgba(26, 16, 36, 0.76);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px);
}

.admin-bar .site-header {
  top: 32px;
}

.header-inner {
  width: min(100% - 32px, var(--oktw-max));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-branding {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: #2a123c;
  background: #ffffff;
  border: 2px solid rgba(220, 169, 54, 0.9);
  border-radius: 50%;
  font-size: 15px;
  line-height: 1;
}

.brand-copy {
  display: grid;
  gap: 1px;
}

.brand-name {
  font-size: 18px;
}

.brand-sub {
  color: rgba(255, 255, 255, 0.74);
  font-size: 12px;
  font-weight: 500;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: #ffffff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: var(--oktw-radius);
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  content: "";
}

.menu-toggle span {
  margin: 4px 0;
}

.primary-menu,
.primary-menu ul {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.primary-menu a {
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  font-weight: 700;
}

.primary-menu a:hover,
.primary-menu a:focus {
  color: #ffffff;
}

.nav-contact a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding: 0 16px;
  color: #2a123c;
  background: #ffffff;
  border-radius: var(--oktw-radius);
}

.hero {
  position: relative;
  min-height: 88svh;
  display: flex;
  align-items: end;
  overflow: hidden;
  color: #ffffff;
  background: #2a123c;
}

.hero::before {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(21, 11, 30, 0.88), rgba(33, 13, 47, 0.56) 42%, rgba(23, 12, 31, 0.18)),
    var(--hero-image);
  background-position: center;
  background-size: cover;
  content: "";
}

.hero-inner {
  position: relative;
  width: min(100% - 32px, var(--oktw-max));
  margin: 0 auto;
  padding: 138px 0 72px;
}

.eyebrow {
  margin: 0 0 12px;
  color: #f3d17d;
  font-size: 14px;
  font-weight: 800;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(42px, 7vw, 86px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 590px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(17px, 2vw, 22px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--oktw-radius);
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover,
.button:focus {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(31, 12, 43, 0.18);
}

.button-primary {
  color: #261637;
  background: #f3d17d;
}

.button-secondary {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.5);
}

.button-whatsapp {
  min-height: 54px;
  padding: 0 24px;
  color: #ffffff;
  background: #22a46f;
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 16px 30px rgba(20, 104, 72, 0.32);
}

.button-whatsapp:hover,
.button-whatsapp:focus {
  background: #28b87d;
  box-shadow: 0 18px 34px rgba(20, 104, 72, 0.42);
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(760px, 100%);
  margin-top: 56px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
}

.meta-item {
  padding: 18px;
  background: rgba(18, 10, 28, 0.35);
}

.meta-kicker {
  display: block;
  color: #f3d17d;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.1;
}

.meta-label {
  display: block;
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
}

.section {
  padding: 84px 0;
}

.section-muted {
  background: #f4ecf8;
}

.section-dark {
  color: #ffffff;
  background: #20142a;
}

.wrap {
  width: min(100% - 32px, var(--oktw-max));
  margin: 0 auto;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 34px;
}

.section-kicker {
  margin: 0 0 8px;
  color: var(--oktw-teal);
  font-size: 13px;
  font-weight: 900;
}

.section-dark .section-kicker {
  color: #f3d17d;
}

.section-title {
  max-width: 760px;
  margin: 0;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: 0;
}

.section-copy {
  max-width: 520px;
  margin: 0;
  color: var(--oktw-muted);
}

.section-dark .section-copy {
  color: rgba(255, 255, 255, 0.75);
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--oktw-line);
  border-radius: var(--oktw-radius);
  background: var(--oktw-line);
}

.capability {
  min-height: 170px;
  padding: 26px;
  background: var(--oktw-surface);
}

.capability b {
  display: block;
  margin-bottom: 10px;
  font-size: 18px;
}

.capability p {
  margin: 0;
  color: var(--oktw-muted);
  font-size: 14px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  overflow: hidden;
  background: var(--oktw-surface);
  border: 1px solid var(--oktw-line);
  border-radius: var(--oktw-radius);
  box-shadow: 0 10px 24px rgba(62, 25, 83, 0.08);
}

.product-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: #ffffff;
}

.product-card figcaption {
  padding: 16px;
}

.product-card h3 {
  margin: 0 0 4px;
  font-size: 18px;
}

.product-card p {
  margin: 0;
  color: var(--oktw-muted);
  font-size: 14px;
}

.ingredient-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 34px;
  align-items: center;
}

.ingredient-copy {
  padding-right: 24px;
}

.ingredient-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
}

.ingredient-list li {
  padding: 14px 16px;
  background: #ffffff;
  border-left: 4px solid var(--oktw-purple);
  border-radius: var(--oktw-radius);
  box-shadow: 0 8px 20px rgba(62, 25, 83, 0.06);
}

.ingredient-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.ingredient-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--oktw-radius);
  box-shadow: var(--oktw-shadow);
}

.tree-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 34px;
  align-items: center;
}

.tree-image img,
.production-image img {
  width: 100%;
  border-radius: var(--oktw-radius);
  box-shadow: var(--oktw-shadow);
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  color: rgba(255, 255, 255, 0.82);
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 3px;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  color: #20142a;
  background: #f3d17d;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 900;
  content: "✓";
}

.production-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
  gap: 42px;
  align-items: center;
}

.contact-band {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 36px;
  color: #ffffff;
  background: var(--oktw-purple);
  border-radius: var(--oktw-radius);
}

.contact-band h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
}

.contact-band p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.84);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: end;
}

.contact-actions .button {
  color: var(--oktw-purple-dark);
  background: #ffffff;
}

.site-footer {
  padding: 42px 0;
  color: rgba(255, 255, 255, 0.7);
  background: #18111f;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.site-footer strong {
  color: #ffffff;
}

.site-footer p {
  margin: 8px 0 0;
}

.content-page {
  width: min(100% - 32px, 860px);
  margin: 0 auto;
  padding: 140px 0 80px;
}

.content-page article {
  padding: clamp(28px, 5vw, 56px);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--oktw-line);
  border-radius: var(--oktw-radius);
  box-shadow: var(--oktw-shadow);
}

.content-page h1 {
  margin: 0 0 28px;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1;
}

.content-page h2 {
  margin: 32px 0 10px;
  color: var(--oktw-purple-dark);
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.15;
}

.content-page p {
  margin: 0 0 16px;
  color: var(--oktw-muted);
}

.content-page a {
  color: var(--oktw-purple);
  font-weight: 800;
}

.content-page img {
  border-radius: var(--oktw-radius);
}

@media (max-width: 980px) {
  .menu-toggle {
    display: inline-flex;
    flex-direction: column;
  }

  .main-navigation {
    position: absolute;
    top: 100%;
    right: 16px;
    left: 16px;
    display: none;
    padding: 12px;
    background: rgba(26, 16, 36, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--oktw-radius);
  }

  .main-navigation.is-open {
    display: block;
  }

  .primary-menu,
  .primary-menu ul {
    display: grid;
    gap: 4px;
  }

  .primary-menu a {
    display: block;
    padding: 10px;
  }

  .nav-contact a {
    display: flex;
  }

  .section-head,
  .ingredient-layout,
  .tree-layout,
  .production-layout,
  .contact-band,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section-head {
    display: grid;
  }

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

  .contact-actions {
    justify-content: start;
  }
}

@media (max-width: 680px) {
  .admin-bar .site-header {
    top: 46px;
  }

  .header-inner {
    width: min(100% - 24px, var(--oktw-max));
    min-height: 64px;
  }

  .brand-sub {
    display: none;
  }

  .hero {
    min-height: 86svh;
  }

  .hero::before {
    background-position: 58% center;
  }

  .hero-inner {
    width: min(100% - 24px, var(--oktw-max));
    padding: 118px 0 40px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-meta,
  .capability-grid,
  .product-grid,
  .ingredient-grid {
    grid-template-columns: 1fr;
  }

  .meta-item,
  .capability {
    padding: 16px;
  }

  .section {
    padding: 60px 0;
  }

  .wrap {
    width: min(100% - 24px, var(--oktw-max));
  }

  .contact-band {
    padding: 24px;
  }
}

.site-header.is-scrolled {
  background: rgba(26, 16, 36, 0.92);
  box-shadow: 0 10px 30px rgba(24, 17, 31, 0.22);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.button-light {
  color: var(--oktw-text);
  background: #ffffff;
  border-color: var(--oktw-line);
}

.product-grid-large {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-link-card {
  position: relative;
  display: grid;
  color: var(--oktw-text);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.product-link-card:hover,
.product-link-card:focus {
  transform: translateY(-4px);
  border-color: rgba(108, 35, 141, 0.35);
  box-shadow: 0 18px 40px rgba(31, 27, 36, 0.14);
}

.product-link-card:hover img,
.product-link-card:focus img {
  transform: scale(1.035);
}

.product-link-card img {
  transition: transform 280ms ease;
}

.product-chip {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 7px 10px;
  color: #ffffff;
  background: rgba(42, 18, 60, 0.86);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.product-card-body {
  display: grid;
  gap: 7px;
  padding: 17px;
}

.product-title {
  font-size: 19px;
  font-weight: 900;
  line-height: 1.2;
}

.product-text {
  color: var(--oktw-muted);
  font-size: 14px;
}

.text-link {
  color: var(--oktw-teal);
  font-size: 14px;
  font-weight: 900;
}

.flow-board {
  display: grid;
  gap: 18px;
}

.flow-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.flow-tab {
  min-height: 74px;
  padding: 14px;
  color: var(--oktw-text);
  text-align: left;
  background: #ffffff;
  border: 1px solid var(--oktw-line);
  border-radius: var(--oktw-radius);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.flow-tab span {
  display: block;
  margin-bottom: 4px;
  color: var(--oktw-teal);
  font-size: 12px;
}

.flow-tab.is-active {
  color: #ffffff;
  background: var(--oktw-purple);
  border-color: var(--oktw-purple);
}

.flow-tab.is-active span {
  color: #f3d17d;
}

.flow-panel {
  display: none;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 28px;
  align-items: center;
  padding: 22px;
  background: #ffffff;
  border: 1px solid var(--oktw-line);
  border-radius: var(--oktw-radius);
  box-shadow: var(--oktw-shadow);
}

.flow-panel.is-active {
  display: grid;
}

.flow-panel img {
  width: 100%;
  border-radius: var(--oktw-radius);
}

.flow-copy h3 {
  margin: 0 0 12px;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.1;
}

.flow-copy p {
  margin: 0;
  color: var(--oktw-muted);
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.cert-card {
  min-height: 210px;
  padding: 24px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--oktw-radius);
}

.cert-icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin-bottom: 18px;
  color: #20142a;
  background: #f3d17d;
  border: 3px double rgba(32, 20, 42, 0.5);
  border-radius: 50%;
  box-shadow: inset 0 0 0 6px rgba(255, 255, 255, 0.36);
}

.cert-icon span {
  font-size: 13px;
  font-weight: 900;
}

.cert-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 19px;
}

.cert-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.packaging-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 36px;
}

.packaging-strip img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--oktw-radius);
  box-shadow: 0 12px 26px rgba(31, 27, 36, 0.1);
}

.product-detail-hero {
  padding: 128px 0 72px;
  background: #f4ecf8;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
  gap: 44px;
  align-items: center;
}

.product-gallery {
  display: grid;
  gap: 14px;
}

.product-main-image {
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--oktw-line);
  border-radius: var(--oktw-radius);
  box-shadow: var(--oktw-shadow);
}

.product-main-image img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.product-thumbs {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}

.product-thumb {
  padding: 0;
  overflow: hidden;
  background: #ffffff;
  border: 2px solid transparent;
  border-radius: var(--oktw-radius);
  cursor: pointer;
}

.product-thumb.is-active {
  border-color: var(--oktw-purple);
}

.product-thumb img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.product-detail-copy h1 {
  margin: 0;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1;
}

.breadcrumb-link {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--oktw-teal);
  font-weight: 900;
}

.product-lead {
  max-width: 640px;
  margin: 22px 0 0;
  color: var(--oktw-muted);
  font-size: 18px;
}

.product-actions {
  margin-top: 26px;
}

.product-highlight-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.product-highlight-list li {
  position: relative;
  padding-left: 28px;
  color: var(--oktw-muted);
}

.product-highlight-list li::before {
  position: absolute;
  top: 2px;
  left: 0;
  width: 18px;
  height: 18px;
  color: #ffffff;
  background: var(--oktw-teal);
  border-radius: 50%;
  text-align: center;
  font-size: 12px;
  font-weight: 900;
  line-height: 18px;
  content: "+";
}

.detail-info-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 24px;
}

.spec-panel,
.accordion-panel {
  padding: 28px;
  background: #ffffff;
  border: 1px solid var(--oktw-line);
  border-radius: var(--oktw-radius);
  box-shadow: 0 10px 24px rgba(31, 27, 36, 0.07);
}

.spec-panel h2,
.accordion-panel h2 {
  margin: 0 0 20px;
  font-size: 28px;
  line-height: 1.15;
}

.spec-list {
  display: grid;
  gap: 1px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--oktw-line);
  border-radius: var(--oktw-radius);
  background: var(--oktw-line);
}

.spec-list div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 14px;
  padding: 14px;
  background: #ffffff;
}

.spec-list dt {
  color: var(--oktw-muted);
  font-weight: 800;
}

.spec-list dd {
  margin: 0;
}

.accordion-item {
  border-top: 1px solid var(--oktw-line);
}

.accordion-item button {
  width: 100%;
  padding: 16px 0;
  color: var(--oktw-text);
  text-align: left;
  background: transparent;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.accordion-content {
  display: none;
  padding: 0 0 16px;
}

.accordion-item.is-open .accordion-content {
  display: block;
}

.accordion-content p {
  margin: 0;
  color: var(--oktw-muted);
}

.mini-flow-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.mini-flow-card {
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--oktw-line);
  border-radius: var(--oktw-radius);
  box-shadow: 0 8px 22px rgba(31, 27, 36, 0.08);
}

.mini-flow-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.mini-flow-card h3 {
  margin: 18px 18px 8px;
  font-size: 20px;
}

.mini-flow-card p {
  margin: 0 18px 20px;
  color: var(--oktw-muted);
  font-size: 14px;
}

.related-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 980px) {
  .product-grid-large,
  .flow-tabs,
  .cert-grid,
  .packaging-strip,
  .product-detail-grid,
  .detail-info-grid,
  .mini-flow-grid,
  .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .flow-panel {
    grid-template-columns: 1fr;
  }

  .product-detail-grid,
  .detail-info-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .product-grid-large,
  .flow-tabs,
  .cert-grid,
  .packaging-strip,
  .mini-flow-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .product-detail-hero {
    padding: 104px 0 52px;
  }

  .product-thumbs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .spec-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .flow-panel {
    padding: 14px;
  }
}

.hero-product {
  min-height: 84svh;
  align-items: center;
  background: #241031;
}

.hero-product + .section {
  background: linear-gradient(180deg, #f7f0fb 0%, #fbf7ff 100%);
}

.hero-product::before {
  background-image:
    radial-gradient(circle at 18% 30%, rgba(130, 39, 161, 0.62), transparent 34%),
    radial-gradient(circle at 68% 46%, rgba(243, 209, 125, 0.12), transparent 26%),
    linear-gradient(135deg, #1c0d28 0%, #45125d 48%, #2a123c 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: 46px;
  align-items: center;
  padding: 132px 0 74px;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.hero-product .hero h1,
.hero-product h1 {
  max-width: 680px;
  font-size: clamp(42px, 5.4vw, 78px);
}

.hero-visual {
  position: relative;
  z-index: 1;
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--oktw-radius);
  border: 1px solid rgba(243, 209, 125, 0.18);
  box-shadow: 0 24px 70px rgba(31, 8, 42, 0.58), 0 0 0 10px rgba(255, 255, 255, 0.035);
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.hero-visual:hover img {
  transform: translateY(-4px);
  box-shadow: 0 30px 78px rgba(31, 8, 42, 0.66), 0 0 0 10px rgba(243, 209, 125, 0.06);
}

.hero-visual-badge {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: grid;
  gap: 2px;
  max-width: 260px;
  padding: 16px 18px;
  color: #261637;
  background: #f3d17d;
  border-radius: var(--oktw-radius);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24);
}

.hero-visual-badge strong {
  font-size: 18px;
}

.hero-visual-badge span {
  font-size: 13px;
}

.product-grid-large {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-grid-large .product-card img,
.related-grid .product-card img {
  background: #ffffff;
}

.ingredient-showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: 38px;
  align-items: center;
}

.ingredient-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
}

.ingredient-card {
  display: grid;
  gap: 6px;
  width: 100%;
  padding: 16px 18px;
  color: var(--oktw-text);
  text-align: left;
  background: #ffffff;
  border: 1px solid var(--oktw-line);
  border-left: 4px solid transparent;
  border-radius: var(--oktw-radius);
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(62, 25, 83, 0.05);
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.ingredient-card:hover,
.ingredient-card:focus,
.ingredient-card.is-active {
  border-left-color: var(--oktw-teal);
  transform: translateX(4px);
  box-shadow: 0 14px 28px rgba(31, 27, 36, 0.1);
}

.ingredient-card span {
  color: var(--oktw-purple);
  font-size: 12px;
  font-weight: 900;
}

.ingredient-card strong {
  font-size: 18px;
  line-height: 1.2;
}

.ingredient-card small {
  color: var(--oktw-muted);
  font-size: 13px;
  line-height: 1.55;
}

.ingredient-preview {
  position: relative;
  overflow: hidden;
  border-radius: var(--oktw-radius);
  box-shadow: var(--oktw-shadow);
}

.ingredient-preview img {
  width: 100%;
  aspect-ratio: 1.08;
  object-fit: cover;
  transition: opacity 180ms ease, transform 260ms ease;
}

.ingredient-preview.is-switching img {
  opacity: 0.35;
  transform: scale(1.015);
}

.ingredient-preview-note {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  display: grid;
  gap: 2px;
  padding: 16px;
  color: #ffffff;
  background: rgba(32, 20, 42, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--oktw-radius);
  backdrop-filter: blur(10px);
}

.ingredient-preview-note span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
}

.inquiry-section {
  background: linear-gradient(180deg, #f7f0fb, #fff8ee);
}

.inquiry-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1.18fr);
  gap: 34px;
  align-items: start;
}

.inquiry-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.inquiry-points span {
  padding: 8px 11px;
  color: var(--oktw-purple-dark);
  background: rgba(118, 36, 152, 0.1);
  border: 1px solid rgba(118, 36, 152, 0.16);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.form-shell {
  padding: 26px;
  background: #ffffff;
  border: 1px solid var(--oktw-line);
  border-radius: var(--oktw-radius);
  box-shadow: var(--oktw-shadow);
}

.inquiry-form {
  display: grid;
  gap: 16px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.inquiry-form label {
  display: grid;
  gap: 7px;
  color: var(--oktw-text);
  font-size: 14px;
  font-weight: 800;
}

.inquiry-form input,
.inquiry-form textarea,
.inquiry-form select {
  width: 100%;
  min-height: 46px;
  padding: 12px 13px;
  color: var(--oktw-text);
  background: #fbf7ff;
  border: 1px solid var(--oktw-line);
  border-radius: var(--oktw-radius);
  font: inherit;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.inquiry-form textarea {
  resize: vertical;
}

.inquiry-form input:focus,
.inquiry-form textarea:focus,
.inquiry-form select:focus {
  background: #ffffff;
  border-color: rgba(108, 35, 141, 0.55);
  box-shadow: 0 0 0 4px rgba(108, 35, 141, 0.1);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.form-note {
  margin: 0;
  color: var(--oktw-muted);
  font-size: 12px;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(260px, 1.3fr) repeat(3, minmax(160px, 0.7fr));
  gap: 30px;
}

.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.footer-col {
  display: grid;
  align-content: start;
  gap: 8px;
}

.footer-col a,
.footer-col span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
}

.footer-col a:hover,
.footer-col a:focus {
  color: #ffffff;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.52);
  font-size: 13px;
}

.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  display: inline-flex;
  min-height: 64px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 24px 0 18px;
  color: #ffffff;
  background: #22a46f;
  border-radius: 999px;
  box-shadow: 0 18px 38px rgba(20, 104, 72, 0.42);
  font-size: 16px;
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
  animation: oktw-wa-pulse 2.4s ease-in-out infinite;
}

.floating-whatsapp::before {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #22a46f;
  background: #ffffff;
  border-radius: 50%;
  font-size: 12px;
  content: "WA";
}

.floating-whatsapp:hover,
.floating-whatsapp:focus {
  background: #29ba7e;
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 24px 46px rgba(20, 104, 72, 0.5);
  animation-play-state: paused;
}

@keyframes oktw-wa-pulse {
  0%,
  100% {
    box-shadow: 0 18px 38px rgba(20, 104, 72, 0.42), 0 0 0 0 rgba(34, 164, 111, 0.28);
  }

  50% {
    box-shadow: 0 18px 38px rgba(20, 104, 72, 0.42), 0 0 0 12px rgba(34, 164, 111, 0);
  }
}

@media (max-width: 1100px) {
  .product-grid-large {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .ingredient-showcase,
  .inquiry-layout,
  .footer-top {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    padding-top: 112px;
  }
}

@media (max-width: 680px) {
  .hero-product {
    min-height: auto;
  }

  .hero-grid {
    width: min(100% - 24px, var(--oktw-max));
    gap: 24px;
    padding: 96px 0 44px;
  }

  .hero-visual-badge {
    position: static;
    margin-top: 10px;
    max-width: none;
  }

  .product-grid-large {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .ingredient-cards {
    grid-template-columns: 1fr;
  }

  .form-shell {
    padding: 18px;
  }

  .floating-whatsapp {
    right: 14px;
    bottom: 14px;
    min-height: 56px;
    padding: 0 18px 0 12px;
    font-size: 14px;
  }

  .floating-whatsapp::before {
    width: 34px;
    height: 34px;
  }
}
