/** Shopify CDN: Minification failed

Line 25:38 Expected ":"

**/
/* =====================================================================
   KMS Direkt — Cart Drawer skin
   Targets Atelier's NATIVE cart-drawer markup (cart-drawer__*, cart-items__*,
   cart-totals__*, quantity-selector, cart__ctas). No class renaming —
   this component is fully JS-driven (add/remove/update quantity, AJAX
   totals, Shop Pay / PayPal / Google Pay wallets), so we reskin in place
   rather than rebuilding it, same approach as the variant picker/filters.

   Requires kms-tokens.css loaded globally (uses --ink-*, --grey-*,
   --coral-*, --space-*, --fs-*, --radius-*, --dur/--ease).
   ===================================================================== */

/* ---------- Header ---------- */
.cart-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-24);
  border-bottom: 1px solid var(--grey-75);
  background:var(--white) !important;l
}

.cart-drawer__heading {
  display: flex;
  align-items: baseline;
  gap: var(--space-4);
  margin: 0;
  font-family: var(--font-body) !important;
  font-size: var(--fs-lg) !important;
  font-weight: var(--fw-semibold) !important;
  color: var(--ink-900) !important;
}

/* Native badge renders as a filled circle; we turn it into inline "(7)"
   text next to the heading instead, closer to the mockup treatment. */
.cart-bubble {
  display: inline-flex;
  align-items: baseline;
}
.cart-bubble__background { display: none; }
.cart-bubble__text { display: inline-flex; }
.cart-bubble__text-count {
      font-size: var(--fs-sm);
    background: var(--coral-500);
    color: var(--white);
    height: 20px;
    width: 20px;
    line-height: 1.5;
    border-radius: 50px;
    text-align:center;
}

.cart-drawer__close-button { color: var(--ink-700); }
.cart-drawer__close-button:hover { color: var(--ink-900); }

/* ---------- Line items ---------- */
.cart-items__table {
  display: block;
  width: 100%;
  padding: 0 var(--space-24);
  box-sizing: border-box;
  border-collapse: collapse;
}
.cart-items__table thead { display: none; }
.cart-items__table tbody { display: block; }

.cart-items__table-row {
  position: relative;
  display: grid;
  grid-template-columns: 88px 1fr;
  grid-template-areas:
    "media details"
    "media qty";
  column-gap: var(--space-16);
  row-gap: var(--space-2);
  align-items: start;
  padding: var(--space-20) 0;
  border-bottom: 1px solid var(--grey-75);
}
.cart-items__table-row:first-child { padding-top: 0; }
.cart-items__table-row:last-child { border-bottom: 0; }

.cart-items__media { grid-area: media; padding: 0; }
.cart-items__media-container {
  display: block;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--grey-50);
}
.cart-items__media-image { width: 100%; height: 100%; object-fit: cover; display: block; }

.cart-items__details { grid-area: details; padding: 0 var(--space-24) 0 0; }
.cart-items__product-info p { margin: 0 0 var(--space-4); }
.cart-items__title {
    font-family: var(--font-body) !important;
    font-size: var(--fs-sm)!important;
    font-weight: var(--fw-medium)!important;
    line-height: var(--lh-tight);
    color: var(--ink-900) !important;
    text-decoration: none;
}
.cart-items__title:hover { color: var(--color-accent); }

.cart-items__variants-wrapper { margin-bottom: var(--space-4); }
.cart-items__variants { display: flex; flex-wrap: wrap; gap: 0 var(--space-4); margin: 0; }
.cart-items__variant dd { margin: 0; font-size: var(--fs-xs); color: var(--ink-500); }

.cart-items__unit-price-wrapper { margin-top: var(--space-4); }
.cart-items__unit-price-wrapper span:not(.visually-hidden) {
  font-size: var(--fs-basem);
  font-weight: var(--fw-semibold);
  color: var(--color-accent);
}

/* The native line-total column duplicates the unit price shown above for
   qty-1 lines; hiding it matches the mockup's single price-per-line look. */
.cart-items__price { display: none; }

.cart-items__quantity { grid-area: qty; padding: 0; }
.cart-items__quantity-controls { display: flex; align-items: center; gap: var(--space-12); }
.cart-items__error { grid-area: qty; }

.quantity-selector-wrapper { display: inline-flex; }
.quantity-selector {
  display: flex;
  align-items: center;
  border: 1px solid var(--grey-75);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.quantity-selector .button {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  color: var(--ink-700);
  cursor: pointer;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.quantity-selector .button:hover:not(:disabled) { background: var(--grey-50); color: var(--ink-900); }
.quantity-selector .button:disabled { opacity: .35; cursor: not-allowed; }

.quantity-selector input[type="number"] {
  width: 32px;
  height: 32px;
  border: 0;
  border-left: 1px solid var(--grey-75);
  border-right: 1px solid var(--grey-75);
  text-align: center;
  font-size: var(--fs-sm);
  color: var(--ink-900);
  -moz-appearance: textfield;
}
.quantity-selector input[type="number"]::-webkit-outer-spin-button,
.quantity-selector input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.cart-items__remove {
  position: absolute;
  top: var(--space-20);
  right: 0;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink-500);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color var(--dur) var(--ease);
}
.cart-items__remove:hover { color: var(--color-accent); }
.cart-items__remove svg { width: 16px; height: 16px; }

/* ---------- Summary / totals ---------- */
.cart-drawer__summary {
  padding: var(--space-20) var(--space-24) var(--space-24);
  border-top: 1px solid var(--grey-75);
}

.cart-totals__container { display: flex; flex-direction: column; gap: var(--space-8); }
.cart-totals__total { display: flex; align-items: baseline; justify-content: space-between; }
.cart-totals__total-label { font-size: var(--fs-lg); font-weight: var(--fw-semibold); color: var(--ink-900); }
.cart-totals__total-value { font-size: var(--fs-lg); font-weight: var(--fw-bold); color: var(--ink-900); }

.cart-totals__tax-note { font-size: var(--fs-xs); color: var(--ink-500); }
.cart-totals__tax-note a { color: var(--ink-700); text-decoration: underline; }

.cart-totals__installments { margin-top: var(--space-4); }

/* ---------- CTAs ---------- */
.cart__ctas { display: flex; flex-direction: column; gap: var(--space-12); margin-top: var(--space-20); }

.cart__checkout-button {
  width: 100%;
  background: var(--color-accent);
  color: var(--white);
  border: 0;
  border-radius: var(--radius-sm);
  padding: var(--space-16);
  font-size: var(--fs-base);
  font-weight: var(--fw-bold);
  cursor: pointer;
  transition: background var(--dur) var(--ease);
}
.cart__checkout-button:hover { background: var(--coral-600); }

/* Shop Pay / PayPal / Google Pay render as branded web components — their
   internal chrome (colour, radius, label) is controlled by the payment
   provider's SDK and can't be restyled via CSS. Spacing only. */
.additional-checkout-buttons { margin-top: var(--space-4); }
.cart-drawer__heading .cart-bubble {
    padding: 0 !important;
}

.quantity-selector {
      border-radius: var(--radius-sm:) !important;
  }
.cart-drawer__content{background:var(--white) !important;}
/* ---------- Mobile ---------- */
@media (max-width: 480px) {
  .cart-drawer__header,
  .cart-items__table,
  .cart-drawer__summary { padding-left: var(--space-16); padding-right: var(--space-16); }

  .cart-items__table-row { grid-template-columns: 72px 1fr; }
}
