:root {
  --cp-cart-primary: #4a3485;
  --cp-cart-primary-strong: #34245d;
  --cp-cart-text: #262036;
  --cp-cart-muted: #7b738a;
  --cp-cart-line: rgba(74, 52, 133, 0.11);
  --cp-cart-line-strong: rgba(74, 52, 133, 0.18);
  --cp-cart-card: #fff;
  --cp-cart-card-soft: #fff;
  --cp-cart-shadow: 0 14px 28px rgba(31, 23, 49, 0.05);
}

body.cp-cart-page,
.cp-cart-page {
  color: var(--cp-cart-text);
  overflow-x: hidden;
}

body.cp-cart-page header.main_header .header-wrap.container,
body.cp-cart-page
  header.main_header
  .header-wrap.container.header-wrap-checkout,
.cp-cart-page #masthead,
.cp-cart-page .site-header {
  background: #fff;
  box-shadow: 0 1px 0 rgba(38, 32, 54, 0.05);
}

.cp-cart-page .post-thumbnail,
.cp-cart-page .breadcrumbs,
.cp-cart-page .page-header,
.cp-cart-page .entry-header,
.cp-cart-page .entry-footer {
  display: none !important;
}

.cp-cart-page .filter {
  display: none !important;
}

.cp-cart-page #content,
.cp-cart-page #main.main_content,
.cp-cart-page #primary,
.cp-cart-page .site-content,
.cp-cart-page .content-area,
.cp-cart-page .main-wrap {
  width: 100% !important;
  max-width: none !important;
}

.cp-cart-page .entry-content,
.cp-cart-page .woocommerce,
.cp-cart-page article,
.cp-cart-page .post {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

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

.cp-cart {
  padding: clamp(24px, 4vw, 40px) clamp(16px, 3vw, 28px) clamp(48px, 7vw, 72px);
}

.cp-cart__shell {
  max-width: 1320px;
  margin: 0 auto;
}

.cp-cart__canvas {
  position: relative;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(74, 52, 133, 0.12);
  border-radius: 36px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.9) 0%,
    rgba(255, 255, 255, 0.96) 100%
  );
  box-shadow: 0 24px 44px rgba(31, 23, 49, 0.045);
  overflow: visible;
  isolation: isolate;
}

.cp-cart__canvas::after {
  content: "";
  position: absolute;
  top: -120px;
  right: -80px;
  width: 320px;
  height: 320px;
  background: radial-gradient(
    circle,
    rgba(74, 52, 133, 0.08) 0%,
    rgba(74, 52, 133, 0) 70%
  );
  pointer-events: none;
}

.cp-cart a {
  color: var(--cp-cart-primary);
}

.cp-cart .woocommerce-notices-wrapper {
  margin-bottom: 16px;
}

.cp-cart .woocommerce-info,
.cp-cart .woocommerce-message,
.cp-cart .woocommerce-error {
  margin: 0 0 12px;
  padding: 14px 16px 14px 44px;
  border: 1px solid var(--cp-cart-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--cp-cart-shadow);
  color: var(--cp-cart-text);
}

.cp-cart__back {
  position: absolute;
  z-index: 1;
  margin: 0 0 18px;
}

.cp-cart__back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid var(--cp-cart-line);
  border-radius: 999px;
  background: #fff;
  color: var(--cp-cart-primary);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease;
}

.cp-cart__back-link::before {
  content: "←";
}

.cp-cart__back-link:hover {
  border-color: var(--cp-cart-line-strong);
  background: var(--cp-cart-card-soft);
  transform: translateY(-1px);
}

.cp-cart__header {
  position: relative;
  display: flex;
  justify-content: center;
  margin-bottom: 34px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(74, 52, 133, 0.1);
  z-index: 1;
}

.cp-cart__header-copy {
  display: grid;
  gap: 8px;
  justify-items: center;
  max-width: 100%;
  text-align: center;
}

.cp-cart__header::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -1px;
  width: 68px;
  height: 2px;
  background: var(--cp-cart-primary);
  transform: translateX(-50%);
}

.cp-cart__title {
  margin: 0;
  color: var(--cp-cart-primary);
  font-size: clamp(36px, 4vw, 48px);
  font-weight: 600;
  line-height: 0.96;
  letter-spacing: -0.045em;
}

.cp-cart__intro {
  margin: 0;
  color: var(--cp-cart-muted);
  font-size: 14px;
  line-height: 1.55;
  text-align: center;
}

.cp-cart__header-meta,
.cp-cart__count-pill {
  display: none;
}

