/* Sodium Nitrite B2B Export Site - Responsive Styles */

:root {
  --primary: #1e60a8;
  --primary-dark: #0f2d52;
  --primary-light: #00a8b5;
  --accent: #00a8b5;
  --accent-hover: #008a96;
  --text: #2c3e50;
  --text-light: #5d6d7e;
  --bg: #ffffff;
  --bg-alt: #f4f7f9;
  --border: #dce4ea;
  --shadow: 0 4px 24px rgba(13, 74, 111, 0.08);
  --radius: 8px;
  --img-frame-bg: linear-gradient(180deg, #f8fafb 0%, #eef2f6 100%);
  --img-frame-pad: 14px;
  --img-zone-h: 200px;
  --img-zone-h-lg: 240px;
  --header-h: 80px;
  --max-w: 1200px;
  --transition: 0.25s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary-light);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--accent);
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(8, 8, 8, 0.97);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-img {
  height: 48px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
}

.main-nav ul {
  display: flex;
  gap: 4px;
}

.main-nav a {
  display: block;
  padding: 8px 16px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--primary-light);
  background: rgba(0, 168, 181, 0.12);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(230, 126, 34, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--primary-light);
  border: 2px solid var(--primary-light);
}

.btn-outline:hover {
  background: var(--primary-light);
  color: #fff;
}

.site-header .btn-outline {
  color: var(--primary-light);
  border-color: var(--primary-light);
}

.site-header .btn-outline:hover {
  background: var(--primary-light);
  color: #fff;
}

.btn-lg {
  padding: 14px 32px;
  font-size: 1rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary-light);
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero */
.hero {
  margin-top: var(--header-h);
  min-height: calc(100vh - var(--header-h));
  min-height: 520px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(230, 126, 34, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 40%);
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding-top: 60px;
  padding-bottom: 60px;
}

.hero-content h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.2;
  margin-bottom: 20px;
  font-weight: 800;
}

.hero-content p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 32px;
  max-width: 520px;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-btns .btn-outline {
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}

.hero-btns .btn-outline:hover {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
}

.hero-visual {
  display: grid;
  grid-template-columns: 220px 1fr;
  width: 100%;
  max-width: 460px;
  margin-left: auto;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  overflow: hidden;
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.hero-image {
  border-radius: 0;
  overflow: hidden;
  border: none;
  box-shadow: none;
  width: 100%;
  height: 100%;
  min-height: 260px;
  margin: 0;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-image img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  display: block;
  border-radius: 6px;
}

.hero-card {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 24px 22px;
  backdrop-filter: none;
  width: 100%;
  max-width: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-card h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.hero-specs {
  display: grid;
  gap: 12px;
}

.hero-specs li {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.95rem;
}

.hero-specs li:last-child {
  border-bottom: none;
}

.hero-specs .label {
  opacity: 0.75;
}

/* Page banner (inner pages) */
.page-banner {
  margin-top: var(--header-h);
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  padding: 48px 0;
  text-align: center;
}

.page-banner h1 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 12px;
}

.page-banner p {
  opacity: 0.85;
  font-size: 1.05rem;
}

.breadcrumb {
  margin-top: 16px;
  font-size: 0.9rem;
  opacity: 0.7;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.85);
}

.breadcrumb a:hover {
  color: var(--accent);
}

/* Sections */
.section {
  padding: 72px 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.section-header h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: var(--primary);
  margin-bottom: 12px;
}

.section-header p {
  color: var(--text-light);
  font-size: 1.05rem;
}

/* Feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  transition: box-shadow var(--transition), transform var(--transition);
}

.feature-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.feature-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  background: rgba(13, 74, 111, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.feature-card h3 {
  font-size: 1.05rem;
  color: var(--primary);
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* Product cards */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.product-grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.product-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  box-shadow: var(--shadow);
}

