﻿:root {
  --gw-border: var(--gw-shell-border, #eadbca);
  --gw-muted: var(--gw-shell-muted, #6d6259);
  --gw-dark: var(--gw-shell-text, #1f1a17);
  --gw-card: rgba(255, 255, 255, 0.88);
  --gw-shadow: 0 24px 52px rgba(31, 26, 23, 0.08);
}

.gwada-container {
  width: min(92vw, 1680px);
  max-width: none;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(18px, 1.8vw, 30px);
  padding-right: clamp(18px, 1.8vw, 30px);
}

.gwada-order-page,
.gwada-confirmation-page {
  padding: 2rem 0 3rem;
}

.gwada-order-body {
  padding-bottom: 3rem;
}

.gwada-order-body__grid,
.gwada-confirmation-layout {
  display: grid;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.gwada-order-header__breadcrumb,
.gwada-account-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: var(--gw-muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.gwada-order-header__breadcrumb a,
.gwada-account-breadcrumb a {
  color: var(--gw-muted);
  text-decoration: none;
}

.gwada-order-header__card,
.gwada-confirmation-hero,
.gwada-order-stepper-card,
.gwada-card {
  border: 1px solid var(--gw-border);
  border-radius: 30px;
  background: var(--gw-card);
  box-shadow: var(--gw-shadow);
  backdrop-filter: blur(16px);
  padding: 1.5rem;
}

.gwada-order-header__card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.gwada-order-header__card h1,
.gwada-confirmation-hero h1,
.gwada-account-section-head h1,
.gwada-account-section-head h2 {
  margin: 0.25rem 0 0;
  color: var(--gw-dark);
}

.gwada-order-header__card h1,
.gwada-confirmation-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 0.95;
}

.gwada-order-header__meta,
.gwada-confirmation-hero__meta,
.gwada-confirmation-restaurant__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.gwada-order-header__meta span,
.gwada-confirmation-hero__meta span,
.gwada-confirmation-restaurant__meta span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0.45rem 0.85rem;
  border: 1px solid rgba(82, 82, 82, 0.08);
  border-radius: 999px;
  background: rgba(245, 245, 245, 0.8);
  color: #525252;
  font-size: 0.82rem;
  font-weight: 600;
}

.gwada-order-status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  background: #fff7ed;
  color: #c2410c;
  font-weight: 800;
  align-self: flex-start;
}

.gwada-payment-badge {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  border: 1px solid transparent;
}

.gwada-payment-badge.is-paid {
  background: #dcfce7;
  border-color: #bbf7d0;
  color: #15803d;
}

.gwada-payment-badge.is-processing {
  background: #fff7ed;
  border-color: #fed7aa;
  color: #c2410c;
}

.gwada-payment-badge.is-failed {
  background: #fee2e2;
  border-color: #fecaca;
  color: #b91c1c;
}

.gwada-order-stepper {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
}

.gwada-order-step {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-radius: 20px;
  background: rgba(250, 250, 250, 0.84);
  border: 1px solid rgba(82, 82, 82, 0.06);
}

.gwada-order-step span {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #f5f5f5;
  color: var(--gw-muted);
  font-weight: 800;
  flex: 0 0 auto;
}

.gwada-order-step.is-done span {
  background: #16a34a;
  color: white;
}

.gwada-order-step strong {
  color: var(--gw-dark);
}

.gwada-order-summary__stack,
.gwada-confirmation-actions__stack,
.gwada-confirmation-restaurants,
.gwada-account-orders-stack,
.gwada-account-sidebar,
.gwada-account-main {
  display: grid;
  gap: 1rem;
}

.gwada-order-summary__infos {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}

.gwada-order-summary__infos > div,
.gwada-order-products-item,
.gwada-account-mini-item {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border-radius: 18px;
  background: rgba(250, 250, 250, 0.84);
}

.gwada-order-summary__infos span,
.gwada-account-profile p,
.gwada-account-help p,
.gwada-account-empty,
.gwada-account-live-order__title-row + p,
.gwada-order-products-item span,
.gwada-account-mini-item span {
  margin: 0.3rem 0 0;
  color: var(--gw-muted);
}

.gwada-order-summary__infos strong {
  color: var(--gw-dark);
  text-align: right;
}

.gwada-order-products-card {
  display: grid;
  gap: 1rem;
}

.gwada-order-products-list,
.gwada-account-mini-list,
.gwada-account-data-grid,
.gwada-account-stats-grid {
  display: grid;
  gap: 1rem;
}

.gwada-order-products-item strong,
.gwada-account-mini-item strong {
  color: var(--gw-dark);
}

.gwada-confirmation-hero {
  text-align: center;
}

.gwada-confirmation-hero__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #dcfce7;
  color: #15803d;
  font-size: 1.8rem;
  font-weight: 800;
}

.gwada-confirmation-hero p {
  color: var(--gw-muted);
  line-height: 1.7;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.gwada-confirmation-total {
  margin: 1rem 0;
  padding: 1rem;
  border-radius: 18px;
  background: var(--gw-dark);
  color: white;
  text-align: center;
}

.gwada-confirmation-total strong {
  font-size: 2rem;
}

.gwada-eyebrow {
  margin: 0;
  color: #c2410c;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.gwada-btn--dark {
  background: var(--gw-dark);
  color: #fff;
}

.gwada-btn--dark:hover,
.gwada-btn--dark:focus {
  color: #fff;
}

.gwada-btn--full {
  width: 100%;
}

.gwada-account-page {
  padding: 2rem 0 3rem;
}

.gwada-account-layout {
  display: grid;
  gap: 1.5rem;
}

.gwada-account-profile {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.gwada-account-profile__content {
  display: grid;
  gap: 0.35rem;
}

.gwada-account-profile__content strong {
  color: var(--gw-dark);
}

.gwada-account-profile__logout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  width: fit-content;
  margin-top: 0.35rem;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(194, 65, 12, 0.16);
  background: rgba(255, 247, 237, 0.92);
  color: #c2410c;
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
}

.gwada-account-profile__logout:hover,
.gwada-account-profile__logout:focus {
  color: #9a3412;
  text-decoration: none;
}

.gwada-account-profile__avatar {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: #fff7ed;
  font-size: 1.2rem;
  font-weight: 800;
}

.gwada-account-menu {
  padding: 0.75rem;
  display: grid;
  gap: 0.55rem;
}

.gwada-account-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 46px;
  padding: 0.8rem 1rem;
  border-radius: 16px;
  color: var(--gw-dark);
  text-decoration: none;
  font-weight: 700;
  background: rgba(250, 250, 250, 0.78);
}

.gwada-account-menu a span {
  color: var(--gw-muted);
  font-size: 0.82rem;
}

.gwada-account-menu a.is-active {
  background: var(--gw-dark);
  color: #fff;
}

.gwada-account-menu a.is-active span {
  color: rgba(255, 255, 255, 0.82);
}

.gwada-account-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.gwada-account-section-head--small {
  margin-bottom: 0.5rem;
}

.gwada-account-live-order {
  padding: 1rem;
  border: 1px solid var(--gw-border);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.72);
}