.cp-cart__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 284px;
  gap: 36px;
  align-items: start;
  position: relative;
  z-index: 1;
}

.cp-cart__form {
  margin: 0;
}

.cp-cart__list-wrap,
.cp-cart__list {
  display: grid;
  gap: 16px;
}

.cp-cart__item {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 450px;
  gap: 26px;
  padding: 24px;
  border: 1px solid var(--cp-cart-line);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 10px 22px rgba(31, 23, 49, 0.035);
  overflow: hidden;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.cp-cart__item::before {
  content: none;
}

.cp-cart__item::after {
  content: none;
}

.cp-cart__item:hover {
  border-color: var(--cp-cart-line-strong);
  box-shadow: 0 18px 32px rgba(31, 23, 49, 0.07);
  transform: translateY(-1px);
}

.cp-cart__item-main {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.cp-cart__product-media,
.cp-cart__product-thumb {
  display: block;
}

.cp-cart__product-media {
  display: grid;
  width: 96px;
  min-height: 116px;
  padding: 0;
  margin: 10px;
  border: 1px solid rgba(74, 52, 133, 0.08);
  border-radius: 22px;
  background: var(--cp-cart-card-soft);
  box-shadow: none;
  overflow: hidden;
}

.cp-cart__product-thumb {
  width: 100%;
  height: 100% !important;
}

.cp-cart__product-media img {
  width: 100% !important;
  height: 100% !important;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

.cp-cart__product-copy {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.cp-cart__product-name,
.cp-cart__product-name a {
  color: var(--cp-cart-primary);
  font-size: clamp(20px, 1.9vw, 26px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.035em;
  text-decoration: none;
}

.cp-cart__product-name a:hover {
  color: var(--cp-cart-primary-strong);
}

.cp-cart__product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  color: var(--cp-cart-muted);
  font-size: 10px;
  line-height: 1.45;
}

.cp-cart__product-meta dl.variation {
  margin: 0;
}

.cp-cart__product-meta dt,
.cp-cart__product-meta dd {
  display: inline;
}

.cp-cart__product-meta dd {
  margin: 0;
}

.cp-cart__product-remove {
  display: flex;
}

.cp-cart__remove-link,
.cp-cart__table .remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--cp-cart-line);
  border-radius: 0;
  background: #fff;
  color: var(--cp-cart-muted) !important;
  text-decoration: none;
  opacity: 1 !important;
  box-shadow: none;
  transition:
    border-color 0.2s ease,
    color 0.2s ease,
    background 0.2s ease;
}

.cp-cart__remove-link::before,
.cp-cart__table .remove::before {
  content: none;
}

.cp-cart__remove-icon {
  display: inline-flex;
  width: 18px;
  height: 18px;
}

.cp-cart__remove-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.cp-cart__remove-link:hover {
  border-color: var(--cp-cart-line-strong);
  background: #fff;
  color: var(--cp-cart-primary) !important;
}

.cp-cart__item-side {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  align-items: center;
  padding-left: 10px;
  border-left: 1px solid rgba(74, 52, 133, 0.08);
  border-top: 0;
  border-right: 0;
  border-bottom: 0;
  border-radius: 0;
  background: transparent;
}

.cp-cart__metric {
  display: grid;
  gap: 8px;
  min-height: 86px;
  min-width: 0;
}

.cp-cart__metric + .cp-cart__metric {
  padding: 0px 10px;
  border-left: 1px solid rgba(74, 52, 133, 0.08);
}

.cp-cart__metric-label {
  color: var(--cp-cart-muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
}

.cp-cart__metric-value {
  min-width: 0;
}

.cp-cart__metric-value--price,
.cp-cart__metric-value--total,
.cp-cart__line-total {
  color: var(--cp-cart-primary);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
}

.cp-cart__price-stack {
  display: grid;
  gap: 3px;
}

.cp-cart__metric-value--price del,
.cp-cart__price-stack del {
  display: block;
  color: rgba(74, 52, 133, 0.45);
  font-size: 12px;
  font-weight: 500;
  opacity: 1;
  text-decoration-thickness: 1px;
}

.cp-cart__metric-value--price del .amount,
.cp-cart__price-stack del .amount {
  color: inherit;
}

.cp-cart__metric-value--price ins,
.cp-cart__price-stack ins {
  color: var(--cp-cart-primary);
  display: block;
  text-decoration: none;
}

.cp-cart__metric-value--quantity {
  display: flex;
  align-items: center;
  justify-content: center;
}

.cp-cart__qty-control {
  display: inline-grid;
  grid-template-columns: 40px minmax(44px, 1fr) 40px;
  align-items: center;
  min-width: 124px;
  border: 1px solid var(--cp-cart-line-strong);
  border-radius: 0;
  background: #fff;
  overflow: hidden;
}

.cp-cart__qty-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--cp-cart-primary);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease;
}

.cp-cart__qty-button:hover {
  background: rgba(74, 52, 133, 0.04);
}

.cp-cart__qty-control .quantity {
  margin: 0;
}

.cp-cart__qty-control label {
  display: none !important;
}

.cp-cart__qty-control input.qty {
  width: 100%;
  min-width: 0;
  height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--cp-cart-primary);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: textfield;
  box-shadow: none;
  outline: 0;
}

