:root {
  --fo-bg: #07111f;
  --fo-chrome-bg: #050a13;
  --fo-bg-soft: #0c1830;
  --fo-panel: rgba(10, 20, 38, 0.78);
  --fo-panel-strong: rgba(9, 17, 33, 0.92);
  --fo-border: rgba(103, 232, 249, 0.12);
  --fo-border-soft: rgba(148, 163, 184, 0.16);
  --fo-text: #e5f0ff;
  --fo-text-soft: #93a8c8;
  --fo-accent: #38bdf8;
  --fo-accent-strong: #0ea5e9;
  --fo-highlight: #7dd3fc;
  --fo-success: #34d399;
  --fo-danger: #fb7185;
  --fo-shadow: 0 18px 50px rgba(2, 6, 23, 0.34);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  background: var(--fo-chrome-bg);
}

body.fo-body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  color: var(--fo-text);
  font-family: "Space Grotesk", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(14, 165, 233, 0.22), transparent 28%),
    radial-gradient(circle at top right, rgba(59, 130, 246, 0.18), transparent 24%),
    linear-gradient(180deg, #08101d 0%, #091325 35%, #07101e 100%);
  background-attachment: fixed;
}

a {
  color: inherit;
}

.fo-shell {
  min-height: 100vh;
}

.fo-topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1rem 0.75rem;
  backdrop-filter: blur(14px);
  background: linear-gradient(180deg, rgba(5, 10, 19, 0.88), rgba(5, 10, 19, 0.52));
}

.fo-brand-wrap {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.fo-brand-logo {
  width: 38px;
  height: 30px;
}

.fo-brand {
  color: #f8fbff;
  font-family: "Orbitron", sans-serif;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fo-brand-subtitle {
  color: var(--fo-text-soft);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.fo-topbar-action {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(56, 189, 248, 0.16);
  border-radius: 16px;
  background: rgba(10, 18, 34, 0.8);
  color: var(--fo-highlight);
  text-decoration: none;
}

.fo-topbar-action i {
  font-size: 1.15rem;
}

.fo-topbar-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 20px;
  height: 20px;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #38bdf8, #0ea5e9);
  color: white;
  font-size: 0.7rem;
  line-height: 20px;
  text-align: center;
}

.fo-main {
  width: min(100%, 1120px);
  margin: 0 auto;
  padding: 0 1rem;
}

.fo-shell-spacer {
  height: 110px;
}

.fo-page {
  padding: 0.75rem 0 1rem;
}

.fo-hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.2rem;
  padding: 1.3rem;
  border: 1px solid var(--fo-border);
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(56, 189, 248, 0.16), transparent 34%),
    linear-gradient(135deg, rgba(10, 19, 38, 0.96), rgba(7, 16, 31, 0.96));
  box-shadow: var(--fo-shadow);
}