.gwada-account-live-order__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.gwada-account-live-order__title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
}

.gwada-account-live-order__title-row h2 {
  margin: 0;
}

.gwada-account-ref {
  display: inline-flex;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(245, 245, 245, 0.8);
  color: var(--gw-muted);
  font-size: 0.76rem;
  font-weight: 700;
}

.gwada-account-step-grid {
  display: grid;
  gap: 0.85rem;
  margin-top: 1rem;
}

.gwada-account-step {
  padding: 1rem;
  border-radius: 18px;
  border: 1px solid rgba(82, 82, 82, 0.08);
  background: rgba(250, 250, 250, 0.84);
}

.gwada-account-step__icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  margin-bottom: 0.85rem;
  border-radius: 999px;
  background: #f3f4f6;
  color: var(--gw-muted);
  font-weight: 800;
}

.gwada-account-step.is-done .gwada-account-step__icon {
  background: #16a34a;
  color: #fff;
}

.gwada-account-step strong {
  color: var(--gw-dark);
  font-size: 0.95rem;
}

.gwada-account-history-table {
  overflow: hidden;
  border: 1px solid var(--gw-border);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.74);
}

.gwada-account-history-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.1rem;
  border-top: 1px solid rgba(82, 82, 82, 0.08);
}

.gwada-account-history-row--head {
  border-top: 0;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gw-muted);
  background: rgba(245, 245, 245, 0.7);
}

.gwada-account-history-row a {
  color: var(--gw-dark);
  font-weight: 700;
  text-decoration: none;
}

