﻿@import url("legacy-styles.css?v=20260403-9");

:root {
    --system-bg: #EBEBEB;
    --system-surface: #FFFFFF;
    --system-surface-alt: #F7F7F7;
    --system-border: #E0E0E0;
    --system-text: #333333;
    --system-muted: #666666;
    --system-primary: #3483FA;
    --system-primary-dark: #2968C8;
    --system-primary-ink: #FFFFFF;
    --system-danger: #F23D4F;
    --system-danger-bg: #FDECEF;
    --system-success: #00A650;
    --system-success-bg: #E7F8EF;
    --system-shadow: 0 24px 60px rgba(0, 0, 0, 0.08);
    --system-radius: 22px;
}

body.system-body {
    margin: 0;
    min-height: 100vh;
    background: linear-gradient(180deg, #F5F5F5 0%, #EBEBEB 100%);
    color: var(--system-text);
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.system-body * {
    box-sizing: border-box;
}

.system-body a {
    color: inherit;
}

.system-shell {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 32px 0 56px;
}

.system-shell--narrow {
    width: min(560px, calc(100% - 32px));
    padding-top: 64px;
}

.system-card {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(216, 225, 236, 0.95);
    border-radius: var(--system-radius);
    box-shadow: var(--system-shadow);
    padding: 24px;
    margin-bottom: 20px;
}

.system-card--hero {
    background: radial-gradient(circle at top left, rgba(255, 241, 89, 0.18), transparent 42%), var(--system-surface);
}

.system-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.system-toolbar__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.system-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 185, 0, 0.14);
    color: var(--system-primary-dark);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.system-body h1,
.system-body h2,
.system-body h3,
.system-body p {
    margin-top: 0;
}

.system-body h1 {
    margin-bottom: 12px;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.05;
}

.system-body h2 {
    margin-bottom: 10px;
    font-size: 22px;
}

.system-body p {
    color: var(--system-muted);
    line-height: 1.6;
}

.system-grid {
    display: grid;
    gap: 20px;
}

.system-grid--panel {
    grid-template-columns: 1fr;
}

.system-grid--install {
    grid-template-columns: 1fr;
}

.system-form {
    display: grid;
    gap: 14px;
}

.system-label {
    display: block;
    font-weight: 600;
    color: var(--system-text);
}

.system-input,
.system-textarea,
.system-select {
    width: 100%;
    border: 1px solid var(--system-border);
    border-radius: 14px;
    background: var(--system-surface-alt);
    color: var(--system-text);
    font: inherit;
    padding: 12px 14px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.system-input:focus,
.system-textarea:focus,
.system-select:focus {
    border-color: rgba(214, 148, 0, 0.68);
    box-shadow: 0 0 0 4px rgba(255, 185, 0, 0.18);
    background: #ffffff;
}

.system-textarea {
    min-height: 120px;
    resize: vertical;
}

.system-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 6px;
}

.system-button {
    appearance: none;
    border: 0;
    border-radius: 999px;
    background: var(--system-primary);
    color: var(--system-primary-ink);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font: inherit;
    font-weight: 700;
    min-height: 46px;
    padding: 0 18px;
    text-decoration: none;
    transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.system-button:hover {
    background: var(--system-primary-dark);
    transform: translateY(-1px);
}

.system-button--ghost {
    background: transparent;
    color: var(--system-text);
    border: 1px solid var(--system-border);
}

.system-button--ghost:hover {
    background: #ffffff;
}

.system-message {
    border-left: 4px solid var(--system-border);
}

.system-message--success {
    border-left-color: var(--system-success);
    background: linear-gradient(180deg, var(--system-success-bg) 0%, #ffffff 100%);
}

.system-message--error {
    border-left-color: var(--system-danger);
    background: linear-gradient(180deg, var(--system-danger-bg) 0%, #ffffff 100%);
}

.system-list {
    margin: 0;
    padding-left: 18px;
}

.system-panel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.system-counter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: rgba(255, 185, 0, 0.18);
    color: var(--system-primary-dark);
    font-weight: 700;
}

.system-empty {
    padding: 28px;
    border: 1px dashed var(--system-border);
    border-radius: 18px;
    background: rgba(248, 251, 255, 0.9);
}

.system-table-wrap {
    overflow-x: auto;
}

.system-table {
    width: 100%;
    border-collapse: collapse;
}

.system-table th,
.system-table td {
    padding: 14px 10px;
    border-bottom: 1px solid rgba(216, 225, 236, 0.92);
    text-align: left;
    vertical-align: top;
}

.system-table th {
    color: var(--system-muted);
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.system-table small {
    display: block;
    margin-top: 6px;
    color: var(--system-muted);
}

.system-row-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.system-row-actions form {
    margin: 0;
}

.system-link {
    border: 0;
    background: none;
    color: var(--system-primary-dark);
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    padding: 0;
    text-decoration: none;
}

.system-link--danger {
    color: var(--system-danger);
}

.system-code {
    overflow-x: auto;
    border-radius: 18px;
    background: #0f172a;
    color: #e2e8f0;
    padding: 18px;
    font-family: Consolas, Monaco, monospace;
    font-size: 13px;
    line-height: 1.6;
}

@media (min-width: 960px) {
    .system-grid--panel {
        grid-template-columns: minmax(360px, 420px) minmax(0, 1fr);
        align-items: start;
    }

    .system-grid--install {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .system-shell {
        width: min(100% - 20px, 100%);
        padding-top: 20px;
    }

    .system-card {
        padding: 18px;
        border-radius: 18px;
    }

    .system-toolbar {
        flex-direction: column;
    }

    .system-toolbar__actions,
    .system-actions {
        width: 100%;
    }

    .system-button,
    .system-button--ghost {
        width: 100%;
    }

    .system-row-actions {
        flex-direction: column;
        align-items: flex-start;
    }
}
.cart-drawer__totals,
.chat-summary__totals {
  display: grid;
  gap: 10px;
}

.cart-drawer__row,
.chat-summary__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: rgba(16, 23, 20, 0.72);
  font-weight: 700;
}

.cart-drawer__row strong,
.chat-summary__row strong {
  font-size: 1rem;
}

.cart-drawer__row--discount,
.chat-summary__row--discount {
  color: #1b6a36;
}

.cart-drawer__row--total,
.chat-summary__row--total {
  color: #101714;
}

.cart-drawer__row--total strong,
.chat-summary__row--total strong {
  font-size: 1.08rem;
}

.cart-drawer__caption,
.chat-summary__caption,
.chat-panel__caption {
  margin: 0;
  color: rgba(16, 23, 20, 0.68);
  font-size: 0.92rem;
  line-height: 1.5;
}

.chat-panel__caption {
  max-width: 34ch;
}

.chat-summary__combos {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.chat-summary__combo {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(27, 106, 54, 0.18);
  background: rgba(27, 106, 54, 0.1);
  color: #1b6a36;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.2;
}

.chat-summary__item--combo {
  border-color: rgba(255, 185, 0, 0.24);
  background: linear-gradient(180deg, rgba(255, 248, 228, 0.9), rgba(255, 255, 255, 0.98));
}

.chat-summary__item-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 185, 0, 0.2);
  color: #7a5200;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.chat-summary__item-note {
  margin: 6px 0 0;
  color: #7a5200;
  font-size: 0.83rem;
  font-weight: 700;
}

.chat-summary__item {
  display: grid;
  gap: 8px;
}

.chat-summary__item-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  align-items: start;
  gap: 12px;
}

.chat-summary__item-title {
  min-width: 0;
  line-height: 1.28;
}

.chat-summary__item-price {
  justify-self: end;
  align-self: start;
  white-space: nowrap;
  text-align: right;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
}

.chat-summary__item-meta {
  min-width: 0;
}

.customer-access-menu__section--leading {
  padding-top: 0;
  border-top: 0;
}

.product-card__price {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  color: var(--color-price-regular);
  font-size: 1.12rem;
  font-weight: 900;
  line-height: 1.1;
}

.product-card__price--regular {
  min-height: 48px;
}

.product-card__price--offer {
  display: grid;
  grid-template-columns: auto;
  grid-template-areas:
    "now"
    "was";
  align-items: start;
  justify-content: start;
  gap: 7px;
  color: var(--color-price-offer);
}

.product-card__price-regular {
  display: inline-flex;
  align-items: center;
  padding: 9px 14px;
  border-radius: 16px;
  border: 1px solid rgba(224, 224, 224, 0.92);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 247, 247, 1));
  box-shadow:
    0 10px 18px rgba(0, 0, 0, 0.06),
    0 3px 8px rgba(0, 0, 0, 0.04);
  color: var(--color-price-regular);
  font-size: 1.58rem;
  font-weight: 950;
  letter-spacing: -0.03em;
  line-height: 1;
}