.cp-cart__qty-control input.qty::-webkit-outer-spin-button,
.cp-cart__qty-control input.qty::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.cp-cart__line-savings {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  padding: 8px 12px;
  border: 2px solid var(--cp-cart-primary);
  border-radius: 15px;
  background: #fff;
  color: var(--cp-cart-primary-strong);
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.12em;
  box-shadow: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.cp-cart__line-savings--title {
  display: none;
}

.cp-cart-recommendations {
  position: relative;
  z-index: 1;
  margin-top: 40px;
}

.cp-cart-recommendations__header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
}

.cp-cart-recommendations__header::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--cp-cart-line);
}

.cp-cart-recommendations__title {
  margin: 0;
  color: var(--cp-cart-muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.cp-cart-recommendations__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.cp-cart-recommendations__item {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--cp-cart-line);
  border-radius: 22px;
  background: #fff;
  box-shadow: none;
}

.cp-cart-recommendations__image-link {
  display: grid;
  aspect-ratio: 1 / 1;
  min-height: 0;
  padding: 0;
  border-radius: 22px;
  background: #fff;
  text-decoration: none;
  overflow: hidden;
}

.cp-cart-recommendations__image-link img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

.cp-cart-recommendations__content {
  display: grid;
  gap: 6px;
  align-content: start;
  padding: 0 10px 10px 10px;
}

.cp-cart-recommendations__name {
  margin: 0;
  min-height: calc(1.25em * 2);
  color: var(--cp-cart-primary);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.cp-cart-recommendations__name a {
  color: inherit;
  text-decoration: none;
}

.cp-cart-recommendations__name a:hover {
  color: var(--cp-cart-primary-strong);
}

.cp-cart-recommendations__price {
  color: var(--cp-cart-primary);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.25;
}

.cp-cart-recommendations__price del {
  color: rgba(74, 52, 133, 0.45);
  font-weight: 500;
  opacity: 1;
}

.cp-cart-recommendations__price ins {
  color: var(--cp-cart-primary);
  text-decoration: none;
}

.cp-cart__actions {
  display: none;
}

.cp-cart__summary {
  position: sticky;
  top: 28px;
}

.cp-cart__summary .cart_totals {
  display: block;
}

.cp-cart-totals {
  position: relative;
  padding: 22px;
  border: 1px solid var(--cp-cart-line);
  border-radius: 24px;
  background: #fff;
  box-shadow: none;
  overflow: hidden;
}

.cp-cart-totals__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 16px;
}

.cp-cart-totals__eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--cp-cart-muted);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.cp-cart-totals__eyebrow::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--cp-cart-line);
}

.cp-cart-totals__meta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 0 14px;
  border: 0;
  border-bottom: 1px solid var(--cp-cart-line);
  background: #fff;
}

