/* New project UI. Values follow the etap0 handoff tokens and component specs. */

/* Temporary A/B theme switch in the global header. */
.theme-preview-toggle {
  width: 34px;
  height: 34px;
  display: inline-flex;
  flex: 0 0 34px;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-control);
  background: var(--fill);
  box-shadow: none;
  cursor: pointer;
}

.theme-preview-toggle__dot {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border: 2px solid transparent;
  border-radius: 50%;
  box-sizing: content-box;
  transition: transform 120ms ease, box-shadow 120ms ease;
}

.theme-preview-toggle__dot--bordeaux {
  background: #6e1e1e;
}

.theme-preview-toggle__dot--green {
  background: #006633;
}

body.theme-bordeaux .theme-preview-toggle__dot--bordeaux,
body.theme-green .theme-preview-toggle__dot--green {
  box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--muted);
  transform: scale(1.08);
}

@media (hover: hover) {
  .theme-preview-toggle:hover {
    background: var(--soft);
  }
}

.theme-preview-toggle:active {
  transform: scale(.94);
}

.theme-preview-toggle:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.mobile-home-header > .theme-preview-toggle {
  margin-top: 12px;
}

/* Compact desktop header from Compact.dc.html. */
.desktop-compact-header {
  width: 100%;
  min-width: 0;
  align-items: center;
  gap: 16px;
  color: var(--ink);
  font-family: 'Google Sans', sans-serif;
}

.desktop-compact-header__logo {
  flex: 0 0 auto;
}

.desktop-compact-header .delivery-header-choice-list {
  flex: 0 1 auto;
  list-style: none;
}

.desktop-compact-header__control {
  height: 44px;
  min-width: 0;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 14px;
  border: 0;
  border-radius: var(--r-field);
  background: var(--fill);
  color: var(--ink);
  font: var(--fw-body) var(--fs-body) 'Google Sans', sans-serif;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

.desktop-compact-header__control img {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.desktop-compact-header__catalog {
  padding-right: 16px;
  padding-left: 16px;
  background: var(--brand);
  color: #fff;
  font-weight: var(--fw-accent);
}

.desktop-compact-header__catalog img,
.desktop-compact-header__cart-button img {
  filter: brightness(0) invert(1);
}

.desktop-compact-header__search {
  width: 44px;
  padding: 0;
  color: var(--muted);
}

.desktop-compact-header__search img {
  opacity: .58;
}

.desktop-compact-header__menu {
  min-width: 0;
  margin-left: auto;
}

.desktop-compact-header__menu-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
  font: var(--fw-body) var(--fs-body) 'Google Sans', sans-serif;
  text-decoration: none;
  white-space: nowrap;
}

.desktop-compact-header__menu-link.is-active {
  color: var(--brand);
  font-weight: var(--fw-accent);
}

.desktop-compact-header__languages {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  padding: 3px;
  border-radius: var(--r-field);
  background: var(--fill);
}

.desktop-compact-header__language {
  min-width: 38px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-control);
  color: var(--muted);
  font: var(--fw-label) var(--fs-small) 'Google Sans', sans-serif;
  letter-spacing: .02em;
  text-decoration: none;
}

.desktop-compact-header__language.is-active {
  background: #fff;
  box-shadow: var(--shadow-raised);
  color: var(--ink);
  font-weight: var(--fw-accent);
}

.desktop-compact-header__profile-wrap {
  flex: 0 0 auto;
}

.desktop-compact-header__profile-wrap .submenu.show {
  transform: scaleY(1);
}

#desktop-cart.desktop-compact-header__cart {
  width: 130px;
  min-width: 130px;
  max-width: 130px;
  flex: 0 0 130px;
}

#desktop-cart .desktop-compact-header__cart-button {
  width: 100%;
  padding-right: 16px;
  padding-left: 16px;
  background: var(--brand);
  color: #fff;
  font-weight: var(--fw-accent);
  font-variant-numeric: tabular-nums;
}

#desktop-cart .desktop-compact-header__cart-button .cart-icon {
  display: inline-flex;
  flex: 0 0 18px;
  align-items: center;
  line-height: 1;
}

#desktop-cart .desktop-compact-header__cart-button .ajaxSum {
  min-width: 0;
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#desktop-cart .desktop-compact-header__cart-button .ajaxSum:empty {
  display: none;
}

#desktop-cart .desktop-compact-header__cart-button .sum {
  width: auto;
  max-width: 100%;
  display: block;
  overflow: hidden;
  color: #fff;
  font: var(--fw-accent) var(--fs-body) 'Google Sans', sans-serif;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#desktop-cart .desktop-compact-header__cart-button .sum .loader {
  width: 56px;
  height: 18px;
  background-image: url('../images/loader_black.svg');
  filter: invert(1);
}

@media (hover: hover) {
  .desktop-compact-header__catalog:hover,
  #desktop-cart .desktop-compact-header__cart-button:hover {
    background: var(--brand-deep);
    color: #fff;
  }

  .desktop-compact-header__search:hover,
  .desktop-compact-header__profile:hover {
    background: var(--fill-strong);
    color: var(--ink);
  }

  .desktop-compact-header__menu-link:hover,
  .desktop-compact-header__language:hover {
    color: var(--brand);
  }
}

.desktop-compact-header__control:active {
  transform: scale(.97);
}

.desktop-compact-header__control:focus-visible,
.desktop-compact-header__menu-link:focus-visible,
.desktop-compact-header__language:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
  .desktop-compact-header {
    gap: 10px;
  }

  .desktop-compact-header__control {
    padding-right: 12px;
    padding-left: 12px;
  }
}

/*
 * Buttons — handoff E · States.
 * Usage: ez-btn + one visual variant; ez-btn-main is an optional full-width size.
 */
.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) 'Google Sans', sans-serif;
  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);
  }
}

/* GDPR cookie consent · handoff Home / first visit §4.1. */
.terms-block.cookie-consent {
  position: fixed;
  right: auto;
  bottom: 20px;
  left: 50%;
  z-index: 1045;
  width: min(calc(100% - 24px), 720px);
  display: none;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 20px;
  background: #211d18;
  color: rgba(255, 255, 255, .72);
  box-shadow: 0 8px 30px rgba(0, 0, 0, .14);
  font: var(--fw-body) var(--fs-body)/15px 'Google Sans', sans-serif;
  transform: translateX(-50%);
}

