/* Auto-generated by scripts/build-route-css-bundles.mjs */
/* Do not edit this file directly. Update source files under src/styles. */

/* src/styles/profile.css */
.customer-progress {
  padding: clamp(12px, 2.1vw, 18px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 247, 239, 0.98) 100%);
  border: 1px solid #ecd8c7;
  border-radius: 16px;
  box-shadow: 0 8px 16px rgba(82, 48, 30, 0.08);
}

.customer-progress__header {
  gap: 2px;
}

.customer-progress__header h2 {
  font-size: clamp(1.08rem, 4vw, 1.35rem);
  line-height: 1.12;
  margin: 0;
}

.customer-progress__header p {
  margin: 0;
  font-size: 0.82rem;
  color: #7a6253;
}

.customer-progress__overview {
  display: grid;
  gap: 12px;
}

.customer-progress__level {
  background: #fff;
  border: 1px solid #ecd8c8;
  border-radius: 13px;
  padding: 10px 11px;
  display: grid;
  gap: 4px;
  box-shadow: 0 7px 14px rgba(91, 56, 36, 0.08);
}

.customer-progress__level-title {
  margin: 0;
  font-size: 0.72rem;
  color: #7d6354;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 800;
}

.customer-progress__level-value {
  font-family: var(--font-family-heading);
  font-size: clamp(1rem, 2.1vw, 1.22rem);
  color: #3f2b1f;
  line-height: 1.1;
}

.customer-progress__level-copy {
  margin: 0;
  color: #745b4d;
  font-size: 0.76rem;
  line-height: 1.36;
  font-weight: 700;
}

.customer-progress__game {
  display: grid;
  gap: 8px;
  background: linear-gradient(180deg, #fff8ef 0%, #fff4e9 100%);
  border: 1px solid #e8cdb7;
  border-radius: 13px;
  padding: 10px;
  box-shadow: 0 10px 18px rgba(170, 98, 52, 0.11);
}

.customer-progress__game-head {
  display: grid;
  gap: 4px;
}

.customer-progress__game-title {
  margin: 0;
  color: #633e28;
  font-size: 0.86rem;
  font-weight: 800;
}

.customer-progress__game-copy {
  margin: 0;
  color: #6f584b;
  line-height: 1.35;
  font-size: 0.78rem;
}

.customer-progress__progress-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.customer-progress__progress-meta strong {
  font-size: 0.9rem;
  color: #4e2f1f;
  font-family: var(--font-family-heading);
  font-variant-numeric: tabular-nums;
}

.customer-progress__progress-meta span {
  font-size: 0.74rem;
  font-weight: 800;
  color: #985020;
}

.customer-progress__bar {
  height: 12px;
  border-radius: 999px;
  background: #f2e1d2;
  overflow: hidden;
  border: 1px solid #e6cfbc;
}

.customer-progress__bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #e8ab76 0%, #e17c3b 55%, #c86324 100%);
  box-shadow: 0 3px 8px rgba(177, 94, 42, 0.32);
  transition: width var(--motion-base) ease;
}

.customer-progress__sync {
  font-size: 0.7rem;
  color: #8b6f5f;
  font-weight: 700;
}

@media (max-width: 389px) {
  .customer-progress {
    padding: 12px;
  }
}

@media (min-width: 700px) {
  .customer-progress__overview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
  }
}

@media (min-width: 1024px) {
  .customer-progress__overview {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    align-items: start;
    gap: 12px;
  }
}

/* src/styles/catalog.css */
.catalog-section {
  padding: clamp(12px, 2.2vw, 22px);
}

.catalog-toolbar {
  display: grid;
  gap: 8px;
  margin-bottom: 2px;
}

.catalog-toolbar__controls {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.catalog-toolbar__sort .ui-field__input,
.catalog-toolbar__search {
  min-height: 42px;
}

.catalog-toolbar__clear {
  min-height: 42px;
  border-radius: 12px;
}

.catalog-toolbar__toggle {
  min-height: 42px;
  border-radius: 12px;
  border: 1px solid #dec8b8;
  background: #fff;
  color: #5c4434;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  font-size: 0.82rem;
  font-weight: 700;
}

.catalog-toolbar__toggle input {
  width: 16px;
  height: 16px;
  padding: 0;
  border: 1px solid #cfae97;
  border-radius: 4px;
  background: #fff;
  box-shadow: none;
  accent-color: #b4602c;
  flex-shrink: 0;
}

.catalog-toolbar__toggle span {
  line-height: 1.15;
}

.catalog-empty-wrap {
  margin-top: 4px;
}

.product-grid {
  width: 100%;
  max-width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-items: stretch;
}

.product-card {
  background: #fff;
  border: 1px solid #eddccc;
  border-radius: 16px;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr auto;
  box-shadow: 0 9px 18px rgba(77, 47, 29, 0.1);
  min-height: 252px;
  width: 100%;
  min-width: 0;
  transition:
    transform var(--motion-fast) ease,
    box-shadow var(--motion-fast) ease,
    border-color var(--motion-fast) ease;
}

.product-card__summary {
  border: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  text-align: left;
  color: inherit;
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
  width: 100%;
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-2px);
}

