
.cc_il0xsd7y_w7Ev4KWmOl .cart-line, .cc_il0xsd7y_e05088KlYb .cart-line {
  display: flex;
  gap: var(--gr-space-md);
  padding: var(--gr-space-md) 0;
  border-top: var(--gr-border-width) solid var(--gr-color-border-default);
  list-style: none;
}

.cc_il0xsd7y_w7Ev4KWmOl .cart-line:last-child, .cc_il0xsd7y_e05088KlYb .cart-line:last-child {
  border-bottom: 0;
}

.cc_il0xsd7y_w7Ev4KWmOl .cart-line-media, .cc_il0xsd7y_e05088KlYb .cart-line-media {
  display: block;
  flex: 0 0 107px;
  align-self: flex-start;
  width: 107px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--gr-color-bg-soft);
}

.cc_il0xsd7y_w7Ev4KWmOl .cart-line-media img, .cc_il0xsd7y_e05088KlYb .cart-line-media img, .cc_il0xsd7y_w7Ev4KWmOl .cart-line-media video, .cc_il0xsd7y_e05088KlYb .cart-line-media video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cc_il0xsd7y_w7Ev4KWmOl .cart-line-body, .cc_il0xsd7y_e05088KlYb .cart-line-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: var(--gr-space-sm);
  min-width: 0;
}

.cc_il0xsd7y_w7Ev4KWmOl .cart-line-name, .cc_il0xsd7y_e05088KlYb .cart-line-name {
  margin: 0;
}

.cc_il0xsd7y_w7Ev4KWmOl .cart-line-meta, .cc_il0xsd7y_e05088KlYb .cart-line-meta {
  margin: 0;
  color: var(--gr-color-text-secondary);
}

.cc_il0xsd7y_w7Ev4KWmOl .cart-line-details, .cc_il0xsd7y_e05088KlYb .cart-line-details {
  display: flex;
  flex-direction: column;
  gap: var(--gr-space-xs);
  margin: 0;
  padding: 0;
  list-style: none;
}

.cc_il0xsd7y_w7Ev4KWmOl .cart-line-detail, .cc_il0xsd7y_e05088KlYb .cart-line-detail {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--gr-space-xs);
  color: var(--gr-color-text-secondary);
  overflow-wrap: anywhere;
}

.cc_il0xsd7y_w7Ev4KWmOl .cart-line-detail-label, .cc_il0xsd7y_e05088KlYb .cart-line-detail-label, .cc_il0xsd7y_w7Ev4KWmOl .cart-line-detail-qty, .cc_il0xsd7y_e05088KlYb .cart-line-detail-qty {
  color: var(--gr-color-text-strong);
}

.cc_il0xsd7y_w7Ev4KWmOl .cart-line-detail-value, .cc_il0xsd7y_e05088KlYb .cart-line-detail-value {
  display: inline-flex;
  align-items: center;
  gap: var(--gr-space-xs);
}

.cc_il0xsd7y_w7Ev4KWmOl .cart-line-swatch, .cc_il0xsd7y_e05088KlYb .cart-line-swatch {
  display: inline-block;
  width: 12px;
  height: 12px;
  border: var(--gr-border-width) solid var(--gr-color-border-default);
}

.cc_il0xsd7y_w7Ev4KWmOl .cart-line-prices, .cc_il0xsd7y_e05088KlYb .cart-line-prices {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--gr-space-sm);
}

.cc_il0xsd7y_w7Ev4KWmOl .cart-line-price, .cc_il0xsd7y_e05088KlYb .cart-line-price {
  color: var(--gr-color-text-strong);
}

.cc_il0xsd7y_w7Ev4KWmOl .cart-line-old-price, .cc_il0xsd7y_e05088KlYb .cart-line-old-price {
  color: var(--gr-color-text-secondary);
}

.cc_il0xsd7y_w7Ev4KWmOl .cart-line-controls, .cc_il0xsd7y_e05088KlYb .cart-line-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: var(--gr-space-xs);
}

