/* Auto-generated by scripts/build-route-css-bundles.mjs */
/* Do not edit this file directly. Update source files under src/styles. */
@layer tokens, primitives, components, screens, utilities;

/* src/styles/base.css [layer:tokens] */
@layer tokens {
  :root {
    --font-inter: "Segoe UI";
    --font-poppins: "Segoe UI";
    --font-family-base: var(--font-inter), "Segoe UI", sans-serif;
    --font-family-heading: var(--font-poppins), var(--font-inter), sans-serif;
    --bg: #fff7f0;
    --surface: #ffffff;
    --surface-soft: #fff3e8;
    --surface-alt: #fff8f1;
    --text: #3a2a20;
    --muted: #7b6657;
    --primary: #c56a2d;
    --primary-strong: #aa5722;
    --secondary: #e9a46b;
    --border: #efdccd;
    --success: #1f7a49;
    --warning: #9a5a1f;
    --error: #b93d36;
    --space-0: 4px;
    --space-1: 8px;
    --space-2: 16px;
    --space-3: 24px;
    --space-4: 32px;
    --space-4-5: 40px;
    --space-5: 48px;
    --radius-sm: 12px;
    --radius-md: 16px;
    --radius-lg: 20px;
    --shadow-sm: 0 6px 14px rgba(78, 47, 29, 0.08);
    --shadow-md: 0 14px 28px rgba(78, 47, 29, 0.13);
    --motion-fast: 160ms;
    --motion-base: 220ms;
    --motion-slow: 260ms;
    --motion-feedback: 280ms;
    --safe-top: env(safe-area-inset-top, 0px);
    --safe-right: env(safe-area-inset-right, 0px);
    --safe-bottom: env(safe-area-inset-bottom, 0px);
    --safe-left: env(safe-area-inset-left, 0px);
    --touch-target-min: 44px;
    --touch-target-compact: 40px;
    --sc-viewport-height: 100dvh;
  }

  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }

  html,
  body,
  #root {
    min-height: 100%;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    overflow-x: hidden;
    min-height: 100%;
  }

  body {
    margin: 0;
    min-width: 320px;
    min-height: 100vh;
    min-height: 100dvh;
    font-family: var(--font-family-base);
    color: var(--text);
    background-color: #fff8f2;
    background-image:
      linear-gradient(180deg, rgba(255, 252, 248, 0.96) 0%, rgba(255, 246, 238, 0.96) 100%),
      url("/logos/background.webp");
    background-size:
      100% 100%,
      210px auto;
    background-position:
      center,
      0 0;
    background-repeat:
      no-repeat,
      repeat;
    background-attachment:
      scroll,
      scroll;
    overflow-x: hidden;
    overscroll-behavior-x: none;
    touch-action: pan-y;
    -webkit-tap-highlight-color: transparent;
  }

  #root {
    position: relative;
    isolation: isolate;
    overflow-x: clip;
  }

  img {
    max-width: 100%;
    display: block;
  }

  button,
  input,
  select,
  textarea {
    font: inherit;
    font-size: 16px;
  }

  button,
  [role="button"],
  a,
  input,
  select,
  textarea {
    touch-action: manipulation;
  }

  label {
    display: grid;
    gap: 4px;
    font-size: 0.9rem;
    color: var(--muted);
    font-weight: 700;
  }

  input {
    width: 100%;
    border-radius: 12px;
    border: 1px solid #dfcebf;
    padding: 12px;
    background: #fff;
    color: var(--text);
  }

  input:focus {
    outline: none;
    border-color: #d18755;
    box-shadow: 0 0 0 3px rgba(209, 135, 85, 0.18);
  }

  @media (max-width: 480px) {
    :root {
      --space-2: 13px;
      --space-3: 18px;
      --radius-md: 14px;
      --radius-lg: 18px;
      --touch-target-compact: 38px;
    }

    body {
      background-size:
        100% 100%,
        170px auto;
    }
  }

  @media (max-width: 360px) {
    :root {
      --space-2: 12px;
      --space-3: 16px;
      --touch-target-min: 40px;
    }
  }
}

