/*
 * Stage 0 shared styles for sites other than Romania: the delivery and pickup
 * selector, bottom sheets, fulfillment prompts and checkout. Generated from
 * assets/default/css/tokens.css (variables and role classes only) and
 * assets/default/css/rebuild.css (only selectors with stage-0 classes); meant
 * to be restyled per site. Brand colours (--brand, --accent, --bg, ...) come
 * from the site: Romania sets them with .theme-*, satellites in their own file.
 */
:root {
  --fill:        rgba(0, 0, 0, .05);
  --fill-strong: rgba(0, 0, 0, .12);
  --line:        rgba(0, 0, 0, .09);
  --ink:   #1d1a16;
  --muted: #8b8578;
  --ok:    #2e7d4f;
  --warn:  #b3541e;
  --danger:#b23a2e;
  --icon-idle:  rgba(29, 26, 22, .42);
  --icon-close: rgba(60, 60, 67, .65);
  --danger-ink: #8d2f26;
  --surface-float: rgba(247, 247, 247, .82);
  --scrim:         rgba(0, 0, 0, .35);
  --surface-active: rgba(237, 237, 237, .9);
  --bg-sunk:        #f0ede8;
  --danger-soft:    rgba(178, 58, 46, .08);
  --danger-line:    rgba(178, 58, 46, .3);
  --warn-soft:      rgba(179, 84, 30, .10);
  --r-badge:   5px;
  --r-control:10px;
  --r-field:  13px;
  --r-photo:  14px;
  --r-card:   20px;
  --r-sheet:  26px;
  --shadow-raised: 0 1px 3px rgba(0, 0, 0, .10);
  --shadow-float:  0 8px 30px rgba(0, 0, 0, .14);
  --shadow-popover: drop-shadow(0 1px 1px rgba(45, 33, 20, .10))
  drop-shadow(0 10px 22px rgba(45, 33, 20, .20));
  --shadow-sheet:   0 -12px 40px rgba(30, 20, 10, .18);
  --shadow-pin:     drop-shadow(0 4px 8px rgba(45, 33, 20, .3));
  --inset-screen: 12px;
  --inset-sheet:  16px;
  --inset-desk:   24px;
}

:root {
  --font-ui: 'Google Sans', sans-serif;
  --fs-caption:  11px;
  --fs-small:    12.5px;
  --fs-body:     14px;
  --fs-field:    16px;
  --fs-title:    18px;
  --fs-total:    22px;
  --fs-display:  26px;
  --lh-body:     19px;
  --lh-field:    21px;
  --fw-secondary: 400;
  --fw-body:      450;
  --fw-label:     500;
  --fw-accent:    600;
  --fw-total:     700;

  --input-height: 46px;
  --button-height: 46px;
}

.t-tab      { font: var(--fw-label) var(--fs-caption) var(--font-ui); }
.t-caption  { font: var(--fw-secondary) var(--fs-caption) var(--font-ui); color: var(--muted); }
.t-label    { font: var(--fw-label) var(--fs-caption) var(--font-ui); letter-spacing: .06em; text-transform: uppercase; }
.t-small    { font: var(--fw-secondary) var(--fs-small) var(--font-ui); color: var(--muted); }
.t-body     { font: var(--fw-body) var(--fs-body)/var(--lh-body) var(--font-ui); }
.t-strong   { font: var(--fw-accent) var(--fs-body) var(--font-ui); }
.t-button   { font: var(--fw-accent) var(--fs-body) var(--font-ui); }
.t-field    { font: var(--fw-body) var(--fs-field) var(--font-ui); }
.t-price    { font: var(--fw-accent) var(--fs-field) var(--font-ui); }
.t-title    { font: var(--fw-accent) var(--fs-title) var(--font-ui); letter-spacing: -.01em; }
.t-total    { font: var(--fw-total) var(--fs-total) var(--font-ui); }
.t-display  { font: var(--fw-accent) var(--fs-display) var(--font-ui); letter-spacing: -.01em; }

.fw-body { font-weight: var(--fw-body); }
.fw-accent { font-weight: var(--fw-accent); }
.tabular { font-variant-numeric: tabular-nums; }

.ez-btn {
  --ez-btn-spinner-color: var(--brand);
  --ez-btn-spinner-track: color-mix(in srgb, var(--brand) 24%, transparent);

  position: relative;
  min-width: 0;
  height: var(--button-height);
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 22px;
  border: 0;
  border-radius: var(--r-field);
  background: transparent;
  color: var(--ink);
  box-shadow: none;
  font: var(--fw-accent) var(--fs-body) var(--font-ui);
  line-height: 1;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 80ms ease;
  -webkit-appearance: none;
  appearance: none;
}

.ez-btn:hover,
.ez-btn:focus,
.ez-btn:active {
  text-decoration: none;
}

.ez-btn:focus:not(:focus-visible) {
  outline: none;
}

.ez-btn.ez-btn-primary {
  --ez-btn-spinner-color: #fff;
  --ez-btn-spinner-track: rgba(255, 255, 255, .35);

  background: var(--brand);
  color: #fff;
}

.ez-btn.ez-btn-success {
  --ez-btn-spinner-color: #fff;
  --ez-btn-spinner-track: rgba(255, 255, 255, .35);

  background: #198754;
  color: #fff;
}

.ez-btn.ez-btn-secondary {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}

.ez-btn.ez-btn-gray {
  border: none;
  background: var(--line);
  color: var(--ink);
}

.ez-btn.ez-btn-ghost {
  height: 44px;
  padding-right: 6px;
  padding-left: 6px;
  background: transparent;
  color: var(--brand);
}

.ez-btn.ez-btn-accent {
  --ez-btn-spinner-color: var(--on-accent);
  --ez-btn-spinner-track: color-mix(in srgb, var(--on-accent) 35%, transparent);

  background: var(--accent);
  color: var(--on-accent);
  box-shadow: var(--shadow-raised);
}

.ez-btn.ez-btn-danger {
  --ez-btn-spinner-color: #fff;
  --ez-btn-spinner-track: rgba(255, 255, 255, .35);

  background: var(--danger);
  color: #fff;
}

.ez-btn.ez-btn-main {
  width: 100%;
  height: 50px;
  font-size: var(--fs-field);
}

.ez-btn.ez-btn-small {
  height: 32px;
  padding: 0 14px;
  border-radius: var(--r-control);
  font-size: var(--fs-small);
}

.ez-btn.ez-btn-icon {
  width: 34px;
  height: 34px;
  padding: 0;
  border-radius: var(--r-control);
}

.ez-btn.ez-btn-icon svg {
  width: 16px;
  height: 16px;
  flex: none;
}

@media (hover: hover) {
  .ez-btn.ez-btn-primary:hover {
    background: var(--brand-deep);
    color: #fff;
  }

  .ez-btn.ez-btn-success:hover {
    background: #157347;
    color: #fff;
  }

  .ez-btn.ez-btn-secondary:hover {
    background: var(--fill);
    color: var(--ink);
  }

  .ez-btn.ez-btn-ghost:hover {
    background: var(--fill);
    color: var(--brand);
  }

  .ez-btn.ez-btn-accent:hover {
    color: var(--on-accent);
  }

  .ez-btn.ez-btn-danger:hover {
    background: var(--danger);
    color: #fff;
  }
}

.ez-btn.ez-btn-primary:active {
  background: var(--brand-deep);
  color: #fff;
  transform: scale(.97);
}

.ez-btn.ez-btn-success:active {
  background: #146c43;
  color: #fff;
  transform: scale(.97);
}