.terms-block.cookie-consent.is-visible {
  display: flex;
}

.cookie-consent__message {
  min-width: 0;
  flex: 1 1 auto;
}

.cookie-consent__message a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-consent__actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 6px;
}

.cookie-consent__button {
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 10px;
  font: var(--fw-accent) var(--fs-caption) 'Google Sans', sans-serif;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
}

.cookie-consent__button--accept {
  background: #fff;
  color: #211d18;
}

.cookie-consent__button--reject {
  border-color: rgba(255, 255, 255, .3);
  background: transparent;
  color: #fff;
}

@media (hover: hover) {
  .cookie-consent__button--accept:hover {
    background: #f0efec;
  }

  .cookie-consent__button--reject:hover {
    border-color: rgba(255, 255, 255, .55);
    background: rgba(255, 255, 255, .08);
  }
}

.cookie-consent__button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.cookie-consent__button:active {
  transform: scale(.96);
}

@media (max-width: 1199.98px) {
  .terms-block.cookie-consent {
    bottom: calc(84px + env(safe-area-inset-bottom));
    font-size: var(--fs-caption);
    font-weight: var(--fw-secondary);
  }
}

@media (max-width: 379.98px) {
  .terms-block.cookie-consent {
    gap: 8px;
    padding: 10px 12px;
    font-size: var(--fs-caption);
    line-height: 14px;
  }

  .cookie-consent__button {
    padding-right: 9px;
    padding-left: 9px;
  }
}

.delivery-header-choice-list {
  margin-bottom: 0;
  padding-left: 0;
}

.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) 'Google Sans', sans-serif;
  line-height: normal;
  white-space: nowrap;
}

.delivery-header-choice__value-row {
  width: fit-content;
  max-width: 100%;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 5px;
  overflow: hidden;
}

.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) 'Google Sans', sans-serif;
  line-height: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.delivery-header-choice__caret {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  opacity: .55;
  transform: rotate(90deg);
}

@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;
}

.delivery-header-choice {
  position: relative;
  width: fit-content;
  max-width: 250px;
  min-width: 0;
}

.bottom-sheet-modal,
.delivery-address-delete-modal {
  color: var(--ink);
  font-family: 'Google Sans', sans-serif;
  -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;
}

.product-bottom-sheet .product-bottom-sheet__dialog {
  max-width: 800px;
}

.product-bottom-sheet .product-bottom-sheet__content {
  width: 100%;
}

.product-bottom-sheet
  .modal-dialog-bottom.modal-dialog-smallpadding
  .product-bottom-sheet__content
  .product-bottom-sheet__body {
  padding-top: 24px;
}

.shopping-cart-modal .shopping-cart-modal__dialog {
  /*max-width: 420px;*/
}

.shopping-cart-modal .shopping-cart-modal__content {
  width: 100%;
  height: min(90dvh, 760px);
  display: flex;
  flex-direction: column;
}

.shopping-cart-modal__header {
  flex: 0 0 auto;
}

.shopping-cart-modal__layout {
  min-height: 0;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
}

.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__body .sitebar-cart,
.shopping-cart-modal__body .cart-product-container {
  min-height: 100%;
}

.shopping-cart-modal__footer {
  position: relative;
  z-index: 2;
  max-height: min(46dvh, 380px);
  flex: 0 0 auto;
  overflow-y: auto;
  overscroll-behavior: contain;
  border-radius: var(--r-sheet) var(--r-sheet) 0 0;
  border-top: 1px solid var(--line);
  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%);
  -webkit-overflow-scrolling: touch;
}

.shopping-cart-modal__footer:empty {
  display: none;
}

.shopping-cart-modal__footer:has(#shopping-cart-footer:empty) {
  display: none;
}

.shopping-cart-modal__footer .cart-total {
  padding: 12px 12px calc(14px + env(safe-area-inset-bottom));
  background: transparent;
}

.shopping-cart-modal .cart-summary {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--ink);
  font-family: 'Google Sans', sans-serif;
  text-align: left;
}

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

.shopping-cart-modal .cart-total .saving {
  color: var(--muted);
  font: var(--fw-body) var(--fs-body) 'Google Sans', sans-serif;
}

.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) 'Google Sans', sans-serif;
  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) 'Google Sans', sans-serif;
  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) 'Google Sans', sans-serif;
  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 'Google Sans', sans-serif;
}

.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 'Google Sans', sans-serif;
}

.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,
.shopping-cart-modal .cart-total .total-price {
  margin-top: 2px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font: var(--fw-accent) var(--fs-field) 'Google Sans', sans-serif;
}

.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;
}

/* Cart line skeleton — handoff Cart §4.2. */
.shopping-cart-modal .sitebar-cart .cart-product-item {
  position: relative;
  padding: 12px var(--inset-sheet);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.shopping-cart-modal .cart-product-item__grid {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) minmax(104px, auto);
  align-items: start;
  gap: 12px;
}

.shopping-cart-modal .cart-product-item__media,
.shopping-cart-modal .cart-product-item__media > a,
.shopping-cart-modal .cart-product-item__media img {
  width: 56px;
  height: 56px;
  display: block;
}

.shopping-cart-modal .cart-product-item__media {
  overflow: hidden;
  border-radius: var(--r-field);
  background: var(--fill);
}

.shopping-cart-modal .cart-product-item__media img {
  border-radius: var(--r-field);
  object-fit: cover;
}

.shopping-cart-modal .cart-product-item__content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.shopping-cart-modal
  .sitebar-cart
  .cart-product-item
  .cart-product-item__content
  .product-title {
  width: 100%;
  height: 36px;
  display: block;
  overflow: hidden;
  color: var(--ink);
  font: var(--fw-body) var(--fs-body)/18px 'Google Sans', sans-serif;
}

