/* ============ DESIGN TOKENS (matches login.php) ============
   Market green   #1B4332  – brand / primary
   Husk cream      #FAF6EE  – page background
   Harvest gold    #C89B3C  – accent / seals / ids
   Clay terracotta #B5573C  – warnings / errors / rare accent
   Sage panel      #E7EEDF  – secondary surface
   Ink             #23281F  – primary text
================================================================ */
* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

:root{
  --market-green: #1B4332;
  --market-green-deep: #0F2A20;
  --husk-cream: #FAF6EE;
  --harvest-gold: #C89B3C;
  --harvest-gold-light: #E4C878;
  --clay: #B5573C;
  --sage: #E7EEDF;
  --ink: #23281F;
  --ink-soft: #5B5647;
  --line: #E3DAC7;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 10px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--husk-cream);
  color: var(--ink);
  overflow-x: hidden;
  padding-bottom: 0;
}

img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }
.font-display { font-family: 'Fraunces', serif; }
.font-mono { font-family: 'IBM Plex Mono', monospace; }

/* shared bg texture */
.crate-lines {
  position: absolute; inset: 0; pointer-events: none;
  background-image: repeating-linear-gradient(0deg, transparent, transparent 27px, rgba(255,255,255,0.035) 27px, rgba(255,255,255,0.035) 28px);
}
.grain-cream {
  background-image:
    radial-gradient(circle at 50% 0%, rgba(200,155,60,0.10) 0%, transparent 45%),
    repeating-linear-gradient(115deg, rgba(27,67,50,0.025) 0px, rgba(27,67,50,0.025) 1px, transparent 1px, transparent 64px);
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11.5px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase;
  color: var(--harvest-gold);
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--harvest-gold); border-radius: 2px; }

.section { padding: 56px 20px; max-width: 1180px; margin: 0 auto; position: relative; }
.section-head { margin-bottom: 30px; }
.section-title {
  font-family: 'Fraunces', serif; font-weight: 650; font-size: 28px; letter-spacing: -0.4px;
  margin-top: 8px; color: var(--ink); line-height: 1.2;
}
.section-title em { font-style: normal; color: var(--market-green); }
.section-sub { font-size: 14px; color: var(--ink-soft); margin-top: 8px; max-width: 46ch; line-height: 1.55; }

/* ===================== TOP HEADER ===================== */
.topbar {
  position: sticky; top: 0; z-index: 60;
  background: rgba(250,246,238,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  max-width: 1180px; margin: 0 auto; padding: 12px 20px;
  display: flex; align-items: center; justify-content: space-between;
}
@media (max-width: 380px) {
  .topbar-inner { padding: 10px 12px; }
  .brandmark .name small { display: none; }
  .brandmark .name { font-size: 15px; }
  .btn-primary.pill { padding: 9px 14px; font-size: 12px; }
  .icon-btn { width: 34px; height: 34px; font-size: 14px; }
  .slide { padding-left: 16px; padding-right: 16px; }
  .slide-content h1 { font-size: 22px; }
}

.brandmark { display: flex; align-items: center; gap: 10px; }
.topbar-left { display: flex; align-items: center; gap: 6px; }
.brandmark .icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--market-green); color: var(--harvest-gold);
  display: flex; align-items: center; justify-content: center; font-size: 16px;
  box-shadow: 0 3px 0 rgba(15,42,32,0.25);
}
.brandmark .name { font-family: 'Fraunces', serif; font-size: 17px; font-weight: 650; color: var(--market-green-deep); line-height: 1.05; }
.brandmark .name small { display: block; font-family: 'Inter'; font-size: 8.5px; font-weight: 700; letter-spacing: 1.3px; text-transform: uppercase; color: var(--ink-soft); margin-top: 2px; }

.desktop-nav { display: none; align-items: center; gap: 28px; }
.desktop-nav a { font-size: 13.5px; font-weight: 600; color: var(--ink-soft); transition: color .15s; }
.desktop-nav a:hover { color: var(--market-green); }