.ez-btn.ez-btn-secondary:active,
.ez-btn.ez-btn-ghost:active {
  background: var(--fill);
  transform: scale(.97);
}

.ez-btn.ez-btn-accent:active,
.ez-btn.ez-btn-danger:active {
  transform: scale(.97);
}

.ez-btn.ez-btn-icon:active {
  transform: scale(.92);
}

.ez-btn:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.ez-btn:disabled,
.ez-btn[disabled],
.ez-btn[aria-disabled='true'],
.ez-btn.disabled,
.ez-btn.is-disabled {
  opacity: .38;
  box-shadow: none;
  cursor: not-allowed;
  pointer-events: none;
  transform: none;
}

.ez-btn.ez-btn-primary:is(:disabled, [disabled], [aria-disabled='true'], .disabled, .is-disabled) {
  background: var(--brand);
  color: #fff;
}

.ez-btn.ez-btn-success:is(:disabled, [disabled], [aria-disabled='true'], .disabled, .is-disabled) {
  background: #198754;
  color: #fff;
}

.ez-btn.ez-btn-secondary:is(:disabled, [disabled], [aria-disabled='true'], .disabled, .is-disabled) {
  background: #fff;
  color: var(--ink);
}

.ez-btn.ez-btn-ghost:is(:disabled, [disabled], [aria-disabled='true'], .disabled, .is-disabled) {
  background: transparent;
  color: var(--brand);
}

.ez-btn.ez-btn-accent:is(:disabled, [disabled], [aria-disabled='true'], .disabled, .is-disabled) {
  background: var(--accent);
  color: var(--on-accent);
}

.ez-btn.ez-btn-danger:is(:disabled, [disabled], [aria-disabled='true'], .disabled, .is-disabled) {
  background: var(--danger);
  color: #fff;
}

.ez-btn[aria-busy='true'],
.ez-btn.is-loading,
.ez-btn.ez-btn-loading {
  color: transparent !important;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
  cursor: wait;
  pointer-events: none;
  transform: none;
}

.ez-btn.ez-btn-primary:is([aria-busy='true'], .is-loading, .ez-btn-loading) {
  background: var(--brand);
}

.ez-btn.ez-btn-success:is([aria-busy='true'], .is-loading, .ez-btn-loading) {
  background: #198754;
}

.ez-btn.ez-btn-secondary:is([aria-busy='true'], .is-loading, .ez-btn-loading) {
  background: #fff;
}

.ez-btn.ez-btn-ghost:is([aria-busy='true'], .is-loading, .ez-btn-loading) {
  background: transparent;
}

.ez-btn.ez-btn-accent:is([aria-busy='true'], .is-loading, .ez-btn-loading) {
  background: var(--accent);
}

.ez-btn.ez-btn-danger:is([aria-busy='true'], .is-loading, .ez-btn-loading) {
  background: var(--danger);
}

.ez-btn[aria-busy='true'] > *,
.ez-btn.is-loading > *,
.ez-btn.ez-btn-loading > * {
  visibility: hidden;
}

.ez-btn[aria-busy='true']::after,
.ez-btn.is-loading::after,
.ez-btn.ez-btn-loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 16px;
  border: 2px solid var(--ez-btn-spinner-track);
  border-top-color: var(--ez-btn-spinner-color);
  border-radius: 50%;
  animation: ez-btn-spin 800ms linear infinite;
  transform: translate(-50%, -50%);
}