.shopping-cart-modal .cart-addons-groups {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.shopping-cart-modal .cart-addons-list {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.shopping-cart-modal .cart-addons-list__items {
  min-width: 0;
  display: block;
  flex: 1 1 auto;
  color: var(--muted);
  font: var(--fw-secondary) var(--fs-caption) 'Google Sans', sans-serif;
}

.shopping-cart-modal .cart-addons-list__item + .cart-addons-list__item::before {
  content: '·';
}

.shopping-cart-modal .sitebar-cart .cart-addons-list a.showAddons {
  display: inline;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--brand);
  font: var(--fw-accent) var(--fs-caption) 'Google Sans', sans-serif;
  white-space: nowrap;
}

.shopping-cart-modal .cart-addons-list--optional .cart-addons-list__items {
  max-width: none;
  white-space: normal;
}

.shopping-cart-modal .cart-addons-list--required .cart-addons-list__items {
  color: var(--muted);
  font: var(--fw-secondary) var(--fs-caption) 'Google Sans', sans-serif;
  font-variant-numeric: tabular-nums;
}

.shopping-cart-modal .cart-product-item__availability {
  color: var(--sale);
  font: var(--fw-label) var(--fs-caption)/15px 'Google Sans', sans-serif;
}

.shopping-cart-modal .cart-product-item__summary {
  min-width: 104px;
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  gap: 7px;
}

.shopping-cart-modal .cart-product-item__summary-head {
  width: 100%;
  min-height: 20px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 4px;
}

.shopping-cart-modal .sitebar-cart .product-price {
  min-width: 0;
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  gap: 2px;
  margin: 0;
  color: var(--ink);
  font: var(--fw-accent) var(--fs-body)/18px 'Google Sans', sans-serif;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.shopping-cart-modal .sitebar-cart .product-price span {
  color: inherit;
}

.shopping-cart-modal .sitebar-cart .product-price del {
  color: var(--muted);
  font: var(--fw-secondary) var(--fs-caption)/12px 'Google Sans', sans-serif;
}

.shopping-cart-modal
  .sitebar-cart
  .cart-product-item
  .cart-product-item__summary-head
  .close-item {
  position: static;
  width: 20px;
  height: 20px;
  display: flex;
  flex: 0 0 20px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 5px;
  background: transparent;
  cursor: pointer;
}

.shopping-cart-modal .cart-product-item__summary-head .close-item img {
  width: 12px;
  height: 12px;
  opacity: .48;
}

.shopping-cart-modal .sitebar-cart .product-counter {
  display: block;
  margin: 0;
}

.shopping-cart-modal .sitebar-cart .cart-btn-toggle {
  width: auto;
  max-width: none;
}

.shopping-cart-modal .sitebar-cart .price-btn,
.shopping-cart-modal .sitebar-cart .price-increase-decrese-group {
  width: auto;
  height: 31px;
  margin: 0;
}

.shopping-cart-modal .sitebar-cart .price-increase-decrese-group {
  display: flex;
  align-items: center;
  overflow: hidden;
  border-radius: var(--r-control);
  background: var(--fill);
}

.shopping-cart-modal .sitebar-cart .price-increase-decrese-group button {
  width: 29px;
  height: 31px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: var(--r-control);
  background: transparent;
  color: var(--ink);
}

@media (hover: hover) {
  .shopping-cart-modal .sitebar-cart .price-increase-decrese-group button:hover {
    background: var(--fill-strong);
    color: var(--ink);
  }
}

.shopping-cart-modal .sitebar-cart .price-increase-decrese-group button img {
  width: 16px;
  height: 16px;
}

.shopping-cart-modal .cart-stepper__trash {
  width: 14px;
  height: 14px;
  color: var(--ink);
}

.shopping-cart-modal .sitebar-cart .price-increase-decrese-group input {
  width: 44px;
  min-width: 44px;
  height: 31px;
  padding: 0;
  background: transparent;
  color: var(--ink);
  font: var(--fw-accent) var(--fs-small)/31px 'Google Sans', sans-serif;
  font-variant-numeric: tabular-nums;
  text-align: center;
}

/* Cart page uses the same compact quantity stepper as the cart modal. */
.shopping-cart-table .cart-page-quantity,
.shopping-cart-table .cart-page-quantity .price-btn {
  width: auto;
  max-width: none;
  height: 31px;
  margin: 0;
}

.shopping-cart-table .cart-page-quantity__stepper {
  width: auto;
  height: 31px;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin: 0;
  border-radius: var(--r-control);
  background: var(--fill);
}

.shopping-cart-table .cart-page-quantity__stepper button {
  width: 29px;
  height: 31px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: var(--r-control);
  background: transparent;
  color: var(--ink);
}

@media (hover: hover) {
  .shopping-cart-table .cart-page-quantity__stepper button:hover {
    background: var(--fill-strong);
    color: var(--ink);
  }
}

.shopping-cart-table .cart-page-quantity__stepper button img {
  width: 16px;
  height: 16px;
}

.shopping-cart-table .cart-page-quantity__stepper input {
  width: 44px;
  min-width: 44px;
  height: 31px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: var(--fw-accent) var(--fs-small)/31px 'Google Sans', sans-serif;
  font-variant-numeric: tabular-nums;
  text-align: center;
}

.shopping-cart-modal .sitebar-cart .product-price-small {
  justify-content: flex-end;
  gap: 3px;
  margin: 0;
  color: var(--muted);
  font: var(--fw-secondary) var(--fs-caption)/13px 'Google Sans', sans-serif;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.shopping-cart-modal .sitebar-cart .product-price-small img {
  width: 10px;
  height: 10px;
  opacity: .55;
}

.shopping-cart-modal .cart-product-item--empty {
  color: var(--ink);
  font: var(--fw-body) var(--fs-body)/18px 'Google Sans', sans-serif;
}

@media (max-width: 360px) {
  .shopping-cart-modal .cart-product-item__grid {
    grid-template-columns: 48px minmax(0, 1fr) 96px;
    gap: 10px;
  }

  .shopping-cart-modal .cart-product-item__media,
  .shopping-cart-modal .cart-product-item__media > a,
  .shopping-cart-modal .cart-product-item__media img {
    width: 48px;
    height: 48px;
  }

  .shopping-cart-modal .cart-product-item__summary {
    min-width: 96px;
  }

  .shopping-cart-modal .sitebar-cart .price-increase-decrese-group input {
    width: 38px;
    min-width: 38px;
    font-size: var(--fs-caption);
  }
}

.modal-backdrop,
.offcanvas-backdrop {
  background: rgba(20, 15, 10, .28);
  backdrop-filter: blur(5px) saturate(135%);
  -webkit-backdrop-filter: blur(5px) saturate(135%);
  transition: opacity 260ms cubic-bezier(.32, .72, 0, 1);
  will-change: opacity, backdrop-filter;
}

.modal-backdrop.show,
.offcanvas-backdrop.show {
  opacity: 1;
}

.modal.is-measuring-product-names {
  display: block !important;
  visibility: hidden !important;
}

.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) 'Google Sans', sans-serif;
  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;
}

.search-modal__content {
  padding: 14px var(--inset-sheet) 26px;
}

.search-modal .select-search-option {
  padding: 0;
}

.search-modal .select-search-option .search-form input {
  padding: 0 52px 0 14px;
  outline: 0;
  background: #fff;
  color: var(--ink);
}

.search-modal .select-search-option .search-form input:focus {
  border-color: var(--brand);
  box-shadow: inset 0 0 0 1px var(--brand);
}

.search-modal .select-search-option .search-form .submit-btn {
  width: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0 var(--r-field) var(--r-field) 0;
  background: transparent;
  line-height: normal;
}

.search-modal .select-search-option .search-form .submit-btn img {
  width: 20px;
  height: 20px;
}

.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) 'Google Sans', sans-serif;
}

