/* ============================================================
   SKM EGG PRODUCTS - QR LANDING PAGE STYLES
   Premium LIGHT theme with SKM Red (#C41E24) branding
   Full-width enterprise layout
   ============================================================ */

/* ========== CSS VARIABLES ========== */
:root {
  /* SKM Brand Colors */
  --skm-red: #C41E24;
  --skm-red-dark: #9A161B;
  --skm-red-light: #E8353C;
  --skm-red-glow: rgba(196, 30, 36, 0.15);
  --skm-red-subtle: rgba(196, 30, 36, 0.06);

  /* Light Theme Backgrounds */
  --bg-primary: #f5f5f8;
  --bg-secondary: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #fafafe;
  --bg-elevated: #f0f0f5;
  --bg-input: #f7f7fa;

  /* Surfaces */
  --surface-border: rgba(0, 0, 0, 0.08);
  --surface-border-hover: rgba(196, 30, 36, 0.35);
  --surface-glass: rgba(255, 255, 255, 0.9);

  /* Text */
  --text-primary: #1a1a2e;
  --text-secondary: #555568;
  --text-muted: #8888a0;
  --text-accent: #C41E24;

  /* Status */
  --success: #16a34a;
  --success-bg: rgba(22, 163, 74, 0.08);
  --warning: #ca8a04;
  --info: #2563eb;
  --info-bg: rgba(37, 99, 235, 0.08);

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.06), 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-card-hover: 0 4px 16px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.04);
  --shadow-elevated: 0 8px 32px rgba(0, 0, 0, 0.1);
  --shadow-glow: 0 0 24px var(--skm-red-glow);

  /* Fonts */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Outfit', 'Inter', sans-serif;
}

/* ========== RESET & BASE ========== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

.app-container {
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
}

/* ========== HERO SECTION ========== */
.hero {
  position: relative;
  padding: 60px 48px 48px;
  overflow: hidden;
  text-align: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #fef2f2 0%, #ffffff 35%, #f8f8fc 70%, #fef2f2 100%);
  z-index: 0;
}

.hero-bg::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -80px;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(196, 30, 36, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulseGlow 6s ease-in-out infinite;
}

.hero-bg::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -60px;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(196, 30, 36, 0.04) 0%, transparent 70%);
  border-radius: 50%;
}

@keyframes pulseGlow {

  0%,
  100% {
    opacity: 0.5;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

/* Logo */
.logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 28px;
}

.logo-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.skm-star-logo {
  width: 60px;
  height: 60px;
  filter: drop-shadow(0 2px 8px rgba(196, 30, 36, 0.2));
}

.logo-text-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.logo-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--skm-red);
  letter-spacing: 1px;
  line-height: 1.2;
}

.logo-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  font-weight: 400;
}

/* Hero Text */
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.15;
  margin-bottom: 10px;
}

.hero-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 28px;
  font-weight: 400;
}

/* Hero Stats */
.hero-stats {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 18px 36px;
  background: linear-gradient(135deg, rgba(196, 30, 36, 0.06) 0%, rgba(196, 30, 36, 0.02) 100%);
  border: 1px solid rgba(196, 30, 36, 0.12);
  border-radius: var(--radius-xl);
}

.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--skm-red);
}

.stat-label {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.hero-stat-divider {
  width: 1px;
  height: 32px;
  background: rgba(196, 30, 36, 0.15);
}

/* ========== MAIN CONTENT — Full Width ========== */
.main-content {
  padding: 0 48px 48px;
  max-width: 100%;
  margin: 0 auto;
}

/* ========== PRODUCT SELECTOR ========== */
.product-selector {
  margin-bottom: 24px;
}

.selector-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  margin-bottom: 10px;
  font-weight: 600;
  padding-left: 4px;
}

.selector-tabs {
  display: flex;
  gap: 10px;
  width: 100%;
}

.selector-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 16px;
  background: var(--bg-card);
  border: 1.5px solid var(--surface-border);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-card);
}

.selector-tab:hover {
  border-color: var(--surface-border-hover);
  color: var(--text-primary);
  box-shadow: var(--shadow-card-hover);
}

.selector-tab.active {
  background: linear-gradient(135deg, #C41E24 0%, #E8353C 100%);
  border-color: var(--skm-red);
  color: #fff;
  box-shadow: 0 4px 20px rgba(196, 30, 36, 0.25);
}

.selector-tab.active .icon-tab {
  color: #fff;
}

.icon-tab {
  width: 18px;
  height: 18px;
}

/* ========== CARDS ========== */
.card {
  background: var(--bg-card);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  margin-bottom: 20px;
  box-shadow: var(--shadow-card);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(0, 0, 0, 0.1);
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-md);
}