.cp-cart-totals__meta-label {
  color: var(--cp-cart-muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.cp-cart-totals__meta-value {
  color: var(--cp-cart-primary);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

.cp-cart-totals__summary {
  display: grid;
  gap: 6px;
}

.cp-cart-totals__label {
  color: var(--cp-cart-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.cp-cart-totals__value,
.cp-cart-totals__value .amount {
  color: var(--cp-cart-primary);
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
}

.cp-cart-totals__row--total,
.cp-cart-totals__note {
  display: none;
}

.cp-cart__checkout-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 52px;
  padding: 0 18px;
  border-radius: 12px;
  background: var(--cp-cart-primary);
  color: #fff !important;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 14px 24px rgba(74, 52, 133, 0.14);
  transition:
    background 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.cp-cart__checkout-button::after {
  content: "↗";
  font-size: 14px;
  line-height: 1;
}

.cp-cart__checkout-button:hover {
  background: var(--cp-cart-primary-strong);
  box-shadow: 0 18px 28px rgba(74, 52, 133, 0.18);
  transform: translateY(-1px);
}

.cp-cart--empty {
  min-height: 52vh;
}

.cp-cart--empty .cp-cart__canvas {
  padding-top: clamp(18px, 3vw, 28px);
  padding-bottom: clamp(18px, 3vw, 28px);
}

.cp-cart-empty {
  position: relative;
  display: grid;
  grid-template-columns: minmax(300px, 440px) minmax(300px, 400px);
  gap: clamp(12px, 3.5vw, 40px);
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: clamp(260px, 30vw, 340px);
  padding: 4px 0 0;
}

.cp-cart-empty::before {
  content: "";
  position: absolute;
  left: 7%;
  top: 16%;
  width: clamp(180px, 22vw, 260px);
  height: clamp(180px, 22vw, 260px);
  border-radius: 999px;
  background: radial-gradient(
    circle,
    rgba(74, 52, 133, 0.08) 0%,
    rgba(74, 52, 133, 0) 72%
  );
  pointer-events: none;
}

.cp-cart-empty::after {
  content: "";
  position: absolute;
  right: 8%;
  bottom: 14%;
  width: clamp(120px, 16vw, 180px);
  height: clamp(120px, 16vw, 180px);
  border-radius: 999px;
  background: radial-gradient(
    circle,
    rgba(140, 118, 203, 0.09) 0%,
    rgba(140, 118, 203, 0) 72%
  );
  pointer-events: none;
}

.cp-cart-empty__visual {
  position: relative;
  display: grid;
  place-items: center;
  width: min(100%, 410px);
  min-height: 286px;
  z-index: 1;
  transform: translateX(-20px);
}

.cp-cart-empty__visual::before {
  content: "";
  position: absolute;
  inset: 10px 0 18px;
  background:
    radial-gradient(
      42% 34% at 22% 34%,
      rgba(245, 241, 253, 0.84) 0%,
      rgba(245, 241, 253, 0.84) 38%,
      rgba(245, 241, 253, 0) 76%
    ),
    radial-gradient(
      34% 28% at 82% 28%,
      rgba(236, 228, 250, 0.58) 0%,
      rgba(236, 228, 250, 0.58) 34%,
      rgba(236, 228, 250, 0) 74%
    ),
    radial-gradient(
      44% 28% at 58% 80%,
      rgba(228, 218, 248, 0.44) 0%,
      rgba(228, 218, 248, 0.44) 30%,
      rgba(228, 218, 248, 0) 76%
    );
  filter: blur(1px);
  pointer-events: none;
}

.cp-cart-empty__visual::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 18px;
  width: 58%;
  height: 16px;
  background: rgba(74, 52, 133, 0.07);
  filter: blur(16px);
  transform: translateX(-50%);
  pointer-events: none;
}

.cp-cart-empty__visual svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
  position: relative;
  z-index: 1;
  transform: translateX(-6px) scale(1.05);
}

.cp-cart-empty__content {
  display: grid;
  gap: 10px;
  justify-items: start;
  align-content: center;
  max-width: 340px;
  position: relative;
  z-index: 1;
  text-align: left;
}

.cp-cart-empty__eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin: 0;
  padding: 0 12px;
  border: 1px solid rgba(74, 52, 133, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--cp-cart-primary);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.cp-cart-empty__title {
  margin: 0;
  color: var(--cp-cart-primary);
  font-size: clamp(30px, 3.4vw, 40px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.cp-cart-empty__copy {
  margin: 0;
  max-width: 30ch;
  color: var(--cp-cart-muted);
  font-size: 14px;
  line-height: 1.5;
}

.cp-cart-empty__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 50px;
  padding: 0 28px;
  border: 1px solid rgba(52, 36, 93, 0.92);
  border-radius: 30px;
  background: #5b4698;
  color: #fff !important;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.02em;
  text-decoration: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 14px 28px rgba(52, 36, 93, 0.22);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.cp-cart-empty__button::after {
  content: "↗";
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}

.cp-cart-empty__button:hover {
  background: linear-gradient(180deg, #674fb0 0%, #523b93 100%);
  border-color: rgba(52, 36, 93, 0.96);
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 18px 34px rgba(52, 36, 93, 0.28);
}

.cp-cart--empty .cp-cart-recommendations {
  margin-top: 20px;
}

@media (max-width: 1360px) {
  .cp-cart__layout {
    grid-template-columns: minmax(0, 1fr) 268px;
    gap: 28px;
  }

  .cp-cart__item {
    grid-template-columns: minmax(0, 1fr) 400px;
    gap: 22px;
  }

  .cp-cart-recommendations__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 1220px) {
  .cp-cart__item {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    padding: 20px;
  }

  .cp-cart__item-main {
    gap: 16px;
  }

  .cp-cart__item-side {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    padding-left: 0;
    padding-top: 18px;
    border-left: 0;
    border-top: 1px solid rgba(74, 52, 133, 0.08);
  }

  .cp-cart__metric {
    min-height: 0;
  }

  .cp-cart__metric + .cp-cart__metric {
    padding-left: 16px;
  }

  .cp-cart-recommendations__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .cp-cart__layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .cp-cart__summary {
    position: static;
    width: 100%;
  }

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

@media (max-width: 1140px) {
  .cp-cart__layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .cp-cart-empty {
    grid-template-columns: 1fr;
    gap: 12px;
    justify-items: center;
    min-height: 0;
  }

  .cp-cart-empty__visual,
  .cp-cart-empty__visual svg {
    transform: none;
  }

  .cp-cart__summary {
    position: static;
    width: 100%;
  }
}

@media (min-width: 761px) and (max-width: 1220px) {
  html,
  body.cp-cart-page,
  .cp-cart-page {
    overflow-x: clip !important;
  }

  .cp-cart__canvas {
    position: relative;
    z-index: 2147483646;
    isolation: auto;
    overflow: visible;
  }

  .cp-cart__canvas::after {
    display: none;
  }

  .cp-cart__layout {
    position: relative;
    z-index: 2147483646;
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .cp-cart__summary {
    position: fixed !important;
    top: auto;
    left: 0;
    right: 0;
    bottom: 12px;
    width: auto;
    max-width: 100%;
    z-index: 2147483647 !important;
    transform: translateZ(0);
  }

  .cp-cart-totals {
    position: relative;
    z-index: 2147483647;
    max-height: calc(100vh - 24px);
    overflow: auto;
  }

  .cp-cart__item,
  .cp-cart__item.cart_item {
    width: 100%;
    grid-template-columns: minmax(0, 1fr) clamp(350px, 45vw, 460px);
    gap: 22px;
    padding: 22px;
  }

  .cp-cart__item-main {
    gap: 18px;
    align-items: center;
  }

  .cp-cart__item-side {
    grid-template-columns:
      minmax(88px, 0.85fr)
      minmax(110px, 1fr)
      minmax(150px, 1.25fr);
    min-width: 0;
    gap: 0;
    align-items: center;
    padding-left: 0;
    padding-top: 0;
    border-left: 0;
    border-top: 0;
  }

  .cp-cart__metric {
    min-height: 86px;
  }

  .cp-cart__metric + .cp-cart__metric {
    padding: 0 10px;
    border-left: 0;
  }

  .cp-cart__metric--total {
    justify-self: end;
    width: 100%;
    text-align: right;
    align-items: end;
  }

  .cp-cart__metric--total .cp-cart__metric-label {
    text-align: right;
  }

  .cp-cart__metric--total .cp-cart__metric-value {
    display: grid;
    justify-items: end;
    text-align: right;
    gap: 6px;
  }

  .cp-cart__metric--total .cp-cart__line-savings {
    margin-left: auto;
  }

  .cp-cart-recommendations__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cp-cart-recommendations,
  .cp-cart-recommendations__grid,
  .cp-cart-recommendations__item {
    position: relative;
    z-index: 0;
  }

  body.cp-cart-page footer,
  .cp-cart-page footer,
  body.cp-cart-page .site-footer,
  .cp-cart-page .site-footer,
  body.cp-cart-page #colophon,
  .cp-cart-page #colophon {
    position: relative;
    z-index: 1 !important;
  }
}

@media (max-width: 760px) {
  html,
  body.cp-cart-page,
  .cp-cart-page,
  body.cp-cart-page #page,
  .cp-cart-page #page {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    overflow-x: clip;
  }

  body.cp-cart-page,
  .cp-cart-page {
    background: #f6f4fa;
  }

  body.cp-cart-page header.main_header,
  body.cp-cart-page header.main_header .header-wrap.container,
  body.cp-cart-page
    header.main_header
    .header-wrap.container.header-wrap-checkout,
  .cp-cart-page #masthead,
  .cp-cart-page .site-header {
    position: relative;
    z-index: 200 !important;
  }

  .cp-cart {
    padding: 20px 15px;
  }

  .cp-cart:not(.cp-cart--empty) {
    padding: 20px 15px;
  }

  .cp-cart__canvas {
    position: relative;
    z-index: 1;
    isolation: auto;
  }

  .cp-cart__layout {
    position: relative;
    z-index: 1;
    gap: 14px;
  }

  .cp-cart__list-wrap,
  .cp-cart__list {
    gap: 12px;
  }

  .cp-cart:not(.cp-cart--empty) .cp-cart__canvas {
    padding: 14px;
    border: 1px solid rgba(74, 52, 133, 0.1);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 10px 22px rgba(31, 23, 49, 0.04);
  }

  .cp-cart:not(.cp-cart--empty) .cp-cart__canvas::after {
    display: none;
  }

  .cp-cart__back {
    position: static;
    margin-bottom: 10px;
    width: fit-content;
    padding: 2px;
    border: 1px solid rgba(74, 52, 133, 0.14);
    border-radius: 999px;
    background: #fff;
  }

  .cp-cart__back-link {
    min-height: 36px;
    padding: 0 12px;
    border-color: transparent;
    background: transparent;
    font-size: 14px;
  }

  .cp-cart__header {
    position: relative;
    display: grid;
    gap: 10px;
    margin-bottom: 12px;
    padding: 0 0 12px 0;
    border-bottom: 1px solid rgba(74, 52, 133, 0.1);
    justify-content: initial;
  }

  .cp-cart__header-copy {
    gap: 8px;
    padding-right: 0;
    justify-items: start;
    text-align: left;
  }

  .cp-cart__header::after {
    content: none;
  }

  .cp-cart__title {
    font-size: clamp(42px, 10vw, 54px);
    line-height: 0.92;
    letter-spacing: -0.05em;
  }

  .cp-cart__intro {
    width: 100%;
    max-width: 100%;
    font-size: 14px;
    line-height: 1.45;
    text-align: left;
  }

  .cp-cart__header-meta {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
  }

  .cp-cart__count-pill {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 14px;
    border: 1px solid rgba(74, 52, 133, 0.24);
    border-radius: 999px;
    background: #ece8f5;
    color: var(--cp-cart-primary);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    white-space: nowrap;
  }

  .cp-cart__item,
  .cp-cart__item.cart_item {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 10px;
    padding: 12px !important;
    border-radius: 18px;
    border: 1px solid rgba(74, 52, 133, 0.12);
    background: #fff;
    box-shadow: none;
  }

  .cp-cart__item-main {
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
  }

  .cp-cart__product-copy {
    display: grid;
    gap: 6px;
  }

  .cp-cart__item-side {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: center;
    gap: 10px;
    margin-top: 0;
    padding-top: 10px;
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid rgba(74, 52, 133, 0.08);
  }

  .cp-cart__product-media {
    width: 62px;
    min-height: 62px;
    margin: 0;
    border-radius: 12px;
    padding: 0;
    align-self: start;
  }

  .cp-cart__product-media img {
    width: 100% !important;
    height: 100% !important;
  }

  .cp-cart__product-name {
    padding-right: 28px;
  }

  .cp-cart__product-name,
  .cp-cart__product-name a {
    font-size: 18px;
    line-height: 1.16;
  }

  .cp-cart__product-meta {
    display: none;
  }

  .cp-cart__product-remove {
    position: absolute;
    top: 10px;
    right: 10px;
  }

  .cp-cart__remove-link,
  .cp-cart__table .remove {
    width: 26px;
    height: 26px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #c11f34 !important;
  }

  .cp-cart__remove-link:hover {
    border: 0;
    background: transparent;
    color: #a6182b !important;
  }

  .cp-cart__remove-icon {
    width: 20px;
    height: 20px;
  }

  .cp-cart__metric {
    display: grid;
    min-height: 0;
    gap: 3px;
    align-content: start;
  }

  .cp-cart__metric + .cp-cart__metric {
    padding: 0;
    border: 0;
  }

  .cp-cart__metric--price {
    align-items: flex-start;
    text-align: left;
  }

  .cp-cart__metric--price .cp-cart__metric-label {
    display: none;
  }

  .cp-cart__metric--quantity {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
  }

  .cp-cart__metric--quantity .cp-cart__metric-label {
    display: none;
  }

  .cp-cart__metric--total {
    display: grid;
    align-items: flex-end;
    text-align: right;
    gap: 4px;
    padding-top: 0;
    border-top: 0;
  }

  .cp-cart__metric-label {
    color: var(--cp-cart-muted);
    font-size: 14px;
    letter-spacing: 0.14em;
  }

  .cp-cart__metric-value--price,
  .cp-cart__metric-value--total,
  .cp-cart__line-total {
    font-size: 16px;
    line-height: 1.1;
  }

  .cp-cart__metric-value--quantity {
    justify-content: flex-start;
  }

  .cp-cart__metric--quantity .cp-cart__metric-value {
    width: auto;
    justify-content: center;
  }

  .cp-cart__metric--price .cp-cart__metric-value {
    width: 100%;
    display: grid;
    justify-items: start;
    text-align: left;
  }

  .cp-cart__metric--price .cp-cart__price-stack {
    justify-items: start;
    text-align: left;
    gap: 2px;
  }

  .cp-cart__metric--total .cp-cart__metric-value {
    width: 100%;
    display: grid;
    justify-items: end;
    gap: 4px;
    text-align: right;
  }

  .cp-cart__qty-control {
    grid-template-columns: 34px 44px 34px;
    min-width: 112px;
    border-radius: 999px;
  }

  .cp-cart__qty-button,
  .cp-cart__qty-control input.qty {
    height: 34px;
  }

  .cp-cart__qty-button {
    width: 34px;
    font-size: 15px;
  }

  .cp-cart__qty-control input.qty {
    font-size: 14px;
  }

  .cp-cart__line-savings {
    margin-top: 0;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 14px;
    letter-spacing: 0.06em;
  }

  .cp-cart__line-savings--title {
    display: inline-flex;
    font-size: 12px;
    width: fit-content;
    max-width: 100%;
    justify-self: end;
    justify-content: center;
    margin-top: 2px;
    align-self: flex-start;
  }

  .cp-cart__line-savings--total {
    display: none;
  }

  .cp-cart__summary {
    position: fixed !important;
    top: auto !important;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 10px 0 env(safe-area-inset-bottom, 0px);
    background: transparent;
    z-index: 100 !important;
    transform: translateZ(0);
  }

  .cp-cart__summary .cart_totals {
    width: 100%;
  }

  .cp-cart-totals {
    position: relative;
    z-index: 101;
    padding: 16px;
    border-radius: 18px 18px 0 0;
    border: none;
    background: linear-gradient(180deg, #fff 0%, #f6f1ff 100%);
    box-shadow: none;
    overflow: hidden;
  }

  .cp-cart-totals::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, #b9a6ea 0%, #6f56b5 48%, #4a3485 100%);
  }

  .cp-cart-totals::after {
    content: "";
    position: absolute;
    top: -46px;
    right: -30px;
    width: 148px;
    height: 148px;
    border-radius: 999px;
    background: radial-gradient(
      circle,
      rgba(132, 104, 201, 0.2) 0%,
      rgba(132, 104, 201, 0) 72%
    );
    pointer-events: none;
  }

  .cp-cart-totals__inner {
    gap: 12px;
  }

  .cp-cart-totals__eyebrow {
    display: inline-flex;
    gap: 10px;
    width: fit-content;
    padding: 10px 0;
    font-size: 14px;
  }

  .cp-cart-totals__eyebrow::after {
    content: none;
  }

  .cp-cart-totals__meta {
    display: none;
    min-height: 46px;
    padding: 0 14px;
    border: 1px solid rgba(74, 52, 133, 0.14);
    border-radius: 12px;
    background: #fff;
  }

  .cp-cart-totals__meta-value {
    font-size: 22px;
  }

  .cp-cart-totals__summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border: 1px solid rgba(74, 52, 133, 0.1);
    border-radius: 16px;
    background: #fff;
  }

  .cp-cart-totals__summary .cp-cart-totals__value,
  .cp-cart-totals__summary .cp-cart-totals__value .amount {
    font-size: 22px;
  }

  .cp-cart-totals__row--total {
    display: none;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 10px;
    padding-top: 8px;
    border-top: 1px solid rgba(74, 52, 133, 0.08);
  }

  .cp-cart-totals__value--total,
  .cp-cart-totals__value--total .amount {
    font-size: clamp(26px, 7.4vw, 32px);
    line-height: 0.95;
  }

  .cp-cart-totals__note {
    display: block;
    margin: 0;
    color: var(--cp-cart-muted);
    font-size: 13px;
    line-height: 1.35;
  }

  .cp-cart-totals__checkout,
  .wc-proceed-to-checkout.cp-cart-totals__checkout {
    margin: 0 !important;
    padding: 0 !important;
    padding-bottom: 0 !important;
  }

  .cp-cart__checkout-button,
  .checkout-button.button.alt.wc-forward.cp-cart__checkout-button {
    display: flex !important;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    min-height: 56px;
    padding: 0 !important;
    margin: 0 !important;
    border: 1px solid rgba(52, 36, 93, 0.92) !important;
    border-radius: 45px !important;
    background: linear-gradient(135deg, #6d56b3 0%, #4a3485 100%) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
  }

  .cp-cart__checkout-button::after,
  .checkout-button.button.alt.wc-forward.cp-cart__checkout-button::after {
    content: none;
    display: none;
  }

  .cp-cart-recommendations {
    position: relative;
    z-index: 0;
    margin-top: 42px;
    padding-top: 12px;
  }

  .cp-cart-recommendations__header {
    gap: 10px;
    margin-bottom: 12px;
  }

  .cp-cart-recommendations__title {
    font-size: 14px;
  }

  .cp-cart-recommendations__grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    overflow: visible;
    padding-bottom: 0;
    position: relative;
    z-index: 0;
    scroll-snap-type: none;
  }

  .cp-cart-recommendations__item {
    flex: 0 0 calc((100% - 12px) / 2);
    max-width: calc((100% - 12px) / 2);
    min-width: 0;
    position: relative;
    z-index: 0;
    scroll-snap-align: none;
    grid-template-rows: auto 1fr;
    gap: 12px;
    padding: 14px;
    border-radius: 18px;
  }

  .cp-cart-recommendations__item:nth-child(n + 5) {
    display: none;
  }

  .cp-cart-recommendations__image-link {
    aspect-ratio: 1 / 1;
  }

  .cp-cart-recommendations__content {
    padding: 6px 10px 10px;
  }

  .cp-cart-recommendations__name {
    font-size: 14px;
  }

  .cp-cart-recommendations__price {
    font-size: 14px;
  }

  .cp-cart-empty {
    gap: 14px;
    padding: 8px 0 0;
  }

  .cp-cart--empty .cp-cart__canvas {
    overflow: hidden;
  }

  .cp-cart--empty .cp-cart__canvas::after,
  .cp-cart-empty::before,
  .cp-cart-empty::after {
    display: none;
  }

  .cp-cart-empty__visual {
    width: min(100%, 260px);
    min-height: 190px;
    transform: none;
  }

  .cp-cart-empty__visual::before {
    inset: 12px;
    border-radius: 24px;
  }

  .cp-cart-empty__content {
    gap: 12px;
    justify-items: center;
    text-align: center;
  }

  .cp-cart-empty__eyebrow {
    min-height: 30px;
    padding-inline: 12px;
    font-size: 14px;
  }

  .cp-cart-empty__title {
    font-size: 26px;
  }

  .cp-cart-empty__copy {
    font-size: 14px;
  }

  .cp-cart-empty__button {
    min-height: 52px;
    padding-inline: 22px;
  }

  .cp-cart-empty__button::after {
    font-size: 19px;
  }

  body.cp-cart-page footer,
  .cp-cart-page footer,
  body.cp-cart-page .site-footer,
  .cp-cart-page .site-footer,
  body.cp-cart-page #colophon,
  .cp-cart-page #colophon {
    position: relative;
    z-index: 0 !important;
  }
}

@media (max-width: 520px) {
  .cp-cart {
    padding-inline: 8px;
  }

  .cp-cart__back-link {
    font-size: 14px;
  }

  .cp-cart__title {
    font-size: 42px;
  }

  .cp-cart__count-pill {
    min-height: 32px;
    padding: 0 10px;
    font-size: 14px;
    letter-spacing: 0.07em;
  }

  .cp-cart__item,
  .cp-cart__item.cart_item {
    padding: 10px !important;
    border-radius: 14px;
  }

  .cp-cart__product-media {
    width: 56px;
    min-height: 56px;
    border-radius: 10px;
  }

  .cp-cart__product-name,
  .cp-cart__product-name a {
    font-size: 17px;
  }

  .cp-cart__remove-link,
  .cp-cart__table .remove {
    width: 24px;
    height: 24px;
  }

  .cp-cart__remove-icon {
    width: 18px;
    height: 18px;
  }

  .cp-cart__qty-control {
    grid-template-columns: 32px 40px 32px;
    min-width: 104px;
  }

  .cp-cart__qty-button,
  .cp-cart__qty-control input.qty {
    height: 32px;
  }

  .cp-cart-totals {
    padding: 16px;
    border-radius: 18px 18px 0 0;
  }

  .cp-cart-totals__summary .cp-cart-totals__value,
  .cp-cart-totals__summary .cp-cart-totals__value .amount {
    font-size: 22px;
  }

  .cp-cart-totals__value--total,
  .cp-cart-totals__value--total .amount {
    font-size: clamp(24px, 8.6vw, 30px);
  }

  .cp-cart-recommendations__grid {
    gap: 10px;
  }

  .cp-cart-recommendations__item {
    flex-basis: calc((100% - 10px) / 2);
    max-width: calc((100% - 10px) / 2);
  }
}
