/* frontend/main.css */

/* ===================== CSS VARIABLES (EDIT HERE ONLY) ===================== */
:root{
  --brand: #f36b21;
  --brand-deep: #eb4d04;
  --brand-soft: rgba(243,107,33,.12);

  --bg: #f7f7f5;
  --card: #ffffff;
  --line: rgba(15, 23, 42, 0.08);

  --text: #0f172a;
  --muted: rgba(15, 23, 42, 0.72);
  --muted2: rgba(15, 23, 42, 0.52);

  --shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
  --shadow-soft: 0 6px 18px rgba(15, 23, 42, 0.06);

  --r-md: 14px;
  --r-sm: 12px;

  --topbar-h: 44px;
  --tabs-h: 40px;
  --catline-h: 40px;
  --bottomnav-h: 64px;
  --signin-h: 58px;

  --maxw: 1180px;
  --pad: 14px;

  --font: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

/* ===================== BASE ===================== */
*{ box-sizing:border-box; }
html, body{ height:100%; }
body{
  margin:0;
  font-family:var(--font);
  background:var(--bg);
  color:var(--text);
}
*{ scrollbar-width: none; }
*::-webkit-scrollbar{ width:0; height:0; }
a{ color:inherit; text-decoration:none; }
button{ font-family:inherit; }

.page{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.topStackSpacer{
  height: calc(var(--topbar-h) + var(--tabs-h) + var(--catline-h));
}
.bottomSpace{
  height: calc(var(--bottomnav-h) + var(--signin-h) + 18px);
}

/* ===================== FIXED TOP STACK ===================== */
.topStack{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--bg);
  z-index: 110;
  border-bottom: 1px solid var(--line);
}

/* A) top bar */
.topBar{
  position: relative;
  height: var(--topbar-h);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 var(--pad);
  max-width: var(--maxw);
  margin: 0 auto;
  background: var(--bg);
}

.brand{
  display:flex;
  align-items:center;
  gap:8px;
  font-weight: 600;
  font-family: "Sora", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  letter-spacing: -0.2px;
  white-space: nowrap;
  font-size: larger;
}

.brand__icon{ color: var(--brand); }
.brand__text{ color: var(--brand); }

.searchWrap{
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
}
.searchWrap__icon{
  position: absolute;
  left: 12px;
  color: var(--muted2);
  font-size: 14px;
}
.searchInput{
  width: 100%;
  height: 34px;
  padding: 0 12px 0 34px;
  border: 1px solid rgba(15, 23, 42, 0.16);
  background: var(--card);
  border-radius: 999px;
  outline: none;
  font-size: 13.5px;
}
.searchInput:focus{
  border-color: rgba(243, 107, 33, .55);
  box-shadow: 0 0 0 4px var(--brand-soft);
}

/* ===================== SEARCH PLACEHOLDER FLIP ===================== */
.searchWrap{ position: relative; }

.searchFlipBox{
  position: absolute;
  left: 34px;
  right: 12px;
  height: 34px;
  display: flex;
  align-items: center;
  pointer-events: none;
  overflow: hidden;
  color: var(--muted2);
  font-size: 13.5px;
}
.searchFlipTrack{
  position: relative;
  width: 100%;
  height: 18px;
  overflow: hidden;
}
.searchFlipLine{
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transform: translateY(0);
  opacity: 1;
}
.searchFlipLine--next{
  transform: translateY(100%);
  opacity: 0;
}
.searchWrap.isTyping .searchFlipBox,
.searchWrap.isFocused .searchFlipBox{ opacity: 0; }

@keyframes placeholderOutUp{
  from { transform: translateY(0); opacity: 1; }
  to   { transform: translateY(-100%); opacity: 0; }
}
@keyframes placeholderInUp{
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.searchFlipTrack.isFlipping .searchFlipLine--current{
  animation: placeholderOutUp 0.42s ease forwards;
}
.searchFlipTrack.isFlipping .searchFlipLine--next{
  animation: placeholderInUp 0.42s ease forwards;
}

/* B) tabs bar */
.tabsBar{
  height: var(--tabs-h);
  display:flex;
  align-items:center;
  gap: 18px;
  padding: 0 var(--pad);
  max-width: var(--maxw);
  margin: 0 auto;
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.tab{
  height: 100%;
  display: inline-flex;
  align-items:center;
  padding: 0 6px;
  font-weight: 600;
  font-size: large;
  color: var(--muted);
  position: relative;
}
.tab--active{
  color: var(--text);
  font-weight: 600;
}
.tab--active::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom: 0;
  height: 2px;
  background: var(--text);
  border-radius: 0;
}

/* C) category line bar */
.catLineBar{
  height: var(--catline-h);
  display:flex;
  align-items: stretch;              /* ✅ important */
  gap: 10px;
  padding: 0 var(--pad);
  max-width: var(--maxw);
  margin: 0 auto;
  border-top: 0;
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;

  /* ✅ gives space for the indicator to sit lower */
  padding-bottom: 8px;
  background: var(--bg)
}

.catLine{
  display:flex;
  align-items:center;
  gap: 12px;
  flex: 1;
  min-width: 0;
  white-space: nowrap;

  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}
.catPill{
  border: 0;
  background: transparent;
  padding: 0;
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
  font-size: medium;
  cursor: pointer;
  scroll-snap-align: start;

  position: relative;
  height: 100%;
  display: inline-flex;
  align-items: center;
}
.catPill--active{
  color: var(--text);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 9px;
}

.catPill--active::after{
  content:"";
  position:absolute;
  left: 6px;
  right: 6px;
  bottom: -1px;          /* creates that “space” you want */
  height: 1px;
  background: var(--text);
  border-radius: 999px;
}

.catPill--skeleton{
  width: 52px;
  height: 12px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.08);
}
.catFade{
  position:absolute;
  right: 42px;
  top: 0;
  height: 100%;
  width: 80px;
  pointer-events:none;
  }
.catDropBtn{
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  display:flex;
  font-size: large;
  align-items:center;
  justify-content:center;
  color: var(--muted);
  cursor:pointer;
}

/* ===================== SUBCATEGORY ROW ===================== */
.subcatBar{
  background: var(--bg);
  border-top: 0;
  padding: 6px var(--pad) 4px;
  margin-top: 0;
}


.subcatBar--hidden{
  display: none;
}

.subcatRow{
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 2px 2px 8px;

  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}

/* Subcategory chip */
.subcatChip{
  flex: 0 0 auto;
  width: 64px;
  text-align: center;
  scroll-snap-align: start;
  cursor: pointer;
}

.subcatCircle{
  width: 52px;
  height: 52px;
  margin: 0 auto;
  border-radius: 999px;
  background: rgba(15,23,42,0.06);
  background-size: cover;
  background-position: center;
  border: 0;
  box-shadow: var(--shadow-soft);
}

.subcatLabel{
  margin-top: 6px;
  font-size: 11px;
  font-weight: 1;
  color: var(--text);
  line-height: 1.1;
}

/* ===================== TRUST STRIP ===================== */
.trustStrip{
  margin-top: 6px;
  display:flex;
  gap: 10px;
  overflow-x: auto;
  padding: 8px 2px;
}

.trustChip{
  flex: 0 0 auto;
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 10px 12px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 0;
  font-size: 12.5px;
  color: var(--muted);
  box-shadow: var(--shadow-soft);
}
.trustChip i{ color: var(--brand); font-weight: 700; font-size: large;}
.trustChip span{
  font-weight: 700;
  font-size: medium;
  color: var(--text);
}
.trustChip--clickable{
  color: var(--text);
  font-weight: 700;
}

/* ===================== SECTIONS ===================== */
.section{ margin-top: 16px; }

.sectionHead{
  display:flex;
  align-items:flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: var(--shadow-soft);
}
.sectionHead--accent{
  background: linear-gradient(135deg, var(--brand-soft), rgba(255,255,255,1));
}
.sectionHead--soft{
  background: linear-gradient(135deg, rgba(243,107,33,.08), rgba(255,255,255,1));
}
.sectionHead__left{ min-width: 0;}

.sectionHead__left i{
  display: inline;
}

.sectionTitle{
  margin: 0;
  font-size: large;
  letter-spacing: -0.2px;
}
.sectionSub{
  margin: 6px 0 0;
  color: var(--muted);
  font-size: small;
  line-height: 1.25;
}
.sectionGo{
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(15, 23, 42, 0.05);
  border: 1px solid var(--line);
  flex: 0 0 auto;
}
.sectionGo i{ color: var(--text); }
.simpleHead{ padding: 0 2px; }

/* ===================== HORIZONTAL PRODUCT ROW ===================== */
.hScroll{
  margin-top: 10px;
  display:flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 2px 8px;
}

/* ===================== PRODUCT CARD ===================== */
.pCard{
  flex: 0 0 auto;
  width: 150px;
  border-radius: var(--r-md);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  cursor: pointer;
}
.pCard__img{
  height: 120px;
  width: 100%;
  background: rgba(15, 23, 42, 0.06);
  background-size: cover;
  background-position: center;
}
.pCard__body{ padding: 10px 10px 12px; }
.pPrice{
  font-weight: 900;
  letter-spacing: -0.2px;
  font-size: 14px;
}
.pMoq{
  margin-top: 4px;
  font-size: 12px;
  color: var(--muted);
}
.pName{
  margin: 2px 0 6px;
  font-size: 13px;
  font-weight: 800;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pRange{
  font-size: 12.5px;
  color: var(--muted);
  font-weight: 700;
}
.pSwitch{
  margin-top: 6px;
  font-size: 12px;
  color: var(--muted2);
  font-weight: 700;
}
.pSwitch--pop{ color: var(--brand); }

.pCard--skeleton{
  position: relative;
  overflow: hidden;
}
.pCard--skeleton::before{
  content:"";
  display:block;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(15,23,42,0.06),
    rgba(15,23,42,0.10),
    rgba(15,23,42,0.06)
  );
  animation: shimmer 1.1s infinite linear;
}
@keyframes shimmer{
  0%{ transform: translateX(-60%); }
  100%{ transform: translateX(60%); }
}

/* ✅ Brand emphasis rules per section */
.pPrice--brand{
  color: var(--brand);
}

.pMoq--brand{
  color: var(--brand);
  font-weight: 900;
}
/* ===================== CATEGORY ICON GRID ===================== */
.catGrid{
  margin-top: 10px;
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.catIconCard{
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 12px 8px;
  text-align:center;
  box-shadow: var(--shadow-soft);
}
.catIcon{
  width: 44px;
  height: 44px;
  margin: 0 auto 8px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.16);
  display:flex;
  align-items:center;
  justify-content:center;
  color: var(--brand);
}
.catLabel{
  font-size: 12px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.15;
}
.catIconCard--skeleton{
  height: 88px;
  position: relative;
  overflow:hidden;
}
.catIconCard--skeleton::before{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(
    90deg,
    rgba(15,23,42,0.06),
    rgba(15,23,42,0.10),
    rgba(15,23,42,0.06)
  );
  animation: shimmer 1.1s infinite linear;
}

/* ===================== MOBILE: 2-ROW HORIZONTAL CATEGORY SCROLL ===================== */
.catRow{ display: none; }

@media (max-width: 520px){
  html, body{ overflow-x: hidden; }
  .catGrid{ display: block; }
  .catRow{
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 2px 2px 8px;
    -webkit-overflow-scrolling: touch;
  }
  .catRow .catIconCard{ flex: 0 0 120px; }
  .catGrid > .catIconCard--skeleton{ display: none; }
}

/* ===================== 🔴 CHANGED: CAROUSEL FIX (RESTORE GRID) ===================== */
.carousel{
  display: grid;
  gap: 12px;
}

/* slide styles unchanged */
.slide{
  border-radius: var(--r-md);
  overflow:hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  background: var(--card);
  position: relative;
  min-height: 140px;
  display:flex;
}
.slide__bg{
  position:absolute;
  inset:0;
  background: radial-gradient(circle at 20% 20%, rgba(243,107,33,.18), transparent 55%),
              radial-gradient(circle at 80% 30%, rgba(15,23,42,.08), transparent 55%),
              linear-gradient(135deg, rgba(255,255,255,1), rgba(247,247,245,1));
}
.slide__bg--alt{
  background: radial-gradient(circle at 30% 25%, rgba(243,107,33,.14), transparent 55%),
              radial-gradient(circle at 80% 70%, rgba(15,23,42,.10), transparent 55%),
              linear-gradient(135deg, rgba(255,255,255,1), rgba(247,247,245,1));
}
.slide__bg--alt2{
  background: radial-gradient(circle at 20% 75%, rgba(243,107,33,.14), transparent 55%),
              radial-gradient(circle at 85% 25%, rgba(15,23,42,.10), transparent 55%),
              linear-gradient(135deg, rgba(255,255,255,1), rgba(247,247,245,1));
}
.slide__content{
  position: relative;
  padding: 14px;
  display:flex;
  flex-direction: column;
  gap: 6px;
}
.slide__content h3{
  margin:0;
  font-size: 15px;
  letter-spacing: -0.2px;
}
.slide__content p{
  margin:0;
  font-size: 12.5px;
  color: var(--muted);
  max-width: 45ch;
}
.slide__cta{
  margin-top: auto;
  display:inline-flex;
  align-items:center;
  gap: 8px;
  font-weight: 900;
  color: var(--brand);
  font-size: 12.5px;
}

/* ===================== SLIDE-UP SHEET ===================== */
.sheet{ position: fixed; inset: 0; z-index: 120; }
.sheet--hidden{ display:none; }
.sheet__overlay{ position:absolute; inset:0; background: rgba(15, 23, 42, 0.42); }
.sheet__panel{
  position:absolute; left: 0; right: 0; bottom: 0;
  background: var(--card);
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  box-shadow: var(--shadow);
  max-height: calc(70vh - var(--bottomnav-h));
  display:flex;
  flex-direction: column;
}
.sheet__head{
  padding: 14px var(--pad);
  display:flex;
  align-items:center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.sheet__head h3{ margin:0; font-size: 14px; font-weight: 900; }
.sheet__close{
  width: 34px; height: 34px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(15, 23, 42, 0.04);
  cursor:pointer;
}
.sheet__body{
  padding: 10px var(--pad) 14px;
  overflow-y: auto;
}
.sheetItem{
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg);
  margin-bottom: 10px;
}
.sheetItem--skeleton{ position: relative; overflow:hidden; }
.sheetItem--skeleton::before{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(
    90deg,
    rgba(15,23,42,0.06),
    rgba(15,23,42,0.10),
    rgba(15,23,42,0.06)
  );
  animation: shimmer 1.1s infinite linear;
}

/* ===================== SIGN-IN STRIP ===================== */
.signStrip{
  position: fixed;
  left: 0; right: 0;
  bottom: var(--bottomnav-h);
  height: var(--signin-h);
  z-index: 70;
  background: rgb(247, 214, 123);
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 calc(var(--pad) + 2px)
}
.signStrip__text{
  color: #383333;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: -0.1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.signStrip__btn{
  flex: 0 0 auto;
  background: var(--brand-deep);
  color: #fff;
  font-weight: 900;
  font-size: 12.5px;
  padding: 12px 16px;
  border-radius: 999px;
  box-shadow: 0 10px 18px rgba(0,0,0,0.15);
}

/* ===================== FIXED BOTTOM NAV ===================== */
.bottomNav{
  position: fixed;
  left: 0; right: 0; bottom: 0;
  height: var(--bottomnav-h);
  background: var(--bg);
  border-top: 1px solid var(--line);
  z-index: 90;

  display:flex;
  justify-content: space-around;
  align-items: center;

  padding: 8px 10px;
}
.bItem{
  width: 25%;
  display:flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: var(--muted2);
  font-weight: 800;
  font-size: 11.5px;
}
.bItem--active{ color: var(--text); }
.bItem--active .bIcon i{ color: var(--brand); }
.bIcon{ position: relative; height: 22px; display:flex; align-items:center; justify-content:center; }
.bIcon i{ font-size: 18px; }
.bBadge{
  position: absolute;
  top: -6px;
  right: -12px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  display:flex;
  align-items:center;
  justify-content:center;
}

/* ===================== TEXT FLIP ANIMATION ===================== */
.textFlip {
  display: inline-block;
  animation: flipUp 0.45s ease;
}
@keyframes flipUp {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ===================== RESPONSIVE UPGRADES (TABLET+) ===================== */
@media (min-width: 700px){
  :root{ --pad: 18px; }
  .pCard{ width: 170px; }
  .pCard__img{ height: 132px; }
  .carousel{ grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px){
  .page{ padding: 0 22px; }
  .trustStrip{ padding-left: 0; padding-right: 0; }
  .catGrid{ grid-template-columns: repeat(8, 1fr); }
}

/* ======================================================================= */
/* ===================== IMAGE-HEAVY SECTIONS ============================ */
/* ======================================================================= */

/* Shared horizontal image-card row */
.imgCardRow{
  margin-top: 10px;
  display:flex;
  gap: 12px;
  overflow-x: auto;
  padding: 2px 2px 8px;
}

.imgCard{
  flex: 0 0 auto;
  width: 260px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.imgCard__img{
  height: 175px; /* ✅ bigger image */
  background: rgba(15,23,42,0.06);
  background-size: cover;
  background-position: center;
}

.imgCard__body{
  padding: 10px 12px 12px; /* ✅ tighter body to remove dead space */
}

.imgCard__title{
  font-weight: 900;
  letter-spacing: -0.2px;
  font-size: 13.5px;
}
.imgCard__text{
  margin-top: 6px;
  color: var(--muted);
  font-size: 12.4px;
  line-height: 1.35;
  font-weight: 600;
}

.imgCard__badges{
  margin-top: 8px;
  display:flex;
  gap: 8px;
  flex-wrap: wrap;
}

.miniBadge{
  display:inline-flex;
  align-items:center;
  gap: 6px;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.92);
  font-size: 11.2px;
  font-weight: 900;
  color: rgba(15,23,42,0.78);
}
.miniBadge i{ color: var(--brand-deep); }

@media (min-width: 700px){
  .imgCard{ width: 290px; }
  .imgCard__img{ height: 190px; }
}
@media (min-width: 1024px){
  .imgCard{ width: 320px; }
  .imgCard__img{ height: 205px; }
}

/* ======================================================================= */
/* ===================== BUILT FOR RESELLERS (BASE) ======================= */
/* ======================================================================= */
.vCarousel{
  margin-top: 10px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  background: var(--card);
  position: relative;
}

/* Base track (vertical by default, but we override for horizontal) */
.vTrack{
  display: grid;
}

.vSlide{
  position: relative;
  min-height: 220px;
  height: 260px;
  display:flex;
  align-items: stretch;
  overflow: hidden;
}

.vBg{
  position:absolute;
  inset:0;
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.vOverlay{
  position:absolute;
  inset:0;
  background: linear-gradient(
    180deg,
    rgba(15,23,42,0.18) 0%,
    rgba(15,23,42,0.62) 70%,
    rgba(15,23,42,0.78) 100%
  );
}

.vContent{
  position: relative;
  padding: 14px;
  display:flex;
  flex-direction: column;
  gap: 8px;
  color: #fff;
}

.vKicker{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: -0.1px;
  opacity: 0.92;
}
.vKicker i{ color: rgba(255,255,255,0.95); }

.vTitle{
  margin: 0;
  font-size: 16px;
  letter-spacing: -0.2px;
  font-weight: 900;
}

.vText{
  margin: 0;
  font-size: 12.8px;
  line-height: 1.4;
  color: rgba(255,255,255,0.88);
  max-width: 55ch;
  font-weight: 600;
}

.vChips{
  margin-top: 4px;
  display:flex;
  gap: 8px;
  flex-wrap: wrap;
}

.vChip{
  display:inline-flex;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(0,0,0,0.18);
  font-size: 11.5px;
  font-weight: 900;
  color: rgba(255,255,255,0.95);
}

.vCta{
  margin-top: auto;
  display:inline-flex;
  align-items:center;
  gap: 8px;
  font-weight: 900;
  font-size: 12.5px;
  color: #fff;
  background: rgba(243,107,33,0.92);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 10px 12px;
  border-radius: 999px;
  width: fit-content;
  box-shadow: 0 10px 22px rgba(0,0,0,0.18);
}

.vDots{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  display:flex;
  justify-content: center;
  gap: 8px;
  pointer-events: none;
}

.vDot{
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.55);
  background: rgba(255,255,255,0.28);
}
.vDot--active{
  width: 18px;
  background: rgba(255,255,255,0.85);
}

/* ✅ HORIZONTAL OVERRIDE (THIS is what makes it horizontal) */
.vCarousel--h{ overflow: hidden; }

.vTrack--h{
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 2px 2px 12px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.vSlide--link{
  flex: 0 0 auto;
  width: 320px;
  height: 260px;
  border-radius: var(--r-md);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  position: relative;
  scroll-snap-align: start;
  cursor: pointer;
  display: block;
}

@media (min-width: 700px){
  .vSlide--link{ width: 380px; height: 270px; }
}
@media (min-width: 1024px){
  .vSlide--link{ width: 420px; height: 280px; }
}

.vSlide--link .vCta{ pointer-events: none; }

.vCarousel--h .vDots{ bottom: 12px; }

/* ======================================================================= */
/* ===================== TRUST + ORDERING (ONE SECTION) =================== */
/* ======================================================================= */
.flowWrap{
  margin-top: 10px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.flowWrap--bg{
  background:
    radial-gradient(circle at 20% 10%, rgba(243,107,33,.12), transparent 52%),
    radial-gradient(circle at 85% 20%, rgba(15,23,42,.08), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,1), rgba(247,247,245,1));
}

.flowHead{
  padding: 14px;
  border-bottom: 1px solid var(--line);
}

.flowGrid{
  padding: 12px 14px 14px;
  display: grid;
  gap: 14px;
}

@media (min-width: 860px){
  .flowGrid{
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.flowCol{
  border: 1px solid rgba(15,23,42,0.08);
  background: rgba(255,255,255,0.72);
  border-radius: var(--r-md);
  box-shadow: 0 10px 22px rgba(15,23,42,0.05);
  overflow: hidden;
}

.flowCol__title{
  padding: 12px 12px;
  display:flex;
  align-items:center;
  gap: 10px;
  font-weight: 950;
  letter-spacing: -0.2px;
  font-size: 13.5px;
  border-bottom: 1px solid rgba(15,23,42,0.08);
  background: linear-gradient(135deg, rgba(243,107,33,0.08), rgba(255,255,255,0.92));
}

.flowCol__title i{
  width: 30px;
  height: 30px;
  border-radius: 12px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(243,107,33,0.12);
  border: 1px solid rgba(243,107,33,0.20);
  color: var(--brand-deep);
}

/* -------- Confidence list (rail bullets) -------- */
.confList{
  padding: 12px 12px 14px;
  display:flex;
  flex-direction: column;
  gap: 12px;
}
.confList--tight{ padding: 12px 12px 14px; }

.confItem{
  display:flex;
  gap: 12px;
  align-items: flex-start;
}

.confRail{
  width: 34px;
  display:flex;
  flex-direction: column;
  align-items:center;
  padding-top: 2px;
}

.confDot{
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: rgba(243,107,33,0.10);
  border: 1px solid rgba(243,107,33,0.22);
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow: 0 10px 18px rgba(15,23,42,0.06);
}

.confDot i{
  color: var(--brand-deep);
  font-size: 14px;
}

.confLine{
  width: 2px;
  flex: 1;
  margin-top: 8px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(15,23,42,0.18), rgba(15,23,42,0.06));
}

.confLine--fade{
  background: linear-gradient(180deg, rgba(15,23,42,0.14), rgba(15,23,42,0.00));
}

.confBody{ flex: 1; min-width: 0; padding-top: 2px; }

.confTitle{
  font-weight: 950;
  letter-spacing: -0.2px;
  font-size: 13.8px;
  color: var(--text);
}

.confText{
  margin-top: 6px;
  color: var(--muted);
  font-size: 12.7px;
  line-height: 1.45;
  font-weight: 600;
  max-width: 65ch;
}

.confActions{
  margin-top: 8px;
  display:flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items:center;
}

.miniLink{
  font-weight: 900;
  font-size: 12.3px;
  color: var(--brand-deep);
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(243,107,33,0.22);
  background: rgba(243,107,33,0.06);
}
.miniDot{
  color: rgba(15,23,42,0.35);
  font-weight: 900;
}

/* -------- Steps list (rail bullets) -------- */
.stepsWrap{
  padding: 12px 12px 14px;
  display:flex;
  flex-direction: column;
  gap: 12px;
}

.step{
  display:flex;
  gap: 12px;
  align-items:flex-start;
}

.step__rail{
  width: 34px;
  display:flex;
  flex-direction: column;
  align-items:center;
  padding-top: 2px;
}

.step__dot{
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: rgba(15,23,42,0.06);
  border: 1px solid rgba(15,23,42,0.10);
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow: 0 10px 18px rgba(15,23,42,0.06);
}

.step__dot i{
  color: rgba(15,23,42,0.82);
  font-size: 13px;
}

.step__line{
  width: 2px;
  flex: 1;
  margin-top: 8px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(15,23,42,0.16), rgba(15,23,42,0.05));
}

.step__line--fade{
  background: linear-gradient(180deg, rgba(15,23,42,0.12), rgba(15,23,42,0.00));
}

.step__body{ flex: 1; min-width: 0; padding-top: 2px; }

.step__title{
  font-weight: 950;
  letter-spacing: -0.2px;
  font-size: 13.6px;
  color: var(--text);
}

.step__text{
  margin-top: 6px;
  color: var(--muted);
  font-size: 12.6px;
  line-height: 1.45;
  font-weight: 600;
}


/* ======================================================================= */
/* ===================== ABOUT (RESTORED) ================================= */
/* ======================================================================= */
.aboutCard{
  margin-top: 10px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.aboutHead{
  width: 100%;
  border: 0;
  background: transparent;
  padding: 14px 14px;
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
}

.aboutTitle{
  font-weight: 900;
  letter-spacing: -0.2px;
  font-size: 14px;
  color: var(--text);
  padding-left: 10px;
}

.aboutChevron{
  color: var(--muted);
  font-size: 16px;
  transition: transform 0.18s ease;
}

#aboutToggle[aria-expanded="true"] .aboutChevron{
  transform: rotate(180deg);
}

.aboutBody{
  padding: 0 14px 14px;
  border-top: 1px solid var(--line);
}

.aboutBody p{
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 12.8px;
  line-height: 1.5;
  font-weight: 600;
}

.aboutLink{
  margin-top: 14px;
  display:inline-flex;
  align-items:center;
  gap: 8px;
  font-weight: 900;
  font-size: 12.5px;
  color: var(--brand-deep);
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(243,107,33,0.28);
  background: rgba(243,107,33,0.06);
}

/* ===================== PRO HOVER POLISH ===================== */
@media (hover: hover){
  .imgCard:hover,
  .vSlide--link:hover,
  .flowCol:hover,
  .mvvCard:hover{
    transform: translateY(-1px);
  }
  .imgCard,
  .vSlide--link,
  .flowCol,
  .mvvCard{
    transition: transform 0.12s ease;
  }
}




















/* ===================== SMOOTH SCROLL FEEL ===================== */
.hScroll,
.subcatRow,
.trustStrip,
.imgCardRow,
.vTrack--h{
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.pCard,
.catPill,
.subcatChip{
  transform: translateZ(0);
}

/* ===================== TOP STACK COLLAPSE (JS WILL TOGGLE) ===================== */
.topStack--collapsed .tabsBar,
.topStack--collapsed .catLineBar,
.topStack--collapsed .subcatBar{
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

.tabsBar,
.catLineBar,
.subcatBar{
  transition: transform 0.18s ease, opacity 0.18s ease;
}













/* ===================== HOME INTRO MODAL ===================== */
.introModal{ position: fixed; inset:0; z-index: 300; }
.introModal--hidden{ display:none; }
.introModal__overlay{
  position:absolute; inset:0;
  background: rgba(15,23,42,0.48);
  backdrop-filter: blur(2px);
}
.introModal__panel{
  position:absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(560px, 92vw);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: 0 18px 60px rgba(0,0,0,.22);
  padding: 14px;
}

.introModal__head{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.introModal__brand{
  display:flex;
  align-items:center;
  gap: 8px;
  font-weight: 950;
  letter-spacing: -0.2px;
}
.introModal__brand i{ color: var(--brand); }
.introModal__close{
  width: 36px; height: 36px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(15,23,42,0.04);
  cursor:pointer;
}

.introModal__title{
  margin: 6px 0 6px;
  font-size: 16px;
  font-weight: 950;
  letter-spacing: -0.2px;
}
.introModal__sub{
  margin: 0 0 12px;
  color: var(--muted);
  font-weight: 650;
  font-size: 13px;
  line-height: 1.4;
}

.introModal__grid{
  display:grid;
  gap: 10px;
  grid-template-columns: 1fr;
}
@media (min-width: 700px){
  .introModal__grid{ grid-template-columns: 1fr 1fr; }
}

.introFeat{
  display:flex;
  gap: 10px;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid rgba(15,23,42,0.08);
  background: rgba(255,255,255,0.72);
}
.introFeat__icon{
  width: 34px; height: 34px;
  border-radius: 12px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(243,107,33,0.10);
  border: 1px solid rgba(243,107,33,0.20);
  color: var(--brand-deep);
  flex: 0 0 auto;
}
.introFeat__t{ font-weight: 950; font-size: 13px; letter-spacing:-0.1px; }
.introFeat__d{ margin-top: 4px; color: var(--muted); font-weight: 650; font-size: 12.4px; line-height:1.35; }

.introModal__claim{
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(243,107,33,0.22);
  background: rgba(243,107,33,0.06);
  display:flex;
  gap: 10px;
  align-items:flex-start;
  color: rgba(15,23,42,0.82);
  font-weight: 700;
  font-size: 12.6px;
  line-height: 1.35;
}
.introModal__claim i{ color: var(--brand-deep); margin-top: 2px; }

.introModal__actions{
  margin-top: 12px;
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
}

.introBtn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 12px 14px;
  border-radius: 999px;
  font-weight: 950;
  font-size: 12.8px;
  border: 1px solid var(--line);
}
.introBtn--primary{
  background: var(--brand-deep);
  color: #fff;
  border-color: rgba(235,77,4,0.35);
  box-shadow: 0 10px 18px rgba(0,0,0,0.12);
}
.introBtn--ghost{
  background: rgba(15,23,42,0.03);
  color: var(--text);
}
