/* ==========================================================================
   Seven Bites — Shared components
   Used by every page. Do not create page-specific copies of these.
   ========================================================================== */

/* ---------- Buttons ---------- */

.btn {
  --btn-bg: var(--c-yellow);
  --btn-fg: var(--c-navy);
  --btn-bd: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  min-height: 44px;
  padding: 0 var(--sp-6);
  border: 1.5px solid var(--btn-bd);
  border-radius: var(--r-sm);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  line-height: 1;
  white-space: nowrap;
  transition:
    background-color var(--t-base) var(--ease-out),
    color var(--t-base) var(--ease-out),
    border-color var(--t-base) var(--ease-out),
    box-shadow var(--t-base) var(--ease-out),
    transform var(--t-fast) var(--ease-out);
}

.btn:hover {
  --btn-bg: var(--c-yellow-hover);
  box-shadow: var(--sh-btn);
}

.btn:active {
  transform: scale(0.98);
}

.btn:disabled {
  --btn-bg: var(--c-tile);
  --btn-fg: var(--c-muted);
  cursor: not-allowed;
  box-shadow: none;
}

.btn--lg {
  min-height: 52px;
  padding: 0 var(--sp-8);
  font-size: var(--fs-md);
  border-radius: var(--r-md);
}

.btn--sm {
  min-height: 36px;
  padding: 0 var(--sp-4);
  font-size: var(--fs-sm);
}

.btn--block {
  width: 100%;
}

.btn--dark {
  --btn-bg: var(--c-navy);
  --btn-fg: var(--c-on-dark);
}
.btn--dark:hover {
  --btn-bg: var(--c-navy-3);
  box-shadow: none;
}

.btn--ghost-dark {
  --btn-bg: rgba(10, 21, 32, 0.55);
  --btn-fg: var(--c-on-dark);
  --btn-bd: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(4px);
}
.btn--ghost-dark:hover {
  --btn-bg: rgba(255, 255, 255, 0.1);
  --btn-bd: var(--c-yellow);
  box-shadow: none;
}

.btn.is-added {
  --btn-bg: var(--c-navy);
  --btn-fg: var(--c-yellow);
}

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition: background-color var(--t-base) var(--ease-out), color var(--t-base) var(--ease-out);
}

/* ---------- Icons ---------- */

.icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Brand lockup ---------- */

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--c-gold-light);
}

.brand__mark {
  width: auto;
  height: 46px;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand__name {
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.08em;
  background: linear-gradient(180deg, #ffe58a 0%, #f2c230 45%, #c8901a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand__tag {
  margin-top: 5px;
  font-size: 0.5rem;
  font-weight: var(--fw-medium);
  letter-spacing: 0.22em;
  color: var(--c-gold);
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: var(--c-navy);
  border-bottom: 3px solid var(--c-yellow);
  transition: box-shadow var(--t-base) var(--ease-out);
}

.site-header.is-scrolled {
  box-shadow: 0 6px 24px rgba(10, 21, 32, 0.35);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-6);
  height: var(--header-h);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

.main-nav__list {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: var(--sp-2) var(--sp-3);
  color: var(--c-on-dark);
  font-size: var(--fs-base);
  font-weight: var(--fw-medium);
  border-radius: var(--r-sm);
  transition: color var(--t-base) var(--ease-out);
}

.main-nav__link::after {
  content: "";
  position: absolute;
  left: var(--sp-3);
  right: var(--sp-3);
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--c-yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-base) var(--ease-out);
}

.main-nav__link:hover {
  color: var(--c-yellow);
}

.main-nav__link:hover::after,
.main-nav__link[aria-current="page"]::after {
  transform: scaleX(1);
}

.main-nav__link[aria-current="page"] {
  color: var(--c-yellow);
  font-weight: var(--fw-semibold);
}

.main-nav__link .icon {
  width: 18px;
  height: 18px;
}

.main-nav__link--chat .icon {
  color: var(--c-yellow);
}

.badge-count {
  position: absolute;
  top: 0;
  right: 0;
  display: grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: var(--r-pill);
  background: var(--c-yellow);
  color: var(--c-navy);
  font-size: 0.6875rem;
  font-weight: var(--fw-bold);
  line-height: 1;
  transform: translate(35%, -10%);
}

.badge-count[hidden] {
  display: none;
}

.badge-count.is-bumping {
  animation: badge-bump 450ms var(--ease-out);
}

@keyframes badge-bump {
  0% { transform: translate(35%, -10%) scale(1); }
  40% { transform: translate(35%, -10%) scale(1.35); }
  100% { transform: translate(35%, -10%) scale(1); }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  margin-left: var(--sp-2);
}

.avatar-btn {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--c-yellow);
  background: var(--c-navy-3);
  color: var(--c-on-dark);
  overflow: hidden;
  transition: transform var(--t-base) var(--ease-out);
}

.avatar-btn:hover {
  transform: scale(1.05);
}

.header-icon {
  position: relative;
  color: var(--c-on-dark);
}

.header-icon:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--c-yellow);
}

.header-icon--accent {
  color: var(--c-yellow);
}