.fo-kicker {
  margin: 0 0 0.35rem;
  color: var(--fo-highlight);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.fo-title {
  margin: 0;
  color: #f7fbff;
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  line-height: 1;
}

.fo-subtitle {
  margin: 0.55rem 0 0;
  color: var(--fo-text-soft);
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 56ch;
}

.fo-chip {
  min-width: 180px;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(56, 189, 248, 0.16);
  border-radius: 18px;
  background: rgba(6, 12, 24, 0.56);
}

.fo-chip__label {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--fo-text-soft);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.fo-grid {
  display: grid;
  gap: 1rem;
}

.fo-grid--cards {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.fo-grid--split {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fo-card,
.fo-panel {
  border: 1px solid var(--fo-border);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(10, 19, 38, 0.88), rgba(7, 14, 27, 0.92));
  box-shadow: var(--fo-shadow);
}

.fo-card {
  overflow: hidden;
}

.fo-panel {
  padding: 1.1rem;
}

.fo-panel__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.fo-panel__title {
  margin: 0;
  color: #f8fbff;
  font-size: 1.15rem;
}

.fo-panel__meta {
  margin: 0.35rem 0 0;
  color: var(--fo-text-soft);
  font-size: 0.88rem;
}

.fo-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 46px;
  padding: 0.8rem 1.1rem;
  border: 1px solid rgba(56, 189, 248, 0.16);
  border-radius: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.fo-button:hover {
  transform: translateY(-1px);
}

.fo-button--primary {
  background: linear-gradient(135deg, #38bdf8, #0ea5e9);
  color: white;
  box-shadow: 0 14px 32px rgba(14, 165, 233, 0.24);
}

.fo-button--ghost {
  background: rgba(11, 21, 41, 0.7);
  color: #dceeff;
}

.fo-form-control,
.fo-form-select,
.fo-form-textarea,
.fo-panel input,
.fo-panel select,
.fo-panel textarea {
  width: 100%;
  min-height: 52px;
  padding: 0.92rem 1rem;
  border: 1px solid rgba(125, 211, 252, 0.1);
  border-radius: 16px;
  background: rgba(4, 10, 22, 0.68);
  color: var(--fo-text);
}

.fo-panel textarea,
.fo-form-textarea {
  min-height: 120px;
  resize: vertical;
}

.fo-form-control::placeholder,
.fo-form-textarea::placeholder {
  color: #6f88ac;
}

.fo-form-control:focus,
.fo-form-select:focus,
.fo-form-textarea:focus,
.fo-panel input:focus,
.fo-panel select:focus,
.fo-panel textarea:focus {
  outline: none;
  border-color: rgba(56, 189, 248, 0.34);
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.14);
}

.fo-label {
  color: #d9ebff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.fo-nav {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 60;
  display: flex;
  gap: 0.4rem;
  width: min(calc(100% - 1.5rem), 380px);
  padding: 0.42rem;
  border: 1px solid rgba(56, 189, 248, 0.14);
  border-radius: 24px;
  background: rgba(5, 11, 22, 0.82);
  backdrop-filter: blur(20px);
  box-shadow: 0 24px 60px rgba(2, 8, 23, 0.44);
}

.fo-nav__item {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border-radius: 16px;
  color: #90a6c4;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease, opacity 160ms ease, transform 160ms ease;
}

.fo-nav__item i {
  font-size: 1.32rem;
}

.fo-nav__item.active {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.22), rgba(14, 165, 233, 0.12));
  color: #f8fbff;
}

.fo-nav__item.is-loading {
  opacity: 0.78;
  transform: translateY(-1px);
}

.fo-nav__item.is-loading i {
  animation: fo-nav-pulse 700ms ease-in-out infinite alternate;
}

body.fo-is-navigating .fo-main {
  opacity: 0.88;
  transition: opacity 160ms ease;
}

@keyframes fo-nav-pulse {
  from {
    opacity: 0.65;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1.04);
  }
}

.fo-nav__icon-wrap {
  position: relative;
}

.fo-nav__badge {
  position: absolute;
  top: -7px;
  right: -11px;
  min-width: 18px;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: #22d3ee;
  color: #042033;
  font-size: 0.66rem;
  line-height: 18px;
  text-align: center;
}

.fo-empty {
  padding: 1.4rem 1rem;
  border: 1px dashed rgba(56, 189, 248, 0.18);
  border-radius: 18px;
  background: rgba(8, 16, 31, 0.65);
  color: var(--fo-text-soft);
  text-align: center;
}

.fo-status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.38rem 0.68rem;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.14);
  color: #dff7ff;
  font-size: 0.75rem;
  font-weight: 700;
}

@media (max-width: 860px) {
  .fo-grid--split {
    grid-template-columns: 1fr;
  }

  .fo-hero,
  .fo-panel__header {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 640px) {
  .fo-topbar {
    padding: 0.9rem 0.9rem 0.7rem;
  }

  .fo-main {
    padding: 0 0.85rem;
  }

  .fo-hero,
  .fo-card,
  .fo-panel {
    border-radius: 22px;
  }

  .fo-nav {
    width: calc(100% - 1rem);
    bottom: 10px;
  }

  .fo-button {
    width: 100%;
  }
}

.fo-panel--compact {
  padding: 1rem;
}

.fo-home__chip-value,
.fo-checkout__chip-value {
  font-size: 1.45rem;
  color: #f7fbff;
}

.fo-store-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.fo-store-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--fo-border);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(10, 19, 38, 0.88), rgba(7, 14, 27, 0.96));
  box-shadow: var(--fo-shadow);
}