/* src/styles/motion.css [layer:tokens] */
@layer tokens {
  @media (hover: hover) and (pointer: fine) {
    .product-card:hover {
      transform: translateY(-3px);
      box-shadow:
        0 16px 28px rgba(104, 60, 33, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.64);
    }

    .quantity-control__button:hover {
      background: #f3dfcd;
    }

    .quantity-control__button--plus:hover {
      background: linear-gradient(180deg, #eba760 0%, #d77c39 100%);
      color: #5d2f13;
    }

    .cart-summary__button:hover {
      filter: brightness(1.04);
    }

    .app-topbar__action:hover {
      background: #fdf2e9;
      box-shadow: 0 5px 10px rgba(139, 85, 55, 0.1);
    }

    .order-sheet__close:hover {
      background: #ecd9c7;
    }

    .order-form__submit:hover:not(:disabled) {
      filter: brightness(1.03);
    }
  }

  @keyframes shimmer {
    0% {
      background-position: 100% 0;
    }

    100% {
      background-position: -100% 0;
    }
  }

  @keyframes slide-down {
    from {
      opacity: 0;
      transform: translateY(-6px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes pop {
    0% {
      transform: translateX(-50%) scale(0.97);
    }

    100% {
      transform: translateX(-50%) scale(1);
    }
  }

  @keyframes card-bounce {
    0% {
      transform: translateY(0) scale(1);
    }

    40% {
      transform: translateY(-2px) scale(1.016);
    }

    100% {
      transform: translateY(-2px) scale(1.003);
    }
  }

  @keyframes cookie-pop {
    0% {
      transform: scale(1);
    }

    45% {
      transform: scale(1.035);
    }

    100% {
      transform: scale(1);
    }
  }

  @keyframes number-pop {
    0% {
      transform: scale(1);
    }

    45% {
      transform: scale(1.12);
    }

    100% {
      transform: scale(1);
    }
  }

  @keyframes float-up {
    from {
      opacity: 0;
      transform: translate(-50%, 0);
    }

    to {
      opacity: 1;
      transform: translate(-50%, -6px);
    }
  }

  @keyframes sheet-up {
    from {
      opacity: 0;
      transform: translateY(18px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
      scroll-behavior: auto !important;
    }
  }
}

/* src/styles/ui.css [layer:primitives] */
@layer primitives {
  .ui-button {
    border: 0;
    border-radius: var(--radius-sm);
    min-height: var(--touch-target-min);
    padding: 0.6rem 0.9rem;
    line-height: 1.15;
    font-weight: 700;
    cursor: pointer;
    transition:
      transform var(--motion-fast) ease,
      filter var(--motion-fast) ease,
      background-color var(--motion-fast) ease,
      box-shadow var(--motion-fast) ease;
  }

  .ui-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
  }

  .ui-button:active:not(:disabled) {
    transform: scale(0.97);
  }

  .ui-button--primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-strong));
    color: #fff;
    box-shadow: 0 10px 18px rgba(139, 76, 37, 0.24);
  }

  .ui-button--ghost {
    background: #fff;
    border: 1px solid #dcc5b3;
    color: var(--text);
    box-shadow: none;
  }

  .ui-icon-button {
    border: 0;
    background: transparent;
    border-radius: 999px;
    min-width: var(--touch-target-min);
    min-height: var(--touch-target-min);
    cursor: pointer;
    transition: transform var(--motion-fast) ease, background-color var(--motion-fast) ease;
  }

  .ui-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
  }

  .ui-section {
    display: grid;
    gap: var(--space-3);
    padding: var(--space-3);
  }

  .ui-section__header h2 {
    margin: 0;
    font-family: var(--font-family-heading);
    font-size: 1.46rem;
    line-height: 1.15;
  }

  .ui-section__header p {
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.4;
  }

  .ui-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: #f9e3cf;
    color: var(--primary-strong);
    padding: 4px 10px;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  .ui-price {
    font-family: var(--font-family-heading);
    font-weight: 700;
  }

  .ui-avatar {
    border-radius: 999px;
    object-fit: cover;
  }

  .ui-product-image {
    width: 100%;
    height: auto;
  }

  .ui-product-image--fallback {
    background: linear-gradient(180deg, #f7e8dc 0%, #f1ddcc 100%);
  }

  .ui-field {
    display: grid;
    gap: 4px;
    font-size: 0.9rem;
    color: var(--muted);
    font-weight: 700;
    min-width: 0;
    max-width: 100%;
  }

  .ui-field__label {
    display: block;
  }

  .ui-field__control {
    position: relative;
    display: block;
  }

  .ui-field__input {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    min-height: var(--touch-target-min);
    border-radius: 12px;
    border: 1px solid #dfcebf;
    padding: 11px;
    background: #fff;
    color: var(--text);
  }

  .ui-field__input--with-end-adornment {
    padding-right: 44px;
  }

  .ui-field__end-adornment {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .ui-field__adornment-button {
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 999px;
    background: #f3e7dc;
    color: #6f4f3c;
    font-size: 0.92rem;
    line-height: 1;
    cursor: pointer;
    transition:
      background-color var(--motion-fast) ease,
      transform var(--motion-fast) ease;
  }

  .ui-field__adornment-button:hover {
    background: #ead8c8;
  }

  .ui-field__adornment-button:active {
    transform: scale(0.95);
  }

  .ui-field__input[type="date"] {
    min-inline-size: 0;
  }

  .ui-field__input:focus {
    outline: none;
    border-color: #d18755;
    box-shadow: 0 0 0 3px rgba(209, 135, 85, 0.18);
  }

  .ui-field__error {
    color: var(--error);
    font-size: 0.84rem;
    font-weight: 700;
  }

  .inline-feedback {
    border: 1px dashed #e5cdb9;
    border-radius: var(--radius-sm);
    padding: 14px;
    color: var(--muted);
  }

  .inline-feedback--error {
    border-style: solid;
    border-color: #e7b8b4;
    background: #fff4f3;
    color: var(--error);
  }

  @media (max-width: 480px) {
    .ui-button {
      min-height: var(--touch-target-compact);
      padding: 0.52rem 0.78rem;
      font-size: 0.9rem;
    }

    .ui-field {
      font-size: 0.86rem;
    }

    .ui-field__input {
      min-height: var(--touch-target-compact);
      border-radius: 11px;
      padding: 9px 10px;
    }
  }
}

/* src/styles/layout.css [layer:primitives] */
@layer primitives {
  .page {
    width: min(1160px, 100%);
    max-width: 1160px;
    margin: 0 auto;
    padding:
      max(clamp(9px, 2.1vw, 20px), calc(var(--safe-top) + 8px))
      clamp(10px, 2.2vw, 20px)
      calc(7.9rem + var(--safe-bottom));
    display: grid;
    gap: clamp(8px, 1.5vw, 13px);
    overflow-x: clip;
  }

  .page > * {
    min-width: 0;
  }

  .storefront-entry {
    display: grid;
    gap: 9px;
  }

  .storefront-entry__hero,
  .storefront-entry__progress {
    min-width: 0;
  }

  .app-topbar {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 248, 242, 0.97) 100%);
    border: 1px solid var(--border);
    border-radius: 15px;
    padding: 6px 8px;
    box-shadow: 0 7px 14px rgba(99, 60, 34, 0.08);
    display: grid;
    gap: 4px;
  }

  .app-topbar__identity {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    align-items: center;
    gap: 7px;
    min-width: 0;
  }

  .app-topbar__logo {
    width: 46px;
    height: 46px;
    border-radius: 10px;
    object-fit: contain;
    border: 0;
    background: transparent;
    box-shadow: none;
    justify-self: center;
  }

  .app-topbar__brand-copy {
    min-width: 0;
    display: grid;
    gap: 2px;
  }

  .app-topbar__title {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-family-heading);
    font-size: clamp(0.91rem, 1.34vw, 1.02rem);
    line-height: 1.1;
    color: #3d291f;
    font-weight: 800;
  }

  .app-topbar__admin-pill {
    min-height: 16px;
    border-radius: 999px;
    padding: 0 5px;
    border: 1px solid #ead4c2;
    background: #fff8f1;
    color: #997864;
    font-size: 0.58rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
  }

  .app-topbar__phone {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
    font-size: clamp(0.72rem, 1.2vw, 0.8rem);
    color: #6f5343;
    font-weight: 600;
    overflow: hidden;
  }

  .app-topbar__phone strong {
    color: #432f23;
    font-weight: 700;
    overflow-wrap: anywhere;
  }

  .app-topbar__phone span {
    color: #6d5241;
    overflow-wrap: anywhere;
  }

  .app-topbar__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: 5px;
  }

  .app-topbar__action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 40px;
    border: 1px solid #deccb9;
    border-radius: 999px;
    background: linear-gradient(180deg, #fff 0%, #fff8f2 100%);
    color: var(--text);
    padding: 0 8px;
    font-size: clamp(0.72rem, 1.04vw, 0.78rem);
    font-weight: 700;
    white-space: normal;
    line-height: 1.15;
    text-align: center;
    transition:
      background-color var(--motion-fast) ease,
      transform var(--motion-fast) ease,
      box-shadow var(--motion-fast) ease;
  }

  .app-topbar__action:active {
    transform: scale(0.97);
  }

  .app-topbar__action--history {
    background: linear-gradient(180deg, #fff 0%, #fff5ec 100%);
    color: #4b3124;
  }

  .app-topbar__action--logout {
    background: #fff;
    color: #7a6254;
    border-color: #e8d8ca;
    box-shadow: none;
  }

  .storefront-hero {
    position: relative;
    border: 1px solid #edd8c8;
    border-radius: 17px;
    background:
      linear-gradient(128deg, rgba(255, 252, 248, 0.97) 0%, rgba(255, 242, 230, 0.96) 54%, rgba(245, 219, 197, 0.9) 100%),
      radial-gradient(circle at right top, rgba(227, 159, 106, 0.22), transparent 56%);
    box-shadow: 0 12px 22px rgba(81, 49, 31, 0.12);
    padding: clamp(12px, 2vw, 18px);
    display: grid;
    gap: 9px;
  }

  .storefront-hero__content {
    display: grid;
    gap: 6px;
  }

  .storefront-hero__eyebrow {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    font-size: 0.66rem;
    color: #8c5a38;
    font-weight: 800;
  }

  .storefront-hero__content h1 {
    margin: 0;
    font-family: var(--font-family-heading);
    font-size: clamp(1.16rem, 2.1vw, 1.62rem);
    line-height: 1.13;
    color: #36231a;
  }

  .storefront-hero__content p {
    margin: 0;
    color: #694f3f;
    line-height: 1.35;
    max-width: 54ch;
    font-size: clamp(0.86rem, 1.06vw, 0.94rem);
  }

  .storefront-hero__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  .storefront-hero__actions .ui-button {
    min-height: 40px;
  }

  .storefront-hero__cart-hint {
    margin-top: 2px;
    color: #7c5e4b;
    font-size: 0.77rem;
    font-weight: 700;
  }

  .storefront-hero__catalog-link {
    justify-self: start;
    border: 0;
    background: transparent;
    color: #995123;
    font-size: 0.78rem;
    font-weight: 800;
    padding: 0;
    border-bottom: 1px dashed rgba(153, 81, 35, 0.45);
    cursor: pointer;
    transition: color var(--motion-fast) ease, border-color var(--motion-fast) ease;
  }

  .storefront-hero__catalog-link:hover {
    color: #7f411b;
    border-color: rgba(127, 65, 27, 0.52);
  }

  .storefront-hero__highlights {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .storefront-hero__chip {
    border: 1px solid #e7d0be;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.86);
    padding: 9px 10px;
    display: grid;
    gap: 5px;
  }

  .storefront-hero__chip span {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #7e6252;
    font-weight: 700;
  }

  .storefront-hero__chip strong {
    font-family: var(--font-family-base);
    font-size: 0.85rem;
    line-height: 1.35;
    font-weight: 700;
    color: #3e2a20;
  }

  @media (max-width: 520px) {
    .page {
      padding-bottom: calc(7rem + var(--safe-bottom));
      gap: 9px;
    }

    .app-topbar {
      border-radius: 14px;
      padding: 6px 7px;
      gap: 5px;
    }

    .storefront-hero {
      padding: 12px;
      border-radius: 15px;
    }

    .storefront-hero__highlights {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .storefront-loyalty-collapsible > summary {
      grid-template-columns: minmax(0, 1fr) auto;
      row-gap: 4px;
    }

    .storefront-loyalty-collapsible__summary-kicker {
      font-size: 0.62rem;
    }

    .storefront-loyalty-collapsible__summary-main {
      font-size: 0.82rem;
    }

    .storefront-loyalty-collapsible__summary-sub {
      font-size: 0.68rem;
    }

    .storefront-loyalty-collapsible__summary-action {
      grid-column: 1 / -1;
      justify-self: start;
      font-size: 0.64rem;
    }
  }

  #catalog {
    scroll-margin-top: clamp(8px, 2.5vw, 16px);
  }

  .storefront-loyalty-collapsible {
    margin-top: 10px;
    border: 1px solid #e8d4c3;
    border-radius: 14px;
    background: #fffaf4;
    box-shadow: 0 8px 16px rgba(83, 50, 31, 0.08);
    overflow: hidden;
  }

  .storefront-loyalty-collapsible--reward {
    border-color: #c6dfc4;
    background: linear-gradient(180deg, #fffefb 0%, #f6fcf3 100%);
  }

  .storefront-loyalty-collapsible--near {
    border-color: #e3c1a7;
  }

  .storefront-loyalty-collapsible > summary {
    list-style: none;
    cursor: pointer;
    min-height: var(--touch-target-min);
    padding: 9px 11px;
    color: #5d4434;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    column-gap: 8px;
    row-gap: 4px;
  }

  .storefront-loyalty-collapsible__summary-copy {
    min-width: 0;
    display: grid;
    gap: 2px;
  }

  .storefront-loyalty-collapsible__summary-kicker {
    font-size: 0.63rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #8a6d58;
    font-weight: 800;
  }

  .storefront-loyalty-collapsible__summary-main {
    min-width: 0;
    font-size: 0.9rem;
    line-height: 1.2;
    font-weight: 800;
  }

  .storefront-loyalty-collapsible__summary-sub {
    min-width: 0;
    font-size: 0.72rem;
    line-height: 1.24;
    color: #7f6554;
    font-weight: 600;
  }

  .storefront-loyalty-collapsible__summary-action {
    justify-self: end;
    min-height: 24px;
    border-radius: 999px;
    border: 1px solid #e6d3c3;
    background: #fff5eb;
    color: #7f604b;
    display: inline-flex;
    align-items: center;
    padding: 0 10px;
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    white-space: nowrap;
  }

  .storefront-loyalty-collapsible__summary-action--open {
    display: none;
  }

  .storefront-loyalty-collapsible__summary-chevron {
    width: 22px;
    height: 22px;
    border-radius: 999px;
    border: 1px solid #e3cdbd;
    background: #fff5eb;
    color: #7a5b46;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.84rem;
    transition:
      transform var(--motion-fast) ease,
      background-color var(--motion-fast) ease,
      border-color var(--motion-fast) ease;
  }

  .storefront-loyalty-collapsible > summary::-webkit-details-marker {
    display: none;
  }

  .storefront-loyalty-collapsible[open] .storefront-loyalty-collapsible__summary-action--closed {
    display: none;
  }

  .storefront-loyalty-collapsible[open] .storefront-loyalty-collapsible__summary-action--open {
    display: inline;
  }

  .storefront-loyalty-collapsible[open] .storefront-loyalty-collapsible__summary-chevron {
    transform: rotate(180deg);
    background: #fff0e1;
    border-color: #dbbca4;
  }

  .storefront-loyalty-collapsible[open] .storefront-loyalty-collapsible__summary-action {
    background: #ffeddc;
    border-color: #ddc0a9;
  }

  .storefront-loyalty-collapsible--reward .storefront-loyalty-collapsible__summary-action {
    border-color: #c8e0c4;
    background: #edf8ea;
    color: #2f6840;
  }

  .storefront-loyalty-collapsible--reward[open] .storefront-loyalty-collapsible__summary-action {
    border-color: #b9d7b4;
    background: #e5f4e1;
  }

  .storefront-loyalty-collapsible > summary:hover .storefront-loyalty-collapsible__summary-chevron {
    background: #fcebdd;
    border-color: #dcbda6;
  }

  .storefront-loyalty-collapsible__content {
    padding: 0 10px 10px;
  }
}

/* src/styles/auth.css [layer:components] */
@layer components {
  .phone-gate {
    min-height: 100vh;
    min-height: 100dvh;
    display: grid;
    place-items: center;
    position: relative;
    padding:
      max(clamp(14px, 2.8vw, 24px), calc(var(--safe-top) + 12px))
      clamp(12px, 3vw, 24px)
      max(clamp(14px, 2.8vw, 24px), calc(var(--safe-bottom) + 12px));
    background:
      radial-gradient(circle at 14% 8%, rgba(247, 217, 177, 0.36) 0%, rgba(247, 217, 177, 0) 42%),
      radial-gradient(circle at 88% 14%, rgba(176, 112, 57, 0.18) 0%, rgba(176, 112, 57, 0) 34%),
      linear-gradient(165deg, #fff7ee 0%, #f4e3d1 48%, #ead2bf 100%);
    overflow: hidden;
  }

  .phone-gate__card {
    width: min(560px, 100%);
    background:
      linear-gradient(172deg, rgba(255, 254, 251, 0.97) 0%, rgba(252, 243, 233, 0.96) 56%, rgba(244, 226, 208, 0.95) 100%),
      linear-gradient(40deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0) 72%);
    border: 1px solid rgba(160, 104, 61, 0.26);
    border-radius: 26px;
    padding: clamp(18px, 3.4vw, 28px);
    box-shadow:
      0 28px 54px rgba(70, 37, 22, 0.18),
      inset 0 1px 0 rgba(255, 255, 255, 0.82);
    display: grid;
    gap: 14px;
    min-width: 0;
    position: relative;
    overflow: hidden;
    isolation: isolate;
  }

  .phone-gate__card::before,
  .phone-gate__card::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
    z-index: 0;
  }

  .phone-gate__card::before {
    width: 320px;
    height: 320px;
    top: -170px;
    right: -130px;
    background: radial-gradient(circle, rgba(235, 184, 122, 0.35) 0%, rgba(235, 184, 122, 0) 68%);
  }

  .phone-gate__card::after {
    width: 280px;
    height: 280px;
    bottom: -150px;
    left: -120px;
    background: radial-gradient(circle, rgba(146, 82, 43, 0.24) 0%, rgba(146, 82, 43, 0) 72%);
  }

  .phone-gate__hero {
    padding: 0 0 6px;
    display: grid;
    gap: 12px;
    justify-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
  }

  .phone-gate__hero-badge {
    margin: 0;
    min-height: 30px;
    padding: 0 15px;
    border-radius: 999px;
    border: 1px solid rgba(182, 123, 74, 0.42);
    background: linear-gradient(135deg, #fbecd8 0%, #f4d8b8 100%);
    color: #8f4f1f;
    display: inline-flex;
    align-items: center;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .phone-gate__logo-frame {
    width: min(214px, 100%);
    background: linear-gradient(180deg, #fffdfa 0%, #f7e6d2 100%);
    border-radius: 24px;
    padding: 8px;
    border: 1px solid rgba(175, 118, 76, 0.22);
    box-shadow:
      0 12px 24px rgba(84, 51, 33, 0.18),
      inset 0 1px 0 rgba(255, 255, 255, 0.86);
  }

  .phone-gate__logo {
    width: 100%;
    height: 124px;
    object-fit: contain;
    border-radius: 18px;
  }

  .phone-gate__hero h1 {
    margin: 0;
    font-family: var(--font-family-heading);
    font-size: clamp(1.72rem, 6.4vw, 2.22rem);
    line-height: 1.05;
    letter-spacing: -0.01em;
    color: #382215;
    text-wrap: balance;
  }

  .phone-gate__hero-copy {
    margin: 0;
    max-width: 36ch;
    color: #654a3a;
    font-size: 0.93rem;
    line-height: 1.5;
    text-wrap: balance;
  }

  .phone-gate__form {
    display: grid;
    gap: 10px;
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(166, 107, 61, 0.16);
    padding: 10px 2px 0;
  }

  .phone-gate__field {
    gap: 6px;
  }

  .phone-gate__field .ui-field__label {
    color: #6a4f3f;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  .phone-gate__field-input.ui-field__input {
    min-height: 46px;
    border-radius: 14px;
    border-color: #ddc4b0;
    background: linear-gradient(180deg, #fffdf9 0%, #fef7ef 100%);
    padding-inline: 13px;
    font-weight: 600;
  }

  .phone-gate__field-input.ui-field__input:focus {
    border-color: #c77a43;
    box-shadow:
      0 0 0 3px rgba(199, 122, 67, 0.16),
      0 8px 16px rgba(93, 52, 29, 0.08);
  }

  .phone-gate__cta.ui-button {
    min-height: 46px;
    border-radius: 14px;
    margin-top: 2px;
    font-size: 0.98rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    background: linear-gradient(135deg, #c87434 0%, #9f4e1f 100%);
    box-shadow:
      0 14px 24px rgba(123, 63, 29, 0.28),
      inset 0 1px 0 rgba(255, 255, 255, 0.24);
  }

  .phone-gate__cta.ui-button:hover:not(:disabled) {
    transform: translateY(-1px);
    filter: brightness(1.03);
  }

  .phone-gate__lookup {
    margin: 0;
    color: #6e5343;
    font-size: 0.82rem;
    line-height: 1.43;
    border-radius: 12px;
    border: 1px solid #ead5c3;
    background: #fdf5eb;
    padding: 9px 11px;
  }

  .phone-gate__error {
    margin: -4px 2px 0;
    color: #a63a2e;
    font-weight: 700;
    font-size: 0.83rem;
    border-radius: 12px;
    border: 1px solid rgba(182, 85, 74, 0.3);
    background: rgba(255, 244, 242, 0.96);
    padding: 9px 11px;
  }

  @media (max-width: 389px) {
    .phone-gate__card {
      padding: 15px;
    }

    .phone-gate__logo {
      height: 106px;
    }

    .phone-gate__hero h1 {
      font-size: 1.6rem;
    }
  }

  @media (max-width: 520px) {
    .phone-gate {
      padding:
        max(10px, calc(var(--safe-top) + 10px))
        10px
        max(10px, calc(var(--safe-bottom) + 10px));
    }

    .phone-gate__card {
      border-radius: 22px;
      padding: 13px;
      gap: 12px;
    }

    .phone-gate__hero {
      gap: 10px;
      padding-bottom: 6px;
    }

    .phone-gate__logo {
      height: 110px;
    }

    .phone-gate__hero-copy {
      font-size: 0.88rem;
      line-height: 1.42;
    }

    .phone-gate__field-input.ui-field__input {
      min-height: 42px;
    }

    .phone-gate__cta.ui-button {
      min-height: 42px;
      font-size: 0.92rem;
    }
  }

  @media (min-width: 720px) {
    .phone-gate__card {
      padding: 26px;
      gap: 18px;
    }

    .phone-gate__form {
      padding-top: 16px;
    }
  }
}

/* src/styles/feedback.css [layer:utilities] */
@layer utilities {
  .notice {
    border-radius: var(--radius-sm);
    padding: 0.72rem 0.88rem;
    border: 1px solid transparent;
    font-size: 0.93rem;
    font-weight: 600;
    animation: slide-down var(--motion-fast) ease-out;
  }

  .notice--info {
    background: #fff5eb;
    border-color: #f0d9c4;
    color: #7a4f2d;
  }

  .notice--success {
    background: #e9f7ef;
    border-color: #bfdfcb;
    color: #206a42;
  }

  .notice--warn {
    background: #fff2e6;
    border-color: #efcfb2;
    color: #90521a;
  }

  .notice--error {
    background: #fff0ef;
    border-color: #efc5c2;
    color: #9e3631;
  }

  @media (max-width: 520px) {
    .notice {
      padding: 0.6rem 0.72rem;
      font-size: 0.84rem;
      line-height: 1.35;
    }
  }
}

/* src/styles/profile.css [layer:components] */
@layer components {
  .customer-progress {
    padding: clamp(12px, 1.8vw, 16px);
    background: linear-gradient(155deg, #fffcf8 0%, #fff6ea 100%);
    border: 1px solid #ecd8c8;
    border-radius: 18px;
    box-shadow: 0 12px 22px rgba(95, 53, 29, 0.1);
  }

  .customer-progress__header {
    gap: 4px;
  }

  .customer-progress__header h2 {
    font-size: clamp(1rem, 2.8vw, 1.22rem);
    line-height: 1.2;
    margin: 0;
    color: #3f2b1f;
  }

  .customer-progress__header p {
    margin: 0;
    font-size: 0.8rem;
    color: #7a6253;
    line-height: 1.35;
  }

  .customer-progress__panel {
    margin-top: 8px;
    display: grid;
    gap: 10px;
    background: linear-gradient(160deg, #ffffff 0%, #fff2e3 100%);
    border: 1px solid #e8cfbb;
    border-radius: 16px;
    padding: 12px;
    box-shadow: 0 12px 18px rgba(176, 95, 44, 0.12);
  }

  .customer-progress__panel-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
  }

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

  .customer-progress__eyebrow {
    margin: 0;
    font-size: 0.68rem;
    color: #886a56;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 800;
  }

  .customer-progress__level {
    margin: 0;
    font-size: clamp(1.05rem, 3vw, 1.4rem);
    color: #4a2d1d;
    font-family: var(--font-family-heading);
    line-height: 1.15;
  }

  .customer-progress__status-badge {
    min-height: 26px;
    border-radius: 999px;
    border: 1px solid #e8cdb8;
    background: #fff5eb;
    color: #8a5a39;
    font-size: 0.67rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0 10px;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
  }

  .customer-progress__status-badge--reward {
    border-color: #bfdcb5;
    background: #ebf8e7;
    color: #2f6e42;
  }

  .customer-progress__status-line {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
  }

  .customer-progress__message {
    margin: 0;
    color: #5f4637;
    line-height: 1.42;
    font-size: 0.85rem;
    font-weight: 600;
    max-width: 56ch;
  }

  .customer-progress__percent {
    font-size: clamp(1.25rem, 4vw, 1.6rem);
    color: #8f4f24;
    font-family: var(--font-family-heading);
    line-height: 1;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
  }

  .customer-progress__bar-wrap {
    display: grid;
    gap: 8px;
  }

  .customer-progress__bar {
    height: 12px;
    border-radius: 999px;
    background: #f3e4d7;
    border: 1px solid #e8d3bf;
    overflow: hidden;
    box-shadow: inset 0 1px 2px rgba(107, 63, 37, 0.12);
  }

  .customer-progress__bar-fill {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #f0b88a 0%, #e68e51 48%, #cd6a28 100%);
    box-shadow: 0 3px 8px rgba(181, 93, 38, 0.34);
    transition: width var(--motion-base) ease;
  }

  .customer-progress__meta-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
  }

  .customer-progress__meta-item {
    border: 1px solid #ead7c8;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.86);
    padding: 7px 8px;
    display: grid;
    gap: 3px;
  }

  .customer-progress__meta-label {
    margin: 0;
    font-size: 0.66rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #876a57;
    font-weight: 800;
  }

  .customer-progress__meta-value {
    margin: 0;
    font-size: 0.86rem;
    line-height: 1.24;
    color: #4a2f20;
    font-family: var(--font-family-heading);
    font-variant-numeric: tabular-nums;
  }

  .customer-progress__footnote {
    margin: 0;
    font-size: 0.78rem;
    line-height: 1.4;
    color: #7a5d4b;
    font-weight: 600;
  }

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

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

    .customer-progress__panel {
      padding: 10px;
      gap: 9px;
      border-radius: 14px;
    }

    .customer-progress__panel-head {
      gap: 8px;
    }

    .customer-progress__bar {
      height: 11px;
    }

    .customer-progress__meta-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }

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

    .customer-progress__status-line {
      flex-direction: column;
      gap: 8px;
    }

    .customer-progress__percent {
      font-size: 1.15rem;
    }

    .customer-progress__meta-grid {
      grid-template-columns: minmax(0, 1fr);
    }
  }

  @media (min-width: 720px) and (max-width: 959px) {
    .customer-progress__meta-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .customer-progress__meta-item:last-child {
      grid-column: 1 / -1;
    }
  }
}

/* src/styles/catalog.css [layer:components] */
@layer components {
  .catalog-section {
    position: relative;
    padding: clamp(9px, 1.9vw, 16px);
    border-color: #e9d2bf;
    box-shadow: 0 10px 18px rgba(86, 52, 32, 0.08);
  }

  .catalog-section::before {
    content: "";
    position: absolute;
    left: clamp(12px, 2.2vw, 20px);
    right: clamp(12px, 2.2vw, 20px);
    top: 0;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, #e58a4d 0%, #cb6326 60%, #a44c1d 100%);
  }

  .catalog-section__header {
    gap: 3px;
  }

  .catalog-section__header h2 {
    font-size: clamp(1.02rem, 1.7vw, 1.24rem);
    line-height: 1.15;
  }

  .catalog-section__header p {
    margin-top: 2px;
    font-size: 0.78rem;
    color: #7d6453;
  }

  .catalog-section__lead {
    border: 1px solid #ecd5c2;
    background: linear-gradient(180deg, #fffaf5 0%, #fff6ed 100%);
    border-radius: 12px;
    padding: 9px 11px;
    display: grid;
    gap: 3px;
  }

  .catalog-section__lead-kicker {
    font-size: 0.66rem;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 800;
    color: #955225;
  }

  .catalog-section__lead p {
    margin: 0;
    color: #654b3a;
    font-size: 0.8rem;
    line-height: 1.32;
    font-weight: 600;
  }

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

  .catalog-toolbar__search-row {
    position: relative;
  }

  .catalog-toolbar__search {
    min-height: 40px;
    border-radius: 12px;
    padding-right: 36px;
  }

  .catalog-toolbar__search-clear {
    position: absolute;
    right: 10px;
    top: 35px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 999px;
    background: #f1e4d8;
    color: #7e6452;
    font-size: 0.94rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .catalog-toolbar__chips {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: thin;
  }

  .catalog-toolbar__chips button {
    border: 1px solid #e3cebd;
    border-radius: 999px;
    background: #fff;
    color: #735846;
    min-height: 36px;
    padding: 0 12px;
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
  }

  .catalog-toolbar__chips button.is-active {
    border-color: #d18a4d;
    background: #fff2e5;
    color: #8c4d23;
    box-shadow: 0 6px 12px rgba(170, 102, 51, 0.15);
  }

  .catalog-toolbar__advanced {
    border: 1px solid #ead8c7;
    border-radius: 12px;
    background: #fffcf8;
    padding: 8px 10px;
  }

  .catalog-toolbar__advanced > summary {
    list-style: none;
    cursor: pointer;
    color: #6f5748;
    font-size: 0.76rem;
    font-weight: 800;
  }

  .catalog-toolbar__advanced > summary::-webkit-details-marker {
    display: none;
  }

  .catalog-toolbar__controls {
    margin-top: 8px;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    align-items: end;
  }

  .catalog-toolbar__sort .ui-field__input,
  .catalog-toolbar__search {
    min-height: 41px;
    border-radius: 11px;
  }

  .catalog-toolbar__clear {
    min-height: 38px;
    border-radius: 10px;
    border-color: #e6d7ca;
    color: #866c5c;
    font-weight: 700;
    box-shadow: none;
  }

  .catalog-toolbar__toggle {
    min-height: 40px;
    border-radius: 11px;
    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: 11px;
    grid-auto-rows: 1fr;
    align-items: stretch;
  }

  .product-card {
    position: relative;
    background: linear-gradient(158deg, #fffdf9 0%, #fff8f0 54%, #fff2e7 100%);
    border: 1px solid #efd9c3;
    border-radius: 22px;
    overflow: hidden;
    display: grid;
    grid-template-rows: auto auto;
    box-shadow:
      0 10px 22px rgba(86, 53, 32, 0.11),
      inset 0 1px 0 rgba(255, 255, 255, 0.62);
    min-height: 316px;
    width: 100%;
    min-width: 0;
    transition:
      transform var(--motion-base) ease,
      box-shadow var(--motion-base) ease,
      border-color var(--motion-base) ease;
  }

  .product-card--variant-premium {
    min-height: 316px;
    border-radius: 22px;
  }

  .product-card--variant-compact {
    min-height: 286px;
    border-radius: 18px;
  }

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

  .product-card:hover {
    transform: translateY(-3px);
    box-shadow:
      0 16px 28px rgba(104, 60, 33, 0.16),
      inset 0 1px 0 rgba(255, 255, 255, 0.64);
  }

  .product-card--active {
    transform: translateY(-3px);
    border-color: #e4b98f;
    box-shadow:
      0 18px 30px rgba(171, 95, 43, 0.22),
      inset 0 1px 0 rgba(255, 255, 255, 0.66);
    animation: card-bounce var(--motion-feedback) ease-out;
  }

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

  .product-card--sold-out {
    border-color: #e8ddd3;
    background: linear-gradient(160deg, #fbf8f5 0%, #f6efe8 100%);
    opacity: 0.86;
  }

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

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

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

  .product-card__image-wrap {
    position: relative;
    background: linear-gradient(180deg, #fbf1e4 0%, #f3ddc7 100%);
    border-bottom: 1px solid #edd7c2;
    padding: 6px 6px 5px;
    min-height: clamp(184px, 27vw, 254px);
  }

  .product-card--variant-compact .product-card__image-wrap {
    min-height: clamp(154px, 22vw, 194px);
    padding: 5px 5px 4px;
  }

  .product-card img {
    width: 100%;
    min-height: 176px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center;
    background: linear-gradient(170deg, #fffdfb 0%, #fff7ef 100%);
    border-radius: 16px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.54);
    padding: 0;
    transition: transform var(--motion-base) ease;
  }

  .product-card--variant-compact img {
    min-height: 144px;
    border-radius: 13px;
  }

  .product-card img.ui-product-image--real {
    transform: scale(1.15);
  }

  .product-card img.ui-product-image--fallback {
    object-fit: contain;
    object-position: center;
    padding: 16px;
    transform: none;
    background: linear-gradient(180deg, #f9efe4 0%, #f4e1d0 100%);
  }

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

  .product-card__stock-badge {
    position: absolute;
    right: 10px;
    top: 10px;
    background: rgba(255, 249, 242, 0.94);
    color: #7a4a2d;
    border: 1px solid #e5c7b0;
    border-radius: 999px;
    padding: 3px 9px;
    font-size: 0.67rem;
    font-weight: 800;
    max-width: calc(100% - 20px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .product-card__stock-badge--sold-out {
    background: rgba(98, 74, 58, 0.9);
    color: #fff;
    border-color: transparent;
  }

  .product-card__content {
    padding: 12px 14px 8px;
    display: grid;
    grid-template-rows: auto auto auto;
    gap: 6px;
    min-width: 0;
  }

  .product-card--variant-compact .product-card__content {
    padding: 10px 11px 6px;
    gap: 5px;
  }

  .product-card__content h3 {
    margin: 0;
    font-family: var(--font-family-heading);
    color: #412619;
    font-size: clamp(1.08rem, 1.65vw, 1.64rem);
    line-height: 1.12;
    letter-spacing: -0.012em;
    overflow-wrap: anywhere;
  }

  .product-card--variant-compact .product-card__content h3 {
    font-size: clamp(1rem, 1.45vw, 1.34rem);
  }

  .product-card__description {
    display: none;
  }

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

  .catalog-product-detail-modal__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
  }

  .catalog-product-detail-modal__title-block h2 {
    margin: 0;
    font-family: var(--font-family-heading);
  }

  .catalog-product-detail-modal__title-block p {
    margin: 4px 0 0;
    color: #836652;
    font-size: 0.82rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-weight: 700;
  }

  .catalog-product-detail-modal__close {
    width: 34px;
    height: 34px;
    border: 1px solid #e4c7ae;
    border-radius: 999px;
    background: #f7e9dc;
    color: #6e4230;
    font-size: 1.1rem;
    line-height: 1;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
    transition:
      transform var(--motion-fast) ease,
      background-color var(--motion-fast) ease,
      border-color var(--motion-fast) ease;
  }

  .catalog-product-detail-modal__close:hover {
    transform: translateY(-1px);
    background: #f4e3d4;
    border-color: #dcb892;
  }

  .catalog-product-detail-modal__body {
    margin-top: 10px;
  }

  .catalog-product-detail-modal__layout {
    display: grid;
    gap: 10px;
  }

  .catalog-product-detail-modal__image-wrap {
    border-radius: 14px;
    overflow: hidden;
    background: linear-gradient(170deg, #fbf1e5 0%, #f4ddc6 100%);
    border: 1px solid #ead6c6;
  }

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

  .catalog-product-detail-modal__content {
    display: grid;
    gap: 10px;
  }

  .catalog-product-detail-modal__description {
    margin: 0;
    color: #5a4335;
    line-height: 1.45;
    font-size: 0.93rem;
    white-space: pre-line;
  }

  .catalog-product-detail-modal__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    border: 1px solid #ead7c4;
    border-radius: 12px;
    padding: 10px 11px;
    background: linear-gradient(180deg, #fff8f1 0%, #fff2e5 100%);
  }

  .catalog-product-detail-modal__price {
    font-size: 1.46rem;
    color: #8f451b;
    letter-spacing: -0.015em;
  }

  .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.78rem;
    font-weight: 700;
    white-space: nowrap;
  }

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

  .catalog-product-detail-modal__actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
  }

  .catalog-product-detail-modal__add {
    min-height: 42px;
    border-radius: 999px;
    font-weight: 800;
    box-shadow:
      0 10px 16px rgba(165, 88, 36, 0.2),
      inset 0 1px 0 rgba(255, 233, 208, 0.48);
  }

  .catalog-product-detail-modal__dismiss {
    min-height: 42px;
    border-radius: 999px;
    padding-inline: 14px;
  }

  @media (min-width: 720px) {
    .catalog-product-detail-modal__layout {
      grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
      align-items: start;
    }

    .catalog-product-detail-modal__image-wrap img {
      min-height: 206px;
      max-height: 258px;
    }
  }

  .product-card__meta {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
    min-height: 24px;
  }

  .product-card__category,
  .product-card__flavor {
    display: block;
    max-width: 100%;
    color: #8a6b56;
    padding: 0;
    font-size: 0.64rem;
    line-height: 1.2;
    letter-spacing: 0.09em;
    font-weight: 600;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: -1px;
  }

  .product-card__availability {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    border-radius: 999px;
    padding: 0 8px;
    font-size: 0.64rem;
    line-height: 1;
    letter-spacing: 0.01em;
    font-weight: 600;
    border: 1px solid #dceadf;
    background: linear-gradient(180deg, #f6fdf7 0%, #ecf7ee 100%);
    color: #2d6b40;
    white-space: nowrap;
  }

  .product-card__availability::before {
    content: "✔";
    font-size: 0.82em;
    margin-right: 6px;
  }

  .product-card__availability--sold-out {
    border-color: #ead1ce;
    background: #fbeeee;
    color: #8a423b;
  }

  .product-card__availability--sold-out::before {
    content: "•";
    font-size: 1em;
  }

  .product-card__price {
    display: inline-flex;
    align-items: baseline;
    justify-content: flex-start;
    gap: 2px;
    margin-left: 0;
    padding: 0;
    color: #9c4f20;
    font-size: clamp(1.64rem, 2.95vw, 2.05rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.015em;
    white-space: nowrap;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.72);
  }

  .product-card__price--spotlight {
    padding: 5px 10px 4px;
    border-radius: 12px;
    border: 1px solid #e8c8a8;
    background: linear-gradient(150deg, #fff7ed 0%, #ffeacf 55%, #fddfbf 100%);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.62),
      0 5px 10px rgba(184, 116, 64, 0.12);
  }

  .product-card--variant-compact .product-card__price {
    font-size: clamp(1.44rem, 2.35vw, 1.76rem);
  }

  .product-card__price-currency {
    font-size: 0.44em;
    font-weight: 700;
    letter-spacing: 0.03em;
    opacity: 0.72;
    margin-top: 0;
    margin-right: 2px;
  }

  .product-card__price-main {
    font-size: 1em;
    line-height: 0.95;
  }

  .product-card__price-decimal {
    font-size: 0.55em;
    font-weight: 800;
    opacity: 0.9;
  }

  .product-card__action-slot {
    position: relative;
    z-index: 1;
    padding: 8px 14px 14px;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    border-top: 1px solid #edd8c5;
    background: linear-gradient(180deg, rgba(255, 247, 237, 0.76) 0%, rgba(255, 242, 228, 0.92) 100%);
  }

  .product-card--variant-compact .product-card__action-slot {
    padding: 7px 11px 11px;
    gap: 7px;
  }

  .product-card__action-slot--selected {
    gap: 7px;
  }

  .product-card__action-slot--boost {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 10px;
  }

  .product-card__quantity-wrap {
    min-height: 42px;
    margin-left: 0;
    width: min(168px, 92%);
    max-width: 100%;
    justify-self: end;
  }

  .product-card--variant-compact .product-card__quantity-wrap {
    min-height: 39px;
    width: min(152px, 88%);
  }

  .product-card__quantity-wrap--active .quantity-control {
    box-shadow:
      0 8px 16px rgba(191, 123, 63, 0.2),
      inset 0 1px 0 rgba(255, 255, 255, 0.62);
  }

  .quantity-control {
    margin: 0;
    padding: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    border: 1px solid #e5cdb9;
    border-radius: 999px;
    background: linear-gradient(180deg, #f8ebdf 0%, #f2e2d2 100%);
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .product-card__add {
    margin: 0;
    min-height: 41px;
    border-radius: 999px;
    font-size: 0.86rem;
    font-weight: 800;
    padding-inline: 16px;
    width: min(168px, 92%);
    min-width: 0;
    max-width: 100%;
    justify-self: end;
    border: 1px solid #c96d30;
    background: linear-gradient(145deg, #efbb70 0%, #d9863d 46%, #b85f24 100%);
    color: #fff5eb;
    text-shadow: 0 1px 0 rgba(107, 47, 17, 0.35);
    box-shadow:
      0 9px 16px rgba(165, 89, 40, 0.22),
      inset 0 1px 0 rgba(255, 233, 208, 0.5);
    transition:
      transform var(--motion-fast) ease,
      box-shadow var(--motion-fast) ease,
      filter var(--motion-fast) ease;
  }

  .product-card__add--boost {
    width: min(162px, 90%);
    min-height: 42px;
    font-size: 0.84rem;
    background: linear-gradient(145deg, #f0bf76 0%, #de8f45 45%, #b55f23 100%);
    box-shadow:
      0 10px 18px rgba(166, 88, 38, 0.24),
      inset 0 1px 0 rgba(255, 236, 212, 0.52);
  }

  .product-card--variant-compact .product-card__add {
    min-height: 39px;
    width: min(152px, 88%);
    font-size: 0.81rem;
    padding-inline: 11px;
  }

  .product-card--variant-compact .product-card__add--boost {
    width: min(146px, 86%);
    min-height: 38px;
  }

  .product-card__add--active {
    animation: pop var(--motion-feedback) ease-out;
  }

  .product-card__add:hover:not(:disabled) {
    transform: translateY(-1px);
    filter: saturate(1.03) brightness(1.01);
    box-shadow:
      0 12px 20px rgba(165, 88, 36, 0.28),
      inset 0 1px 0 rgba(255, 233, 208, 0.55);
  }

  .product-card--sold-out .product-card__add {
    background: linear-gradient(180deg, #e7dfd7 0%, #d8ccc1 100%);
    border-color: #d3c3b6;
    color: #7d6b5f;
    box-shadow: none;
    text-shadow: none;
  }

  .quantity-control__button {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 0;
    background: transparent;
    color: #694632;
    font-size: 1rem;
    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: linear-gradient(180deg, #e5a35d 0%, #d27835 100%);
    color: #5d2f13;
    box-shadow:
      inset 0 -1px 0 rgba(108, 54, 21, 0.14),
      0 4px 8px rgba(171, 100, 47, 0.2);
  }

  .quantity-control__value {
    min-width: 38px;
    height: 30px;
    border-radius: 999px;
    background: #fffdf8;
    display: grid;
    place-items: center;
    text-align: center;
    font-size: 0.98rem;
    font-weight: 800;
    color: #4a2f22;
    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;
  }

  @media (max-width: 520px) {
    .catalog-section {
      padding: 10px;
    }

    .catalog-toolbar {
      gap: 8px;
    }

    .catalog-toolbar__search {
      min-height: 40px;
      border-radius: 11px;
    }

    .catalog-toolbar__chips {
      gap: 6px;
    }

    .catalog-toolbar__chips button {
      min-height: 36px;
      font-size: 0.72rem;
      padding-inline: 10px;
    }

    .product-grid {
      gap: 9px;
    }

    .product-card {
      min-height: 318px;
      border-radius: 18px;
    }

    .product-card--variant-compact {
      min-height: 286px;
      border-radius: 16px;
    }

    .product-card__image-wrap {
      min-height: clamp(160px, 47vw, 208px);
      padding: 10px 10px 8px;
    }

    .product-card--variant-compact .product-card__image-wrap {
      min-height: clamp(142px, 43vw, 186px);
      padding: 8px 8px 6px;
    }

    .product-card img {
      min-height: 156px;
      border-radius: 13px;
      padding: 0;
    }

    .product-card--variant-compact img {
      min-height: 138px;
      border-radius: 11px;
    }

    .product-card__content {
      padding: 11px 11px 4px;
      gap: 6px;
    }

    .product-card__price {
      font-size: 1.48rem;
      padding: 0;
    }

    .product-card__price--spotlight {
      padding: 4px 8px;
    }

    .product-card--variant-compact .product-card__price {
      font-size: 1.34rem;
    }

    .product-card__category,
    .product-card__flavor {
      min-height: 0;
      padding: 0;
      font-size: 0.61rem;
    }

    .product-card__add {
      min-height: 40px;
      min-width: 0;
      width: min(152px, 88%);
      font-size: 0.83rem;
      padding-inline: 12px;
    }

    .product-card__add--boost {
      width: min(146px, 85%);
    }

    .product-card--variant-compact .product-card__add {
      min-height: 37px;
      width: min(142px, 84%);
      font-size: 0.78rem;
      padding-inline: 10px;
    }

    .product-card--variant-compact .product-card__add--boost {
      width: min(136px, 82%);
    }

    .product-card__quantity-wrap {
      width: min(152px, 88%);
    }

    .product-card--variant-compact .product-card__quantity-wrap {
      width: min(142px, 84%);
      min-height: 36px;
    }

    .product-card__availability {
      min-height: 24px;
      padding: 0 9px;
      font-size: 0.63rem;
    }

    .quantity-control {
      min-width: 0;
    }

    .quantity-control__button {
      width: 31px;
      height: 31px;
    }

    .quantity-control__value {
      min-width: 34px;
      height: 28px;
      font-size: 0.88rem;
    }
  }
}

/* src/styles/creators.css [layer:components] */
@layer components {
  .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: 12px;
  }

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

  .creator-card__photo {
    width: 88px;
    height: 104px;
    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;
  }

  @media (max-width: 520px) {
    .creators-section {
      padding: 10px;
    }

    .creator-card {
      grid-template-columns: 72px minmax(0, 1fr);
      gap: 7px;
      border-radius: 14px;
      padding: 8px;
    }

    .creator-card__photo {
      width: 72px;
      height: 86px;
      border-radius: 10px;
    }

    .creator-card__content h3 {
      font-size: 0.94rem;
    }

    .creator-card__content p {
      font-size: 0.82rem;
    }
  }
}

/* src/styles/order.css [layer:components] */
@layer components {
  .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:
      max(clamp(8px, 2.4vw, 18px), calc(var(--safe-top) + 8px))
      clamp(8px, 2.4vw, 18px)
      max(clamp(8px, 2.4vw, 18px), calc(var(--safe-bottom) + 8px));
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior-x: none;
    overscroll-behavior-y: contain;
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
  }

  .order-sheet {
    width: min(560px, calc(100% - 4px));
    max-height: min(calc(var(--sc-viewport-height) - max(var(--safe-top), 8px) - 16px), 740px);
    overflow-y: auto;
    overflow-x: hidden;
    background: #fffdfb;
    border-radius: 20px 20px 0 0;
    padding:
      clamp(12px, 2.5vw, 20px)
      clamp(11px, 2.4vw, 20px)
      calc(clamp(12px, 2.5vw, 20px) + var(--safe-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;
    -webkit-overflow-scrolling: touch;
  }

  .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: 40px;
    height: 40px;
    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: 11px;
    padding: 8px;
    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: 23px;
    height: 23px;
  }

  .order-sheet__item-actions .quantity-control__value {
    min-width: 26px;
    height: 23px;
    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%;
  }

  .profile-completion-modal {
    width: min(520px, calc(100% - 4px));
  }

  .profile-completion-modal__form {
    margin-top: 12px;
  }

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

  .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: 30px;
    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;
  }

  @media (max-width: 520px) {
    .order-sheet {
      border-radius: 16px 16px 0 0;
      padding:
        11px
        10px
        calc(11px + var(--safe-bottom));
    }

    .order-sheet__header h2 {
      font-size: 1.2rem;
    }

    .order-sheet__header p {
      font-size: 0.84rem;
    }

    .order-sheet__items {
      gap: 7px;
    }

    .order-sheet__items li {
      gap: 10px;
      padding: 7px 8px;
    }

    .order-form {
      gap: 12px;
    }
  }

  .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(calc(var(--sc-viewport-height) - max(var(--safe-top), 8px) - 20px), 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 [layer:components] */
@layer components {
  .cart-summary {
    position: fixed;
    left: 50%;
    bottom: max(0.45rem, var(--safe-bottom));
    transform: translateX(-50%);
    z-index: 18;
    width: min(1024px, calc(100% - 0.9rem));
    max-width: calc(100% - 0.9rem - var(--safe-left) - var(--safe-right));
    background: linear-gradient(145deg, #fff7ef 0%, #fceadf 100%);
    color: #452f22;
    border: 1px solid #e5c8b2;
    border-radius: 18px;
    min-height: 56px;
    padding: 8px 9px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    overflow: hidden;
    box-shadow: 0 14px 28px rgba(55, 36, 26, 0.22);
  }

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

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

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

  .cart-summary__line {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: clamp(0.86rem, 1.8vw, 0.98rem);
    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: 40px;
    border-radius: 14px;
    background: linear-gradient(135deg, #ea8f48 0%, #cb6222 58%, #a44a1c 100%);
    color: #fff;
    padding: 0.44rem 0.86rem;
    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(156px, 35vw, 224px);
    max-width: 100%;
  }

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

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

  @keyframes cart-glow {
    0% {
      box-shadow: 0 0 0 0 rgba(214, 122, 54, 0.42);
    }
    100% {
      box-shadow: 0 0 0 16px rgba(214, 122, 54, 0);
    }
  }

  @media (max-width: 520px) {
    .cart-summary {
      min-height: 54px;
      border-radius: 16px;
      padding: 7px 8px;
      gap: 7px;
    }

    .cart-summary__line {
      font-size: 0.84rem;
    }

    .cart-summary__button {
      min-height: 38px;
      border-radius: 12px;
      min-width: clamp(124px, 34vw, 168px);
      padding-inline: 0.7rem;
      font-size: 0.82rem;
    }
  }
}

/* src/styles/responsive.css [layer:screens] */
@layer screens {
  @media (min-width: 700px) {
    .storefront-hero {
      grid-template-columns: minmax(0, 1fr);
      align-items: start;
    }

    .catalog-section {
      padding: clamp(16px, 2.1vw, 24px);
    }

    .catalog-toolbar__controls {
      grid-template-columns: repeat(3, minmax(0, 1fr));
      align-items: end;
    }

    .catalog-toolbar__chips {
      flex-wrap: wrap;
      overflow: visible;
    }

    .product-grid {
      gap: 12px;
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .product-card__action-slot {
      grid-template-columns: auto minmax(0, 1fr);
      gap: 12px;
    }

    .product-card__price {
      font-size: clamp(1.5rem, 1.95vw, 1.88rem);
    }

    .product-card__add,
    .product-card__quantity-wrap {
      width: min(178px, 88%);
      justify-self: end;
    }

    .creators-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-page {
      padding: var(--space-3) var(--space-4) var(--space-5);
    }

    .admin-topbar {
      grid-template-columns: minmax(0, 1fr) auto;
      align-items: center;
      gap: 10px;
    }

    .admin-topbar__actions {
      width: 238px;
    }

    .admin-form-row {
      grid-template-columns: minmax(0, 1fr) auto;
      align-items: end;
    }

    .admin-form-row .ui-button {
      justify-self: end;
      min-width: 160px;
    }

    .admin-module-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-tab-intro {
      grid-template-columns: minmax(0, 1fr) auto;
      align-items: center;
    }

    .admin-tab-intro__actions {
      min-width: 220px;
    }

    .admin-products-toolbar {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      align-items: end;
    }

    .admin-products-filters-collapse {
      grid-column: 1 / -1;
    }

    .admin-orders-toolbar__form,
    .admin-customers-toolbar {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      align-items: end;
    }

    .admin-orders-date-presets {
      grid-column: 1 / -1;
      grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .admin-orders-toolbar__actions {
      grid-column: auto;
      max-width: 220px;
      justify-self: start;
    }

    .admin-products-toolbar__actions {
      grid-column: 1 / -1;
      max-width: 420px;
      justify-self: end;
    }

    .admin-metric-grid {
      grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .admin-production-form {
      grid-template-columns: repeat(3, minmax(0, 1fr));
      align-items: end;
    }

    .admin-production-date-presets {
      grid-column: 1 / -1;
    }

    .admin-production-form .ui-field {
      grid-column: 1 / span 2;
    }

    .admin-production-form__submit {
      grid-column: 3;
      min-width: 168px;
    }
  }

  @media (min-width: 768px) {
    .sheet-backdrop {
      align-items: center;
    }

    .order-sheet {
      border-radius: 20px;
      width: min(560px, calc(100% - 24px));
    }

    .app-topbar {
      grid-template-columns: minmax(0, 1fr) auto;
      align-items: center;
      gap: 7px;
    }

    .app-topbar__identity {
      grid-template-columns: 50px minmax(0, 1fr);
    }

    .app-topbar__actions {
      width: min(310px, 40vw);
    }

    .app-topbar__action {
      min-height: 35px;
    }

    .admin-shell {
      padding: 12px;
    }

    .admin-tabs {
      grid-auto-flow: unset;
      grid-auto-columns: unset;
      grid-template-columns: repeat(5, minmax(0, 1fr));
      overflow: hidden;
    }

    .admin-form-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-form-grid--filters {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .admin-advanced-filters {
      padding: 10px;
    }

    .admin-advanced-filters > summary {
      display: none;
    }

    .admin-tab-content--split {
      grid-template-columns: 1fr 1.2fr;
      align-items: start;
    }

    .admin-active-context {
      grid-template-columns: auto minmax(0, 1fr);
      align-items: center;
      column-gap: 10px;
    }

    .admin-active-context__kicker {
      margin-right: 2px;
    }

    .admin-active-context h3 {
      margin: 0;
    }

    .admin-active-context p {
      grid-column: 2;
    }
  }

  @media (min-width: 980px) {
    .storefront-entry {
      grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
      align-items: start;
      gap: 10px;
    }
  }

  @media (max-width: 960px) {
    .admin-orders-layout {
      grid-template-columns: 1fr;
    }

    .admin-order-card {
      padding: 16px;
      gap: 12px;
    }

    .admin-order-card__top {
      align-items: flex-start;
    }

    .admin-order-card__title {
      font-size: clamp(1.24rem, 4.1vw, 1.46rem);
    }

    .admin-order-card__total {
      font-size: clamp(1.86rem, 6.6vw, 2.3rem);
      line-height: 1;
    }

    .admin-order-card__content {
      grid-template-columns: 1fr;
      gap: 12px;
    }

    .admin-order-card__main,
    .admin-order-card__meta-panel {
      gap: 10px;
    }

    .admin-order-card__label {
      font-size: 0.9rem;
    }

    .admin-order-card__value-main,
    .admin-order-card__value-highlight,
    .admin-order-card__meta-panel strong {
      font-size: 1.14rem;
    }

    .admin-order-card__created-at {
      font-size: 0.92rem;
    }

    .admin-order-card__actions-secondary,
    .admin-order-card__actions-primary {
      grid-template-columns: 1fr;
    }

    .admin-order-card__actions .ui-button {
      min-height: 40px;
      font-size: 0.86rem;
    }
  }

  @media (max-width: 767px) {
    .storefront-hero__actions {
      grid-template-columns: 1fr;
    }

    .storefront-hero__catalog-link {
      justify-self: stretch;
      text-align: left;
    }

    .order-sheet {
      width: min(100%, 560px);
      border-radius: 18px 18px 0 0;
    }

    .order-sheet__items li {
      grid-template-columns: 1fr;
      gap: 8px;
    }

    .order-sheet__item-actions {
      justify-items: stretch;
    }

    .history-modal__list li {
      display: grid;
      gap: 8px;
    }

    .history-modal__list li strong:last-child {
      justify-self: flex-end;
    }

    .cart-summary {
      grid-template-columns: minmax(0, 1fr) auto;
    }

    .admin-tab-intro__actions {
      width: 100%;
    }

    .admin-tab-intro__actions .ui-button {
      width: 100%;
    }

    .admin-products-toolbar,
    .admin-orders-toolbar__form,
    .admin-customers-toolbar {
      grid-template-columns: 1fr;
    }

    .admin-products-toolbar__actions {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-orders-toolbar__actions {
      width: 100%;
    }

    .admin-orders-search__meta {
      align-items: flex-start;
    }

    .admin-segmented button {
      font-size: 0.78rem;
      min-height: 40px;
    }

    .admin-production-form .ui-button {
      justify-self: stretch;
    }

    .admin-production-date-presets {
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 6px;
    }

    .admin-production-date-presets button {
      min-height: 34px;
      font-size: 0.72rem;
    }

    .admin-toast-stack {
      top: calc(8px + var(--safe-top));
      right: 8px;
      width: min(420px, calc(100vw - 16px));
    }

    .admin-products-item {
      flex-direction: row;
      align-items: flex-start;
    }

    .admin-products-item__media {
      width: 72px;
      min-width: 72px;
      grid-template-columns: 1fr;
      align-items: start;
    }

    .admin-products-item__media img,
    .admin-products-item__media-empty {
      width: 72px;
      height: 72px;
    }

    .admin-products-item__header {
      display: grid;
      gap: 5px;
    }

    .admin-products-item__actions {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 6px;
    }

    .admin-order-card__actions {
      display: grid;
      grid-template-columns: 1fr;
    }

    .admin-order-group {
      border-radius: 16px;
      padding: 10px;
    }

    .admin-customers-card__header {
      align-items: flex-start;
    }

    .admin-customers-card__quick-actions {
      width: 100%;
      justify-content: flex-start;
    }

    .admin-order-card__actions-secondary,
    .admin-order-card__actions-primary,
    .admin-info-grid {
      grid-template-columns: 1fr;
    }

    .admin-entity-drawer__footer {
      grid-template-columns: 1fr;
    }

    .admin-products-stock-editor {
      grid-template-columns: 1fr;
    }

    .admin-products-stock-editor__buttons {
      grid-auto-flow: row;
      grid-auto-columns: unset;
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .admin-product-drawer__images {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-product-drawer__header,
    .admin-product-drawer__tabs,
    .admin-product-drawer__footer,
    .admin-entity-drawer__header,
    .admin-entity-drawer__footer {
      position: static;
      border: 0;
      padding: 0;
      background: transparent;
    }
  }

  @media (max-width: 480px) {
    .app-topbar__phone {
      gap: 4px 6px;
    }

    .app-topbar__actions {
      gap: 5px;
    }

    .app-topbar__action {
      min-height: 40px;
    }

    .cart-summary {
      min-height: 58px;
    }

    .cart-summary__button {
      min-height: 40px;
      min-width: 132px;
      padding-inline: 0.75rem;
      font-size: 0.82rem;
    }

    .cart-summary__label {
      font-size: 0.62rem;
    }

    .catalog-product-detail-modal__actions {
      grid-template-columns: 1fr;
    }

    .catalog-product-detail-modal__dismiss {
      width: 100%;
    }

    .catalog-toolbar__chips button {
      min-height: 40px;
    }
  }

  @media (max-width: 420px) {
    .page {
      padding-left: 10px;
      padding-right: 10px;
      gap: 12px;
    }

    .app-topbar {
      padding: 6px;
      gap: 5px;
    }

    .app-topbar__identity {
      grid-template-columns: 44px minmax(0, 1fr);
      gap: 6px;
    }

    .app-topbar__logo {
      width: 44px;
      height: 44px;
    }

    .app-topbar__title {
      font-size: 0.86rem;
    }

    .app-topbar__phone {
      font-size: 0.7rem;
    }

    .app-topbar__action {
      min-height: 40px;
      padding-inline: 7px;
      font-size: 0.74rem;
    }

    .product-card {
      min-height: 322px;
    }

    .product-card__content {
      padding: 10px 10px 6px;
    }

    .product-card__content h3 {
      font-size: 0.96rem;
    }

    .product-card__price {
      font-size: 1.42rem;
    }

    .product-card__action-slot {
      gap: 6px;
    }

    .quantity-control {
      margin: 0;
    }

    .creator-card {
      grid-template-columns: 74px minmax(0, 1fr);
      gap: 8px;
    }

    .creator-card__photo {
      width: 74px;
      height: 92px;
    }

    .admin-topbar__brand {
      grid-template-columns: 44px minmax(0, 1fr);
    }

    .admin-topbar__logo {
      width: 44px;
      height: 44px;
    }

    .admin-tabs button {
      min-height: 40px;
      font-size: 0.76rem;
    }

    .admin-confirm-modal__actions {
      grid-template-columns: 1fr;
    }

    .admin-module-card__actions {
      width: 100%;
    }

    .admin-metric-grid {
      grid-template-columns: 1fr;
    }

    .admin-products-item__actions {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-products-item__actions .ui-button {
      min-height: 32px;
      font-size: 0.72rem;
    }

    .admin-customers-card__actions-main {
      width: 100%;
    }

    .admin-product-drawer__tabs {
      grid-template-columns: 1fr;
    }

    .admin-product-drawer__footer {
      grid-template-columns: 1fr;
    }

    .admin-toast {
      padding: 8px 10px;
    }

    .admin-toast p {
      font-size: 0.8rem;
    }
  }

  @media (max-width: 375px) {
    .product-grid {
      gap: 8px;
    }

    .catalog-section {
      padding: 10px;
    }

    .product-card {
      min-height: 300px;
    }

    .product-card img {
      min-height: 130px;
    }

    .catalog-toolbar__controls {
      grid-template-columns: 1fr;
    }

    .phone-gate__card {
      padding: 10px;
    }

    .cart-summary__line {
      font-size: 0.76rem;
    }

    .cart-summary__button {
      min-width: 118px;
      padding-inline: 0.65rem;
      font-size: 0.78rem;
    }

    .admin-product-drawer__images {
      grid-template-columns: 1fr;
    }
  }

  @media (max-width: 360px) {
    .page {
      padding-left: 8px;
      padding-right: 8px;
    }

    .app-topbar__identity {
      grid-template-columns: 40px minmax(0, 1fr);
      gap: 5px;
    }

    .app-topbar__logo {
      width: 40px;
      height: 40px;
    }

    .app-topbar__actions {
      grid-template-columns: 1fr;
      gap: 4px;
    }

    .app-topbar__action {
      font-size: 0.72rem;
      min-height: 40px;
      padding-inline: 6px;
    }

    .product-card {
      min-height: 296px;
    }

    .product-card img {
      min-height: 122px;
    }

    .catalog-toolbar__chips button {
      min-height: 40px;
      font-size: 0.68rem;
    }

    .cart-summary {
      grid-template-columns: 1fr;
      gap: 7px;
      padding: 8px;
    }

    .cart-summary__button {
      width: 100%;
      min-width: 0;
    }

    .admin-page {
      padding-left: 8px;
      padding-right: 8px;
    }

    .admin-topbar__actions,
    .admin-quick-actions {
      grid-template-columns: 1fr;
    }
  }

  @media (orientation: landscape) and (max-height: 540px) {
    .page,
    .admin-page {
      padding-top: max(8px, calc(var(--safe-top) + 6px));
      padding-bottom: calc(6rem + var(--safe-bottom));
      gap: 8px;
    }

    .sheet-backdrop {
      align-items: center;
    }

    .order-sheet {
      width: min(720px, calc(100% - 20px));
      border-radius: 18px;
      max-height: min(calc(var(--sc-viewport-height) - max(var(--safe-top), 8px) - 16px), 680px);
    }

    .cart-summary {
      bottom: max(0.35rem, var(--safe-bottom));
      min-height: 56px;
    }
  }

  @media (min-width: 1024px) {
    .page {
      align-items: start;
    }

    .admin-page {
      padding-left: var(--space-4);
      padding-right: var(--space-4);
    }
  }
}
