/* ============================================
   AurMango — Global Stylesheet
   Clean & Modern with Mango-Yellow Accents
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  --mango-50: #FFF9E6;
  --mango-100: #FFF0B3;
  --mango-200: #FFE680;
  --mango-300: #FFDB4D;
  --mango-400: #FFD11A;
  --mango-500: #F5A623;
  --mango-600: #E6950A;
  --mango-700: #CC7A00;
  --mango-800: #995C00;
  --mango-900: #664000;

  --leaf-50: #F0FDF4;
  --leaf-100: #DCFCE7;
  --leaf-200: #BBF7D0;
  --leaf-300: #86EFAC;
  --leaf-400: #4ADE80;
  --leaf-500: #22C55E;
  --leaf-600: #16A34A;
  --leaf-700: #15803D;
  --leaf-800: #166534;
  --leaf-900: #14532D;

  --white: #FFFFFF;
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;
  --gray-900: #111827;

  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body: 'DM Sans', 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.08), 0 8px 10px -6px rgba(0,0,0,0.04);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1200px;
}

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

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

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray-800);
  background: var(--white);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--mango-600); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--mango-700); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--gray-900);
  line-height: 1.2;
}

/* --- Mango Pattern Background (SVG) --- */
.mango-pattern-bg {
  background-color: var(--mango-50);
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23f5a623' fill-opacity='0.06'%3E%3Cpath d='M30 10c5.5 0 10 6.7 10 15s-4.5 15-10 15-10-6.7-10-15S24.5 10 30 10z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.leaf-pattern-bg {
  background-color: var(--leaf-50);
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2322c55e' fill-opacity='0.05'%3E%3Cpath d='M40 20c0 0 15 5 15 20s-15 20-15 20-15-5-15-20 15-20 15-20z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* --- Layout Utilities --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 80px 0; }
.section--sm { padding: 48px 0; }

.grid {
  display: grid;
  gap: 24px;
}
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid--4, .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .section { padding: 48px 0; }
  .container { padding: 0 16px; }
}

.text-center { text-align: center; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }

/* --- Typography --- */
.heading-xl {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 400;
  letter-spacing: -0.02em;
}
.heading-lg {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 400;
  letter-spacing: -0.01em;
}
.heading-md {
  font-size: clamp(1.3rem, 3vw, 1.75rem);
  font-weight: 400;
}
.heading-sm {
  font-size: 1.15rem;
  font-weight: 400;
}
.text-lg { font-size: 1.125rem; }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.text-muted { color: var(--gray-500); }
.text-mango { color: var(--mango-600); }
.text-leaf { color: var(--leaf-600); }
.font-semibold { font-weight: 600; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--mango-600);
  margin-bottom: 12px;
}
.section-label svg { width: 18px; height: 18px; }

.section-subtitle {
  font-size: 1.1rem;
  color: var(--gray-500);
  max-width: 600px;
  margin: 12px auto 0;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  line-height: 1.4;
}
.btn svg { width: 18px; height: 18px; }

.btn--primary {
  background: var(--mango-500);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(245, 166, 35, 0.3);
}
.btn--primary:hover {
  background: var(--mango-600);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(245, 166, 35, 0.35);
}

.btn--outline {
  background: transparent;
  color: var(--mango-600);
  border: 2px solid var(--mango-300);
}
.btn--outline:hover {
  background: var(--mango-50);
  border-color: var(--mango-500);
  color: var(--mango-700);
}

.btn--white {
  background: var(--white);
  color: var(--mango-700);
}
.btn--white:hover {
  background: var(--mango-50);
  transform: translateY(-1px);
}

.btn--sm { padding: 8px 20px; font-size: 0.85rem; }
.btn--lg { padding: 16px 36px; font-size: 1.05rem; }

/* --- Header & Navigation --- */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-100);
  transition: box-shadow var(--transition);
}
.header.scrolled { box-shadow: var(--shadow-md); }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo__icon {
  width: 40px;
  height: 40px;
}
.logo__text {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--gray-900);
}
.logo__text span { color: var(--mango-500); }

