* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, Segoe UI, Roboto, Arial, sans-serif;
  color: #2d211f;
  background: radial-gradient(circle at 12% 8%, rgba(255, 212, 225, .85), transparent 28%), radial-gradient(circle at 88% 16%, rgba(235, 220, 214, .9), transparent 25%), linear-gradient(180deg, #fff7f8 0%, #f4f0ef 45%, #fff7f8 100%);
  overflow-x: hidden
}

a {
  text-decoration: none;
  color: inherit
}

button,
input,
textarea,
select {
  font: inherit
}

button {
  cursor: pointer;
  border: 0
}

.container {
  max-width: 1220px;
  margin: 0 auto
}

.section-pad {
  padding: 88px 20px
}

.glass {
  border: 1px solid rgba(255, 255, 255, .68);
  background: rgba(255, 255, 255, .68);
  box-shadow: 0 24px 80px rgba(95, 55, 44, .12);
  backdrop-filter: blur(18px)
}

.kicker {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: #d894a5
}

.pill {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, .72);
  background: rgba(255, 255, 255, .75);
  color: #7d5049;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 10px 30px rgba(95, 55, 44, .08)
}

.dark-pill {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .18);
  color: #fff
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 16px 28px;
  font-weight: 950;
  box-shadow: 0 24px 80px rgba(95, 55, 44, .12);
  transition: .3s
}

.btn:hover {
  transform: translateY(-4px)
}

.btn.dark {
  background: #2d211f;
  color: #fff
}

.btn.light {
  background: rgba(255, 255, 255, .75);
  color: #6d453f;
  border: 1px solid rgba(255, 255, 255, .7)
}

.nav-wrap {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  padding: 14px 16px
}

.nav {
  max-width: 1220px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid rgba(255, 255, 255, .72);
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 20px 60px rgba(95, 55, 44, .12);
  backdrop-filter: blur(18px);
  border-radius: 999px;
  padding: 12px 16px
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px
}

.brand-icon {
  height: 44px;
  width: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffd7df, #e9cbc4)
}

.brand small {
  display: block;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .25em;
  color: #c28293;
  text-transform: uppercase
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 13px;
  font-weight: 900;
  color: #75615c
}

.cart-button {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  background: #2d211f;
  color: #fff;
  padding: 12px 18px;
  font-weight: 900
}

.cart-button span {
  display: grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  background: #ffd7df;
  color: #2d211f;
  border-radius: 50%;
  font-size: 12px
}

.hero {
  position: relative;
  overflow: hidden;
  padding-top: 128px
}

.hero-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 18% 22%, rgba(255, 205, 218, .7), transparent 30%), radial-gradient(circle at 84% 12%, rgba(245, 245, 245, .95), transparent 28%), radial-gradient(circle at 70% 85%, rgba(232, 199, 191, .5), transparent 32%)
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  align-items: center;
  gap: 48px
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px
}

.hero h2 {
  font-size: clamp(48px, 7vw, 92px);
  line-height: 1.15;
  margin: 0;
  font-weight: 1000;
  letter-spacing: -.06em
}

.hero h2 span {
  display: block;
  background: linear-gradient(90deg, #d98a9d, #6d453f, #a78a82);
  -webkit-background-clip: text;
  color: transparent;
  padding-bottom: 0.1em;
  margin-bottom: -0.1em
}

.lead {
  max-width: 720px;
  color: #7e6863;
  font-size: 18px;
  line-height: 1.8
}

.cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 28px 0
}

.branch-box {
  border-radius: 34px;
  padding: 18px
}

.branch-title {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px
}

.branch-title span {
  font-size: 12px;
  font-weight: 900;
  color: #d894a5
}

.branches {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px
}

.branch-card {
  border: 1px solid rgba(255, 255, 255, .72);
  background: rgba(255, 255, 255, .62);
  border-radius: 26px;
  padding: 16px;
  text-align: left;
  transition: .3s
}

.branch-card.active,
.branch-card:hover {
  background: #fff3f6;
  border-color: #d894a5;
  transform: translateY(-4px)
}

.branch-card b {
  display: block;
  font-size: 14px
}

.branch-card small {
  display: block;
  color: #d894a5;
  font-weight: 900;
  margin: 5px 0
}

.branch-card p {
  font-size: 12px;
  color: #7e6863;
  margin: 0;
  line-height: 1.5
}

.hero-visual {
  position: relative;
  min-height: 620px
}

.phone-card {
  position: absolute;
  right: 30px;
  top: 0;
  overflow: hidden;
  width: min(420px, 100%);
  height: auto;
  background: #fff;
  border: 10px solid #fff;
  border-radius: 48px;
  box-shadow: 0 24px 80px rgba(95, 55, 44, .16);
  transform: rotate(-1deg)
}

.phone-card img {
  width: 100%;
  height: 300px;
  object-fit: cover
}

.phone-info {
  padding: 24px
}

.phone-info h3 {
  font-size: 30px;
  margin: 12px 0;
  color: #2d211f
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between
}

.price-row b {
  font-size: 26px
}

.price-row button {
  background: #2d211f;
  color: #fff;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 900
}

.phone-info p {
  border-radius: 24px;
  background: #f7eef1;
  color: #7e6863;
  padding: 14px;
  font-size: 13px;
  font-weight: 700
}

.alert-card,
.delivery-card {
  position: absolute;
  z-index: 4;
  border-radius: 28px;
  background: rgba(255, 255, 255, .8);
  box-shadow: 0 24px 80px rgba(95, 55, 44, .14);
  backdrop-filter: blur(18px);
  padding: 18px;
  font-weight: 900
}

.alert-card {
  left: 0;
  top: 46px
}

.delivery-card {
  left: 28px;
  bottom: 34px;
  background: #2d211f;
  color: #fff
}

.alert-card small,
.delivery-card small {
  font-weight: 700;
  color: #7e6863
}

.delivery-card small {
  color: rgba(255, 255, 255, .6)
}

.float {
  animation: float 5s infinite ease-in-out;
  will-change: transform
}

.float-x {
  animation: floatx 4s infinite ease-in-out;
  will-change: transform
}

@keyframes float {
  50% {
    transform: translateY(-16px)
  }
}

@keyframes floatx {
  50% {
    transform: translateX(18px)
  }
}

.marquee-wrap {
  overflow: hidden;
  padding: 16px 0;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent)
}

.marquee {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: marquee 28s infinite linear;
  will-change: transform
}

.marquee span {
  white-space: nowrap;
  background: rgba(255, 255, 255, .75);
  border: 1px solid rgba(255, 255, 255, .7);
  box-shadow: 0 18px 50px rgba(95, 55, 44, .1);
  border-radius: 999px;
  padding: 14px 24px;
  font-weight: 900;
  color: #6d453f
}

@keyframes marquee {
  to {
    transform: translateX(-50%)
  }
}

.about-grid {
  display: grid;
  grid-template-columns: .86fr 1.14fr;
  gap: 34px
}

.owner-card {
  overflow: hidden;
  background: #fff;
  border: 10px solid #fff;
  border-radius: 48px;
  box-shadow: 0 24px 80px rgba(95, 55, 44, .13)
}

.owner-card img {
  width: 100%;
  height: 430px;
  object-fit: cover
}

.owner-card div {
  padding: 24px
}

.owner-card h3 {
  font-size: 28px;
  margin: 14px 0 6px
}

.owner-card p,
.about-copy p {
  color: #7e6863;
  line-height: 1.75
}

.about-copy {
  border-radius: 48px;
  padding: 42px
}

.about-copy h2,
.section-head h2,
.worker-section h2,
.tracking-panel h2,
.delivery-flow h2,
.branch-map-grid h2 {
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
  margin: 10px 0;
  font-weight: 1000;
  letter-spacing: -.04em
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 26px 0
}

.stats div {
  background: rgba(255, 255, 255, .72);
  border-radius: 28px;
  padding: 20px;
  box-shadow: 0 14px 35px rgba(95, 55, 44, .08)
}

.stats b {
  display: block;
  font-size: 30px
}

.stats span {
  display: block;
  color: #7e6863;
  font-size: 13px;
  font-weight: 800
}

.promise,
.message-box {
  background: #2d211f;
  color: #fff;
  border-radius: 30px;
  padding: 22px;
  line-height: 1.7;
  font-weight: 700
}

.worker-section {
  margin-top: 58px
}

.worker-track-wrap {
  overflow: hidden;
  border-radius: 38px;
  background: rgba(255, 255, 255, .6);
  box-shadow: 0 24px 80px rgba(95, 55, 44, .12);
  padding: 14px;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent)
}

.worker-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: workers 26s infinite linear;
  will-change: transform
}

.worker-card {
  width: 230px;
  background: #fff;
  border-radius: 28px;
  padding: 9px;
  box-shadow: 0 16px 35px rgba(95, 55, 44, .08)
}

.worker-card img {
  width: 100%;
  height: 218px;
  object-fit: cover;
  border-radius: 22px
}

.worker-card div {
  padding: 12px
}

.worker-card b {
  display: block
}

.worker-card small {
  color: #7e6863
}

@keyframes workers {
  to {
    transform: translateX(-50%)
  }
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px
}

.section-head p {
  color: #7e6863;
  line-height: 1.7
}

.section-head.center {
  display: block;
  text-align: center;
  max-width: 780px;
  margin: 0 auto 34px
}

.search-box {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 290px;
  border: 1px solid rgba(255, 255, 255, .7);
  background: rgba(255, 255, 255, .75);
  box-shadow: 0 18px 50px rgba(95, 55, 44, .1);
  border-radius: 999px;
  padding: 14px 18px
}

.search-box input {
  border: 0;
  background: transparent;
  outline: 0;
  width: 100%
}

.category-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(110px, 1fr));
  gap: 14px;
  padding: 16px;
  margin-bottom: 14px;
  border-radius: 24px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(171, 104, 63, .12);
  box-shadow: 0 18px 60px rgba(95, 55, 44, .08)
}

.category-row button {
  white-space: normal;
  border-radius: 18px;
  padding: 10px 8px;
  font-weight: 900;
  background: transparent;
  color: #2d211f;
  box-shadow: none;
  display: grid;
  justify-items: center;
  gap: 8px
}

.category-row button.active {
  background: #fff7f1;
  color: #f26f4f;
  box-shadow: 0 12px 30px rgba(242, 111, 79, .12)
}

.category-tile-img {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  display: block;
  padding: 8px;
  background: #f7eadc;
  box-shadow: inset 0 0 0 1px rgba(120, 75, 49, .08)
}

.category-tile-img img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block
}

.subcategory-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 0 14px;
  min-height: 0
}

.subcategory-label {
  color: #7e6863;
  font-size: 13px;
  font-weight: 900
}

.subcategory-row button {
  border-radius: 999px;
  padding: 10px 14px;
  background: #fff;
  color: #6b5650;
  font-weight: 900;
  border: 1px solid rgba(171, 104, 63, .13)
}

.subcategory-row button.active {
  background: #2d211f;
  color: #fff
}

.subcategory-row.tile-mode {
  flex-wrap: nowrap;
  overflow-x: auto;
  padding: 4px 2px 10px;
  gap: 16px
}

.subcategory-row.tile-mode button {
  flex: 0 0 auto;
  width: 76px;
  white-space: normal;
  border: 0;
  border-radius: 18px;
  padding: 6px;
  background: transparent;
  color: #2d211f;
  display: grid;
  justify-items: center;
  gap: 6px;
  font-size: 12px
}

.subcategory-row.tile-mode button.active {
  background: #fff7f1;
  color: #f26f4f
}

.subcategory-row.tile-mode .category-tile-img {
  width: 64px;
  height: 64px
}

/* Keeps the "Sub categories" caption pinned while the tiles scroll — without it
   these tiles read as top-level categories. */
.subcategory-row.tile-mode .subcategory-label {
  flex: 0 0 auto;
  align-self: center;
  position: sticky;
  left: 0;
  z-index: 1;
  background: #fff;
  padding-right: 8px
}

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

.homepage-media-section {
  background: linear-gradient(180deg, rgba(255, 250, 245, .78), rgba(255, 255, 255, .92))
}

/* ── Media Gallery ── */
.homepage-media-feed {
  display: grid;
  gap: 32px
}

.media-feed-state,
.menu-empty-state {
  padding: 22px;
  border: 1px dashed rgba(47, 122, 95, .24);
  border-radius: 18px;
  background: rgba(255, 255, 255, .78);
  color: #54645d;
  font-weight: 800;
  text-align: center
}

.media-gallery-section {
  display: grid;
  gap: 16px
}

.media-gallery-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px
}

.media-gallery-header h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 900;
  color: #17241f
}

.media-gallery-header span {
  color: #66736d;
  font-size: 13px;
  font-weight: 700
}

/* ── Videos horizontal scroll ── */
.media-reels-scroll {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px 2px 12px;
  -webkit-overflow-scrolling: touch
}

.media-reels-scroll::-webkit-scrollbar { height: 4px }
.media-reels-scroll::-webkit-scrollbar-thumb { background: rgba(31,122,95,.25); border-radius: 4px }

.media-reel-card {
  flex-shrink: 0;
  width: 200px;
  scroll-snap-align: start;
  border-radius: 16px;
  background: #111;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
  overflow: hidden;
  cursor: pointer
}

.media-reel-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 9/16;
  background: linear-gradient(145deg,#1a3d2e,#0d1f17);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer
}

.media-reel-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .85
}

.media-reel-play {
  position: relative;
  z-index: 1;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,.2);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #fff;
  border: 2px solid rgba(255,255,255,.5)
}

/* ── Image masonry grid ── */
.media-masonry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px
}

.media-grid-card {
  display: inline-flex;
  flex-direction: column;
  align-self: start;
  margin-bottom: 0;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(47,122,95,.1);
  box-shadow: 0 4px 16px rgba(38,54,46,.08);
  cursor: pointer;
  transition: transform .18s, box-shadow .18s
}

.media-grid-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(38,54,46,.16)
}

.media-grid-card img {
  display: block;
  width: 100%;
  height: 240px;
  object-fit: cover;
  background: #f5f0ea
}

.media-card-caption {
  margin: 0;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 800;
  color: #151e1a;
  line-height: 1.3;
  background: #fff;
  flex-shrink: 0
}

/* ── Load more button ── */
.media-load-more-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 14px;
  border-radius: 14px;
  border: 1.5px dashed rgba(31,122,95,.35);
  background: rgba(31,122,95,.05);
  color: #1f7a5f;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: background .15s
}

.media-load-more-btn:hover {
  background: rgba(31,122,95,.1)
}

/* ── Lightbox ── */
.media-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,.88);
  align-items: center;
  justify-content: center;
  padding: 16px
}

.media-lightbox.active {
  display: flex
}

.media-lightbox-inner {
  position: relative;
  max-width: 900px;
  width: 100%;
  display: grid;
  gap: 10px;
  justify-items: center
}

.media-lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: rgba(255,255,255,.15);
  border: none;
  color: #fff;
  font-size: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center
}

#mediaLightboxCaption {
  color: rgba(255,255,255,.8);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  margin: 0
}

.full-gallery-inner {
  max-width: 1100px;
  max-height: 85vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  display: block;
  justify-items: unset;
}

.full-gallery-inner .media-gallery-header {
  margin-bottom: 14px;
}

@media (max-width: 640px) {
  .media-masonry-grid { grid-template-columns: repeat(2, 1fr) }
  .media-reel-card { width: 160px }
}

.product-card {
  overflow: hidden;
  background: #fff;
  border-radius: 38px;
  box-shadow: 0 24px 80px rgba(95, 55, 44, .12);
  transition: .35s
}

.product-card:hover {
  transform: translateY(-9px)
}

.product-img {
  height: 230px;
  position: relative;
  overflow: hidden
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: .7s
}

.product-card:hover img {
  transform: scale(1.1)
}

.product-img:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(45, 33, 31, .7), transparent)
}

.product-badges {
  position: absolute;
  top: 15px;
  left: 15px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  z-index: 2
}

.rating {
  position: absolute;
  bottom: 15px;
  left: 15px;
  z-index: 2;
  color: #fff;
  font-weight: 900
}

.product-body {
  padding: 20px
}

.product-title {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 12px
}

.product-title h3 {
  font-size: 20px;
  margin: 0
}

.product-title b {
  font-size: 20px;
  color: #6d453f;
  white-space: nowrap
}

.product-body p {
  color: #7e6863;
  line-height: 1.6;
  font-size: 14px
}

.nutrition {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 16px 0
}