.product-card__price-now {
  grid-area: now;
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 16px;
  background: linear-gradient(135deg, #19B76B 0%, #00A650 62%, #008F45 100%);
  box-shadow:
    0 10px 18px rgba(0, 166, 80, 0.18),
    0 4px 10px rgba(0, 166, 80, 0.16);
  color: #ffffff;
  text-shadow: 0 1px 1px rgba(0, 95, 45, 0.2);
  font-size: 1.64rem;
  font-weight: 950;
  letter-spacing: -0.03em;
  line-height: 1;
}

.product-card__price-was {
  grid-area: was;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
  padding: 5px 10px;
  border: 1px solid rgba(224, 224, 224, 0.82);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 247, 247, 0.98));
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.04);
  color: var(--color-price-old);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.product-card__price-was-label {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(0, 166, 80, 0.12);
  color: var(--color-offer-text);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.product-card__price-was-amount {
  color: var(--color-price-old);
  font-weight: 800;
  text-decoration: line-through;
  text-decoration-color: rgba(153, 153, 153, 0.9);
  text-decoration-thickness: 1.8px;
}

.catalog__grid--list .product-card__price {
  font-size: 1.18rem;
}

.catalog__grid--list .product-card__price-regular {
  font-size: 1.74rem;
}

.catalog__grid--list .product-card__price-now {
  font-size: 1.8rem;
}

.catalog__grid--list .product-card__price-was {
  font-size: 0.88rem;
}

.product-card__image-badge {
  position: static;
  display: none;
  align-self: flex-start;
  gap: 6px;
  max-width: 100%;
  margin: 0 0 4px;
  padding: 9px 14px;
  border: 1px solid rgba(45, 50, 119, 0.08);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 241, 89, 0.98), rgba(255, 230, 0, 0.96));
  box-shadow:
    0 10px 18px rgba(45, 50, 119, 0.08),
    0 3px 8px rgba(0, 0, 0, 0.04);
  color: var(--color-brand-ink);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1.05;
  text-transform: uppercase;
  white-space: normal;
}

.catalog__grid--list .product-card__image-badge {
  margin-bottom: 6px;
  font-size: 0.84rem;
}

.catalog__grid--products .product-card__image {
  height: clamp(138px, 15vw, 168px);
  padding: 6px;
  aspect-ratio: auto;
}

@media (min-width: 860px) {
  .catalog__grid--products .catalog-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.catalog__grid--products .product-card__body {
  display: grid;
  align-content: start;
  gap: 7px;
  padding: 9px 9px 10px;
}

.catalog__grid--products .product-card__body > * {
  min-width: 0;
}

.catalog__grid--products .product-card__image-badge {
  margin-bottom: 2px;
  padding: 6px 10px;
  font-size: 0.68rem;
}

.catalog__grid--products .product-card__title {
  display: -webkit-box;
  min-height: calc(1.12em * 2);
  overflow: hidden;
  font-size: 0.94rem;
  line-height: 1.12;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.catalog__grid--products .product-card__price {
  font-size: 0.96rem;
  gap: 4px 8px;
}

.catalog__grid--products .product-card__price-now {
  padding: 6px 10px;
  font-size: 1.28rem;
}

.catalog__grid--products .product-card__price-was {
  padding: 3px 8px;
  font-size: 0.72rem;
}

.catalog__grid--products .product-card__select {
  min-height: 36px;
  padding-inline: 8px;
  font-size: 0.88rem;
}

.product-card__actions {
  display: grid;
  gap: 10px;
  width: 100%;
}

.catalog__grid--products .product-card__actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.catalog__grid--products .product-card__actions .quantity-control {
  flex: 0 0 auto;
  width: auto;
  max-width: none;
  gap: 4px;
}

.catalog__grid--products .quantity-control__button {
  width: 34px;
  height: 34px;
}

.catalog__grid--products .quantity-control__value {
  min-width: 18px;
  font-size: 0.88rem;
}

.product-card__add-button {
  appearance: none;
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(45, 50, 119, 0.08);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 241, 89, 0.98), rgba(255, 230, 0, 0.96));
  box-shadow:
    0 10px 18px rgba(45, 50, 119, 0.08),
    0 3px 8px rgba(0, 0, 0, 0.04);
  color: var(--color-brand-ink);
  font-size: 0.94rem;
  font-weight: 900;
  letter-spacing: 0.01em;
  line-height: 1;
}

.product-card__add-button:hover,
.product-card__add-button:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(45, 50, 119, 0.14);
}

.catalog__grid--products .product-card__add-button {
  flex: 1 1 auto;
  min-height: 36px;
  padding-inline: 12px;
  font-size: 0.84rem;
}

.catalog__grid--list .product-card__body {
  grid-template-areas:
    "badge"
    "meta"
    "title"
    "price"
    "select"
    "actions";
}

.catalog__grid--list .product-card__image-badge {
  grid-area: badge;
  align-self: flex-start;
  margin-bottom: 2px;
}

.catalog__grid--list .product-card__meta {
  grid-area: meta;
}

.catalog__grid--list .product-card__actions {
  grid-area: actions;
  display: flex;
  align-items: center;
  gap: 12px;
}

.catalog__grid--list .product-card__actions .quantity-control {
  flex: 0 0 auto;
  width: auto;
}

.catalog__grid--list .product-card__add-button {
  flex: 1 1 auto;
  min-height: 46px;
}

.catalog-row--list.catalog-row--list-dual .product-card__actions {
  gap: 8px;
}

.catalog-row--list.catalog-row--list-dual .product-card__add-button {
  min-height: 40px;
  font-size: 0.82rem;
}

.catalog__grid--products .product-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-height: 100%;
}

.catalog__grid--products .product-card__image {
  width: 100%;
  border-right: 0;
}