/* Mobile header */
@media (max-width: 767.98px) {
  .site-header__inner {
    height: 64px;
  }
  .brand__mark {
    height: 40px;
  }
  .brand__name {
    font-size: 1.0625rem;
  }
  .brand__tag {
    font-size: 0.4375rem;
    white-space: nowrap;
  }
  .header-actions {
    gap: 2px;
  }
  .header-icon {
    width: 36px;
    height: 36px;
  }
  .avatar-btn {
    width: 36px;
    height: 36px;
    margin-left: 4px;
  }
}

/* Narrow phones: tighten the logo text so Search, Contact and Profile fit */
@media (max-width: 379.98px) {
  .brand__name {
    font-size: 0.9375rem;
    letter-spacing: 0.05em;
  }
  .brand__tag {
    letter-spacing: 0.1em;
  }
}

/* ---------- Header additions: ☰, Chat pill, active icons, initials ---------- */

.header-burger {
  flex-shrink: 0;
  margin-left: -8px;
}

/* phones: ☰ and logo together on the left */
@media (max-width: 767.98px) {
  .site-header__inner {
    justify-content: flex-start;
    gap: var(--sp-2);
  }
  .site-header__inner .brand {
    margin-right: auto;
    min-width: 0;
  }
}

.header-burger .icon {
  width: 24px;
  height: 24px;
}

/* tablet & desktop: logo left, links in the middle, icons right */
@media (min-width: 768px) {
  .site-header__inner {
    gap: var(--sp-4);
  }
  .main-nav {
    flex: 1;
    justify-content: center;
  }
}

/* tablets & small laptops: tighten so everything fits on one line */
@media (min-width: 768px) and (max-width: 1199.98px) {
  .brand__tag {
    display: none;
  }
  .main-nav__link {
    padding: var(--sp-2);
  }
  .header-actions {
    gap: 2px;
  }
}

.header-icon[aria-current="page"] {
  color: var(--c-yellow);
  background: rgba(252, 210, 6, 0.12);
}

.header-chat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  margin-inline: 4px;
  padding: 0 14px;
  border-radius: var(--r-pill);
  background: var(--c-yellow);
  color: var(--c-navy);
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  transition: background-color var(--t-base) var(--ease-out), transform var(--t-base) var(--ease-out);
}

.header-chat:hover {
  background: var(--c-yellow-hover);
  transform: translateY(-1px);
}

.header-chat .icon {
  width: 17px;
  height: 17px;
}

.avatar-btn__initials {
  color: var(--c-yellow);
  font-family: var(--font-brand);
  font-size: 0.875rem;
  font-weight: 700;
}

/* ---------- Account dropdown (desktop) ---------- */

.account {
  position: relative;
}

.account__menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 80;
  width: 280px;
  padding: var(--sp-3);
  border-radius: var(--r-lg);
  background: var(--c-surface);
  color: var(--c-text);
  box-shadow: var(--sh-float);
  border: 1px solid var(--c-border);
  animation: acc-in 0.18s var(--ease-out);
}

.account__menu::before {
  /* little pointer */
  content: "";
  position: absolute;
  top: -7px;
  right: 14px;
  width: 14px;
  height: 14px;
  background: var(--c-surface);
  border-left: 1px solid var(--c-border);
  border-top: 1px solid var(--c-border);
  transform: rotate(45deg);
}

@keyframes acc-in {
  from { transform: translateY(-6px); opacity: 0; }
  to { transform: none; opacity: 1; }
}

.account__head {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-2) var(--sp-2) var(--sp-3);
  border-bottom: 1px solid var(--c-border);
}

.account__head span:last-child {
  display: grid;
  min-width: 0;
}

.account__head strong {
  font-size: var(--fs-sm);
}

.account__head small {
  color: var(--c-muted);
  font-size: var(--fs-xs);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account__avatar {
  display: grid;
  flex-shrink: 0;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--c-navy);
  border: 2px solid var(--c-yellow);
  color: var(--c-yellow);
  font-family: var(--font-brand);
  font-weight: 700;
}

.account__avatar .icon {
  width: 20px;
  height: 20px;
}

.account__auth {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-1) var(--sp-1);
}

.account__menu ul {
  display: grid;
  margin: var(--sp-2) 0 0;
  padding: 0;
  list-style: none;
}

.account__menu li a,
.account__out {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  width: 100%;
  padding: 9px var(--sp-2);
  border-radius: var(--r-sm);
  color: var(--c-text-2);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
}

.account__menu li a:hover {
  background: var(--c-yellow-tint);
  color: var(--c-text);
}

.account__menu .icon {
  width: 18px;
  height: 18px;
  color: var(--c-gold);
}

.account__out {
  margin-top: var(--sp-2);
  border-top: 1px solid var(--c-border);
  border-radius: 0;
  padding-top: var(--sp-3);
  color: var(--c-red);
}

.account__out .icon {
  color: var(--c-red);
}

/* ---------- Side menu (☰ on phones and tablets) ---------- */

.site-menu {
  position: fixed;
  inset: 0 auto 0 0;
  width: min(340px, 86vw);
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--c-navy);
  color: var(--c-on-dark);
  box-shadow: var(--sh-float);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.site-menu[open] {
  display: flex;
  flex-direction: column;
  animation: menu-in 0.3s var(--ease-out);
}

.site-menu::backdrop {
  background: rgba(10, 21, 32, 0.6);
  backdrop-filter: blur(2px);
}