.nutrition span {
  background: #f7eef1;
  border-radius: 18px;
  padding: 9px;
  text-align: center;
  font-size: 12px;
  font-weight: 900;
  color: #7e6863
}

.card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between
}

.detail-btn {
  background: #fff;
  border: 1px solid #f0dfe3;
  color: #7e6863;
  border-radius: 999px;
  padding: 11px 16px;
  font-weight: 900
}

.add-btn,
.qty {
  background: linear-gradient(90deg, #2d211f, #b47c88);
  color: #fff;
  border-radius: 999px;
  padding: 12px 19px;
  font-weight: 900
}

.qty {
  display: flex;
  align-items: center;
  gap: 14px
}

.qty button {
  background: transparent;
  color: #fff;
  font-weight: 900;
  font-size: 18px
}

.tracking-grid {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 34px
}

.tracking-panel {
  background: #2d211f;
  color: #fff;
  border-radius: 48px;
  padding: 42px;
  box-shadow: 0 24px 80px rgba(95, 55, 44, .18)
}

.tracking-panel p {
  color: rgba(255, 255, 255, .65);
  line-height: 1.8
}

.steps {
  margin-top: 26px
}

.step {
  display: flex;
  gap: 14px;
  align-items: center;
  margin: 14px 0
}

.step-num {
  height: 40px;
  width: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .12);
  font-weight: 900;
  color: rgba(255, 255, 255, .45)
}

.step.done .step-num {
  background: #ffd7df;
  color: #2d211f
}

.step-line {
  flex: 1
}

.step-line b {
  display: block
}

.bar {
  height: 6px;
  background: rgba(255, 255, 255, .12);
  border-radius: 999px;
  margin-top: 8px;
  overflow: hidden
}

.bar span {
  display: block;
  height: 100%;
  background: #ffd7df;
  width: 0;
  transition: .6s
}

.step.done .bar span {
  width: 100%
}

.map-card,
.location-map {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border-radius: 48px;
  background: #ebe7e3;
  box-shadow: 0 24px 80px rgba(95, 55, 44, .12);
  background-image: linear-gradient(rgba(128, 96, 86, .14) 1px, transparent 1px), linear-gradient(90deg, rgba(128, 96, 86, .14) 1px, transparent 1px);
  background-size: 42px 42px;
  padding: 22px
}

.map-top,
.map-address {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, .86);
  border-radius: 30px;
  box-shadow: 0 18px 55px rgba(95, 55, 44, .12);
  padding: 20px;
  display: flex;
  justify-content: space-between;
  gap: 14px
}

.map-top small,
.map-top span,
.map-address span {
  display: block;
  color: #7e6863
}

.map-top b {
  display: block;
  font-size: 26px
}

.map-top>span {
  font-size: 34px
}

.map-label {
  position: absolute;
  z-index: 3;
  background: #fff;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 900;
  box-shadow: 0 18px 55px rgba(95, 55, 44, .12)
}

.map-label.branch {
  left: 12%;
  top: 36%
}

.map-label.customer {
  right: 11%;
  bottom: 18%
}

.route {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%
}

.route path {
  stroke: #d894a5;
  stroke-width: 8;
  stroke-dasharray: 14 16;
  fill: none;
  stroke-linecap: round;
  opacity: .65
}

.bike-dot {
  position: absolute;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #2d211f;
  color: #fff;
  font-size: 28px;
  box-shadow: 0 18px 55px rgba(95, 55, 44, .24);
  animation: bikeMove 6.2s infinite ease-in-out;
  will-change: transform
}

.bike-dot span {
  position: absolute;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: rgba(45, 33, 31, .2);
  animation: ping 1.4s infinite;
  will-change: transform, opacity
}

@keyframes bikeMove {
  0% {
    left: 17%;
    top: 43%
  }

  35% {
    left: 39%;
    top: 48%
  }

  70% {
    left: 58%;
    top: 61%
  }

  100% {
    left: 76%;
    top: 72%
  }
}

@keyframes ping {
  to {
    transform: scale(1.25);
    opacity: 0
  }
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px
}

.feature-card {
  border: 1px solid rgba(255, 255, 255, .68);
  background: rgba(255, 255, 255, .68);
  box-shadow: 0 24px 80px rgba(95, 55, 44, .12);
  backdrop-filter: blur(18px);
  border-radius: 34px;
  padding: 26px;
  font-size: 34px;
  transition: .3s
}

.feature-card:hover {
  transform: translateY(-7px)
}

.feature-card h3 {
  font-size: 20px;
  margin: 15px 0 8px
}

.feature-card p {
  font-size: 14px;
  color: #7e6863;
  line-height: 1.7
}

.message-box {
  margin-top: 26px;
  font-size: 20px
}

.admin-shell {
  border-radius: 48px;
  padding: 28px
}

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

.admin-actions button {
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 900;
  background: #2d211f;
  color: #fff
}

.admin-actions button:nth-child(2) {
  background: #ffd7df;
  color: #2d211f
}

.admin-actions button:nth-child(3) {
  background: #fff;
  color: #7e6863
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 24px 0
}

.admin-stats div,
.mini-admin div {
  background: rgba(255, 255, 255, .75);
  border-radius: 28px;
  padding: 20px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .5)
}

.admin-stats b {
  display: block;
  font-size: 32px
}

.admin-stats span {
  color: #7e6863;
  font-weight: 800
}

.admin-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 20px
}

.order-table {
  overflow: hidden;
  border-radius: 28px;
  background: #fff
}

.order-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  gap: 10px;
  width: 100%;
  text-align: left;
  background: #fff;
  border-bottom: 1px solid #f1e4e7;
  padding: 16px;
  font-size: 14px
}

.order-row.head {
  background: #f7eef1;
  font-size: 12px;
  font-weight: 900;
  color: #8b7470;
  text-transform: uppercase
}

.order-row.active,
.order-row:hover {
  background: #fff1f4
}

.selected-order {
  background: #2d211f;
  color: #fff;
  border-radius: 28px;
  padding: 24px
}

.selected-order h3 {
  font-size: 34px;
  margin: 18px 0
}

.selected-order p {
  display: flex;
  justify-content: space-between;
  background: rgba(255, 255, 255, .1);
  border-radius: 18px;
  padding: 12px;
  color: rgba(255, 255, 255, .72)
}

.selected-order p b {
  color: #fff
}

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

.admin-buttons button {
  border-radius: 16px;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  padding: 12px;
  font-weight: 900
}

.mini-admin {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 20px
}

.mini-admin h4 {
  margin: 0 0 8px
}

.mini-admin p {
  margin: 0;
  color: #7e6863;
  line-height: 1.65
}

.delivery-grid,
.branch-map-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 32px
}

.delivery-flow {
  background: linear-gradient(135deg, #ffd7df, #eee7e4);
  border-radius: 48px;
  padding: 36px;
  box-shadow: 0 24px 80px rgba(95, 55, 44, .12)
}

.flow-list {
  display: grid;
  gap: 12px;
  margin-top: 22px
}

.flow-list div {
  background: rgba(255, 255, 255, .75);
  border-radius: 22px;
  padding: 16px;
  font-weight: 900
}

.delivery-phone {
  border-radius: 48px;
  border: 1px solid rgba(255, 255, 255, .7);
  background: rgba(255, 255, 255, .72);
  padding: 24px;
  box-shadow: 0 24px 80px rgba(95, 55, 44, .12)
}

.delivery-head {
  background: #2d211f;
  color: #fff;
  border-radius: 34px;
  padding: 24px;
  display: flex;
  justify-content: space-between
}

.delivery-head h3 {
  font-size: 32px;
  margin: 4px 0
}

.delivery-head span {
  font-size: 34px
}

.delivery-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 16px 0
}

.delivery-info div {
  border-radius: 22px;
  background: #fff;
  padding: 16px;
  font-weight: 900
}

.delivery-info small {
  display: block;
  color: #7e6863;
  margin: 6px 0
}

.delivery-buttons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px
}

.delivery-buttons button {
  border-radius: 20px;
  padding: 16px;
  font-weight: 900;
  background: #2d211f;
  color: #fff
}

.delivery-buttons button:nth-child(2) {
  background: #ffd7df;
  color: #2d211f
}

.delivery-buttons button:nth-child(3) {
  background: #fff;
  color: #7e6863
}

.branch-list {
  display: grid;
  gap: 14px;
  margin-top: 22px
}

.branch-list .branch-item {
  border: 1px solid rgba(255, 255, 255, .7);
  background: rgba(255, 255, 255, .75);
  border-radius: 28px;
  padding: 20px;
  box-shadow: 0 14px 40px rgba(95, 55, 44, .08)
}

.branch-item b {
  display: block;
  font-size: 20px
}

.branch-item span {
  display: block;
  color: #7e6863;
  margin-top: 6px
}

.branch-item small {
  display: block;
  color: #d894a5;
  font-weight: 900;
  margin-top: 8px
}

.map-address {
  display: block
}

.map-address button {
  width: 100%;
  background: #2d211f;
  color: #fff;
  border-radius: 999px;
  padding: 15px;
  margin-top: 16px;
  font-weight: 900
}

.loc {
  position: absolute;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  box-shadow: 0 18px 55px rgba(95, 55, 44, .16);
  font-size: 26px
}

.loc1 {
  left: 20%;
  top: 52%;
  background: #2d211f
}

.loc2 {
  right: 24%;
  top: 34%;
  background: #ffd7df
}

.loc3 {
  right: 16%;
  bottom: 18%;
  background: #fff
}

.footer {
  background: #2d211f;
  color: #fff;
  border-radius: 48px 48px 0 0;
  padding: 60px 20px
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr .9fr;
  gap: 34px
}

.footer p {
  color: rgba(255, 255, 255, .62);
  line-height: 1.75
}

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

.socials a {
  background: rgba(255, 255, 255, .1);
  border-radius: 18px;
  padding: 14px;
  font-weight: 900
}

.cart-drawer {
  position: fixed;
  right: 0;
  top: 0;
  bottom: 0;
  width: min(430px, 100%);
  z-index: 80;
  background: #fff;
  box-shadow: -20px 0 60px rgba(45, 33, 31, .18);
  padding: 24px;
  /* transform animates on the GPU; animating `right` re-layouts every frame */
  transform: translateX(105%);
  transition: transform .32s ease;
  will-change: transform;
  overflow: auto
}

.cart-drawer.open {
  transform: translateX(0)
}

.overlay {
  position: fixed;
  inset: 0;
  /* backdrop blur here forced a full-viewport repaint on every cart open —
     a deeper tint looks nearly identical and is free */
  background: rgba(45, 33, 31, .58);
  z-index: 70;
  display: none
}

.overlay.open {
  display: block
}

.drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: center
}

.drawer-head button {
  background: #f7eef1;
  border-radius: 50%;
  width: 42px;
  height: 42px
}

.cart-item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 12px;
  align-items: center;
  border-bottom: 1px solid #f1e4e7;
  padding: 14px 0
}

.cart-item img {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  object-fit: cover
}

.cart-item h4 {
  margin: 0
}

.cart-item small {
  color: #7e6863
}

.cart-item-info h4 {
  margin: 0;
  font-size: 15px;
  color: #1b1b1b;
}

.cart-item-info small {
  display: block;
  font-size: 12px;
  color: #7e6863;
}

.cart-item-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 6px 0;
}

.qty-btn {
  background: #f1e4e7;
  color: #1b1b1b;
  border: none;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  transition: all 0.2s;
}

.qty-btn:hover {
  background: #e5d1d6;
}

.remove-btn {
  background: #fee2e2;
  color: #dc2626;
  border: none;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  margin-left: 8px;
  transition: all 0.2s;
}

.remove-btn:hover {
  background: #fecaca;
  color: #b91c1c;
}

.cart-item-price {
  font-size: 16px;
  color: #173f34;
}


.checkout-form {
  display: grid;
  gap: 10px;
  margin-top: 18px
}

.checkout-form input,
.checkout-form textarea,
.checkout-form select {
  width: 100%;
  border: 1px solid #f0dfe3;
  background: #fff8f9;
  border-radius: 18px;
  padding: 13px;
  outline: 0
}

.checkout-form textarea {
  min-height: 82px
}

.bill {
  background: #2d211f;
  color: #fff;
  border-radius: 24px;
  padding: 18px;
  margin-top: 18px
}

.bill p {
  display: flex;
  justify-content: space-between;
  margin: 8px 0;
  color: rgba(255, 255, 255, .7)
}

.bill b {
  color: #fff
}

/* ── Payment method cards ── */
.pay-method-label {
  font-size: 11px;
  font-weight: 800;
  color: #4c3933;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 8px;
  margin-top: 4px;
}
.pay-method-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pay-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border: 2px solid #e8dcd8;
  border-radius: 12px;
  cursor: pointer;
  background: #fff;
  transition: border-color .18s, background .18s, box-shadow .18s;
  position: relative;
}
.pay-card.active {
  border-color: #d4845a;
  background: #fff8f5;
  box-shadow: 0 0 0 3px rgba(212,132,90,.12);
}
.pay-card.active.rzp-active {
  border-color: #2563eb;
  background: #f0f5ff;
  box-shadow: 0 0 0 3px rgba(37,99,235,.12);
}
.pay-icon { font-size: 20px; flex-shrink: 0; display: flex; align-items: center; }
.pay-name { font-size: 14px; font-weight: 700; color: #2d211f; flex: 1; }
.pay-badge {
  font-size: 10px;
  color: #2563eb;
  font-weight: 600;
  background: #eff6ff;
  padding: 2px 7px;
  border-radius: 20px;
  margin-right: 4px;
}
.pay-check {
  width: 20px; height: 20px; border-radius: 50%;
  background: #e8dcd8; color: transparent;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 900;
  transition: background .18s, color .18s;
  flex-shrink: 0;
}
.pay-card.active .pay-check {
  background: #d4845a; color: #fff;
}
.pay-card.active.rzp-active .pay-check {
  background: #2563eb; color: #fff;
}

/* ── Place Order button ── */
.place-order {
  width: 100%;
  background: linear-gradient(135deg, #d4845a, #b05a2f);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 16px;
  margin-top: 14px;
  font-weight: 900;
  font-size: 16px;
  cursor: pointer;
  letter-spacing: .01em;
  box-shadow: 0 4px 16px rgba(176,90,47,.35);
  transition: transform .15s, box-shadow .15s, background .2s;
}
.place-order:active { transform: scale(.98); box-shadow: 0 2px 8px rgba(176,90,47,.25); }
.place-order.rzp-btn {
  background: linear-gradient(135deg, #1d4ed8, #2563eb);
  box-shadow: 0 4px 16px rgba(37,99,235,.35);
}
.place-order.rzp-btn:active { box-shadow: 0 2px 8px rgba(37,99,235,.2); }

.note {
  font-size: 12px;
  color: #7e6863;
  line-height: 1.6
}

.toast {
  position: fixed;
  right: 16px;
  top: 88px;
  bottom: auto;
  z-index: 100;
  max-width: 280px;
  height: auto;
  background: #fff;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, .08);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .14);
  padding: 10px 14px;
  font-size: 13px;
  line-height: 1.35;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: .35s
}

.toast b {
  display: block;
  font-size: 14px;
  color: #1b1b1b;
  margin-bottom: 2px
}

.toast p {
  margin: 0;
  font-size: 13px;
  color: #4d4d4d
}

.toast.show {
  transform: translateY(0);
  opacity: 1
}

.reveal {
  opacity: 0;
  transform: translateY(20px) translateZ(0);
  will-change: transform, opacity;
  backface-visibility: hidden;
  animation: reveal .6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.delay-1 {
  animation-delay: .14s
}

.delay-2 {
  animation-delay: .28s
}

.delay-3 {
  animation-delay: .42s
}

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

/* ── SPLASH — Blossom Glass ── */
.splash {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #b0c298;
  contain: layout style paint;
  isolation: isolate;
  transition: opacity .7s ease, visibility .7s ease;
  visibility: visible;
}
.splash.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* animated sage-green background */
.sb-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 72% 8%,  rgba(255,190,200,.55) 0%, transparent 42%),
    radial-gradient(ellipse at 8%  88%, rgba(160,200,150,.55) 0%, transparent 40%),
    radial-gradient(ellipse at 88% 88%, rgba(230,210,160,.45) 0%, transparent 40%),
    radial-gradient(ellipse at 50% 50%, rgba(190,215,175,.3)  0%, transparent 70%),
    linear-gradient(155deg,#7a9870 0%,#9ab088 20%,#b0c298 40%,#c2caa8 60%,#cec8a2 80%,#d8c89a 100%);
  animation: sbBgPulse 10s ease-in-out infinite;
}
@keyframes sbBgPulse {
  0%,100% { filter: brightness(1)    saturate(1.0)  hue-rotate(0deg); }
  33%     { filter: brightness(1.07) saturate(1.18) hue-rotate(5deg); }
  66%     { filter: brightness(1.03) saturate(1.08) hue-rotate(-4deg); }
}

/* pink top-right light leak */
.sb-leak-tr {
  position: absolute;
  top: -100px; right: -80px;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,170,185,.7), rgba(255,200,180,.2) 50%, transparent 70%);
  animation: sbLeakTR 8s ease-in-out infinite;
  pointer-events: none;
}
@keyframes sbLeakTR { 0%,100%{opacity:.75;transform:scale(1)} 50%{opacity:1;transform:scale(1.18)} }

/* green bottom-left light leak */
.sb-leak-bl {
  position: absolute;
  bottom: -60px; left: -60px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(160,210,150,.45), transparent 70%);
  animation: sbLeakBL 11s ease-in-out infinite;
  pointer-events: none;
}
@keyframes sbLeakBL { 0%,100%{opacity:.6;transform:scale(1)} 50%{opacity:.95;transform:scale(1.12)} }