.cc_il0xsd7y_w7Ev4KWmOl .cart-line-stepper, .cc_il0xsd7y_e05088KlYb .cart-line-stepper {
  display: inline-flex;
  align-items: center;
  gap: var(--gr-space-xs);
  padding: 4px;
  background: var(--gr-color-bg-soft);
}

.cc_il0xsd7y_w7Ev4KWmOl .cart-line-step, .cc_il0xsd7y_e05088KlYb .cart-line-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  background: var(--gr-color-bg-surface);
  color: var(--gr-color-text-strong);
  cursor: pointer;
  transition: background 150ms ease, color 150ms ease, transform 150ms ease;
}

.cc_il0xsd7y_w7Ev4KWmOl .cart-line-step:hover:not(:disabled), .cc_il0xsd7y_e05088KlYb .cart-line-step:hover:not(:disabled) {
  background: var(--gr-color-text-strong);
  color: var(--gr-color-text-inverse);
}

.cc_il0xsd7y_w7Ev4KWmOl .cart-line-step:active:not(:disabled), .cc_il0xsd7y_e05088KlYb .cart-line-step:active:not(:disabled) {
  transform: scale(0.9);
}

.cc_il0xsd7y_w7Ev4KWmOl .cart-line-step:disabled, .cc_il0xsd7y_e05088KlYb .cart-line-step:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.cc_il0xsd7y_w7Ev4KWmOl .cart-line-quantity, .cc_il0xsd7y_e05088KlYb .cart-line-quantity {
  min-width: 32px;
  text-align: center;
}

.cc_il0xsd7y_w7Ev4KWmOl .cart-line-remove, .cc_il0xsd7y_e05088KlYb .cart-line-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--gr-color-text-secondary);
  cursor: pointer;
}

.cc_il0xsd7y_w7Ev4KWmOl .cart-line-step:focus-visible, .cc_il0xsd7y_e05088KlYb .cart-line-step:focus-visible, .cc_il0xsd7y_w7Ev4KWmOl .cart-line-remove:focus-visible, .cc_il0xsd7y_e05088KlYb .cart-line-remove:focus-visible {
  outline: 2px solid var(--gr-color-accent);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .cc_il0xsd7y_w7Ev4KWmOl .cart-line-step, .cc_il0xsd7y_e05088KlYb .cart-line-step {
    transition: none;
  }
}

/* Campaign that discounted this line (name comes from the merchant's campaign). */
.cc_il0xsd7y_w7Ev4KWmOl .cart-line-campaign, .cc_il0xsd7y_e05088KlYb .cart-line-campaign {
  margin: 0;
  color: var(--gr-color-primary);
}

.cc_il0xsd7y_w7Ev4KWmOl .cart-coupon, .cc_il0xsd7y_e05088KlYb .cart-coupon {
  display: flex;
  flex-direction: column;
  gap: var(--gr-space-sm);
}

.cc_il0xsd7y_w7Ev4KWmOl .cart-coupon-toggle, .cc_il0xsd7y_e05088KlYb .cart-coupon-toggle {
  display: flex;
  align-items: center;
  gap: var(--gr-space-sm);
  width: 100%;
  padding: var(--gr-space-sm) 0;
  border: 0;
  background: transparent;
  color: var(--gr-color-text-strong);
  cursor: pointer;
  text-align: left;
}

.cc_il0xsd7y_w7Ev4KWmOl .cart-coupon-toggle-label, .cc_il0xsd7y_e05088KlYb .cart-coupon-toggle-label {
  flex: 1;
}

.cc_il0xsd7y_w7Ev4KWmOl .cart-coupon-toggle-icon, .cc_il0xsd7y_e05088KlYb .cart-coupon-toggle-icon {
  display: inline-flex;
  color: var(--gr-color-text-secondary);
}

.cc_il0xsd7y_w7Ev4KWmOl .cart-coupon-toggle:focus-visible, .cc_il0xsd7y_e05088KlYb .cart-coupon-toggle:focus-visible, .cc_il0xsd7y_w7Ev4KWmOl .cart-coupon-apply:focus-visible, .cc_il0xsd7y_e05088KlYb .cart-coupon-apply:focus-visible {
  outline: 2px solid var(--gr-color-accent);
  outline-offset: 2px;
}