@keyframes menu-in {
  from { transform: translateX(-100%); }
  to { transform: none; }
}

html.menu-open {
  overflow: hidden;
}

.site-menu__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  padding: var(--sp-4);
  border-bottom: 3px solid var(--c-yellow);
}

.site-menu__head .brand__tag {
  display: none;
}

.site-menu__close {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--c-on-dark);
}

.site-menu__close .icon {
  width: 20px;
  height: 20px;
}

.site-menu__user {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-4) var(--sp-4) var(--sp-3);
}

.site-menu__who {
  display: grid;
  min-width: 0;
}

.site-menu__who small {
  color: var(--c-on-dark-2);
  font-size: var(--fs-xs);
}

.site-menu__auth {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-2);
  padding: 0 var(--sp-4) var(--sp-2);
}

.site-menu__nav {
  flex: 1;
  padding: 0 var(--sp-3) var(--sp-4);
}

.site-menu__title {
  margin: var(--sp-4) var(--sp-2) var(--sp-1);
  color: var(--c-yellow);
  font-size: 0.6875rem;
  font-weight: var(--fw-bold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-menu__nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-menu__link {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: 10px var(--sp-2);
  border-radius: var(--r-md);
  color: var(--c-on-dark);
  font-size: var(--fs-base);
  font-weight: var(--fw-medium);
  transition: background-color var(--t-base) var(--ease-out);
}

.site-menu__link:hover {
  background: rgba(255, 255, 255, 0.06);
}

.site-menu__link.is-active {
  background: rgba(252, 210, 6, 0.14);
  color: var(--c-yellow);
  font-weight: var(--fw-semibold);
}

.site-menu__link .icon {
  width: 20px;
  height: 20px;
  color: var(--c-on-dark-2);
}

.site-menu__link.is-active .icon {
  color: var(--c-yellow);
}

.account__menu li a .badge-count,
.site-menu__link .badge-count {
  position: static;
  margin-left: auto;
  transform: none;
}

.site-menu__foot {
  padding: var(--sp-4);
  border-top: 1px solid var(--c-navy-line);
  color: var(--c-on-dark-2);
  font-size: var(--fs-xs);
}

.site-menu__foot a:hover {
  color: var(--c-yellow);
}

.site-menu__out {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  margin-bottom: var(--sp-3);
  color: #ff8a8e;
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
}

.site-menu__out .icon {
  width: 18px;
  height: 18px;
}

/* ---------- Section heading ---------- */

.section {
  padding-block: var(--sp-8);
}

@media (min-width: 1024px) {
  .section {
    padding-block: var(--sp-10);
  }
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--sp-4);
  margin-bottom: var(--sp-5);
}

.section-title {
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: var(--c-text);
}

.section-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--c-text-2);
  transition: color var(--t-base) var(--ease-out), gap var(--t-base) var(--ease-out);
}

.section-link:hover {
  color: var(--c-text);
  gap: 8px;
}

.section-link .icon {
  width: 16px;
  height: 16px;
}

@media (min-width: 1024px) {
  .section-title {
    font-size: var(--fs-xl);
  }
}

/* ---------- Stars ---------- */

.stars {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-xs);
  color: var(--c-muted);
}

.stars__row {
  position: relative;
  display: inline-block;
  line-height: 0;
}

.stars__layer {
  display: inline-flex;
  gap: 1px;
  white-space: nowrap;
}

.stars__layer svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.stars__layer--base svg { fill: #e3dfd3; }

.stars__layer--fill {
  position: absolute;
  inset: 0 auto 0 0;
  overflow: hidden;
}

.stars__layer--fill svg { fill: var(--c-star); }

/* ---------- Media / image placeholder ---------- */

.media {
  position: relative;
  overflow: hidden;
  background: var(--c-tile);
}

.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media--placeholder {
  display: grid;
  place-items: center;
  align-content: center;
  gap: var(--sp-2);
  background:
    radial-gradient(circle at 50% 40%, rgba(252, 210, 6, 0.12), transparent 60%),
    var(--c-navy);
  color: var(--c-gold);
  text-align: center;
}

.media--placeholder img {
  width: auto;
  height: 42%;
  max-height: 96px;
  object-fit: contain;
  opacity: 0.85;
}

.media--placeholder span {
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  letter-spacing: 0.04em;
  color: var(--c-on-dark-2);
}

/* ---------- Product card ---------- */

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  box-shadow: var(--sh-card);
  overflow: hidden;
  transition:
    transform var(--t-slow) var(--ease-out),
    box-shadow var(--t-slow) var(--ease-out),
    border-color var(--t-slow) var(--ease-out);
}

.product-card::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: var(--c-yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-slow) var(--ease-out);
  z-index: 2;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-card-hover);
  border-color: var(--c-border-strong);
}

.product-card:hover::before {
  transform: scaleX(1);
}

.product-card__media {
  aspect-ratio: 4 / 3;
}

.product-card__media img {
  transition: transform 900ms var(--ease-out);
}

.product-card:hover .product-card__media img {
  transform: scale(1.05);
}

.product-card__fav {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--c-text);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  transition: transform var(--t-base) var(--ease-out), color var(--t-base) var(--ease-out);
}

.product-card__fav .icon {
  width: 16px;
  height: 16px;
}