.product-card__image {
  overflow: hidden;
}

.product-card__image-el {
  width: auto;
  height: auto;
  max-width: calc(100% - (var(--product-image-frame-inset) * 2));
  max-height: calc(100% - (var(--product-image-frame-inset) * 2));
  flex: 0 0 auto;
}

.catalog__grid--products .product-card__image,
.catalog__grid--list .product-card__image {
  align-items: center;
  justify-content: center;
}

.catalog__grid--list .product-card__image-el {
  transform: none;
}

.catalog__grid--products .product-card__body,
.catalog__grid--list .product-card__body {
  min-width: 0;
}

.catalog__grid--products .product-card__image-badge,
.catalog__grid--list .product-card__image-badge {
  position: static;
  top: auto;
  right: auto;
  width: fit-content;
  max-width: 100%;
  z-index: auto;
}

.catalog__grid--products .product-card__actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
}

.catalog__grid--products .product-card__actions .quantity-control {
  width: 100%;
  justify-content: center;
}

.catalog__grid--products .product-card__add-button {
  width: 100%;
}

.chat-checkout-page .chat-summary--menu-only {
  position: relative;
  z-index: 70;
  gap: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.chat-checkout-page .chat-summary--menu-only .chat-summary__menu {
  padding-bottom: 0;
  border-bottom: 0;
}

.chat-checkout-page .chat-summary--order {
  gap: 16px;
}

.chat-checkout-page .chat-summary--order .chat-summary__list {
  max-height: min(42vh, 420px);
  overflow-y: auto;
  padding-right: 4px;
}

.chat-checkout-page .chat-summary--order .empty-state--compact {
  padding: 18px 16px;
}

.chat-checkout-page .chat-panel__caption {
  max-width: none;
}

.chat-checkout-page .chat-panel {
  width: 100%;
  max-width: none;
}

.chat-checkout-page .chat-messages {
  max-height: 66vh;
}

.chat-checkout-page .chat-message--bot .chat-bubble {
  width: 100%;
  max-width: none;
}

.chat-checkout-page .chat-message--user .chat-bubble {
  max-width: min(100%, 560px);
}

.chat-checkout-page .chat-bubble--user {
  border-color: #996500;
  outline: 1px solid rgba(255, 255, 255, 0.86);
  box-shadow:
    0 16px 30px rgba(118, 78, 0, 0.24),
    0 0 0 1px rgba(153, 101, 0, 0.08);
}

.chat-checkout-page .chat-bubble--summary {
  width: 100%;
  max-width: none;
}

.chat-checkout-page .chat-order-summary__details {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.chat-checkout-page .chat-order-summary__row {
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  gap: 6px;
  min-height: 100%;
}

.chat-checkout-page .chat-order-summary__row dt {
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.chat-checkout-page .chat-order-summary__row dd {
  font-size: 1.02rem;
  line-height: 1.35;
}

.chat-checkout-page .chat-order-summary__row--total dd {
  font-size: 1.16rem;
}

@media (min-width: 1120px) {
  .chat-checkout-page .chat-order-summary__details {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .chat-checkout-page .chat-order-summary__row--total {
    grid-column: 1 / -1;
  }
}

@media (min-width: 721px) and (max-width: 1119px) {
  .chat-checkout-page .chat-order-summary__row--total {
    grid-column: auto;
  }
}

@media (max-width: 720px) {
  .chat-checkout-page .chat-order-summary__details {
    grid-template-columns: minmax(0, 1fr);
  }

  .chat-checkout-page .chat-order-summary__row--total {
    grid-column: auto;
  }

  .chat-checkout-page .chat-summary--order .chat-summary__list {
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }
}

.store-notice {
  padding: 10px 0 0;
}

.store-notice__surface {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid rgba(8, 116, 67, 0.16);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(236, 253, 243, 0.96), rgba(255, 255, 255, 0.98)),
    #ffffff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.store-notice__badge {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(8, 116, 67, 0.12);
  color: var(--system-success);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.store-notice__copy {
  flex: 1 1 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
  margin: 0;
  color: rgba(16, 23, 20, 0.78);
  font-size: 0.92rem;
  line-height: 1.35;
}

.store-notice__copy strong {
  color: #0f5132;
}

.store-notice__copy span {
  color: rgba(16, 23, 20, 0.68);
}

.store-notice__link,
.store-notice__dismiss {
  flex: 0 0 auto;
}

.store-notice__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(8, 116, 67, 0.14);
  background: #ffffff;
  color: #0f5132;
  font-size: 0.86rem;
  font-weight: 800;
  text-decoration: none;
}

.store-notice__dismiss {
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(15, 81, 50, 0.72);
  cursor: pointer;
}

.store-notice__dismiss svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.cart-drawer__footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: end;
  gap: 12px;
  padding: 12px 14px 14px;
  border-top: 1px solid rgba(111, 133, 120, 0.14);
  background:
    linear-gradient(180deg, rgba(247, 250, 248, 0.42), rgba(255, 255, 255, 0.98)),
    #ffffff;
  box-shadow: 0 -10px 26px rgba(15, 32, 25, 0.04);
}

.cart-drawer__totals {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid rgba(111, 133, 120, 0.18);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 248, 0.98));
  box-shadow: 0 10px 24px rgba(15, 32, 25, 0.05);
}

.cart-drawer__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.92rem;
  padding: 2px 0;
}

.cart-drawer__row strong {
  display: inline-flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 4px;
  white-space: nowrap;
  text-align: right;
  flex: 0 0 auto;
  font-size: 0.98rem;
}

.cart-drawer__amount-prefix {
  flex: 0 0 auto;
}

.cart-drawer__row--total strong {
  font-size: 1.06rem;
}

.cart-drawer__row--total {
  margin-top: 4px;
  padding: 10px 12px;
  border: 1px solid rgba(214, 148, 0, 0.28);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 185, 0, 0.16), rgba(255, 255, 255, 0.98));
  box-shadow: 0 10px 20px rgba(255, 185, 0, 0.08);
}

.cart-drawer__caption {
  display: none;
}

.cart-drawer__caption:not([hidden]) {
  display: block;
}

.cart-drawer__hint {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 185, 0, 0.34);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 248, 228, 0.94), rgba(255, 255, 255, 0.98));
}

.cart-drawer__hint-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.cart-drawer__hint-copy strong {
  color: #101714;
  font-size: 0.9rem;
}

.cart-drawer__hint-copy span {
  color: rgba(16, 23, 20, 0.72);
  font-size: 0.8rem;
  line-height: 1.4;
}

.cart-drawer__hint-btn {
  min-width: fit-content;
  padding-inline: 14px;
  white-space: nowrap;
}

.cart-line--combo {
  border-color: rgba(255, 185, 0, 0.34);
  background: linear-gradient(180deg, rgba(255, 249, 232, 0.98), rgba(255, 255, 255, 1) 78%);
  box-shadow: 0 12px 28px rgba(255, 185, 0, 0.08);
}

.cart-line__note {
  margin: 10px 0 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  max-width: 100%;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(8, 116, 67, 0.08);
  color: #146239;
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1.35;
}

.cart-drawer__actions {
  display: grid;
  grid-template-columns: minmax(108px, 0.88fr) minmax(0, 1.42fr);
  gap: 10px;
  width: 100%;
  align-self: end;
}