.fo-store-card__media {
  position: relative;
  min-height: 180px;
  background-position: center;
  background-size: cover;
}

.fo-store-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 16, 31, 0.05), rgba(7, 16, 31, 0.84));
}

.fo-store-card__body {
  position: relative;
  padding: 0 1.2rem 1.2rem;
}

.fo-store-card__logo {
  width: 84px;
  height: 84px;
  margin-top: -42px;
  border: 1px solid rgba(125, 211, 252, 0.22);
  border-radius: 24px;
  background: rgba(8, 16, 31, 0.92);
  overflow: hidden;
  box-shadow: 0 18px 36px rgba(2, 8, 23, 0.42);
}

.fo-store-card__logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fo-store-card__meta {
  margin-top: 1rem;
}

.fo-store-card__meta h2 {
  margin: 0.85rem 0 0.45rem;
  font-size: 1.35rem;
  color: #f8fbff;
}

.fo-store-card__meta p {
  margin: 0;
  color: var(--fo-text-soft);
  line-height: 1.6;
}

.fo-store-card__action {
  margin-top: 1.25rem;
}

.fo-store-hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  gap: 1rem;
  min-height: 150px;
  margin-bottom: 1rem;
  padding: 1rem 1.2rem;
  border: 1px solid var(--fo-border);
  border-radius: 30px;
  background-position: center;
  background-size: cover;
  box-shadow: var(--fo-shadow);
}

.fo-store-hero__logo {
  flex: 0 0 74px;
  width: 74px;
  height: 74px;
  border: 1px solid rgba(125, 211, 252, 0.28);
  border-radius: 22px;
  overflow: hidden;
  background: rgba(7, 16, 31, 0.92);
  backdrop-filter: blur(18px);
}

.fo-store-hero__logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fo-store-hero__content h1 {
  margin: 0;
  color: #f8fbff;
  font-size: clamp(1.45rem, 5vw, 2.2rem);
}

.fo-category-bar {
  display: flex;
  width: 100%;
  flex-wrap: nowrap;
  gap: 0.75rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding: 0.25rem 0.35rem 0.4rem;
  scrollbar-width: none;
  touch-action: pan-x;
  -webkit-overflow-scrolling: touch;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0,
    #000 0.7rem,
    #000 calc(100% - 0.7rem),
    transparent 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0,
    #000 0.7rem,
    #000 calc(100% - 0.7rem),
    transparent 100%
  );
}

.fo-category-bar::-webkit-scrollbar {
  display: none;
}

.fo-category-filter {
  position: sticky;
  top: 67px;
  z-index: 30;
  margin-top: 1rem;
  padding: 0.35rem 0;
  background: rgba(7, 17, 31, 0.28);
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
}

.fo-category-pill {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 0.68rem 1rem;
  border: 1px solid rgba(125, 211, 252, 0.14);
  border-radius: 999px;
  background: rgba(8, 16, 31, 0.72);
  color: #b8cdea;
  font-weight: 700;
}

.fo-category-pill.active {
  border-color: rgba(56, 189, 248, 0.35);
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.22), rgba(14, 165, 233, 0.12));
  color: white;
}

.fo-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.fo-product-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 132px;
  gap: 1rem;
  height: 164px;
  padding: 1rem;
  border: 1px solid var(--fo-border);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(10, 19, 38, 0.88), rgba(7, 14, 27, 0.96));
  box-shadow: var(--fo-shadow);
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.fo-product-card:hover,
.fo-product-card:has(.fo-product-card__details-trigger:focus-visible) {
  border-color: rgba(56, 189, 248, 0.3);
  box-shadow: 0 18px 42px rgba(2, 8, 23, 0.38);
  outline: none;
  transform: translateY(-2px);
}

