/* ==========================================================================
   АТЮРЖЕ — ПРЕМИАЛЬНАЯ КОРЗИНА И ОФОРМЛЕНИЕ ЗАКАЗА (ПО ЭТАЛОНУ TOGAS)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. ДРОЙВЕР / МОДАЛЬНОЕ ОКНО КОРЗИНЫ (TOGAS CART DRAWER)
   -------------------------------------------------------------------------- */
.togas-cart-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(18, 18, 18, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 99990;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s ease;
}

.togas-cart-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.togas-cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 520px;
  background-color: #ffffff;
  z-index: 99995;
  display: flex;
  flex-direction: column;
  box-shadow: -12px 0 40px rgba(0, 0, 0, 0.18);
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #141414;
}

.togas-cart-overlay.is-open .togas-cart-drawer {
  transform: translateX(0);
}

/* Шапка корзины */
.togas-cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  border-bottom: 1px solid #f0f0f0;
}

.togas-cart-title {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: #141414;
  margin: 0;
}

.togas-cart-title span {
  color: #8c8c8c;
  font-weight: 400;
  margin-left: 2px;
}

.togas-cart-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: #282828;
  border-radius: 50%;
  transition: background-color 0.2s ease, transform 0.2s ease;
  padding: 0;
}

.togas-cart-close:hover {
  background-color: #f5f5f5;
  transform: rotate(90deg);
}

.togas-cart-close svg {
  width: 20px;
  height: 20px;
}

/* Тело корзины (список товаров) */
.togas-cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 8px 28px 24px;
  overscroll-behavior: contain;
}

.togas-cart-body::-webkit-scrollbar {
  width: 5px;
}
.togas-cart-body::-webkit-scrollbar-track {
  background: transparent;
}
.togas-cart-body::-webkit-scrollbar-thumb {
  background: #ddd;
  border-radius: 4px;
}

/* Карточка товара в корзине */
.togas-cart-item {
  display: flex;
  gap: 18px;
  padding: 24px 0;
  border-bottom: 1px solid #f0f0f0;
  transition: opacity 0.25s ease;
}

.togas-cart-item:last-child {
  border-bottom: none;
}

.togas-cart-item-thumb {
  width: 104px;
  height: 104px;
  flex-shrink: 0;
  background-color: #f7f7f7;
  border: 1px solid #ececec;
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.togas-cart-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.togas-cart-item-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.togas-cart-item-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 6px;
}

.togas-cart-item-name {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
  color: #141414;
  margin: 0;
}

.togas-cart-item-price {
  font-size: 15px;
  font-weight: 600;
  color: #141414;
  white-space: nowrap;
}

.togas-cart-item-meta {
  font-size: 13px;
  color: #6d6d6d;
  line-height: 1.4;
  margin-bottom: 4px;
}

.togas-cart-item-detail {
  font-size: 12px;
  color: #8c8c8c;
  line-height: 1.4;
  margin-bottom: 12px;
}

.togas-cart-item-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  gap: 12px;
}

/* Регулятор количества (Stepper) */
.togas-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid #dcdcdc;
  border-radius: 2px;
  background: #ffffff;
  height: 32px;
}

.togas-stepper-btn {
  width: 32px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  color: #141414;
  font-size: 16px;
  font-weight: 400;
  transition: background-color 0.15s ease;
  user-select: none;
  padding: 0;
}

.togas-stepper-btn:hover {
  background-color: #f5f5f5;
}

.togas-stepper-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.togas-stepper-val {
  width: 36px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 500;
  color: #141414;
  border-left: 1px solid #eaeaea;
  border-right: 1px solid #eaeaea;
}

/* Кнопка "Удалить из корзины" */
.togas-cart-remove-link {
  background: transparent;
  border: none;
  padding: 4px 0;
  font-size: 13px;
  color: #777777;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  transition: color 0.15s ease;
  font-family: inherit;
}

.togas-cart-remove-link:hover {
  color: #c92a2a;
}

/* Пустое состояние корзины */
.togas-cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px 40px;
  min-height: 280px;
}

.togas-cart-empty-icon {
  width: 56px;
  height: 56px;
  stroke: #b0b0b0;
  margin-bottom: 20px;
}

.togas-cart-empty-title {
  font-size: 18px;
  font-weight: 500;
  color: #141414;
  margin: 0 0 10px;
}

.togas-cart-empty-desc {
  font-size: 14px;
  color: #777777;
  line-height: 1.5;
  max-width: 320px;
  margin: 0 0 24px;
}

