/* Carrefour presentation tokens. Font is referenced, never packaged. */
@font-face {
  font-family: Vazir;
  src:
    local('Vazir Regular'),
    url('../assets/fonts/Vazir-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Vazir;
  src:
    local('Vazir Medium'),
    url('../assets/fonts/Vazir-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Vazir;
  src:
    local('Vazir Bold'),
    url('../assets/fonts/Vazir-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Vazir;
  src:
    local('Vazir Black'),
    url('../assets/fonts/Vazir-Black.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
:root {
  --blue: #004e9f;
  --blue-deep: #003b79;
  --red: #e30613;
  --ink: #183149;
  --muted: #64758a;
  --line: #e3e9ef;
  --surface: #fff;
  --pale: #f2f6fb;
  --shadow: 0 12px 42px #0c244321;
  font-family: Vazir, Vazirmatn, Tahoma, Arial, sans-serif;
  color: var(--ink);
  font-size: 14px;
  font-synthesis: none;
}
html[lang='en'] {
  font-family: 'Segoe UI', Arial, Vazir, sans-serif;
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #eaf0f5;
}
button,
input,
select {
  font: inherit;
}
button {
  border: 0;
  background: none;
  cursor: pointer;
  color: inherit;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
button:disabled {
  opacity: 0.5;
  cursor: default;
}
button:focus-visible,
input:focus-visible {
  outline: 3px solid #76b5f5;
  outline-offset: 3px;
}
button:hover:not(:disabled) {
  filter: brightness(0.97);
}
[hidden] {
  display: none !important;
}
svg.icon {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
i[data-icon] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-style: normal;
}
i {
  font-style: normal;
}
button,
.primary,
.secondary {
  transition:
    background 0.15s,
    box-shadow 0.15s,
    transform 0.15s;
}
.carrefour-symbol {
  width: 46px;
  height: 46px;
  display: block;
  flex: none;
}
kbd {
  font:
    11px 'Segoe UI',
    Arial,
    sans-serif;
}
#world {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  touch-action: none;
  outline: none;
}
#app {
  position: fixed;
  inset: 0;
  pointer-events: none;
}
#app > * {
  pointer-events: auto;
}
.glass {
  background: #ffffffef;
  border: 1px solid #fffffff0;
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.topbar {
  position: absolute;
  top: max(18px, env(safe-area-inset-top));
  left: 22px;
  right: 22px;
  height: 76px;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-radius: 14px;
  z-index: 35;
  background: #fffffff8;
  border-bottom: 3px solid var(--blue);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: start;
  flex-shrink: 0;
  padding: 0;
}
.brand-mark {
  display: grid;
  place-items: center;
}
.brand strong {
  display: block;
  font-size: 26px;
  line-height: 1.25;
  letter-spacing: -0.6px;
  color: var(--blue-deep);
  font-weight: 750;
}
.brand small {
  font:
    8px Arial,
    sans-serif;
  letter-spacing: 2.2px;
  display: block;
  color: var(--muted);
  margin-top: 5px;
}
html[lang='en'] .brand strong {
  font-family: Georgia, serif;
  font-size: 28px;
  font-weight: 700;
}
html[lang='en'] .brand small {
  display: none;
}
.header-caption {
  font-size: 12px;
  color: var(--muted);
  padding-inline-start: 26px;
  border-inline-start: 1px solid var(--line);
  margin-inline-end: auto;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.language-button {
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  height: 42px;
  border-radius: 8px;
  padding: 0 11px;
  direction: ltr;
  font:
    600 12px Arial,
    sans-serif;
}
.language-button svg {
  width: 13px;
  height: 13px;
}
.more-button {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  height: 42px;
  padding: 0 13px;
  border-radius: 8px;
}
.more-button[aria-expanded='true'],
.language-button[aria-expanded='true'] {
  background: var(--pale);
  color: var(--blue);
}
.more-button > i {
  color: var(--blue);
}
.cart-button {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 8px 14px;
  background: var(--blue);
  color: #fff;
  border-radius: 9px;
  min-width: 153px;
}
.cart-text {
  font-size: 11px;
  text-align: start;
  white-space: nowrap;
}
.cart-text > span {
  display: block;
}
.cart-text small {
  display: block;
  margin-top: 3px;
  color: #d8e8fc;
  font-size: 10px;
}
.cart-button b {
  min-width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  background: #ffffff26;
  border-radius: 6px;
  font-size: 12px;
  margin-inline-start: auto;
}
.cart-button.pulse {
  animation: pulse 0.35s ease;
}
.popover {
  position: absolute;
  top: 105px;
  inset-inline-end: 22px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 15px 45px #152a4330;
  border-radius: 12px;
  z-index: 45;
  animation: appear 0.14s ease;
}
.language-menu {
  width: 185px;
  padding: 7px;
  inset-inline-end: 266px;
}
.language-menu button {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 12px;
  font-size: 13px;
  min-height: 44px;
  border-radius: 7px;
}
.language-menu button b {
  font: 600 11px Arial;
  color: var(--muted);
}
.language-menu [aria-checked='true'] {
  background: var(--pale);
  color: var(--blue);
}
.more-menu {
  width: 326px;
  padding: 16px;
  max-height: calc(100svh - 126px);
  overflow: auto;
  overscroll-behavior: contain;
}
.more-menu > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 11px;
  padding: 0 4px;
}
.more-menu > header strong {
  font-size: 14px;
}
.menu-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  text-align: start;
  padding: 12px 11px;
  min-height: 46px;
  border-radius: 8px;
  font-size: 12px;
}
.menu-row:hover {
  background: var(--pale);
}
.menu-row > i {
  color: var(--blue);
}
.menu-row > span {
  flex: 1;
}
.menu-row small {
  font-size: 10px;
  color: var(--muted);
}
.menu-row .icon {
  width: 19px;
  height: 19px;
}
.menu-divider {
  height: 1px;
  background: var(--line);
  margin: 12px 0;
}
.menu-footer {
  border-top: 1px solid var(--line);
  margin-top: 12px;
  padding: 14px 5px 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 10px;
}
.menu-footer small {
  font-size: 9px;
}
.departments {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  padding: 4px;
}
.departments button {
  padding: 9px 7px;
  font-size: 11px;
  text-align: start;
  background: var(--pale);
  border-radius: 6px;
  min-height: 37px;
}
.departments button:hover {
  color: var(--blue);
  background: #e5effc;
}
.departments button span {
  display: none;
}
.tiny-button,
.icon-button {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  flex: none;
}
.tiny-button {
  width: 30px;
  height: 30px;
}
.tiny-button .icon {
  width: 16px;
  height: 16px;
}
.icon-button:hover,
.tiny-button:hover {
  background: var(--pale);
}
.welcome {
  position: absolute;
  top: clamp(133px, 23vh, 215px);
  inset-inline-start: 4%;
  width: 365px;
  border-radius: 15px;
  padding: 32px;
  background: #ffffffef;
  z-index: 4;
}
.welcome-accent {
  width: 32px;
  height: 4px;
  background: var(--red);
  border-radius: 2px;
  margin-bottom: 22px;
}
.welcome h1 {
  font-weight: 700;
  font-size: 34px;
  line-height: 1.65;
  letter-spacing: -0.8px;
  margin: 0;
  color: var(--blue-deep);
}
html[lang='en'] .welcome h1 {
  font-size: 35px;
  line-height: 1.23;
  letter-spacing: -1.1px;
}
.welcome p {
  font-size: 13px;
  line-height: 2;
  color: var(--muted);
  margin: 17px 0 27px;
}
html[lang='en'] .welcome p {
  line-height: 1.8;
}
.primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 13px 18px;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}
.primary:hover:not(:disabled) {
  background: var(--blue-deep);
  box-shadow: 0 4px 12px #004e9f20;
}
.primary .icon {
  width: 18px;
  height: 18px;
}
.welcome .primary {
  width: 100%;
  justify-content: space-between;
}
.text-button {
  width: 100%;
  font-size: 12px;
  color: var(--blue);
  min-height: 44px;
  margin-top: 4px;
}
.welcome-note {
  border-top: 1px solid var(--line);
  padding-top: 19px;
  margin-top: 12px;
  font-size: 10px;
  line-height: 1.9;
  color: var(--muted);
}
html[dir='ltr'] svg[data-symbol='arrow'] {
  transform: scaleX(-1);
}
.secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #ccd8e5;
  min-height: 42px;
  border-radius: 8px;
  font-size: 12px;
  padding: 10px 15px;
  width: 100%;
  margin-top: 8px;
}
.secondary:hover {
  background: var(--pale);
}
.route-bar {
  position: absolute;
  top: 109px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--blue);
  color: #fff;
  border-radius: 9px;
  padding: 5px 7px 5px 14px;
  box-shadow: var(--shadow);
  max-width: calc(100% - 40px);
  z-index: 15;
  font-size: 12px;
}
.route-bar > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.route-bar > i .icon {
  width: 17px;
}
.route-bar button {
  display: grid;
  place-items: center;
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: #ffffff19;
}
.route-bar button .icon {
  width: 15px;
}
.crosshair {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 4px;
  height: 4px;
  border: 1px solid #fff;
  border-radius: 50%;
  background: #004e9f66;
  box-shadow: 0 0 0 3px #ffffff22;
  pointer-events: none !important;
}
.hotspot {
  position: absolute;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 2px solid #fff;
  background: var(--blue);
  color: white;
  border-radius: 50%;
  font: 24px Arial;
  box-shadow:
    0 0 0 5px #ffffff4d,
    0 4px 18px #0003;
  transform: translate(-50%, -50%);
  z-index: 8;
}
.product-hint {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 15px;
  min-width: 390px;
  max-width: calc(100% - 34px);
  border-radius: 12px;
  padding: 12px 15px;
  z-index: 10;
}
.product-hint img {
  width: 48px;
  height: 60px;
  object-fit: contain;
  background: #fff;
  border-radius: 6px;
}
.product-hint > div {
  flex: 1;
  min-width: 0;
}
.product-hint small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  line-height: 1.6;
}
.product-hint strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin: 4px 0;
}
.product-hint span {
  font-size: 11px;
  color: var(--blue);
}
.product-hint .primary {
  font-size: 12px;
  white-space: nowrap;
}
.product-hint kbd {
  font-size: 10px;
  border: 1px solid #ffffff4d;
  padding: 2px 5px;
  border-radius: 4px;
}
.near-checkout {
  position: absolute;
  bottom: 27px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  border-radius: 10px;
  padding: 16px 22px;
  font-size: 13px;
  color: var(--blue);
  z-index: 8;
}
.minimap {
  position: absolute;
  bottom: 24px;
  inset-inline-end: 22px;
  width: 198px;
  padding: 12px;
  border-radius: 12px;
  z-index: 20;
}
.minimap header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  margin-bottom: 8px;
}
.minimap header > span {
  display: flex;
  gap: 7px;
  align-items: center;
}
.minimap header b {
  font-weight: 500;
}
.minimap header .icon {
  width: 16px;
  height: 16px;
}
.minimap canvas {
  display: block;
  width: 170px;
  height: 182px;
  border-radius: 6px;
}
.minimap footer {
  display: flex;
  gap: 6px;
  align-items: center;
  margin-top: 9px;
  color: var(--muted);
  font-size: 8px;
}
.minimap footer i {
  width: 6px;
  height: 6px;
  background: var(--blue);
  border-radius: 50%;
}
.minimap footer small {
  font-size: 8px;
  margin-inline-start: auto;
}
.location-chip,
.perf {
  display: none !important;
}
.scrim {
  position: absolute;
  inset: 0;
  background: #142a432c;
  z-index: 24;
}
.drawer {
  position: absolute;
  top: 111px;
  bottom: 22px;
  inset-inline-end: 22px;
  width: 410px;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #fff;
  border-radius: 14px;
  box-shadow: var(--shadow);
  z-index: 28;
  overflow: hidden;
  animation: appear 0.18s ease;
  text-align: start;
}
.drawer:focus {
  outline: 0;
}
.drawer > header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 25px 25px 22px;
  border-bottom: 1px solid var(--line);
  flex: none;
}
.drawer .eyebrow {
  font:
    600 9px Arial,
    sans-serif;
  color: var(--blue);
  letter-spacing: 1.8px;
  display: block;
  margin-bottom: 11px;
}
.drawer h2 {
  font-size: 23px;
  font-weight: 650;
  line-height: 1.5;
  letter-spacing: -0.5px;
  margin: 0;
}
.drawer header p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.85;
  margin: 6px 0 0;
}
.drawer .close {
  border: 1px solid var(--line);
  width: 33px;
  height: 33px;
  margin-top: 2px;
}
.drawer .close .icon {
  width: 16px;
  height: 16px;
}
.drawer-content {
  flex: 1;
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  padding: 21px 25px;
  scrollbar-width: thin;
  scrollbar-color: #c6d4e4 transparent;
}
.drawer > footer {
  padding: 20px 25px;
  border-top: 1px solid var(--line);
  background: #fcfdff;
  flex: none;
}
.drawer > footer .primary {
  width: 100%;
}
.sheet-grip {
  display: none;
}
.has-drawer .product-hint,
.has-drawer .hotspot,
.has-drawer .near-checkout,
.has-drawer .welcome {
  display: none !important;
}
.search-field {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 17px;
}
.search-field input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 46px;
  background: var(--pale);
  padding: 10px 13px;
  padding-inline-end: 40px;
  color: var(--ink);
  font-size: 12px;
}
.search-field i {
  position: absolute;
  inset-inline-end: 12px;
  color: var(--muted);
}
.filter-row {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  margin-bottom: 20px;
  padding: 0 0 5px;
}
.filter-row button {
  white-space: nowrap;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 10px;
  min-height: 34px;
  padding: 7px 10px;
}
.filter-row button.active {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.product-card {
  min-width: 0;
  padding-bottom: 5px;
}
.product-card > img {
  width: 100%;
  height: 143px;
  object-fit: contain;
  background: #f5f7f9;
  border-radius: 8px;
  margin-bottom: 10px;
}
.brandline {
  font: 600 8px Arial;
  color: var(--muted);
  letter-spacing: 0.8px;
  display: block;
}
.product-card h3 {
  font-size: 12px;
  font-weight: 600;
  margin: 7px 0 4px;
  line-height: 1.8;
  min-height: 39px;
}
.product-card > small {
  display: block;
  font-size: 10px;
  color: var(--muted);
}
.product-card .price {
  font-size: 12px;
  font-weight: 600;
  color: var(--blue);
  margin: 9px 0;
}
.product-card .price small {
  font-size: 10px;
  font-weight: 400;
}
.product-card .go {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3px;
  width: 100%;
  font-size: 10px;
  background: var(--pale);
  padding: 9px;
  border-radius: 6px;
  min-height: 37px;
  color: var(--blue);
}
.product-card .go .icon {
  width: 15px;
  height: 15px;
}
.cart-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.cart-row > img {
  width: 52px;
  height: 66px;
  object-fit: contain;
  flex: none;
}
.cart-row .info {
  flex: 1;
  min-width: 0;
}
.cart-row h3 {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.7;
  margin: 0 0 4px;
}
.cart-row small {
  font-size: 10px;
  color: var(--muted);
}
.item-price {
  font-size: 11px;
  color: var(--blue);
  margin-top: 7px;
}
.quantity {
  display: flex;
  align-items: center;
  gap: 2px;
  border: 1px solid var(--line);
  border-radius: 7px;
  direction: ltr;
}
.quantity button {
  width: 29px;
  height: 35px;
  font-size: 19px;
  color: var(--blue);
}
.quantity span {
  min-width: 16px;
  text-align: center;
  font-size: 11px;
}
.sum-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 0 0 15px;
  gap: 10px;
}
.sum-row > span {
  font-size: 11px;
  color: var(--muted);
}
.sum-row strong {
  font-size: 23px;
  font-weight: 650;
  color: var(--blue-deep);
  white-space: nowrap;
}
.sum-row small {
  font-size: 10px;
  font-weight: 400;
  margin-inline-start: 6px;
}
.fine-note {
  font-size: 9px;
  line-height: 1.8;
  color: var(--muted);
  text-align: center;
  margin: 12px 0 0;
}
.empty-state {
  text-align: center;
  padding: 35px 7px;
  color: var(--muted);
  font-size: 12px;
  line-height: 2;
}
.empty-state > i {
  display: flex;
  justify-content: center;
  margin-bottom: 15px;
  color: var(--blue);
}
.empty-state .icon {
  width: 43px;
  height: 43px;
}
.empty-state h3 {
  color: var(--ink);
  font-size: 17px;
  font-weight: 600;
}
.empty-state button {
  margin-top: 22px;
}
.checkout-steps {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding: 0 0 19px;
  margin-bottom: 16px;
  gap: 9px;
}
.checkout-steps span {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 8px;
  font-size: 10px;
  color: #8291a2;
}
.checkout-steps b {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 500;
}
.checkout-steps .active {
  color: var(--blue);
}
.checkout-steps .active b {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}
.checkout-steps .done {
  color: var(--blue);
}
.checkout-steps .done b {
  background: var(--pale);
  border-color: #b9d3ee;
  color: var(--blue);
}
.checkout-message {
  text-align: center;
  padding: 18px 4px;
}
.checkout-message > i {
  display: flex;
  justify-content: center;
  color: var(--blue);
  margin-bottom: 18px;
}
.checkout-message .icon {
  width: 43px;
  height: 43px;
  stroke-width: 1.4;
}
.checkout-message h3 {
  font-size: 18px;
  line-height: 1.7;
  font-weight: 600;
  margin: 0 0 9px;
}
.checkout-message p {
  font-size: 11px;
  line-height: 1.95;
  color: var(--muted);
  margin: 0;
}
.order-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-size: 11px;
  color: var(--muted);
  margin: 13px 0;
}
.order-line strong {
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
}
.progress-line {
  height: 4px;
  border-radius: 4px;
  overflow: hidden;
  background: #e3ecf6;
  direction: ltr;
  margin: 14px 0;
}
.progress-line span {
  height: 100%;
  display: block;
  background: var(--red);
  width: 0;
  transition: width 0.15s;
}
.settings-group {
  border-bottom: 1px solid var(--line);
  padding: 0 0 23px;
  margin-bottom: 24px;
}
.settings-group:last-child {
  border: 0;
  margin-bottom: 0;
}
.settings-group h3 {
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 13px;
}
.settings-group p {
  font-size: 12px;
  line-height: 2;
  color: var(--muted);
  margin: 0;
}
.quality-buttons {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}
.quality-buttons button {
  flex: 1;
  min-height: 43px;
  border: 1px solid var(--line);
  border-radius: 7px;
  font-size: 12px;
}
.quality-buttons .selected {
  background: var(--pale);
  border-color: var(--blue);
  color: var(--blue);
}
.control-line {
  display: flex;
  justify-content: space-between;
  gap: 9px;
  padding: 10px 0;
  align-items: center;
  font-size: 11px;
}
.control-line kbd {
  font-size: 10px;
  border-radius: 5px;
  padding: 6px 8px;
  white-space: nowrap;
  background: var(--pale);
  direction: ltr;
}
.danger {
  font-size: 12px;
  color: #b20410;
  border: 1px solid #efb8bc;
  width: 100%;
  padding: 12px;
  border-radius: 7px;
  margin-top: 17px;
  min-height: 44px;
}
.receipt-id {
  text-align: center;
  direction: ltr;
  font: 12px monospace;
  letter-spacing: 1px;
  color: var(--muted);
  margin: 8px 0 15px;
}
.receipt-total {
  text-align: center;
  padding: 15px 0 25px;
  border-bottom: 1px dashed #c7d5e3;
  margin-bottom: 18px;
}
.receipt-total > small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-bottom: 10px;
}
.receipt-total > strong {
  font-size: 34px;
  font-weight: 650;
  color: var(--blue);
}
.receipt-total > b {
  font-size: 12px;
  font-weight: 400;
  margin-inline-start: 8px;
}
.bag-banner {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 15px 19px;
  border-radius: 12px;
  min-width: 465px;
  z-index: 16;
}
.bag-banner > i {
  color: var(--blue);
}
.bag-banner > i .icon {
  width: 32px;
  height: 32px;
}
.bag-banner > div {
  flex: 1;
}
.bag-banner strong {
  display: block;
  font-size: 13px;
}
.bag-banner small {
  display: block;
  margin-top: 5px;
  font-size: 10px;
  color: var(--muted);
}
.bag-banner .primary {
  font-size: 12px;
  white-space: nowrap;
}
.toast {
  position: absolute;
  bottom: 124px;
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  max-width: calc(100% - 34px);
  padding: 12px 19px;
  border-radius: 9px;
  background: #002f60f5;
  box-shadow: var(--shadow);
  color: #fff;
  font-size: 12px;
  line-height: 1.8;
  text-align: center;
  z-index: 70;
  animation: appear 0.2s ease;
}
.has-drawer .toast {
  bottom: 30px;
}
.joystick {
  display: none;
}
.checkout-lock .product-hint,
.checkout-lock .hotspot,
.checkout-lock .joystick,
.checkout-lock .minimap,
.checkout-lock .crosshair {
  display: none !important;
}
.has-drawer .joystick {
  opacity: 0.25;
  pointer-events: none !important;
}
.checkout-panel .checkout-message {
  padding: 14px 0;
}
.checkout-panel #checkoutOrder {
  border-top: 1px solid var(--line);
  padding-top: 7px;
}
.loading {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #fff;
  z-index: 100;
  color: var(--blue-deep);
}
.loading-mark {
  margin-bottom: 22px;
}
.loading-mark .carrefour-symbol {
  width: 85px;
  height: 85px;
}
.loading h1 {
  font-size: 35px;
  margin: 0 0 12px;
  line-height: 1.7;
  font-weight: 700;
}
.loading p {
  font-size: 13px;
  line-height: 2;
  text-align: center;
  padding: 0 22px;
  max-width: 480px;
  color: var(--muted);
}
.loading-track {
  width: 220px;
  height: 3px;
  background: var(--line);
  margin: 18px 0 13px;
  direction: ltr;
}
.loading-track span {
  height: 100%;
  width: 5%;
  display: block;
  background: var(--blue);
  transition: width 0.2s;
}
.loading > span {
  font-size: 11px;
  color: var(--muted);
}
.loading > small {
  margin-top: 28px;
  font-size: 10px;
  line-height: 2;
  color: var(--muted);
  max-width: 360px;
  text-align: center;
  padding: 0 20px;
}
.loading .primary {
  margin-top: 24px;
}
.noscript {
  position: fixed;
  inset: 0;
  background: #fff;
  padding: 60px;
  z-index: 101;
  line-height: 2;
}
@keyframes appear {
  from {
    opacity: 0;
    translate: 0 7px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}
@keyframes pulse {
  50% {
    scale: 1.035;
  }
}
@media (max-width: 1050px) {
  .header-caption {
    display: none;
  }
  .topbar {
    padding: 10px 15px;
  }
  .drawer {
    width: 370px;
  }
  .drawer > header {
    padding: 20px;
  }
  .drawer-content {
    padding: 18px 20px;
  }
  .drawer > footer {
    padding: 17px 20px;
  }
  .drawer h2 {
    font-size: 20px;
  }
  .welcome {
    width: 335px;
    padding: 28px;
    inset-inline-start: 26px;
  }
  .welcome h1 {
    font-size: 32px;
  }
}
@media (max-width: 720px) {
  .topbar {
    left: 12px;
    right: 12px;
    top: max(10px, env(safe-area-inset-top));
    height: 66px;
    border-radius: 10px;
    gap: 6px;
    padding: 8px 10px;
    border-bottom-width: 2px;
  }
  .brand {
    gap: 7px;
  }
  .brand .carrefour-symbol {
    width: 33px;
    height: 33px;
  }
  .brand strong {
    font-size: 20px;
  }
  .brand small {
    font-size: 6px;
    letter-spacing: 1.7px;
    margin-top: 4px;
  }
  html[lang='en'] .brand strong {
    font-size: 21px;
  }
  .header-actions {
    gap: 5px;
  }
  .language-button {
    padding: 0 8px;
    gap: 3px;
    height: 39px;
    font-size: 11px;
  }
  .language-button svg {
    width: 11px;
  }
  .more-button {
    width: 37px;
    height: 39px;
    padding: 0;
    justify-content: center;
  }
  .more-button > span {
    display: none;
  }
  .more-button .icon {
    width: 22px;
  }
  .cart-button {
    min-width: 65px;
    min-height: 40px;
    gap: 6px;
    padding: 7px 8px;
    border-radius: 7px;
  }
  .cart-button > .cart-text {
    display: none;
  }
  .cart-button .icon {
    width: 19px;
  }
  .cart-button b {
    min-width: 20px;
    height: 22px;
    font-size: 10px;
    margin: 0;
  }
  .popover {
    top: 86px;
    inset-inline-end: 12px;
  }
  .more-menu {
    width: 310px;
    max-width: calc(100% - 24px);
    max-height: calc(100svh - 99px);
  }
  .language-menu {
    inset-inline-end: 89px;
    width: 173px;
  }
  .welcome {
    inset-inline-start: 20px;
    top: 127px;
    width: calc(100% - 40px);
    max-width: 330px;
    padding: 27px;
    border-radius: 12px;
    background: #fffffff2;
  }
  .welcome-accent {
    margin-bottom: 18px;
  }
  .welcome h1 {
    font-size: 31px;
    line-height: 1.6;
  }
  html[lang='en'] .welcome h1 {
    font-size: 32px;
  }
  .welcome p {
    font-size: 12px;
    line-height: 1.95;
    margin: 15px 0 23px;
  }
  .welcome-note {
    font-size: 9px;
    margin-top: 8px;
    padding-top: 15px;
  }
  .welcome .primary {
    font-size: 12px;
    min-height: 46px;
  }
  .route-bar {
    top: 87px;
    font-size: 11px;
    max-width: calc(100% - 25px);
    gap: 8px;
  }
  .route-bar > i .icon {
    width: 16px;
  }
  .route-bar > span {
    max-width: 235px;
  }
  .route-bar button {
    width: 29px;
    height: 29px;
  }
  .product-hint {
    bottom: max(159px, calc(env(safe-area-inset-bottom) + 147px));
    width: calc(100% - 28px);
    min-width: 0;
    border-radius: 10px;
    gap: 10px;
    padding: 10px;
  }
  .product-hint img {
    width: 42px;
    height: 54px;
  }
  .product-hint small {
    font-size: 8px;
  }
  .product-hint strong {
    font-size: 12px;
    line-height: 1.6;
  }
  .product-hint span {
    font-size: 10px;
  }
  .product-hint .primary {
    padding: 10px;
    font-size: 10px;
    max-width: 115px;
    white-space: normal;
    min-height: 43px;
  }
  .product-hint kbd {
    display: none;
  }
  .near-checkout {
    bottom: 162px;
    font-size: 12px;
    white-space: nowrap;
    padding: 13px 20px;
  }
  .minimap {
    bottom: 24px;
    inset-inline-end: 13px;
    width: 180px;
    padding: 10px;
  }
  .minimap canvas {
    width: 158px;
    height: 169px;
  }
  .minimap footer small {
    display: none;
  }
  .joystick {
    display: block;
    position: absolute;
    left: 24px;
    bottom: max(29px, env(safe-area-inset-bottom));
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: #ffffffb8;
    border: 1px solid #ffffffed;
    box-shadow: 0 6px 26px #12315325;
    touch-action: none;
    user-select: none;
    z-index: 11;
    backdrop-filter: blur(10px);
  }
  .joystick:before {
    content: '';
    position: absolute;
    inset: 17px;
    border: 1px solid #004e9f19;
    border-radius: 50%;
  }
  .joystick > span {
    position: absolute;
    font: 12px Arial;
    color: #547699;
    pointer-events: none;
  }
  .joy-up {
    left: 49px;
    top: 7px;
  }
  .joy-down {
    left: 49px;
    bottom: 7px;
  }
  .joy-left {
    left: 8px;
    top: 47px;
  }
  .joy-right {
    right: 8px;
    top: 47px;
  }
  #knob {
    position: absolute;
    left: 34px;
    top: 34px;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--blue);
    color: #fff;
    box-shadow: 0 4px 12px #004e9f35;
    pointer-events: none;
  }
  #knob .icon {
    width: 20px;
    height: 20px;
  }
  .joystick small {
    display: none;
  }
  .drawer {
    left: 0;
    right: 0;
    inset-inline-end: 0;
    top: auto;
    bottom: 0;
    width: 100%;
    max-height: 79svh;
    border-radius: 17px 17px 0 0;
    padding-bottom: env(safe-area-inset-bottom);
  }
  .sheet-grip {
    display: block;
    width: 34px;
    height: 4px;
    background: #d5dfe8;
    border-radius: 4px;
    flex: none;
    margin: 9px auto 0;
  }
  .drawer > header {
    padding: 16px 20px 14px;
  }
  .drawer .eyebrow {
    font-size: 8px;
    margin-bottom: 7px;
  }
  .drawer h2 {
    font-size: 20px;
  }
  .drawer header p {
    font-size: 10px;
    margin-top: 5px;
  }
  .drawer-content {
    padding: 17px 20px;
  }
  .drawer > footer {
    padding: 16px 20px;
  }
  .product-card > img {
    height: 135px;
  }
  .product-card h3 {
    font-size: 12px;
  }
  .product-card .go {
    min-height: 42px;
  }
  .sum-row {
    margin-bottom: 12px;
  }
  .sum-row strong {
    font-size: 22px;
  }
  .toast {
    bottom: 254px;
    font-size: 11px;
    max-width: calc(100% - 28px);
    padding: 11px 17px;
  }
  .has-drawer .toast {
    bottom: 22px;
  }
  .bag-banner {
    bottom: 161px;
    width: calc(100% - 28px);
    min-width: 0;
    padding: 12px;
    gap: 10px;
    border-radius: 10px;
  }
  .bag-banner > i .icon {
    width: 26px;
  }
  .bag-banner strong {
    font-size: 12px;
  }
  .bag-banner small {
    font-size: 9px;
    line-height: 1.7;
  }
  .bag-banner .primary {
    font-size: 10px;
    padding: 10px;
    min-height: 43px;
    gap: 4px;
  }
  .bag-banner .primary .icon {
    width: 15px;
  }
  .checkout-panel {
    max-height: 43svh;
  }
  .checkout-panel > header {
    padding: 10px 17px;
  }
  .checkout-panel > header p,
  .checkout-panel .eyebrow {
    display: none;
  }
  .checkout-panel h2 {
    font-size: 17px;
  }
  .checkout-panel .drawer-content {
    padding: 9px 17px;
  }
  .checkout-panel .checkout-steps {
    margin-bottom: 8px;
    padding-bottom: 8px;
    gap: 6px;
  }
  .checkout-panel .checkout-steps span {
    flex-direction: row;
    font-size: 9px;
    gap: 5px;
  }
  .checkout-panel .checkout-steps b {
    width: 23px;
    height: 23px;
    font-size: 10px;
  }
  .checkout-panel .checkout-message {
    padding: 3px 0 6px;
  }
  .checkout-panel .checkout-message > i {
    display: none;
  }
  .checkout-panel .checkout-message h3 {
    font-size: 14px;
    margin-bottom: 5px;
  }
  .checkout-panel .checkout-message p {
    font-size: 10px;
    line-height: 1.7;
  }
  .checkout-panel #checkoutOrder {
    display: none;
  }
  .checkout-panel > footer {
    padding: 11px 17px 12px;
  }
  .checkout-panel .sum-row {
    margin-bottom: 9px;
  }
  .checkout-panel .sum-row strong {
    font-size: 22px;
  }
  .checkout-panel .primary {
    min-height: 43px;
    font-size: 12px;
  }
  .checkout-panel .secondary {
    min-height: 34px;
    padding: 7px;
    font-size: 10px;
    margin-top: 7px;
  }
  .checkout-panel .fine-note {
    font-size: 8px;
    margin: 7px 0 0;
  }
  .loading h1 {
    font-size: 31px;
  }
}
@media (pointer: coarse) and (min-width: 721px) {
  .joystick {
    display: block;
    position: absolute;
    left: 25px;
    bottom: 30px;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: #ffffffb8;
    touch-action: none;
    z-index: 11;
  }
  .joystick > span,
  .joystick > small {
    display: none;
  }
  #knob {
    position: absolute;
    left: 34px;
    top: 34px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--blue);
    color: #fff;
  }
  .product-hint {
    bottom: 36px;
  }
}
@media (max-height: 630px) and (min-width: 721px) {
  .welcome {
    top: 122px;
    padding: 22px;
    width: 315px;
  }
  .welcome-accent {
    margin-bottom: 13px;
  }
  .welcome h1 {
    font-size: 28px;
  }
  .welcome p {
    font-size: 11px;
    margin: 13px 0 18px;
  }
  .welcome-note {
    display: none;
  }
  .drawer {
    top: 107px;
    bottom: 15px;
  }
  .drawer > header {
    padding: 17px 21px;
  }
  .drawer h2 {
    font-size: 20px;
  }
  .drawer > header p {
    font-size: 10px;
  }
  .drawer-content {
    padding: 14px 21px;
  }
  .drawer > footer {
    padding: 14px 21px;
  }
  .checkout-message > i {
    margin-bottom: 10px;
  }
  .checkout-message h3 {
    font-size: 16px;
  }
}
@media (max-height: 500px) and (max-width: 720px) {
  .welcome {
    top: 88px;
    max-width: 310px;
    padding: 17px;
  }
  .welcome h1 {
    font-size: 25px;
  }
  .welcome-accent,
  .welcome p,
  .welcome-note {
    display: none;
  }
  .welcome .primary {
    margin-top: 12px;
  }
  .checkout-panel {
    max-height: 65svh;
    width: 53%;
    inset-inline-start: auto;
    inset-inline-end: 0;
    border-radius: 10px;
  }
  .joystick {
    width: 90px;
    height: 90px;
  }
  #knob {
    left: 24px;
    top: 24px;
  }
  .product-hint {
    bottom: 18px;
    left: 64%;
    max-width: 58%;
  }
  .brand small {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}