.fo-product-card__details-trigger {
  position: absolute;
  z-index: 1;
  inset: 0;
  border: 0;
  border-radius: inherit;
  background: transparent;
}

.fo-product-card__copy {
  position: relative;
  z-index: 2;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0.38rem;
  pointer-events: none;
}

.fo-product-card__info {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.24rem;
}

.fo-product-card__info h3 {
  width: 100%;
  margin: 0;
  color: #f7fbff;
  font-size: 1.08rem;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fo-product-card__price {
  display: block;
  margin-top: 0.12rem;
  color: var(--fo-highlight);
  font-size: 0.94rem;
  font-weight: 700;
}

.fo-product-card p {
  display: -webkit-box;
  margin: 0;
  color: var(--fo-text-soft);
  font-size: 0.76rem;
  line-height: 1.35;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.fo-product-card__media {
  position: relative;
  z-index: 2;
  min-width: 0;
  min-height: 0;
  pointer-events: none;
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(20, 35, 57, 0.9), rgba(8, 16, 31, 0.95));
}

.fo-product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
  transition: transform 320ms ease, filter 320ms ease, opacity 220ms ease;
}

.fo-product-card:hover .fo-product-card__media img,
.fo-product-card:focus-within .fo-product-card__media img {
  filter: saturate(1.06) contrast(1.03);
  transform: scale(1.035);
}

.fo-product-card__add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(56, 189, 248, 0.22);
  border-radius: 16px;
  background: linear-gradient(135deg, #38bdf8, #0ea5e9);
  color: white;
  box-shadow: 0 14px 26px rgba(14, 165, 233, 0.22);
}

.fo-product-card__quantity {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.fo-product-card__quantity span {
  min-width: 18px;
  text-align: center;
  font-weight: 700;
}

.fo-product-card .cart-controls {
  position: relative;
  z-index: 3;
  width: fit-content;
  pointer-events: auto;
  margin-top: 0.1rem;
}

.fo-modal-open {
  overflow: hidden;
}

.fo-product-modal,
.fo-image-viewer {
  position: fixed;
  inset: 0;
  z-index: 1200;
}

.fo-product-modal[hidden],
.fo-image-viewer[hidden] {
  display: none;
}

.fo-product-modal {
  display: grid;
  place-items: center;
  padding: 1rem;
}

.fo-product-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 8, 23, 0.78);
  backdrop-filter: blur(12px);
}

.fo-product-modal__dialog {
  position: relative;
  display: grid;
  grid-template-columns: minmax(240px, 0.85fr) minmax(0, 1.15fr);
  width: min(820px, 100%);
  max-height: min(680px, calc(100dvh - 2rem));
  overflow: hidden;
  border: 1px solid rgba(125, 211, 252, 0.18);
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(56, 189, 248, 0.12), transparent 34%),
    linear-gradient(145deg, #0c1930, #07101f 72%);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.56);
}

.fo-product-modal__close,
.fo-image-viewer__close {
  position: absolute;
  z-index: 2;
  top: 1rem;
  right: 1rem;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(125, 211, 252, 0.2);
  border-radius: 14px;
  background: rgba(5, 13, 27, 0.82);
  color: #eaf7ff;
}

.fo-product-modal__image-button {
  position: relative;
  min-height: 410px;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: #06101f;
}