.product-card__fav:hover {
  transform: scale(1.08);
  color: var(--c-red);
}

.product-card__fav[aria-pressed="true"] {
  color: var(--c-red);
}

.product-card__fav[aria-pressed="true"] .icon {
  fill: currentColor;
}

.product-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 4px;
  padding: var(--sp-3) var(--sp-3) var(--sp-4);
}

.product-card__name {
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  line-height: 1.3;
  color: var(--c-text);
}

.product-card__name a::after {
  /* whole card clickable, buttons stay on top */
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.product-card__price {
  font-size: var(--fs-md);
  font-weight: var(--fw-bold);
  color: var(--c-text);
}

.product-card__includes {
  margin-top: -2px;
  font-size: var(--fs-xs);
  color: var(--c-muted);
}

.product-card__price--ask {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--c-text-2);
}

.product-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-2);
  margin-bottom: var(--sp-2);
}

/* items-left badge over the photo */
.stock-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
  padding: 3px 9px;
  border-radius: var(--r-pill);
  background: rgba(10, 21, 32, 0.78);
  color: var(--c-on-dark);
  font-size: 0.6875rem;
  font-weight: var(--fw-semibold);
  backdrop-filter: blur(4px);
  pointer-events: none;
}

.stock-badge--low {
  background: var(--c-red);
}

.stock-badge--out {
  background: var(--c-text-2);
}

/* "New" tag, bottom-left of the photo */
.new-badge {
  position: absolute;
  left: 10px;
  top: calc(var(--new-top, 10px) + 26px);
  z-index: 3;
  padding: 2px 9px;
  border-radius: var(--r-pill);
  background: var(--c-yellow);
  color: var(--c-navy);
  font-size: 0.625rem;
  font-weight: var(--fw-bold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  pointer-events: none;
}

.product-card.is-sold-out .product-card__media img {
  filter: grayscale(0.7);
  opacity: 0.75;
}

.product-card__cta {
  position: relative;
  z-index: 2;
  gap: 0; /* "Add" + "&nbsp;to Cart" read as one label */
  margin-top: auto;
}

/* ---------- Footer ---------- */

.site-footer {
  margin-top: var(--sp-12);
  background: var(--c-navy);
  color: var(--c-on-dark-2);
  font-size: var(--fs-sm);
}

.site-footer__grid {
  display: grid;
  gap: var(--sp-8);
  padding-block: var(--sp-10) var(--sp-8);
}

.site-footer__brand img {
  width: 112px;
}

.site-footer__brand p {
  max-width: 260px;
  margin-top: var(--sp-4);
  line-height: 1.6;
}

.site-footer__title {
  margin-bottom: var(--sp-4);
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  color: var(--c-on-dark);
}

.site-footer__links {
  display: grid;
  gap: var(--sp-2);
}

.site-footer__links a {
  transition: color var(--t-base) var(--ease-out);
}

.site-footer__links a:hover {
  color: var(--c-yellow);
}

.contact-list {
  display: grid;
  gap: var(--sp-3);
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
}

.contact-list .icon {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  color: var(--c-yellow);
}

.socials {
  display: flex;
  gap: var(--sp-3);
}

.socials a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--c-on-dark);
  transition: all var(--t-base) var(--ease-out);
}

.socials a:hover {
  background: var(--c-yellow);
  border-color: var(--c-yellow);
  color: var(--c-navy);
  transform: translateY(-2px);
}

.socials .icon {
  width: 18px;
  height: 18px;
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--sp-2);
  padding-block: var(--sp-5);
  border-top: 1px solid var(--c-navy-line);
  font-size: var(--fs-xs);
}

.site-footer__bottom a:hover {
  color: var(--c-yellow);
}

@media (min-width: 768px) {
  .site-footer__grid {
    grid-template-columns: 1.4fr 1fr 1.6fr 1fr;
  }
}

@media (max-width: 767.98px) {
  /* Phones use the bottom tab bar instead of the footer */
  .site-footer {
    display: none;
  }
  body {
    padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom));
  }
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
  .site-footer__brand,
  .site-footer__contact {
    grid-column: 1 / -1;
  }
  .site-footer__brand img {
    width: 84px;
  }
}

/* ---------- Mobile tab bar ---------- */

.tab-bar {
  position: fixed;
  inset: auto 0 0 0;
  z-index: var(--z-tabbar);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  height: calc(var(--tabbar-h) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  background: var(--c-surface);
  border-top: 1px solid var(--c-border);
  box-shadow: 0 -6px 24px rgba(10, 21, 32, 0.08);
}

.tab-bar__item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--c-muted);
  font-size: 0.6875rem;
  font-weight: var(--fw-medium);
  transition: color var(--t-base) var(--ease-out);
}

.tab-bar__icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 28px;
  border-radius: var(--r-pill);
  transition: background-color var(--t-base) var(--ease-out);
}

.tab-bar__icon .icon {
  width: 22px;
  height: 22px;
}

.tab-bar__item[aria-current="page"] {
  color: var(--c-text);
  font-weight: var(--fw-semibold);
}

.tab-bar__item[aria-current="page"] .tab-bar__icon {
  background: var(--c-yellow);
  color: var(--c-navy);
}

.tab-bar .badge-count {
  top: -4px;
  right: 2px;
}