.product-card--active {
  transform: translateY(-1px);
  border-color: #e3b48e;
  box-shadow: 0 12px 20px rgba(163, 93, 43, 0.16);
  animation: card-bounce var(--motion-base) ease-out;
}

.product-card--selected {
  border-color: #ddbc9f;
}

.product-card--sold-out {
  border-color: #e2d7ce;
  opacity: 0.84;
}

.product-card--low-stock {
  border-color: #e9c5a3;
}

.product-card--sold-out .quantity-control__button--plus {
  background: #e7e0d9;
  color: #8a776a;
  box-shadow: none;
}

.product-card--active .product-card__image-wrap img {
  animation: cookie-pop var(--motion-base) ease-out;
}

.product-card__image-wrap {
  position: relative;
  background: linear-gradient(180deg, #f9ede2 0%, #f4e1d2 100%);
  padding: 6px;
  min-height: 118px;
}

.product-card img {
  width: 100%;
  min-height: 108px;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  object-position: center;
  background: #f7e7dc;
  border-radius: 10px;
}

.product-card__selected {
  position: absolute;
  left: 6px;
  top: 6px;
  background: rgba(58, 42, 32, 0.72);
  backdrop-filter: blur(2px);
  color: #fff;
  border-radius: 999px;
  padding: 2px 6px;
  font-size: 0.64rem;
  font-weight: 700;
}

.product-card__stock-badge {
  position: absolute;
  right: 6px;
  top: 6px;
  background: rgba(255, 250, 244, 0.92);
  color: #75472b;
  border: 1px solid #e5c7b0;
  border-radius: 999px;
  padding: 2px 6px;
  font-size: 0.64rem;
  font-weight: 800;
  max-width: calc(100% - 12px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-card__stock-badge--sold-out {
  background: rgba(100, 78, 63, 0.88);
  color: #fff;
  border-color: transparent;
}

.product-card__content {
  padding: 9px 9px 4px;
  display: grid;
  gap: 6px;
  min-width: 0;
}

.product-card__content h3 {
  margin: 0;
  font-family: var(--font-family-heading);
  font-size: clamp(0.9rem, 1.2vw, 1.02rem);
  line-height: 1.16;
  overflow-wrap: anywhere;
}

.product-card__description {
  margin: 0;
  color: var(--muted);
  font-size: 0.79rem;
  line-height: 1.26;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
}

.catalog-product-detail-modal {
  width: min(560px, calc(100% - 10px));
}

.catalog-product-detail-modal__body {
  display: grid;
  gap: 12px;
  margin-top: 10px;
}

.catalog-product-detail-modal__image-wrap {
  border-radius: 14px;
  overflow: hidden;
  background: #f5e6d9;
  border: 1px solid #ead6c6;
}

.catalog-product-detail-modal__image-wrap img {
  width: 100%;
  min-height: 190px;
  max-height: 250px;
  object-fit: cover;
}

.catalog-product-detail-modal__description {
  margin: 0;
  color: #5a4335;
  line-height: 1.5;
  white-space: pre-line;
}

.catalog-product-detail-modal__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.catalog-product-detail-modal__price {
  font-size: 1.3rem;
  color: var(--primary-strong);
}

.catalog-product-detail-modal__stock {
  border: 1px solid #d8e9dc;
  background: #eff9f1;
  color: #266744;
  min-height: 26px;
  border-radius: 999px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 700;
}

.catalog-product-detail-modal__stock--sold-out {
  border-color: #e8cecb;
  background: #fbf0ef;
  color: #8a4038;
}

.catalog-product-detail-modal__footer {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.product-card__meta {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.product-card__tag,
.product-card__availability {
  display: inline-flex;
  align-items: center;
  min-height: 21px;
  border-radius: 999px;
  padding: 0 8px;
  font-size: 0.66rem;
  line-height: 1;
  letter-spacing: 0.01em;
}

.product-card__tag {
  border: 1px solid #dfc7b6;
  background: #fff7ef;
  color: #765340;
  text-transform: uppercase;
  font-weight: 800;
}

.product-card__availability {
  border: 1px solid #d9e9dd;
  background: #f3fcf5;
  color: #2c7448;
  font-weight: 700;
}

.product-card__footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 6px;
  min-width: 0;
}

.product-card__price {
  color: var(--primary-strong);
  font-size: clamp(1.04rem, 2vw, 1.18rem);
  line-height: 1;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.product-card__subtotal {
  color: #7f6655;
  font-size: 0.66rem;
  font-weight: 700;
  text-align: right;
  overflow-wrap: anywhere;
}

.quantity-control {
  margin: 0 9px 9px auto;
  padding: 1px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1px;
  border: 1px solid #e7cfbb;
  border-radius: 999px;
  background: #f8ebdf;
  width: fit-content;
  max-width: 100%;
}

.product-card__add {
  margin: 0 9px 9px;
  min-height: 38px;
  border-radius: 10px;
  font-size: 0.84rem;
  font-weight: 800;
  padding-inline: 10px;
}

.quantity-control__button {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 0;
  background: transparent;
  color: #5a3a29;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1;
  transform-origin: center;
  transition:
    transform var(--motion-fast) ease,
    background-color var(--motion-fast) ease,
    color var(--motion-fast) ease,
    opacity var(--motion-fast) ease;
}

.quantity-control__button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.quantity-control__button:active:not(:disabled) {
  transform: scale(0.9);
}

.quantity-control__button--plus {
  background: var(--secondary);
  color: #6c3615;
  box-shadow: inset 0 -1px 0 rgba(108, 54, 21, 0.15);
}

.quantity-control__value {
  min-width: 27px;
  height: 22px;
  border-radius: 999px;
  background: #fff;
  display: grid;
  place-items: center;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.product-card--loading {
  border-color: #f0dfd2;
}

.loading {
  border-radius: 10px;
  background: linear-gradient(90deg, #f6e9df 20%, #fbf2ea 45%, #f6e9df 70%);
  background-size: 220% 100%;
  animation: shimmer 1.2s infinite;
}

.loading--image {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 0;
}

.loading--title {
  height: 1rem;
  width: 58%;
}

.loading--line {
  height: 0.75rem;
  width: 90%;
}

.loading--line.short {
  width: 45%;
}

.loading--button {
  width: 26px;
  height: 26px;
}

.loading--counter {
  width: 24px;
  height: 18px;
}

/* src/styles/creators.css */
.creators-section {
  margin-top: var(--space-1);
  position: relative;
  overflow: hidden;
  background: #fffdfb;
  padding: clamp(12px, 2.2vw, 22px);
}

.creators-section::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 10% 18%, rgba(197, 106, 45, 0.08) 0%, rgba(197, 106, 45, 0) 24%),
    radial-gradient(circle at 84% 82%, rgba(197, 106, 45, 0.08) 0%, rgba(197, 106, 45, 0) 26%);
}

.creators-grid {
  display: grid;
  gap: var(--space-2);
}

.creator-card {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: clamp(10px, 2vw, 16px);
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: clamp(10px, 2vw, 16px);
  align-items: center;
  box-shadow: 0 8px 20px rgba(82, 49, 30, 0.1);
}

.creator-card__photo {
  width: 92px;
  height: 110px;
  border-radius: 14px;
  object-fit: contain;
  object-position: center top;
  border: 1px solid #edd2bf;
  background: #fff;
  box-shadow: 0 8px 18px rgba(98, 53, 30, 0.17);
}

.creator-card__content h3 {
  margin: 0 0 4px;
  font-family: var(--font-family-heading);
  font-size: clamp(0.98rem, 2.2vw, 1.08rem);
}

.creator-card__content p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(0.84rem, 1.8vw, 0.95rem);
  line-height: 1.34;
  overflow-wrap: anywhere;
}

/* src/styles/order.css */
.sheet-backdrop {
  position: fixed;
  inset: 0;
  z-index: 30;
  background: rgba(32, 23, 18, 0.5);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: clamp(8px, 2.4vw, 18px);
  overflow: hidden;
  overscroll-behavior: none;
  touch-action: none;
}

.order-sheet {
  width: min(560px, calc(100% - 4px));
  max-height: min(86dvh, 740px);
  overflow-y: auto;
  overflow-x: hidden;
  background: #fffdfb;
  border-radius: 22px 22px 0 0;
  padding: clamp(14px, 2.8vw, 24px) clamp(13px, 2.8vw, 24px) calc(clamp(14px, 2.8vw, 24px) + env(safe-area-inset-bottom));
  box-shadow: 0 20px 34px rgba(34, 21, 14, 0.3);
  animation: sheet-up var(--motion-base) ease-out;
  overscroll-behavior-y: contain;
  overscroll-behavior-x: none;
  touch-action: pan-y;
  min-width: 0;
}

.admin-login-sheet .order-form {
  margin-top: 10px;
}

.order-sheet__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-2);
}

.order-sheet__header h2 {
  margin: 0;
  font-family: var(--font-family-heading);
}

.order-sheet__header p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.4;
}

.order-sheet__close {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: #f3e4d6;
  color: var(--text);
  font-size: 1.35rem;
  line-height: 1;
  transition: transform var(--motion-fast) ease, background-color var(--motion-fast) ease;
}

.order-sheet__items {
  margin: 0.9rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  min-width: 0;
}

.order-sheet__items li {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 12px;
  min-width: 0;
}

.order-sheet__items li div {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.order-sheet__items li span {
  color: var(--muted);
  font-size: 0.82rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.order-sheet__items li strong {
  overflow-wrap: anywhere;
}

.order-sheet__empty {
  margin: 12px 0;
  color: #7a5d4d;
  font-size: 0.9rem;
  background: #fff8f1;
  border: 1px dashed #e8d3c3;
  border-radius: 12px;
  padding: 10px 12px;
}

.order-sheet__item-actions {
  display: inline-grid;
  grid-auto-flow: row;
  justify-items: end;
  gap: 6px;
  align-content: start;
}

.order-sheet__item-actions .quantity-control {
  margin: 0;
  display: inline-flex;
}

.order-sheet__item-actions .quantity-control__button {
  width: 24px;
  height: 24px;
}

.order-sheet__item-actions .quantity-control__value {
  min-width: 28px;
  height: 24px;
  font-size: 0.8rem;
}

.order-sheet__item-actions strong {
  white-space: nowrap;
}

.order-sheet__remove {
  border: 0;
  background: transparent;
  color: #8f4f2d;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: underline;
  padding: 0;
}

.order-sheet__remove:disabled {
  opacity: 0.5;
  text-decoration: none;
}

.order-sheet__total {
  margin: 0.85rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
}

.order-form {
  display: grid;
  gap: var(--space-2);
  min-width: 0;
  overflow-x: clip;
}

.order-form .ui-field,
.order-form .ui-field__input {
  min-width: 0;
  max-width: 100%;
}

.order-form .ui-field__input[type="date"] {
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.order-form__date-shortcuts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: -8px;
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
}

.order-form__date-chip {
  min-height: 32px;
  border: 1px solid #dfc7b6;
  border-radius: 999px;
  background: #fff;
  color: #70482f;
  padding: 0 12px;
  font-size: 0.78rem;
  font-weight: 700;
  transition:
    background-color var(--motion-fast) ease,
    border-color var(--motion-fast) ease,
    color var(--motion-fast) ease;
}

.order-form__date-chip--active {
  border-color: #cc7c47;
  background: #fff1e3;
  color: #8f4f24;
}

.order-form__notes {
  min-height: 88px;
  resize: vertical;
  line-height: 1.4;
}

.order-form__notes-counter {
  font-size: 0.75rem;
  color: #7a5e4d;
  justify-self: end;
}

.order-form__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  color: #fff;
  min-height: 48px;
  font-weight: 800;
  box-shadow: 0 12px 22px rgba(113, 54, 27, 0.26);
  transition: filter var(--motion-fast) ease, transform var(--motion-fast) ease;
}

.order-form__submit:disabled {
  opacity: 0.7;
}

.order-form__submit-icon {
  width: 17px;
  height: 17px;
  object-fit: contain;
}

.order-sheet__message {
  margin: 0.75rem 0 0;
  border-radius: 12px;
  padding: 12px;
  font-size: 0.9rem;
  border: 1px solid #e6d3c3;
  background: #fff7ef;
  line-height: 1.4;
}

.order-sheet__message p {
  margin: 0;
}

.order-sheet__message p + p {
  margin-top: 7px;
}

.order-sheet__message a {
  color: var(--primary-strong);
  font-weight: 800;
  text-decoration: none;
}

.order-sheet__message--success {
  color: #7a4b2d;
}

.order-sheet__message--error {
  color: var(--error);
  font-weight: 700;
  background: #fff3f2;
  border-color: #edc3c1;
}

.thank-you-modal {
  border-radius: 20px;
  animation: thank-you-pop var(--motion-slow) ease-out;
}

.thank-you-modal__header {
  display: grid;
  gap: 6px;
  margin-bottom: 10px;
}

.thank-you-modal__eyebrow {
  margin: 0;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 800;
  color: #8e552f;
}

.thank-you-modal__header h2 {
  margin: 0;
  font-family: var(--font-family-heading);
  line-height: 1.2;
}

.thank-you-modal__celebrate {
  margin: 0;
  color: #b0622d;
  letter-spacing: 0.06em;
  font-size: 1rem;
  animation: thank-you-float 2.2s ease-in-out infinite;
}

.thank-you-modal__content {
  display: grid;
  gap: 10px;
  color: #5f4738;
}

.thank-you-modal__content p {
  margin: 0;
  line-height: 1.48;
}

.thank-you-modal__content a {
  color: var(--primary-strong);
  font-weight: 700;
}

.thank-you-modal__meta {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.thank-you-modal__meta li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #fff5eb;
  border: 1px solid #ead5c6;
  border-radius: 12px;
  padding: 9px 10px;
}

.thank-you-modal__meta span {
  color: #7a5e4e;
  font-size: 0.86rem;
}

.thank-you-modal__meta strong {
  color: #402b21;
  font-size: 0.92rem;
  text-align: right;
}

.thank-you-modal__button {
  margin: 16px auto 0;
  width: min(280px, 100%);
  display: flex;
  margin-inline: auto;
  justify-content: center;
  align-items: center;
  min-height: 46px;
  border-radius: 999px;
  box-shadow: 0 14px 24px rgba(152, 84, 42, 0.26);
  animation: thank-you-button-enter var(--motion-base) ease-out;
}

.thank-you-modal__button:active {
  transform: scale(0.96);
}

.history-modal {
  width: min(640px, 100%);
  max-height: min(84vh, 760px);
  overflow: auto;
  border-radius: 20px;
  background: #fffdfb;
}

.history-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.history-modal__header h2 {
  margin: 0;
  font-family: var(--font-family-heading);
}

.history-modal__header p {
  margin: 4px 0 0;
  color: #7a5f4f;
  font-size: 0.9rem;
  line-height: 1.45;
}

.history-modal__actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-top: 12px;
}

.history-modal__actions--bottom {
  margin-top: 14px;
  justify-content: center;
}

.history-modal__message,
.history-modal__empty {
  margin: 12px 0;
  border-radius: 12px;
  border: 1px dashed #e7d3c3;
  background: #fff8f0;
  padding: 10px 12px;
  color: #6f5446;
  font-size: 0.88rem;
}

.history-modal__list {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.history-modal__list li {
  background: #fff7ef;
  border: 1px solid #ecd9ca;
  border-radius: 12px;
  padding: 10px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.history-modal__list li > div {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.history-modal__list li span {
  color: #7d6353;
  font-size: 0.82rem;
}

.history-modal__list li strong:last-child {
  white-space: nowrap;
}

@keyframes thank-you-pop {
  0% {
    opacity: 0;
    transform: translateY(10px) scale(0.97);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes thank-you-float {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.95;
  }

  50% {
    transform: translateY(-3px);
    opacity: 1;
  }
}

@keyframes thank-you-button-enter {
  0% {
    opacity: 0;
    transform: translateY(6px) scale(0.98);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* src/styles/cart.css */
.cart-summary {
  position: fixed;
  left: 50%;
  bottom: max(0.45rem, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  z-index: 18;
  width: min(1024px, calc(100% - 0.9rem));
  max-width: calc(100% - 0.9rem);
  background: #fff9f4;
  color: #452f22;
  border: 1px solid #ecd4c3;
  border-radius: 18px;
  min-height: 62px;
  padding: 8px 10px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  overflow: hidden;
  box-shadow: 0 12px 22px rgba(55, 36, 26, 0.18);
}

.cart-summary--pulse {
  animation: pop var(--motion-base) ease-out;
}

.cart-summary__meta {
  min-width: 0;
  flex: 1;
  display: grid;
  gap: 2px;
}

.cart-summary__label {
  font-size: 0.66rem;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 800;
  color: #8a6a57;
}

.cart-summary__line {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: clamp(0.82rem, 1.8vw, 0.95rem);
  font-weight: 800;
  color: #3f2d22;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  line-height: 1.2;
}

.cart-summary__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 0;
  min-height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, #e88a42, #cc6423);
  color: #fff;
  padding: 0.5rem 0.95rem;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 10px 16px rgba(177, 90, 34, 0.24);
  transition: transform var(--motion-fast) ease, filter var(--motion-fast) ease;
  flex-shrink: 0;
  min-width: clamp(142px, 36vw, 210px);
  max-width: 100%;
}

.cart-summary__button:active {
  transform: scale(0.97);
}

.cart-summary__button-icon {
  width: 17px;
  height: 17px;
  object-fit: contain;
}