.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) 'Google Sans', sans-serif;
}

.fulfillment-geolocation-notice__copy > span {
  color: var(--muted);
  font: var(--fw-secondary) var(--fs-small)/16px 'Google Sans', sans-serif;
}

.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) 'Google Sans', sans-serif;
  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) 'Google Sans', sans-serif;
  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__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) 'Google Sans', sans-serif;
}

.fulfillment-option__details {
  margin: 0;
  max-width: 100%;
  color: var(--muted);
  overflow-wrap: anywhere;
  font: var(--fw-secondary) var(--fs-small) 'Google Sans', sans-serif;
}

.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) 'Google Sans', sans-serif;
  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 'Google Sans', sans-serif;
  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 'Google Sans', sans-serif;
  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 'Google Sans', sans-serif;
  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;
}

.auth-bottom-sheet .auth-bottom-sheet__dialog {
  max-width: 390px;
}

/* Newsletter exit popup */
.newsletter-exit-modal .newsletter-exit-modal__dialog {
  max-width: 800px;
}

.newsletter-exit-modal .newsletter-exit-modal__content {
  width: 100%;
}

.newsletter-exit-modal .newsletter-exit-modal__body {
  overflow-y: auto;
  overscroll-behavior: contain;
}

.newsletter-exit-modal__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: 368px;
}

.newsletter-exit-modal__panel {
  min-width: 0;
  padding: 38px 32px 32px;
}

.newsletter-exit-modal__title {
  margin: 0 0 18px;
  color: var(--ink);
  font: var(--fw-accent) var(--fs-title)/22px var(--font-ui);
  letter-spacing: -.01em;
}

.newsletter-exit-modal__subtitle {
  margin: 0 0 18px;
  color: var(--muted);
  font: var(--fw-body) var(--fs-body)/var(--lh-body) var(--font-ui);
}

.newsletter-exit-modal__media {
  min-width: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.newsletter-exit-modal .alert {
  border-radius: var(--r-field);
  font: var(--fw-body) var(--fs-body)/var(--lh-body) var(--font-ui);
}

@media (max-width: 991.98px) {
  .newsletter-exit-modal .newsletter-exit-modal__dialog {
    max-width: none;
  }

  .newsletter-exit-modal__layout {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      'media'
      'panel';
    min-height: 0;
  }

  .newsletter-exit-modal__panel {
    grid-area: panel;
    padding: 24px var(--inset-sheet) 26px;
  }

  .newsletter-exit-modal__media {
    grid-area: media;
    min-height: 190px;
  }

  .newsletter-exit-modal__title {
    padding-right: 46px;
  }
}

/* The country dropdown mounts in the modal root, outside clipped modal content. */
.iti--container {
  z-index: 1080;
}

.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;
}

.auth-bottom-sheet .otp-step {
  padding: 0 var(--inset-sheet) 24px;
}

.auth-bottom-sheet__header {
  min-height: 68px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 46px 14px 0;
}

.auth-bottom-sheet .auth-title {
  min-width: 0;
  margin: 0;
  color: var(--ink);
  font: var(--fw-accent) var(--fs-title)/22px 'Google Sans', sans-serif;
  letter-spacing: -.01em;
}

.auth-bottom-sheet .auth-subtitle {
  margin: 0 0 18px;
  color: var(--muted);
  font: var(--fw-body) var(--fs-body)/18px 'Google Sans', sans-serif;
}

.auth-bottom-sheet .form-control {
  min-height: 48px;
  border: 1px solid var(--line);
  color: var(--ink);
  box-shadow: none;
}

.auth-bottom-sheet .form-control:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 1px var(--brand);
}

.auth-bottom-sheet .form-control.is-invalid,
.auth-bottom-sheet .form-control.is-invalid:focus {
  border-color: var(--danger);
}

.auth-bottom-sheet .form-control.is-invalid:focus {
  box-shadow: 0 0 0 1px var(--danger);
}

.auth-bottom-sheet .auth-policy,
.auth-bottom-sheet .otp-timer {
  color: var(--muted);
  font-family: 'Google Sans', sans-serif;
}

.auth-bottom-sheet .auth-policy {
  margin-top: 12px !important;
  font-size: var(--fs-caption);
  font-weight: var(--fw-secondary);
  line-height: 16px;
}

.auth-bottom-sheet .otp-timer {
  margin-top: 10px !important;
  font-size: var(--fs-small);
  line-height: 17px;
}