/* canvas for petals / sparkles / branches */
.sb-canvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}

/* splash content layout */
.splash-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* logo wrap + glow */
.sb-logo-wrap {
  position: relative;
  margin-bottom: 28px;
  animation: sbCardIn 1.2s cubic-bezier(.16,1,.3,1) both,
             sbCardFloat 4.5s ease-in-out 1.5s infinite;
}
@keyframes sbCardIn {
  0%   { opacity:0; transform:scale(.4) translateY(-40px); filter:blur(18px); }
  68%  { transform:scale(1.07) translateY(4px); }
  100% { opacity:1; transform:scale(1) translateY(0); filter:blur(0); }
}
@keyframes sbCardFloat {
  0%   { transform:translateY(0) rotate(0deg); }
  25%  { transform:translateY(-12px) rotate(.4deg); }
  50%  { transform:translateY(-8px) rotate(0deg); }
  75%  { transform:translateY(-14px) rotate(-.4deg); }
  100% { transform:translateY(0) rotate(0deg); }
}
.sb-logo-wrap::before {
  content: '';
  position: absolute;
  inset: -20px;
  border-radius: 52px;
  z-index: -1;
  background: radial-gradient(circle, rgba(240,160,180,.45), rgba(200,230,180,.28) 50%, transparent 75%);
  animation: sbCardGlow 3s ease-in-out infinite;
}
@keyframes sbCardGlow { 0%,100%{opacity:.7;transform:scale(1)} 50%{opacity:1;transform:scale(1.14)} }

/* glass card */
.sb-logo-card {
  width: 158px; height: 158px;
  border-radius: 36px;
  position: relative; overflow: hidden;
  background: rgba(255,255,255,.22);
  backdrop-filter: blur(18px) saturate(170%) brightness(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(170%) brightness(1.15);
  border: 1.5px solid rgba(255,255,255,.62);
  box-shadow:
    0 16px 60px rgba(140,160,120,.4),
    0 6px 20px rgba(0,0,0,.14),
    inset 0 2.5px 0 rgba(255,255,255,.8),
    inset 0 -2px 8px rgba(0,0,0,.1);
}
.sb-logo-card::before {
  content: '';
  position: absolute;
  top: 10px; left: 14px;
  width: 60px; height: 26px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(255,255,255,.72), transparent 70%);
  transform: rotate(-28deg);
  z-index: 3;
}
.sb-logo-card img {
  width: 100%; height: 100%;
  border-radius: 34px;
  object-fit: cover;
  position: relative; z-index: 1;
}

/* h1 */
.splash h1 {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: clamp(36px, 7vw, 78px);
  line-height: 1.15;
  margin: 0 0 8px;
  letter-spacing: -.02em;
}
.hai {
  color: #e86888;
  text-shadow: 0 2px 12px rgba(240,100,130,.35), 0 0 30px rgba(255,160,180,.2);
  will-change: transform, opacity;
  animation: fromLeft .7s .35s cubic-bezier(0.22,1,0.36,1) backwards;
}
.bakery {
  background: linear-gradient(135deg, #f07090, #e85878, #f090a0);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  color: transparent;
  will-change: transform, opacity;
  animation: fromRight .7s .48s cubic-bezier(0.22,1,0.36,1) backwards, sbTextShim 5s ease-in-out infinite;
  padding-bottom: 0.1em;
  margin-bottom: -0.1em;
}
@keyframes sbTextShim { 0%,100%{background-position:0% 50%} 50%{background-position:100% 50%} }

.splash p {
  color: rgba(110,90,70,.65);
  text-transform: uppercase;
  letter-spacing: .4em;
  font-size: 13px;
  font-weight: 700;
  text-shadow: 0 1px 4px rgba(255,255,255,.6);
  animation: fadeUp .7s .9s backwards;
  margin-bottom: 18px;
}
.splash-line {
  height: 1px;
  width: 160px;
  max-width: 80vw;
  margin: 0 auto 18px;
  background: linear-gradient(90deg, transparent, rgba(230,110,140,.5), transparent);
  animation: lineGrow 1.2s 1.1s cubic-bezier(0.22,1,0.36,1) backwards;
}
.splash-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  animation: fadeUp .6s 1.3s backwards;
}
.splash-dots span {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.splash-dots span:nth-child(1) { background:#e88aaa; box-shadow:0 0 12px rgba(232,138,170,.8); animation: dotBounce 1.5s 0s   ease-in-out infinite; }
.splash-dots span:nth-child(2) { background:#a8c870; box-shadow:0 0 12px rgba(168,200,112,.8); animation: dotBounce 1.5s .24s ease-in-out infinite; }
.splash-dots span:nth-child(3) { background:#e8c060; box-shadow:0 0 12px rgba(232,192,96,.8);  animation: dotBounce 1.5s .48s ease-in-out infinite; }
@keyframes dotBounce {
  0%, 100% { transform: scale(1) translateY(0); }
  50%       { transform: scale(1.6) translateY(-11px); }
}
@keyframes splashZoom {
  from { transform: scale(1.03) translateZ(0) }
  to   { transform: scale(1)    translateZ(0) }
}

@keyframes spin {
  to {
    transform: rotate(360deg)
  }
}

@keyframes logoPop {
  0%   { transform: scale(0.5) translateZ(0); opacity: 0; }
  70%  { transform: scale(1.05) translateZ(0); opacity: 1; }
  100% { transform: scale(1) translateZ(0); opacity: 1; }
}

@keyframes fromLeft {
  from { transform: translateX(-40px) translateZ(0); opacity: 0; }
  to   { transform: translateX(0)      translateZ(0); opacity: 1; }
}

@keyframes fromRight {
  from { transform: translateX(40px)  translateZ(0); opacity: 0; }
  to   { transform: translateX(0)     translateZ(0); opacity: 1; }
}

@keyframes fadeUp {
  from {
    transform: translateY(14px);
    opacity: 0
  }
}

@keyframes lineGrow {
  from { transform: scaleX(0); opacity: 0; }
  to   { transform: scaleX(1); opacity: 1; }
}

@media(max-width:1024px) {
  .nav-links {
    display: none
  }

  .hero-grid,
  .about-grid,
  .tracking-grid,
  .delivery-grid,
  .branch-map-grid {
    grid-template-columns: 1fr
  }

  .hero-visual {
    min-height: 610px
  }

  .phone-card {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .feature-grid,
  .admin-stats {
    grid-template-columns: repeat(2, 1fr)
  }

  .admin-grid,
  .footer-grid {
    grid-template-columns: 1fr
  }

  .section-head {
    display: block
  }

  .mini-admin {
    grid-template-columns: 1fr
  }

  .branches {
    grid-template-columns: 1fr
  }
}

@media(max-width:640px) {
  .section-pad {
    padding: 66px 14px
  }

  .hero h2 {
    font-size: 48px
  }

  .hero-visual {
    min-height: 580px
  }

  .alert-card,
  .delivery-card {
    display: none
  }

  .product-grid,
  .feature-grid,
  .admin-stats,
  .delivery-info,
  .footer-grid {
    grid-template-columns: 1fr
  }

  .hero {
    padding-top: 110px
  }

  .nav {
    border-radius: 28px
  }

  .brand small {
    letter-spacing: .16em
  }

  .cart-button {
    padding: 11px 13px
  }

  .splash h1 {
    font-size: 46px
  }

  .splash p {
    letter-spacing: .32em
  }

  .order-row {
    grid-template-columns: 1fr 1fr
  }

  .order-row span:nth-child(3),
  .order-row span:nth-child(5) {
    display: none
  }
}

/* Integrated hidden admin dashboard styles */
.admin-body {
  display: grid;
  grid-template-columns: 280px 1fr;
  background: #f8f3f1;
  min-height: 100vh
}

.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  background: #1c1210;
  color: #fff;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 24px
}

.admin-brand .brand-mark {
  box-shadow: none
}

.admin-brand small {
  color: #e6c8bc
}

.admin-nav {
  display: flex;
  flex-direction: column;
  gap: 8px
}

.admin-nav button,
.admin-nav a {
  width: 100%;
  text-align: left;
  border-radius: 16px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, .06);
  color: #fff;
  font-weight: 850
}

.admin-nav button.active,
.admin-nav button:hover,
.admin-nav a:hover {
  background: linear-gradient(135deg, #2f7a5f, #9a6a3d)
}

.admin-tip {
  margin-top: auto;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 18px;
  padding: 14px;
  color: #f2d7cc;
  font-size: 13px;
  line-height: 1.5
}

.admin-main {
  padding: 28px;
  min-width: 0
}

.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px
}

.admin-topbar h1 {
  font-size: clamp(32px, 4vw, 54px);
  letter-spacing: -.06em;
  margin: 0
}

.admin-tab {
  display: none
}

.admin-tab.active {
  display: block
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 18px
}

.metric-card,
.admin-card {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 16px 40px rgba(45, 68, 52, .08);
  border: 1px solid rgba(47, 122, 95, .09);
  padding: 22px
}

.metric-card span {
  font-size: 13px;
  color: #58675f;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .08em
}

.metric-card strong {
  display: block;
  font-size: 30px;
  margin-top: 8px;
  color: #6c4528
}

.admin-card {
  margin-bottom: 18px
}

.admin-card h2 {
  margin: 0 0 12px;
  letter-spacing: -.03em
}

.admin-card p {
  color: #58675f;
  line-height: 1.6
}

.admin-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 14px
}

.admin-list {
  display: grid;
  gap: 10px
}

.scroll-list {
  max-height: 650px;
  overflow: auto
}

.admin-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid rgba(47, 122, 95, .1);
  border-radius: 16px;
  padding: 13px;
  background: #fffaf8
}

.admin-list-item strong {
  display: block
}

.admin-list-item small {
  color: #58675f
}

.analytics-grid,
.admin-grid-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px
}

.bar-line {
  margin: 12px 0
}

.bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 900;
  color: #5d4c47;
  margin-bottom: 6px
}

.bar-track {
  height: 10px;
  background: #f4f2eb;
  border-radius: 999px;
  overflow: hidden
}

.bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #2f7a5f, #9a6a3d);
  border-radius: 999px
}

.order-admin-list {
  display: grid;
  gap: 14px
}

.order-admin-card {
  border: 1px solid rgba(47, 122, 95, .11);
  border-radius: 20px;
  background: #fffaf8;
  padding: 16px
}

.order-admin-head {
  display: flex;
  justify-content: space-between;
  gap: 14px
}

.status-badge {
  border-radius: 999px;
  padding: 8px 11px;
  font-size: 12px;
  font-weight: 1000;
  background: #f4f2eb;
  color: #5b4b45
}

.status-badge.accepted,
.status-badge.preparing,
.status-badge.packed,
.status-badge.out-for-delivery {
  background: #eef6dc;
  color: #567300
}

.status-badge.delivered {
  background: #dff5e8;
  color: #17623e
}

.status-badge.rejected {
  background: #ffe0e0;
  color: #b22222
}

.order-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px
}

.order-actions button {
  border-radius: 12px;
  padding: 9px 11px;
  font-weight: 900;
  background: #fff;
  border: 1px solid rgba(47, 122, 95, .14)
}

.order-actions button.danger {
  background: #fff0f0;
  color: #b22222
}

.admin-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 10px
}

.admin-form label {
  font-weight: 800;
  color: #4c3933
}

.admin-form input,
.admin-form select,
.admin-form textarea {
  width: 100%;
  margin-top: 6px;
  border: 1px solid rgba(47, 122, 95, .14);
  background: rgba(255, 255, 255, .92);
  border-radius: 14px;
  padding: 10px
}

.admin-form textarea {
  min-height: 86px;
  resize: vertical
}

.branch-settings {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px
}

.branch-setting-card {
  border: 1px solid rgba(47, 122, 95, .1);
  border-radius: 20px;
  padding: 16px;
  background: #fffaf8
}

.branch-setting-card label {
  display: block;
  font-weight: 850;
  margin: 10px 0;
  color: #4c3933
}

.branch-setting-card input {
  width: 100%;
  border: 1px solid rgba(47, 122, 95, .14);
  border-radius: 12px;
  padding: 10px;
  margin-top: 6px
}

.product-admin-thumb {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  object-fit: cover
}

.product-admin-actions {
  display: flex;
  gap: 6px
}

.product-admin-actions button {
  border-radius: 12px;
  background: #f4f2eb;
  padding: 8px 10px;
  font-weight: 900
}

@media(max-width:1080px) {
  .admin-body {
    grid-template-columns: 1fr
  }

  .admin-sidebar {
    position: relative;
    height: auto
  }

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

  .analytics-grid,
  .admin-grid-two {
    grid-template-columns: 1fr
  }

  .metric-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .branch-settings {
    grid-template-columns: 1fr 1fr
  }
}

@media(max-width:720px) {
  .admin-main {
    padding: 16px
  }

  .admin-nav {
    grid-template-columns: 1fr 1fr
  }

  .metric-grid,
  .branch-settings,
  .admin-form {
    grid-template-columns: 1fr
  }

  .admin-topbar,
  .admin-card-head,
  .order-admin-head {
    align-items: flex-start;
    flex-direction: column
  }
}

/* ===== Professional V2 Theme Enhancements ===== */
:root {
  --v2-bg: #f7f3ef;
  --v2-surface: #ffffff;
  --v2-ink: #1f1b19;
  --v2-muted: #6f6661;
  --v2-accent: #8f5c3e;
  --v2-accent-soft: #f2e6df;
  --v2-green: #2b6e56;
  --v2-shadow: 0 12px 30px rgba(0, 0, 0, .08);
}

@media (min-width:641px) and (max-width:1024px) {
  body.theme-v2 .nav {
    flex-wrap: wrap;
    justify-content: center;
    border-radius: 24px !important;
    row-gap: 10px !important;
  }

  body.theme-v2 .brand {
    flex: 1 1 auto;
  }

  body.theme-v2 .nav-links {
    display: flex !important;
    flex: 1 1 100%;
    order: 3;
    justify-content: center;
    gap: 18px !important;
  }

  body.theme-v2 .nav-links a {
    font-size: 15px !important;
    padding: 7px 8px;
  }

  body.theme-v2 .view-status-wrap {
    padding-top: 128px !important;
  }

  body.theme-v2 .hero {
    padding-top: 28px !important;
  }
}

body.theme-v2 .category-row {
  display: grid !important;
  grid-template-columns: repeat(6, minmax(110px, 1fr)) !important;
  gap: 14px !important;
  overflow: visible !important;
  padding: 16px !important;
  border-radius: 24px !important;
}

body.theme-v2 .category-row .category-tile {
  min-height: 132px !important;
  border-radius: 18px !important;
  padding: 10px 8px !important;
  background: transparent !important;
  color: #2d211f !important;
  display: grid !important;
  justify-items: center !important;
  gap: 8px !important;
}

body.theme-v2 .category-row .category-tile.active {
  background: #fff7f1 !important;
  color: #f26f4f !important;
}

body.theme-v2 .subcategory-row {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
}

@media (max-width: 980px) {
  body.theme-v2 .category-row {
    grid-template-columns: repeat(3, minmax(96px, 1fr)) !important;
  }
}

@media (max-width: 560px) {
  body.theme-v2 .category-row {
    grid-template-columns: repeat(2, minmax(96px, 1fr)) !important;
    padding: 12px !important;
  }

  .category-tile-img {
    width: 72px;
    height: 72px;
  }
}