.nav { display: flex; align-items: center; gap: 8px; }
.nav__link {
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-600);
  border-radius: var(--radius-full);
  transition: all var(--transition);
}
.nav__link:hover, .nav__link--active {
  color: var(--mango-700);
  background: var(--mango-50);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--gray-700);
}
.nav-toggle svg { width: 28px; height: 28px; }

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 16px 24px;
    border-bottom: 1px solid var(--gray-200);
    transform: translateY(-120%);
    transition: transform 0.3s ease;
    box-shadow: var(--shadow-lg);
  }
  .nav.open { transform: translateY(0); }
  .nav__link { width: 100%; padding: 12px 16px; }
}

/* --- Hero --- */
.hero {
  position: relative;
  padding: 100px 0 80px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--mango-50) 0%, var(--white) 50%, var(--leaf-50) 100%);
}
.hero::before {
  content: '';
  position: absolute;
  top: -60%;
  right: -20%;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 166, 35, 0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -40%;
  left: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--mango-100);
  color: var(--mango-800);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero__title {
  font-size: clamp(2.5rem, 5.5vw, 3.8rem);
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--gray-900);
}
.hero__title span {
  color: var(--mango-500);
  position: relative;
}
.hero__title span::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 100%;
  height: 6px;
  background: var(--mango-200);
  border-radius: 3px;
  z-index: -1;
}

.hero__desc {
  font-size: 1.15rem;
  color: var(--gray-500);
  margin-bottom: 32px;
  max-width: 500px;
  line-height: 1.8;
}

.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--gray-200);
}
.hero__stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--mango-600);
}
.hero__stat-label {
  font-size: 0.85rem;
  color: var(--gray-500);
}

@media (max-width: 768px) {
  .hero { padding: 60px 0 48px; }
  .hero__inner { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero__desc { margin: 0 auto 32px; }
  .hero__actions { justify-content: center; }
  .hero__stats { justify-content: center; gap: 24px; }
  .hero__visual { order: -1; }
  .hero__visual svg { max-width: 280px; }
}

/* --- Cards --- */
.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}
.card:hover {
  border-color: var(--mango-200);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.card__img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: var(--mango-50);
}

.card__body { padding: 24px; }
.card__tag {
  display: inline-block;
  background: var(--mango-100);
  color: var(--mango-800);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 10px;
}
.card__title {
  font-size: 1.2rem;
  margin-bottom: 8px;
}
.card__title a { color: var(--gray-900); }
.card__title a:hover { color: var(--mango-600); }
.card__desc {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.6;
  margin-bottom: 16px;
}
.card__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.8rem;
  color: var(--gray-400);
}
.card__meta svg { width: 14px; height: 14px; }

/* --- Seller Card --- */
.seller-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--transition);
  position: relative;
}
.seller-card:hover {
  border-color: var(--mango-200);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.seller-card__header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.seller-card__logo-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--gray-200);
  overflow: hidden;
  padding: 6px;
}
.seller-card__logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
}
.seller-card__logo-initials {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--mango-600);
  line-height: 1;
  align-items: center;
  justify-content: center;
}
.seller-card__name {
  font-size: 1.1rem;
  color: var(--gray-900);
  margin-bottom: 2px;
}
.seller-card__name a { color: inherit; }
.seller-card__name a:hover { color: var(--mango-600); }
.seller-card__region {
  font-size: 0.8rem;
  color: var(--gray-500);
  display: flex;
  align-items: center;
  gap: 4px;
}
.seller-card__region svg { /* handled globally */ }

.seller-card__details {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}
.seller-card__detail {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--gray-600);
}
.seller-card__detail svg { /* handled globally */ }

.seller-card__varieties {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}
.variety-tag {
  display: inline-block;
  background: var(--leaf-50);
  color: var(--leaf-700);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  border: 1px solid var(--leaf-100);
}