.gwada-account-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  font-style: normal;
  font-size: 0.78rem;
  font-weight: 800;
}

.gwada-account-status--done {
  background: #dcfce7;
  color: #15803d;
}

.gwada-account-status--live {
  background: #dbeafe;
  color: #1d4ed8;
}

.gwada-account-status--warning {
  background: #fee2e2;
  color: #b91c1c;
}

.gwada-account-stat {
  display: grid;
  gap: 0.45rem;
}

.gwada-account-stat span {
  color: var(--gw-muted);
  font-size: 0.86rem;
}

.gwada-account-stat strong {
  color: var(--gw-dark);
  font-size: clamp(1.6rem, 2vw, 2.1rem);
  line-height: 1;
}

.page-content .gwada-account-page .gwada-account-layout {
  display: grid !important;
  gap: 1.5rem !important;
}

.page-content .gwada-account-page .gwada-account-sidebar,
.page-content .gwada-account-page .gwada-account-main,
.page-content .gwada-account-page .gwada-account-orders-stack {
  display: grid !important;
  gap: 1rem !important;
}

.page-content .gwada-account-page .gwada-account-menu {
  display: grid !important;
  gap: 0.55rem !important;
  padding: 0.75rem !important;
}

.page-content .gwada-account-page .gwada-account-menu a {
  display: flex !important;
  width: 100% !important;
  align-items: center !important;
  justify-content: space-between !important;
  min-height: 48px !important;
  padding: 0.85rem 1rem !important;
  border-radius: 16px !important;
  color: var(--gw-dark) !important;
  text-decoration: none !important;
  font-weight: 700 !important;
  background: rgba(250, 250, 250, 0.78) !important;
}

.page-content .gwada-account-page .gwada-account-menu a.is-active {
  background: var(--gw-dark) !important;
  color: #fff !important;
}

.page-content .gwada-account-page .gwada-account-profile {
  display: grid !important;
  grid-template-columns: 54px minmax(0, 1fr) !important;
  gap: 1rem !important;
  align-items: center !important;
}

.page-content .gwada-account-page .gwada-account-live-order__head {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 1rem !important;
}

.page-content .gwada-account-page .gwada-account-step-grid {
  display: grid !important;
  gap: 0.85rem !important;
  margin-top: 1rem !important;
}

.page-content .gwada-account-page .gwada-account-history-table {
  display: block !important;
}

@media (min-width: 768px) {
  .gwada-order-header__card {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
  }

  .gwada-account-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .gwada-order-body__grid,
  .gwada-confirmation-layout {
    grid-template-columns: minmax(0, 1fr) 340px;
    align-items: start;
  }

  .gwada-order-aside,
  .gwada-confirmation-aside {
    position: sticky;
    top: 100px;
  }

  .gwada-account-layout,
  .page-content .gwada-account-page .gwada-account-layout {
    grid-template-columns: 320px minmax(0, 1fr) !important;
    align-items: start !important;
  }

  .gwada-account-sidebar,
  .page-content .gwada-account-page .gwada-account-sidebar {
    position: sticky !important;
    top: 100px !important;
  }

  .gwada-account-step-grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .gwada-account-step-grid--5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .gwada-account-data-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gwada-account-stats-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .gwada-container {
    width: min(94vw, 1680px);
  }

  .gwada-order-summary__infos > div,
  .gwada-order-products-item,
  .gwada-account-mini-item,
  .gwada-account-history-row {
    flex-direction: column;
    grid-template-columns: 1fr;
  }

  .gwada-order-summary__infos strong {
    text-align: left;
  }

  .gwada-account-history-row--head {
    display: none;
  }
}

.gwada-order-route-card {
  display: grid;
  gap: 1rem;
}

.gwada-order-route-card__map {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(255,247,237,0.9) 0%, rgba(255,255,255,0.95) 100%);
}

.gwada-order-route-card__pin {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 800;
}

.gwada-order-route-card__pin--start {
  background: #dcfce7;
  color: #15803d;
}

.gwada-order-route-card__pin--end {
  background: #dbeafe;
  color: #1d4ed8;
}

.gwada-order-route-card__line {
  flex: 1 1 auto;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #16a34a 0%, #f97316 100%);
}

.gwada-order-route-card__meta {
  display: grid;
  gap: 0.75rem;
}

.gwada-order-route-card__meta > div {
  padding: 1rem;
  border-radius: 18px;
  background: rgba(250, 250, 250, 0.84);
}