.cart-drawer__action {
  min-height: 46px;
  width: 100%;
  min-width: 0;
  padding: 0 16px;
  font-size: 0.94rem;
  white-space: nowrap;
  justify-content: center;
}

.cart-drawer__action--clear {
  box-shadow: none;
}

.cart-drawer__action--confirm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.cart-drawer__action-label {
  font-weight: 800;
}

.cart-drawer__action-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  min-width: 24px;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(43, 31, 0, 0.14);
  color: inherit;
}

.cart-drawer__action-icon svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cart-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "text side"
    "actions side";
  align-items: start;
  gap: 12px 14px;
  padding: 14px;
  border: 1px solid rgba(111, 133, 120, 0.24);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(248, 251, 249, 0.98));
  box-shadow: 0 10px 24px rgba(15, 32, 25, 0.06);
}

.cart-line__text {
  grid-area: text;
  min-width: 0;
  display: grid;
  gap: 4px;
}

.cart-line__title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.cart-line__title {
  line-height: 1.22;
}

.cart-line__badge {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffcf47 0%, #ffb900 100%);
  color: #4b3100;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 8px 16px rgba(255, 185, 0, 0.18);
}

.cart-line__meta {
  margin: 0;
  font-size: 0.9rem;
}

.cart-line__detail {
  gap: 8px;
  margin: 10px 0 0;
  padding: 12px 14px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(247, 247, 247, 0.98));
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.cart-line__detail-item {
  gap: 12px;
  font-size: 0.9rem;
}

.cart-line__detail-label {
  color: #333333;
  line-height: 1.4;
}

.cart-line__side {
  grid-area: side;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  align-self: stretch;
  min-width: 0;
  gap: 10px;
}

.cart-line__subtotal-wrap {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-width: max-content;
  padding: 10px 12px;
  border: 1px solid rgba(111, 133, 120, 0.18);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(247, 250, 248, 0.98));
  box-shadow: 0 8px 18px rgba(15, 32, 25, 0.05);
}

.cart-line__subtotal {
  font-size: 1.36rem;
  letter-spacing: -0.02em;
  white-space: nowrap;
  line-height: 1;
}

.cart-line__actions {
  grid-area: actions;
  align-self: end;
  padding-top: 0;
}

.cart-line__qty {
  gap: 12px;
}

.cart-line__qty-value {
  min-width: 34px;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(255, 185, 0, 0.08);
  color: #4b3100;
}

.cart-line__remove {
  flex: 0 0 auto;
}

.cart-line--combo {
  grid-template-areas:
    "text text"
    "actions side";
}

.cart-line--combo .cart-line__side {
  align-self: end;
}

.customer-profile-sidebar__group--icons,
.chat-summary__menu {
  gap: 10px;
}

.customer-profile-sidebar .profile-menu-button,
.chat-summary__menu .profile-menu-button {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  min-width: 56px;
  min-height: 56px;
  max-height: 56px;
  padding: 0;
  border: 1px solid rgba(111, 133, 120, 0.32);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(245, 248, 246, 0.98));
  color: #203328;
  box-shadow: 0 8px 18px rgba(15, 32, 25, 0.06);
  overflow: hidden;
}

.customer-profile-sidebar .profile-menu-button:hover,
.chat-summary__menu .profile-menu-button:hover {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(255, 249, 236, 0.98));
  border-color: rgba(214, 148, 0, 0.38);
  box-shadow: 0 12px 22px rgba(15, 32, 25, 0.08);
}

@media (hover: hover) and (pointer: fine) and (min-width: 980px) {
  .customer-profile-sidebar .profile-menu-button,
  .chat-summary__menu .profile-menu-button {
    position: relative;
    overflow: visible;
    --rail-tooltip-offset: 14px;
    --rail-tooltip-padding-y: 10px;
    --rail-tooltip-padding-x: 14px;
    --rail-tooltip-radius: 14px;
    --rail-tooltip-arrow-size: 14px;
    --rail-tooltip-surface: #ffffff;
    --rail-tooltip-border: rgba(32, 51, 40, 0.32);
    --rail-tooltip-outline: rgba(255, 185, 0, 0.24);
    --rail-tooltip-shadow:
      0 18px 34px rgba(15, 32, 25, 0.18),
      0 0 0 1px rgba(255, 255, 255, 0.94);
    --rail-tooltip-arrow-shadow: -1px 1px 0 rgba(255, 185, 0, 0.18);
  }

  .customer-profile-sidebar .profile-menu-button[data-tooltip]::before,
  .customer-profile-sidebar .profile-menu-button[data-tooltip]::after,
  .chat-summary__menu .profile-menu-button[data-tooltip]::before,
  .chat-summary__menu .profile-menu-button[data-tooltip]::after {
    display: none;
  }

  .customer-profile-sidebar .profile-menu-button__label,
  .chat-summary__menu .profile-menu-button__label {
    position: absolute;
    left: calc(100% + var(--rail-tooltip-offset));
    top: 50%;
    width: auto;
    height: auto;
    margin: 0;
    padding: var(--rail-tooltip-padding-y) var(--rail-tooltip-padding-x);
    overflow: visible;
    clip: auto;
    clip-path: none;
    white-space: nowrap;
    border: 1px solid var(--rail-tooltip-border);
    border-radius: var(--rail-tooltip-radius);
    background: var(--rail-tooltip-surface);
    outline: 1px solid var(--rail-tooltip-outline);
    color: #203328;
    box-shadow: var(--rail-tooltip-shadow);
    font-size: 0.92rem;
    font-weight: 800;
    line-height: 1.1;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-50%) translateX(-10px);
    transition: opacity 0.18s ease, visibility 0.18s ease, transform 0.18s ease;
    z-index: 1600;
  }

  .customer-profile-sidebar .profile-menu-button__label::before,
  .chat-summary__menu .profile-menu-button__label::before {
    content: "";
    position: absolute;
    left: calc(var(--rail-tooltip-arrow-size) * -0.5);
    top: 50%;
    width: var(--rail-tooltip-arrow-size);
    height: var(--rail-tooltip-arrow-size);
    border-left: 1px solid var(--rail-tooltip-border);
    border-bottom: 1px solid var(--rail-tooltip-border);
    background: var(--rail-tooltip-surface);
    box-shadow: var(--rail-tooltip-arrow-shadow);
    transform: translateY(-50%) rotate(45deg);
  }

  .customer-profile-sidebar .profile-menu-button:hover .profile-menu-button__label,
  .customer-profile-sidebar .profile-menu-button:focus-visible .profile-menu-button__label,
  .chat-summary__menu .profile-menu-button:hover .profile-menu-button__label,
  .chat-summary__menu .profile-menu-button:focus-visible .profile-menu-button__label {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
  }

  .chat-checkout-page .chat-summary__menu {
    overflow: visible !important;
    max-height: none !important;
    height: auto !important;
  }

  .chat-checkout-page .chat-summary__menu .profile-menu-button {
    display: grid;
    place-items: center;
    justify-self: start;
    width: 58px;
    min-width: 58px;
    max-width: 58px;
    padding: 0;
    overflow: visible;
  }

  .chat-checkout-page .chat-summary__menu .profile-menu-button:hover,
  .chat-checkout-page .chat-summary__menu .profile-menu-button:focus-visible {
    z-index: 321;
  }
}