.togas-cart-empty-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  background-color: #141414;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  transition: background-color 0.2s ease;
}

.togas-cart-empty-btn:hover {
  background-color: #333333;
}

/* Подвал корзины (Итого + кнопки) */
.togas-cart-footer {
  padding: 20px 28px 28px;
  border-top: 1px solid #e5e5e5;
  background-color: #ffffff;
}

.togas-cart-total-row {
  display: flex;
  justify-content: flex-end;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 20px;
}

.togas-cart-total-label {
  font-size: 16px;
  font-weight: 400;
  color: #141414;
}

.togas-cart-total-amount {
  font-size: 20px;
  font-weight: 600;
  color: #141414;
  letter-spacing: -0.01em;
}

/* Кнопки в подвале корзины */
.togas-cart-btn-checkout {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 50px;
  background-color: #141414;
  color: #ffffff;
  border: 1px solid #141414;
  border-radius: 2px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: none;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.togas-cart-btn-checkout:hover {
  background-color: #2b2b2b;
  border-color: #2b2b2b;
}

.togas-cart-btn-continue {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 48px;
  background-color: #ffffff;
  color: #141414;
  border: 1px solid #141414;
  border-radius: 2px;
  font-size: 14px;
  font-weight: 500;
  margin-top: 10px;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.togas-cart-btn-continue:hover {
  background-color: #f7f7f7;
}

/* Адаптив для корзины на мобильных */
@media (max-width: 600px) {
  .togas-cart-drawer {
    max-width: 100%;
  }
  .togas-cart-header,
  .togas-cart-body,
  .togas-cart-footer {
    padding-left: 20px;
    padding-right: 20px;
  }
  .togas-cart-item-thumb {
    width: 88px;
    height: 88px;
  }
}

/* --------------------------------------------------------------------------
   2. СТРАНИЦА ОФОРМЛЕНИЯ ЗАКАЗА (CHECKOUT TOGAS-STYLE — СКРИНШОТ 5)
   -------------------------------------------------------------------------- */
.checkout-page-root {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #141414;
  margin: 0;
  padding: 0;
}

/* Верхняя лаконичная полоса */
.checkout-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid #eaeaea;
  height: 72px;
}

.checkout-header-inner {
  max-width: 1280px;
  margin: 0 auto;
  height: 100%;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.checkout-nav-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: #141414;
  text-decoration: none;
  border-radius: 50%;
  transition: background-color 0.2s ease;
}

.checkout-nav-icon:hover {
  background-color: #f5f5f5;
}

.checkout-nav-icon svg {
  width: 22px;
  height: 22px;
}

.checkout-brand-logo {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #141414;
  text-decoration: none;
  text-transform: none;
}

/* Основной контейнер чекаута */
.checkout-main-wrap {
  flex: 1;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 48px 32px 80px;
  box-sizing: border-box;
}

.checkout-layout-grid {
  display: grid;
  grid-template-columns: 1fr 430px;
  gap: 64px;
  align-items: start;
}

/* Левая колонка (Шаги 1/2 и 2/2) */
.checkout-steps-column {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.checkout-step-block {
  border-bottom: 1px solid #f0f0f0;
  padding-bottom: 40px;
}

.checkout-step-block:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.checkout-step-title-wrap {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 28px;
}

.checkout-step-index {
  font-size: 20px;
  font-weight: 400;
  color: #c5a880; /* Благородный золотистый акцент Togas/АтюрЖе */
  letter-spacing: 0.02em;
}

.checkout-step-heading {
  font-size: 20px;
  font-weight: 500;
  color: #141414;
  margin: 0;
  letter-spacing: -0.01em;
}

/* Форма контактных данных */
.checkout-fields-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.checkout-fields-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.checkout-field-item {
  position: relative;
  display: flex;
  flex-direction: column;
}

.checkout-field-input {
  width: 100%;
  height: 48px;
  border: none;
  border-bottom: 1px solid #d5d5d5;
  background: transparent;
  font-family: inherit;
  font-size: 15px;
  color: #141414;
  padding: 12px 0 6px;
  border-radius: 0;
  outline: none;
  transition: border-color 0.2s ease;
  box-sizing: border-box;
}

.checkout-field-input:focus {
  border-bottom-color: #141414;
  border-bottom-width: 1.5px;
}

.checkout-field-input::placeholder {
  color: transparent;
}

.checkout-field-label {
  position: absolute;
  top: 14px;
  left: 0;
  font-size: 15px;
  color: #777777;
  pointer-events: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.checkout-field-input:focus ~ .checkout-field-label,
.checkout-field-input:not(:placeholder-shown) ~ .checkout-field-label {
  top: -8px;
  font-size: 12px;
  color: #8c8c8c;
}

/* Шаг 2: Способы получения */
.checkout-delivery-options {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}

.checkout-delivery-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid #e2e2e2;
  border-radius: 3px;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
  background-color: #ffffff;
}

.checkout-delivery-card:hover {
  border-color: #b5b5b5;
}

.checkout-delivery-card.is-selected {
  border-color: #141414;
  background-color: #fafafa;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.checkout-radio-indicator {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.5px solid #c0c0c0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  flex-shrink: 0;
  transition: border-color 0.2s ease;
}

.checkout-delivery-card.is-selected .checkout-radio-indicator {
  border-color: #141414;
}

.checkout-radio-indicator::after {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #141414;
  opacity: 0;
  transform: scale(0.4);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.checkout-delivery-card.is-selected .checkout-radio-indicator::after {
  opacity: 1;
  transform: scale(1);
}

.checkout-delivery-content {
  flex: 1;
}

.checkout-delivery-header-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.checkout-delivery-name {
  font-size: 15px;
  font-weight: 500;
  color: #141414;
}

.checkout-delivery-price {
  font-size: 14px;
  font-weight: 600;
  color: #2b8a3e; /* Бесплатно / 0 ₽ */
}

.checkout-delivery-desc {
  font-size: 13px;
  color: #6d6d6d;
  line-height: 1.45;
  margin: 0;
}

/* Дополнительные поля адреса при доставке */
.checkout-address-block {
  margin-top: 20px;
  padding: 20px;
  background-color: #fafafa;
  border: 1px solid #ebebeb;
  border-radius: 3px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.checkout-address-title {
  font-size: 14px;
  font-weight: 600;
  color: #141414;
  margin: 0;
}

/* Заметка об оплате и кнопка отправки */
.checkout-submit-group {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.checkout-payment-notice {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background-color: #f7f5f2; /* мягкий сливочно-льняной */
  border: 1px solid #e8dfd5;
  border-radius: 2px;
  font-size: 13.5px;
  color: #5a4f43;
  line-height: 1.4;
}

.checkout-payment-notice svg {
  width: 22px;
  height: 22px;
  stroke: #8b6e4e;
  flex-shrink: 0;
}

.checkout-main-btn {
  width: 100%;
  height: 54px;
  background-color: #141414;
  color: #ffffff;
  border: none;
  border-radius: 2px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.checkout-main-btn:hover {
  background-color: #2b2b2b;
}

.checkout-main-btn:active {
  transform: scale(0.995);
}

.checkout-legal-terms {
  font-size: 12px;
  color: #8c8c8c;
  line-height: 1.5;
  text-align: center;
}

.checkout-legal-terms a {
  color: #666;
  text-decoration: underline;
}

/* Правая колонка — Сводка заказа (Togas Sticky Sidebar) */
.checkout-summary-column {
  position: sticky;
  top: 96px;
}

.checkout-summary-card {
  background-color: #ffffff;
  border: 1px solid #eaeaea;
  border-radius: 2px;
  padding: 24px;
}

.checkout-prompt-badge {
  border: 1px solid #e0e0e0;
  padding: 10px 14px;
  font-size: 13px;
  color: #666666;
  text-align: center;
  background-color: #fafafa;
  border-radius: 2px;
  margin-bottom: 24px;
  letter-spacing: 0.01em;
}

.checkout-order-title {
  font-size: 16px;
  font-weight: 600;
  color: #141414;
  margin: 0 0 16px;
}

.checkout-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: #666666;
  margin-bottom: 10px;
}

.checkout-price-row.total {
  font-size: 16px;
  font-weight: 600;
  color: #141414;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #f0f0f0;
  margin-bottom: 24px;
}

.checkout-price-row.total .price-val {
  font-size: 18px;
  font-weight: 700;
}

/* Список мини-карточек товаров в сводке */
.checkout-summary-items {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-height: 380px;
  overflow-y: auto;
  padding-right: 4px;
}

.checkout-summary-item {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid #f5f5f5;
}

.checkout-summary-item:first-child {
  border-top: 1px solid #f0f0f0;
}

.checkout-summary-thumb {
  width: 64px;
  height: 64px;
  background-color: #f7f7f7;
  border: 1px solid #ececec;
  border-radius: 2px;
  overflow: hidden;
  flex-shrink: 0;
}

.checkout-summary-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.checkout-summary-details {
  flex: 1;
  min-width: 0;
}

.checkout-summary-name {
  font-size: 13.5px;
  font-weight: 500;
  color: #141414;
  line-height: 1.35;
  margin: 0 0 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.checkout-summary-meta {
  font-size: 12px;
  color: #777777;
  margin-bottom: 4px;
}

.checkout-summary-price {
  font-size: 13.5px;
  font-weight: 600;
  color: #141414;
}

/* Подвал чекаута */
.checkout-footer {
  margin-top: auto;
  background-color: #141414;
  color: #ffffff;
  padding: 24px 0;
  font-size: 13px;
}

.checkout-footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.checkout-footer-links {
  display: flex;
  gap: 24px;
}

.checkout-footer-links a {
  color: #b0b0b0;
  text-decoration: none;
  transition: color 0.15s ease;
}

.checkout-footer-links a:hover {
  color: #ffffff;
}

.checkout-footer-copy {
  color: #777777;
}

/* Экран успешного оформления заказа */
.checkout-success-view {
  display: none;
  max-width: 680px;
  margin: 40px auto 80px;
  text-align: center;
  padding: 48px 36px;
  background: #ffffff;
  border: 1px solid #eaeaea;
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.checkout-success-icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background-color: #edf7ee;
  color: #2b8a3e;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.checkout-success-icon-wrap svg {
  width: 36px;
  height: 36px;
}

.checkout-success-title {
  font-size: 26px;
  font-weight: 500;
  font-family: 'Playfair Display', Georgia, serif;
  color: #141414;
  margin: 0 0 12px;
}

.checkout-success-number {
  font-size: 15px;
  color: #8c7355;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 20px;
}

.checkout-success-message {
  font-size: 15px;
  color: #555555;
  line-height: 1.6;
  margin: 0 auto 32px;
  max-width: 520px;
}

.checkout-success-summary-box {
  background-color: #fafafa;
  border: 1px solid #ebebeb;
  border-radius: 3px;
  padding: 20px;
  text-align: left;
  margin-bottom: 32px;
}

.checkout-success-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 36px;
  background-color: #141414;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 2px;
  transition: background-color 0.2s ease;
}

.checkout-success-btn:hover {
  background-color: #333333;
}

/* Адаптив чекаута */
@media (max-width: 960px) {
  .checkout-layout-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .checkout-summary-column {
    position: static;
    order: -1; /* На планшетах и мобильных сначала или под рукой */
  }
  .checkout-fields-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}


.cart-request-note { margin: 0 0 16px; font: 14px/1.5 Inter,Arial,sans-serif; color: #555; }
.cart-request-form { display: grid; gap: 18px; padding-bottom: 24px; }
.cart-request-form h4, .cart-request-success h4 { margin: 0; font: 500 24px/1.3 Inter,Arial,sans-serif; }
.cart-request-form p, .cart-request-success p { margin: 0; font: 14px/1.5 Inter,Arial,sans-serif; }
.cart-request-summary { margin: 0; padding-left: 20px; font: 14px/1.6 Inter,Arial,sans-serif; }
.cart-request-summary li { margin-bottom: 14px; overflow-wrap: anywhere; }
.cart-request-form label { display: grid; gap: 8px; font: 14px/1.5 Inter,Arial,sans-serif; }
.cart-request-form input:not([type=checkbox]), .cart-request-form textarea { width: 100%; box-sizing: border-box; border: 1px solid #ccc; background: #fff; padding: 12px; font: inherit; border-radius: 0; }

/* Mobile drawer sizing, safe-area handling and usable touch targets. */
.togas-cart-overlay {
  width: 100%;
  max-width: 100vw;
  overflow: hidden;
}

.togas-cart-drawer {
  box-sizing: border-box;
  height: 100vh;
  max-height: 100vh;
  min-height: 0;
}

.togas-cart-body {
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
}

@supports (height: 100dvh) {
  .togas-cart-drawer {
    height: 100dvh;
    max-height: 100dvh;
  }
}

@media (max-width: 600px) {
  .togas-cart-drawer {
    inset: 0;
    width: 100%;
    max-width: 100vw;
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }

  .togas-cart-header {
    flex: 0 0 auto;
    padding-top: max(12px, env(safe-area-inset-top, 0px));
    padding-bottom: 12px;
    padding-left: 16px;
    padding-right: 12px;
  }

  .togas-cart-close {
    width: 44px;
    height: 44px;
    min-width: 44px;
  }

  .togas-cart-title {
    font-size: 19px;
  }

  .togas-cart-body {
    flex: 1 1 auto;
    padding: 4px 16px 16px;
  }

  .togas-cart-footer {
    flex: 0 0 auto;
    max-height: 42vh;
    overflow-y: auto;
    padding: 12px 16px max(12px, env(safe-area-inset-bottom, 0px));
  }

  .togas-cart-item {
    gap: 12px;
    padding: 16px 0;
    min-width: 0;
  }

  .togas-cart-item-thumb {
    width: clamp(56px, 17vw, 68px);
    height: clamp(56px, 17vw, 68px);
    flex: 0 0 clamp(56px, 17vw, 68px);
    aspect-ratio: 1;
  }

  .togas-cart-item-info {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .togas-cart-item-top {
    gap: 6px;
  }

  .togas-cart-item-name,
  .togas-cart-item-price,
  .togas-cart-item-detail,
  .togas-cart-item-meta {
    overflow-wrap: anywhere;
  }

  .togas-cart-item-bottom {
    flex-wrap: wrap;
    gap: 8px;
  }

  .togas-stepper {
    height: 44px;
  }

  .togas-stepper-btn {
    width: 44px;
    min-width: 44px;
    min-height: 44px;
  }

  .togas-stepper-val {
    width: 36px;
  }

  .togas-cart-remove-link {
    min-height: 44px;
    padding: 8px 4px;
  }

  .togas-cart-btn-checkout,
  .togas-cart-btn-continue,
  .cart-request-form button {
    min-height: 44px;
  }

  .cart-request-form {
    min-width: 0;
    overflow-wrap: anywhere;
    padding-bottom: max(16px, env(safe-area-inset-bottom, 0px));
  }

  .cart-request-form input:not([type=checkbox]),
  .cart-request-form textarea {
    min-width: 0;
    min-height: 44px;
    font-size: 16px;
  }

  .cart-request-form input[type=checkbox] {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
  }

  .cart-request-summary {
    padding-left: 20px;
    overflow-wrap: anywhere;
  }
}

@supports (height: 100dvh) {
  @media (max-width: 600px) {
    .togas-cart-footer { max-height: 42dvh; }
  }
}
.cart-request-form .cart-request-consent { display: flex; align-items: flex-start; gap: 10px; }
.cart-request-consent input { flex: 0 0 18px; width: 18px; height: 18px; margin-top: 3px; accent-color: #611b22; }
.cart-request-status { color: #611b22; }
.cart-request-form button[type=submit]:disabled { opacity: .6; cursor: wait; }
.cart-request-success { display: grid; gap: 20px; padding: 20px 0; }

/* The header bag is part of the cart component, independent of the header skin. */
header .cart-header-button,
.header .header-actions .cart-header-button {
  position: relative !important; display: inline-flex !important;
  align-items: center; justify-content: center; flex: 0 0 44px;
  width: 44px !important; min-width: 44px !important; height: 44px !important;
  padding: 10px !important; margin: 0; gap: 0;
  border: 0 !important; border-radius: 0 !important; box-shadow: none !important;
  background: transparent !important; color: #242424 !important;
  font-size: 0 !important; cursor: pointer;
}
header .cart-header-button::before,
.header [data-selection-header].cart-header-button::before { content: none !important; }
header .cart-header-button .cart-header-icon {
  display: block !important; flex: 0 0 24px; width: 24px; height: 24px;
  fill: none; stroke: currentColor; pointer-events: none;
}
header .cart-header-button [data-selection-header-count] {
  position: absolute; top: 0; right: 0; display: block;
  min-width: 0; height: auto; padding: 0 2px; border: 0; border-radius: 0;
  background: transparent; color: #611b22; font: 500 10px/1.4 Inter,Arial,sans-serif;
}
header .cart-header-button [data-selection-header-count][hidden] { display: none !important; }
header .cart-header-button:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
@media (min-width: 769px) {
  .page-home .header:not(.is-scrolled):not(.is-menu-open) .cart-header-button,
  .page-home .header:not(.is-scrolled):not(.is-menu-open) .cart-header-button [data-selection-header-count] { color: #fff !important; }
}