.gwada-order-route-card__meta span {
  display: block;
  color: var(--gw-muted);
  font-size: 0.85rem;
  margin-bottom: 0.35rem;
}

.gwada-order-route-card__meta strong {
  color: var(--gw-dark);
}

.gwada-order-route-card__embed {
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(82, 82, 82, 0.08);
  background: rgba(255, 255, 255, 0.86);
}

.gwada-order-route-card__embed iframe {
  display: block;
  width: 100%;
  height: 240px;
  border: 0;
}

.gwada-order-route-card__layout {
  display: grid;
  gap: 1rem;
}

.gwada-order-route-card__content {
  display: grid;
  gap: 1rem;
}

.gwada-order-route-card__mapline {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(255,247,237,0.9) 0%, rgba(255,255,255,0.95) 100%);
}

@media (min-width: 1024px) {
  .gwada-order-route-card__layout {
    grid-template-columns: minmax(0, 1fr) 420px;
    align-items: start;
  }

  .gwada-order-route-card__embed iframe {
    height: 100%;
    min-height: 340px;
  }
}


.gwada-account-track-btn {
  min-height: 54px;
  padding: 0.95rem 1.4rem;
  border-radius: 18px;
  background: linear-gradient(135deg, #ff7a18 0%, #ff6a00 100%);
  box-shadow: 0 18px 34px rgba(255, 106, 0, 0.22);
  color: #fff;
  font-weight: 800;
  justify-content: center;
}

.gwada-account-track-btn:hover,
.gwada-account-track-btn:focus {
  color: #fff;
}
.gwada-account-live-order__content {
  display: grid;
  gap: 0.8rem;
}

.gwada-account-order-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.gwada-account-order-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(82, 82, 82, 0.08);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.2;
}

.gwada-account-order-badge--mode-delivery {
  background: #fff7ed;
  color: #c2410c;
}

.gwada-account-order-badge--mode-pickup {
  background: #ede9fe;
  color: #6d28d9;
}

.gwada-account-order-badge--mode-onsite {
  background: #dcfce7;
  color: #047857;
}

.gwada-account-order-badge--status-live {
  background: #dbeafe;
  color: #1d4ed8;
}

.gwada-account-order-badge--status-prep {
  background: #ffedd5;
  color: #c2410c;
}

.gwada-account-order-badge--status-ready {
  background: #dcfce7;
  color: #15803d;
}

.gwada-account-order-badge--status-delivery {
  background: #ede9fe;
  color: #6d28d9;
}

.gwada-account-order-badge--status-done {
  background: #dcfce7;
  color: #15803d;
}

.gwada-account-order-badge--status-warning {
  background: #fee2e2;
  color: #b91c1c;
}

.gwada-account-order-badge--slot-delivery {
  background: #fff7ed;
  color: #ea580c;
}

.gwada-account-order-badge--slot-pickup {
  background: #ede9fe;
  color: #7c3aed;
}

.gwada-account-status--status-live {
  background: #dbeafe;
  color: #1d4ed8;
}

.gwada-account-status--status-prep {
  background: #ffedd5;
  color: #c2410c;
}

.gwada-account-status--status-ready,
.gwada-account-status--status-delivery,
.gwada-account-status--status-done {
  background: #dcfce7;
  color: #15803d;
}

.gwada-account-status--status-warning {
  background: #fee2e2;
  color: #b91c1c;
}
.gwada-account-live-order__identity {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.gwada-account-live-order__logo {
  width: 72px;
  height: 72px;
  border-radius: 22px;
  overflow: hidden;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(82, 82, 82, 0.08);
}

.gwada-account-live-order__logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gwada-account-live-order__logo-placeholder {
  font-size: 1.05rem;
  font-weight: 800;
  color: #9ca3af;
}

@media (max-width: 767px) {
  .gwada-account-live-order__identity {
    grid-template-columns: 60px minmax(0, 1fr);
    gap: 0.85rem;
  }

  .gwada-account-live-order__logo {
    width: 60px;
    height: 60px;
    border-radius: 18px;
  }
}
.gwada-account-order-badge img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex: 0 0 auto;
}

.gwada-account-order-badge--mode-delivery,
.gwada-account-order-badge--mode-pickup,
.gwada-account-order-badge--mode-onsite {
  gap: 0.5rem;
}