@keyframes ez-btn-spin {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.delivery-header-choice__link {
  width: fit-content;
  height: 40px;
  max-width: 250px;
  display: inline-flex;
  padding: 3px 0 !important;
  border-radius: var(--r-control) !important;
  background: transparent !important;
  text-align: left;
}

.delivery-header-choice__text {
  min-width: 0;
  max-width: 250px;
  height: 34px;
  display: flex;
  flex: 0 1 auto;
  flex-direction: column;
  justify-content: center;
  align-items: start;
  gap: 1px;
}

.delivery-header-choice__meta {
  display: block;
  color: var(--muted);
  font: var(--fw-label) var(--fs-caption) var(--font-ui);
  line-height: normal;
  white-space: nowrap;
}

.delivery-header-choice__value {
  min-width: 0;
  display: block;
  flex: 0 1 auto;
  overflow: hidden;
  color: var(--ink);
  font: var(--fw-accent) var(--fs-body) var(--font-ui);
  line-height: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (hover: hover) {
  .delivery-header-choice__link:hover .delivery-header-choice__value {
    color: var(--brand);
  }
}

.delivery-header-choice__link:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.bottom-sheet-modal,
.delivery-address-delete-modal {
  color: var(--ink);
  font-family: var(--font-ui);
  -webkit-font-smoothing: antialiased;
}

.bottom-sheet-modal__dialog {
  width: calc(100% - 32px);
  max-width: 390px;
}

.bottom-sheet-modal .bottom-sheet-modal__content {
  position: relative;
  max-height: min(90dvh, 844px);
  overflow: hidden;
  border: 0;
  border-radius: var(--r-sheet);
  background: #fff;
  box-shadow: 0 -12px 40px rgba(30, 20, 10, .18);
}

.bottom-sheet-modal .bottom-sheet-modal__body {
  margin: 0;
  padding: 0;
  border: 0;
  overflow-x: hidden;
}

.bottom-sheet-modal
  .modal-dialog-bottom.modal-dialog-smallpadding
  .bottom-sheet-modal__content
  .bottom-sheet-modal__body {
  margin: 0;
  padding: 0;
}

.bottom-sheet-modal .shopping-cart-modal__body {
  min-height: 0;
  flex: 1 1 auto;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.shopping-cart-modal .cart-summary {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--ink);
  font-family: var(--font-ui);
  text-align: left;
}

.shopping-cart-modal .cart-summary__row {
  min-width: 0;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
}

.shopping-cart-modal .cart-summary__label-group {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.shopping-cart-modal .cart-summary__label {
  color: var(--muted);
  font: inherit;
  font-weight: var(--fw-body);
}

.shopping-cart-modal .cart-summary__note {
  color: var(--brand);
  font: var(--fw-secondary) var(--fs-caption) var(--font-ui);
  font-variant-numeric: tabular-nums;
}

.shopping-cart-modal .cart-summary__value {
  flex: 0 0 auto;
  color: var(--ink);
  font: var(--fw-body) var(--fs-body) var(--font-ui);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.shopping-cart-modal .cart-summary__info {
  width: 15px;
  height: 15px;
  display: inline-flex;
  flex: 0 0 15px;
  align-items: center;
  justify-content: center;
	padding: 0;
  border: 1.2px solid var(--muted);
  border-radius: 50%;
	background: transparent;
  color: var(--muted);
  font: var(--fw-accent) var(--fs-caption) var(--font-ui);
  line-height: 1;
  cursor: pointer;
}

.shopping-cart-modal .cart-summary__info:focus-visible {
	outline: 2px solid var(--brand);
	outline-offset: 2px;
}

.cart-order-fee-modal {
	z-index: 1070;
}

.modal-backdrop.cart-order-fee-modal-backdrop {
	z-index: 1065;
}

.cart-order-fee-details {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-bottom: 14px;
	color: var(--ink);
	font: var(--fw-body) var(--fs-body)/18px var(--font-ui);
}

.cart-order-fee-details__section {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.cart-order-fee-details__section p {
	margin: 0;
}

.cart-order-fee-details__section small {
	color: var(--muted);
	font: var(--fw-secondary) var(--fs-small)/17px var(--font-ui);
}

.cart-order-fee-details__row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	padding-top: 10px;
	border-top: 1px solid var(--line);
}

.cart-order-fee-details__row strong {
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.shopping-cart-modal .cart-summary__row--total {
  margin-top: 2px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font: var(--fw-accent) var(--fs-field) var(--font-ui);
}

.shopping-cart-modal .cart-summary__row--total > :last-child {
  font-size: var(--fs-title);
  font-variant-numeric: tabular-nums;
}

.shopping-cart-modal .cart-summary .procced-checkout {
  margin-top: 6px;
}

.bottom-sheet-modal.fade {
  transition: opacity 260ms cubic-bezier(.32, .72, 0, 1);
}

.bottom-sheet-modal.fade .bottom-sheet-modal__dialog {
  transition: transform 260ms cubic-bezier(.32, .72, 0, 1);
}

.delivery-address-modal-loader {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 76px var(--inset-sheet) 26px;
}

.delivery-address-modal-loader__line {
  height: 70px;
  border: 1px solid var(--line);
  border-radius: var(--r-field);
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, .72), transparent),
    var(--fill);
  background-size: 180% 100%;
  animation: delivery-skeleton 1.2s linear infinite;
}

@keyframes delivery-skeleton {
  from { background-position: 180% 0; }
  to { background-position: -180% 0; }
}

.delivery-address-selector {
  color: var(--ink);
}

.bottom-sheet__chrome {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 6;
  flex: 0 0 0;
  width: 100%;
  height: 0;
  pointer-events: none;
}

.bottom-sheet__chrome::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 24px;
  border-radius: var(--r-sheet) var(--r-sheet) 0 0;
  background: #fff;
  content: '';
  display: none;
}

.bottom-sheet__handle {
  position: absolute;
  top: 10px;
  left: 50%;
  width: 36px;
  height: 4px;
  margin: 0;
  border-radius: 2px;
  background: #e0e0e0;
  transform: translateX(-50%);
  display: none;
}

.bottom-sheet__header {
  min-height: 66px;
  display: flex;
  align-items: center;
  padding: 14px calc(var(--inset-sheet) + 46px) 12px var(--inset-sheet);
}

.bottom-sheet__title {
  min-width: 0;
  margin: 0;
  color: var(--ink);
  font: var(--fw-accent) var(--fs-title) var(--font-ui);
  letter-spacing: -.01em;
}

.bottom-sheet__close {
  position: absolute;
  top: calc(var(--inset-sheet) - 2px);
  right: calc(var(--inset-sheet) - 2px);
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #e0e0e0;
  color: rgba(60, 60, 67, .65);
  cursor: pointer;
  pointer-events: auto;
}

.delivery-address-selector__modes {
  display: flex;
  margin: 0 var(--inset-sheet);
  padding: 3px;
  border-radius: var(--r-field);
  background: var(--fill);
}

.fulfillment-geolocation-notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 var(--inset-sheet) 10px;
  padding: 12px;
  border-radius: var(--r-card);
  background: var(--soft);
}

.fulfillment-geolocation-notice[hidden] {
  display: none;
}

.fulfillment-geolocation-notice--blocked {
  margin: 0;
  background: rgba(179, 84, 30, .1);
}

.fulfillment-geolocation-notice__icon {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #fff;
  color: var(--brand);
}

.fulfillment-geolocation-notice--blocked
  .fulfillment-geolocation-notice__icon {
  color: var(--warn);
  font: var(--fw-accent) var(--fs-title) var(--font-ui);
}

.fulfillment-geolocation-notice__copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.fulfillment-geolocation-notice__copy strong {
  color: var(--ink);
  font: var(--fw-accent) var(--fs-body) var(--font-ui);
}

.fulfillment-geolocation-notice__copy > span {
  color: var(--muted);
  font: var(--fw-secondary) var(--fs-small)/16px var(--font-ui);
}

.delivery-address-selector__mode {
  flex: 1;
  height: 34px;
  padding: 0 12px;
  border: 0;
  border-radius: var(--r-control);
  background: transparent;
  color: var(--muted);
  font: var(--fw-body) var(--fs-body) var(--font-ui);
  cursor: pointer;
}

.delivery-address-selector__mode.is-active {
  background: #fff;
  color: var(--ink);
  font-weight: var(--fw-accent);
  box-shadow: var(--shadow-raised);
}

[data-delivery-selector-content] {
  padding: 16px var(--inset-sheet) 16px;
}

[data-bottom-sheet-scroll] {
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
}

.delivery-address-selector__section-title {
  display: block;
  margin: 4px 0 10px;
  color: var(--muted);
  font: var(--fw-accent) var(--fs-caption) var(--font-ui);
  letter-spacing: .06em;
  text-transform: uppercase;
}

.fulfillment-option-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fulfillment-option {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 36px;
  align-items: center;
  gap: 8px;
  padding: 11px 8px 11px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-field);
  background: #fff;
}

.fulfillment-option.is-selected {
  border-color: var(--brand);
  box-shadow: inset 0 0 0 1px var(--brand);
}

[data-delivery-address-item] {
  cursor: pointer;
}

.fulfillment-option__main {
  min-width: 0;
  display: flex;
  align-items: center;
}

.fulfillment-option__main--selectable {
  align-self: stretch;
  cursor: pointer;
}

.fulfillment-option__content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
}

.fulfillment-option__city {
  max-width: 100%;
  color: var(--muted);
  overflow-wrap: anywhere;
  font: var(--fw-accent) var(--fs-caption) var(--font-ui);
  letter-spacing: .06em;
  text-transform: uppercase;
}

.fulfillment-option__title-row {
  max-width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
}

.fulfillment-option__title {
  margin: 0;
  color: var(--ink);
  overflow-wrap: anywhere;
  font: var(--fw-body) var(--fs-field) var(--font-ui);
}

.fulfillment-option__details {
  margin: 0;
  max-width: 100%;
  color: var(--muted);
  overflow-wrap: anywhere;
  font: var(--fw-secondary) var(--fs-small) var(--font-ui);
}

.fulfillment-option__badge {
  display: inline-flex;
  padding: 2px 6px;
  border-radius: var(--r-badge);
  background: var(--soft);
  color: var(--brand);
  font: var(--fw-accent) var(--fs-caption) var(--font-ui);
  letter-spacing: .03em;
}

.fulfillment-option__icon-action {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: var(--r-control);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.delivery-address-selector__add {
  width: 100%;
  margin-top: 10px;
  border: 1px dashed rgba(0, 0, 0, .18);
  background: transparent;
  color: var(--brand);
}

.delivery-address-selector__limit {
  margin: 10px 0 0;
  color: var(--muted);
  font: var(--fw-secondary) var(--fs-small)/17px var(--font-ui);
  text-align: center;
}

.delivery-address-selector__confirm {
  margin-top: 12px;
}

.profile-delivery-addresses {
  width: 100%;
  max-width: none;
  color: var(--ink);
  font-family: var(--font-ui);
}

.profile-delivery-addresses [data-delivery-address-page-item] {
  cursor: default;
}

.fulfillment-option-empty {
  padding: 18px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-field);
  color: var(--muted);
  font: var(--fw-secondary) var(--fs-small)/17px var(--font-ui);
  text-align: center;
}

.delivery-address-create {
  margin: -16px calc(var(--inset-sheet) * -1) -16px;
}