.customer-profile-sidebar .profile-menu-button__icon-wrap,
.chat-summary__menu .profile-menu-button__icon-wrap,
.customer-profile-sidebar .pill--primary.profile-menu-button .profile-menu-button__icon-wrap,
.chat-summary__menu .pill--primary.profile-menu-button .profile-menu-button__icon-wrap {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  margin: 0;
  border-radius: inherit;
  background: transparent !important;
  box-shadow: none !important;
}

.customer-profile-sidebar .profile-menu-button__icon-wrap svg,
.chat-summary__menu .profile-menu-button__icon-wrap svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.95;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.customer-profile-sidebar .pill--primary.profile-menu-button,
.chat-summary__menu .pill--primary.profile-menu-button {
  background: linear-gradient(180deg, #ffc21a 0%, #dfa000 100%);
  border-color: #af7900;
  color: var(--color-primary-ink);
  box-shadow: 0 14px 24px rgba(255, 185, 0, 0.26);
}

.customer-profile-sidebar .pill--primary.profile-menu-button:hover,
.chat-summary__menu .pill--primary.profile-menu-button:hover {
  background: linear-gradient(180deg, #ffc936 0%, #e5a400 100%);
  border-color: #af7900;
}

@media (max-width: 979px) {
  .secondary-shell-page .customer-profile-sidebar--entry,
  .secondary-shell-page .customer-profile-sidebar--dashboard,
  .secondary-shell-page .customer-profile-sidebar--guide,
  .secondary-shell-page .chat-summary__menu {
    height: auto;
    max-height: calc(100dvh - var(--header-total-height, 0px) - 56px - env(safe-area-inset-bottom, 0px));
    padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px));
    overflow-x: visible;
    overflow-y: auto;
    scrollbar-width: none;
  }

  .secondary-shell-page .customer-profile-sidebar--entry::-webkit-scrollbar,
  .secondary-shell-page .customer-profile-sidebar--dashboard::-webkit-scrollbar,
  .secondary-shell-page .customer-profile-sidebar--guide::-webkit-scrollbar,
  .secondary-shell-page .chat-summary__menu::-webkit-scrollbar {
    display: none;
  }
}

@media (min-width: 980px) {
  .chat-checkout-page.secondary-shell-page .secondary-shell-container {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding-left: 14px;
    padding-right: 18px;
  }

  .secondary-shell-page .app-shell {
    --secondary-shell-rail-width: 82px;
    --secondary-shell-rail-gap: 14px;
  }

  .secondary-shell-page .customer-profile-sidebar--entry,
  .secondary-shell-page .customer-profile-sidebar--dashboard,
  .secondary-shell-page .customer-profile-sidebar--guide,
  .secondary-shell-page .chat-summary__menu {
    left: 10px;
    width: var(--secondary-shell-rail-width);
    max-width: var(--secondary-shell-rail-width);
    height: auto;
    max-height: calc(100dvh - var(--header-total-height, 0px) - 36px);
    padding: 8px 0 calc(20px + env(safe-area-inset-bottom, 0px));
    overflow: visible;
    border-right: 0;
    background: transparent;
    z-index: 260;
    isolation: isolate;
  }

  .secondary-shell-page .customer-profile-sidebar--entry::-webkit-scrollbar,
  .secondary-shell-page .customer-profile-sidebar--dashboard::-webkit-scrollbar,
  .secondary-shell-page .customer-profile-sidebar--guide::-webkit-scrollbar,
  .secondary-shell-page .chat-summary__menu::-webkit-scrollbar {
    display: none;
  }

  .secondary-shell-page .customer-profile-sidebar__group,
  .secondary-shell-page .chat-summary__menu {
    justify-items: center;
  }

  .secondary-shell-page .customer-profile-sidebar__group--icons,
  .secondary-shell-page .customer-profile-sidebar .customer-entry__actions,
  .secondary-shell-page .customer-profile-sidebar .customer-dashboard__actions,
  .secondary-shell-page .customer-profile-sidebar .customer-dashboard__edit-actions,
  .secondary-shell-page .chat-summary__menu {
    justify-content: center;
  }

  .secondary-shell-page .customer-profile-sidebar .profile-menu-button {
    z-index: 261;
  }

  .secondary-shell-page .customer-profile-sidebar .profile-menu-button__label {
    z-index: 262;
  }

  .secondary-shell-page .customer-entry,
  .secondary-shell-page .customer-entry--layout,
  .secondary-shell-page .customer-dashboard--profile,
  .secondary-shell-page .customer-guide,
  .secondary-shell-page .chat-panel,
  .secondary-shell-page .chat-summary--order {
    position: relative;
    z-index: 1;
  }

  .chat-checkout-page.secondary-shell-page .chat-checkout {
    grid-column: 1;
    width: min(1360px, calc(100% - (var(--secondary-shell-rail-width) + 18px)));
    max-width: none;
    margin-left: calc(var(--secondary-shell-rail-width) + 18px);
    margin-right: 0;
  }

  .chat-checkout-page.secondary-shell-page .chat-checkout__layout {
    width: 100%;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 400px);
    justify-content: center;
    align-items: start;
    gap: 24px;
  }

  .chat-checkout-page.secondary-shell-page .chat-summary--menu-only {
    grid-column: 1;
    grid-row: 1;
    position: relative;
    width: 0;
    min-width: 0;
    margin: 0;
    overflow: visible;
    z-index: 90;
  }

  .chat-checkout-page.secondary-shell-page .chat-summary__menu .profile-menu-button {
    z-index: 221;
  }

  .chat-checkout-page.secondary-shell-page .chat-summary__menu .profile-menu-button__label {
    z-index: 222;
  }

  .chat-checkout-page.secondary-shell-page .chat-panel {
    grid-column: 1;
    grid-row: 1;
    position: relative;
    width: 100%;
    max-width: none;
    justify-self: stretch;
    align-self: start;
    padding: 24px 28px 22px;
    z-index: 1;
  }

  .chat-checkout-page.secondary-shell-page .chat-summary--order {
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    max-width: 400px;
    justify-self: stretch;
    position: sticky;
    top: calc(var(--header-total-height, 0px) + 16px);
    align-self: start;
  }
}

@media (max-width: 640px) {
  .store-notice__surface {
    flex-wrap: wrap;
    padding: 10px 12px;
  }

  .store-notice__copy {
    width: 100%;
  }

  .store-notice__link {
    order: 2;
  }

  .store-notice__dismiss {
    margin-left: auto;
  }

  .cart-drawer__actions {
    grid-template-columns: minmax(96px, 0.9fr) minmax(0, 1.25fr);
  }
}

@media (max-width: 520px) {
  .cart-line {
    gap: 12px;
  }

  .cart-line__actions {
    padding-top: 0;
  }
}

/* Mercado Libre palette refinement: floating cart + checkout */
.floating-cart,
.site-global-header__cart.floating-cart {
  align-items: center;
  gap: 14px;
}

.floating-cart--top {
  min-width: 228px;
  min-height: 72px;
  padding: 12px 20px 12px 14px;
}

.floating-cart__label {
  flex: 0 0 auto;
  min-height: 50px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(52, 131, 250, 0.1);
}