body.theme-v2 #branches .branch-map-grid {
  display: grid !important;
  grid-template-columns: 360px minmax(0, 1fr) !important;
  align-items: start !important;
  gap: 24px !important;
}

body.theme-v2 #branchMapBoard {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 22px !important;
  min-height: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

body.theme-v2 #branchMapBoard::before {
  display: none !important;
}

body.theme-v2 #branchMapBoard .branch-google-card {
  display: grid !important;
  grid-template-columns: 1.15fr 0.85fr !important;
  gap: 0 !important;
  overflow: hidden !important;
  border-radius: 18px !important;
  background: #fff !important;
  border: 1px solid rgba(0, 0, 0, .1) !important;
  box-shadow: 0 16px 44px rgba(0, 0, 0, .1) !important;
}

body.theme-v2 #branchMapBoard .branch-google-card iframe {
  width: 100% !important;
  height: 320px !important;
  border: 0 !important;
  display: block !important;
  filter: none !important;
}

body.theme-v2 #branchMapBoard .branch-google-info {
  display: flex !important;
  align-items: flex-start !important;
  gap: 14px !important;
  padding: 22px !important;
  background: #fff !important;
}

body.theme-v2 #branchMapBoard .branch-google-info h3 {
  margin: 4px 0 8px !important;
  font-size: 22px !important;
  line-height: 1.15 !important;
}

body.theme-v2 #branchMapBoard .branch-google-info p,
body.theme-v2 #branchMapBoard .branch-google-info span {
  font-size: 14px !important;
  line-height: 1.55 !important;
}

body.theme-v2 #branchMapBoard .branch-google-actions {
  grid-column: 2 !important;
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 10px !important;
  padding: 0 22px 22px !important;
  background: #fff !important;
}

body.theme-v2 #branchMapBoard .branch-google-actions button,
body.theme-v2 #branchMapBoard .branch-google-actions a {
  min-height: 42px !important;
  border-radius: 10px !important;
  text-align: center !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-weight: 900 !important;
}

@media(max-width:1100px) {
  body.theme-v2 #branches .branch-map-grid {
    grid-template-columns: 1fr !important;
  }

  body.theme-v2 #branchMapBoard .branch-google-card {
    grid-template-columns: 1fr !important;
  }

  body.theme-v2 #branchMapBoard .branch-google-actions {
    grid-column: 1 !important;
  }
}

@media(max-width:640px) {
  body.theme-v2 #branchMapBoard .branch-google-card iframe {
    height: 300px !important;
  }
}

body.theme-v2 #branches .branch-map-grid {
  display: grid !important;
  grid-template-columns: 360px minmax(0, 1fr) !important;
  align-items: start !important;
  gap: 24px !important;
}

body.theme-v2 #branchMapBoard {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 22px !important;
  min-height: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

body.theme-v2 #branchMapBoard::before {
  display: none !important
}

body.theme-v2 #branchMapBoard .branch-google-card {
  position: static !important;
  display: grid !important;
  grid-template-columns: 1.15fr 0.85fr !important;
  gap: 0 !important;
  overflow: hidden !important;
  border-radius: 18px !important;
  background: #fff !important;
  border: 1px solid rgba(0, 0, 0, .1) !important;
  box-shadow: 0 16px 44px rgba(0, 0, 0, .1) !important;
}

body.theme-v2 #branchMapBoard .branch-google-card iframe {
  width: 100% !important;
  height: 320px !important;
  border: 0 !important;
  display: block !important;
  filter: none !important;
}

body.theme-v2 #branchMapBoard .branch-google-info {
  display: flex !important;
  align-items: flex-start !important;
  gap: 14px !important;
  padding: 22px !important;
  background: #fff !important;
}

body.theme-v2 #branchMapBoard .branch-google-info h3 {
  margin: 4px 0 8px !important;
  font-size: 22px !important;
  line-height: 1.15 !important
}

body.theme-v2 #branchMapBoard .branch-google-info p,
body.theme-v2 #branchMapBoard .branch-google-info span {
  font-size: 14px !important;
  line-height: 1.55 !important
}

body.theme-v2 #branchMapBoard .branch-google-actions {
  grid-column: 2 !important;
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 10px !important;
  padding: 0 22px 22px !important;
  background: #fff !important;
}

body.theme-v2 #branchMapBoard .branch-google-actions button,
body.theme-v2 #branchMapBoard .branch-google-actions a {
  min-height: 42px !important;
  border-radius: 10px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  font-weight: 900 !important;
}

@media(max-width:1100px) {
  body.theme-v2 #branches .branch-map-grid {
    grid-template-columns: 1fr !important
  }

  body.theme-v2 #branchMapBoard .branch-google-card {
    grid-template-columns: 1fr !important
  }

  body.theme-v2 #branchMapBoard .branch-google-actions {
    grid-column: 1 !important
  }
}

@media(max-width:640px) {
  body.theme-v2 #branchMapBoard .branch-google-card iframe {
    height: 310px !important
  }
}