.seller-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--gray-100);
}
.seller-card__price {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--mango-600);
}
.seller-card__price small {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--gray-400);
  font-weight: 400;
}

/* --- Breadcrumb --- */
.breadcrumb {
  padding: 16px 0;
  font-size: 0.85rem;
}
.breadcrumb__list {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  flex-wrap: wrap;
}
.breadcrumb__sep { color: var(--gray-300); }
.breadcrumb__list a { color: var(--gray-500); }
.breadcrumb__list a:hover { color: var(--mango-600); }
.breadcrumb__list .current { color: var(--gray-800); font-weight: 500; }

/* --- Page Header (internal pages) --- */
.page-header {
  padding: 48px 0;
  background: linear-gradient(135deg, var(--mango-50) 0%, var(--white) 100%);
  border-bottom: 1px solid var(--gray-100);
}
.page-header__title { margin-bottom: 8px; }
.page-header__subtitle {
  font-size: 1.1rem;
  color: var(--gray-500);
  max-width: 600px;
}

/* --- Seller Detail Page --- */
.seller-profile {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 768px) {
  .seller-profile { grid-template-columns: 1fr; }
}

.seller-profile__logo-wrap {
  width: 100px;
  height: 100px;
  background: var(--white);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--gray-200);
  margin-bottom: 20px;
  overflow: hidden;
  padding: 12px;
}
.seller-profile__logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
}
.seller-profile__logo-initials {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--mango-500);
  align-items: center;
  justify-content: center;
}

.seller-info-table {
  width: 100%;
  border-collapse: collapse;
}
.seller-info-table tr { border-bottom: 1px solid var(--gray-100); }
.seller-info-table th {
  text-align: left;
  padding: 12px 16px 12px 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-500);
  width: 140px;
  vertical-align: top;
}
.seller-info-table td {
  padding: 12px 0;
  font-size: 0.95rem;
  color: var(--gray-800);
}

.sidebar-box {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 24px;
}
.sidebar-box__title {
  font-size: 1rem;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--gray-200);
}

/* --- Variety Detail --- */
.variety-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 768px) {
  .variety-hero { grid-template-columns: 1fr; }
}

.variety-hero__img {
  width: 100%;
  height: 400px;
  background: var(--mango-50);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.variety-hero__img svg { width: 60%; height: auto; }

.fact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 32px 0;
}
.fact-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
}
.fact-card__icon { margin-bottom: 8px; }
.fact-card__icon svg { /* handled globally */ }
.fact-card__label { font-size: 0.75rem; color: var(--gray-400); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 4px; }
.fact-card__value { font-family: var(--font-display); font-size: 1.1rem; color: var(--gray-900); }

/* --- Region Detail --- */
.region-map-placeholder {
  width: 100%;
  height: 300px;
  background: var(--leaf-50);
  border: 2px dashed var(--leaf-200);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--leaf-500);
  font-size: 0.9rem;
  margin-bottom: 32px;
}

/* --- Tags / Chips --- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  font-size: 0.8rem;
  font-weight: 500;
  border-radius: var(--radius-full);
  border: 1px solid;
  transition: all var(--transition);
}
.tag--mango { background: var(--mango-50); color: var(--mango-700); border-color: var(--mango-200); }
.tag--leaf { background: var(--leaf-50); color: var(--leaf-700); border-color: var(--leaf-200); }
.tag--gray { background: var(--gray-50); color: var(--gray-600); border-color: var(--gray-200); }

/* --- Interlink Section --- */
.interlink-section {
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin: 32px 0;
}
.interlink-section__title {
  font-size: 1.1rem;
  margin-bottom: 16px;
}
.interlink-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}
.interlink-list a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  color: var(--gray-700);
  transition: all var(--transition);
}
.interlink-list a:hover {
  border-color: var(--mango-300);
  background: var(--mango-50);
  color: var(--mango-700);
}
.interlink-list a svg { width: 14px; height: 14px; }