.floating-cart__label svg {
  width: 38px;
  height: 38px;
  padding: 6px;
  border-radius: 14px;
  stroke-width: 2.15;
}

.floating-cart__count {
  min-width: 40px;
  height: 40px;
  padding: 0 11px;
  font-size: 1.08rem;
  font-weight: 900;
}

.floating-cart__title {
  flex: 0 0 auto;
  color: #333333;
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.floating-cart__badge {
  flex: 0 1 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 132px;
  min-height: 50px;
  padding: 0 20px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(245, 245, 245, 0.98));
  color: #333333;
  font-size: 1.18rem;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 4px 10px rgba(0, 0, 0, 0.05);
}

.chat-checkout-page {
  background:
    radial-gradient(circle at top, rgba(255, 241, 89, 0.22), transparent 28%),
    linear-gradient(180deg, #FFFDEB 0%, #F5F5F5 18%, #EBEBEB 100%);
}

.chat-checkout-page .chat-panel,
.chat-checkout-page .chat-summary--order,
.chat-checkout-page .chat-customer-setup {
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(247, 247, 247, 0.98));
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.08);
}

.chat-checkout-page .chat-summary__menu {
  border-bottom: 1px solid #E6E6E6;
}

.chat-checkout-page .chat-panel__step,
.chat-checkout-page .chat-summary__count {
  color: #2968C8;
}

.chat-checkout-page .chat-summary__caption,
.chat-checkout-page .chat-panel__caption,
.chat-checkout-page .chat-checkout__subtitle,
.chat-checkout-page .chat-summary__item-meta,
.chat-checkout-page .chat-customer-setup__lead,
.chat-checkout-page .chat-customer-setup__hint {
  color: #666666;
}

.chat-checkout-page .chat-summary__combo {
  border-color: rgba(52, 131, 250, 0.18);
  background: rgba(52, 131, 250, 0.1);
  color: #2968C8;
}

.chat-checkout-page .chat-summary__item {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 18px;
  background: #FFFFFF;
}

.chat-checkout-page .chat-summary__item--combo {
  border-color: rgba(255, 230, 0, 0.42);
  background: linear-gradient(180deg, rgba(255, 248, 198, 0.95), rgba(255, 255, 255, 0.98));
}