.delivery-address-create__header {
  min-height: 68px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px calc(var(--inset-sheet) + 46px) 14px var(--inset-sheet);
}

.delivery-address-create__header h3 {
  margin: 0;
  color: var(--ink);
  font: var(--fw-accent) var(--fs-title)/22px var(--font-ui);
  letter-spacing: -.01em;
}

.bottom-sheet__back {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: var(--r-control);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.bottom-sheet-modal .auth-bottom-sheet__content.auth-modal {
  width: 100%;
  padding: 0;
}

.bottom-sheet-modal .auth-bottom-sheet__body {
  position: relative;
  padding: 0 !important;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.delivery-address-create__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px var(--inset-sheet) 16px;
}

.delivery-address-create__body[hidden] {
  display: none;
}

.delivery-address-create__field {
  margin: 0;
}

.delivery-address-create__field label {
  display: block;
  margin: 0 0 6px;
  color: var(--muted);
  font: var(--fw-label) var(--fs-caption) var(--font-ui);
  letter-spacing: .06em;
  text-transform: uppercase;
}

.delivery-address-create__control {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border: 1px solid var(--line);
  outline: 0;
  background: #fff;
  color: var(--ink);
}

.delivery-address-create__control:focus {
  border: 1.5px solid var(--brand);
  box-shadow: none;
}

.delivery-address-create__control.is-invalid {
  border: 1.5px solid var(--danger);
}

.delivery-address-autocomplete {
  margin-top: 4px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-field);
  background: #fff;
  box-shadow: 0 10px 24px rgba(32, 25, 18, .12);
  font-family: var(--font-ui);
}

.delivery-address-autocomplete[hidden] {
  display: none;
}

.delivery-address-autocomplete__item {
  display: block;
  width: 100%;
  min-height: 42px;
  padding: 10px 14px;
  border: 0;
  border-top: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.delivery-address-autocomplete__item:first-child {
  border-top: 0;
}

.delivery-address-autocomplete__item:hover,
.delivery-address-autocomplete__item:focus-visible {
  outline: 0;
  background: var(--fill);
}

.delivery-address-autocomplete__attribution {
  padding: 5px 10px 6px;
  background: #fff;
  color: #5e5e5e;
  font-family: Roboto, Arial, sans-serif;
  font-size: var(--fs-small);
  font-style: normal;
  font-weight: var(--fw-secondary);
  letter-spacing: normal;
  line-height: 16px;
  text-align: right;
  white-space: nowrap;
}

.delivery-address-create__field .invalid-feedback {
  margin: 4px 0 0;
  color: var(--danger);
  font: var(--fw-secondary) var(--fs-caption) var(--font-ui);
}

.delivery-address-create__divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  margin: 2px 0;
  color: var(--muted);
  font: var(--fw-secondary) var(--fs-small) var(--font-ui);
}

.delivery-address-create__divider > span:first-child,
.delivery-address-create__divider > span:last-child {
  height: 1px;
  background: var(--line);
}

.delivery-address-create__map-button {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}

.delivery-address-create__map-button svg {
  color: var(--brand);
  vertical-align: -3px;
}

.delivery-address-create__map-screen {
  flex: 1;
  min-height: 0;
  padding-top: 0;
}

.delivery-address-create__map-wrap {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  border-radius: var(--r-field);
  background: var(--fill);
}

.delivery-address-create__map {
  position: absolute;
  inset: 0;
}

.delivery-address-create__map-pin {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  color: var(--brand);
  filter: drop-shadow(0 4px 8px rgba(45, 33, 20, .3));
  pointer-events: none;
  transform: translate(-50%, -100%);
}

.delivery-address-create__map-address {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: var(--r-field);
  background: var(--fill);
  color: var(--ink);
  font: var(--fw-body) var(--fs-field)/18px var(--font-ui);
}

.delivery-address-create__map-address > svg {
  flex: 0 0 16px;
  margin-right: 10px;
  color: var(--brand);
}

.delivery-address-create__map-address [aria-busy="true"] {
  color: var(--muted);
}

.delivery-address-create__summary {
  min-height: 46px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--r-field);
  background: var(--fill);
  color: var(--ink);
  font: var(--fw-body) var(--fs-field)/20px var(--font-ui);
}

.delivery-address-create__summary svg {
  flex: 0 0 16px;
  color: var(--brand);
}

.delivery-address-create__details-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.delivery-address-create__details-grid .delivery-address-create__control {
  height: 44px;
  padding: 0 12px;
}

.delivery-address-create__eta {
  min-height: 38px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: var(--r-control);
  background: var(--soft);
  color: var(--ink);
  font: var(--fw-secondary) var(--fs-small)/18px var(--font-ui);
}

.delivery-address-create__eta[hidden] {
  display: none;
}

.delivery-address-create__eta > span[aria-hidden="true"] {
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  border-radius: 50%;
  background: var(--ok);
}

.delivery-address-create__submit {
  margin-top: 2px;
}

.delivery-address-modal[data-address-create-step="map"]
  .delivery-address-modal-content,
.delivery-address-modal[data-address-create-step="map"]
  .delivery-address-modal-body,
.delivery-address-modal[data-address-create-step="map"]
  .delivery-address-selector {
  height: min(90dvh, 844px);
}

.delivery-address-modal[data-address-create-step="map"]
  [data-delivery-selector-content],
.delivery-address-modal[data-address-create-step="map"]
  [data-delivery-selector-panels],
.delivery-address-modal[data-address-create-step="map"]
  [data-delivery-panel="delivery"],
.delivery-address-modal[data-address-create-step="map"]
  [data-delivery-screen="add"],