.auth-bottom-sheet .otp-resend-button {
  width: auto;
  height: 32px;
  margin: 0 auto;
  padding: 0 6px;
  font-size: var(--fs-small);
}

.auth-bottom-sheet #otpHelpLink {
  color: var(--ink);
  font: var(--fw-body) var(--fs-body)/18px 'Google Sans', sans-serif;
  text-decoration: none;
}

.auth-bottom-sheet .otp-loader {
  border-radius: inherit;
}

.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) 'Google Sans', sans-serif;
  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: 'Google Sans', sans-serif;
}

.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) 'Google Sans', sans-serif;
}

.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) 'Google Sans', sans-serif;
}

.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 'Google Sans', sans-serif;
}

.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 'Google Sans', sans-serif;
}

.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 'Google Sans', sans-serif;
}

.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) 'Google Sans', sans-serif;
}

.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) 'Google Sans', sans-serif;
  font-variant-numeric: tabular-nums;
}

.pickup-shop-selector__status {
  color: var(--ok);
  font: var(--fw-label) var(--fs-caption) 'Google Sans', sans-serif;
}

.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) 'Google Sans', sans-serif;
  letter-spacing: -.01em;
}

.delivery-address-delete-message {
  margin: 0;
  color: var(--muted);
  font: var(--fw-body) var(--fs-body)/18px 'Google Sans', sans-serif;
}

.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;
  }

  .product-bottom-sheet .product-bottom-sheet__dialog {
    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;
  }
}

/* Floating mobile navigation from the etap0 returning-visit screens. */
.mobile-footer.mobile-footer--rebuild {
  right: var(--inset-screen);
  bottom: max(var(--inset-screen), env(safe-area-inset-bottom));
  left: var(--inset-screen);
  z-index: 1030;
  width: auto;
  height: 60px !important;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0;
  border: 0;
  background: transparent;
  font-family: 'Google Sans', sans-serif;
}

@media (min-width: 576px) and (max-width: 1199.98px) {
  .mobile-footer.mobile-footer--rebuild {
    right: auto;
    left: 50%;
    width: min(440px, calc(100% - var(--inset-screen) - var(--inset-screen)));
    transform: translateX(-50%);
  }
}

.mobile-footer__tabs,
.mobile-footer__search {
  border: 1px solid rgba(255, 255, 255, .65);
  background: rgba(247, 247, 247, .82);
  box-shadow: 0 0 10px rgba(0, 0, 0, .14);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
}

.mobile-footer__tabs {
  min-width: 0;
  height: 60px;
  flex: 1;
  display: flex;
  align-items: center;
  padding: 0 2px;
  border-radius: var(--r-sheet);
}

.mobile-footer__item-wrap,
.mobile-footer__item {
  min-width: 0;
  height: 52px;
  flex: 1;
}

.mobile-footer__item-wrap {
  display: flex;
}

.mobile-footer__item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  padding: 0 1px;
  border: 0;
  border-radius: 22px;
  outline: 0;
  background: transparent;
  color: rgba(29, 26, 22, .42);
  cursor: pointer;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.mobile-footer__item::before {
  position: absolute;
  inset: 0 2px;
  border-radius: 22px;
  background: rgba(237, 237, 237, .9);
  content: '';
  opacity: 0;
  transition: opacity 140ms ease;
}

.mobile-footer__item.is-active {
  color: var(--brand);
}

.mobile-footer__item.is-active::before {
  opacity: 1;
}

.mobile-footer__icon,
.mobile-footer__label {
  position: relative;
  z-index: 1;
}

.mobile-footer__icon {
  --mobile-footer-icon: none;
  position: relative;
  width: 22px;
  height: 22px;
  display: flex;
  flex: 0 0 22px;
}

.mobile-footer__icon::before {
  position: absolute;
  inset: 0;
  background: currentColor;
  -webkit-mask: var(--mobile-footer-icon) center / contain no-repeat;
  mask: var(--mobile-footer-icon) center / contain no-repeat;
  content: '';
}

.mobile-footer__icon--home {
  --mobile-footer-icon: url('/assets/default/images/svg/Home.svg?ver=07082604');
}

.mobile-footer__icon--catalog {
  --mobile-footer-icon: url('/assets/default/images/svg/tab-catalog.svg');
}

.mobile-footer__icon--cart {
  --mobile-footer-icon: url('/assets/default/images/svg/Bag.svg?ver=07082604');
}

.mobile-footer__icon--profile {
  --mobile-footer-icon: url('/assets/default/images/svg/User.svg?ver=07082604');
}

.mobile-footer__icon--search {
  --mobile-footer-icon: url('/assets/default/images/svg/Search.svg?ver=07082604');
}