.chat-checkout-page .chat-summary__item-badge {
  background: linear-gradient(180deg, #FFF7A6 0%, #FFF159 100%);
  color: #2D3277;
}

.chat-checkout-page .chat-summary__item-note {
  color: #2968C8;
}

.chat-checkout-page .chat-summary__totals {
  padding: 14px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 20px;
  background: linear-gradient(180deg, #FFFFFF 0%, #F7F7F7 100%);
}

.chat-checkout-page .chat-summary__row {
  color: #666666;
}

.chat-checkout-page .chat-summary__row--discount {
  color: #00A650;
}

.chat-checkout-page .chat-summary__row--total {
  padding: 12px 14px;
  border: 1px solid rgba(52, 131, 250, 0.18);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(231, 240, 255, 0.96), rgba(255, 255, 255, 1));
  color: #333333;
}

.chat-checkout-page .empty-state {
  border: 1px dashed #D0D0D0;
  background: linear-gradient(180deg, #FFFFFF 0%, #F7F7F7 100%);
  color: #666666;
  box-shadow: none;
}

.chat-checkout-page .empty-state strong {
  color: #333333;
}

.chat-checkout-page .chat-message--bot .chat-bubble {
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(247, 247, 247, 0.98));
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.chat-checkout-page .chat-bubble--user {
  border: 1px solid #2968C8;
  background: linear-gradient(180deg, #4C96FF 0%, #3483FA 100%);
  color: #FFFFFF;
  outline: none;
  box-shadow: 0 12px 24px rgba(52, 131, 250, 0.18);
}

.chat-checkout-page .chat-bubble--success {
  border: 1px solid rgba(0, 166, 80, 0.24);
  background: linear-gradient(180deg, rgba(231, 248, 239, 0.98), rgba(255, 255, 255, 0.98));
  color: #007A3D;
}

.chat-checkout-page .chat-bubble--error {
  border: 1px solid rgba(242, 61, 79, 0.18);
  background: linear-gradient(180deg, rgba(253, 236, 239, 0.96), rgba(255, 255, 255, 0.98));
  color: #B32638;
}

.chat-checkout-page .chat-bubble--typing {
  background: linear-gradient(180deg, rgba(231, 240, 255, 0.95), rgba(255, 255, 255, 0.98));
}

.chat-checkout-page .chat-order-summary__card {
  border: 1px solid rgba(52, 131, 250, 0.16);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(247, 247, 247, 0.98));
  box-shadow: none;
}

.chat-checkout-page .chat-order-summary__badge {
  color: #2968C8;
}

.chat-checkout-page .chat-order-summary__copy {
  background: linear-gradient(180deg, #FFF159 0%, #FFE600 100%);
  color: #2D3277;
  box-shadow: 0 10px 20px rgba(45, 50, 119, 0.14);
}

.chat-checkout-page .chat-order-summary__row {
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #FFFFFF;
}

.chat-checkout-page .chat-order-summary__row--total {
  border-color: rgba(52, 131, 250, 0.18);
  background: linear-gradient(180deg, rgba(231, 240, 255, 0.96), rgba(255, 255, 255, 0.98));
}

.chat-checkout-page .chat-order-summary__row--total dt,
.chat-checkout-page .chat-order-summary__row--total dd {
  color: #2968C8;
}

.chat-checkout-page .chat-order-summary__products {
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #FFFFFF;
}

.chat-checkout-page .chat-order-summary__note {
  background: rgba(231, 240, 255, 0.72);
  color: #2968C8;
}

.chat-checkout-page .chat-composer {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.chat-checkout-page .chat-composer__shell {
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.99);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
}

.chat-checkout-page .chat-composer__shell:focus-within {
  border-color: rgba(52, 131, 250, 0.42);
  box-shadow:
    0 0 0 4px rgba(52, 131, 250, 0.12),
    0 10px 20px rgba(0, 0, 0, 0.06);
}

.chat-checkout-page .chat-composer__tool {
  background: #F5F5F5;
  color: #555555;
}

.chat-checkout-page .chat-composer__tool:hover {
  background: #EEEEEE;
}

.chat-checkout-page .chat-composer__send {
  background: linear-gradient(180deg, #4C96FF 0%, #3483FA 100%);
  box-shadow: 0 10px 20px rgba(52, 131, 250, 0.22);
}

.chat-checkout-page .chat-composer__send:not(:disabled):hover {
  box-shadow: 0 12px 24px rgba(52, 131, 250, 0.26);
}

.chat-checkout-page .chat-composer__send:disabled {
  background: #D7DCE3;
  color: #FFFFFF;
}

.chat-checkout-page .chat-customer-setup__input {
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #FFFFFF;
}

.chat-checkout-page .chat-customer-setup__input:focus {
  border-color: rgba(52, 131, 250, 0.42);
  box-shadow: 0 0 0 4px rgba(52, 131, 250, 0.12);
}

.chat-checkout-page .chat-customer-setup__feedback--success {
  border: 1px solid rgba(0, 166, 80, 0.18);
  background: rgba(231, 248, 239, 0.96);
  color: #007A3D;
}

.chat-checkout-page .chat-customer-setup__feedback--error {
  border: 1px solid rgba(242, 61, 79, 0.18);
  background: rgba(253, 236, 239, 0.96);
  color: #B32638;
}

@media (max-width: 640px) {
  .floating-cart--top {
    min-width: 100%;
    min-height: 64px;
    padding: 10px 16px 10px 12px;
  }

  .floating-cart__label {
    min-height: 46px;
    padding: 5px;
  }

  .floating-cart__label svg {
    width: 34px;
    height: 34px;
    padding: 5px;
    stroke-width: 2.05;
  }

  .floating-cart__count {
    min-width: 38px;
    height: 38px;
  }

  .floating-cart__title {
    font-size: 0.96rem;
  }

  .floating-cart__badge {
    min-width: 122px;
    min-height: 46px;
    padding: 0 18px;
    font-size: 1.12rem;
  }
}

@media (min-width: 760px) {
  :root {
    --header-control-height: 64px;
  }

  .app-header__utility,
  .site-global-header__utility,
  .category-nav__inner {
    align-items: center;
  }

  .search-bar {
    display: flex;
    align-items: center;
  }

  .search-bar__box {
    min-height: var(--header-control-height);
    padding: 0 18px;
  }

  .offers-nav-button--header {
    min-height: var(--header-control-height);
    padding-inline: 22px;
  }

  .app-header__layout {
    grid-template-columns: repeat(2, var(--header-control-height));
    align-self: center;
  }

  .app-header__layout-button {
    width: var(--header-control-height);
    height: var(--header-control-height);
  }

  .floating-cart--top {
    min-height: var(--header-control-height);
    align-self: center;
  }

  .secondary-shell-page .app-header__inner {
    padding: 2px 0 0;
    min-height: 0;
  }

  .secondary-shell-page .brand-identity--text {
    min-height: 0;
    display: inline-flex;
    align-items: flex-start;
  }

  .secondary-shell-page .brand-identity__image {
    max-height: 60px;
    margin-top: 0;
    margin-bottom: 0;
  }

  .secondary-shell-page .secondary-shell-header__utility {
    margin-top: -24px;
    padding: 0 0 4px;
    gap: 10px;
  }

  .secondary-shell-page .site-global-header__utility--actions-only {
    align-items: start;
  }

  .secondary-shell-page .secondary-shell-header__actions {
    gap: 10px;
  }
}

.secondary-shell-page .app-header__inner {
  padding-bottom: 0;
}

.secondary-shell-page .secondary-shell-header__utility {
  padding-bottom: 4px;
}

.secondary-shell-page .secondary-shell-main {
  margin-top: 10px;
  padding-top: 12px;
}

@media (max-width: 759px) {
  .secondary-shell-page .secondary-shell-header__utility {
    margin-top: 0;
    padding-bottom: 6px;
  }

  .secondary-shell-page .brand-identity__image {
    max-height: 56px;
  }

  .secondary-shell-page .secondary-shell-main {
    margin-top: 8px;
    padding-top: 10px;
  }
}

.combo-footer {
  position: fixed;
  right: 18px;
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  z-index: 72;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  pointer-events: none;
}

.combo-footer__inner {
  display: flex;
  justify-content: flex-end;
  padding: 0;
}

.combo-footer__button {
  position: relative;
  width: 92px;
  height: 92px;
  min-height: 92px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  display: inline-grid;
  place-items: center;
  pointer-events: auto;
  box-shadow: none;
  cursor: pointer;
  transition: transform 0.18s ease, filter 0.18s ease;
}

.combo-footer__button:hover,
.combo-footer__button:focus-visible {
  transform: translateY(-2px) scale(1.02);
  filter: saturate(1.06);
}

.combo-footer__button:focus-visible {
  outline: 3px solid rgba(52, 131, 250, 0.26);
  outline-offset: 3px;
}

.combo-footer__label {
  position: absolute;
  right: 50%;
  bottom: calc(100% + 4px);
  transform: translateX(50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border: 1px solid rgba(32, 51, 40, 0.22);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.98);
  color: #203328;
  white-space: nowrap;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  box-shadow:
    0 14px 30px rgba(15, 32, 25, 0.16),
    0 0 0 1px rgba(255, 255, 255, 0.94);
  transition: opacity 0.18s ease, visibility 0.18s ease, transform 0.18s ease;
}

.combo-footer__label::after {
  content: "";
  position: absolute;
  right: 50%;
  top: calc(100% - 1px);
  width: 12px;
  height: 12px;
  border-right: 1px solid rgba(32, 51, 40, 0.22);
  border-bottom: 1px solid rgba(32, 51, 40, 0.22);
  background: rgba(255, 255, 255, 0.98);
  transform: translateX(50%) rotate(45deg);
}

.combo-footer__button:hover .combo-footer__label,
.combo-footer__button:focus-visible .combo-footer__label {
  opacity: 1;
  visibility: visible;
  transform: translateX(50%) translateY(-2px);
}

.combo-footer__icon {
  position: relative;
  width: 76px;
  height: 76px;
  display: inline-grid;
  place-items: center;
}

.combo-footer__icon svg {
  width: 76px;
  height: 76px;
  display: block;
  overflow: visible;
}

.combo-footer__count {
  position: absolute;
  top: 2px;
  right: -4px;
  min-width: 30px;
  height: 30px;
  padding: 0 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 255, 255, 0.94);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 241, 89, 0.98), rgba(255, 230, 0, 0.96));
  color: #2d3277;
  font-size: 0.96rem;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 10px 22px rgba(45, 50, 119, 0.16);
}

.catalog {
  border-top: 1px solid rgba(45, 50, 119, 0.14);
}

@media (max-width: 699px) {
  .combo-footer {
    right: 14px;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  }

  .combo-footer__inner {
    padding: 0;
  }

  .combo-footer__button {
    width: 80px;
    height: 80px;
    min-height: 80px;
  }

  .combo-footer__label {
    bottom: calc(100% + 3px);
    padding: 8px 12px;
    font-size: 0.84rem;
  }

  .combo-footer__icon,
  .combo-footer__icon svg {
    width: 66px;
    height: 66px;
  }

  .combo-footer__count {
    top: 2px;
    right: -2px;
    min-width: 28px;
    height: 28px;
    font-size: 0.86rem;
  }
}

.catalog-feed {
  --catalog-feed-gap: 18px;
  display: flex;
  flex-direction: column;
  gap: var(--catalog-feed-gap);
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding-top: 0;
}

.catalog-feed--loading {
  min-height: min(62vh, 760px);
}

.catalog-feed__row {
  display: flex;
  gap: 12px;
  align-items: stretch;
  scroll-margin-top: var(--catalog-snap-offset, 194px);
}

.catalog-feed__row > * {
  min-width: 0;
}

.catalog-feed--detailed .catalog-feed__row {
  --catalog-detailed-row-height: max(420px, calc(100dvh - var(--catalog-snap-offset, 194px) - var(--catalog-feed-gap) - env(safe-area-inset-bottom, 0px)));
  flex-direction: column;
  min-height: var(--catalog-detailed-row-height);
}

.catalog-feed--detailed .catalog-feed__row > .product-card {
  min-height: var(--catalog-detailed-row-height);
}

.catalog-feed--compact .catalog-feed__row {
  flex-direction: row;
}

.catalog-feed--compact {
  gap: 12px;
  --catalog-compact-card-min-height: 372px;
}

.catalog-feed--compact .catalog-feed__row {
  gap: 10px;
  min-height: var(--catalog-compact-card-min-height);
}

.catalog-feed--compact .catalog-feed__row > .product-card {
  flex: 1 1 0;
  min-height: var(--catalog-compact-card-min-height);
}

.catalog-feed--compact .catalog-feed__row--single > .product-card {
  flex-basis: 100%;
  max-width: 100%;
}

.catalog-feed .product-card {
  display: flex;
  min-height: 100%;
  overflow: hidden;
}

.catalog-feed .product-card__image {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.catalog-feed .product-card__image-el {
  width: auto;
  height: auto;
  max-width: calc(100% - (var(--product-image-frame-inset) * 2));
  max-height: calc(100% - (var(--product-image-frame-inset) * 2));
  transform: none;
}

.catalog-feed .product-card__body {
  min-width: 0;
}

.catalog-feed .product-card__image-badge {
  position: static;
  width: fit-content;
  max-width: 100%;
}

.catalog-feed .product-card__price--offer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 8px;
}

.catalog-feed--detailed .product-card {
  align-items: stretch;
  flex-direction: row;
}

.catalog-feed--detailed .product-card__image {
  flex: 0 0 clamp(220px, 27%, 290px);
  width: auto;
  min-height: 100%;
  border-right: 2px solid var(--color-border-soft);
  border-bottom: 0;
  padding: 16px;
}

.catalog-feed--detailed .product-card__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 12px;
  padding: 18px;
}