/* Panel height animates alone; spacing lives inside the clipped box so nothing jumps */
.cc_il0xsd7y_w7Ev4KWmOl .cart-coupon-panel, .cc_il0xsd7y_e05088KlYb .cart-coupon-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--gr-transition-base);
}

.cc_il0xsd7y_w7Ev4KWmOl .cart-coupon.is-open .cart-coupon-panel, .cc_il0xsd7y_e05088KlYb .cart-coupon.is-open .cart-coupon-panel {
  grid-template-rows: 1fr;
}

.cc_il0xsd7y_w7Ev4KWmOl .cart-coupon-panel-inner, .cc_il0xsd7y_e05088KlYb .cart-coupon-panel-inner {
  display: flex;
  flex-direction: column;
  gap: var(--gr-space-sm);
  min-height: 0;
  padding-bottom: var(--gr-space-xs);
  overflow: hidden;
  opacity: 0;
  transition: opacity var(--gr-transition-base);
}

.cc_il0xsd7y_w7Ev4KWmOl .cart-coupon.is-open .cart-coupon-panel-inner, .cc_il0xsd7y_e05088KlYb .cart-coupon.is-open .cart-coupon-panel-inner {
  opacity: 1;
}

.cc_il0xsd7y_w7Ev4KWmOl .cart-coupon-row, .cc_il0xsd7y_e05088KlYb .cart-coupon-row {
  display: flex;
  align-items: stretch;
  gap: var(--gr-space-sm);
}

.cc_il0xsd7y_w7Ev4KWmOl .cart-coupon-field, .cc_il0xsd7y_e05088KlYb .cart-coupon-field {
  flex: 1;
}

/* Compact, label-free field: placeholder stays visible instead of the floating label */
.cc_il0xsd7y_w7Ev4KWmOl .cart-coupon .cart-coupon-input[type], .cc_il0xsd7y_e05088KlYb .cart-coupon .cart-coupon-input[type] {
  min-height: 44px;
  padding: 0 var(--gr-space-md);
}

.cc_il0xsd7y_w7Ev4KWmOl .cart-coupon .cart-coupon-input[type]::placeholder, .cc_il0xsd7y_e05088KlYb .cart-coupon .cart-coupon-input[type]::placeholder {
  color: var(--gr-color-text-secondary);
}

.cc_il0xsd7y_w7Ev4KWmOl .cart-coupon-apply, .cc_il0xsd7y_e05088KlYb .cart-coupon-apply {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: var(--gr-radius-full);
  background: var(--gr-color-text-strong);
  color: var(--gr-color-text-inverse);
  cursor: pointer;
}

.cc_il0xsd7y_w7Ev4KWmOl .cart-coupon-apply:disabled, .cc_il0xsd7y_e05088KlYb .cart-coupon-apply:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.cc_il0xsd7y_w7Ev4KWmOl .cart-coupon--applied, .cc_il0xsd7y_e05088KlYb .cart-coupon--applied {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: var(--gr-space-sm) var(--gr-space-md);
  background: var(--gr-color-bg-soft);
}

.cc_il0xsd7y_w7Ev4KWmOl .cart-coupon-applied-code, .cc_il0xsd7y_e05088KlYb .cart-coupon-applied-code {
  display: inline-flex;
  align-items: center;
  gap: var(--gr-space-sm);
  color: var(--gr-color-primary);
}

.cc_il0xsd7y_w7Ev4KWmOl .cart-coupon-applied-code span, .cc_il0xsd7y_e05088KlYb .cart-coupon-applied-code span {
  color: var(--gr-color-text-strong);
}

.cc_il0xsd7y_w7Ev4KWmOl .cart-coupon-remove, .cc_il0xsd7y_e05088KlYb .cart-coupon-remove {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--gr-color-text-secondary);
  text-decoration: underline;
  cursor: pointer;
}