.product-img,
.product-img.is-portrait {
  height: var(--img-zone-h);
  min-height: var(--img-zone-h);
  max-height: var(--img-zone-h);
  aspect-ratio: unset;
  background: var(--img-frame-bg);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--img-frame-pad);
  box-sizing: border-box;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.product-img img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  display: block;
}

.product-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-body h3 {
  font-size: 1.15rem;
  color: var(--primary);
  margin-bottom: 8px;
}

.product-body .cas {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 12px;
}

.product-body p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 16px;
}

.product-specs {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 16px;
}

.product-specs dt {
  font-weight: 600;
  color: var(--text);
  display: inline;
}

.product-specs dd {
  display: inline;
  margin-right: 12px;
}

/* News cards */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.news-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--transition);
}

.news-card:hover {
  box-shadow: var(--shadow);
}

.news-date {
  padding: 16px 24px 0;
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
}

.news-body {
  padding: 12px 24px 24px;
}

.news-body h3 {
  font-size: 1.05rem;
  color: var(--primary);
  margin-bottom: 10px;
  line-height: 1.4;
}

.news-body p {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-content h2 {
  font-size: 1.75rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.about-content p {
  margin-bottom: 16px;
  color: var(--text-light);
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.stat-item {
  text-align: center;
  padding: 20px;
  background: var(--bg-alt);
  border-radius: var(--radius);
}

.stat-item strong {
  display: block;
  font-size: 2rem;
  color: var(--primary);
  line-height: 1.2;
}

.stat-item span {
  font-size: 0.85rem;
  color: var(--text-light);
}

.about-visual,
.about-visual.is-portrait {
  border-radius: 16px;
  overflow: hidden;
  background: var(--img-frame-bg);
  width: 100%;
  max-width: 260px;
  height: 340px;
  aspect-ratio: unset;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  border: 1px solid var(--border);
  box-sizing: border-box;
  box-shadow: var(--shadow);
}

.about-visual img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  display: block;
}

.product-gallery-wrap {
  margin-top: 48px;
  padding: 32px 28px 28px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.product-gallery-wrap .gallery-label {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 24px;
}

.product-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 640px;
  margin: 0 auto;
  align-items: stretch;
}

.product-gallery figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg);
  box-shadow: 0 2px 12px rgba(13, 74, 111, 0.06);
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition);
}

.product-gallery figure:hover {
  box-shadow: var(--shadow);
}

.product-gallery figure.is-portrait {
  grid-column: 1 / -1;
  max-width: 280px;
  justify-self: center;
  width: 100%;
}

.product-gallery .gallery-media {
  height: var(--img-zone-h);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: var(--img-frame-bg);
  box-sizing: border-box;
}

.product-gallery figure.is-portrait .gallery-media {
  height: var(--img-zone-h-lg);
}

.product-gallery img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  display: block;
}

.product-gallery figcaption {
  padding: 12px 14px;
  font-size: 0.82rem;
  color: var(--text-light);
  text-align: center;
  border-top: 1px solid var(--border);
  line-height: 1.4;
  flex: 1;
}

.packaging-showcase {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--img-frame-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  height: var(--img-zone-h-lg);
  width: 100%;
  box-sizing: border-box;
}

.packaging-showcase img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  display: block;
}

.spec-with-image {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: stretch;
}

.spec-image {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: var(--img-frame-bg);
  height: 100%;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}

.spec-image img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  display: block;
}

.food-grade-card {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 24px 28px;
  max-width: 900px;
  margin: 28px auto 0;
}

.food-grade-card .product-img {
  width: 140px;
  height: 140px;
  min-height: 140px;
  max-height: 140px;
  aspect-ratio: unset;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 10px;
  border-bottom: 1px solid var(--border);
}

.food-grade-card .product-body-text {
  text-align: left;
}

.food-grade-card .product-body-text h3 {
  margin: 8px 0;
}

.food-grade-card .product-body-text p {
  margin-bottom: 0;
}

/* Contact */
.contact-channels {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 40px;
}