.delivery-address-modal[data-address-create-step="map"]
  .delivery-address-create {
  min-height: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.delivery-address-modal[data-address-create-step="map"]
  .delivery-address-selector {
  display: flex;
  flex-direction: column;
}

.delivery-address-modal[data-address-create-step="map"]
  [data-delivery-selector-content] {
  height: auto;
}

.delivery-address-modal[data-address-create-step="map"]
  .delivery-address-modal-body {
  overflow-y: hidden;
}

.delivery-address-modal[data-screen="add"] .delivery-address-selector__header,
.delivery-address-modal[data-screen="add"] .delivery-address-selector__modes,
.delivery-address-modal[data-screen="add"]
  [data-fulfillment-geolocation-requesting] {
  display: none;
}

.delivery-address-modal[data-screen="add"] .bottom-sheet__close {
  display: none;
}

.delivery-address-modal[data-screen="add"] [data-delivery-selector-content] {
  padding-top: 14px;
}

.pickup-shop-selector__location {
  position: relative;
  width: fit-content;
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  margin: 2px 0 14px;
}

.pickup-shop-selector__location select {
  max-width: 100%;
  height: auto;
  padding: 0 20px 0 0;
  border: 0;
  outline: 0;
  appearance: none;
  background: transparent;
  color: var(--brand);
  cursor: pointer;
  font: var(--fw-accent) var(--fs-body) var(--font-ui);
}

.pickup-shop-selector__location-arrow {
  position: absolute;
  right: 2px;
  width: 0;
  height: 0;
  border-top: 6px solid var(--brand);
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
  pointer-events: none;
}

.pickup-shop-selector__map-slot {
  position: relative;
  height: 150px;
  margin-bottom: 10px;
  overflow: hidden;
  border-radius: var(--r-photo);
  background: var(--fill);
}

.pickup-shop-selector__map-slot[hidden] {
  display: none;
}

.pickup-shop-selector__map-slot[data-map-state="pending"] {
  opacity: 0;
  pointer-events: none;
}

.delivery-address-modal[data-mode="pickup"] .delivery-address-modal-body,
.delivery-address-modal[data-mode="pickup"] .delivery-address-selector,
.delivery-address-modal[data-mode="pickup"] [data-delivery-selector-content],
.delivery-address-modal[data-mode="pickup"] [data-delivery-panel="pickup"],
.delivery-address-modal[data-mode="pickup"] .pickup-shop-selector {
  min-height: 0;
}

.delivery-address-modal[data-mode="pickup"] .delivery-address-modal-body,
.delivery-address-modal[data-mode="pickup"] .delivery-address-selector,
.delivery-address-modal[data-mode="pickup"] [data-delivery-selector-content],
.delivery-address-modal[data-mode="pickup"] [data-delivery-panel="pickup"],
.delivery-address-modal[data-mode="pickup"] .pickup-shop-selector {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
}

.delivery-address-modal[data-mode="pickup"] .delivery-address-modal-body,
.delivery-address-modal[data-mode="pickup"] [data-delivery-selector-content] {
  overflow: hidden;
}

.delivery-address-modal[data-mode="pickup"] .delivery-address-selector__header,
.delivery-address-modal[data-mode="pickup"] .delivery-address-selector__modes,
.delivery-address-modal[data-mode="pickup"] .pickup-shop-selector__location,
.delivery-address-modal[data-mode="pickup"] .pickup-shop-selector__map-slot {
  flex: 0 0 auto;
}

.delivery-address-modal[data-mode="pickup"] .pickup-shop-selector__list {
  flex: 1 1 auto;
  padding: 1px;
  scrollbar-width: thin;
}

.pickup-shop-selector__map-marker {
  position: relative;
  z-index: 1;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  outline: 0;
  background: transparent;
  cursor: pointer;
  touch-action: manipulation;
  transform: none;
}

.pickup-shop-selector__map-marker::before {
  width: 11px;
  height: 11px;
  border: 2.5px solid #fff;
  border-radius: 50%;
  background: var(--muted);
  box-shadow: var(--shadow-raised);
  content: '';
  transition: width 120ms ease, height 120ms ease,
    background-color 120ms ease;
}

.pickup-shop-selector__map-marker.is-selected,
.pickup-shop-selector__map-marker.is-focused {
  z-index: 2;
}

.pickup-shop-selector__map-marker.is-selected::before,
.pickup-shop-selector__map-marker.is-focused::before {
  width: 13px;
  height: 13px;
  background: var(--brand);
}

.pickup-shop-selector__map-marker:focus-visible::before {
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--brand);
}

.fulfillment-option--pickup.is-map-focused {
  border-color: var(--brand);
}

.fulfillment-option--pickup {
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 12px;
  padding: 11px 14px;
  cursor: pointer;
}

.pickup-shop-selector__distance {
  color: var(--muted);
  white-space: nowrap;
  font: var(--fw-accent) var(--fs-small) var(--font-ui);
  font-variant-numeric: tabular-nums;
}

.pickup-shop-selector__status {
  color: var(--ok);
  font: var(--fw-label) var(--fs-caption) var(--font-ui);
}

.pickup-shop-selector__status--closed {
  color: var(--warn);
}

.pickup-shop-selector__status--unavailable {
  color: var(--muted);
}

.fulfillment-option--pickup.is-unavailable {
  opacity: .55;
}

.pickup-shop-selector__choose {
  grid-column: 3;
  white-space: nowrap;
}

.pickup-shop-selector__choose.is-disabled {
  opacity: 1;
  background: var(--fill-strong);
  color: var(--muted);
  pointer-events: none;
}

.delivery-address-delete-modal {
  z-index: 1070;
}

.modal-backdrop.delivery-address-delete-backdrop {
  z-index: 1065;
}

.delivery-address-delete-dialog {
  width: calc(100% - 48px);
  max-width: 390px;
  margin-right: auto;
  margin-left: auto;
}

.delivery-address-delete-content {
  border: 0;
  border-radius: var(--r-card);
  background: #fff;
}

.delivery-address-delete-body {
  padding: 24px 18px 18px;
}

.delivery-address-delete-title {
  margin: 0 0 10px;
  color: var(--ink);
  font: var(--fw-accent) var(--fs-title) var(--font-ui);
  letter-spacing: -.01em;
}

.delivery-address-delete-message {
  margin: 0;
  color: var(--muted);
  font: var(--fw-body) var(--fs-body)/18px var(--font-ui);
}

.delivery-address-delete-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 20px;
}

.delivery-address-delete-keep {
  color: var(--muted);
}

@media (hover: hover) {
  .bottom-sheet__close:hover,
  .delivery-address-selector__add:hover,
  .bottom-sheet__back:hover {
    background: var(--fill);
  }
}

.delivery-address-selector button:not(.pickup-shop-selector__map-marker):active,
.pickup-shop-selector a:active,
.delivery-address-delete-actions button:active {
  transform: scale(.97);
  transition: transform 80ms ease;
}

.delivery-address-selector button:focus-visible,
.delivery-address-selector input:focus-visible,
.delivery-address-selector select:focus-visible,
.pickup-shop-selector a:focus-visible,
.delivery-address-delete-actions button:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

@media (max-width: 991.98px) {
  .bottom-sheet__chrome {
    position: absolute;
    flex-basis: 0;
    height: 18px;
    pointer-events: auto;
  }

  .bottom-sheet__handle {
    display: block;
  }

  [data-bottom-sheet] [data-bottom-sheet-drag-zone] {
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
  }

  [data-bottom-sheet].is-bottom-sheet-dragging [data-bottom-sheet-dialog] {
    transition: none !important;
    will-change: transform;
  }

  [data-bottom-sheet].is-bottom-sheet-dismissing {
    pointer-events: none;
  }

  .bottom-sheet-modal__dialog {
    width: 100vw;
    max-width: none;
  }

  .bottom-sheet-modal.fade .bottom-sheet-modal__dialog {
    transform: translate3d(0, 100%, 0);
  }

  .bottom-sheet-modal.show .bottom-sheet-modal__dialog {
    transform: translate3d(0, 0, 0);
  }

  .bottom-sheet-modal .bottom-sheet-modal__content {
    max-height: 90dvh;
    border-radius: var(--r-sheet) var(--r-sheet) 0 0;
  }
}

.bottom-sheet-surface-extension {
  position: absolute;
  top: var(--bottom-sheet-surface-extension-top, 100%);
  right: 0;
  left: 0;
  z-index: 1056;
  display: none;
  height: var(--bottom-sheet-surface-extension-height, 100vh);
  background: #fff;
  pointer-events: none;
}

.bottom-sheet-surface-extension.is-visible {
  display: block;
}

@media (max-width: 991.98px) {
  .bottom-sheet-modal {
    overflow: hidden !important;
    overscroll-behavior: none;
  }
}