.card-header.collapsible {
  cursor: pointer;
  user-select: none;
}

.card-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.icon-title {
  width: 20px;
  height: 20px;
  color: var(--skm-red);
}

/* ========== BADGES ========== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.badge-success {
  background: var(--success-bg);
  color: var(--success);
  border: 1px solid rgba(22, 163, 74, 0.15);
}

.badge-primary {
  background: rgba(196, 30, 36, 0.08);
  color: var(--skm-red);
  border: 1px solid rgba(196, 30, 36, 0.15);
}

/* ========== TWO-COLUMN LAYOUT ========== */
.content-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.content-two-col .card {
  margin-bottom: 0;
}

.content-three-col {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}

.content-three-col .card {
  margin-bottom: 0;
}

/* ========== PRODUCT CARD ========== */
.product-display {
  display: flex;
  gap: 20px;
  margin-bottom: var(--space-md);
}

.product-image-container {
  flex-shrink: 0;
}

.product-icon-wrap {
  width: 88px;
  height: 88px;
  background: linear-gradient(135deg, rgba(196, 30, 36, 0.08), rgba(196, 30, 36, 0.03));
  border: 1px solid rgba(196, 30, 36, 0.12);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-product {
  width: 38px;
  height: 38px;
  color: var(--skm-red);
}

.product-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.product-type {
  font-size: 0.85rem;
  color: var(--skm-red);
  font-weight: 600;
  margin-bottom: 8px;
}

.product-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Product Specs */
.product-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: var(--space-md);
  background: var(--bg-input);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
  border: 1px solid var(--surface-border);
}

.spec-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.spec-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-muted);
  font-weight: 600;
}

.spec-value {
  font-size: 0.85rem;
  color: var(--text-primary);
  font-weight: 600;
}

/* Product Meta Row */
.product-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 12px 14px;
  background: var(--bg-input);
  border-radius: var(--radius-sm);
  border: 1px solid var(--surface-border);
}

.meta-label {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-muted);
  font-weight: 600;
}

.meta-value {
  font-size: 0.85rem;
  color: var(--text-primary);
  font-weight: 600;
  word-break: break-all;
}

/* ========== EXPORT BADGE ========== */
.export-badge-card {
  padding: var(--space-md) var(--space-lg);
  background: linear-gradient(135deg, #fff 0%, #fef8f8 100%);
  border-color: rgba(196, 30, 36, 0.1);
}

.export-badge-content {
  display: flex;
  align-items: center;
  gap: 16px;
}

.export-flag {
  font-size: 2.8rem;
  line-height: 1;
}

.export-info {
  flex: 1;
}

.export-destination {
  display: flex;
  flex-direction: column;
}

.export-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  font-weight: 600;
}

.export-country {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
}

.export-client {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 2px;
}