.contact-channel {
  padding: 20px 22px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-channel h4 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
}

.contact-channel h4::before {
  content: "";
  display: block;
  width: 3px;
  height: 1.1em;
  background: var(--primary);
  border-radius: 1px;
  flex-shrink: 0;
}

.contact-channel a,
.contact-channel span {
  display: block;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--primary-light);
  line-height: 1.5;
  word-break: break-word;
}

.contact-channel a:hover {
  color: var(--accent);
  text-decoration: underline;
}

@media (min-width: 640px) {
  .contact-channels {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .contact-channels {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 48px;
  }
}

.contact-form-wrap {
  max-width: 720px;
  margin: 0 auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
}

.contact-info h2 {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 24px;
}

.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-item-icon {
  width: 44px;
  height: 44px;
  background: rgba(13, 74, 111, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}

.contact-item h4 {
  font-size: 0.95rem;
  color: var(--primary);
  margin-bottom: 4px;
}

.contact-item p {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* Inquiry Form */
.inquiry-form {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}

.inquiry-form h2 {
  font-size: 1.35rem;
  color: var(--primary);
  margin-bottom: 8px;
}

.inquiry-form .form-desc {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.form-group label .required {
  color: #e74c3c;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text);
  background: var(--bg);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(26, 111, 160, 0.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
  border-color: #e74c3c;
}

.form-error {
  font-size: 0.8rem;
  color: #e74c3c;
  margin-top: 4px;
  display: none;
}

.form-group.error .form-error {
  display: block;
}

.form-success {
  display: none;
  padding: 16px;
  background: #d5f5e3;
  border: 1px solid #27ae60;
  border-radius: var(--radius);
  color: #1e8449;
  margin-bottom: 16px;
  text-align: center;
}

.form-success.show {
  display: block;
}

.form-api-error {
  display: none;
  background: #fdecea;
  border: 1px solid #f5c6cb;
  color: #a94442;
  padding: 14px 18px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  font-size: 0.92rem;
  line-height: 1.5;
}

.form-api-error.show {
  display: block;
}

.inquiry-form.is-submitting button[type="submit"] {
  opacity: 0.75;
  cursor: wait;
}

.inquiry-section {
  scroll-margin-top: 88px;
}

.inquiry-section .section-header {
  text-align: center;
  margin-bottom: 32px;
}

/* CTA strip */
.cta-strip {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  padding: 56px 0;
  text-align: center;
}

.cta-strip h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  margin-bottom: 12px;
}

.cta-strip p {
  opacity: 0.85;
  margin-bottom: 28px;
}

/* Footer */
.site-footer {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 56px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .logo {
  margin-bottom: 16px;
}

.footer-brand .logo-img {
  height: 44px;
  max-width: 220px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-col h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 16px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.6;
}

/* Floating social sidebar */
.floating-social {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 998;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px 10px;
  background: #ffffff;
  border-radius: 14px 0 0 14px;
  border: 1px solid var(--border);
  border-right: none;
  box-shadow: -6px 6px 28px rgba(15, 45, 82, 0.16);
}

.floating-social .social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border-radius: 12px;
  border: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
  transition: transform var(--transition), box-shadow var(--transition), filter var(--transition);
}

.floating-social .social-link:hover {
  transform: translateX(-4px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
  filter: brightness(1.08);
}

.floating-social .social-link svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.floating-social .social-link.tiktok {
  background: linear-gradient(135deg, #25f4ee, #fe2c55);
  color: #fff;
}

.floating-social .social-link.facebook {
  background: #1877f2;
  color: #fff;
}

.floating-social .social-link.x {
  background: #0f0f0f;
  color: #fff;
}

.floating-social .social-link.whatsapp {
  background: #25d366;
  color: #fff;
}

.floating-social .social-link.instagram {
  background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: #fff;
}

/* Floating inquiry button */
.floating-inquiry {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
}

.floating-inquiry .btn {
  box-shadow: 0 4px 20px rgba(230, 126, 34, 0.4);
  border-radius: 50px;
  padding: 14px 24px;
}

/* Content prose */
.prose {
  max-width: 800px;
}

.prose h2 {
  font-size: 1.4rem;
  color: var(--primary);
  margin: 32px 0 16px;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p {
  margin-bottom: 16px;
  color: var(--text-light);
}

.prose ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
  color: var(--text-light);
}

.prose ul li {
  margin-bottom: 8px;
}

/* Product detail page */
.product-intro {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.product-intro p {
  color: var(--text-light);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 24px;
}

.meta-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 8px;
}

.meta-tag {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(0, 168, 181, 0.1);
  color: var(--primary);
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  border: 1px solid rgba(0, 168, 181, 0.2);
}

.meta-tag.danger {
  background: rgba(231, 76, 60, 0.08);
  color: #c0392b;
  border-color: rgba(231, 76, 60, 0.2);
}

.grade-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}

.grade-badge.superior {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
}

.grade-badge.first {
  background: rgba(0, 168, 181, 0.15);
  color: var(--primary);
  border: 1px solid rgba(0, 168, 181, 0.35);
}

.grade-badge.food {
  background: rgba(39, 174, 96, 0.12);
  color: #1e8449;
  border: 1px solid rgba(39, 174, 96, 0.3);
}

.product-card.featured {
  border-color: var(--primary-light);
  box-shadow: var(--shadow);
}

.product-card .product-body ul {
  list-style: none;
  margin-bottom: 20px;
  flex: 1;
}

.product-card .product-body > .btn,
.product-card .product-body > a.btn {
  margin-top: auto;
  align-self: flex-start;
}

.product-card .product-body ul li {
  position: relative;
  padding-left: 18px;
  font-size: 0.88rem;
  color: var(--text-light);
  margin-bottom: 8px;
  line-height: 1.5;
}

.product-card .product-body ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.spec-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--bg);
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.spec-table th,
.spec-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.spec-table th {
  width: 28%;
  background: var(--bg-alt);
  color: var(--primary);
  font-weight: 600;
}

.spec-table tr:last-child th,
.spec-table tr:last-child td {
  border-bottom: none;
}

.spec-table td {
  color: var(--text-light);
  line-height: 1.6;
}

.app-section {
  margin-bottom: 40px;
}

.app-section:last-child {
  margin-bottom: 0;
}

.app-section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(0, 168, 181, 0.2);
}

.app-section-title span {
  font-size: 1.4rem;
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.app-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
  transition: box-shadow var(--transition);
}

.app-card:hover {
  box-shadow: var(--shadow);
}

.app-card h4 {
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: 12px;
}

.app-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.65;
  margin-bottom: 10px;
}

.app-card p:last-child {
  margin-bottom: 0;
}

.app-card .grade-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  margin-right: 6px;
}

.app-card .grade-label.g99 {
  background: rgba(30, 96, 168, 0.12);
  color: var(--primary);
}

.app-card .grade-label.g985 {
  background: rgba(0, 168, 181, 0.12);
  color: #008a96;
}

.advantage-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.advantage-item {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.advantage-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.advantage-item h4 {
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: 8px;
}

.advantage-item p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.65;
}

.info-panel-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.info-panel {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  height: 100%;
}

.info-panel--media {
  display: grid;
  grid-template-columns: 168px 1fr;
  grid-template-rows: auto 1fr;
  gap: 0 24px;
  align-items: start;
}

.info-panel--media .packaging-showcase {
  grid-row: 1 / -1;
  align-self: stretch;
  height: auto;
  min-height: 220px;
}

.info-panel--media h3 {
  margin-bottom: 16px;
  padding-bottom: 12px;
}

.info-panel--media .check-list {
  margin: 0;
}

.info-panel h3 {
  font-size: 1.15rem;
  color: var(--primary);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(0, 168, 181, 0.15);
}

.check-list {
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 12px;
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.6;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 700;
}

.shipping-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.shipping-item {
  text-align: center;
  padding: 24px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.shipping-item .icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.shipping-item h4 {
  font-size: 0.95rem;
  color: var(--primary);
  margin-bottom: 8px;
}

.shipping-item p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.5;
}

.faq-list {
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--bg);
}