/* --- Footer --- */
.footer {
  background: var(--gray-900);
  color: var(--gray-400);
  padding: 64px 0 32px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
@media (max-width: 768px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer__grid { grid-template-columns: 1fr; }
}

.footer__brand-desc {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-top: 16px;
  color: var(--gray-500);
}
.footer__heading {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-300);
  margin-bottom: 16px;
}
.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__links a {
  font-size: 0.9rem;
  color: var(--gray-500);
  transition: color var(--transition);
}
.footer__links a:hover { color: var(--mango-400); }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--gray-600);
  flex-wrap: wrap;
  gap: 12px;
}

/* --- CTA Banner --- */
.cta-banner {
  background: linear-gradient(135deg, var(--mango-500) 0%, var(--mango-600) 100%);
  color: var(--white);
  padding: 64px;
  border-radius: var(--radius-xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
}
.cta-banner h2 { color: var(--white); margin-bottom: 12px; }
.cta-banner p { color: rgba(255,255,255,0.85); margin-bottom: 24px; }
@media (max-width: 640px) {
  .cta-banner { padding: 40px 24px; }
}

/* --- FAQ / Accordion --- */
.faq-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-item__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: var(--white);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--gray-800);
  border: none;
  width: 100%;
  text-align: left;
  font-family: var(--font-body);
  transition: background var(--transition);
}
.faq-item__q:hover { background: var(--gray-50); }
.faq-item__q svg { width: 20px; height: 20px; transition: transform 0.3s; flex-shrink: 0; }
.faq-item.open .faq-item__q svg { transform: rotate(180deg); }
.faq-item__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-item.open .faq-item__a { max-height: 500px; }
.faq-item__a-inner {
  padding: 0 20px 20px;
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.7;
}

/* --- Prose content --- */
.prose { max-width: 720px; }
.prose p { margin-bottom: 16px; }
.prose h2 { margin: 32px 0 12px; font-size: 1.5rem; }
.prose h3 { margin: 24px 0 8px; font-size: 1.2rem; }
.prose ul, .prose ol { margin: 0 0 16px 24px; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--mango-600); text-decoration: underline; }

/* --- Animations --- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-in {
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
}
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* --- Skip to content (a11y) --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  padding: 12px 24px;
  background: var(--mango-500);
  color: var(--white);
  border-radius: var(--radius-md);
  z-index: 10000;
  font-weight: 600;
}
.skip-link:focus { top: 16px; }

/* --- Global inline SVG icon sizing --- */
/* Prevent any SVG icon from blowing up */
svg:not(.hero-illustration):not(.logo__icon svg) {
  max-width: 100%;
}
/* All inline SVGs inside links, buttons, spans, tds default to icon size */
a svg, button svg, td svg, th svg, span svg, p svg, li svg, div svg, h1 svg, h2 svg, h3 svg {
  width: 1em;
  height: 1em;
  vertical-align: -0.125em;
  flex-shrink: 0;
}
/* Override for specific larger icon contexts */
.hero__visual svg { width: 100%; height: auto; max-width: 460px; }
.logo__icon svg { width: 40px; height: 40px; }
.section-label svg { width: 18px; height: 18px; }
.card__meta svg { width: 14px; height: 14px; }
.seller-card__region svg { width: 12px; height: 12px; }
.seller-card__detail svg { width: 16px; height: 16px; }
.fact-card__icon svg { width: 32px; height: 32px; margin: 0 auto; }
.faq-item__q svg { width: 20px; height: 20px; }
.interlink-list a svg { width: 14px; height: 14px; }
.btn svg { width: 18px; height: 18px; }
.nav-toggle svg { width: 28px; height: 28px; }
/* Table inline icons */
.seller-info-table a svg { width: 14px; height: 14px; display: inline; vertical-align: -0.1em; }
.seller-info-table td svg { width: 14px; height: 14px; display: inline; vertical-align: -0.1em; }
/* Variety hero illustration */
.variety-hero__img svg { width: 60%; height: auto; }
/* Region card icon */
.card__img svg { width: 48px; height: 48px; }