.fo-product-modal__image-button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fo-product-modal__image-button span {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.75rem;
  border: 1px solid rgba(125, 211, 252, 0.18);
  border-radius: 12px;
  background: rgba(5, 13, 27, 0.8);
  color: #eaf7ff;
  font-size: 0.76rem;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.fo-product-modal__content {
  min-width: 0;
  padding: 4.4rem 2rem 2rem;
  overflow-y: auto;
}

.fo-product-modal__eyebrow {
  color: var(--fo-highlight);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.fo-product-modal__content h2 {
  margin: 0.55rem 0 1rem;
  color: #f7fbff;
  font-family: "Orbitron", sans-serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.2;
}

.fo-product-modal__content p {
  margin: 0;
  color: #b8cdea;
  font-size: 0.94rem;
  line-height: 1.75;
  white-space: pre-line;
}

.fo-image-viewer {
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background: rgba(1, 5, 14, 0.96);
}

.fo-image-viewer img {
  max-width: min(1100px, 100%);
  max-height: calc(100dvh - 3rem);
  object-fit: contain;
  border-radius: 18px;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6);
}

.fo-checkout-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 1rem;
}

.fo-cart-items,
.fo-orders-list {
  display: grid;
  gap: 1rem;
}

.fo-cart-product-card {
  width: 100%;
}

.fo-cart-product-card .fo-cart-item__actions {
  position: relative;
  z-index: 3;
  width: fit-content;
  margin-top: 0.1rem;
  pointer-events: auto;
}

.fo-cart-item {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
}

.fo-cart-item__image {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  object-fit: cover;
}

.fo-cart-item__body h2,
.fo-order-card h2 {
  margin: 0 0 0.35rem;
  color: #f8fbff;
  font-size: 1.1rem;
}

.fo-cart-item__body p,
.fo-order-card p {
  margin: 0;
  color: var(--fo-text-soft);
}

.fo-cart-item__footer,
.fo-order-card__main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.fo-cart-item__footer {
  margin-top: 0.85rem;
}

.fo-cart-item__price {
  display: block;
  margin-top: 0.08rem;
  color: var(--fo-highlight);
  font-weight: 700;
  font-size: 0.94rem;
}

.fo-cart-item__actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.fo-qty-button,
.fo-remove-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(125, 211, 252, 0.16);
  border-radius: 14px;
  background: rgba(9, 17, 33, 0.84);
  color: var(--fo-text);
  text-decoration: none;
}

.fo-remove-button {
  color: #ffc3d1;
}

.fo-cart-item__qty {
  min-width: 24px;
  text-align: center;
  font-weight: 700;
}

.fo-checkout-summary {
  position: sticky;
  top: 88px;
  height: fit-content;
}

.fo-checkout-summary__items {
  display: grid;
  gap: 0.8rem;
}

.fo-checkout-summary__item,
.fo-checkout-summary__total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(125, 211, 252, 0.1);
  border-radius: 16px;
  background: rgba(8, 16, 31, 0.56);
}

.fo-checkout-summary .fo-button {
  margin-top: 1rem;
}

.fo-cart-cta {
  margin-top: 1rem;
}

.fo-cart-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.fo-cart-total__label {
  color: var(--fo-text-soft);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.fo-cart-total__value {
  color: #f8fbff;
  font-size: 1.5rem;
}

.fo-checkout-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.fo-checkout-form__grid > div {
  display: grid;
  gap: 0.45rem;
}

.fo-checkout-summary__total {
  margin-top: 1rem;
}

.fo-order-card__status {
  display: grid;
  justify-items: end;
  gap: 0.55rem;
}

.fo-order-card__date {
  color: var(--fo-text-soft);
  font-size: 0.86rem;
}

.fo-status-page {
  display: grid;
  place-items: center;
  min-height: calc(100vh - 220px);
}

.fo-status-card {
  width: min(100%, 620px);
  padding: 2rem;
  border: 1px solid var(--fo-border);
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(10, 19, 38, 0.88), rgba(7, 14, 27, 0.96));
  box-shadow: var(--fo-shadow);
  text-align: center;
}

.fo-status-card--success {
  border-color: rgba(52, 211, 153, 0.2);
}

.fo-status-card--danger {
  border-color: rgba(251, 113, 133, 0.2);
}

.fo-status-card__icon {
  width: 84px;
  height: 84px;
  margin-bottom: 1rem;
}

.fo-status-card__emoji {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 84px;
  margin-bottom: 1rem;
  border-radius: 24px;
  background: rgba(8, 16, 31, 0.72);
  color: var(--fo-highlight);
  font-size: 2.2rem;
}

