/* Professional cart presentation: warm ivory, deep green and restrained gold. */
.store-css .store-cart-page {
  --cart-ink: #193832;
  --cart-green: #174d43;
  --cart-green-soft: #e9f2ee;
  --cart-gold: #c9a557;
  --cart-gold-light: #f3e7c7;
  --cart-line: #dfe7e1;
  --cart-muted: #64736d;
  padding-bottom: 32px;
}

.store-css .store-cart-hero {
  position: relative;
  margin-bottom: 26px;
  padding: 25px 28px 16px;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(125deg, #133e37 0%, #1b5549 62%, #276656 100%);
  border: 1px solid rgba(201, 165, 87, .32);
  border-radius: 26px;
  box-shadow: 0 18px 42px rgba(20, 61, 53, .13);
}
.store-css .store-cart-hero::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  inset: -150px auto auto -70px;
  border: 1px solid rgba(235, 211, 155, .2);
  border-radius: 50%;
  box-shadow: 0 0 0 38px rgba(235, 211, 155, .045), 0 0 0 76px rgba(235, 211, 155, .025);
  pointer-events: none;
}
.store-css .store-cart-hero__topline {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}
.store-css .store-cart-hero .store-eyebrow {
  margin: 0 0 5px;
  color: #e5cf9c;
  font-size: 12px;
}
.store-css .store-cart-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(25px, 3vw, 34px);
  letter-spacing: -.5px;
}
.store-css .store-cart-hero__count {
  padding: 8px 13px;
  color: #f9e9c2;
  background: rgba(255, 255, 255, .09);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  font-size: 12px;
  white-space: nowrap;
}
.store-css .store-cart-hero .store-checkout-progress {
  position: relative;
  z-index: 1;
  margin: 0;
}
.store-css .store-cart-hero .store-checkout-progress li {
  padding: 12px 10px 10px;
  color: rgba(255, 255, 255, .67);
  border-bottom-color: rgba(255, 255, 255, .15);
}
.store-css .store-cart-hero .store-checkout-progress li > span {
  color: #e8ddc3;
  background: rgba(255, 255, 255, .1);
}
.store-css .store-cart-hero .store-checkout-progress li.is-current {
  color: #fff4d8;
  border-bottom-color: #d4b36a;
}
.store-css .store-cart-hero .store-checkout-progress li.is-current > span,
.store-css .store-cart-hero .store-checkout-progress li.is-complete > span {
  color: #243e34;
  background: #e1c27c;
}