.catalog-feed--detailed .product-card__meta {
  margin: 0;
}

.catalog-feed--detailed .product-card__title {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.2;
}

.catalog-feed--detailed .product-card__price {
  margin: 0;
  align-items: flex-start;
  gap: 8px;
}

.catalog-feed--detailed .product-card__price-regular {
  padding: 10px 14px;
  font-size: 1.5rem;
}

.catalog-feed--detailed .product-card__price-now {
  padding: 10px 14px;
  font-size: 1.54rem;
}

.catalog-feed--detailed .product-card__price-was {
  padding: 5px 10px;
  font-size: 0.82rem;
}

.catalog-feed--detailed .product-card__select {
  width: 100%;
  max-width: 340px;
  min-height: 42px;
  padding-inline: 12px;
}

.catalog-feed--detailed .product-card__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin-top: auto;
}

.catalog-feed--detailed .product-card__actions .quantity-control {
  flex: 0 0 auto;
  width: auto;
}

.catalog-feed--detailed .product-card__add-button {
  flex: 0 1 360px;
  min-height: 42px;
  max-width: 360px;
  padding-inline: 18px;
  font-size: 0.94rem;
}

.catalog-feed--compact .product-card {
  flex-direction: row;
  align-items: stretch;
  height: 100%;
  min-height: var(--catalog-compact-card-min-height);
}

.catalog-feed--compact .product-card__image {
  flex: 0 0 clamp(205px, 42%, 280px);
  width: auto;
  height: auto;
  min-height: 100%;
  align-self: stretch;
  border-right: 2px solid var(--color-border-soft);
  border-bottom: 0;
  padding: 4px;
  margin: 0;
}

.catalog-feed--compact .product-card__image-el {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: contain;
}

.catalog-feed--compact .product-card__body {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  flex: 1 1 auto;
  min-width: 0;
  padding: 18px 16px;
}

.catalog-feed--compact .product-card__meta {
  margin: 0;
  min-height: 1.1em;
  font-size: 0.82rem;
}

.catalog-feed--compact .product-card__title {
  display: -webkit-box;
  margin: 0;
  min-height: calc(1.12em * 2);
  overflow: hidden;
  font-size: 0.92rem;
  line-height: 1.12;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.catalog-feed--compact .product-card__price {
  margin: 0;
  align-items: flex-start;
  gap: 6px;
  min-height: 52px;
}

.catalog-feed--compact .product-card__price-regular {
  padding: 7px 11px;
  font-size: 1.12rem;
}

.catalog-feed--compact .product-card__price-now {
  padding: 7px 11px;
  font-size: 1.16rem;
}

.catalog-feed--compact .product-card__price-was {
  padding: 4px 8px;
  font-size: 0.74rem;
}

.catalog-feed--compact .product-card__select {
  min-height: 38px;
  padding-inline: 10px;
  font-size: 0.88rem;
}

.catalog-feed--compact .product-card__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
  margin-top: auto;
}

.catalog-feed--compact .product-card__actions .quantity-control {
  flex: 0 0 auto;
  width: auto;
  justify-content: flex-start;
  gap: 6px;
}

.catalog-feed--compact .product-card__actions .quantity-control__button {
  width: 34px;
  height: 34px;
}

.catalog-feed--compact .product-card__actions .quantity-control__value {
  min-width: 18px;
  font-size: 0.92rem;
}

.catalog-feed--compact .product-card__add-button {
  flex: 1 1 200px;
  width: auto;
  min-height: 38px;
  padding-inline: 14px;
  font-size: 0.9rem;
}

.product-card__description,
.product-card__note {
  margin: 0;
  color: var(--color-text-soft);
  line-height: 1.55;
}

.product-card__note {
  font-size: 0.92rem;
}

.product-card__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-card__spec {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 12px;
  border: 1px solid rgba(94, 86, 77, 0.18);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 247, 247, 0.96));
  color: var(--color-text-soft);
  font-size: 0.82rem;
  font-weight: 800;
}

@media (max-width: 759px) {
  .catalog-feed__row {
    flex-direction: column;
  }

  .catalog-feed--detailed .catalog-feed__row,
  .catalog-feed--detailed .catalog-feed__row > .product-card {
    min-height: 0;
  }

  .catalog-feed--compact .catalog-feed__row {
    min-height: 0;
  }

  .catalog-feed--compact .catalog-feed__row > .product-card {
    min-height: 0;
  }

  .catalog-feed--compact .product-card {
    flex-direction: column;
  }

  .catalog-feed--compact .product-card__image {
    width: 100%;
    min-height: auto;
    border-right: 0;
    border-bottom: 2px solid var(--color-border-soft);
  }

  .catalog-feed--compact .product-card__actions {
    align-items: stretch;
  }

  .catalog-feed--compact .product-card__actions .quantity-control,
  .catalog-feed--compact .product-card__add-button {
    width: 100%;
    max-width: none;
  }

  .catalog-feed--compact .product-card__actions .quantity-control {
    justify-content: center;
  }

  .catalog-feed--detailed .product-card {
    flex-direction: column;
  }

  .catalog-feed--detailed .product-card__image {
    width: 100%;
    min-height: auto;
    border-right: 0;
    border-bottom: 2px solid var(--color-border-soft);
  }

  .catalog-feed--detailed .product-card__body {
    padding: 16px;
  }

  .catalog-feed--detailed .product-card__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .catalog-feed--detailed .product-card__actions .quantity-control,
  .catalog-feed--detailed .product-card__add-button {
    width: 100%;
    max-width: none;
  }

  .catalog-feed--detailed .product-card__actions .quantity-control {
    justify-content: center;
  }
}