.mobile-footer__label {
  max-width: 100%;
  overflow: hidden;
  font: var(--fw-label) var(--fs-caption) 'Google Sans', sans-serif;
  letter-spacing: -.01em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mobile-footer__item--info {
  justify-content: center;
}

.mobile-footer__item--info .mobile-footer__label {
  font-size: var(--fs-caption);
}

.mobile-footer__search {
  width: 54px;
  height: 60px;
  flex: 0 0 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: var(--r-sheet);
  color: rgba(29, 26, 22, .65);
}

.mobile-footer__search.is-active {
  color: var(--brand);
}

.mobile-footer__icon .ajaxCount {
  position: absolute;
  top: -4px;
  left: 52%;
  z-index: 2;
  width: max-content;
  height: auto;
  -webkit-mask: none;
  mask: none;
}

.mobile-footer__icon .ajaxCount .count {
  min-width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border-radius: 8px;
  background: var(--sale);
  box-shadow: 0 1px 3px rgba(0, 0, 0, .24);
  color: #fff;
  font: var(--fw-accent) var(--fs-caption) 'Google Sans', sans-serif;
  font-variant-numeric: tabular-nums;
}

@media (hover: hover) {
  .mobile-footer__item:hover,
  .mobile-footer__search:hover {
    color: var(--brand);
  }
}

.mobile-footer__item:active,
.mobile-footer__search:active {
  transform: scale(.97);
  transition: transform 80ms ease;
}

.mobile-footer__item:focus-visible,
.mobile-footer__search:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

@media (max-width: 1199.98px) {
  .page-layout {
    padding-bottom: calc(84px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 767.98px) {
  .product-details-page .cart-prices {
    bottom: calc(72px + max(var(--inset-screen), env(safe-area-inset-bottom)));
    z-index: 1020;
    margin: 0;
    background: #fff;
  }

  .product-details-page .cart-prices::after {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    height: calc(72px + max(var(--inset-screen), env(safe-area-inset-bottom)));
    background: #fff;
    content: '';
  }

  .product-details-page ~ .description-review-area {
    padding-bottom: calc(172px + env(safe-area-inset-bottom));
  }
}

.product-details-content .buy-now,
.product-details-content .rate-now,
.product-details-content .out-stock {
  border-radius: var(--r-field);
}

.product-details-content .price-increase-decrese-group button {
  border-radius: var(--r-control);
}

/* Shared horizontal category chips: category pages and marker group pages. */
.category-chip-row {
  align-items: center;
}

.category-chip-nav {
  min-width: 0;
  overflow: visible;
  padding: 10px 0;
}

.category-chip-nav__scroll {
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.category-chip-nav__scroll::-webkit-scrollbar {
  display: none;
}

@media (hover: hover) and (pointer: fine) {
  .category-chip-nav__scroll {
    cursor: grab;
    user-select: none;
  }

  .category-chip-nav__scroll.is-mouse-dragging {
    cursor: grabbing;
    user-select: none;
  }

  .category-chip-nav .category-chip {
    cursor: grab;
    -webkit-user-drag: none;
  }

  .category-chip-nav__scroll.is-mouse-dragging .category-chip {
    cursor: grabbing;
  }
}

.category-chip-nav .category-chip-nav__list {
  width: max-content;
  min-width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.category-chip-nav .category-chip-nav__item,
.category-chip-nav .category-chip-nav__item:first-child,
.category-chip-nav .category-chip-nav__item:last-child {
  margin: 0 !important;
  padding: 0 !important;
}

.category-chip-nav .category-chip {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: var(--r-control);
  background: #fff;
  color: var(--ink);
  font: var(--fw-label) var(--fs-small)/1 'Google Sans', sans-serif;
  text-decoration: none;
  white-space: nowrap;
}

.category-chip-nav .category-chip span {
  margin: 0;
  color: inherit;
}

.category-chip-nav .category-chip-nav__item.active .category-chip,
.category-chip-nav .category-chip.active,
.category-chip-nav .category-chip[aria-current='true'] {
  border-color: transparent;
  background: var(--brand);
  color: #fff;
}

@media (hover: hover) {
  .category-chip-nav .category-chip:hover {
    border-color: var(--brand);
    background: var(--fill);
    color: var(--brand);
  }

  .category-chip-nav .category-chip-nav__item.active .category-chip:hover,
  .category-chip-nav .category-chip.active:hover,
  .category-chip-nav .category-chip[aria-current='true']:hover {
    border-color: transparent;
    background: var(--brand-deep);
    color: #fff;
  }
}

@media (min-width: 992px) {
  .category-chip-row .breadcrumb-back {
    height: 32px;
    display: inline-flex !important;
    align-items: center;
    margin-bottom: 0;
    border-radius: var(--r-control);
    line-height: 1;

  }

  .category-chip-row > .breadcrumb-back:last-child {
    margin: 10px 0;
  }
}

@media (max-width: 991.98px) {
  .category-chip-nav {
    --category-chip-inset: var(--inset-screen);

    width: 100vw;
    flex: 0 0 100vw;
    margin-left: calc(-1 * var(--category-chip-inset));
  }

  .category-chip-nav__scroll {
    -webkit-mask-image: linear-gradient(
      90deg,
      #000 calc(100% - 40px),
      rgba(0, 0, 0, .94) calc(100% - 32px),
      rgba(0, 0, 0, .76) calc(100% - 24px),
      rgba(0, 0, 0, .46) calc(100% - 16px),
      rgba(0, 0, 0, .18) calc(100% - 8px),
      transparent
    );
    mask-image: linear-gradient(
      90deg,
      #000 calc(100% - 40px),
      rgba(0, 0, 0, .94) calc(100% - 32px),
      rgba(0, 0, 0, .76) calc(100% - 24px),
      rgba(0, 0, 0, .46) calc(100% - 16px),
      rgba(0, 0, 0, .18) calc(100% - 8px),
      transparent
    );
  }

  .category-chip-nav .category-chip-nav__list {
    padding-left: var(--category-chip-inset);
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  .category-chip-nav {
    --category-chip-inset: calc((100vw - 540px) / 2 + 8px);
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .category-chip-nav {
    --category-chip-inset: calc((100vw - 720px) / 2 + 8px);
  }
}

/* Home header from handoff §6.4–§6.5. Its height never depends on address state. */
.mobile-home-header {
  height: 68px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px var(--inset-screen) 12px;
  background: var(--bg);
}

.mobile-home-header__logo {
  height: 38px;
  display: block;
  flex: 0 0 auto;
}

.mobile-home-header__logo img {
  width: auto;
  height: 38px;
  display: block;
}

.mobile-home-header__location {
  min-width: 0;
  height: 34px;
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1px;
  padding: 0;
  margin-top: 0;
  border: 0;
  background: transparent;
  text-align: left;
}

.mobile-home-header__delivery {
  position: relative;
  min-width: 0;
  height: 34px;
  flex: 1;
  margin-top: 12px;
}

.mobile-home-header__meta {
  display: block;
  overflow: visible;
  color: var(--muted);
  font: var(--fw-label) var(--fs-caption) 'Google Sans', sans-serif;
  white-space: nowrap;
}

.mobile-home-header__value-row {
  width: fit-content;
  max-width: 100%;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 5px;
  overflow: hidden;
}

.mobile-home-header__value {
  min-width: 0;
  max-width: 100%;
  display: block;
  flex: 0 1 auto;
  overflow: hidden;
  color: var(--ink);
  font: var(--fw-accent) var(--fs-body) 'Google Sans', sans-serif;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mobile-home-header__caret {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  opacity: .55;
  transform: rotate(90deg);
}

.mobile-home-header__spacer {
  min-width: 0;
  flex: 1;
}

.mobile-home-header__languages {
  height: 34px;
  display: flex;
  flex: 0 0 auto;
  padding: 3px;
  margin-top: 12px;
  border-radius: var(--r-field);
  background: var(--fill);
}

.mobile-home-header__language {
  min-width: 38px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-control);
  color: var(--muted);
  font: var(--fw-label) var(--fs-small) 'Google Sans', sans-serif;
  letter-spacing: .02em;
  text-decoration: none;
}

.mobile-home-header__language.is-active {
  background: #fff;
  color: var(--ink);
  font-weight: var(--fw-accent);
}

@media (hover: hover) {
  .mobile-home-header__location:hover .mobile-home-header__value,
  .mobile-home-header__language:hover {
    color: var(--brand);
  }
}

.mobile-home-header__location:active,
.mobile-home-header__language:active,
.mobile-home-header__logo:active {
  transform: scale(.97);
  transition: transform 80ms ease;
}

.mobile-home-header__location:focus-visible,
.mobile-home-header__language:focus-visible,
.mobile-home-header__logo:focus-visible {
  border-radius: var(--r-control);
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

/* Opt-in inner-page header: back action + centered Blade header_block. */
.mobile-page-header {
  height: 68px;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) 32px;
  align-items: center;
  gap: 8px;
  padding: 10px var(--inset-screen) 12px;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.mobile-page-header__back,
.mobile-page-header__balance {
  width: 32px;
  height: 40px;
}

.mobile-page-header__back {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  border-radius: var(--r-control);
  color: var(--ink);
}

.mobile-page-header__back svg {
  width: 20px;
  height: 20px;
  display: block;
}

.mobile-page-header__content {
  min-width: 0;
  color: var(--ink);
  font: var(--fw-accent) var(--fs-title)/1.2 'Google Sans', sans-serif;
  letter-spacing: -.01em;
  text-align: center;
}

.mobile-page-header__content .header-block-title {
  overflow: hidden;
  font: inherit;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mobile-page-header__back:active {
  transform: scale(.94);
}

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

@media (max-width: 1199.98px) {
  .header.header--mobile-rebuild .header-top {
    height: 68px;
    padding: 0;
    border-bottom: 0;
    background: var(--bg);
  }

  .header--home + .header-overlay {
    height: 68px;
  }

  .header--mobile-page + .header-overlay {
    height: 68px;
  }
}

/* Fixed header fulfillment prompts: first visit (§4.1) and session confirm (§6.5). */
.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 'Google Sans', sans-serif;
  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) 'Google Sans', sans-serif;
  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);
  }
}

/* Product tiles — etap0 handoff, §6.3. Marker styles intentionally remain legacy. */
.product-list:has(> .col > .catalog-product-card) {
  --bs-gutter-x: 12px;
  --bs-gutter-y: 10px;
}

.catalog-product-card.product-item {
  --product-cart-hover-bg: color-mix(in srgb, var(--accent) 86%, #000);
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.catalog-product-card.product-item .catalog-product-card__media {
  position: relative;
  margin: 0;
  padding: 0;
}

.catalog-product-card.product-item .catalog-product-card__media .thumb-container {
  width: 100%;
  padding-top: 0;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--r-photo);
  background: var(--fill);
}

.catalog-product-card.product-item .catalog-product-card__media .thumb-container a {
  width: 100%;
  height: 100%;
  display: block;
  cursor: pointer;
}

.catalog-product-card.product-item .catalog-product-card__media .thumb-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.catalog-product-card__cart {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 3;
  height: 34px;
  display: flex;
  justify-content: flex-end;
}

.catalog-product-card.product-item .product-content .catalog-product-card__add,
.catalog-product-card__stepper {
  height: 34px;
  border: 0;
  border-radius: var(--r-control);
  background: var(--accent);
  color: var(--on-accent);
  box-shadow: var(--shadow-raised);
}

.catalog-product-card.product-item .product-content .catalog-product-card__add,
.catalog-product-card.product-item .catalog-product-card__add {
  width: 34px;
  min-width: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: var(--r-control);
  background: var(--accent);
  color: var(--on-accent);
  box-shadow: var(--shadow-raised);
  cursor: pointer;
  transition: background-color 160ms ease;
}

.catalog-product-card.product-item .catalog-product-card__add:hover {
  background: var(--product-cart-hover-bg);
  color: var(--on-accent) !important;
}

.catalog-product-card.product-item .catalog-product-card__add:focus-visible,
.catalog-product-card.product-item .catalog-product-card__stepper button:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.catalog-product-card__stepper.price-btn {
  min-width: 104px;
  padding: 0;
  overflow: hidden;
}

.catalog-product-card__stepper .price-increase-decrese-group {
  width: auto;
  height: 34px;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  border-radius: var(--r-control);
}

.catalog-product-card__stepper .price-increase-decrese-group button {
  width: 32px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: var(--r-control);
  background: transparent;
  color: var(--on-accent) !important;
  transition: background-color 160ms ease;
}

.catalog-product-card__stepper .price-increase-decrese-group button:hover {
  border-radius: var(--r-control);
  background: var(--product-cart-hover-bg);
  color: var(--on-accent) !important;
}

.catalog-product-card__add svg,
.catalog-product-card__stepper button svg {
  display: block;
  color: inherit;
  pointer-events: none;
}

.catalog-product-card__add svg path,
.catalog-product-card__stepper button svg path,
.catalog-product-card__add:hover svg path,
.catalog-product-card__stepper button:hover svg path {
  fill: currentColor !important;
}

.catalog-product-card__stepper .price-increase-decrese-group .disabled {
  color: var(--on-accent);
  opacity: .35;
}

.catalog-product-card__stepper .price-increase-decrese-group input {
  width: 40px;
  min-width: 40px;
  height: 34px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--on-accent);
  font: var(--fw-accent) var(--fs-body) 'Google Sans', sans-serif;
  font-variant-numeric: tabular-nums;
  line-height: 34px;
  text-align: center;
}

.catalog-product-card__stepper .price-increase-decrese-group .counter_overlay {
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: var(--r-control);
  background-color: var(--accent);
}

.catalog-product-card.product-item .catalog-product-card__content {
  padding: 0;
}

.catalog-product-card.product-item .catalog-product-card__price-row {
  height: auto;
  min-height: 18px;
  display: flex;
  align-items: baseline;
  margin: 7px 0 0;
}

.catalog-product-card.product-item .catalog-product-card__price-row .price {
  min-width: 0;
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin: 0;
  color: var(--ink);
  font: var(--fw-accent) var(--fs-field) 'Google Sans', sans-serif;
  font-variant-numeric: tabular-nums;
  line-height: 18px;
  white-space: nowrap;
}

.catalog-product-card.product-item .catalog-product-card__price-row .price.is-sale > span {
  color: var(--sale);
}

.catalog-product-card.product-item .catalog-product-card__price-row .price del {
  margin: 0;
  color: var(--muted);
  font: var(--fw-secondary) var(--fs-small) 'Google Sans', sans-serif;
  line-height: 1;
  text-decoration-thickness: 1px;
}

.catalog-product-card__name {
  height: 36px;
  display: block;
  margin-top: 3px;
  overflow: hidden;
  color: var(--ink);
  font: var(--fw-body) var(--fs-body)/18px 'Google Sans', sans-serif;
}

.catalog-product-card__name:hover {
  color: var(--ink);
}

.catalog-product-card__volume {
  color: var(--muted);
  white-space: nowrap;
}

.catalog-product-card__unit-price {
  min-height: 14px;
  margin-top: 2px;
  overflow: hidden;
  color: var(--muted);
  font: var(--fw-secondary) var(--fs-caption) 'Google Sans', sans-serif;
  font-variant-numeric: tabular-nums;
  line-height: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.catalog-product-card.is-unavailable .thumb-container,
.catalog-product-card.is-unavailable .catalog-product-card__price-row,
.catalog-product-card.is-unavailable .catalog-product-card__name,
.catalog-product-card.is-unavailable .catalog-product-card__unit-price {
  opacity: .38;
}

.catalog-product-card__availability {
  min-height: 18px;
  margin-top: 4px;
}

.catalog-product-card.product-item .product-content .catalog-product-card__availability .empty-btn {
  height: auto;
  display: inline-flex;
  justify-content: flex-start;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--brand);
  font: var(--fw-accent) var(--fs-caption) 'Google Sans', sans-serif;
  line-height: 14px;
}

@media (min-width: 768px) {
  .product-list:has(> .col > .catalog-product-card) {
    --bs-gutter-x: 20px;
    --bs-gutter-y: 22px;
  }

  .catalog-product-card.product-item .catalog-product-card__price-row .price {
    font-size: var(--fs-title);
    line-height: 20px;
  }

  .catalog-product-card.product-item .catalog-product-card__price-row .price del {
    font-size: var(--fs-body);
    font-weight: var(--fw-body);
    line-height: 1;
  }

  .catalog-product-card__name {
    height: 38px;
    font-size: var(--fs-body);
    line-height: 19px;
  }

  .catalog-product-card__unit-price {
    font-size: var(--fs-small);
    line-height: 16px;
  }
}

/* Checkout fulfillment confirmation · handoff §4.5 / §8.5 */
.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) 'Google Sans', sans-serif;
  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 · handoff Checkout §4.5 */
.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) 'Google Sans', sans-serif;
}

.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-fast-summary {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 2px;
  border-radius: var(--r-field);
  background: var(--fill);
  color: var(--ink);
  font: var(--fw-accent) var(--fs-field) 'Google Sans', sans-serif;
  font-variant-numeric: tabular-nums;
}

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

.checkout-delivery-time-fast-summary small {
  color: var(--muted);
  font: var(--fw-secondary) var(--fs-caption) 'Google Sans', sans-serif;
}

.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) 'Google Sans', sans-serif;
  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) 'Google Sans', sans-serif;
}