.store-css .store-cart-layout {
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 28px;
}
.store-css .store-cart-items { gap: 16px; }
.store-css .store-cart-item {
  position: relative;
  gap: 22px;
  padding: 20px;
  border: 1px solid var(--cart-line);
  border-radius: 21px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 8px 24px rgba(29, 57, 48, .055);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.store-css .store-cart-item:hover {
  border-color: #bdcec4;
  box-shadow: 0 12px 30px rgba(29, 57, 48, .085);
  transform: translateY(-1px);
}
.store-css .store-cart-item__image {
  width: 112px;
  height: 112px;
  padding: 8px;
  overflow: hidden;
  background: linear-gradient(145deg, #faf8f2, #f0f4f0);
  border: 1px solid #e5eae4;
  border-radius: 17px;
}
.store-css .store-cart-item__image img { mix-blend-mode: normal; }
.store-css .store-cart-item__details h2 { margin-bottom: 9px; font-size: 17px; line-height: 1.8; }
.store-css .store-cart-item__details h2 a { color: var(--cart-ink); text-decoration: none; }
.store-css .store-cart-item__details h2 a:hover { color: var(--cart-green); }
.store-css .store-cart-item__details p,
.store-css .store-cart-item__details label { color: var(--cart-muted); line-height: 1.8; }
.store-css .store-cart-item__weight { color: #517067 !important; }
.store-css .store-cart-item__warranty {
  color: #71561e !important;
  background: #fbf5e7;
  border-color: #ead8aa;
}
.store-css .store-cart-item__total { gap: 10px; }
.store-css .store-cart-item__total strong { color: var(--cart-green); font-size: 16px; }
.store-css .store-cart-action {
  min-height: 32px;
  padding: 4px 9px;
  color: #526b63;
  border-radius: 8px;
  font-weight: 650;
}
.store-css .store-cart-action:hover { color: var(--cart-green); background: var(--cart-green-soft); }
.store-css .store-cart-action--remove { color: #a44c52; }
.store-css .store-cart-action--remove:hover { color: #8b323b; background: #fff0f0; }
.store-css .store-cart-action:disabled { cursor: wait; opacity: .55; }

.store-css .store-cart-quantity { margin-top: 12px; }
.store-css .store-cart-quantity > span {
  display: block;
  margin-bottom: 6px;
  color: var(--cart-muted);
  font-size: 12px;
}
.store-css .store-cart-quantity__controls {
  display: inline-grid;
  grid-template-columns: 36px 58px 36px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #d6e0d9;
  border-radius: 12px;
}
.store-css .store-cart-quantity__controls button {
  display: grid;
  width: 36px;
  height: 38px;
  place-items: center;
  padding: 0;
  color: var(--cart-green);
  background: #f0f5f2;
  border: 0;
  cursor: pointer;
  font-size: 20px;
  font-weight: 700;
}
.store-css .store-cart-quantity__controls button:hover { background: #deece5; }
.store-css .store-cart-item__details .store-cart-quantity__controls input {
  width: 58px;
  height: 38px;
  padding: 4px;
  color: var(--cart-ink);
  text-align: center;
  background: #fff;
  border: 0;
  border-inline: 1px solid #e0e7e2;
  border-radius: 0;
  font-weight: 750;
  appearance: textfield;
}
.store-css .store-cart-quantity__controls input::-webkit-inner-spin-button,
.store-css .store-cart-quantity__controls input::-webkit-outer-spin-button { margin: 0; appearance: none; }

.store-css .store-cart-customer {
  margin-top: 24px;
  padding: 25px;
  border: 1px solid var(--cart-line);
  border-radius: 22px;
  box-shadow: 0 8px 24px rgba(29, 57, 48, .04);
}
.store-css .store-cart-customer h2,
.store-css .store-cart-summary h2 { color: var(--cart-ink); }
.store-css .store-cart-form-grid input {
  border: 1px solid #d8e1db;
  border-radius: 11px;
  transition: border-color .2s, box-shadow .2s;
}
.store-css .store-cart-form-grid input:focus {
  border-color: #6d9b89;
  box-shadow: 0 0 0 3px rgba(63, 122, 99, .1);
  outline: 0;
}

.store-css .store-cart-summary {
  top: 22px;
  padding: 25px;
  border: 1px solid #d7e2db;
  border-radius: 24px;
  background: linear-gradient(180deg, #fff 0%, #fcfdf9 100%);
  box-shadow: 0 16px 38px rgba(24, 62, 51, .085);
}
.store-css .store-cart-summary__row,
.store-css .store-cart-summary__total { color: var(--cart-muted); border-bottom-color: #e8ede8; }
.store-css .store-cart-summary__row strong { color: #304b43; }
.store-css .store-cart-summary__total { color: var(--cart-ink); border-bottom: 0; }
.store-css .store-cart-summary__total strong { color: var(--cart-green); font-size: 20px; }
.store-css .store-cart-summary .beauty-button--primary {
  color: #263c31;
  background: linear-gradient(135deg, #e4ca88, #c5a050);
  border: 1px solid #b59143;
  box-shadow: 0 8px 18px rgba(143, 109, 37, .15);
}
.store-css .store-cart-summary .beauty-button--primary:hover { filter: brightness(1.035); }
.store-css .store-cart-summary__continue { color: var(--cart-green); font-weight: 650; }
.store-css .store-cart-summary .hm-postal-card {
  color: #244a40;
  background: linear-gradient(140deg, #f0f7f3, #faf8ed);
  border: 1px solid #bfd2c5;
  box-shadow: none;
}
.store-css .store-cart-summary .hm-postal-card::before { background: linear-gradient(#3f7d68, #c0a055); }
.store-css .store-cart-summary .hm-postal-card__copy > strong { color: #174d43; }
.store-css .store-cart-summary .hm-postal-card__copy > small { color: #63766e; }
.store-css .store-cart-summary .hm-postal-card__icon { color: #27634f; border-color: #c5d8cc; }
.store-css .store-cart-summary .hm-postal-card__meta b { color: #425e50; border-color: #d4dfd4; }
.store-css .store-cart-summary .hm-postal-card__switch { background: #286853; border-color: #1f5745; }
.store-css .store-cart-summary .hm-postal-card__link { color: #376d58; }

.store-css .store-empty-state--cart {
  max-width: 720px;
  margin: 10px auto 30px;
  padding: clamp(34px, 5vw, 60px) 24px;
  background: linear-gradient(145deg, #fff, #f4f7f1);
  border: 1px solid var(--cart-line);
  border-radius: 26px;
  box-shadow: 0 16px 40px rgba(26, 58, 48, .06);
}
.store-css .store-empty-state--cart .store-empty-state__icon {
  display: grid;
  width: 76px;
  height: 76px;
  margin: 0 auto 18px;
  place-items: center;
  color: #3d715f;
  background: #e8f1eb;
  border: 1px solid #d1e1d6;
  border-radius: 24px;
}
.store-css .store-empty-state--cart .store-empty-state__icon svg { width: 45px; height: 45px; }
.store-css .store-empty-state--cart .store-eyebrow { margin-bottom: 8px; color: #967538; }
.store-css .store-empty-state--cart h2 { color: var(--cart-ink); }
.store-css .store-empty-state--cart p:not(.store-eyebrow) { max-width: 500px; color: var(--cart-muted); }

.store-css .store-cart-page :where(button, input, a):focus-visible {
  outline: 3px solid rgba(50, 117, 91, .32);
  outline-offset: 3px;
}

@media (max-width: 1000px) {
  .store-css .store-cart-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; }
}

@media (max-width: 820px) {
  .store-css .store-cart-layout { grid-template-columns: 1fr; }
  .store-css .store-cart-summary { position: static; }
}

@media (max-width: 640px) {
  .store-css .store-cart-hero { margin-bottom: 18px; padding: 19px 16px 10px; border-radius: 20px; }
  .store-css .store-cart-hero__topline { gap: 10px; margin-bottom: 12px; }
  .store-css .store-cart-hero__count { padding: 6px 9px; font-size: 10px; }
  .store-css .store-cart-hero .store-checkout-progress li { padding: 8px 3px; }
  .store-css .store-cart-item { grid-template-columns: 88px minmax(0, 1fr); gap: 14px; padding: 14px; border-radius: 18px; }
  .store-css .store-cart-item:hover { transform: none; }
  .store-css .store-cart-item__image { width: 88px; height: 88px; padding: 6px; border-radius: 14px; }
  .store-css .store-cart-item__details h2 { font-size: 15px; line-height: 1.75; }
  .store-css .store-cart-item__details p { font-size: 12px; }
  .store-css .store-cart-item__total {
    display: flex;
    grid-column: 1 / -1;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 100%;
    padding-top: 11px;
    border-top: 1px solid #edf0ec;
  }
  .store-css .store-cart-item__total strong { margin-inline-end: auto; font-size: 15px; }
  .store-css .store-cart-customer,
  .store-css .store-cart-summary { padding: 18px 15px; border-radius: 19px; }
  .store-css .store-cart-summary__total strong { font-size: 18px; }
  .store-css .store-empty-state--cart { margin-top: 0; border-radius: 20px; }
}

@media (max-width: 380px) {
  .store-css .store-cart-item { grid-template-columns: 74px minmax(0, 1fr); gap: 11px; padding: 12px; }
  .store-css .store-cart-item__image { width: 74px; height: 74px; }
  .store-css .store-cart-hero__count { white-space: normal; text-align: left; }
  .store-css .store-cart-quantity__controls { grid-template-columns: 34px 52px 34px; }
  .store-css .store-cart-item__details .store-cart-quantity__controls input { width: 52px; }
}

@media (prefers-reduced-motion: reduce) {
  .store-css .store-cart-item { transition: none; }
}

/* Reference-inspired clean white cart, with a focused payment column. */
.store-css .store-cart-page {
  --cart-ink: #24272a;
  --cart-green: #275d50;
  --cart-muted: #70777c;
  --cart-line: #e7e9eb;
  --cart-accent: #e91e63;
  --cart-accent-dark: #c91854;
}
.store-css .store-cart-hero {
  margin-bottom: 20px;
  padding: 20px 24px 12px;
  color: var(--cart-ink);
  background: #fff;
  border: 1px solid var(--cart-line);
  border-radius: 16px;
  box-shadow: 0 5px 18px rgba(26, 31, 35, .035);
}
.store-css .store-cart-hero::after { display: none; }
.store-css .store-cart-hero__topline { margin-bottom: 12px; }
.store-css .store-cart-hero .store-eyebrow { color: #8b737c; }
.store-css .store-cart-hero h1 { color: #24272a; font-size: clamp(23px, 2.5vw, 30px); }
.store-css .store-cart-hero__count {
  color: #9c3155;
  background: #fff3f7;
  border-color: #f5d7e2;
}
.store-css .store-cart-hero .store-checkout-progress li {
  color: #92979b;
  border-bottom-color: #ececef;
}
.store-css .store-cart-hero .store-checkout-progress li > span {
  color: #757b80;
  background: #f2f3f4;
}
.store-css .store-cart-hero .store-checkout-progress li.is-current {
  color: #b62052;
  border-bottom-color: var(--cart-accent);
}
.store-css .store-cart-hero .store-checkout-progress li.is-current > span,
.store-css .store-cart-hero .store-checkout-progress li.is-complete > span {
  color: #fff;
  background: var(--cart-accent);
}
.store-css .store-cart-layout { gap: 20px; }
.store-css .store-cart-items {
  padding: 0 22px 22px;
  background: #fff;
  border: 1px solid var(--cart-line);
  border-radius: 16px;
}
.store-css .store-cart-item {
  gap: 24px;
  padding: 22px 0;
  border: 0;
  border-bottom: 1px solid #eff0f1;
  border-radius: 0;
  box-shadow: none;
}
.store-css .store-cart-item:hover {
  border-color: #eff0f1;
  box-shadow: none;
  transform: none;
}
.store-css .store-cart-item__image {
  width: 132px;
  height: 132px;
  background: #fff;
  border-color: #f0f0f0;
  border-radius: 12px;
}
.store-css .store-cart-item__details h2 { font-size: 16px; }
.store-css .store-cart-item__details h2 a { color: #303438; }
.store-css .store-cart-item__total strong { color: #303438; }
.store-css .store-cart-quantity__controls { border-radius: 8px; }
.store-css .store-cart-quantity__controls button { background: #f6f7f8; }
.store-css .store-cart-customer {
  margin-top: 0;
  padding: 24px 0 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.store-css .store-cart-summary {
  top: 18px;
  padding: 23px;
  border-color: var(--cart-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(26, 31, 35, .04);
}
.store-css .store-cart-summary .beauty-button--primary {
  color: #fff;
  background: var(--cart-accent);
  border-color: var(--cart-accent);
  box-shadow: 0 7px 16px rgba(233, 30, 99, .18);
}
.store-css .store-cart-summary .beauty-button--primary:hover {
  background: var(--cart-accent-dark);
  filter: none;
}
.store-css .store-cart-summary .beauty-button--primary:disabled {
  color: #8d9296;
  background: #e9ebec;
  border-color: #e9ebec;
  box-shadow: none;
}
.store-css .store-cart-summary__total strong { color: #25292c; }
.store-css .store-cart-delivery-note {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 18px 0 0;
  padding: 16px 20px;
  color: #74364e;
  background: #fff5f9;
  border: 1px solid #f5dce7;
  border-radius: 13px;
}
.store-cart-delivery-note__icon { color: var(--cart-accent); font-size: 25px; }
.store-css .store-cart-delivery-note strong { font-size: 13px; }
.store-css .store-cart-delivery-note p { margin: 4px 0 0; color: #8d6b79; font-size: 11px; }
.store-css .store-cart-delivery-note a { margin-inline-start: auto; color: #b62052; font-size: 12px; white-space: nowrap; }
.store-css .store-cart-recommendations {
  margin-top: 20px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--cart-line);
  border-radius: 16px;
}
.store-css .store-cart-recommendations__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.store-css .store-cart-recommendations__heading h2 { margin: 0; color: #2b2f32; font-size: 19px; }
.store-css .store-cart-recommendations__heading a { color: #a92751; font-size: 12px; }
.store-css .store-cart-recommendations__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.store-css .store-cart-recommendation {
  min-width: 0;
  padding: 12px;
  border: 1px solid #eceef0;
  border-radius: 12px;
  text-align: center;
}
.store-css .store-cart-recommendation__image {
  display: grid;
  height: 145px;
  place-items: center;
  margin-bottom: 10px;
  background: #fafafa;
  border-radius: 9px;
}
.store-css .store-cart-recommendation__image img { width: 100%; height: 100%; object-fit: contain; }
.store-css .store-cart-recommendation h3 { min-height: 48px; margin: 0 0 8px; font-size: 12px; line-height: 1.9; }
.store-css .store-cart-recommendation h3 a { color: #4b5054; text-decoration: none; }
.store-css .store-cart-recommendation > strong { display: block; margin-bottom: 10px; color: #303438; font-size: 14px; }
.store-css .store-cart-recommendation > strong small { font-size: 10px; font-weight: 500; }
.store-css .store-cart-recommendation .product-cart-btn {
  width: 100%;
  min-height: 36px;
  color: #b62052;
  background: #fff4f8;
  border: 1px solid #f2d2df;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 700;
}
.store-css .store-cart-recommendation .product-cart-btn:hover { background: #ffe8f0; }
.store-css .store-cart-recommendation .product-cart-btn:disabled { cursor: wait; opacity: .65; }
.store-css .store-empty-state--cart {
  background: #fff;
  border-color: var(--cart-line);
  border-radius: 16px;
  box-shadow: 0 5px 18px rgba(26, 31, 35, .035);
}
.store-css .store-empty-state--cart h2 { color: #24272a; }
.store-css .store-empty-state--cart .beauty-button--primary {
  color: #fff;
  background: var(--cart-accent);
  border-color: var(--cart-accent);
}

@media (max-width: 900px) {
  .store-css .store-cart-recommendations__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .store-css .store-cart-hero { padding: 17px 15px 9px; border-radius: 14px; }
  .store-css .store-cart-items { padding: 0 14px 16px; border-radius: 14px; }
  .store-css .store-cart-item { grid-template-columns: 96px minmax(0, 1fr); gap: 13px; padding: 17px 0; }
  .store-css .store-cart-item__image { width: 96px; height: 96px; }
  .store-css .store-cart-delivery-note { align-items: flex-start; padding: 14px; }
  .store-css .store-cart-delivery-note a { display: none; }
  .store-css .store-cart-recommendations { padding: 15px; border-radius: 14px; }
  .store-css .store-cart-recommendations__grid { gap: 10px; }
  .store-css .store-cart-recommendation { padding: 9px; }
  .store-css .store-cart-recommendation__image { height: 115px; }
}

@media (max-width: 360px) {
  .store-css .store-cart-recommendations__grid { grid-template-columns: 1fr; }
  .store-css .store-cart-recommendation__image { height: 150px; }
}

/* Compact row actions: subtle refresh link plus a trash control. */
.store-css .store-cart-item__total .store-cart-action {
  min-height: 0;
  padding: 0;
  color: #7d8489;
  background: transparent;
  border: 0;
  border-radius: 0;
  font-size: 11px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  box-shadow: none;
}
.store-css .store-cart-item__total .store-cart-action:hover { color: #b62052; background: transparent; }
.store-css .store-cart-item__total .store-cart-action--remove {
  display: inline-grid;
  width: 34px;
  height: 34px;
  min-height: 34px;
  margin-top: 6px;
  padding: 0;
  place-items: center;
  color: #6f767b;
  background: #f6f7f8;
  border: 1px solid #e9ebed;
  border-radius: 8px;
  font-size: 0;
  text-decoration: none;
}
.store-css .store-cart-item__total .store-cart-action--remove::before {
  content: "";
  width: 15px;
  height: 16px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M9 3h6l1 2h4v2H4V5h4l1-2zm-3 6h12l-1 12H7L6 9zm4 2v8h2v-8h-2zm4 0v8h2v-8h-2z'/></svg>") center/contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M9 3h6l1 2h4v2H4V5h4l1-2zm-3 6h12l-1 12H7L6 9zm4 2v8h2v-8h-2zm4 0v8h2v-8h-2z'/></svg>") center/contain no-repeat;
}
.store-css .store-cart-item__total .store-cart-action--remove:hover {
  color: #c11d3f;
  background: #fff2f5;
  border-color: #f4d4de;
}

/* Calm neutral treatment for the postal option inside the white payment card. */
.store-css .store-cart-summary .hm-postal-card {
  background: #fafbfb;
  border-color: #e7e9eb;
  border-radius: 12px;
  box-shadow: none;
}
.store-css .store-cart-summary .hm-postal-card::before { background: none; }
.store-css .store-cart-summary .hm-postal-card:focus-within {
  border-color: #c8d3cf;
  box-shadow: 0 0 0 3px rgba(39, 93, 80, .1);
}
.store-css .store-cart-summary .hm-postal-card__icon {
  color: #275d50;
  background: #eef4f1;
  border-radius: 10px;
}
.store-css .store-cart-summary .hm-postal-card__copy > strong { color: #2a2f33; }
.store-css .store-cart-summary .hm-postal-card__copy > small { color: #7a8186; }
.store-css .store-cart-summary .hm-postal-card__meta b {
  color: #3d4448;
  background: #fff;
  border: 1px solid #e8eaec;
  border-radius: 7px;
}
.store-css .store-cart-summary .hm-postal-card__switch { background: #cfd6d3; }
.store-css .store-cart-summary .hm-postal-card > input:checked + .hm-postal-card__switch { background: #275d50; }
.store-css .store-cart-summary .hm-postal-card__help { color: #8b9296; }
.store-css .store-cart-summary .hm-postal-card__link { color: #a92751; }
.store-css .store-cart-summary .hm-postal-warning {
  color: #8a3b5c;
  background: #fff5f9;
  border-color: #f2d4e0;
  border-radius: 9px;
}
/* Mutually exclusive carrier controls: the knob follows the selected radio. */
.store-css .store-cart-summary .hm-postal-card > input:not(:checked) + .hm-postal-card__switch::after { right: auto; left: 3px; }
.store-css .store-cart-summary .hm-postal-card > input:disabled + .hm-postal-card__switch { opacity: .5; }