@media (max-width: 360px) {
  .fulfillment-option--pickup {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .pickup-shop-selector__distance {
    display: none;
  }

  .pickup-shop-selector__choose {
    grid-column: 2;
  }
}
.fulfillment-prompt {
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 2;
  width: calc(100% - (var(--inset-screen) * 2));
  max-width: 400px;
  margin: 0;
  color: var(--ink);
  transform: translateX(-50%);
  transition: opacity 160ms ease, transform 160ms ease;
}

.fulfillment-prompt.fulfillment-prompt--desktop {
  display: none;
}

.fulfillment-prompt--mobile {
  top: calc(100% + 12px);
  left: 0;
  width: min(400px, calc(100vw - 72px));
  transform: none;
}

@media (max-width: 575.98px) {
  .fulfillment-prompt--mobile {
    position: fixed;
    top: 68px;
    left: var(--inset-screen);
    width: calc(100vw - (var(--inset-screen) * 2));
  }
}

.fulfillment-prompt.is-dismissing {
  opacity: 0;
  transform: translate(-50%, -4px);
  pointer-events: none;
}

.fulfillment-prompt.fulfillment-prompt--mobile.is-dismissing {
  transform: translateY(-4px);
}

.fulfillment-prompt--first_visit {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: color-mix(in srgb, var(--brand) 7%, #fff);
  filter: var(--shadow-popover);
}

.fulfillment-prompt--first_visit::before {
  position: absolute;
  top: -8px;
  left: 45px;
  width: 16px;
  height: 16px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: color-mix(in srgb, var(--brand) 7%, #fff);
  transform: rotate(45deg);
  content: '';
}

.fulfillment-prompt--selection_confirm {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 14px;
  border-radius: var(--r-card);
  background: var(--soft-solid);
  filter: var(--shadow-popover);
}

.fulfillment-prompt--selection_confirm::before {
  position: absolute;
  top: -9px;
  left: 42px;
  width: 22px;
  height: 12px;
  background: var(--soft-solid);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  content: '';
}

.fulfillment-prompt__message {
  flex: 1;
  margin: 0;
  color: var(--ink);
  font: var(--fw-body) var(--fs-body)/18px var(--font-ui);
  text-wrap: pretty;
}

.fulfillment-prompt--first_visit .fulfillment-prompt__message {
  margin-bottom: 10px;
}

.fulfillment-prompt__actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
}

.fulfillment-prompt__actions--first-visit {
  width: 100%;
}

.fulfillment-prompt__button {
  height: 38px;
  padding: 0 14px;
  border: 0;
  border-radius: var(--r-control);
  font: var(--fw-accent) var(--fs-body) var(--font-ui);
  cursor: pointer;
}

.fulfillment-prompt__button:disabled {
  opacity: .55;
  cursor: wait;
}

.fulfillment-prompt__button--primary {
  flex: 1;
  background: var(--brand);
  color: #fff;
}

.fulfillment-prompt__button--compact {
  height: 34px;
  flex: 0 0 auto;
  padding: 0 18px;
  font-size: var(--fs-body);
}

.fulfillment-prompt__button--secondary {
  width: 96px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font-weight: var(--fw-body);
}

.fulfillment-prompt__button--text {
  height: 34px;
  padding: 0 6px;
  background: transparent;
  color: var(--brand);
  font-size: var(--fs-body);
}

@media (hover: hover) {
  .fulfillment-prompt__button--primary:hover {
    background: var(--brand-deep);
  }

  .fulfillment-prompt__button--secondary:hover {
    background: var(--fill);
  }

  .fulfillment-prompt__button--text:hover {
    background: var(--soft);
  }
}

.fulfillment-prompt__button:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

@media (min-width: 1200px) {
  .fulfillment-prompt {
    width: min(620px, calc(100% - (var(--inset-desk) * 2)));
  }

  .fulfillment-prompt--mobile {
    display: none;
  }

  .fulfillment-prompt--desktop {
    top: calc(100% + 20px);
    left: 0;
    width: 400px;
    max-width: none;
    transform: none;
  }

  .fulfillment-prompt--desktop.fulfillment-prompt--first_visit {
    display: block;
  }

  .fulfillment-prompt--desktop.fulfillment-prompt--selection_confirm {
    display: flex;
  }

  .fulfillment-prompt--desktop.is-dismissing {
    transform: translateY(-4px);
  }
}
.checkout-fulfillment-card {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: #fff;
  color: var(--ink);
}

.checkout-fulfillment-card__details {
  min-width: 0;
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 3px;
}

.checkout-fulfillment-card--stacked {
  align-items: stretch;
  flex-direction: column;
  gap: 10px;
}

.checkout-fulfillment-card__row {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.checkout-fulfillment-card__divider {
  width: 100%;
  height: 1px;
  background: var(--line);
}

.checkout-fulfillment-card__label {
  display: block;
  margin: 0;
  color: var(--muted);
  font-size: var(--fs-caption);
  font-weight: var(--fw-accent);
  letter-spacing: .05em;
  line-height: 14px;
  text-transform: uppercase;
}

.checkout-fulfillment-card__value {
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: var(--fs-body);
  font-weight: var(--fw-body);
  line-height: 18px;
}

.checkout-fulfillment-card__meta {
  color: var(--muted);
  font-size: var(--fs-small);
  font-weight: var(--fw-secondary);
  line-height: 16px;
}

.checkout-fulfillment-card__change {
  height: 32px;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  color: var(--brand);
  font: var(--fw-accent) var(--fs-small) var(--font-ui);
  line-height: 1;
}

@media (hover: hover) {
  .checkout-fulfillment-card__change:hover {
    background: var(--fill);
    color: var(--brand);
  }
}

.checkout-fulfillment-card__change:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}
.checkout-delivery-time-modal__dialog {
}

.checkout-delivery-time-modal__content {
  width: 100%;
}

.checkout-delivery-time-modal__body {
  padding: 0 var(--inset-sheet) 16px !important;
  overflow: hidden !important;
}

.checkout-delivery-time-mode {
  display: flex;
  margin-bottom: 12px;
  padding: 3px;
  border-radius: var(--r-field);
  background: var(--fill);
}

.checkout-delivery-time-mode__button {
  min-width: 0;
  height: 34px;
  flex: 1 1 50%;
  padding: 0 8px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  font: var(--fw-body) var(--fs-body) var(--font-ui);
}

.checkout-delivery-time-mode__button.is-selected {
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-raised);
  font-weight: var(--fw-accent);
}

.checkout-delivery-time-mode__button:disabled {
  opacity: .38;
  cursor: not-allowed;
}

.checkout-delivery-time-mode__button:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 1px;
}

.checkout-delivery-time-wheels {
  display: flex;
  gap: 12px;
}

.checkout-delivery-time-wheels[hidden] {
  display: none !important;
}

.checkout-delivery-time-wheel-column {
  min-width: 0;
  flex: 1 1 50%;
}

.checkout-delivery-time-wheel__label {
  margin-bottom: 8px;
  text-align: center;
}

.checkout-delivery-time-wheel {
  height: 208px;
  position: relative;
  overflow: hidden;
  border-radius: var(--r-field);
  background: var(--fill);
}

.checkout-delivery-time-wheel__selection {
  height: 52px;
  position: absolute;
  top: 78px;
  right: 6px;
  left: 6px;
  z-index: 1;
  border-radius: var(--r-field);
  background: #fff;
  box-shadow: var(--shadow-raised);
  pointer-events: none;
}

.checkout-delivery-time-wheel__scroller {
  height: 208px;
  position: relative;
  z-index: 2;
  padding: 78px 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
  scroll-padding-block: 78px;
  scroll-snap-type: y mandatory;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  -webkit-overflow-scrolling: touch;
  mask-image: linear-gradient(180deg, transparent, rgba(0, 0, 0, .35) 14px, #000 44px, #000 calc(100% - 44px), rgba(0, 0, 0, .35) calc(100% - 14px), transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, rgba(0, 0, 0, .35) 14px, #000 44px, #000 calc(100% - 44px), rgba(0, 0, 0, .35) calc(100% - 14px), transparent);
}

.checkout-delivery-time-wheel__scroller::-webkit-scrollbar {
  display: none;
}

.checkout-delivery-time-wheel__scroller:active {
  cursor: grabbing;
}

.checkout-delivery-time-wheel__scroller.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}