.cc_il0xsd7y_w7Ev4KWmOl .cart-coupon-remove:focus-visible, .cc_il0xsd7y_e05088KlYb .cart-coupon-remove:focus-visible {
  outline: 2px solid var(--gr-color-accent);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .cc_il0xsd7y_w7Ev4KWmOl .cart-coupon-panel, .cc_il0xsd7y_e05088KlYb .cart-coupon-panel, .cc_il0xsd7y_w7Ev4KWmOl .cart-coupon-panel-inner, .cc_il0xsd7y_e05088KlYb .cart-coupon-panel-inner {
    transition: none;
  }
}

.cc_il0xsd7y_w7Ev4KWmOl .cart-shipping, .cc_il0xsd7y_e05088KlYb .cart-shipping {
  display: flex;
  flex-direction: column;
  gap: var(--gr-space-sm);
}

.cc_il0xsd7y_w7Ev4KWmOl .cart-shipping-cost, .cc_il0xsd7y_e05088KlYb .cart-shipping-cost {
  margin: 0;
  color: var(--gr-color-text-secondary);
}

.cc_il0xsd7y_w7Ev4KWmOl .cart-shipping-text, .cc_il0xsd7y_e05088KlYb .cart-shipping-text {
  margin: 0;
}

.cc_il0xsd7y_w7Ev4KWmOl .cart-shipping-bar-row, .cc_il0xsd7y_e05088KlYb .cart-shipping-bar-row {
  display: flex;
  align-items: center;
  gap: var(--gr-space-sm);
}

.cc_il0xsd7y_w7Ev4KWmOl .cart-shipping-bar, .cc_il0xsd7y_e05088KlYb .cart-shipping-bar {
  flex: 1;
  height: 8px;
  overflow: hidden;
  border-radius: var(--gr-radius-full);
  background: var(--gr-color-bg-soft);
}

.cc_il0xsd7y_w7Ev4KWmOl .cart-shipping-bar-fill, .cc_il0xsd7y_e05088KlYb .cart-shipping-bar-fill {
  display: block;
  height: 100%;
  background: var(--gr-color-text-strong);
  transition: width var(--gr-transition-base);
}

.cc_il0xsd7y_w7Ev4KWmOl .cart-shipping-bar-icon, .cc_il0xsd7y_e05088KlYb .cart-shipping-bar-icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: var(--gr-radius-full);
  background: var(--gr-color-bg-soft);
  color: var(--gr-color-text-strong);
}

@media (prefers-reduced-motion: reduce) {
  .cc_il0xsd7y_w7Ev4KWmOl .cart-shipping-bar-fill, .cc_il0xsd7y_e05088KlYb .cart-shipping-bar-fill {
    transition: none;
  }
}

.cc_il0xsd7y_w7Ev4KWmOl .cart-suggest, .cc_il0xsd7y_e05088KlYb .cart-suggest {
  display: flex;
  flex-direction: column;
  gap: var(--gr-space-md);
  padding: var(--gr-space-lg) 0 var(--gr-space-md);
  background: var(--gr-color-bg-soft);
}

.cc_il0xsd7y_w7Ev4KWmOl .cart-suggest-title, .cc_il0xsd7y_e05088KlYb .cart-suggest-title {
  margin: 0;
  padding: 0 var(--gr-space-md);
}

.cc_il0xsd7y_w7Ev4KWmOl .cart-suggest-list, .cc_il0xsd7y_e05088KlYb .cart-suggest-list {
  display: flex;
  gap: var(--gr-space-lg);
  margin: 0;
  /* Bottom room so the add button can hang over the card corner without being clipped. */
  padding: 0 var(--gr-space-md) var(--gr-space-md);
  overflow-x: auto;
  overflow-y: clip;
  overscroll-behavior-x: contain;
  list-style: none;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 var(--gr-space-md);
  scrollbar-width: none;
}

.cc_il0xsd7y_w7Ev4KWmOl .cart-suggest-card, .cc_il0xsd7y_e05088KlYb .cart-suggest-card {
  display: flex;
  position: relative;
  flex: 0 0 82%;
  gap: var(--gr-space-md);
  min-width: 0;
  padding: var(--gr-space-sm);
  box-sizing: border-box;
  border-radius: var(--gr-radius-md);
  background: var(--gr-color-bg-surface);
  scroll-snap-align: start;
}