@media (min-width: 768px) {
  .tab-bar {
    display: none;
  }
}

/* ---------- Toast ---------- */

.toast-region {
  position: fixed;
  left: 50%;
  bottom: var(--sp-6);
  z-index: var(--z-toast);
  display: grid;
  gap: var(--sp-2);
  width: min(92vw, 380px);
  transform: translateX(-50%);
  pointer-events: none;
}

@media (max-width: 767.98px) {
  .toast-region {
    /* sits above the floating customer-care button */
    bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom) + 84px);
  }
}

.toast {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--r-md);
  background: var(--c-navy);
  color: var(--c-on-dark);
  font-size: var(--fs-sm);
  box-shadow: var(--sh-float);
  pointer-events: auto;
  animation: toast-in 400ms var(--ease-out) both;
}

.toast.is-leaving {
  animation: toast-out 300ms var(--ease-in-out) both;
}

.toast__icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--c-yellow);
  color: var(--c-navy);
  flex-shrink: 0;
}

.toast__icon .icon {
  width: 16px;
  height: 16px;
  stroke-width: 2.5;
}

.toast__text {
  flex: 1;
}

.toast__text strong {
  color: var(--c-yellow);
  font-weight: var(--fw-semibold);
}

.toast__action {
  font-weight: var(--fw-semibold);
  color: var(--c-yellow);
  white-space: nowrap;
}

@keyframes toast-in {
  from { opacity: 0; transform: translateY(16px) scale(0.96); }
  to { opacity: 1; transform: none; }
}

@keyframes toast-out {
  to { opacity: 0; transform: translateY(8px); }
}

/* ---------- Floating customer care ---------- */

.support-fab {
  position: fixed;
  right: var(--sp-6);
  bottom: var(--sp-6);
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--sp-3);
}

.support-fab__btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  height: 56px;
  padding: 0 var(--sp-5) 0 var(--sp-4);
  border-radius: var(--r-pill);
  background: var(--c-yellow);
  color: var(--c-navy);
  font-weight: var(--fw-semibold);
  box-shadow: 0 10px 30px rgba(10, 21, 32, 0.28);
  transition: transform var(--t-base) var(--ease-out), box-shadow var(--t-base) var(--ease-out);
}

.support-fab__btn::before {
  /* soft attention ring */
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(252, 210, 6, 0.55);
  animation: support-ring 3.2s ease-out infinite;
  pointer-events: none;
}

.support-fab.is-open .support-fab__btn::before {
  animation: none;
}

@keyframes support-ring {
  0%, 55% { box-shadow: 0 0 0 0 rgba(252, 210, 6, 0.55); }
  100% { box-shadow: 0 0 0 16px rgba(252, 210, 6, 0); }
}

.support-fab__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(10, 21, 32, 0.34);
}

.support-fab__icon {
  display: grid;
  place-items: center;
}

.support-fab__icon .icon {
  width: 24px;
  height: 24px;
}

.support-fab__icon--close,
.support-fab.is-open .support-fab__icon--open {
  display: none;
}

.support-fab.is-open .support-fab__icon--close {
  display: grid;
}

.support-fab.is-open .support-fab__btn {
  background: var(--c-navy);
  color: var(--c-yellow);
}

/* Panel */
.support-fab__panel {
  width: min(320px, calc(100vw - 32px));
  border-radius: var(--r-xl);
  background: var(--c-surface);
  box-shadow: 0 24px 60px rgba(10, 21, 32, 0.28);
  overflow: hidden;
  opacity: 0;
  transform: translateY(12px) scale(0.97);
  transform-origin: bottom right;
  transition: opacity 0.25s ease, transform 0.3s var(--ease-out);
}

.support-fab__panel:focus {
  outline: none;
}

.support-fab__panel.is-visible {
  opacity: 1;
  transform: none;
}

.support-fab__head {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-4);
  background: var(--c-navy);
  color: var(--c-on-dark);
}

.support-fab__head strong {
  display: block;
  font-size: var(--fs-base);
}

.support-fab__head small {
  display: block;
  font-size: var(--fs-xs);
  color: var(--c-on-dark-2);
}

.support-fab__logo {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--c-navy-3);
  border: 1px solid rgba(252, 210, 6, 0.35);
  flex-shrink: 0;
}

.support-fab__logo img {
  height: 28px;
  width: auto;
}

.support-fab__close {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-left: auto;
  border-radius: 50%;
  color: var(--c-on-dark-2);
  transition: background-color var(--t-base) var(--ease-out), color var(--t-base) var(--ease-out);
}

.support-fab__close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--c-on-dark);
}

.support-fab__close .icon {
  width: 18px;
  height: 18px;
}

.support-fab__greet {
  padding: var(--sp-4) var(--sp-4) var(--sp-2);
  font-size: var(--fs-sm);
  color: var(--c-text-2);
}

.support-fab__options {
  display: grid;
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-3) var(--sp-4);
}

.support-fab__option {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3);
  border-radius: var(--r-md);
  border: 1px solid var(--c-border);
  transition: border-color var(--t-base) var(--ease-out), background-color var(--t-base) var(--ease-out);
}

.support-fab__option:hover {
  border-color: var(--c-yellow);
  background: var(--c-yellow-tint);
}