.checkout-delivery-time-wheel__item {
  width: 100%;
  height: 52px;
  display: flex;
  flex: 0 0 52px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1px;
  padding: 0 6px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: var(--fw-body) var(--fs-field) var(--font-ui);
  font-variant-numeric: tabular-nums;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  cursor: pointer;
  pointer-events: auto;
}

.checkout-delivery-time-wheel__scroller.is-dragging .checkout-delivery-time-wheel__item {
  cursor: grabbing;
}

.checkout-delivery-time-wheel__item small {
  color: var(--muted);
  font: var(--fw-secondary) var(--fs-caption) var(--font-ui);
}

.checkout-delivery-time-wheel__item.is-selected {
  color: var(--ink);
  font-weight: var(--fw-accent);
}

.checkout-delivery-time-modal__footer {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 14px;
}

.checkout-delivery-time-modal__info {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: var(--r-field);
  background: var(--soft);
  color: var(--ink);
  font: var(--fw-secondary) var(--fs-small) var(--font-ui);
}

.checkout-delivery-time-modal__info > span {
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  border-radius: 50%;
  background: var(--ok);
}

.checkout-delivery-time-modal__confirm {
  width: 100%;
}
.checkout-payment-card {
  display: block;
}

.checkout-coupon-slot {
	margin-top: 12px;
}

.checkout-coupon:empty {
	display: none;
}

.checkout-coupon__group {
	display: flex;
	align-items: stretch;
	gap: 8px;
}

.checkout-coupon__input.form-control {
	min-width: 0;
	height: 44px;
	flex: 1 1 auto;
	border-radius: var(--r-field);
}

.checkout-coupon__input.form-control::placeholder {
  letter-spacing: 0;
  text-transform: none;
  font-size: var(--fs-body);
  color: #aaa;
}

.checkout-coupon__button {
	height: 44px;
	padding-right: 18px;
	padding-left: 18px;
	border-radius: var(--r-field);
}

@media (max-width: 575.98px) {
	.checkout-coupon__button {
		padding-right: 14px;
		padding-left: 14px;
	}
}

.checkout-payment-error {
  margin-top: 8px;
  color: var(--danger);
  font: var(--fw-label) var(--fs-small)/16px var(--font-ui);
}