body {
  color: var(--v2-ink);
  background:
    radial-gradient(circle at 15% 8%, rgba(185, 128, 95, .12), transparent 28%),
    radial-gradient(circle at 85% 18%, rgba(49, 107, 84, .10), transparent 26%),
    linear-gradient(180deg, #fdf9f6 0%, #f7f3ef 45%, #f4efe9 100%);
}

.nav {
  border-radius: 20px;
  padding: 10px 14px;
  box-shadow: var(--v2-shadow);
}

.brand b {
  font-size: 20px;
  letter-spacing: -.02em
}

.brand small {
  letter-spacing: .14em
}

.nav-links a {
  position: relative;
  transition: color .25s ease
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: var(--v2-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease
}

.nav-links a:hover::after {
  transform: scaleX(1)
}

.hero h2 {
  font-size: clamp(42px, 6.5vw, 82px);
  line-height: .95
}

.lead {
  font-size: 17px;
  max-width: 62ch
}

.branch-box {
  background: rgba(255, 255, 255, .85);
  box-shadow: var(--v2-shadow)
}

.branch-card {
  border-radius: 18px
}

.branch-card b {
  font-size: 15px
}

.section-head h2 {
  font-size: clamp(30px, 4.2vw, 54px)
}

.kicker {
  color: var(--v2-accent);
  letter-spacing: .22em
}

.search-box {
  border-radius: 14px;
  min-width: 320px
}

.search-box input {
  font-size: 15px
}

.product-card {
  border-radius: 24px;
  border: 1px solid rgba(0, 0, 0, .04);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .07);
}

.product-img {
  height: 220px
}

.product-title h3 {
  font-size: 21px;
  line-height: 1.2
}

.product-body p {
  min-height: 48px
}

.nutrition span {
  border-radius: 12px;
  background: #f6f1ec
}

.add-btn,
.qty {
  background: linear-gradient(90deg, #1f1b19, #8f5c3e)
}

.detail-btn {
  border-radius: 12px
}

.tracking-panel,
.map-card,
.location-map,
.owner-card,
.about-copy,
.delivery-flow,
.delivery-phone,
.feature-card,
.branch-item,
.footer,
.cart-drawer {
  box-shadow: var(--v2-shadow)
}

.footer {
  background: linear-gradient(135deg, #211815, #3b2a22);
  border-radius: 28px 28px 0 0;
}

.footer h2,
.footer h3 {
  letter-spacing: -.02em
}

.cart-drawer {
  border-left: 1px solid rgba(0, 0, 0, .06)
}

.place-order {
  background: linear-gradient(90deg, #8f5c3e, #d89a74);
  color: #fff
}

@media (max-width: 1024px) {
  .section-head {
    gap: 14px
  }

  .search-box {
    min-width: 100%
  }
}

@media (max-width: 640px) {
  .nav {
    border-radius: 16px
  }

  .hero h2 {
    font-size: 42px
  }

  .lead {
    font-size: 15px
  }

  .product-title h3 {
    font-size: 18px
  }
}

/* ===== FORCEFUL VISUAL REDESIGN (V2) ===== */
body.theme-v2 {
  background:
    radial-gradient(circle at 10% 0%, rgba(255, 196, 121, .28), transparent 24%),
    radial-gradient(circle at 90% 20%, rgba(121, 212, 176, .22), transparent 28%),
    linear-gradient(180deg, #fffaf3 0%, #f7f1e7 48%, #efe7dc 100%) !important;
  color: #1b1b1b !important;
}

body.theme-v2 .nav-wrap {
  padding: 16px 20px !important
}

body.theme-v2 .nav {
  border-radius: 18px !important;
  border: 1px solid rgba(0, 0, 0, .06) !important;
  background: rgba(255, 255, 255, .82) !important;
  backdrop-filter: blur(8px) !important;
  box-shadow: 0 12px 35px rgba(0, 0, 0, .12) !important;
}

body.theme-v2 .brand-icon {
  background: linear-gradient(135deg, #ffb35c, #ff6f61) !important;
  color: #fff !important;
  font-weight: 900 !important;
}

body.theme-v2 .nav-links a {
  color: #2f2f2f !important;
  font-size: 14px !important
}

body.theme-v2 .cart-button {
  background: linear-gradient(135deg, #1f7a5f, #11503f) !important;
  color: #fff !important;
  border-radius: 12px !important;
}

body.theme-v2 .cart-button span {
  background: #ffd56f !important;
  color: #1f1b19 !important
}

body.theme-v2 .hero {
  padding-top: 130px !important;
}

body.theme-v2 .hero-glow {
  background:
    radial-gradient(circle at 22% 20%, rgba(255, 188, 110, .40), transparent 36%),
    radial-gradient(circle at 80% 20%, rgba(79, 180, 144, .33), transparent 34%),
    radial-gradient(circle at 72% 82%, rgba(41, 120, 95, .20), transparent 34%) !important;
}

body.theme-v2 .hero h2 {
  color: #1d1d1d !important;
  font-size: clamp(42px, 6.5vw, 84px) !important;
  letter-spacing: -.04em !important;
}

body.theme-v2 .hero h2 span {
  background: linear-gradient(90deg, #ff6f61, #ffb35c, #1f7a5f) !important;
  -webkit-background-clip: text !important;
  color: transparent !important;
}

body.theme-v2 .lead {
  color: #4f4f4f !important;
  font-size: 18px !important
}

body.theme-v2 .btn.dark {
  background: linear-gradient(135deg, #ff6f61, #ff8f4d) !important;
  color: #fff !important;
  border-radius: 12px !important;
}

body.theme-v2 .btn.light {
  background: #fff !important;
  border: 1px solid rgba(0, 0, 0, .12) !important;
  color: #1f1f1f !important;
  border-radius: 12px !important;
}

body.theme-v2 .branch-box {
  background: rgba(255, 255, 255, .88) !important;
  border: 1px solid rgba(0, 0, 0, .06) !important;
  border-radius: 20px !important;
  box-shadow: 0 16px 28px rgba(0, 0, 0, .08) !important;
}

body.theme-v2 .branch-card {
  border-radius: 14px !important;
  background: #fff !important;
  border: 1px solid rgba(0, 0, 0, .08) !important;
}

body.theme-v2 .branch-card.active,
body.theme-v2 .branch-card:hover {
  background: linear-gradient(135deg, #fff4df, #eefbf6) !important;
  border-color: #1f7a5f !important;
}

body.theme-v2 .section-head h2,
body.theme-v2 .tracking-panel h2,
body.theme-v2 .about-copy h2,
body.theme-v2 .branch-map-grid h2,
body.theme-v2 .delivery-flow h2 {
  color: #1d1d1d !important
}

body.theme-v2 .kicker {
  color: #ff7d61 !important
}

body.theme-v2 .search-box {
  border: 1px solid rgba(0, 0, 0, .12) !important;
  background: #fff !important;
  border-radius: 14px !important;
  box-shadow: none !important;
}

body.theme-v2 .category-row button {
  background: #fff !important;
  border: 1px solid rgba(0, 0, 0, .09) !important;
  border-radius: 999px !important;
}

body.theme-v2 .category-row button.active {
  background: linear-gradient(135deg, #1f7a5f, #12523f) !important;
  color: #fff !important;
}

body.theme-v2 .product-card {
  border-radius: 18px !important;
  border: 1px solid rgba(0, 0, 0, .08) !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .09) !important;
}

body.theme-v2 .product-title b {
  color: #1f7a5f !important
}

body.theme-v2 .nutrition span {
  background: #f7f7f7 !important;
  color: #4a4a4a !important
}

body.theme-v2 .detail-btn {
  border-radius: 10px !important
}

body.theme-v2 .add-btn,
body.theme-v2 .qty {
  background: linear-gradient(135deg, #ff8f4d, #ff6f61) !important;
  color: #fff !important;
  border-radius: 10px !important;
}

body.theme-v2 .tracking-panel {
  background: linear-gradient(135deg, #133d33, #1f7a5f) !important;
  border-radius: 22px !important;
}

body.theme-v2 .map-card,
body.theme-v2 .location-map {
  border-radius: 22px !important;
  background: #f5f5f2 !important;
}

body.theme-v2 .owner-card,
body.theme-v2 .about-copy,
body.theme-v2 .delivery-flow,
body.theme-v2 .delivery-phone,
body.theme-v2 .branch-item {
  border-radius: 20px !important;
  border: 1px solid rgba(0, 0, 0, .08) !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .08) !important;
}

body.theme-v2 .footer {
  background: linear-gradient(135deg, #1f1b19, #3a2f2a) !important;
  border-radius: 26px 26px 0 0 !important;
}

body.theme-v2 .cart-drawer {
  border-left: 1px solid rgba(0, 0, 0, .1) !important
}

body.theme-v2 .place-order {
  background: linear-gradient(135deg, #1f7a5f, #12523f) !important;
  color: #fff !important;
  border-radius: 12px !important;
}

@media (max-width:640px) {
  body.theme-v2 .hero h2 {
    font-size: 42px !important
  }

  body.theme-v2 .nav {
    border-radius: 14px !important
  }
}

/* View switch mode: only selected customer section is visible */
body.theme-v2 [data-view-group] {
  display: none
}

body.theme-v2 [data-view-group].active-view {
  display: block
}

body.theme-v2 .nav-links a.active-view-link {
  color: #12523f !important;
  font-weight: 1000 !important
}

body.theme-v2 .nav-links a.active-view-link::after {
  transform: scaleX(1) !important
}

/* Intro logo image in first entrance animation */
body.theme-v2 .logo-image-wrap {
  width: 130px !important;
  height: 130px !important;
  border-radius: 28px !important;
  overflow: hidden;
  padding: 0 !important;
  border: 2px solid rgba(255, 255, 255, .25) !important;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .35) !important;
}

body.theme-v2 .logo-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Home bottom About section */
body.theme-v2 .home-about-bottom {
  max-width: 1020px;
}

body.theme-v2 .home-about-card {
  background: linear-gradient(135deg, #1f7a5f, #2d5e4d 52%, #6f4a34);
  color: #fff;
  border-radius: 24px;
  padding: 34px;
  box-shadow: 0 16px 34px rgba(0, 0, 0, .18);
}

body.theme-v2 .home-about-card .kicker {
  color: #ffd8a8 !important
}

body.theme-v2 .home-about-card h2 {
  margin: 10px 0 12px;
  font-size: clamp(32px, 4.8vw, 54px);
  line-height: 1;
  color: #fff !important;
}

body.theme-v2 .home-about-card p {
  color: rgba(255, 255, 255, .9) !important;
  max-width: 70ch;
  line-height: 1.7;
}

body.theme-v2 .home-about-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

body.theme-v2 .home-about-actions .btn.dark {
  background: #fff !important;
  color: #1f7a5f !important;
}

body.theme-v2 .home-about-actions .btn.light {
  background: rgba(255, 255, 255, .15) !important;
  border: 1px solid rgba(255, 255, 255, .4) !important;
  color: #fff !important;
}

@media (max-width:640px) {
  body.theme-v2 .logo-image-wrap {
    width: 98px !important;
    height: 98px !important;
    border-radius: 22px !important
  }

  body.theme-v2 .home-about-card {
    padding: 22px
  }
}

/* ===== Pro UX Components ===== */
.view-status-wrap {
  padding: 86px 20px 0
}

.view-status {
  margin: 0;
  color: #5a524c;
  font-weight: 800;
  letter-spacing: .04em
}

body.theme-v2 [data-view-group] {
  display: none;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .25s ease, transform .25s ease
}

body.theme-v2 [data-view-group].active-view {
  display: block;
  opacity: 1;
  transform: translateY(0)
}

.quick-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 0 14px
}

.quick-filters button {
  border: 1px solid rgba(0, 0, 0, .12);
  background: #fff;
  border-radius: 999px;
  padding: 9px 14px;
  font-weight: 800;
  cursor: pointer
}

.quick-filters button.active {
  background: linear-gradient(135deg, #1f7a5f, #12523f);
  color: #fff;
  border-color: transparent
}

.tracking-search {
  display: flex;
  gap: 10px;
  margin: 14px 0;
  flex-wrap: wrap
}

.tracking-search input {
  flex: 1;
  min-width: 260px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .25);
  background: rgba(255, 255, 255, .12);
  color: #fff
}

.tracking-search input::placeholder {
  color: rgba(255, 255, 255, .75)
}

.tracking-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 10px 0 14px
}

.tracking-meta div {
  padding: 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .12);
  font-weight: 700
}

.tracking-timeline {
  display: grid;
  gap: 8px;
  margin-top: 12px
}

.timeline-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .08);
  color: rgba(255, 255, 255, .75)
}

.timeline-row.done {
  background: rgba(255, 255, 255, .16);
  color: #fff
}

.branch-item {
  display: block !important
}

.branch-item img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 10px
}

.branch-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px
}

.branch-actions button,
.branch-actions a {
  border: 1px solid rgba(0, 0, 0, .12);
  background: #fff;
  border-radius: 10px;
  padding: 8px 12px;
  font-weight: 800;
  text-decoration: none;
  color: #222
}

.branch-actions button {
  cursor: pointer
}

.footer-grid {
  align-items: flex-start
}

.footer-legal {
  margin-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, .2);
  padding-top: 14px
}

.footer-legal p {
  font-size: 13px;
  color: rgba(255, 255, 255, .74)
}

.back-home-floating {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 120;
  border: 0;
  border-radius: 999px;
  padding: 11px 16px;
  background: linear-gradient(135deg, #1f7a5f, #12523f);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 10px 20px rgba(0, 0, 0, .2);
  cursor: pointer;
  display: none
}

@media (max-width:900px) {
  .tracking-meta {
    grid-template-columns: 1fr
  }
}

@media (max-width:640px) {
  .view-status-wrap {
    padding-top: 78px
  }

  .tracking-search input {
    min-width: 100%
  }

  .quick-filters {
    overflow: auto;
    white-space: nowrap;
    flex-wrap: nowrap;
    padding-bottom: 6px
  }

  .cart-button {
    position: relative
  }

  .cart-button::after {
    content: "";
    position: absolute;
    top: 105%;
    right: 0;
    background: #fafafa;
    color: #fff;
    font-size: 10px;
    padding: 4px 6px;
    border-radius: 6px;
    opacity: .8
  }
}

/* ===== Professional UI Refresh V3 ===== */
body.theme-v2 {
  --surface: #ffffff;
  --ink: #171616;
  --muted: #5f5953;
  --accent: #16624d;
  --accent2: #c97943;
  --line: rgba(23, 22, 22, .09);
}

body.theme-v2 .view-status-wrap {
  padding-top: 84px
}

body.theme-v2 .view-status {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: #8b837a
}

body.theme-v2 .nav {
  border-radius: 12px !important;
  padding: 8px 14px !important;
  background: rgba(255, 255, 255, .94) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .08) !important;
  transition: background .25s ease, box-shadow .25s ease, border-color .25s ease;
}

body.theme-v2 .brand {
  gap: 14px !important
}

body.theme-v2 .brand b {
  font-size: 18px !important
}

body.theme-v2 .brand small {
  font-size: 11px !important;
  letter-spacing: .16em !important
}

body.theme-v2 .brand-icon {
  border-radius: 10px !important;
  width: 48px !important;
  height: 48px !important
}

body.theme-v2 .nav-links {
  gap: 28px !important
}

body.theme-v2 .nav-links a {
  font-size: 16px !important;
  font-weight: 800 !important;
  color: #2b2b2b !important
}

body.theme-v2 .nav-links a.active-view-link {
  color: var(--accent) !important
}

body.theme-v2 .cart-button {
  border-radius: 10px !important;
  padding: 8px 12px !important;
  font-size: 16px;
  font-weight: 900 !important;
}

body.theme-v2 .hero,
body.theme-v2 .hero-banner-section,
body.theme-v2 #about,
body.theme-v2 #aboutBottom,
body.theme-v2 #menu,
body.theme-v2 #account,
body.theme-v2 #branches {
  max-width: 1200px;
  margin: 0 auto;
}

body.theme-v2 .hero {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(135deg, #fff8ef, #fff, #f4faf7);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .07);
}

body.theme-v2 .hero h2 {
  font-size: clamp(42px, 6vw, 78px) !important
}

body.theme-v2 .lead {
  font-size: 16px !important;
  line-height: 1.7 !important
}

body.theme-v2 .section-pad {
  padding: 64px 22px !important
}

body.theme-v2 .section-head {
  margin-bottom: 18px !important
}

body.theme-v2 .section-head h2 {
  font-size: clamp(30px, 4vw, 48px) !important;
  line-height: 1.05 !important
}

body.theme-v2 .product-card,
body.theme-v2 .owner-card,
body.theme-v2 .about-copy,
body.theme-v2 .tracking-panel,
body.theme-v2 .map-card,
body.theme-v2 .location-map,
body.theme-v2 .branch-item {
  border: 1px solid var(--line) !important;
  border-radius: 18px !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .07) !important;
}

body.theme-v2 .product-body {
  padding: 16px !important
}

body.theme-v2 .product-title h3 {
  font-size: 19px !important
}

body.theme-v2 .product-title b {
  font-size: 20px !important;
  color: var(--accent) !important
}

body.theme-v2 .quick-filters button,
body.theme-v2 .category-row button {
  height: 40px;
  padding: 0 14px !important;
  border-radius: 999px !important;
}

body.theme-v2 .tracking-panel {
  padding: 28px !important
}

body.theme-v2 .tracking-meta div,
body.theme-v2 .timeline-row {
  border-radius: 10px !important
}

body.theme-v2 .home-about-card {
  border-radius: 20px !important;
  padding: 30px !important;
}

/* Footer redesign */
body.theme-v2 .footer {
  margin-top: 26px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 22px !important;
  padding: 36px 24px !important;
  background: linear-gradient(135deg, #171312, #2f2522) !important;
}

body.theme-v2 .footer-grid {
  grid-template-columns: 1.2fr 1fr 1fr 1fr !important;
  gap: 22px !important;
}

body.theme-v2 .footer h2 {
  margin: 0 0 8px;
  font-size: 32px;
  letter-spacing: -.03em
}

body.theme-v2 .footer h3 {
  margin: 0 0 12px;
  font-size: 22px;
  letter-spacing: -.02em
}

body.theme-v2 .footer p {
  margin: 0;
  color: rgba(255, 255, 255, .76) !important;
  font-size: 15px;
  line-height: 1.75
}

body.theme-v2 .footer .socials {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 8px !important;
}

body.theme-v2 .footer .socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 10px !important;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .06) !important;
  color: #fff !important;
  font-size: 14px;
  font-weight: 800 !important;
  padding: 0 10px !important;
}

body.theme-v2 .footer .socials a:hover {
  background: rgba(255, 255, 255, .14) !important
}

body.theme-v2 .footer-legal {
  margin-top: 18px !important;
  padding-top: 14px !important
}

body.theme-v2 .footer-legal p {
  font-size: 13px !important;
  opacity: .85
}

body.theme-v2 .back-home-floating {
  border-radius: 999px !important;
  min-height: 44px;
  padding: 10px 18px !important;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
  font-size: 15px !important;
  line-height: 1 !important;
  font-weight: 800 !important;
}

@media (max-width:1080px) {
  body.theme-v2 .footer-grid {
    grid-template-columns: 1fr 1fr !important
  }
}

@media (max-width:720px) {
  body.theme-v2 .footer-grid {
    grid-template-columns: 1fr !important
  }

  body.theme-v2 .nav-links {
    gap: 18px !important
  }

  body.theme-v2 .nav-links a {
    font-size: 15px !important
  }
}

/* ===== Size balancing + hyperlink action style ===== */
body.theme-v2 .btn {
  padding: 10px 16px !important;
  font-size: 14px !important;
  line-height: 1.2 !important;
  border-radius: 10px !important;
}

body.theme-v2 .nav-links a {
  font-size: 14px !important;
  font-weight: 700 !important;
}

body.theme-v2 .cart-button {
  padding: 10px 14px !important;
  font-size: 14px !important;
  border-radius: 10px !important;
}

body.theme-v2 .cart-button span {
  min-width: 20px !important;
  height: 20px !important;
  font-size: 11px !important;
}

body.theme-v2 .section-head h2 {
  font-size: clamp(26px, 3.2vw, 40px) !important
}

body.theme-v2 .hero h2 {
  font-size: clamp(36px, 5.2vw, 64px) !important
}

body.theme-v2 .lead {
  font-size: 15px !important
}

body.theme-v2 .quick-filters button,
body.theme-v2 .category-row button {
  height: 34px !important;
  font-size: 12px !important;
  padding: 0 12px !important;
}

body.theme-v2 .home-about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

body.theme-v2 .inline-link-action {
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  border-bottom: 2px solid rgba(255, 255, 255, .45);
  padding-bottom: 2px;
  transition: all .2s ease;
}

body.theme-v2 .inline-link-action:hover {
  border-bottom-color: #fff;
  color: #ffe2bf;
}

body.theme-v2 .branch-actions button,
body.theme-v2 .branch-actions a {
  min-height: 34px !important;
  font-size: 12px !important;
  padding: 7px 10px !important;
  border-radius: 8px !important;
}

body.theme-v2 .footer h2 {
  font-size: 26px !important
}

body.theme-v2 .footer h3 {
  font-size: 18px !important
}

body.theme-v2 .footer p {
  font-size: 14px !important
}

body.theme-v2 .footer .socials a {
  min-height: 36px !important;
  font-size: 13px !important;
  border-radius: 8px !important;
}

@media (max-width: 900px) {
  body.theme-v2 .nav-links {
    gap: 14px !important
  }
}

@media (max-width: 640px) {
  body.theme-v2 .btn {
    padding: 9px 12px !important;
    font-size: 13px !important
  }

  body.theme-v2 .cart-button {
    padding: 9px 12px !important;
    font-size: 13px !important
  }

  body.theme-v2 .hero h2 {
    font-size: 34px !important
  }

  body.theme-v2 .section-head h2 {
    font-size: 28px !important
  }
}

/* Logo in top-left header */
body.theme-v2 .brand-icon {
  overflow: hidden;
  padding: 0 !important;
  background: #fff !important;
  border: 1px solid rgba(0, 0, 0, .08);
}

body.theme-v2 .brand-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Footer links as hyperlinks (no button look) */
body.theme-v2 .footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 14px;
}

body.theme-v2 .footer-links a {
  display: inline;
  min-height: unset !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  border-radius: 0 !important;
  color: rgba(255, 255, 255, .88) !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  text-decoration: none;
  line-height: 1.4;
}

body.theme-v2 .footer-links a:hover {
  color: #ffd9a8 !important;
  text-decoration: underline;
}

@media (max-width:720px) {
  body.theme-v2 .footer-links {
    grid-template-columns: 1fr
  }

  body.theme-v2 .footer-links a {
    font-size: 15px !important
  }
}

/* ===== Typography + Control Size Normalization ===== */
:root {
  --fs-xs: 12px;
  --fs-sm: 13px;
  --fs-md: 15px;
  --fs-lg: 18px;
  --fs-xl: 24px;
  --fs-2xl: 34px;
}

body.theme-v2 {
  font-size: var(--fs-md) !important
}

body.theme-v2 .brand b {
  font-size: 18px !important
}

body.theme-v2 .brand small {
  font-size: 11px !important
}

body.theme-v2 .nav-links a {
  font-size: 17px !important;
  font-weight: 700 !important
}

body.theme-v2 .cart-button {
  font-size: 16px !important;
  padding: 9px 13px !important
}

body.theme-v2 .cart-button span {
  font-size: 11px !important
}

/* Transparent navbar on scroll */
body.theme-v2 .nav-wrap.scrolled .nav {
  background: rgba(255, 255, 255, .55) !important;
  backdrop-filter: blur(6px) !important;
  box-shadow: none !important;
  border-color: rgba(0, 0, 0, .06) !important;
}

body.theme-v2 .hero h2 {
  font-size: clamp(34px, 4.4vw, 56px) !important
}

body.theme-v2 .lead {
  font-size: 15px !important;
  line-height: 1.65 !important
}

body.theme-v2 .section-head h2,
body.theme-v2 .about-copy h2,
body.theme-v2 .tracking-panel h2,
body.theme-v2 .branch-map-grid h2,
body.theme-v2 .worker-section h2,
body.theme-v2 .home-about-card h2 {
  font-size: clamp(26px, 3vw, 40px) !important;
  line-height: 1.12 !important;
}

body.theme-v2 .kicker {
  font-size: 11px !important
}

body.theme-v2 .pill {
  font-size: 11px !important;
  padding: 6px 10px !important
}

body.theme-v2 .btn {
  font-size: 13px !important;
  padding: 8px 12px !important
}

body.theme-v2 .quick-filters button,
body.theme-v2 .category-row button {
  font-size: 12px !important;
  height: 32px !important
}

body.theme-v2 .product-title h3 {
  font-size: 18px !important
}

body.theme-v2 .product-title b {
  font-size: 18px !important
}

body.theme-v2 .product-body p {
  font-size: 13px !important
}

body.theme-v2 .nutrition span {
  font-size: 11px !important
}

body.theme-v2 .detail-btn,
body.theme-v2 .add-btn,
body.theme-v2 .qty {
  font-size: 12px !important
}

body.theme-v2 .tracking-search input {
  font-size: 13px !important
}

body.theme-v2 .tracking-meta div,
body.theme-v2 .timeline-row {
  font-size: 12px !important
}

body.theme-v2 .branch-item b {
  font-size: 18px !important
}

body.theme-v2 .branch-item span {
  font-size: 13px !important
}

body.theme-v2 .branch-item small {
  font-size: 12px !important
}

body.theme-v2 .branch-actions button,
body.theme-v2 .branch-actions a {
  font-size: 12px !important
}

body.theme-v2 .footer h2 {
  font-size: 24px !important
}

body.theme-v2 .footer h3 {
  font-size: 19px !important
}

body.theme-v2 .footer p {
  font-size: 14px !important
}

body.theme-v2 .footer-links a {
  font-size: 14px !important
}

body.theme-v2 .footer-legal p {
  font-size: 12px !important
}

@media (max-width:1024px) {
  body.theme-v2 .brand b {
    font-size: 30px !important
  }

  body.theme-v2 .nav-links a {
    font-size: 15px !important
  }
}

@media (max-width:640px) {
  body.theme-v2 {
    font-size: 14px !important
  }

  body.theme-v2 .brand b {
    font-size: 15px !important
  }

  body.theme-v2 .brand small {
    font-size: 10px !important
  }

  body.theme-v2 .nav-links a {
    font-size: 14px !important
  }

  body.theme-v2 .hero h2 {
    font-size: 32px !important
  }

  body.theme-v2 .lead {
    font-size: 14px !important
  }

  body.theme-v2 .section-head h2,
  body.theme-v2 .about-copy h2,
  body.theme-v2 .tracking-panel h2,
  body.theme-v2 .branch-map-grid h2,
  body.theme-v2 .worker-section h2,
  body.theme-v2 .home-about-card h2 {
    font-size: 28px !important
  }
}

/* Distinct customer-centric menu controls */
body.theme-v2 .menu-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(22, 98, 77, .08), rgba(201, 121, 67, .08));
  border: 1px solid rgba(0, 0, 0, .08);
}

body.theme-v2 .menu-label {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #6c6159;
}

body.theme-v2 .quick-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0;
}

body.theme-v2 .quick-filters button {
  background: #153f33 !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 999px !important;
  font-weight: 800 !important;
  padding: 0 14px !important;
  min-height: 34px;
}

body.theme-v2 .quick-filters button.active {
  background: linear-gradient(135deg, #16624d, #c97943) !important;
}

body.theme-v2 .category-row {
  margin-top: 4px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, .08);
  background: #fff;
}

body.theme-v2 .category-row button {
  background: #f3f1ee !important;
  border: 1px solid rgba(0, 0, 0, .08) !important;
  color: #574f49 !important;
  font-weight: 700 !important;
}

body.theme-v2 .category-row button.active {
  background: #fff !important;
  border-color: #16624d !important;
  color: #16624d !important;
}

body.theme-v2 .customer-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