.support-fab__option-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--c-yellow-soft);
  color: var(--c-navy);
  flex-shrink: 0;
}

.support-fab__option-icon .icon {
  width: 18px;
  height: 18px;
}

.support-fab__option-text {
  flex: 1;
  min-width: 0;
}

.support-fab__option-text strong {
  display: block;
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
}

.support-fab__option-text small {
  display: block;
  font-size: var(--fs-xs);
  color: var(--c-muted);
}

.support-fab__chev {
  width: 16px;
  height: 16px;
  color: var(--c-muted);
}

/* Phones: round icon button sitting above the tab bar */
@media (max-width: 767.98px) {
  .support-fab {
    right: var(--sp-4);
    bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom) + var(--sp-4));
  }
  .support-fab__btn {
    width: 56px;
    padding: 0;
    justify-content: center;
  }
  .support-fab__label {
    display: none;
  }
}

/* ---------- Our own "Back" arrow (components/back-link.js) ---------- */

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  margin-right: var(--sp-3);
  padding: 0 var(--sp-3) 0 var(--sp-2);
  border-radius: var(--r-pill);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  color: var(--c-text);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  box-shadow: var(--sh-card);
  transition: border-color var(--t-base) var(--ease-out), transform var(--t-base) var(--ease-out);
}

.back-link:hover {
  border-color: var(--c-yellow);
  transform: translateX(-2px);
}

.back-link .icon {
  width: 18px;
  height: 18px;
}

/* ---------- Quantity stepper (product page, cart) ---------- */

.qty {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  border-radius: var(--r-md);
  background: var(--c-surface);
  border: 1px solid var(--c-border-strong);
}

.qty button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 50px;
  color: var(--c-text);
  transition: color var(--t-base) var(--ease-out);
}

.qty button:hover:not(:disabled) {
  color: var(--c-gold);
}

.qty button:disabled {
  color: var(--c-border-strong);
  cursor: not-allowed;
}

.qty .icon {
  width: 18px;
  height: 18px;
}

.qty output {
  min-width: 28px;
  font-weight: var(--fw-bold);
  text-align: center;
}

.qty--sm button {
  width: 34px;
  height: 36px;
}

.qty--sm .icon {
  width: 15px;
  height: 15px;
}

.qty--sm output {
  min-width: 22px;
  font-size: var(--fs-sm);
}

/* ---------- Illustrated mini-city delivery map (Home + Track Order) ---------- */

.dlv-map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.dlv-label {
  font: 600 10px var(--font-sans);
  fill: #8a917f;
  letter-spacing: 0.04em;
}

.dlv-label--water {
  font-style: italic;
  fill: #5c97b4;
}

.dlv-tag {
  font: 700 10px var(--font-sans);
  fill: #fff;
  text-anchor: middle;
}

.dlv-tag--dark {
  fill: #0a1520;
}

.dlv-box {
  font: 700 10px var(--font-brand);
  fill: #fcd206;
  text-anchor: middle;
}

.dlv-label--center {
  text-anchor: middle;
}

.dlv-ping {
  transform-box: fill-box;
  transform-origin: center;
  animation: dlv-ping 1.8s ease-out infinite;
}

@keyframes dlv-ping {
  from { transform: scale(0.6); opacity: 0.8; }
  to { transform: scale(2.4); opacity: 0; }
}

/* Back arrow stays in view while scrolling (its wrapper sticks under the header) */
.cart-top,
.co-top,
.tr-top,
.pdp-crumbs,
.ct-narrow > .back-link {
  position: sticky;
  top: calc(var(--header-h) + 10px);
  z-index: 25;
}

.cart-top,
.co-top,
.tr-top {
  width: fit-content;
}

.pdp-crumbs {
  padding-block: 6px;
  background: var(--c-page);
  box-shadow: 0 -12px 0 var(--c-page);
}

@media (max-width: 767.98px) {
  .cart-top,
  .co-top,
  .tr-top,
  .pdp-crumbs,
  .ct-narrow > .back-link {
    top: 75px;
  }
  .pdp-crumbs {
    width: fit-content;
    background: none;
    box-shadow: none;
  }
}

/* ---------- "How was your order?" review pop-up ---------- */

.rv-dialog {
  width: min(460px, calc(100% - 32px));
  max-height: calc(100vh - 32px);
  padding: 0;
  border: 0;
  border-radius: var(--r-xl);
  background: var(--c-surface);
  color: var(--c-text);
  box-shadow: var(--sh-float);
}

.rv-dialog::backdrop {
  background: rgba(10, 21, 32, 0.6);
}

.rv-dialog[open] {
  animation: rv-pop 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes rv-pop {
  from { transform: scale(0.92) translateY(12px); opacity: 0; }
  to { transform: none; opacity: 1; }
}

.rv {
  position: relative;
  display: grid;
  gap: var(--sp-3);
  padding: var(--sp-6) var(--sp-5) var(--sp-4);
}

.rv__close {
  position: absolute;
  top: var(--sp-3);
  right: var(--sp-3);
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--c-tile);
}

.rv__close .icon {
  width: 17px;
  height: 17px;
}

.rv__head {
  display: grid;
  justify-items: center;
  gap: 4px;
  text-align: center;
}

.rv__logo {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--c-navy);
  border: 2px solid var(--c-yellow);
}