.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) 'Google Sans', sans-serif;
}

.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 · handoff Checkout §4.5 / §8.5 */
.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 'Google Sans', sans-serif;
}

.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 'Google Sans', sans-serif;
}

.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 'Google Sans', sans-serif;
}

.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) 'Google Sans', sans-serif;
  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 recipient and invoice · handoff Checkout §4.5. */
.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 'Google Sans', sans-serif;
}

.checkout-customer-card__phone {
  color: var(--muted);
  font: var(--fw-secondary) var(--fs-small)/16px 'Google Sans', sans-serif;
  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 'Google Sans', sans-serif;
}

.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 'Google Sans', sans-serif;
  cursor: pointer;
}

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

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

.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) 'Google Sans', sans-serif;
  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__field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.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 'Google Sans', sans-serif;
  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-invoice__field-grid {
    grid-template-columns: 1fr;
  }
}

.alert {
  border-radius: var(--r-field);
}

/* Checkout · final confirmation — mobile fixed order action. */
.checkout-mobile-submit {
  display: none;
}

@media (max-width: 1199.98px) {
  .billing-form {
    padding-bottom: calc(40px + env(safe-area-inset-bottom));
  }

  .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) 'Google Sans', sans-serif;
	}

	.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 'Google Sans', sans-serif;
		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 'Google Sans', sans-serif;
		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 · what is in the total. */
.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 'Google Sans', sans-serif;
	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 'Google Sans', sans-serif;
}

.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 'Google Sans', sans-serif;
}

.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;
}

.iti__selected-dial-code, .otp-input {
  font-size: 1.25rem;
}

.product-popup .product-details-content h1 {
  margin-right: 54px;
}

@media (max-width: 767px) {
  .product-popup .product-details-content h1 {
    margin-right: 0;
  }
}

/* Profile · mobile navigation accordion. */
@media (max-width: 991.98px) {
  .admin-page-section {
    height: auto;
    min-height: 200px;
    padding: 42px 0 28px;
  }

  .admin-page-section .admin-content-area,
  .admin-page-section .admin-content {
    width: 100%;
  }

  .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;
  }
}