.checkout-payment-options {
  display: grid;
  grid-template-columns: repeat(var(--checkout-payment-options-count), minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.checkout-payment-option-wrap {
  display: contents;
}

.checkout-payment-option {
  min-width: 0;
  min-height: 42px;
  display: flex;
  grid-row: 1;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border: 1.5px solid transparent;
  border-radius: var(--r-field);
  cursor: pointer;
}

.checkout-payment-option:has(.checkout-payment-option__input:checked) {
  background: var(--soft);
}

.checkout-payment-option__input,
.checkout-payment-change__checkbox {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.checkout-payment-option__radio {
  width: 20px;
  height: 20px;
  display: flex;
  flex: 0 0 20px;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--line);
  border-radius: 50%;
  background: transparent;
}

.checkout-payment-option__radio::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  opacity: 0;
}

.checkout-payment-option__input:checked + .checkout-payment-option__radio {
  border-color: var(--brand);
  background: var(--brand);
}

.checkout-payment-option__input:checked + .checkout-payment-option__radio::after {
  opacity: 1;
}

.checkout-payment-option:has(.checkout-payment-option__input:focus-visible) {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.checkout-payment-option__label {
  min-width: 0;
  color: var(--ink);
  font: var(--fw-body) var(--fs-body)/18px var(--font-ui);
}

.checkout-payment-change {
  grid-row: 2;
  grid-column: 1 / -1;
  padding: 12px 14px;
  border-radius: var(--r-field);
  background: var(--soft);
}

.checkout-payment-change__layout {
  display: flex;
  align-items: center;
  gap: 16px;
}

.checkout-payment-change__prompt {
  flex: 1 1 auto;
  color: var(--ink);
  font: var(--fw-body) var(--fs-body)/17px var(--font-ui);
}

.checkout-payment-change__amount {
  width: 150px;
  position: relative;
  flex: 0 0 150px;
}

.checkout-payment-change__input {
  padding-right: 54px;
  font-variant-numeric: tabular-nums;
}

.checkout-payment-change__currency {
  position: absolute;
  top: 50%;
  right: 12px;
  z-index: 4;
  transform: translateY(-50%);
  color: var(--muted);
  font: var(--fw-body) var(--fs-body) var(--font-ui);
  pointer-events: none;
}

.checkout-payment-change__amount:has(.checkout-payment-change__input.is-invalid) .checkout-payment-change__input {
  padding-right: 82px;
}

.checkout-payment-change__amount:has(.checkout-payment-change__input.is-invalid) .checkout-payment-change__currency {
  right: 42px;
}

.checkout-payment-change__amount:has(.checkout-payment-change__input:disabled) .checkout-payment-change__currency {
  opacity: .55;
}
.checkout-customer-card {
  display: block;
}

.checkout-customer-card__summary {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.checkout-customer-card__icon,
.checkout-customer-card__phone-field > img {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  opacity: .6;
}

.checkout-customer-card__identity {
  min-width: 0;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 2px;
}

.checkout-customer-card__name,
.checkout-customer-card__phone {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.checkout-customer-card__name {
  color: var(--ink);
  font: var(--fw-body) var(--fs-body)/18px var(--font-ui);
}

.checkout-customer-card__phone {
  color: var(--muted);
  font: var(--fw-secondary) var(--fs-small)/16px var(--font-ui);
  font-variant-numeric: tabular-nums;
}

.checkout-customer-card__editor {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.checkout-customer-card__editor[hidden],
.checkout-customer-card__summary[hidden] {
  display: none;
}

.checkout-customer-card__phone-field {
  position: relative;
  display: flex;
  align-items: center;
}

.checkout-customer-card__phone-field > img {
  position: absolute;
  left: 14px;
  z-index: 2;
  pointer-events: none;
}

.checkout-customer-card__control--phone {
  padding-left: 40px;
  font-variant-numeric: tabular-nums;
}

.checkout-customer-card__phone-hint {
  margin-top: -4px;
  color: var(--muted);
  font: var(--fw-secondary) var(--fs-caption)/15px var(--font-ui);
}

.checkout-invoice {
}

.checkout-invoice__toggle {
  width: fit-content;
  max-width: 100%;
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font: var(--fw-body) var(--fs-body)/18px var(--font-ui);
  cursor: pointer;
}

.checkout-invoice__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.checkout-invoice__body[hidden] {
  display: none;
}

/* Чекбоксы под счётом (столовые приборы, рассылка) — отдельными строками. */
.checkout-option {
  margin-top: 10px;
}

.checkout-invoice__types,
.checkout-invoice__vat-options {
  display: flex;
  padding: 3px;
  border-radius: var(--r-field);
  background: var(--fill);
}

.checkout-invoice__type {
  min-width: 0;
  height: 34px;
  display: flex;
  flex: 1 1 50%;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border-radius: 10px;
  color: var(--muted);
  font: var(--fw-body) var(--fs-body) var(--font-ui);
  text-align: center;
  cursor: pointer;
}

.checkout-invoice__type-input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
}

.checkout-invoice__type:has(.checkout-invoice__type-input:checked) {
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-raised);
  font-weight: var(--fw-accent);
}

.checkout-invoice__type:has(.checkout-invoice__type-input:focus-visible) {
  outline: 2px solid var(--brand);
  outline-offset: 1px;
}

.checkout-invoice__fields {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.checkout-invoice__fields[hidden] {
  display: none !important;
}

.checkout-invoice__vat-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  color: var(--ink);
}

.checkout-invoice__vat-options {
  width: 130px;
  flex: 0 0 130px;
}

.checkout-payment-change__exact {
  width: fit-content;
  max-width: 100%;
  min-width: 0;
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--ink);
  font: var(--fw-body) var(--fs-body)/18px var(--font-ui);
  cursor: pointer;
}

.checkout-payment-change__checkbox-ui {
  width: 20px;
  height: 20px;
  position: relative;
  flex: 0 0 20px;
  border: 1.5px solid var(--line);
  border-radius: 6px;
  background: transparent;
  margin-top: -2px;
}

.checkout-payment-change__checkbox:checked + .checkout-payment-change__checkbox-ui {
  border-color: var(--brand);
  background: var(--brand);
}

.checkout-payment-change__checkbox:checked + .checkout-payment-change__checkbox-ui::after {
  content: '';
  width: 9px;
  height: 5px;
  position: absolute;
  top: 5px;
  left: 4px;
  border-bottom: 1.5px solid #fff;
  border-left: 1.5px solid #fff;
  transform: rotate(-45deg);
}

.checkout-payment-change__exact:has(.checkout-payment-change__checkbox:focus-visible) {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

@media (hover: hover) {
  .checkout-payment-option:hover {
    background: var(--fill);
  }

  .checkout-payment-option:has(.checkout-payment-option__input:checked):hover {
    background: var(--soft);
  }
}

@media (max-width: 767px) {

  .checkout-invoice__vat-row {
    justify-content: space-between;
  }

  .checkout-payment-options {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 8px;
  }

  .checkout-payment-option {
    width: 100%;
    padding: 10px 12px;
  }

  .checkout-payment-change {
    margin: 8px 0;
    padding: 10px 12px;
  }

  .checkout-payment-change__layout {
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
  }

  .checkout-payment-change__amount {
    width: 100%;
    flex-basis: 38px;
  }

  .checkout-customer-card {
    padding: 14px;
  }
}
.checkout-mobile-submit {
  display: none;
}

@media (max-width: 1199.98px) {

  .page-layout:has(.checkout-mobile-submit) {
    padding-bottom: var(--checkout-mobile-submit-height, 180px);
  }

  .checkout-desktop-submit {
    display: none;
  }

  .checkout-mobile-submit {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1040;
	display: flex;
	flex-direction: column;
	gap: 8px;
    padding: 14px 12px calc(20px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    border-radius: var(--r-sheet) var(--r-sheet) 0 0;
    background: rgba(247, 247, 247, .9);
    box-shadow: 0 -6px 20px rgba(45, 33, 20, .10);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    transition: opacity 140ms ease, transform 140ms ease, visibility 140ms ease;
  }

  body.checkout-keyboard-visible .checkout-mobile-submit {
    visibility: hidden;
    opacity: 0;
    transform: translateY(100%);
    pointer-events: none;
  }

  .checkout-mobile-submit .ez-btn-main {
    height: 52px;
  }

	.checkout-mobile-submit__total {
		display: flex;
		align-items: baseline;
		justify-content: space-between;
		gap: 12px;
		color: var(--ink);
		font: var(--fw-accent) var(--fs-field) var(--font-ui);
	}

	.checkout-mobile-submit__total strong {
		font-size: var(--fs-title);
		font-variant-numeric: tabular-nums;
	}

	.checkout-mobile-submit__total-label {
		display: inline-flex;
		align-items: center;
		gap: 6px;
	}

	.checkout-mobile-submit__info {
		width: 17px;
		height: 17px;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		padding: 0;
		border: 1px solid var(--muted);
		border-radius: 50%;
		background: transparent;
		color: var(--muted);
		font: var(--fw-accent) var(--fs-caption)/1 var(--font-ui);
		cursor: pointer;
	}

	.checkout-mobile-submit__info:focus-visible {
		outline: 2px solid var(--brand);
		outline-offset: 2px;
	}

	.checkout-mobile-submit__consent {
		margin: 0;
		color: var(--muted);
		font: var(--fw-secondary) var(--fs-caption)/15px var(--font-ui);
		text-align: center;
	}

	.checkout-mobile-submit__consent a {
		color: inherit;
		text-decoration: underline;
		text-underline-offset: 2px;
	}
}

@media (prefers-reduced-motion: reduce) {
  .checkout-mobile-submit {
    transition: none;
  }
}
.checkout-total-modal__dialog {
	width: calc(100% - 40px);
	max-width: 350px;
	margin-right: auto;
	margin-left: auto;
}

.checkout-total-modal__content {
	border: 0;
	border-radius: var(--r-card);
	background: #fff;
	box-shadow: var(--shadow-float);
}

.checkout-total-modal__body {
	padding: 18px;
}

.checkout-total-modal__title {
	margin: 0 0 12px;
	color: var(--ink);
	font: var(--fw-accent) var(--fs-title)/1.25 var(--font-ui);
	letter-spacing: -.01em;
}

.checkout-total-breakdown {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-bottom: 14px;
}

.checkout-total-breakdown__row {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 18px;
	color: var(--ink);
	font: var(--fw-body) var(--fs-body)/1.3 var(--font-ui);
}

.checkout-total-breakdown__row strong {
	flex: none;
	color: var(--ink);
	font: inherit;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.checkout-total-breakdown__label-group {
	display: flex;
	min-width: 0;
	flex-direction: column;
	gap: 2px;
}

.checkout-total-breakdown__label-group small {
	color: var(--muted);
	font: var(--fw-secondary) var(--fs-caption)/15px var(--font-ui);
}

.checkout-total-breakdown__row--total {
	margin-top: 0;
	padding-top: 12px;
	border-top: 1px solid var(--line);
	color: var(--ink);
	font-size: var(--fs-field);
	font-weight: var(--fw-accent);
}

.checkout-total-breakdown__row--total strong {
	font-size: var(--fs-title);
	font-weight: var(--fw-accent);
}

.checkout-total-modal .ez-btn-main {
	height: 46px;
}
@media (max-width: 991.98px) {

  .profile-mobile-menu {
    width: min(100%, 420px);
    margin: 16px auto 0;
    text-align: left;
  }

  .profile-mobile-menu__toggle {
    display: flex;
    width: 100%;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 16px;
    border: 1px solid var(--line);
    border-radius: var(--r-control);
    background: #fff;
    color: var(--ink);
    font: var(--fw-accent) var(--fs-body)/1.2 var(--font-ui);
    box-shadow: none;
  }

  .profile-mobile-menu__icon {
    display: inline-flex;
    width: 20px;
    flex: 0 0 20px;
    flex-direction: column;
    gap: 4px;
  }

  .profile-mobile-menu__icon span {
    display: block;
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
  }

  .profile-mobile-menu__collapse {
    padding-top: 10px;
  }

  .profile-mobile-menu .right-nav-menu {
    position: static;
    width: 100%;
    margin: 0;
    overflow: hidden;
    text-align: left;
  }

  .profile-mobile-menu .right-nav-menu-toggle {
    display: none;
  }

  .profile-mobile-menu .right-nav-menu li a {
    min-height: 54px;
  }
}