.cc_il0xsd7y_w7Ev4KWmOl .cart-suggest-media, .cc_il0xsd7y_e05088KlYb .cart-suggest-media {
  display: block;
  flex: 0 0 84px;
  align-self: flex-start;
  width: 84px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--gr-color-bg-soft);
}

.cc_il0xsd7y_w7Ev4KWmOl .cart-suggest-media img, .cc_il0xsd7y_e05088KlYb .cart-suggest-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cc_il0xsd7y_w7Ev4KWmOl .cart-suggest-body, .cc_il0xsd7y_e05088KlYb .cart-suggest-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--gr-space-sm);
  min-width: 0;
}

.cc_il0xsd7y_w7Ev4KWmOl .cart-suggest-name, .cc_il0xsd7y_e05088KlYb .cart-suggest-name {
  display: -webkit-box;
  overflow: hidden;
  color: var(--gr-color-text-strong);
  text-decoration: none;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.cc_il0xsd7y_w7Ev4KWmOl .cart-suggest-foot, .cc_il0xsd7y_e05088KlYb .cart-suggest-foot {
  display: flex;
  align-items: flex-end;
}

.cc_il0xsd7y_w7Ev4KWmOl .cart-suggest-prices, .cc_il0xsd7y_e05088KlYb .cart-suggest-prices {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.cc_il0xsd7y_w7Ev4KWmOl .cart-suggest-unit, .cc_il0xsd7y_e05088KlYb .cart-suggest-unit {
  color: var(--gr-color-text-secondary);
}

.cc_il0xsd7y_w7Ev4KWmOl .cart-suggest-add, .cc_il0xsd7y_e05088KlYb .cart-suggest-add {
  position: absolute;
  right: -6px;
  bottom: -16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  /* Ring in the section color cuts a notch into the card corner. */
  box-shadow: 0 0 0 6px var(--gr-color-bg-soft);
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: var(--gr-radius-full);
  background: var(--gr-color-text-strong);
  color: var(--gr-color-text-inverse);
  cursor: pointer;
  transition: opacity var(--gr-transition-fast);
}

.cc_il0xsd7y_w7Ev4KWmOl .cart-suggest-add:hover, .cc_il0xsd7y_e05088KlYb .cart-suggest-add:hover {
  opacity: 0.8;
}

/* Small accent "+" badge, ringed in the card color. */
.cc_il0xsd7y_w7Ev4KWmOl .cart-suggest-plus, .cc_il0xsd7y_e05088KlYb .cart-suggest-plus {
  position: absolute;
  top: -4px;
  right: -4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: var(--gr-radius-full);
  background: var(--gr-color-accent);
  color: var(--gr-color-text-inverse);
  box-shadow: 0 0 0 3px var(--gr-color-bg-soft);
  transition: transform var(--gr-transition-base);
}

.cc_il0xsd7y_w7Ev4KWmOl .cart-suggest-add:hover .cart-suggest-plus, .cc_il0xsd7y_e05088KlYb .cart-suggest-add:hover .cart-suggest-plus {
  transform: rotate(90deg) scale(1.1);
}

.cc_il0xsd7y_w7Ev4KWmOl .cart-suggest-add:focus-visible, .cc_il0xsd7y_e05088KlYb .cart-suggest-add:focus-visible, .cc_il0xsd7y_w7Ev4KWmOl .cart-suggest-name:focus-visible, .cc_il0xsd7y_e05088KlYb .cart-suggest-name:focus-visible {
  outline: 2px solid var(--gr-color-accent);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .cc_il0xsd7y_w7Ev4KWmOl .cart-suggest-add, .cc_il0xsd7y_e05088KlYb .cart-suggest-add, .cc_il0xsd7y_w7Ev4KWmOl .cart-suggest-plus, .cc_il0xsd7y_e05088KlYb .cart-suggest-plus {
    transition: none;
  }
}
