  .cm-cart-page {
    --cm-bg: #ffffff;
    --cm-surface: #ffffff;
    --cm-border: #eceae6;
    --cm-text: #2f2f2f;
    --cm-muted: #666666;
    --cm-soft: #8d8d8d;
    --cm-accent: #2f2f2f;
    --cm-accent-hover: #454545;
    --cm-error: #c44d3a;
    --cm-success: #2c6941;
    --cm-radius-lg: 18px;
    --cm-radius-md: 12px;
    --cm-shadow: 0 6px 22px rgba(47, 47, 47, 0.055);

    background: var(--cm-bg);
    padding: 40px 0 108px;
    font-family: Montserrat, Arial, sans-serif;
    color: var(--cm-text);
    font-size: 15px;
  }

  .cm-cart-container {
    width: min(1320px, calc(100% - 56px));
    margin: 0 auto;
  }

  .cm-cart-header {
    margin-bottom: 28px;
  }

  .cm-cart-title {
    margin: 0 0 4px;
    font-size: clamp(1.375rem, 1.1rem + 1vw, 1.75rem);
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -0.02em;
  }

  .cm-cart-subtitle {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.45;
    color: var(--cm-muted);
  }

  .cm-cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 340px);
    gap: 24px;
    align-items: start;
    min-width: 0;
  }

  .cm-cart-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .cm-cart-item {
    display: grid;
    grid-template-columns: 80px minmax(0, 1fr);
    gap: 16px;
    padding: 14px;
    border-radius: var(--cm-radius-lg);
    background: var(--cm-surface);
    border: 1px solid var(--cm-border);
    box-shadow: var(--cm-shadow);
    transition: opacity 0.25s ease;
  }

  .cm-cart-item.is-removing {
    opacity: 0.45;
    pointer-events: none;
  }

  .cm-cart-item-image {
    width: 80px;
    aspect-ratio: 210 / 297;
    border-radius: 0;
    overflow: hidden;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  }

  .cm-cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
  }

  .cm-cart-item-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    min-width: 0;
    position: relative;
  }

  .cm-cart-item-details {
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: flex-start;
    gap: 10px;
  }

  .cm-cart-item-title {
    margin: 0;
    font-size: 1rem;
    line-height: 1.3;
    font-weight: 600;
  }

  .cm-cart-item-meta-list {
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .cm-cart-item-meta-list li {
    font-size: 12px;
    line-height: 1.45;
    color: var(--cm-soft);
  }

  .cm-cart-item-meta-list strong {
    color: var(--cm-text);
    font-weight: 600;
  }

  .cm-cart-item-side {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
  }

  .cm-cart-item-bottom {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 22px;
    white-space: nowrap;
  }

  .cm-cart-qty {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    border: 1px solid var(--cm-border);
    border-radius: 999px;
    padding: 2px;
    background: #fff;
  }

  .cm-cart-qty-btn {
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--cm-text);
    font-size: 18px;
    font-weight: 500;
    line-height: 1;
    cursor: pointer;
  }

  .cm-cart-qty-btn:hover:not(:disabled) {
    background: #f4f4f4;
  }

  .cm-cart-qty-btn:disabled {
    opacity: 0.28;
    cursor: default;
  }

  .cm-cart-qty-val {
    min-width: 28px;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
  }

  .cm-cart-item-price {
    font-size: 22px;
    line-height: 1;
    font-weight: 600;
  }

  .cm-cart-remove {
    appearance: none;
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    margin: -6px -6px 0 0;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--cm-soft);
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: color 0.2s ease, background 0.2s ease;
  }

  .cm-cart-remove svg {
    width: 18px;
    height: 18px;
    display: block;
  }

  .cm-cart-remove:hover {
    color: var(--cm-text);
    background: #f4f4f4;
  }

  .cm-cart-skeleton {
    display: flex;
    flex-direction: column;
    gap: 18px;
  }

  .cm-cart-skeleton-item {
    height: 196px;
    border-radius: var(--cm-radius-lg);
    background: linear-gradient(90deg, #eceae6 0%, #f5f4f2 50%, #eceae6 100%);
    background-size: 200% 100%;
    animation: cm-shimmer 1.2s ease-in-out infinite;
  }

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

  .cm-cart-empty {
    padding: 48px 28px;
    border-radius: var(--cm-radius-lg);
    background: var(--cm-surface);
    border: 1px solid var(--cm-border);
    text-align: center;
    box-shadow: var(--cm-shadow);
  }

  .cm-cart-empty-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: #b8b8b8;
  }

  .cm-cart-empty-icon svg {
    width: 56px;
    height: 56px;
    display: block;
    fill: none;
    stroke-width: 1.4;
    stroke-linejoin: round;
  }

  .cm-cart-empty-title {
    margin: 0 0 10px;
    font-size: 24px;
    font-weight: 700;
  }

  .cm-cart-empty-text {
    margin: 0 0 24px;
    font-size: 15px;
    line-height: 1.55;
    color: var(--cm-muted);
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
  }

  .cm-cart-empty-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 28px;
    border-radius: 999px;
    background: var(--cm-accent);
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 15px;
    font-weight: 600;
  }

  .cm-cart-sidebar {
    position: sticky;
    top: 24px;
    min-width: 0;
    max-width: 100%;
  }

  .cm-cart-summary {
    padding: 18px;
    border-radius: var(--cm-radius-lg);
    background: var(--cm-surface);
    border: 1px solid var(--cm-border);
    box-shadow: var(--cm-shadow);
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
  }

  .cm-promo-block {
    margin-bottom: 0;
  }

  .cm-promo-label {
    display: block;
    margin-bottom: 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--cm-text);
  }

  .cm-promo-row {
    display: flex;
    gap: 8px;
  }

  .cm-promo-input {
    flex: 1;
    min-width: 0;
    height: 42px;
    padding: 0 12px;
    border: 1px solid var(--cm-border);
    border-radius: var(--cm-radius-md);
    font-family: inherit;
    font-size: 0.875rem;
    color: var(--cm-text);
    background: #faf9f7;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
  }

  .cm-promo-input:focus {
    border-color: #bfb9b2;
    box-shadow: 0 0 0 3px rgba(47, 47, 47, 0.08);
  }

  .cm-promo-btn {
    flex-shrink: 0;
    height: 42px;
    padding: 0 14px;
    border: none;
    border-radius: var(--cm-radius-md);
    background: #f1f0ee;
    color: var(--cm-text);
    font-family: inherit;
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
  }

  .cm-promo-btn:hover {
    background: #e8e6e2;
  }

  .cm-promo-msg {
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.45;
  }

  .cm-promo-msg.is-info { color: var(--cm-muted); }
  .cm-promo-msg.is-success { color: var(--cm-success); }
  .cm-promo-msg.is-error { color: var(--cm-error); }

  .cm-cart-msg {
    font-size: 13px;
    line-height: 1.45;
  }

  .cm-cart-msg.is-info { color: var(--cm-muted); }
  .cm-cart-msg.is-error { color: var(--cm-error); }

  .cm-cart-summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 0.875rem;
    line-height: 1.35;
    color: #3f3f3f;
  }

  .cm-cart-summary-row-discount {
    display: none;
  }

  .cm-cart-summary-row-discount.is-visible {
    display: flex;
  }

  .cm-cart-summary-row-discount strong {
    color: var(--cm-success);
    font-weight: 600;
  }

  .cm-cart-summary-row-discount strong:empty {
    display: none;
  }

  .cm-cart-summary-row-total {
    padding-top: 12px;
    border-top: 1px solid var(--cm-border);
    font-size: 0.9375rem;
    font-weight: 500;
  }

  .cm-cart-summary-row-total strong {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1;
  }

  .cm-cart-checkout-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 20px;
    border-radius: 999px;
    background: var(--cm-accent);
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.2;
    transition: background 0.2s ease, opacity 0.2s ease;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box !important;
    margin: 0 !important;
    align-self: stretch;
    text-align: center;
    white-space: normal;
  }

  .cm-cart-checkout-btn:hover {
    background: var(--cm-accent-hover);
  }

  .cm-cart-checkout-btn.is-disabled {
    opacity: 0.45;
    pointer-events: none;
    cursor: not-allowed;
  }

  .cm-cart-checkout-btn--compact {
    width: auto;
    min-width: 120px;
    min-height: 44px;
  }

  .cm-cart-mobile-bar {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 70;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid var(--cm-border);
    backdrop-filter: blur(10px);
  }

  .cm-cart-mobile-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    max-width: 1200px;
    margin: 0 auto;
  }

  .cm-cart-mobile-totals {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    gap: 0.5rem;
    white-space: nowrap;
  }

  .cm-cart-mobile-label {
    font-size: 0.8125rem;
    color: var(--cm-muted);
    margin: 0;
    font-weight: 500;
  }

  .cm-cart-mobile-total {
    font-size: 1.0625rem;
    font-weight: 700;
    line-height: 1.1;
  }

  @media (max-width: 980px) {
    .cm-cart-layout {
      grid-template-columns: 1fr;
    }

    .cm-cart-sidebar {
      position: static;
    }
  }

  @media (max-width: 767px) {
    .cm-cart-page {
      padding: 24px 0 96px;
    }

    .cm-cart-container {
      width: min(100%, calc(100% - 24px));
    }

    .cm-cart-header {
      margin-bottom: 20px;
    }

    .cm-cart-title {
      font-size: 1.375rem;
      margin-bottom: 2px;
    }

    .cm-cart-subtitle {
      font-size: 0.8125rem;
    }

    .cm-cart-item {
      grid-template-columns: 68px minmax(0, 1fr);
      gap: 12px;
      padding: 12px;
    }

    .cm-cart-item-image {
      width: 68px;
    }

    .cm-cart-item-title {
      font-size: 0.9375rem;
    }

    .cm-cart-item-details {
      gap: 8px;
    }

    .cm-cart-item-content {
      grid-template-columns: minmax(0, 1fr);
      gap: 12px;
    }

    .cm-cart-item-side {
      align-items: stretch;
      gap: 8px;
    }

    .cm-cart-remove {
      position: absolute;
      top: 0;
      right: 0;
    }

    .cm-cart-item-bottom {
      justify-content: space-between;
      gap: 12px;
    }

    .cm-cart-item-price {
      font-size: 18px;
    }

    .cm-cart-sidebar .cm-cart-checkout-btn {
      display: none;
    }

    .cm-cart-mobile-bar {
      display: block;
    }
  }