.rv__logo img {
  width: 24px;
  height: auto;
}

.rv__head h2 {
  margin-top: var(--sp-1);
  font-size: var(--fs-xl);
  font-weight: var(--fw-black);
}

.rv__head p {
  color: var(--c-muted);
  font-size: var(--fs-xs);
}

.rv__photos {
  display: flex;
  margin-top: var(--sp-1);
}

.rv__photos .media {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid var(--c-surface);
}

.rv__photos .media + .media {
  margin-left: -12px;
}

/* stars */
.rv-stars {
  display: flex;
  justify-content: center;
  gap: 6px;
}

.rv-star {
  position: relative;
  cursor: pointer;
}

.rv-star input {
  position: absolute;
  opacity: 0;
}

.rv-star svg {
  display: block;
  fill: var(--c-border-strong);
  transition: fill var(--t-fast) var(--ease-out), transform var(--t-base) cubic-bezier(0.34, 1.56, 0.64, 1);
}

.rv-stars--lg svg {
  width: 44px;
  height: 44px;
}

.rv-stars--sm {
  gap: 2px;
  justify-content: flex-end;
}

.rv-stars--sm svg {
  width: 20px;
  height: 20px;
}

.rv-star.is-on svg {
  fill: var(--c-star);
}

.rv-stars--lg .rv-star.is-on svg {
  transform: scale(1.08);
}

/* hover preview (mouse only): light up the stars up to the one under the pointer */
@media (hover: hover) {
  .rv-stars:hover .rv-star svg {
    fill: var(--c-star);
  }
  .rv-stars .rv-star:hover ~ .rv-star svg {
    fill: var(--c-border-strong);
  }
}

.rv-star input:focus-visible + svg {
  outline: 2px solid var(--c-navy);
  outline-offset: 2px;
  border-radius: 4px;
}

.rv__word {
  color: var(--c-text-2);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  text-align: center;
}

.rv__tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-2);
  margin: 0;
  padding: 0;
  border: 0;
}

.rv__tags legend {
  width: 100%;
  margin-bottom: var(--sp-2);
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  text-align: center;
}

.rv-tag input {
  position: absolute;
  opacity: 0;
}

.rv-tag span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 var(--sp-3);
  border-radius: var(--r-pill);
  border: 1.5px solid var(--c-border-strong);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  cursor: pointer;
}

.rv-tag input:checked + span {
  border-color: var(--c-yellow);
  background: var(--c-yellow);
}

.rv-tag input:focus-visible + span {
  outline: 2px solid var(--c-navy);
  outline-offset: 2px;
}

.rv__label {
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
}

.rv__label small {
  color: var(--c-muted);
  font-weight: var(--fw-regular);
}

.rv__items {
  display: grid;
  gap: var(--sp-2);
  padding: var(--sp-3);
  border-radius: var(--r-md);
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
}

.rv__item {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-sm);
}

.rv__item .media {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: var(--r-sm);
}

.rv__item > span {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rv textarea {
  width: 100%;
  padding: var(--sp-3);
  border-radius: var(--r-md);
  border: 1.5px solid var(--c-border-strong);
  background: var(--c-surface-2);
  font: inherit;
  font-size: var(--fs-sm);
  resize: vertical;
}

.rv textarea:focus {
  outline: none;
  border-color: var(--c-yellow);
}

.rv__sorry {
  display: flex;
  gap: var(--sp-2);
  padding: var(--sp-3);
  border-radius: var(--r-md);
  background: #fde8e8;
  color: var(--c-text-2);
  font-size: var(--fs-xs);
}

.rv__sorry .icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--c-red);
}

.rv__sorry a {
  color: var(--c-red);
  font-weight: var(--fw-bold);
  text-decoration: underline;
}

.rv__later {
  justify-self: center;
  padding: var(--sp-1) var(--sp-3);
  color: var(--c-muted);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
}

.rv--done {
  justify-items: center;
  padding: var(--sp-8) var(--sp-6) var(--sp-6);
  text-align: center;
}

.rv__done-icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--c-yellow);
  animation: rv-pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.rv__done-icon .icon {
  width: 34px;
  height: 34px;
  stroke-width: 3;
}

.rv--done h2 {
  font-size: var(--fs-xl);
  font-weight: var(--fw-black);
}

.rv--done p {
  color: var(--c-text-2);
  font-size: var(--fs-sm);
}

@media (max-width: 767.98px) {
  .rv-dialog {
    width: 100%;
    max-width: none;
    margin: auto 0 0;
    border-radius: var(--r-xl) var(--r-xl) 0 0;
  }
  .rv-stars--lg svg {
    width: 40px;
    height: 40px;
  }
}

/* rated badges (profile, track) */
.pf-rated,
.tr-rated {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--c-green);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
}

.pf-rated .icon,
.tr-rated .icon {
  width: 15px;
  height: 15px;
}

.tr-rate,
.tr-rated {
  margin-top: var(--sp-5);
}

/* ---------- Products: clean white, no shadows ----------
   Product photos sit on pure white (like a shop catalogue). Cards are flat
   with a hairline border; hover only lifts the photo slightly. */
.product-card,
.product-card:hover,
.sr-row,
.sr-row:hover,
.cart-line,
.cart-sugg,
.cart-sugg:hover,
.pdp-photo {
  box-shadow: none !important;
}