body.theme-v2 .link-chip {
  border: 0;
  background: none;
  color: #16624d;
  font-size: 12px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  padding: 0;
}

body.theme-v2 .link-chip:hover {
  color: #c97943
}

body.theme-v2 .results-meta {
  margin: 8px 2px 14px;
  font-size: 12px;
  color: #6f6661;
  font-weight: 700;
}

@media (max-width:900px) {
  body.theme-v2 .menu-toolbar {
    flex-direction: column;
    align-items: flex-start
  }

  body.theme-v2 .customer-tools {
    justify-content: flex-start
  }
}

/* Compact realistic micro-notifications */
body.theme-v2 .toast {
  top: 88px !important;
  right: 16px !important;
  bottom: auto !important;
  left: auto !important;
  max-width: 280px !important;
  min-width: 220px;
  padding: 10px 12px !important;
  border-radius: 12px !important;
  border: 1px solid rgba(0, 0, 0, .08);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .14) !important;
  transform: translateY(-8px) scale(.98) !important;
  opacity: 0;
}

body.theme-v2 .toast.show {
  transform: translateY(0) scale(1) !important;
  opacity: 1;
}

body.theme-v2 .toast b {
  display: block;
  font-size: 15px !important;
  line-height: 1.2;
  color: #1b1b1b;
  margin: 0 0 2px;
}

body.theme-v2 .toast p {
  margin: 0;
  font-size: 13px !important;
  line-height: 1.35;
  color: #4d4d4d;
}

body.theme-v2 .toast.toast-success {
  border-color: rgba(22, 98, 77, .25);
  background: #f5fbf8 !important;
}

body.theme-v2 .toast.toast-info {
  background: #fff !important;
}

@media (max-width:640px) {
  body.theme-v2 .toast {
    top: auto !important;
    bottom: 16px !important;
    right: 12px !important;
    max-width: calc(100vw - 24px) !important;
    min-width: unset;
  }
}

/* ===== Realistic Tracking Redesign ===== */
body.theme-v2 .tracking-panel-real {
  background: linear-gradient(180deg, #ffffff, #f7faf8) !important;
  color: #1c2220 !important;
  border: 1px solid rgba(0, 0, 0, .08) !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .08) !important;
}

body.theme-v2 .track-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start
}

body.theme-v2 .track-order-id {
  background: #f2f4f3;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 10px;
  padding: 10px 12px;
  min-width: 170px
}

body.theme-v2 .track-order-id span {
  display: block;
  font-size: 11px;
  color: #6e7571;
  text-transform: uppercase;
  letter-spacing: .1em
}

body.theme-v2 .track-order-id strong {
  font-size: 18px;
  color: #1d2a24
}

body.theme-v2 .tracking-panel-real .tracking-search input {
  background: #fff !important;
  color: #1c2220 !important;
  border: 1px solid rgba(0, 0, 0, .12) !important;
}

body.theme-v2 .tracking-panel-real .tracking-search input::placeholder {
  color: #727975 !important
}

body.theme-v2 .tracking-meta {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px
}

body.theme-v2 .tracking-meta div {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .08);
  padding: 10px;
  border-radius: 10px
}

body.theme-v2 .tracking-meta small {
  display: block;
  font-size: 11px;
  color: #6f7772;
  text-transform: uppercase;
  letter-spacing: .08em
}

body.theme-v2 .tracking-meta b {
  font-size: 14px;
  color: #1f2724
}

body.theme-v2 .tracking-status-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0
}

body.theme-v2 .track-chip {
  display: inline-flex;
  align-items: center;
  padding: 7px 11px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, .12);
  background: #fff;
  color: #38403c;
  font-size: 12px;
  font-weight: 700
}

body.theme-v2 .track-chip.done {
  background: #e8f5ef;
  color: #0f5d41;
  border-color: #b8dfcf
}

body.theme-v2 .track-timeline-wrap h3 {
  margin: 6px 0 8px;
  font-size: 16px;
  color: #22302b
}

body.theme-v2 .tracking-timeline {
  gap: 7px
}

body.theme-v2 .timeline-row {
  background: #fff !important;
  border: 1px solid rgba(0, 0, 0, .08);
  color: #2f3532 !important
}

body.theme-v2 .timeline-row small {
  color: #67706b
}

body.theme-v2 .timeline-row.done {
  background: #f3faf6 !important;
  color: #194b36 !important
}

body.theme-v2 .map-card-real {
  background: #fbfbfb !important;
  border: 1px solid rgba(0, 0, 0, .08) !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .08) !important;
}

body.theme-v2 .map-top-real {
  background: #fff !important;
  border: 1px solid rgba(0, 0, 0, .08);
  box-shadow: none !important
}

body.theme-v2 .route-live-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: #dff4ea;
  color: #146a49;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em
}

body.theme-v2 .route-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 12px 0
}

body.theme-v2 .route-kpis>div {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 10px;
  padding: 10px
}

body.theme-v2 .route-kpis small {
  display: block;
  font-size: 11px;
  color: #707873;
  text-transform: uppercase;
  letter-spacing: .08em
}

body.theme-v2 .route-kpis strong {
  font-size: 14px;
  color: #22302b
}

body.theme-v2 .route-canvas {
  position: relative;
  min-height: 360px;
  border-radius: 14px;
  background: #f1f3f2;
  border: 1px solid rgba(0, 0, 0, .06);
  overflow: hidden
}

body.theme-v2 .route-canvas::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, .35), rgba(255, 255, 255, 0) 40%),
    repeating-linear-gradient(90deg, rgba(120, 130, 124, .06) 0 1px, transparent 1px 60px),
    repeating-linear-gradient(0deg, rgba(120, 130, 124, .06) 0 1px, transparent 1px 60px);
  pointer-events: none;
}

/* ===== Route Markers (Branch & Customer) ===== */
body.theme-v2 .route-marker {
  position: absolute;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

body.theme-v2 .branch-marker {
  left: 7%;
  top: 26%;
}

body.theme-v2 .customer-marker {
  right: 5%;
  bottom: 14%;
}

body.theme-v2 .marker-pin {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 20px rgba(0,0,0,.2);
  position: relative;
  z-index: 2;
}

body.theme-v2 .branch-pin {
  background: linear-gradient(135deg, #1e6b50, #2a9d6e);
}

body.theme-v2 .customer-pin {
  background: linear-gradient(135deg, #1b3a2e, #2d6b52);
}

body.theme-v2 .marker-label {
  font-size: 11px;
  font-weight: 800;
  color: #2b3430;
  background: #fff;
  padding: 4px 10px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(0,0,0,.1);
  white-space: nowrap;
  letter-spacing: .02em;
}

body.theme-v2 .marker-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  z-index: 1;
}

body.theme-v2 .branch-marker .marker-pulse {
  background: rgba(42, 157, 110, .25);
  animation: markerPulse 2.4s ease-out infinite;
}

body.theme-v2 .customer-marker .marker-pulse {
  background: rgba(27, 58, 46, .2);
  animation: markerPulse 2.4s ease-out infinite .6s;
}

@keyframes markerPulse {
  0% {
    width: 42px;
    height: 42px;
    opacity: .7;
  }
  100% {
    width: 90px;
    height: 90px;
    opacity: 0;
  }
}

/* ===== SVG Route Line ===== */
body.theme-v2 .route-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

body.theme-v2 .route-shadow {
  fill: none;
  stroke: rgba(42, 157, 110, .12);
  stroke-width: 18;
  stroke-linecap: round;
  filter: blur(8px);
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  animation: drawRoute 3.5s cubic-bezier(.4, 0, .2, 1) forwards;
}

body.theme-v2 .route-line {
  fill: none;
  stroke: url(#routeGrad);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  animation: drawRoute 3s cubic-bezier(.4, 0, .2, 1) forwards .3s;
  filter: url(#routeGlow);
}

body.theme-v2 .route-trail {
  fill: none;
  stroke: url(#trailGrad);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 12 8;
  stroke-dashoffset: 1200;
  animation: drawRoute 3s cubic-bezier(.4, 0, .2, 1) forwards .6s,
             trailFlow 2s linear infinite 3.6s;
}

@keyframes drawRoute {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes trailFlow {
  to {
    stroke-dashoffset: -40;
  }
}

/* ===== Delivery Vehicle (SVG Group for Perfect Scaling) ===== */
g.delivery-vehicle {
  offset-path: path("M80 200 C170 270, 280 220, 380 300 C480 380, 560 360, 640 400");
  offset-distance: 0%;
  animation: rideRoute 8s cubic-bezier(.25, .1, .25, 1) infinite 3.2s;
  will-change: offset-distance;
}

@keyframes rideRoute {
  0% {
    offset-distance: 0%;
  }
  85% {
    offset-distance: 100%;
  }
  100% {
    offset-distance: 100%;
  }
}

.vehicle-glow-svg {
  animation: vehicleGlowSvg 2s ease-in-out infinite alternate;
}

@keyframes vehicleGlowSvg {
  0% {
    r: 18;
    opacity: 0.35;
  }
  100% {
    r: 28;
    opacity: 0.1;
  }
}

.vehicle-body-svg {
  filter: drop-shadow(0 3px 8px rgba(30, 60, 50, .5));
}

@media (max-width:900px) {
  body.theme-v2 .track-head {
    flex-direction: column
  }

  body.theme-v2 .tracking-meta,
  body.theme-v2 .route-kpis {
    grid-template-columns: 1fr
  }

  body.theme-v2 .route-canvas {
    min-height: 280px;
  }

  body.theme-v2 .marker-pin {
    width: 34px;
    height: 34px;
  }
}

/* ===== Customer Account + Dashboard ===== */
body.theme-v2 #account {
  max-width: 1200px;
  margin: 0 auto;
}

body.theme-v2 .account-button {
  border-radius: 10px;
  background: #f1f7f3;
  border: 1px solid rgba(22, 98, 77, .18);
  color: #16624d;
  min-height: 42px;
  padding: 0 14px;
  font-weight: 900;
}

body.theme-v2.auth-locked {
  min-height: 100vh;
}

body.theme-v2.auth-locked #publicApp,
body.theme-v2:not(.auth-locked) #authGate {
  display: none !important;
}

body.theme-v2 .auth-gate {
  min-height: 100vh;
  display: grid;
  align-content: center;
  gap: 28px;
  padding: 112px 22px 52px;
  background:
    linear-gradient(135deg, rgba(28, 53, 41, 0.82), rgba(154, 106, 61, 0.68)),
    url('assets/background.jpg') center/cover no-repeat;
  position: relative;
  overflow: hidden;
}

body.theme-v2 .auth-gate:before {
  content: "";
  position: absolute;
  inset: 0;
  backdrop-filter: blur(4px);
  pointer-events: none;
  z-index: 0;
}

body.theme-v2 .auth-gate>* {
  position: relative;
  z-index: 1;
}

body.theme-v2 .auth-gate-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 22px;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.12);
}

body.theme-v2 .auth-gate-brand img {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  object-fit: cover;
}

body.theme-v2 .auth-gate-brand b {
  display: block;
  font-size: 20px;
}

body.theme-v2 .auth-gate-brand small {
  display: block;
  color: #c97943;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

body.theme-v2 .auth-gate-panel {
  width: min(1120px, 100%);
}

body.theme-v2 .auth-solo-panel {
  display: flex;
  justify-content: center;
}

body.theme-v2 .auth-solo-panel .auth-card {
  width: min(560px, 100%);
}

body.theme-v2 .account-shell {
  display: grid;
  gap: 18px;
}

body.theme-v2 .account-auth-panel {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 18px;
  align-items: stretch;
}

body.theme-v2 .account-auth-copy,
body.theme-v2 .auth-card,
body.theme-v2 .customer-dashboard,
body.theme-v2 .dashboard-panel,
body.theme-v2 .branch-map-board {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 28px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.22);
}

body.theme-v2 .account-auth-copy {
  padding: 40px 36px;
  background: linear-gradient(145deg, #1c3529 0%, #2e5440 55%, #9a6a3d 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
  overflow: hidden;
  position: relative;
}

body.theme-v2 .account-auth-copy::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('assets/background.jpg') center/cover no-repeat;
  opacity: 0.08;
  pointer-events: none;
}

body.theme-v2 .account-auth-copy > * {
  position: relative;
  z-index: 1;
}

body.theme-v2 .auth-brand-hero {
  display: flex;
  align-items: center;
  gap: 14px;
}

body.theme-v2 .auth-brand-logo {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  border: 2px solid rgba(255,255,255,0.25);
}

body.theme-v2 .auth-brand-hero strong {
  display: block;
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
}

body.theme-v2 .auth-brand-hero span {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #f4b97a;
  margin-top: 2px;
}

body.theme-v2 .auth-hero-headline {
  font-size: clamp(32px, 3.5vw, 48px) !important;
  line-height: 1.1 !important;
  color: #fff !important;
  font-weight: 900 !important;
  margin: 0 !important;
}

body.theme-v2 .auth-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

body.theme-v2 .auth-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.88);
  font-size: 14px;
  font-weight: 500;
}

body.theme-v2 .auth-feat-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.15);
}

body.theme-v2 .account-auth-copy h2,
body.theme-v2 .customer-dashboard h2 {
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.05;
  margin: 8px 0 12px;
}

body.theme-v2 .account-auth-copy p,
body.theme-v2 .customer-dashboard p {
  color: #66716b;
  line-height: 1.7;
}

body.theme-v2 .auth-card {
  padding: 48px 44px 44px;
  position: relative;
}

body.theme-v2 .auth-card-close {
  position: absolute;
  top: 14px;
  right: 16px;
  border: 0;
  background: transparent;
  font-size: 26px;
  line-height: 1;
  color: #7a857f;
  cursor: pointer;
  padding: 4px;
}

body.theme-v2 .auth-card-close:hover {
  color: #111;
}

body.theme-v2 .auth-card-header {
  text-align: center;
  margin-bottom: 32px;
}

body.theme-v2 .auth-card-logo {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 12px 32px rgba(0,0,0,0.14);
  margin-bottom: 16px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

body.theme-v2 .auth-card-title {
  font-size: 28px !important;
  font-weight: 800 !important;
  color: #111 !important;
  margin: 0 0 6px !important;
  line-height: 1.1 !important;
}

body.theme-v2 .auth-card-sub {
  font-size: 14px;
  color: #7a857f;
  margin: 0;
}

body.theme-v2 .auth-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 6px;
  border-radius: 16px;
  background: #f0f2f0;
  margin-bottom: 24px;
}

body.theme-v2 .auth-tabs button {
  height: 44px;
  border-radius: 12px;
  background: transparent;
  color: #59625d;
  font-weight: 700;
  font-size: 14px;
  transition: all 0.2s;
}

body.theme-v2 .auth-tabs button.active {
  background: #fff;
  color: #16624d;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .1);
}

body.theme-v2 .auth-form {
  display: none;
  gap: 16px;
}

body.theme-v2 .auth-form.active {
  display: grid;
}

body.theme-v2 .auth-form label {
  display: grid;
  gap: 8px;
  color: #3a443e;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

body.theme-v2 .auth-form input {
  width: 100%;
  border: 1.5px solid #e2e6e3;
  background: #f8faf9;
  border-radius: 14px;
  min-height: 52px;
  padding: 0 16px;
  outline: 0;
  font-size: 15px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

body.theme-v2 .auth-form input:focus {
  border-color: #16624d;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(22, 98, 77, .08);
}

body.theme-v2 .auth-form button[type="submit"],
body.theme-v2 .dashboard-actions button {
  min-height: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, #1c3529, #2e6e52);
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.01em;
  box-shadow: 0 8px 24px rgba(22, 98, 77, 0.28);
  transition: transform 0.15s, box-shadow 0.15s;
  margin-top: 4px;
}

body.theme-v2 .auth-form button[type="submit"]:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 32px rgba(22, 98, 77, 0.35);
}

body.theme-v2 .auth-note {
  margin: 0;
  font-size: 12px;
  color: #6e756f;
  text-align: center;
}

body.theme-v2 .is-hidden {
  display: none !important;
}

body.theme-v2 .customer-dashboard {
  padding: 22px;
}

body.theme-v2 .dashboard-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
}

body.theme-v2 .dashboard-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

body.theme-v2 .dashboard-actions button:nth-child(2) {
  background: #f2f4f3;
  color: #2d3631;
}

body.theme-v2 .dashboard-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin: 16px 0;
}

body.theme-v2 .dashboard-cards div,
body.theme-v2 #dashboardProfile p {
  border: 1px solid rgba(0, 0, 0, .08);
  background: #f8faf8;
  border-radius: 14px;
  padding: 14px;
}