.topbar-actions { display: flex; align-items: center; gap: 8px; }
.topbar-actions .icon-btn.call-btn,
.topbar-actions .btn-ghost { display: none; }
.btn-primary.pill { border-radius: 30px; padding: 10px 20px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 700; font-size: 13px; letter-spacing: 0.1px; border: none; cursor: pointer;
  border-radius: 10px; padding: 10px 16px; transition: background .15s, transform .1s;
}
.btn-ghost { background: transparent; color: var(--market-green); border: 1.5px solid var(--line); }
.btn-ghost:hover { background: var(--sage); }
.btn-primary {
  background: var(--market-green); color: #fff; border-bottom: 3px solid var(--harvest-gold); border-radius: 10px;
}
.btn-primary:hover { background: #143C29; }
.btn-primary:active { transform: translateY(1px); }
.btn-gold { background: var(--harvest-gold); color: var(--market-green-deep); border-bottom: 3px solid #A9812E; }
.btn-gold:hover { background: #D6AE55; }
.btn-block { width: 100%; height: 50px; font-size: 15px; }

.icon-btn {
  width: 38px; height: 38px; border-radius: 50%; border: none;
  background: transparent; display: flex; align-items: center; justify-content: center; color: var(--ink); font-size: 16px;
}

/* ===================== HERO SLIDER (light app-card style) ===================== */
.hero-wrap { position: relative; padding: 14px 14px 0; }
.hero-slider {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  max-width: 1180px; margin: 0 auto;
  border: 1px solid var(--line);
  box-shadow: 0 24px 50px -30px rgba(15,42,32,0.28);
}
.slide {
  display: none;
  position: relative;
  flex-direction: column; align-items: stretch; padding: 30px 22px 48px;
  color: var(--ink);
}
.slide.active { display: flex; animation: slideFadeIn .55s ease; }
@keyframes slideFadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.slide .slide-content > * { opacity: 0; transform: translateY(16px); animation: contentRise .5s ease forwards; }
.slide.active .slide-content > *:nth-child(1) { animation-delay: .08s; }
.slide.active .slide-content > *:nth-child(2) { animation-delay: .15s; }
.slide.active .slide-content > *:nth-child(3) { animation-delay: .22s; }
.slide.active .slide-content > *:nth-child(4) { animation-delay: .29s; }
@keyframes contentRise { to { opacity: 1; transform: translateY(0); } }
.slide::before { content: ""; position: absolute; inset: 0; z-index: 0; }
.slide-1::before { background: radial-gradient(circle at 85% 20%, rgba(200,155,60,0.14) 0%, transparent 42%), linear-gradient(155deg, #F1EEE0 0%, var(--husk-cream) 55%, var(--sage) 100%); }
.slide-2::before { background: radial-gradient(circle at 85% 15%, rgba(181,87,60,0.12) 0%, transparent 42%), linear-gradient(155deg, #F3ECE5 0%, var(--husk-cream) 55%, #F1E6DC 100%); }
.slide-3::before { background: radial-gradient(circle at 85% 15%, rgba(27,67,50,0.10) 0%, transparent 42%), linear-gradient(155deg, #EFF3EB 0%, var(--husk-cream) 55%, var(--sage) 100%); }
.slide-content { position: relative; z-index: 1; max-width: 480px; }

.slide-tag {
  display: inline-flex; align-items: center; gap: 8px; background: #fff;
  border: 1px solid var(--line); color: var(--market-green);
  padding: 7px 13px; border-radius: 20px; font-size: 10.5px; font-weight: 800; letter-spacing: 0.8px; text-transform: uppercase; margin-bottom: 18px;
  box-shadow: 0 6px 14px -8px rgba(15,42,32,0.25);
}
.slide-tag i { color: var(--harvest-gold); }
.slide-content h1 {
  font-family: 'Fraunces', serif; font-weight: 700; font-size: 25px; line-height: 1.24; letter-spacing: -0.4px; margin-bottom: 12px; color: var(--market-green-deep);
}
.slide-content h1 em { font-style: normal; color: var(--harvest-gold); }
.slide-content p { font-size: 13.5px; line-height: 1.6; color: var(--ink-soft); margin-bottom: 20px; max-width: 40ch; }
.slide-ctas { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---- hero illustration ---- */
.slide-visual { position: relative; z-index: 1; margin: 18px 0 0; height: 170px; }
.hero-illus { position: absolute; inset: 0; overflow: visible; width: 100%; height: 100%; }
.hero-illus .leaf {
  transform-box: view-box; transform-origin: 296px 14px;
}
.hero-illus .float1 { animation: floatCard 4s ease-in-out infinite; }
.hero-illus .float2 { animation: floatCard 4.6s ease-in-out infinite .4s; }

.hero-dots { position: relative; margin: 14px 0 4px; z-index: 2; display: flex; gap: 7px; justify-content: center; }
.hero-dots button { width: 8px; height: 8px; border-radius: 50%; border: none; background: #D8CFB8; padding: 0; }
.hero-dots button.active { background: var(--market-green); width: 22px; border-radius: 5px; transition: width .25s; }
.hero-arrow {
  display: none; position: absolute; top: 26px; z-index: 3;
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line);
  background: rgba(255,255,255,0.94); color: var(--market-green); align-items: center; justify-content: center; font-size: 12px;
  box-shadow: 0 6px 14px -8px rgba(15,42,32,0.3);
}
.hero-arrow.left { left: 14px; } .hero-arrow.right { right: 14px; }

@media (prefers-reduced-motion: reduce) {
  .hero-illus .float1, .hero-illus .float2 { animation: none; }
  .slide.active, .slide .slide-content > * { animation: none; opacity: 1; transform: none; }
}

/* ===================== TRUST STRIP ===================== */
.trust-strip {
  max-width: 1180px; margin: -30px auto 0; position: relative; z-index: 5; padding: 0 20px;
}
.trust-strip-inner {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: 0 20px 40px -25px rgba(15,42,32,0.28);
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0;
}
.trust-item {
  padding: 18px 12px; text-align: center; border-right: 1px dashed var(--line); border-bottom: 1px dashed var(--line);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.trust-item:nth-child(2n) { border-right: none; }
.trust-item .t-ic {
  width: 40px; height: 40px; border-radius: 12px; background: var(--sage); color: var(--market-green);
  display: flex; align-items: center; justify-content: center; font-size: 16px;
}
.trust-item:nth-child(2) .t-ic { color: var(--harvest-gold); background: #FBF1DC; }
.trust-item:nth-child(3) .t-ic { color: var(--clay); background: #FBEDE9; }
.trust-item strong { font-size: 12px; font-weight: 800; color: var(--ink); line-height: 1.25; }
.trust-item span { font-size: 10.5px; color: var(--ink-soft); font-weight: 500; }

/* ===================== HOME FEED HEAD (Popular Categories / Top Products) ===================== */
.feed-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 16px; }
.feed-head h3 { font-family: 'Fraunces', serif; font-size: 19px; font-weight: 650; color: var(--ink); }
.feed-head a { font-size: 12.5px; font-weight: 700; color: var(--market-green); display: inline-flex; align-items: center; gap: 4px; }

/* ---- Popular Categories tiles ---- */
.cat-tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.cat-tile {
  border-radius: var(--radius-md); padding: 16px 14px 14px; display: flex; flex-direction: column; align-items: center; gap: 12px;
  transition: transform .2s ease, box-shadow .2s ease; cursor: pointer; border: 1px solid transparent;
}
.cat-tile:hover { transform: translateY(-4px); box-shadow: 0 16px 28px -20px rgba(15,42,32,0.35); }
.cat-tile.ct-fmcg { background: var(--sage); }
.cat-tile.ct-ayur { background: #FBEFDD; }
.cat-tile.ct-agro { background: #EAF2E4; }
.cat-tile.ct-elec { background: #E9EEF0; }
.cat-tile .ct-visual {
  width: 100%; height: 78px; display: flex; align-items: center; justify-content: center; gap: 6px; position: relative;
}
.cat-tile .ct-visual i { font-size: 26px; }
.cat-tile.ct-fmcg .ct-visual i:nth-child(1) { color: var(--market-green); }
.cat-tile.ct-fmcg .ct-visual i:nth-child(2) { color: var(--harvest-gold); font-size: 20px; }
.cat-tile.ct-ayur .ct-visual i { color: #8A6A22; }
.cat-tile.ct-agro .ct-visual i { color: #3D6B2E; }
.cat-tile.ct-elec .ct-visual i { color: #3A4A46; }
.cat-tile span.ct-label { font-size: 12.5px; font-weight: 800; color: var(--ink); text-align: center; line-height: 1.25; }

/* ---- Top Products horizontal cards ---- */
.top-products-scroll { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
.top-products-scroll::-webkit-scrollbar { display: none; }
.tp-card {
  flex-shrink: 0; width: 152px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.tp-card:hover { transform: translateY(-4px); box-shadow: 0 16px 28px -20px rgba(15,42,32,0.35); }
.tp-thumb { height: 120px; position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; padding: 10px; }
.tp-thumb i { font-size: 26px; }
.tp-thumb img { width:100%; height:100%; object-fit:contain; object-position:center; display:block; }
.tp-new {
  position: absolute; top: 8px; left: 8px; background: var(--market-green); color: #fff;
  font-size: 8.5px; font-weight: 800; letter-spacing: 0.4px; text-transform: uppercase; padding: 3px 8px; border-radius: 20px;
}
.tp-body { padding: 10px 11px 12px; }
.tp-body .cat { font-size: 9px; font-weight: 700; letter-spacing: 0.4px; text-transform: uppercase; color: var(--harvest-gold); margin-bottom: 3px; }
.tp-body h5 { font-family: 'Fraunces', serif; font-size: 12.5px; font-weight: 650; color: var(--ink); line-height: 1.25; margin-bottom: 6px; min-height: 32px; }
.tp-price { font-family: 'IBM Plex Mono', monospace; font-size: 12px; font-weight: 600; color: var(--market-green); }

/* ===================== ABOUT ===================== *//* placeholder-marker */
.about-grid { display: grid; grid-template-columns: 1fr; gap: 26px; align-items: center; }
.about-visual {
  border-radius: var(--radius-lg); overflow: hidden; position: relative; height: 260px;
  background: linear-gradient(160deg, var(--market-green) 0%, var(--market-green-deep) 100%);
  display: flex; align-items: center; justify-content: center; border: 1px solid rgba(200,155,60,0.35);
}
.about-visual .crate-lines { opacity: 1; }
.about-quote {
  position: relative; z-index: 1; text-align: center; color: #F3EFE3; padding: 0 26px;
}
.about-quote i { color: var(--harvest-gold); font-size: 20px; margin-bottom: 10px; }
.about-quote p { font-family: 'Fraunces', serif; font-size: 17px; font-style: normal; line-height: 1.4; font-weight: 600; }
.about-quote span { display: block; margin-top: 10px; font-family: 'Inter'; font-size: 11px; letter-spacing: 0.6px; text-transform: uppercase; color: var(--harvest-gold-light); font-weight: 700; }

.about-copy p { font-size: 14px; line-height: 1.7; color: var(--ink-soft); margin-bottom: 14px; }
.about-badges { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.about-badge {
  display: flex; align-items: center; gap: 8px; background: var(--sage); border: 1px solid #D6E2C9;
  border-radius: var(--radius-sm); padding: 10px 14px; font-size: 12px; font-weight: 700; color: var(--market-green-deep);
}
.about-badge i { color: var(--harvest-gold); }

/* ===================== PRODUCTS ===================== */
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.product-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden;
  transition: transform .15s, box-shadow .15s;
}
.product-card:hover { transform: translateY(-3px); box-shadow: 0 16px 30px -20px rgba(15,42,32,0.35); }
.product-thumb {
  height: 150px; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden;
  background: var(--sage);
  padding: 10px;
}
.product-thumb i { font-size: 30px; color: var(--market-green); opacity: 0.8; }
.product-thumb .tag {
  position: absolute; top: 8px; left: 8px; background: var(--harvest-gold); color: var(--market-green-deep);
  font-size: 9px; font-weight: 800; letter-spacing: 0.4px; text-transform: uppercase; padding: 3px 8px; border-radius: 6px;
}
.product-body { padding: 12px 13px 14px; }
.product-body .cat { font-size: 9.5px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; color: var(--harvest-gold); margin-bottom: 4px; }
.product-body h4 { font-family: 'Fraunces', serif; font-size: 14.5px; font-weight: 600; color: var(--ink); line-height: 1.25; margin-bottom: 8px; min-height: 36px; }
.product-foot { display: flex; align-items: center; justify-content: space-between; }
.product-price { font-family: 'IBM Plex Mono', monospace; font-size: 13px; font-weight: 600; color: var(--market-green); }
.product-add {
  width: 30px; height: 30px; border-radius: 8px; background: var(--market-green); color: #fff; border: none;
  display: flex; align-items: center; justify-content: center; font-size: 12px;
}
.products-more { text-align: center; margin-top: 26px; }

/* ===================== BUSINESS BANNER ===================== */
.biz-banner {
  border-radius: var(--radius-lg); overflow: hidden; position: relative;
  background: linear-gradient(150deg, var(--market-green) 0%, var(--market-green-deep) 100%);
  padding: 34px 26px; color: #F3EFE3; border: 1px solid rgba(200,155,60,0.35);
}
.biz-banner .crate-lines { opacity: 1; }
.biz-inner { position: relative; z-index: 1; }
.biz-inner .eyebrow { color: var(--harvest-gold-light); }
.biz-inner .eyebrow::before { background: var(--harvest-gold-light); }
.biz-inner h3 { font-family: 'Fraunces', serif; font-size: 24px; font-weight: 650; margin: 10px 0 12px; line-height: 1.25; max-width: 20ch; }
.biz-inner h3 em { font-style: normal; color: var(--harvest-gold); }
.biz-inner p { font-size: 13.5px; color: #D9E5DA; line-height: 1.65; max-width: 46ch; margin-bottom: 22px; }
.biz-points { display: grid; grid-template-columns: 1fr; gap: 10px; margin-bottom: 24px; }
.biz-point { display: flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 600; color: #E7EFE4; }
.biz-point .dot { width: 26px; height: 26px; border-radius: 8px; background: rgba(200,155,60,0.15); border: 1px solid rgba(200,155,60,0.4); color: var(--harvest-gold); display: flex; align-items: center; justify-content: center; font-size: 11px; flex-shrink: 0; }
.biz-ctas { display: flex; gap: 10px; flex-wrap: wrap; }

/* ===================== ACHIEVERS / RECOGNITION BOARD ===================== */
.rank-scroll { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: none; }
.rank-scroll::-webkit-scrollbar { display: none; }
.rank-card {
  flex-shrink: 0; width: 220px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 16px 14px 14px; text-align: center; position: relative;
}
.rank-ribbon {
  position: absolute; top: -1px; right: -1px; font-size: 9px; font-weight: 800; letter-spacing: 0.4px; text-transform: uppercase;
  padding: 5px 10px; border-radius: 0 var(--radius-md) 0 12px; color: #fff;
}
.rank-gold .rank-ribbon { background: var(--harvest-gold); color: var(--market-green-deep); }
.rank-silver .rank-ribbon { background: #9AA5A0; }
.rank-supersilver .rank-ribbon { background: var(--market-green); }
.rank-avatar {
  width: 112px; height: 112px; border-radius: 50%; margin: 6px auto 12px; position: relative;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Fraunces', serif; font-weight: 700; font-size: 18px; color: #fff;
}
.rank-avatar::before {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  background: conic-gradient(from 0deg, var(--harvest-gold), transparent 30%, var(--harvest-gold-light), transparent 70%, var(--harvest-gold));
  animation: spinRing 5s linear infinite; opacity: .8;
}
.rank-avatar::after { content: ""; position: absolute; inset: -1.5px; border-radius: 50%; background: #fff; }
.rank-avatar span { position: relative; z-index: 1; width: 100%; height: 100%; border-radius: 50%; display: flex; align-items: center; justify-content: center; background-size: cover; background-position: center; }
.rank-gold .rank-avatar span { background: linear-gradient(160deg, var(--harvest-gold), #A9812E); }
.rank-silver .rank-avatar span { background: linear-gradient(160deg, #B9C2BC, #7C8983); }
.rank-supersilver .rank-avatar span { background: linear-gradient(160deg, var(--market-green), var(--market-green-deep)); }
@keyframes spinRing { to { transform: rotate(360deg); } }
.rank-card:hover .rank-avatar span { transform: scale(1.06); }
.rank-card { transition: transform .2s ease, box-shadow .2s ease; }
.rank-card:hover { transform: translateY(-5px); box-shadow: 0 18px 34px -22px rgba(15,42,32,0.4); }
.rank-card h5 { font-family: 'Fraunces', serif; font-size: 14px; font-weight: 650; color: var(--ink); margin-bottom: 3px; }
.rank-card .loc { font-size: 10.5px; color: var(--ink-soft); margin-bottom: 8px; }
.rank-card .badge-label { font-size: 10px; font-weight: 700; letter-spacing: 0.3px; padding: 4px 10px; border-radius: 20px; display: inline-block; }
.rank-gold .badge-label { background: #FBF1DC; color: #8A6A22; }
.rank-silver .badge-label { background: #EEF1F0; color: #5B6560; }
.rank-supersilver .badge-label { background: var(--sage); color: var(--market-green-deep); }

/* ===================== TEAM ===================== */
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.team-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px 18px 22px; text-align: center; }
.team-avatar {
  width: 118px; height: 118px; border-radius: 50%; margin: 0 auto 14px; position: relative;
  display: flex; align-items: center; justify-content: center;
}
.team-avatar::before {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  background: conic-gradient(from 90deg, var(--market-green), var(--harvest-gold), var(--market-green));
  opacity: 0; transition: opacity .25s ease;
}
.team-card:hover .team-avatar::before { opacity: 1; animation: spinRing 4s linear infinite; }
.team-avatar span {
  position: relative; z-index: 1; width: 100%; height: 100%; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--sage); border: 2px solid var(--harvest-gold);
  font-family: 'Fraunces', serif; font-weight: 700; font-size: 20px; color: var(--market-green-deep);
  transition: transform .25s ease;
}
.team-card:hover .team-avatar span { transform: scale(1.05); }
.team-card { transition: transform .2s ease, box-shadow .2s ease; }
.team-card:hover { transform: translateY(-5px); box-shadow: 0 18px 34px -22px rgba(15,42,32,0.35); }
.team-card h5 { font-family: 'Fraunces', serif; font-size: 15px; font-weight: 650; line-height: 1.3; margin-bottom: 5px; color: var(--ink); }
.team-card .role { font-size: 11px; font-weight: 700; color: var(--harvest-gold); letter-spacing: 0.3px; text-transform: uppercase; }

/* ===================== GALLERY ===================== */
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.gallery-item {
  position: relative; border-radius: var(--radius-sm); overflow: hidden; height: 130px; display: flex; align-items: flex-end;
}
.gallery-item::before { content: ""; position: absolute; inset: 0; transition: transform .35s ease; }
.gallery-item:hover::before { transform: scale(1.08); }
.gallery-item i { transition: transform .3s ease; }
.gallery-item:hover i { transform: scale(1.15) rotate(-4deg); }
.g1::before { background: linear-gradient(150deg, var(--market-green), var(--market-green-deep)); }
.g2::before { background: linear-gradient(150deg, var(--harvest-gold), #A9812E); }
.g3::before { background: linear-gradient(150deg, var(--clay), #8A3F2A); }
.g4::before { background: linear-gradient(150deg, #5B5647, #2E2B21); }
.g5::before { background: linear-gradient(150deg, var(--market-green-deep), #071711); }
.g6::before { background: linear-gradient(150deg, #7C8983, #3F4844); }
.gallery-item i { position: absolute; top: 12px; left: 12px; color: rgba(255,255,255,0.85); font-size: 16px; z-index: 1; }
.gallery-item span {
  position: relative; z-index: 1; color: #fff; font-size: 11px; font-weight: 700; padding: 10px 12px; letter-spacing: 0.2px;
  background: linear-gradient(0deg, rgba(0,0,0,0.35), transparent);
  width: 100%;
}

/* ===================== IMAGE VIEWER ===================== */
.image-viewer {
  position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center;
  padding: 24px; background: rgba(7,23,17,.88); backdrop-filter: blur(8px);
  opacity: 0; visibility: hidden; transition: opacity .22s ease, visibility .22s ease;
}
.image-viewer.open { opacity: 1; visibility: visible; }
.image-viewer-content { position: relative; max-width: min(1100px, 96vw); max-height: 90vh; display: flex; flex-direction: column; align-items: center; }
.image-viewer img { max-width: 100%; max-height: 78vh; width: auto; height: auto; object-fit: contain; border-radius: 14px; box-shadow: 0 24px 70px rgba(0,0,0,.45); background: #fff; }
.image-viewer-caption { margin-top: 12px; color: #fff; font-size: 13px; font-weight: 700; text-align: center; }
.image-viewer-close {
  position: fixed; top: 18px; right: 18px; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; font-size: 20px; z-index: 201;
}
.gallery-item { cursor: zoom-in; }

/* ===================== NEWS ===================== */
.news-list { display: flex; flex-direction: column; gap: 12px; }
.news-card {
  display: flex; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); padding: 14px;
  align-items: flex-start;
}
.news-date {
  flex-shrink: 0; width: 52px; height: 52px; border-radius: var(--radius-sm); background: var(--sage);
  display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--market-green-deep);
}
.news-date .d { font-family: 'IBM Plex Mono', monospace; font-weight: 700; font-size: 17px; line-height: 1; }
.news-date .m { font-size: 8.5px; font-weight: 700; letter-spacing: 0.4px; text-transform: uppercase; margin-top: 2px; }
.news-body .tag { font-size: 9.5px; font-weight: 800; color: var(--clay); text-transform: uppercase; letter-spacing: 0.4px; margin-bottom: 4px; display: block; }
.news-body h5 { font-family: 'Fraunces', serif; font-size: 14.5px; font-weight: 650; margin-bottom: 4px; line-height: 1.3; }
.news-body p { font-size: 12.5px; color: var(--ink-soft); line-height: 1.5; }

/* ===================== CONTACT ===================== */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 18px; align-items: stretch; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px 24px; height: 100%; }
.contact-row { display: flex; gap: 14px; align-items: flex-start; padding: 13px 0; border-bottom: 1px dashed var(--line); }
.contact-row:last-child { border-bottom: none; }
.contact-row .ic {
  width: 38px; height: 38px; border-radius: 10px; background: var(--sage); color: var(--market-green);
  display: flex; align-items: center; justify-content: center; font-size: 14px; flex-shrink: 0;
}
.contact-row .txt strong { display: block; font-size: 13.5px; color: var(--ink); margin-bottom: 2px; }
.contact-row .txt span { font-size: 12.5px; color: var(--ink-soft); line-height: 1.5; }

.contact-form .form-group { margin-bottom: 14px; }
.contact-form label { display: block; margin-bottom: 6px; font-weight: 600; font-size: 12.5px; color: var(--ink); }
.contact-form input, .contact-form textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; font-size: 13.5px;
  background: #FCFAF5; font-family: 'Inter'; outline: none; color: var(--ink);
}
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--market-green); box-shadow: 0 0 0 4px rgba(27,67,50,0.10); background: #fff; }
.contact-form textarea { resize: vertical; min-height: 90px; }

/* ===================== FOOTER ===================== */
footer { background: var(--market-green-deep); color: #C9E3D2; padding: 40px 20px 90px; position: relative; }
.footer-inner { max-width: 1180px; margin: 0 auto; }
.footer-top { display: flex; flex-direction: column; gap: 26px; padding-bottom: 26px; border-bottom: 1px solid rgba(255,255,255,0.1); margin-bottom: 22px; }
.footer-brand .brandmark .name { color: #F3EFE3; }
.footer-brand p { font-size: 12.5px; color: #9FB6A5; margin-top: 12px; max-width: 34ch; line-height: 1.6; }
.footer-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.footer-col h6 { font-size: 11.5px; font-weight: 800; letter-spacing: 0.6px; text-transform: uppercase; color: var(--harvest-gold-light); margin-bottom: 12px; }
.footer-col a { display: block; font-size: 12.5px; color: #B9CBBB; margin-bottom: 9px; }
.footer-social { display: flex; gap: 10px; margin-top: 4px; }
.footer-social a { width: 34px; height: 34px; border-radius: 9px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); display: flex; align-items: center; justify-content: center; font-size: 13px; }
.footer-bottom { display: flex; flex-direction: column; gap: 10px; font-size: 11.5px; color: #7E9788; text-align: center; }
.footer-bottom .seal { display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--harvest-gold-light); font-weight: 600; }

/* ===================== MOBILE APP BOTTOM NAV ===================== */
.bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 70;
  background: rgba(255,255,255,0.96); backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-around; align-items: center; padding: 8px 6px 10px;
  box-shadow: 0 -10px 24px -18px rgba(15,42,32,0.35);
}
.bn-item { display: flex; flex-direction: column; align-items: center; gap: 3px; color: var(--ink-soft); font-size: 9.5px; font-weight: 700; padding: 4px 10px; border-radius: 10px; position: relative; }
.bn-item i { font-size: 16px; }
.bn-item.active { color: var(--market-green); }
.bn-item.center {
  margin-top: -26px; background: var(--market-green); color: #fff; width: 52px; height: 52px; border-radius: 50%;
  justify-content: center; border: 4px solid var(--husk-cream); box-shadow: 0 8px 16px -6px rgba(15,42,32,0.5);
}
.bn-item.center i { font-size: 18px; }
.bn-item.center span { display: none; }

/* mobile menu drawer */
.mobile-menu-btn { display: flex; }
.drawer {
  position: fixed; inset: 0; z-index: 90; visibility: hidden;
}
.drawer.open { visibility: visible; }
.drawer-overlay { position: absolute; inset: 0; background: rgba(15,42,32,0.5); opacity: 0; transition: opacity .2s; }
.drawer.open .drawer-overlay { opacity: 1; }
.drawer-panel {
  position: absolute; top: 0; right: 0; height: 100%; width: 78%; max-width: 300px; background: var(--husk-cream);
  transform: translateX(100%); transition: transform .25s ease; padding: 24px 22px; overflow-y: auto;
}
.drawer.open .drawer-panel { transform: translateX(0); }
.drawer-panel a { display: block; padding: 13px 4px; font-size: 15px; font-weight: 650; color: var(--ink); border-bottom: 1px dashed var(--line); font-family: 'Fraunces', serif; }
.drawer-close { width: 34px; height: 34px; border-radius: 9px; background: var(--sage); border: none; color: var(--market-green); font-size: 15px; margin-bottom: 20px; }
.drawer-quick { display: flex; gap: 10px; margin-bottom: 18px; }
.drawer-quick-btn {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; border-radius: 10px; background: var(--market-green); color: #fff;
  font-size: 12.5px; font-weight: 700; border-bottom: 3px solid var(--harvest-gold);
}
.drawer-quick-btn.ghost { background: #fff; color: var(--market-green); border: 1.5px solid var(--line); border-bottom: 1.5px solid var(--line); }
#hamburgerIcon { transition: transform .2s ease; }
.mobile-menu-btn.open #hamburgerIcon { transform: rotate(90deg); }

/* pulse cta */
.btn-pulse { position: relative; }
.btn-pulse::after {
  content: ""; position: absolute; inset: 0; border-radius: 10px; border: 2px solid var(--harvest-gold);
  animation: pulseRing 2.2s ease-out infinite;
}
@keyframes pulseRing {
  0% { opacity: .9; transform: scale(1); }
  80% { opacity: 0; transform: scale(1.18); }
  100% { opacity: 0; transform: scale(1.18); }
}

/* scroll reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-stagger.in-view > * { animation: none; }
.reveal-stagger > * { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal-stagger.in-view > *:nth-child(1) { transition-delay: .02s; }
.reveal-stagger.in-view > *:nth-child(2) { transition-delay: .09s; }
.reveal-stagger.in-view > *:nth-child(3) { transition-delay: .16s; }
.reveal-stagger.in-view > *:nth-child(4) { transition-delay: .23s; }
.reveal-stagger.in-view > *:nth-child(5) { transition-delay: .30s; }
.reveal-stagger.in-view > *:nth-child(6) { transition-delay: .37s; }
.reveal-stagger.in-view > *:nth-child(7) { transition-delay: .44s; }
.reveal-stagger.in-view > *:nth-child(8) { transition-delay: .51s; }
.reveal-stagger.in-view > * { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .btn-pulse { animation: none; }
  .reveal, .reveal-stagger > * { opacity: 1; transform: none; transition: none; }
}

/* ===================== DESKTOP / LAPTOP LAYOUT ===================== */
@media (min-width: 860px) {
  body { padding-bottom: 0; }
  .desktop-nav { display: flex; }
  .mobile-menu-btn { display: none; }
  .bottom-nav { display: none; }
  .topbar-actions .icon-btn.call-btn,
  .topbar-actions .btn-ghost { display: inline-flex; }

  .hero-slider { min-height: 420px; }
  .slide { flex-direction: row; align-items: center; justify-content: space-between; padding: 40px 70px 56px; }
  .slide-content { max-width: 500px; }
  .slide-content h1 { font-size: 42px; }
  .slide-content p { font-size: 15.5px; max-width: 46ch; }
  .slide-visual { flex: 1; height: 340px; max-width: 420px; margin: 0; }
  .hero-arrow { display: flex; top: 50%; transform: translateY(-50%); }
  .hero-dots { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); margin: 0; }

  .trust-strip-inner { grid-template-columns: repeat(4, 1fr); }
  .trust-item { border-bottom: none; padding: 22px 16px; }
  .trust-item:last-child, .trust-item:nth-child(4n) { border-right: none; }

  .cat-tiles { grid-template-columns: repeat(4, 1fr); }
  .top-products-scroll { display: grid; grid-template-columns: repeat(5, 1fr); overflow: visible; }
  .tp-card { width: auto; }

  .about-grid { grid-template-columns: 1fr 1fr; gap: 50px; }
  .about-visual { height: 340px; }

  .product-grid { grid-template-columns: repeat(4, 1fr); }
  .team-grid { grid-template-columns: repeat(4, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-item { height: 160px; }

  .biz-banner { padding: 54px 60px; display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 40px; }
  .biz-inner h3 { font-size: 32px; }
  .biz-points { grid-template-columns: 1fr 1fr; }

  .rank-card { width: 240px; }

  .contact-grid { grid-template-columns: 0.9fr 1.1fr; gap: 24px; }

  .footer-top { flex-direction: row; justify-content: space-between; }
  .footer-cols { grid-template-columns: repeat(3, 1fr); }
  footer { padding-bottom: 40px; }

  .section-title { font-size: 34px; }
}

@media (min-width: 1080px) {
  .product-grid { grid-template-columns: repeat(4, 1fr); }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .slide, .hero-dots button, .drawer-panel { transition: none; }
}

/* CMS image helpers */
.product-thumb.has-image img{width:100%;height:100%;object-fit:contain;object-position:center;display:block;}
.rank-avatar img{width:100%;height:100%;border-radius:50%;object-fit:cover;object-position:center;display:block;}
.team-avatar img{width:100%;height:100%;border-radius:50%;object-fit:cover;object-position:center;display:block;}
.gallery-item img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .35s ease;}
.gallery-item:hover img{transform:scale(1.08);}
.image-viewer{position:fixed;inset:0;background:rgba(7,23,17,.92);z-index:9999;display:none;align-items:center;justify-content:center;padding:30px;}
.image-viewer.open{display:flex;}
.image-viewer-content{max-width:min(1100px,94vw);max-height:90vh;text-align:center;}
.image-viewer-content img{max-width:100%;max-height:78vh;width:auto;height:auto;object-fit:contain;border-radius:12px;box-shadow:0 25px 70px rgba(0,0,0,.45);}
.image-viewer-caption{color:#fff;margin-top:12px;font-size:14px;font-weight:700;}
.image-viewer-close{position:absolute;right:22px;top:18px;width:44px;height:44px;border:0;border-radius:50%;background:#fff;color:var(--market-green);font-size:18px;}

/* ===================== PRODUCT / PEOPLE IMAGE FIT ===================== */
.product-thumb.has-image {
  background: #fff;
}
.product-thumb.has-image img {
  max-width: 100%;
  max-height: 100%;
}

.rank-card {
  min-height: 255px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.rank-avatar {
  flex-shrink: 0;
}

.team-card {
  min-height: 250px;
}
.team-avatar {
  flex-shrink: 0;
}

/* ===================== CONTACT HELP CARD ===================== */
.contact-help-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(145deg, #ffffff 0%, #f4f7ef 100%);
}
.contact-help-card h3 {
  font-family: 'Fraunces', serif;
  font-size: 26px;
  line-height: 1.2;
  color: var(--market-green-deep);
  margin: 10px 0 12px;
}
.contact-help-card p {
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.7;
  margin: 0 0 14px;
  max-width: 52ch;
}
.contact-help-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px !important;
  font-weight: 700;
  color: var(--market-green) !important;
}
.contact-help-note i {
  color: var(--harvest-gold);
}
.btn-whatsapp {
  align-self: flex-start;
  background: #1b7f42;
  border-bottom-color: #135d31;
  margin-top: 6px;
  padding: 12px 18px;
}
.btn-whatsapp:hover {
  background: #176b39;
}
.btn-whatsapp i {
  font-size: 16px;
}

@media (max-width: 859px) {
  .product-thumb { height: 145px; }
  .rank-card { width: 225px; min-height: 250px; }
  .rank-avatar { width: 105px; height: 105px; }
  .team-card { min-height: 245px; }
  .team-avatar { width: 110px; height: 110px; }
}

/* ================================================================
   FINAL IMAGE / CARD REFINEMENTS
   ================================================================ */

/* Product images: show the complete photo without cropping */
.product-thumb.has-image {
  height: 270px;
  padding: 14px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-thumb.has-image img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain !important;
  object-position: center center;
  display: block;
  border-radius: 0;
}

/* Mobile product image */
@media (max-width: 859px) {
  .product-thumb.has-image {
    height: 220px;
    padding: 10px;
  }
}

/* Small phones */
@media (max-width: 480px) {
  .product-thumb.has-image {
    height: 205px;
    padding: 8px;
  }
}

/* Top products: complete image visible */
.tp-thumb {
  height: 170px;
  padding: 10px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.tp-thumb img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain !important;
  object-position: center;
  display: block;
}

/* ================================================================
   ACHIEVERS — BIGGER SQUARE PHOTOS
   ================================================================ */

.rank-scroll {
  gap: 18px;
}

.rank-card {
  width: 250px;
  min-height: 355px;
  padding: 18px 16px 20px;
  border-radius: var(--radius-md);
}

.rank-avatar {
  width: 185px;
  height: 185px;
  margin: 14px auto 18px;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  border: 2px solid var(--harvest-gold);
  box-shadow: 0 10px 24px rgba(15,42,32,.12);
}

.rank-avatar::before {
  display: none !important;
}

.rank-avatar::after {
  display: none !important;
}

.rank-avatar span {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  overflow: hidden;
  background: #f5f5f2 !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rank-avatar img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover !important;
  object-position: center;
  border-radius: 0 !important;
}

.rank-card h5 {
  font-size: 16px;
  margin-bottom: 5px;
}

.rank-card .loc {
  font-size: 11.5px;
  margin-bottom: 10px;
}

.rank-card .badge-label {
  font-size: 10.5px;
  padding: 5px 11px;
}

.rank-card:hover .rank-avatar span {
  transform: none;
}

/* ================================================================
   FOUNDING TEAM — BIGGER SQUARE PHOTOS
   ================================================================ */

.team-grid {
  gap: 20px;
}

.team-card {
  min-height: 365px;
  padding: 22px 18px 24px;
  border-radius: var(--radius-md);
}

.team-avatar {
  width: 190px;
  height: 190px;
  margin: 0 auto 18px;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  border: 2px solid var(--harvest-gold);
  box-shadow: 0 10px 24px rgba(15,42,32,.12);
}

.team-avatar::before {
  display: none !important;
}

.team-avatar span {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  overflow: hidden;
  background: #f5f5f2;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: none !important;
}

.team-avatar img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover !important;
  object-position: center;
  border-radius: 0 !important;
}

.team-card h5 {
  font-size: 16px;
  margin-bottom: 6px;
}

.team-card .role {
  font-size: 11px;
}

/* Larger desktop people cards */
@media (min-width: 860px) {
  .rank-card {
    width: 270px;
    min-height: 390px;
  }

  .rank-avatar {
    width: 205px;
    height: 205px;
  }

  .team-card {
    min-height: 400px;
  }

  .team-avatar {
    width: 210px;
    height: 210px;
  }
}

/* Mobile people cards */
@media (max-width: 859px) {
  .rank-card {
    width: 245px;
    min-height: 345px;
  }

  .rank-avatar {
    width: 165px;
    height: 165px;
  }

  .team-card {
    min-height: 340px;
  }

  .team-avatar {
    width: 165px;
    height: 165px;
  }
}

/* Very small phones */
@media (max-width: 480px) {
  .rank-card {
    width: 230px;
    min-height: 325px;
  }

  .rank-avatar {
    width: 145px;
    height: 145px;
  }

  .team-card {
    min-height: 310px;
    padding-left: 14px;
    padding-right: 14px;
  }

  .team-avatar {
    width: 145px;
    height: 145px;
  }
}



/* ===================== DATABASE-DRIVEN HERO SLIDE VISUALS ===================== */

.hero-product-bubbles,
.hero-achiever-cards {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

/* Featured products: small circular product cards */
.hero-product-bubble {
  width: 112px;
  min-width: 112px;
  text-align: center;
  animation: heroBubbleFloat 4.4s ease-in-out infinite;
}

.hero-product-bubble:nth-child(2) {
  margin-top: -22px;
  animation-delay: .35s;
}

.hero-product-bubble:nth-child(3) {
  margin-top: 18px;
  animation-delay: .7s;
}

.hero-product-photo {
  width: 92px;
  height: 92px;
  margin: 0 auto 8px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid rgba(200,155,60,.65);
  box-shadow: 0 16px 30px -18px rgba(15,42,32,.42);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-product-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
  padding: 8px;
}

.hero-product-photo i {
  font-size: 28px;
  color: var(--market-green);
  opacity: .55;
}

.hero-product-name {
  font-family: 'Fraunces', serif;
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--market-green-deep);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-product-price {
  margin-top: 4px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  color: var(--market-green);
}

/* Achievers: compact real DB cards */
.hero-achiever-cards {
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px 12px 26px;
}

.hero-achiever-card {
  width: min(100%, 315px);
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 11px;
  background: rgba(255,255,255,.94);
  border: 1px solid var(--line);
  border-left: 4px solid var(--harvest-gold);
  border-radius: 14px;
  box-shadow: 0 12px 24px -18px rgba(15,42,32,.4);
  animation: heroCardFloat 4.5s ease-in-out infinite;
}

.hero-achiever-card:nth-child(2) { animation-delay: .35s; }
.hero-achiever-card:nth-child(3) { animation-delay: .7s; }

.hero-achiever-card.rank-silver { border-left-color: #9AA5A0; }
.hero-achiever-card.rank-supersilver { border-left-color: var(--market-green); }

.hero-achiever-photo {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--sage);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-achiever-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.hero-achiever-photo i {
  font-size: 21px;
  color: var(--market-green);
  opacity: .55;
}

.hero-achiever-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  text-align: left;
}

.hero-achiever-info strong {
  font-family: 'Fraunces', serif;
  font-size: 13px;
  line-height: 1.2;
  color: var(--market-green-deep);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-achiever-info span {
  margin-top: 2px;
  font-size: 9.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .4px;
  color: var(--harvest-gold);
}

.hero-achiever-info small {
  margin-top: 2px;
  font-size: 9px;
  color: var(--ink-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@keyframes heroBubbleFloat {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes heroCardFloat {
  0%,100% { transform: translateX(0); }
  50% { transform: translateX(-5px); }
}

@media (max-width: 859px) {
  .hero-product-bubbles {
    gap: 8px;
    padding: 0 4px;
  }

  .hero-product-bubble {
    width: 88px;
    min-width: 88px;
  }

  .hero-product-photo {
    width: 72px;
    height: 72px;
  }

  .hero-product-name {
    font-size: 9px;
  }

  .hero-product-price {
    font-size: 8.5px;
  }

  .hero-achiever-cards {
    padding: 6px 8px 6px 18px;
    gap: 7px;
  }

  .hero-achiever-card {
    width: 100%;
    padding: 7px 8px;
  }

  .hero-achiever-photo {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
  }

  .hero-achiever-info strong {
    font-size: 11.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-product-bubble,
  .hero-achiever-card {
    animation: none;
  }
}

/* Keep hero illustrations from showing old SVG artwork */
.slide-products-visual .hero-illus,
.slide-achievers-visual .hero-illus {
  display: none;
}


/* ================================================================
   MOBILE FOUNDING TEAM — RESPONSIVE HORIZONTAL SLIDER
   UI ONLY: no PHP / database logic changed
   ================================================================ */
@media (max-width: 859px) {
  #team .team-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    width: 100%;
    gap: 14px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 4px 2px 14px;
    margin: 0;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 2px;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    touch-action: pan-x;
    scrollbar-width: none;
  }

  #team .team-grid::-webkit-scrollbar {
    display: none;
  }

  #team .team-card {
    flex: 0 0 82vw;
    width: 82vw;
    max-width: 330px;
    min-width: 0;
    min-height: 0;
    height: auto;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    padding: 18px 14px 20px;
    margin: 0;
  }

  #team .team-avatar {
    width: min(58vw, 190px);
    height: min(58vw, 190px);
    margin: 0 auto 16px;
  }

  #team .team-card h5 {
    font-size: 16px;
    line-height: 1.3;
    margin-bottom: 6px;
    overflow-wrap: anywhere;
  }

  #team .team-card .role {
    font-size: 10.5px;
    line-height: 1.35;
    white-space: normal;
  }
}

@media (max-width: 480px) {
  #team .team-grid {
    gap: 12px;
    padding-left: 2px;
    padding-right: 2px;
  }

  #team .team-card {
    flex-basis: calc(100vw - 58px);
    width: calc(100vw - 58px);
    max-width: 300px;
    padding: 16px 12px 18px;
  }

  #team .team-avatar {
    width: min(56vw, 165px);
    height: min(56vw, 165px);
  }
}

/* Prevent the team slider from creating page-level horizontal overflow */
@media (max-width: 859px) {
  #team {
    overflow: hidden;
  }
}