.product-card,
.product-card .media,
.sr-row,
.sr-row__photo .media,
.cart-line,
.cart-line__photo .media,
.cart-sugg,
.pdp-photo,
.pdp-photo .media,
.pdp-thumb .media,
.co-item__photo .media,
.os-item__photo .media,
.tr-item__photo .media,
.ch-product .media {
  background: #fff;
}

.product-card {
  border-color: #ece9e1;
}

.product-card:hover {
  transform: none;
  border-color: var(--c-yellow);
}

.pdp-photo {
  border: 1px solid #ece9e1;
}

/* tablets: the tightest version of the desktop header */
@media (min-width: 768px) and (max-width: 1023.98px) {
  .site-header__inner {
    gap: var(--sp-2);
  }
  .brand__mark {
    height: 40px;
  }
  .brand__name {
    font-size: 1rem;
  }
  .main-nav__link {
    padding: var(--sp-2) 6px;
    font-size: var(--fs-sm);
  }
  .main-nav__link::after {
    left: 6px;
    right: 6px;
  }
  .header-chat {
    padding: 0 10px;
  }
}

#rv-title:focus {
  outline: none;
}

/* ---------- In-app map pins (components/map.js) ---------- */

.sb-pin span {
  display: grid;
  place-items: center;
  width: 100%;
  height: calc(100% - 8px);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 4px 10px rgba(10, 21, 32, 0.35);
}

.sb-pin img,
.sb-pin svg {
  transform: rotate(45deg);
}

.sb-pin--shop span {
  background: var(--c-navy);
  border: 3px solid var(--c-yellow);
}

.sb-pin--shop img {
  width: 16px;
  height: auto;
}

.sb-pin--home span {
  background: var(--c-red);
  border: 3px solid #fff;
}

.sb-pin--home svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #fff;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sb-bike span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--c-yellow);
  border: 3px solid var(--c-navy);
  box-shadow: 0 0 0 6px rgba(252, 210, 6, 0.35);
  animation: sb-bike-pulse 1.6s ease-out infinite;
}

.sb-bike svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--c-navy);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@keyframes sb-bike-pulse {
  0% { box-shadow: 0 0 0 0 rgba(252, 210, 6, 0.6); }
  100% { box-shadow: 0 0 0 14px rgba(252, 210, 6, 0); }
}

.leaflet-container {
  font-family: var(--font-sans);
}

/* the map library resizes images inside markers — keep our logo pin small */
.leaflet-container .leaflet-marker-pane .sb-pin--shop img {
  width: 16px !important;
  height: auto !important;
}

/* ---------- "Your rider" card (components/rider-card.js) ---------- */

.rc {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-3) var(--sp-4);
  padding: var(--sp-4);
  border-radius: var(--r-md);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  text-align: left;
}

.rc__avatar {
  display: grid;
  flex-shrink: 0;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--c-navy);
  border: 2px solid var(--c-yellow);
  color: var(--c-yellow);
  font-family: var(--font-brand);
  font-weight: 700;
  overflow: hidden;
}

.rc__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rc__avatar--empty {
  background: var(--c-tile);
  border-style: dashed;
  border-color: var(--c-border-strong);
  color: var(--c-muted);
}

.rc__avatar .icon {
  width: 24px;
  height: 24px;
}

.rc__info {
  display: grid;
  flex: 1;
  gap: 2px;
  min-width: 170px;
  margin: 0;
}

.rc__info > div {
  display: flex;
  gap: var(--sp-2);
  font-size: var(--fs-sm);
}

.rc__info dt {
  min-width: 72px;
  color: var(--c-muted);
  font-size: var(--fs-xs);
  line-height: 1.6;
}

.rc__info dd {
  margin: 0;
  color: var(--c-text-2);
}

.rc__name {
  color: var(--c-text) !important;
  font-weight: var(--fw-bold);
}

.rc__id {
  padding: 1px 8px;
  border-radius: var(--r-pill);
  background: var(--c-navy);
  color: var(--c-yellow);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: 0.06em;
}

.rc__id--empty {
  background: var(--c-tile);
  color: var(--c-muted);
}

.rc__actions {
  display: flex;
  gap: var(--sp-2);
}

.rc-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 var(--sp-3);
  border-radius: var(--r-md);
  background: var(--c-yellow-soft);
  color: var(--c-navy);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
}

.rc-btn--call {
  background: var(--c-yellow);
}

.rc-btn .icon {
  width: 17px;
  height: 17px;
}

@media (max-width: 767.98px) {
  .rc__actions {
    width: 100%;
  }
  .rc-btn {
    flex: 1;
    justify-content: center;
  }
}

/* Seven Bites bike riding on the map */
.sb-bike2 {
  position: relative;
}

.sb-bike2__halo {
  position: absolute;
  inset: 12px;
  border-radius: 50%;
  background: rgba(252, 210, 6, 0.35);
  animation: sb-bike-pulse 1.6s ease-out infinite;
}

.sb-bike2__rot {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  transition: transform 0.4s linear;
}

.sb-bike2__rot svg {
  width: 62px;
  height: auto;
  filter: drop-shadow(0 3px 4px rgba(10, 21, 32, 0.3));
}