body.theme-v2 .dashboard-cards small,
body.theme-v2 #dashboardProfile span {
  display: block;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #6f7772;
  font-weight: 900;
}

body.theme-v2 .dashboard-cards strong,
body.theme-v2 #dashboardProfile b {
  display: block;
  margin-top: 4px;
  color: #1f2724;
}

body.theme-v2 .dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

body.theme-v2 .dashboard-panel {
  padding: 16px;
  box-shadow: none;
}

body.theme-v2 .dashboard-panel h3 {
  margin: 0 0 12px;
  font-size: 18px;
}

body.theme-v2 .dashboard-orders {
  display: grid;
  gap: 8px;
}

body.theme-v2 .dashboard-order-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  text-align: left;
  border: 1px solid rgba(0, 0, 0, .08);
  background: #fff;
  border-radius: 12px;
  padding: 12px;
}

body.theme-v2 .dashboard-order-row small {
  display: block;
  margin-top: 4px;
  color: #737b76;
}

body.theme-v2 .dashboard-live-list {
  display: grid;
  gap: 8px;
}

body.theme-v2 .dashboard-live-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  border: 1px solid rgba(0, 0, 0, .08);
  background: #fff;
  border-radius: 12px;
  padding: 12px;
}

body.theme-v2 .dashboard-live-row b,
body.theme-v2 .dashboard-live-row strong {
  color: #1f2724;
}

body.theme-v2 .dashboard-live-row small {
  display: block;
  margin-top: 4px;
  color: #737b76;
  line-height: 1.35;
}

body.theme-v2 .dashboard-total-row {
  background: #f1f7f3;
}

body.theme-v2 .empty-dashboard {
  margin: 0;
  padding: 14px;
  border-radius: 12px;
  background: #f8faf8;
}

body.theme-v2 .account-tracking-grid {
  margin-top: 0;
}

body.theme-v2 .home-branch-maps {
  margin-top: 34px;
}

body.theme-v2 .home-branch-maps .section-head {
  margin-bottom: 14px !important;
}

body.theme-v2 .home-branch-maps .branch-map-board {
  min-height: 430px;
}

body.theme-v2 .home-branch-maps .branch-map-card-2 {
  top: 140px;
}

body.theme-v2 .home-branch-maps .branch-map-card-3 {
  bottom: 22px;
}

/* ===== Three Branch Map Cards ===== */
body.theme-v2 .branch-map-board {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  padding: 18px;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, .76), rgba(255, 255, 255, .42)),
    repeating-linear-gradient(90deg, rgba(22, 98, 77, .08) 0 1px, transparent 1px 58px),
    repeating-linear-gradient(0deg, rgba(201, 121, 67, .08) 0 1px, transparent 1px 58px),
    #f3f5f1;
}

body.theme-v2 .branch-map-board::before {
  content: "";
  position: absolute;
  left: 12%;
  right: 10%;
  top: 28%;
  height: 52%;
  border: 4px dashed rgba(22, 98, 77, .25);
  border-left: 0;
  border-bottom: 0;
  border-radius: 0 120px 0 0;
}

body.theme-v2 .branch-map-card {
  position: absolute;
  z-index: 2;
  width: min(330px, calc(100% - 34px));
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .08);
}

body.theme-v2 .branch-map-card-1 {
  left: 22px;
  top: 26px
}

body.theme-v2 .branch-map-card-2 {
  right: 22px;
  top: 190px
}

body.theme-v2 .branch-map-card-3 {
  left: 54px;
  bottom: 28px
}

body.theme-v2 .branch-map-pin {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #173f34;
  color: #fff;
  font-weight: 1000;
}

body.theme-v2 .branch-map-card small {
  color: #c97943;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 900;
}

body.theme-v2 .branch-map-card h3 {
  margin: 4px 0;
  font-size: 18px;
}

body.theme-v2 .branch-map-card p,
body.theme-v2 .branch-map-card span {
  display: block;
  margin: 0 0 8px;
  color: #66716b;
  font-size: 13px;
  line-height: 1.45;
}

body.theme-v2 .branch-map-card a {
  grid-column: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: start;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 10px;
  background: #f1f7f3;
  color: #16624d;
  font-size: 12px;
  font-weight: 900;
}

body.theme-v2 .branch-item img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, .08);
  margin-bottom: 10px;
}

/* Real embedded Google map cards */
body.theme-v2 .branch-map-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  min-height: 0 !important;
  padding: 14px;
  overflow: visible;
}

body.theme-v2 .branch-map-board::before {
  display: none;
}

body.theme-v2 .branch-google-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
  contain: layout paint;
  transform: translateZ(0);
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .08);
}

body.theme-v2 .branch-google-card iframe {
  display: block;
  width: 100%;
  height: 140px;
  border: 0;
  background: #eef2ef;
}

body.theme-v2 .home-branch-maps .branch-google-card iframe {
  pointer-events: none;
}

body.theme-v2 .branch-google-info {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  padding: 14px 14px 8px;
}

body.theme-v2 .branch-google-info small {
  color: #c97943;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 900;
}

body.theme-v2 .branch-google-info h3 {
  margin: 4px 0;
  font-size: 18px;
  line-height: 1.2;
}

body.theme-v2 .branch-google-info p,
body.theme-v2 .branch-google-info span {
  display: block;
  margin: 0 0 7px;
  color: #66716b;
  font-size: 13px;
  line-height: 1.45;
}

body.theme-v2 .branch-google-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 14px 14px;
  margin-top: auto;
}

body.theme-v2 .branch-google-actions button,
body.theme-v2 .branch-google-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 11px;
  border-radius: 10px;
  background: #f1f7f3;
  color: #16624d;
  font-size: 12px;
  font-weight: 900;
}

body.theme-v2 .branch-google-actions button {
  background: #173f34;
  color: #fff;
}

/* Final responsive readability pass */
body.theme-v2 .dashboard-cards {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

body.theme-v2 .nav,
body.theme-v2 .card-actions,
body.theme-v2 .product-title,
body.theme-v2 .dashboard-head {
  min-width: 0;
}

body.theme-v2 button,
body.theme-v2 .btn,
body.theme-v2 a {
  max-width: 100%;
}

/* Product detail modal */
body.theme-v2 .detail-overlay {
  position: fixed;
  inset: 0;
  z-index: 88;
  display: none;
  background: rgba(31, 27, 25, .62);
}

body.theme-v2 .detail-overlay.open {
  display: block;
}

body.theme-v2 .product-detail-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 90;
  width: min(920px, calc(100vw - 28px));
  max-height: min(780px, calc(100vh - 36px));
  overflow: auto;
  transform: translate(-50%, -46%) scale(.98);
  opacity: 0;
  pointer-events: none;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 18px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .22);
  transition: .22s ease;
}

body.theme-v2 .product-detail-modal.open {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  pointer-events: auto;
}

body.theme-v2 .product-detail-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .08);
  color: #1f2724;
  font-weight: 900;
}

body.theme-v2 .product-detail-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 0;
}

body.theme-v2 .product-detail-media {
  position: relative;
  min-height: 430px;
  background: #f3f4f2;
}

body.theme-v2 .product-detail-media img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  display: block;
}

body.theme-v2 .detail-offer {
  position: absolute;
  left: 16px;
  bottom: 16px;
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  background: #173f34;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

body.theme-v2 .product-detail-body {
  padding: 30px;
}

body.theme-v2 .product-detail-body h2 {
  margin: 8px 0 12px;
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.08;
  letter-spacing: 0;
}

body.theme-v2 .product-detail-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid rgba(0, 0, 0, .08);
  border-bottom: 1px solid rgba(0, 0, 0, .08);
}

body.theme-v2 .product-detail-price strong {
  font-size: 24px;
  color: #173f34;
}

body.theme-v2 .product-detail-price span,
body.theme-v2 .detail-summary,
body.theme-v2 .detail-branches p {
  color: #66716b;
  line-height: 1.6;
}

body.theme-v2 .detail-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0;
}

body.theme-v2 .detail-facts div,
body.theme-v2 .detail-branches {
  border: 1px solid rgba(0, 0, 0, .08);
  background: #f8faf8;
  border-radius: 14px;
  padding: 12px;
}

body.theme-v2 .detail-facts small,
body.theme-v2 .detail-branches small {
  display: block;
  color: #6f7772;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

body.theme-v2 .detail-facts b {
  display: block;
  margin-top: 5px;
  font-size: 14px;
}

body.theme-v2 .detail-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

body.theme-v2 .detail-actions button {
  min-height: 44px;
  border-radius: 12px;
  padding: 0 16px;
  font-weight: 900;
  background: #173f34;
  color: #fff;
}

body.theme-v2 .detail-actions button:nth-child(2) {
  background: #f2f4f3;
  color: #2d3631;
}

body.theme-v2 .weight-picker {
  margin: 14px 0;
}

body.theme-v2 .weight-picker small {
  display: block;
  color: #6f7772;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

body.theme-v2 .weight-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

body.theme-v2 .weight-btn {
  min-height: 40px;
  padding: 0 16px;
  border-radius: 10px;
  border: 1.5px solid rgba(0, 0, 0, .12);
  background: #fff;
  color: #2d3631;
  font-weight: 800;
  cursor: pointer;
}

body.theme-v2 .weight-btn.active {
  background: #173f34;
  border-color: #173f34;
  color: #fff;
}

body.theme-v2 .product-detail-price s {
  color: #99a29c;
  font-size: 15px;
  font-weight: 600;
}

body.theme-v2 .discount-badge {
  color: #1a8c4a;
  background: #e9f7ef;
  font-weight: 700;
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 20px;
  white-space: nowrap;
}

body.theme-v2 .eggless-option {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 14px 0;
  font-weight: 700;
  color: #2d3631;
}

body.theme-v2 .eggless-option input {
  width: 18px;
  height: 18px;
}

body.theme-v2 .product-title b s {
  color: #99a29c;
  font-size: 12px;
  font-weight: 600;
  margin-left: 4px;
}

body.theme-v2 .price-block {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  flex-basis: 100%;
}

body.theme-v2 .price-sub {
  display: flex;
  align-items: center;
  gap: 8px;
}

body.theme-v2 .price-sub s {
  color: #99a29c;
  font-size: 13px;
  font-weight: 600;
}

body.theme-v2 .price-sub .discount-badge {
  margin-left: 0;
}

body.theme-v2 .menu-pager {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin: 14px 0 18px;
  padding: 12px;
  border: 1px solid rgba(23, 63, 52, .12);
  border-radius: 14px;
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 12px 30px rgba(36, 29, 25, .06);
}

body.theme-v2 .menu-page-size,
body.theme-v2 .menu-page-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

body.theme-v2 .menu-page-size span,
body.theme-v2 .menu-page-nav span {
  color: #655d55;
  font-size: 13px;
  font-weight: 900;
}

body.theme-v2 .menu-page-size button,
body.theme-v2 .menu-page-nav button {
  min-width: 42px;
  min-height: 38px;
  border: 1px solid rgba(23, 63, 52, .18);
  border-radius: 10px;
  background: #fff;
  color: #2f2a25;
  font-size: 14px;
  font-weight: 1000;
  cursor: pointer;
}

body.theme-v2 .menu-page-nav button {
  min-width: 92px;
  padding: 0 14px;
}

body.theme-v2 .menu-page-size button.active {
  background: #173f34;
  color: #fff;
  border-color: #173f34;
}

body.theme-v2 .menu-page-nav button:disabled {
  cursor: not-allowed;
  opacity: .45;
  background: #f3f1ed;
}

@media (max-width:900px) {

  body.theme-v2 .account-auth-panel,
  body.theme-v2 .dashboard-grid,
  body.theme-v2 .dashboard-cards {
    grid-template-columns: 1fr 1fr;
  }

  body.theme-v2 .dashboard-head {
    display: block;
  }

  body.theme-v2 .dashboard-actions {
    justify-content: flex-start;
  }

  body.theme-v2 .branch-map-board {
    min-height: auto;
    display: grid;
    gap: 12px;
  }

  body.theme-v2 .branch-map-board::before {
    display: none;
  }

  body.theme-v2 .branch-map-card {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    width: 100%;
  }

  body.theme-v2 .branch-map-board {
    grid-template-columns: 1fr;
  }

  body.theme-v2 .branch-google-card iframe {
    height: 240px;
  }

  body.theme-v2 .product-detail-grid {
    grid-template-columns: 1fr;
  }

  body.theme-v2 .product-detail-media,
  body.theme-v2 .product-detail-media img {
    min-height: 300px;
  }

  body.theme-v2 .menu-pager {
    display: grid;
    grid-template-columns: 1fr;
  }
}

@media (max-width:640px) {
  body.theme-v2 .nav {
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px !important;
    padding: 8px !important;
  }

  body.theme-v2 .brand {
    flex: 1 1 100%;
    justify-content: center;
  }

  body.theme-v2 .nav-links {
    display: flex !important;
    order: 3;
    flex: 1 1 100%;
    justify-content: center;
    gap: 10px !important;
  }

  body.theme-v2 .nav-links a {
    font-size: 13px !important;
    padding: 6px 4px;
  }

  body.theme-v2 .view-status-wrap {
    padding-top: 190px !important;
  }

  body.theme-v2 .hero {
    padding-top: 24px !important;
    overflow: visible !important;
    padding-bottom: 32px !important;
  }

  body.theme-v2 .account-button {
    min-height: 38px;
    padding: 0 10px;
    font-size: 13px;
  }

  body.theme-v2 .account-auth-copy,
  body.theme-v2 .auth-card,
  body.theme-v2 .customer-dashboard {
    padding: 12px;
  }

  body.theme-v2 .account-auth-copy h2,
  body.theme-v2 .customer-dashboard h2 {
    font-size: 27px;
  }

  body.theme-v2 .dashboard-cards {
    grid-template-columns: 1fr 1fr;
  }

  body.theme-v2 .dashboard-cards strong {
    font-size: 15px;
    overflow-wrap: anywhere;
  }

  body.theme-v2 .dashboard-grid {
    grid-template-columns: 1fr;
  }

  body.theme-v2 .dashboard-live-row,
  body.theme-v2 .dashboard-order-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  body.theme-v2 .product-grid {
    grid-template-columns: 1fr !important;
  }

  body.theme-v2 .product-card {
    border-radius: 14px !important;
  }

  body.theme-v2 .product-img {
    height: 190px;
  }

  body.theme-v2 .card-actions {
    align-items: stretch;
    gap: 8px;
  }

  body.theme-v2 .menu-pager {
    margin: 12px 0 16px;
    padding: 10px;
  }

  body.theme-v2 .menu-page-size,
  body.theme-v2 .menu-page-nav {
    justify-content: center;
  }

  body.theme-v2 .menu-page-nav {
    display: grid;
    grid-template-columns: 1fr;
    text-align: center;
  }

  body.theme-v2 .menu-page-nav button {
    width: 100%;
  }

  body.theme-v2 .detail-btn,
  body.theme-v2 .add-btn,
  body.theme-v2 .qty {
    min-height: 40px;
    padding: 9px 12px !important;
  }

  body.theme-v2 .branch-google-card iframe {
    height: 210px;
  }

  body.theme-v2 .branch-google-info h3 {
    font-size: 16px;
  }

  body.theme-v2 .branch-google-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  body.theme-v2 .tracking-grid {
    gap: 14px;
  }

  body.theme-v2 .route-canvas {
    min-height: 280px !important;
  }

  body.theme-v2 .cart-drawer {
    padding: 16px;
  }

  body.theme-v2 .product-detail-modal {
    width: calc(100vw - 18px);
    max-height: calc(100vh - 22px);
    border-radius: 14px;
  }

  body.theme-v2 .product-detail-body {
    padding: 18px;
  }

  body.theme-v2 .product-detail-body h2 {
    font-size: 24px;
  }

  body.theme-v2 .product-detail-price {
    display: block;
  }

  body.theme-v2 .detail-facts {
    grid-template-columns: 1fr;
  }

  body.theme-v2 .detail-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  body.theme-v2 .product-detail-media,
  body.theme-v2 .product-detail-media img {
    min-height: 230px;
  }
}

@media (min-width:641px) and (max-width:1024px) {
  body.theme-v2 .nav {
    flex-wrap: wrap !important;
    justify-content: center !important;
    border-radius: 24px !important;
    row-gap: 10px !important;
  }

  body.theme-v2 .brand {
    flex: 1 1 auto !important;
  }

  body.theme-v2 .nav-links {
    display: flex !important;
    flex: 1 1 100% !important;
    order: 3 !important;
    justify-content: center !important;
    gap: 18px !important;
  }

  body.theme-v2 .nav-links a {
    display: inline-flex !important;
    font-size: 15px !important;
    padding: 7px 8px !important;
  }

  body.theme-v2 .view-status-wrap {
    padding-top: 128px !important;
  }

  body.theme-v2 .hero {
    padding-top: 28px !important;
  }
}

/* ══ Mobile polish layer (2026-06-12) ══════════════════════ */
@media (max-width: 760px) {
  html, body { overflow-x: hidden; }
  /* home branch maps are 3-up via inline style — stack on phones */
  .home-branch-maps-grid { grid-template-columns: 1fr !important; }
  .hbm-map { min-height: 220px; }
  .cart-drawer { width: 100%; padding: 18px 14px; }
  /* 16px stops iOS Safari from auto-zooming into form fields */
  .cart-drawer input, .cart-drawer select, .cart-drawer textarea { font-size: 16px; }
  .menu-toolbar { display: block; }
  .menu-page-nav, .menu-page-size { flex-wrap: wrap; gap: 8px; }
  .route-kpis { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  body.theme-v2 .account-tracking-grid { grid-template-columns: 1fr !important; }
  body.theme-v2 .product-detail-grid { grid-template-columns: 1fr !important; }
  #userTrackingMap { min-height: 260px; }
}

@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr !important; }
  body.theme-v2 .category-row { grid-template-columns: repeat(3, 1fr) !important; }
  .quick-filters { flex-wrap: wrap; }
}

/* ══ Android homepage full-visibility fix (2026-06-13) ══════ */

/* Prevent any horizontal overflow site-wide */
html, body {
  overflow-x: hidden;
  max-width: 100vw;
}

@media (max-width: 640px) {

  /* Hero: let visual size to its content */
  .hero-visual,
  body.theme-v2 .hero-visual {
    min-height: unset !important;
    max-height: unset !important;
    height: auto !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: visible !important;
    padding: 0 16px 24px !important;
  }

  /* Hero copy: tighten section spacing */
  body.theme-v2 .hero {
    padding-top: 20px !important;
    padding-bottom: 28px !important;
  }

  /* Pills wrap cleanly */
  body.theme-v2 .pill-row {
    gap: 8px !important;
  }
  body.theme-v2 .pill {
    font-size: 11px !important;
    padding: 5px 10px !important;
  }

  /* CTA row stacks on narrow screens */
  body.theme-v2 .cta-row {
    flex-direction: column !important;
    gap: 10px !important;
  }
  body.theme-v2 .cta-row .btn {
    width: 100% !important;
    text-align: center !important;
  }

  /* Category tiles: reduce height on phones */
  body.theme-v2 .category-row .category-tile {
    min-height: 96px !important;
    padding: 8px 4px !important;
    font-size: 11px !important;
  }
  .category-tile-img {
    width: 56px !important;
    height: 56px !important;
  }

  /* About card: reduce padding */
  body.theme-v2 .home-about-card {
    padding: 20px !important;
    border-radius: 18px !important;
  }

  /* Footer: compact on mobile */
  body.theme-v2 .footer,
  .footer {
    padding: 32px 16px 24px !important;
  }
  .footer-grid {
    gap: 20px !important;
  }

  /* Section headings consistent size */
  body.theme-v2 .section-head h2 {
    font-size: 24px !important;
  }

  /* Media section heading */
  body.theme-v2 .homepage-media-section h2 {
    font-size: 26px !important;
    line-height: 1.15 !important;
  }

  /* Prevent any child overflowing the container */
  .container {
    overflow-x: hidden;
  }
}

/* ══ About section overflow fix (2026-06-13) ══ */

/* About section — fix overflow on mobile */
@media (max-width: 640px) {
  .about-copy {
    padding: 20px !important;
    border-radius: 20px !important;
  }

  .owner-card {
    border-width: 4px !important;
    border-radius: 20px !important;
  }

  .owner-card img {
    height: 280px !important;
  }

  .owner-card div {
    padding: 16px !important;
  }

  .owner-card h3 {
    font-size: 20px !important;
  }

  .stats {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px !important;
  }

  .stats div {
    padding: 12px 8px !important;
    border-radius: 16px !important;
  }

  .stats b {
    font-size: 20px !important;
  }

  .stats span {
    font-size: 10px !important;
  }
}

/* ══ Phone card mobile fix (2026-06-13) ══════════════════════ */
@media (max-width: 640px) {
  .hero {
    overflow: visible !important;
    padding-bottom: 32px !important;
  }

  .hero-visual {
    min-height: unset !important;
    max-height: unset !important;
    height: auto !important;
    overflow: visible !important;
  }

  .phone-card {
    position: relative !important;
    right: auto !important;
    left: auto !important;
    top: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    border-radius: 28px !important;
    border-width: 6px !important;
    transform: none !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  .phone-card img {
    height: 240px !important;
    border-radius: 22px 22px 0 0 !important;
    width: 100% !important;
    object-fit: cover !important;
  }

  .phone-info {
    padding: 16px !important;
    box-sizing: border-box !important;
  }

  .phone-info h3 {
    font-size: 20px !important;
    margin: 8px 0 !important;
    white-space: normal !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .price-row b {
    font-size: 20px !important;
  }

  .price-row button {
    padding: 10px 18px !important;
    font-size: 14px !important;
  }

  .phone-info p {
    font-size: 11px !important;
    padding: 10px 12px !important;
    white-space: normal !important;
    word-break: break-word !important;
  }
}

/* ══ Support Modals (2026-06-13) ════════════════════════════ */
.support-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(23, 18, 15, .58);
  backdrop-filter: blur(3px);
  display: none;
}
.support-overlay.open { display: block; }

.support-modal {
  position: fixed;
  z-index: 201;
  background: #fff;
  border-radius: 28px 28px 0 0;
  bottom: 0;
  left: 0;
  right: 0;
  max-height: 88vh;
  overflow-y: auto;
  transform: translateY(110%);
  transition: transform .3s cubic-bezier(.32,.72,0,1);
  box-shadow: 0 -8px 48px rgba(23,18,15,.18);
  pointer-events: none;
}
.support-modal.open {
  transform: translateY(0);
  pointer-events: auto;
}

/* Desktop: centered modal */
@media (min-width: 640px) {
  .support-modal {
    left: 50%;
    right: auto;
    bottom: auto;
    top: 50%;
    width: min(540px, calc(100vw - 40px));
    max-height: min(82vh, 700px);
    border-radius: 24px;
    transform: translate(-50%, -46%) scale(.97);
    opacity: 0;
    pointer-events: none;
    transition: transform .25s cubic-bezier(.32,.72,0,1), opacity .25s ease;
  }
  .support-modal.open {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    pointer-events: auto;
  }
}

.support-modal-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 22px 16px;
  border-bottom: 1px solid rgba(0,0,0,.08);
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 1;
  border-radius: 28px 28px 0 0;
}
@media (min-width: 640px) {
  .support-modal-head { border-radius: 24px 24px 0 0; }
}

.support-modal-icon {
  font-size: 28px;
  width: 52px;
  height: 52px;
  background: #f3f7f4;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.support-modal-head h2 {
  font-size: 18px;
  font-weight: 800;
  color: #2d211f;
  margin: 0 0 2px;
}

.support-modal-head p {
  font-size: 12px;
  color: #9e8a85;
  margin: 0;
}

.support-modal-head > div:nth-child(2) { flex: 1; }

.support-modal-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f3f0ef;
  border: none;
  color: #2d211f;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.support-modal-close:hover { background: #e8e3e1; }

.support-modal-body {
  padding: 20px 22px 32px;
}

/* CTA cards row */
.support-cta-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}