.export-icon-wrap {
  width: 48px;
  height: 48px;
  background: rgba(196, 30, 36, 0.06);
  border: 1px solid rgba(196, 30, 36, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-export {
  width: 22px;
  height: 22px;
  color: var(--skm-red);
}

/* ========== VERIFICATION CARD ========== */
.verification-card {
  display: flex;
  align-items: center;
  gap: 18px;
  border-color: rgba(196, 30, 36, 0.12);
}

.verification-card.blockchain {
  background: linear-gradient(135deg, #fef8f8 0%, #ffffff 100%);
}

.verification-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--skm-red), var(--skm-red-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(196, 30, 36, 0.2);
}

.icon-shield {
  width: 26px;
  height: 26px;
  color: white;
}

.verification-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.verification-subtitle {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-top: 2px;
}

.verification-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.hash-display {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  background: var(--bg-input);
  border-radius: var(--radius-sm);
  border: 1px solid var(--surface-border);
}

.hash-label {
  font-size: 0.65rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hash-value {
  font-size: 0.75rem;
  color: var(--skm-red);
  font-family: 'Courier New', monospace;
  font-weight: 600;
}

.explorer-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  background: linear-gradient(135deg, var(--skm-red), var(--skm-red-light));
  color: #fff;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(196, 30, 36, 0.2);
}

.explorer-link:hover {
  box-shadow: 0 4px 16px rgba(196, 30, 36, 0.3);
  transform: translateY(-1px);
}

.explorer-link .icon-xs {
  width: 14px;
  height: 14px;
  color: #fff;
}

/* ========== FARM / ORIGIN CARD ========== */
.farm-main {
  margin-bottom: var(--space-md);
}

.farm-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.farm-location {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.farm-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.detail-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  background: var(--bg-input);
  border-radius: var(--radius-sm);
  border: 1px solid var(--surface-border);
}

.detail-icon-wrap {
  width: 38px;
  height: 38px;
  background: var(--skm-red-subtle);
  border: 1px solid rgba(196, 30, 36, 0.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-detail {
  width: 18px;
  height: 18px;
  color: var(--skm-red);
}

.detail-label {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--text-muted);
  font-weight: 600;
}

.detail-value {
  font-size: 0.82rem;
  color: var(--text-primary);
  font-weight: 600;
  display: block;
}

/* ========== CERTIFICATES ========== */
.certificates-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.certificate-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: var(--bg-input);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.certificate-badge:hover {
  border-color: var(--skm-red);
  background: #fef8f8;
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
}

.certificate-icon {
  width: 42px;
  height: 42px;
  background: var(--skm-red-subtle);
  border: 1px solid rgba(196, 30, 36, 0.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-cert-large {
  width: 20px;
  height: 20px;
  color: var(--skm-red);
}

.certificate-info {
  flex: 1;
  min-width: 0;
}

.certificate-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-primary);
}

.certificate-desc {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ========== NUTRITION FACTS ========== */
.nutrition-content {
  max-height: 700px;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.nutrition-content.collapsed {
  max-height: 0;
}

.nutrition-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
}

.serving-size {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.calories {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.calories strong {
  font-size: 2rem;
  color: var(--text-primary);
  font-weight: 800;
}

.nutrition-divider {
  height: 1px;
  background: var(--surface-border);
  margin: 6px 0;
}

.nutrition-divider.thick {
  height: 3px;
  background: var(--text-primary);
}

.nutrition-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 0;
  border-bottom: 1px solid var(--surface-border);
}

.nutrition-row.sub {
  padding-left: 24px;
}

.nutrition-row .name {
  font-size: 0.85rem;
  color: var(--text-primary);
}

.nutrition-row .values {
  display: flex;
  gap: 18px;
}

.nutrition-row .amount {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.nutrition-row .dv {
  font-size: 0.85rem;
  color: var(--text-primary);
  font-weight: 700;
  min-width: 40px;
  text-align: right;
}

.vitamin-row {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
}

.vitamin-row .name {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.vitamin-row .dv {
  font-size: 0.82rem;
  color: var(--text-primary);
  font-weight: 600;
}

.nutrition-disclaimer {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 12px;
  font-style: italic;
}

/* ========== TIMELINE ========== */
.timeline {
  position: relative;
  padding-left: 28px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, var(--skm-red) 0%, rgba(196, 30, 36, 0.3) 100%);
  border-radius: 1px;
}

.timeline-item {
  position: relative;
  margin-bottom: 6px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -23px;
  top: 16px;
  width: 18px;
  height: 18px;
  background: var(--skm-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  box-shadow: 0 2px 8px rgba(196, 30, 36, 0.25);
  border: 2px solid #fff;
}

.icon-dot {
  width: 10px;
  height: 10px;
  color: white;
}

.timeline-content {
  padding: 14px 18px;
  background: var(--bg-input);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.3s ease;
}

.timeline-content:hover {
  border-color: rgba(196, 30, 36, 0.15);
  background: #fef8f8;
  box-shadow: var(--shadow-card);
}

.timeline-header {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.timeline-icon-wrap {
  width: 30px;
  height: 30px;
  background: var(--skm-red-subtle);
  border: 1px solid rgba(196, 30, 36, 0.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-timeline {
  width: 15px;
  height: 15px;
  color: var(--skm-red);
}

.timeline-stage {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  flex: 1;
}

.timeline-status {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.68rem;
  color: var(--success);
  font-weight: 600;
}

.timeline-location {
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

.timeline-time {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.timeline-details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, margin 0.3s ease, padding 0.3s ease;
}

.timeline-details.expanded {
  max-height: 500px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--surface-border);
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.detail-grid-item {
  padding: 6px 0;
}

.detail-grid-item .label {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  font-weight: 600;
}

.detail-grid-item .value {
  font-size: 0.82rem;
  color: var(--text-primary);
  font-weight: 500;
  margin-top: 2px;
}

/* ========== QUALITY CHECKS ========== */
.quality-content {
  max-height: 500px;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.quality-content.collapsed {
  max-height: 0;
}

.quality-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.quality-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: var(--bg-input);
  border-radius: var(--radius-sm);
  border: 1px solid var(--surface-border);
}

.quality-check {
  width: 30px;
  height: 30px;
  background: var(--success-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-check {
  width: 15px;
  height: 15px;
  color: var(--success);
}

.quality-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
}

.quality-date {
  font-size: 0.68rem;
  color: var(--text-muted);
}

/* ========== GLOBAL REACH ========== */
.global-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.global-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: var(--bg-input);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
}

.global-item:hover {
  border-color: rgba(196, 30, 36, 0.15);
  box-shadow: var(--shadow-card);
}

.global-flag {
  font-size: 2.2rem;
  line-height: 1;
}

.global-info {
  flex: 1;
}

.global-country {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
}

.global-products {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-top: 2px;
}

/* ========== SUSTAINABILITY ========== */
.sustainability-content {
  max-height: 500px;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.sustainability-content.collapsed {
  max-height: 0;
}

.sustainability-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.sustainability-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: var(--bg-input);
  border-radius: var(--radius-sm);
  border: 1px solid var(--surface-border);
}

.sustainability-icon-wrap {
  width: 38px;
  height: 38px;
  background: rgba(22, 163, 74, 0.06);
  border: 1px solid rgba(22, 163, 74, 0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sustainability-icon-wrap .icon-detail {
  color: var(--success);
}

.sustainability-label {
  font-size: 0.68rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.sustainability-value {
  font-size: 0.82rem;
  color: var(--text-primary);
  font-weight: 600;
}

/* ========== TOGGLE ICON ========== */
.toggle-icon {
  transition: transform 0.3s ease;
}

.toggle-icon.collapsed {
  transform: rotate(-90deg);
}

.icon-sm {
  width: 16px;
  height: 16px;
}

.icon-xs {
  width: 14px;
  height: 14px;
}

/* ========== FOOTER ========== */
.footer {
  text-align: center;
  padding: 48px 48px;
  border-top: 1px solid var(--surface-border);
  background: #fff;
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 8px;
}

.footer-star {
  width: 44px;
  height: 44px;
}

.footer-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--skm-red);
}

.footer-tagline {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.footer-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: var(--skm-red);
}

.footer-address {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.footer-powered {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.footer-powered strong {
  color: var(--skm-red);
  font-weight: 700;
}

.footer-copyright {
  font-size: 0.68rem;
  color: var(--text-muted);
}

/* ========== CERTIFICATE MODAL ========== */
.certificate-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 24px;
  backdrop-filter: blur(6px);
}

.certificate-modal.active {
  opacity: 1;
  pointer-events: all;
}

.modal-content {
  background: #fff;
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  max-width: 480px;
  width: 100%;
  box-shadow: var(--shadow-elevated);
  transform: scale(0.95);
  transition: transform 0.3s ease;
  position: relative;
}

.certificate-modal.active .modal-content {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  background: var(--bg-input);
  border: 1px solid var(--surface-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-secondary);
  transition: all 0.2s ease;
}

.modal-close:hover {
  background: var(--bg-elevated);
  color: var(--text-primary);
}

.modal-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: var(--space-lg);
  padding-right: 40px;
}

.modal-icon {
  width: 54px;
  height: 54px;
  background: linear-gradient(135deg, var(--skm-red), var(--skm-red-dark));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(196, 30, 36, 0.2);
}

.icon-cert-modal {
  width: 26px;
  height: 26px;
  color: white;
}

.modal-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
}

.modal-detail {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

.modal-meta {
  display: grid;
  gap: 10px;
}

.modal-meta-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: var(--bg-input);
  border-radius: var(--radius-sm);
  border: 1px solid var(--surface-border);
}

.modal-meta-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
}

.modal-meta-value {
  font-size: 0.82rem;
  color: var(--text-primary);
  font-weight: 600;
}

.modal-meta-value.status-active {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--success);
}

/* ========== ANIMATIONS ========== */
.fade-in {
  opacity: 0;
  transform: translateY(16px);
  animation: fadeInUp 0.5s ease-out forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in:nth-child(1) {
  animation-delay: 0.05s;
}

.fade-in:nth-child(2) {
  animation-delay: 0.08s;
}

.fade-in:nth-child(3) {
  animation-delay: 0.12s;
}

.fade-in:nth-child(4) {
  animation-delay: 0.16s;
}

.fade-in:nth-child(5) {
  animation-delay: 0.2s;
}

.fade-in:nth-child(6) {
  animation-delay: 0.24s;
}

.fade-in:nth-child(7) {
  animation-delay: 0.28s;
}

.fade-in:nth-child(8) {
  animation-delay: 0.32s;
}

.fade-in:nth-child(9) {
  animation-delay: 0.36s;
}

.fade-in:nth-child(10) {
  animation-delay: 0.4s;
}

.fade-in:nth-child(11) {
  animation-delay: 0.44s;
}

@keyframes switchFade {
  0% {
    opacity: 0.4;
    transform: scale(0.98);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.product-switching .product-card,
.product-switching .export-badge-card {
  animation: switchFade 0.4s ease;
}

/* ========== RESPONSIVE ========== */

@media (min-width: 768px) {

  .quality-grid,
  .sustainability-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .global-content {
    grid-template-columns: 1fr 1fr;
  }

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

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

@media (min-width: 1024px) {
  .farm-details {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }

  .global-content {
    grid-template-columns: repeat(5, 1fr);
  }

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

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

  .certificates-grid {
    grid-template-columns: repeat(4, 1fr);
  }

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

body.modal-open {
  overflow: hidden;
}

/* ========== CHECKPOINT LOCATIONS ========== */
.checkpoint-locations {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.checkpoint-loc-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  background: var(--bg-input);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.checkpoint-loc-item:hover {
  border-color: rgba(196, 30, 36, 0.15);
  background: #fef8f8;
}

.checkpoint-loc-marker {
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, var(--skm-red), var(--skm-red-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(196, 30, 36, 0.2);
}

.checkpoint-loc-number {
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1;
}

.checkpoint-loc-info {
  flex: 1;
  min-width: 0;
}

.checkpoint-loc-stage {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-primary);
}

.checkpoint-loc-address {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  color: var(--text-secondary);
  margin-top: 3px;
  line-height: 1.3;
}

.icon-xxs {
  width: 11px;
  height: 11px;
  flex-shrink: 0;
}

.checkpoint-loc-stage .icon-xs {
  color: var(--skm-red);
}

.checkpoint-loc-address .icon-xxs {
  color: var(--text-muted);
}

/* ========== CERTIFICATE VISUAL IN MODAL ========== */
.cert-visual {
  margin-bottom: 20px;
  padding: 4px;
  background: linear-gradient(135deg, var(--skm-red), #E8353C, #f0a0a3, var(--skm-red));
  border-radius: var(--radius-lg);
}

.cert-visual-border {
  background: #fff;
  border-radius: calc(var(--radius-lg) - 3px);
  padding: 4px;
}

.cert-visual-inner {
  background: linear-gradient(135deg, #fef8f8, #fff, #fef8f8);
  border: 2px dashed rgba(196, 30, 36, 0.15);
  border-radius: calc(var(--radius-lg) - 6px);
  padding: 24px 20px;
  text-align: center;
  position: relative;
}

.cert-skm-logo {
  width: 56px;
  height: 56px;
  margin: 0 auto 10px;
  display: block;
}

.cert-visual-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: 0.5px;
}

.cert-visual-subtitle {
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin-top: 2px;
}

.cert-visual-number {
  font-family: 'Courier New', monospace;
  font-size: 0.68rem;
  color: var(--skm-red);
  margin-top: 8px;
  letter-spacing: 1px;
  font-weight: 600;
}

.cert-visual-stamp {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 12px;
  padding: 4px 14px;
  background: rgba(22, 163, 74, 0.06);
  border: 1px solid rgba(22, 163, 74, 0.15);
  border-radius: 20px;
  color: var(--success);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.cert-stamp-icon {
  width: 14px;
  height: 14px;
  color: var(--success);
}

/* ========== RESPONSIVE: CHECKPOINT & CERTS ========== */
@media (min-width: 1200px) {
  .certificates-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .checkpoint-locations {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .checkpoint-locations {
    grid-template-columns: 1fr;
  }

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

/* ========== CHECKPOINT ITEM ARROW ========== */
.checkpoint-loc-arrow {
  display: flex;
  align-items: center;
  margin-left: auto;
  opacity: 0.3;
  transition: opacity 0.2s, transform 0.2s;
}

.checkpoint-loc-item:hover .checkpoint-loc-arrow {
  opacity: 0.7;
  transform: translateX(2px);
}

.checkpoint-loc-arrow .icon-xs {
  color: var(--text-muted);
}

/* ========== LOCATION MAP MODAL ========== */
.location-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 24px;
  backdrop-filter: blur(8px);
}

.location-modal.active {
  opacity: 1;
  pointer-events: all;
}

.location-modal-content {
  background: #fff;
  border-radius: 16px;
  max-width: 900px;
  width: 100%;
  max-height: 85vh;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
  transform: scale(0.92) translateY(20px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.location-modal.active .location-modal-content {
  transform: scale(1) translateY(0);
}

.location-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid var(--surface-border);
  background: linear-gradient(135deg, #fff 0%, #fef8f8 100%);
}

.location-modal-title-area {
  display: flex;
  align-items: center;
  gap: 14px;
}

.location-modal-marker-lg {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--skm-red), var(--skm-red-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px rgba(196, 30, 36, 0.25);
  flex-shrink: 0;
}

.location-modal-marker-lg span {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 800;
}

.location-modal-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-primary);
}

.location-modal-address {
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin-top: 1px;
}

.location-modal-close {
  width: 36px;
  height: 36px;
  background: var(--bg-input);
  border: 1px solid var(--surface-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-secondary);
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.location-modal-close:hover {
  background: #fef2f2;
  color: var(--skm-red);
  border-color: rgba(196, 30, 36, 0.2);
}

.location-modal-body {
  display: grid;
  grid-template-columns: 1fr 300px;
  height: 480px;
}

.location-map-container {
  width: 100%;
  height: 100%;
  min-height: 300px;
  background: #e8e8e8;
}

.location-modal-details {
  padding: 16px 20px;
  overflow-y: auto;
  border-left: 1px solid var(--surface-border);
  background: var(--bg-input);
}

.loc-detail-section {
  padding: 10px 0;
  border-bottom: 1px solid var(--surface-border);
}

.loc-detail-section:last-child {
  border-bottom: none;
}

.loc-detail-label {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 2px;
}

.loc-detail-value {
  font-size: 0.82rem;
  color: var(--text-primary);
  font-weight: 500;
  line-height: 1.4;
  word-break: break-word;
}

.loc-status-done {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--success);
  font-weight: 600;
}

/* ========== CUSTOM MAP MARKER ========== */
.custom-map-marker {
  background: none;
  border: none;
}

.map-marker-pin {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--skm-red), var(--skm-red-dark));
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 12px rgba(196, 30, 36, 0.35);
  position: relative;
  z-index: 2;
}

.map-marker-pin span {
  transform: rotate(45deg);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
}

.map-marker-pulse {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(196, 30, 36, 0.2);
  position: absolute;
  top: 4px;
  left: 2px;
  z-index: 1;
  animation: markerPulse 2s ease-out infinite;
}

@keyframes markerPulse {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }

  100% {
    transform: scale(2.5);
    opacity: 0;
  }
}

/* Leaflet popup override */
.leaflet-popup-content-wrapper {
  border-radius: 10px !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12) !important;
}

.leaflet-popup-tip {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
}

/* ========== RESPONSIVE: LOCATION MODAL ========== */
@media (max-width: 768px) {
  .location-modal-body {
    grid-template-columns: 1fr;
    height: auto;
    max-height: 70vh;
  }

  .location-map-container {
    height: 260px;
  }

  .location-modal-details {
    border-left: none;
    border-top: 1px solid var(--surface-border);
    max-height: 240px;
  }

  .location-modal-content {
    max-height: 90vh;
  }

  .location-modal {
    padding: 12px;
  }
}

/* ========== LIVE FARM VIDEO SECTION ========== */
.live-farm-card {
  overflow: hidden;
}

.live-farm-card .card-header {
  position: relative;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: linear-gradient(135deg, #dc2626, #ef4444);
  color: #fff;
  border-radius: var(--radius-full);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  animation: livePulse 2s ease-in-out infinite;
}

.live-dot {
  width: 7px;
  height: 7px;
  background: #fff;
  border-radius: 50%;
  animation: liveDotPulse 1.5s ease-in-out infinite;
}

@keyframes livePulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.85;
  }
}

@keyframes liveDotPulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(0.7);
  }
}

.live-video-container {
  border-radius: var(--radius-md);
  overflow: hidden;
}

.video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0a0a0a;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.video-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.6) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.video-overlay:hover {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.5) 100%);
}

.play-btn {
  width: 72px;
  height: 72px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  cursor: pointer;
}

.play-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  background: #fff;
}

.icon-play {
  width: 28px;
  height: 28px;
  color: var(--skm-red);
  margin-left: 4px;
}

.video-overlay-text {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  letter-spacing: 0.3px;
}

.live-video-iframe {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  border: none;
  border-radius: var(--radius-md);
}

.live-video-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 4px 4px;
}

.live-info-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.live-info-item .icon-xs {
  color: var(--skm-red);
  flex-shrink: 0;
}

/* Free Range highlight for the video card */
.live-farm-card.free-range-highlight {
  border-color: rgba(22, 163, 74, 0.2);
  background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
}

.live-farm-card.free-range-highlight .live-badge {
  background: linear-gradient(135deg, #16a34a, #22c55e);
}

/* ========== FREE RANGE TAB STYLING ========== */
.selector-tab[data-product="freeRange"].active {
  background: linear-gradient(135deg, #16a34a, #22c55e);
  color: #fff;
  border-color: #16a34a;
  box-shadow: 0 4px 16px rgba(22, 163, 74, 0.25);
}

.selector-tab[data-product="freeRange"]:not(.active):hover {
  border-color: rgba(22, 163, 74, 0.3);
  background: rgba(22, 163, 74, 0.04);
  color: #16a34a;
}

.selector-tab[data-product="freeRange"].active .icon-tab {
  color: #fff;
}

/* ================================================================
   RESPONSIVE DESIGN — TABLET (≤768px) & MOBILE (≤480px)
   ================================================================ */

/* ---------- TABLET BREAKPOINT ---------- */
@media (max-width: 768px) {

  /* Hero */
  .hero {
    padding: 40px 20px 32px;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-title {
    font-size: 1.6rem;
  }

  .hero-subtitle {
    font-size: 0.9rem;
    margin-bottom: 20px;
  }

  .hero-stats {
    gap: 16px;
    padding: 14px 20px;
    flex-wrap: wrap;
  }

  .stat-value {
    font-size: 1.1rem;
  }

  .logo-icon,
  .skm-star-logo {
    width: 46px;
    height: 46px;
  }

  .logo-name {
    font-size: 1.2rem;
  }

  /* Main Content */
  .main-content {
    padding: 0 20px 32px;
  }

  /* Product Selector Tabs — WRAP on tablet */
  .selector-tabs {
    flex-wrap: wrap;
  }

  .selector-tab {
    flex: 0 0 calc(33.33% - 7px);
    padding: 12px 10px;
    font-size: 0.78rem;
    gap: 6px;
  }

  .icon-tab {
    width: 16px;
    height: 16px;
  }

  /* Two-Column → Single Column */
  .content-two-col {
    grid-template-columns: 1fr;
  }

  /* Three-Column → Single Column */
  .content-three-col {
    grid-template-columns: 1fr;
  }

  /* Product Display */
  .product-display {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .product-icon-wrap {
    width: 72px;
    height: 72px;
  }

  .icon-product {
    width: 32px;
    height: 32px;
  }

  .product-name {
    font-size: 1.15rem;
  }

  /* Farm Details */
  .farm-details {
    grid-template-columns: 1fr;
  }

  /* Quality Grid */
  .quality-grid {
    grid-template-columns: 1fr;
  }

  /* Sustainability Grid */
  .sustainability-grid {
    grid-template-columns: 1fr;
  }

  /* Detail Grid (timeline expanded) */
  .detail-grid {
    grid-template-columns: 1fr;
  }

  /* Verification Card */
  .verification-card {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .verification-actions {
    justify-content: center;
  }

  .hash-display {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }

  /* Export Badge */
  .export-badge-content {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .export-destination {
    align-items: center;
  }

  /* Card */
  .card {
    padding: var(--space-md);
  }

  .card-title {
    font-size: 1rem;
  }

  /* Live Farm Video */
  .play-btn {
    width: 60px;
    height: 60px;
  }

  .icon-play {
    width: 24px;
    height: 24px;
  }

  .video-overlay-text {
    font-size: 0.8rem;
    padding: 0 20px;
  }

  .live-video-info {
    gap: 6px;
    padding: 12px 2px 2px;
  }

  .live-info-item {
    font-size: 0.75rem;
  }

  /* Certificate Modal */
  .certificate-modal {
    padding: 12px;
  }

  .modal-content {
    padding: var(--space-lg);
    max-width: 100%;
  }

  /* Footer */
  .footer {
    padding: 32px 20px;
  }

  .footer-links {
    gap: 16px;
  }

  .footer-address {
    flex-direction: column;
    gap: 4px;
    text-align: center;
  }
}

/* ---------- MOBILE BREAKPOINT ---------- */
@media (max-width: 480px) {

  /* Hero */
  .hero {
    padding: 28px 16px 24px;
  }

  .hero-title {
    font-size: 1.35rem;
  }

  .hero-subtitle {
    font-size: 0.82rem;
    margin-bottom: 16px;
  }

  .hero-stats {
    gap: 12px;
    padding: 12px 16px;
  }

  .hero-stat-divider {
    height: 24px;
  }

  .stat-value {
    font-size: 1rem;
  }

  .stat-label {
    font-size: 0.6rem;
  }

  .logo-container {
    gap: 10px;
    margin-bottom: 20px;
  }

  .logo-icon,
  .skm-star-logo {
    width: 40px;
    height: 40px;
  }

  .logo-name {
    font-size: 1.05rem;
  }

  .logo-sub {
    font-size: 0.65rem;
  }

  /* Main Content */
  .main-content {
    padding: 0 12px 24px;
  }

  /* Product Selector — 2 per row on small phones */
  .selector-tabs {
    gap: 8px;
  }

  .selector-tab {
    flex: 0 0 calc(50% - 4px);
    padding: 10px 8px;
    font-size: 0.72rem;
    gap: 5px;
    border-radius: var(--radius-sm);
  }

  .icon-tab {
    width: 14px;
    height: 14px;
  }

  /* Product Specs — keep 2 columns but tighter */
  .product-specs {
    padding: 12px;
    gap: 10px;
  }

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

  /* Card */
  .card {
    padding: 14px;
    border-radius: var(--radius-md);
    margin-bottom: 14px;
  }

  .card-title {
    font-size: 0.95rem;
    gap: 8px;
  }

  .icon-title {
    width: 18px;
    height: 18px;
  }

  /* Timeline */
  .timeline {
    padding-left: 24px;
  }

  .timeline-content {
    padding: 12px 14px;
  }

  .timeline-stage {
    font-size: 0.82rem;
  }

  .timeline-dot {
    width: 16px;
    height: 16px;
    left: -21px;
  }

  .icon-dot {
    width: 9px;
    height: 9px;
  }

  /* Verification Card */
  .verification-icon {
    width: 48px;
    height: 48px;
  }

  .icon-shield {
    width: 22px;
    height: 22px;
  }

  .verification-title {
    font-size: 1rem;
  }

  /* Export Badge */
  .export-flag {
    font-size: 2.2rem;
  }

  .export-country {
    font-size: 1.1rem;
  }

  /* Live Farm Video */
  .play-btn {
    width: 52px;
    height: 52px;
  }

  .icon-play {
    width: 20px;
    height: 20px;
    margin-left: 3px;
  }

  .video-overlay-text {
    font-size: 0.72rem;
    padding: 0 12px;
  }

  /* Certificate Badges */
  .certificate-badge {
    padding: 12px;
    gap: 10px;
  }

  .certificate-icon {
    width: 36px;
    height: 36px;
  }

  .certificate-name {
    font-size: 0.78rem;
  }

  /* Footer */
  .footer {
    padding: 24px 16px;
  }

  .footer-star {
    width: 36px;
    height: 36px;
  }

  .footer-name {
    font-size: 1rem;
  }

  .footer-tagline {
    font-size: 0.75rem;
    margin-bottom: 18px;
  }

  .footer-links {
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }

  .footer-powered {
    flex-direction: column;
    gap: 4px;
  }

  /* Modals */
  .certificate-modal {
    padding: 8px;
  }

  .modal-content {
    padding: var(--space-md);
    border-radius: var(--radius-lg);
  }

  .location-modal {
    padding: 8px;
  }

  .location-modal-header {
    padding: 14px 16px;
  }

  .location-modal-title {
    font-size: 0.95rem;
  }

  .location-modal-marker-lg {
    width: 34px;
    height: 34px;
  }
}