.faq-item summary {
  padding: 18px 48px 18px 22px;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  list-style: none;
  position: relative;
  font-size: 0.95rem;
  line-height: 1.5;
  transition: background var(--transition);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.3rem;
  color: var(--accent);
  font-weight: 400;
  transition: transform var(--transition);
}

.faq-item[open] summary {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item .faq-answer {
  padding: 16px 22px 20px;
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.7;
}

.anchor-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 40px;
}

.anchor-nav a {
  padding: 8px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
  transition: all var(--transition);
}

.anchor-nav a:hover {
  background: var(--primary-light);
  border-color: var(--primary-light);
  color: #fff;
}

.text-highlight {
  color: var(--primary);
  font-weight: 600;
}

.prose-wide {
  max-width: 900px;
  margin: 0 auto;
}

.prose-wide p {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 16px;
}

/* Responsive */
@media (max-width: 1024px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .shipping-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 16px 20px;
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform var(--transition), opacity var(--transition), visibility var(--transition);
    box-shadow: var(--shadow);
  }

  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 4px;
  }

  .main-nav a {
    padding: 12px 16px;
    color: var(--text);
  }

  .main-nav a:hover,
  .main-nav a.active {
    color: var(--primary);
    background: rgba(0, 168, 181, 0.08);
  }

  .header-actions .btn-outline {
    display: none;
  }

  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-btns {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .hero-image {
    min-height: 200px;
    max-height: 220px;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .hero-card {
    padding: 20px 22px;
  }

  .product-grid,
  .news-grid {
    grid-template-columns: 1fr;
  }

  .product-grid-2,
  .app-grid,
  .advantage-list,
  .info-panel-grid,
  .shipping-grid {
    grid-template-columns: 1fr;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .about-grid .about-visual {
    margin-left: auto;
    margin-right: auto;
  }

  .spec-with-image,
  .food-grade-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .food-grade-card .product-body-text {
    text-align: center;
  }

  .food-grade-card .btn {
    justify-self: center;
  }

  .food-grade-card .product-img {
    width: 140px;
    height: 140px;
    min-height: 140px;
    max-height: 140px;
    margin: 0 auto;
  }

  .product-gallery-wrap {
    padding: 24px 20px 20px;
  }

  .product-gallery {
    grid-template-columns: 1fr;
    max-width: 320px;
  }

  .product-gallery figure.is-portrait {
    max-width: 100%;
  }

  .info-panel--media {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 20px;
  }

  .info-panel--media .packaging-showcase {
    grid-row: auto;
    min-height: 200px;
    max-width: 220px;
    margin: 0 auto;
  }

  .about-visual,
  .about-visual.is-portrait {
    max-width: 240px;
    height: 300px;
  }

  .spec-image {
    min-height: 240px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .section {
    padding: 48px 0;
  }

  .floating-inquiry {
    bottom: 16px;
    right: 16px;
  }

  .floating-inquiry .btn {
    padding: 12px 18px;
    font-size: 0.85rem;
  }

  .floating-social {
    top: auto;
    bottom: 88px;
    transform: none;
    padding: 10px 8px;
    gap: 8px;
    border-radius: 12px 0 0 12px;
  }

  .floating-social .social-link {
    width: 44px;
    height: 44px;
    border-radius: 10px;
  }

  .floating-social .social-link svg {
    width: 22px;
    height: 22px;
  }
}

@media (max-width: 480px) {
  .logo-img {
    height: 38px;
    max-width: 170px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .about-stats {
    grid-template-columns: 1fr;
  }

  .hero-btns {
    flex-direction: column;
    width: 100%;
  }

  .hero-btns .btn {
    width: 100%;
  }
}