.support-cta-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 18px 12px;
  border-radius: 18px;
  background: #f7eef1;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: border-color .15s, background .15s;
}
.support-cta-card:hover { border-color: #2d211f; background: #f0e6e9; }
.support-cta-card.green { background: #edf5f0; }
.support-cta-card.green:hover { border-color: #173f34; background: #e2ede7; }

.support-cta-icon { font-size: 26px; }
.support-cta-label { font-size: 14px; font-weight: 800; color: #2d211f; }
.support-cta-sub { font-size: 11px; color: #9e8a85; }

/* FAQ */
.support-section-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #9e8a85;
  margin: 0 0 12px;
}

.faq-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }

.faq-item {
  border: 1px solid rgba(0,0,0,.09);
  border-radius: 14px;
  overflow: hidden;
}

.faq-q {
  width: 100%;
  text-align: left;
  padding: 14px 16px;
  background: #faf9f8;
  border: none;
  font-size: 14px;
  font-weight: 700;
  color: #2d211f;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.faq-q:hover { background: #f3f0ef; }

.faq-arrow {
  font-size: 20px;
  font-weight: 400;
  color: #9e8a85;
  transition: transform .2s;
  flex-shrink: 0;
}
.faq-item.open .faq-arrow { transform: rotate(90deg); }

.faq-a {
  display: none;
  padding: 0 16px 14px;
  font-size: 13px;
  color: #6b5754;
  line-height: 1.6;
  background: #faf9f8;
}
.faq-item.open .faq-a { display: block; }

.support-email-line {
  font-size: 13px;
  color: #9e8a85;
  text-align: center;
  margin: 4px 0 0;
}
.support-email-line a { color: #173f34; font-weight: 700; text-decoration: none; }
.support-email-line a:hover { text-decoration: underline; }

/* Policy body */
.support-policy-body h3 {
  font-size: 13px;
  font-weight: 800;
  color: #2d211f;
  margin: 18px 0 4px;
}
.support-policy-body h3:first-child { margin-top: 0; }
.support-policy-body p {
  font-size: 13px;
  color: #6b5754;
  line-height: 1.65;
  margin: 0;
}
.support-policy-body a { color: #173f34; font-weight: 700; text-decoration: none; }
.support-policy-body a:hover { text-decoration: underline; }

/* Report form */
.report-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}
.report-field label {
  font-size: 12px;
  font-weight: 800;
  color: #9e8a85;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.report-field input,
.report-field select,
.report-field textarea {
  border: 1.5px solid #e8e0dd;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 14px;
  color: #2d211f;
  background: #faf9f8;
  outline: none;
  font-family: inherit;
  transition: border-color .15s;
  width: 100%;
  box-sizing: border-box;
}
.report-field input:focus,
.report-field select:focus,
.report-field textarea:focus {
  border-color: #173f34;
  background: #fff;
}
.report-field textarea { resize: vertical; min-height: 96px; }

.report-submit-btn {
  width: 100%;
  background: #173f34;
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 15px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  margin-top: 4px;
  transition: background .15s;
}
.report-submit-btn:hover { background: #0f2b22; }

/* ══ Menu section header (compact & beautiful) ══════════════ */
.menu-section-title {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

#menu .section-head {
  align-items: center !important;
  margin-bottom: 24px !important;
}

#menu .section-head h2 {
  font-size: 20px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  color: #2d211f !important;
  margin: 0 !important;
  letter-spacing: -0.01em !important;
}

#menu .section-head .kicker {
  margin: 0 !important;
  font-size: 11px !important;
  letter-spacing: 0.12em !important;
}

@media (max-width: 640px) {
  #menu .section-head {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
  }
  #menu .section-head .search-box {
    width: 100% !important;
    min-width: unset !important;
  }
}

/* ── Live tracking Phase 2: proximity banner + rider marker states ── */
.tracking-proximity {
  display: none;
  align-items: center;
  gap: 8px;
  margin: 10px 0 2px;
  padding: 11px 14px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 14px;
  line-height: 1.3;
}
.tracking-proximity.show { display: flex; }
.tracking-proximity.prox-almost   { background: #fef9c3; color: #854d0e; }
.tracking-proximity.prox-arriving { background: #dcfce7; color: #166534; animation: hbcArrivePulse 1.1s ease-in-out infinite; }
.tracking-proximity.prox-stale    { background: #f1f5f9; color: #475569; }
@keyframes hbcArrivePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(22, 101, 52, .35); }
  50%      { box-shadow: 0 0 0 9px rgba(22, 101, 52, 0); }
}
/* Rider marker overlay (VehicleOverlay) pulse ring + stale dim */
.hbc-rider-pulse {
  position: absolute;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(26, 107, 79, .35);
  display: none;
  pointer-events: none;
}
.is-arriving .hbc-rider-pulse { display: block; animation: hbcRiderPulse 1.2s ease-out infinite; }
@keyframes hbcRiderPulse {
  0%   { transform: scale(.5); opacity: .85; }
  100% { transform: scale(2.2); opacity: 0; }
}
.hbc-rider-icon { transition: opacity .3s, filter .3s; }
.is-stale .hbc-rider-icon { opacity: .4; filter: grayscale(1); }

.auth-hint {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: #8a7a74;
  font-weight: 600
}

/* ── Hero occasion banners ────────────────────────────────────────────────── */
/* Width and centring come from the shared panel rule further up
   (body.theme-v2 .hero, ...) so the carousel lines up with the hero card. That
   rule sets `margin: 0 auto`, so the gap below has to match its specificity. */
body.theme-v2 .hero-banner-section {
  margin-bottom: 32px
}

/* Empty state collapses the inner elements rather than the section itself:
   the view manager owns `display` on every [data-view-group] and would win a
   specificity fight over [hidden]. This leaves a genuine 0-height section. */
body.theme-v2 .hero-banner-section:not(.has-banners) {
  margin-bottom: 0
}

.hero-banner-section:not(.has-banners) .hero-banner-viewport,
.hero-banner-section:not(.has-banners) .hero-banner-dots {
  display: none
}

.hero-banner-viewport {
  position: relative;
  overflow: hidden;
  border-radius: 22px
}

.hero-banner-track {
  display: flex;
  transition: transform .55s cubic-bezier(.4, 0, .2, 1);
  will-change: transform
}

.hero-banner-slide {
  position: relative;
  flex: 0 0 100%;
  min-height: 300px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #fff4ec, #ffe9dd)
}

.hero-banner-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover
}

/* Copy sits over the artwork; the scrim keeps text readable on busy images. */
.hero-banner-copy {
  position: relative;
  z-index: 1;
  padding: 34px 40px;
  max-width: 560px;
  display: grid;
  gap: 10px;
  justify-items: start;
  background: linear-gradient(90deg, rgba(255, 255, 255, .95) 0, rgba(255, 255, 255, .92) 62%, rgba(255, 255, 255, .6) 82%, rgba(255, 255, 255, 0))
}

.hero-banner-date {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #a2543a;
  background: rgba(242, 111, 79, .12);
  padding: 5px 12px;
  border-radius: 999px
}

.hero-banner-copy h2 {
  margin: 0;
  font-size: clamp(24px, 3.4vw, 42px);
  line-height: 1.1;
  color: #2d211f
}

.hero-banner-copy p {
  margin: 0;
  font-size: 15px;
  color: #6b5650
}

.hero-banner-cta {
  margin-top: 6px;
  padding: 12px 26px;
  border-radius: 999px;
  background: #f26f4f;
  color: #fff;
  font-weight: 900;
  text-decoration: none
}

.hero-banner-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .9);
  color: #2d211f;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .12);
  z-index: 2
}

.hero-banner-arrow.prev {
  left: 14px
}

.hero-banner-arrow.next {
  right: 14px
}

.hero-banner-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 12px
}

.hero-banner-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(45, 33, 31, .22);
  cursor: pointer;
  transition: width .25s, background .25s
}

.hero-banner-dots button.active {
  width: 22px;
  background: #f26f4f
}

@media (max-width: 720px) {
  .hero-banner-slide {
    min-height: 220px
  }

  /* Portrait mobile artwork: give the slide the creative's own 4:5 shape so
     nothing is cropped. Only applied when every live banner has a mobile cut. */
  .hero-banner-section.portrait-mobile .hero-banner-slide {
    min-height: 0;
    aspect-ratio: 4 / 5
  }

  .hero-banner-section.portrait-mobile .hero-banner-img {
    position: static;
    height: auto
  }

  /* Full-width scrim on mobile — a side gradient leaves text over the artwork. */
  .hero-banner-copy {
    padding: 20px 22px;
    max-width: none;
    background: linear-gradient(180deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, .93))
  }

  /* Kept on phones too — swipe alone is not discoverable, nothing on screen
     says there are more banners. Smaller and tucked to the edges. */
  .hero-banner-arrow {
    width: 32px;
    height: 32px;
    font-size: 18px
  }

  .hero-banner-arrow.prev {
    left: 8px
  }

  .hero-banner-arrow.next {
    right: 8px
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-banner-track {
    transition: none
  }
}