.fo-status-card h1 {
  margin: 0.4rem 0 0.75rem;
  color: #f8fbff;
  font-size: clamp(1.8rem, 6vw, 2.5rem);
}

.fo-status-card p {
  margin: 0 auto;
  max-width: 46ch;
  color: var(--fo-text-soft);
  line-height: 1.7;
}

.fo-status-card .fo-button {
  margin-top: 1.4rem;
}

.fo-auth-body .fo-topbar,
.fo-auth-body .fo-nav {
  display: none;
}

@media (max-width: 860px) {
  .fo-checkout-grid,
  .fo-checkout-form__grid {
    grid-template-columns: 1fr;
  }

  .fo-cart-summary,
  .fo-checkout-summary {
    position: static;
  }
}

@media (max-width: 640px) {
  .fo-store-hero {
    min-height: 112px;
    align-items: center;
    flex-direction: row;
    padding: 0.85rem;
    border-radius: 22px;
  }

  .fo-store-hero__logo {
    flex-basis: 62px;
    width: 62px;
    height: 62px;
    border-radius: 18px;
  }

  .fo-store-hero__content h1 {
    font-size: 1.3rem;
  }

  .fo-cart-item {
    grid-template-columns: 1fr;
  }

  .fo-product-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .fo-category-filter {
    top: 61px;
    margin-top: 0.8rem;
    padding: 0.45rem 0;
  }

  .fo-category-bar {
    gap: 0.5rem;
    padding-inline: 0.3rem;
  }

  .fo-category-pill {
    min-height: 38px;
    padding: 0.56rem 0.82rem;
    font-size: 0.8rem;
  }

  .fo-product-card {
    grid-template-columns: minmax(0, 1fr) 104px;
    gap: 0.75rem;
    height: 130px;
    padding: 0.8rem;
    border-radius: 20px;
  }

  .fo-product-card__copy {
    gap: 0.24rem;
  }

  .fo-product-card__info {
    gap: 0.16rem;
  }

  .fo-product-card__info h3 {
    font-size: 0.98rem;
  }

  .fo-product-card p {
    font-size: 0.7rem;
    line-height: 1.25;
    -webkit-line-clamp: 1;
  }

  .fo-product-card__price {
    margin-top: 0.02rem;
    font-size: 0.88rem;
  }

  .fo-product-card__media img {
    border-radius: 15px;
  }

  .fo-product-card__add {
    width: 38px;
    height: 38px;
    border-radius: 13px;
  }

  .fo-product-card__quantity {
    gap: 0.45rem;
  }

  .fo-cart-product-card .fo-qty-button,
  .fo-cart-product-card .fo-remove-button {
    width: 34px;
    height: 34px;
    border-radius: 11px;
  }

  .fo-cart-product-card .fo-cart-item__actions {
    gap: 0.38rem;
    margin-top: 0;
  }

  .fo-cart-product-card .fo-cart-item__qty {
    min-width: 18px;
  }

  .fo-product-modal {
    align-items: end;
    padding: 0.65rem;
  }

  .fo-product-modal__dialog {
    grid-template-columns: 1fr;
    width: 100%;
    max-height: calc(100dvh - 1.3rem);
    border-radius: 24px;
  }

  .fo-product-modal__image-button {
    min-height: 0;
    height: min(38dvh, 300px);
  }

  .fo-product-modal__content {
    padding: 1.4rem 1.2rem 1.6rem;
  }

  .fo-product-modal__content h2 {
    padding-right: 2.6rem;
    font-size: 1.35rem;
  }

  .fo-product-modal__content p {
    font-size: 0.86rem;
    line-height: 1.65;
  }

  .fo-cart-item__image {
    width: 100%;
    height: 180px;
  }

  .fo-cart-item__footer,
  .fo-order-card__main {
    flex-direction: column;
    align-items: flex-start;
  }

  .fo-order-card__status {
    justify-items: start;
  }
}
