:root{
  --wrap:1280px;
  --shopwrap:1520px;
  --ease:cubic-bezier(.22,.7,.2,1);

  --bg:#f5f6f8;
  --surface:#ffffff;
  --surface-2:#f1f3f6;
  --surface-3:#e8ebf0;

  --text:#171a20;
  --text-2:#525a66;
  --text-3:#7b8390;

  --line:#dce1e8;
  --line-2:#cfd6df;
  --line-soft:#edf1f5;

  --accent:#c62828;
  --accent-2:#e85a5a;
  --accent-soft:rgba(198,40,40,.08);

  --green:#118a52;
  --green-soft:rgba(17,138,82,.08);
  --green-line:rgba(17,138,82,.16);

  --shadow-1:0 8px 24px rgba(20,22,28,.06);
  --shadow-2:0 16px 40px rgba(20,22,28,.10);
  --shadow-3:0 26px 60px rgba(20,22,28,.14);
}

*{
  box-sizing:border-box;
}

html{
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  text-rendering:optimizeLegibility;
}

body{
  margin:0;
  font-family:Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color:var(--text);
  background:
    radial-gradient(circle at top left, rgba(198,40,40,.05), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f4f6f8 100%);
}

a{
  color:inherit;
  text-decoration:none;
}

img{
  display:block;
  max-width:100%;
  height:auto;
}

.section{
  padding:0 0 42px;
}

.cart-page-shell{
  padding-top:16px;
}

.cart-wrap{
  width:calc(100% - 24px);
  max-width:1720px;
  margin:0 auto;
}

.cart-topbar{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:18px;
  align-items:end;
  padding:20px 22px;
  margin-bottom:20px;
  border:1px solid #e3e8ef;
  border-radius:24px;
  background:linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  box-shadow:
    0 10px 24px rgba(20,22,28,.04),
    0 20px 46px rgba(20,22,28,.05);
}

.cart-topbar__eyebrow{
  display:inline-flex;
  align-items:center;
  min-height:28px;
  padding:0 11px;
  margin:0 0 10px;
  border-radius:999px;
  background:#f2f5f9;
  border:1px solid #dde3eb;
  color:#596270;
  font-size:11px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.cart-topbar h1{
  margin:0 0 8px;
  font-size:32px;
  line-height:1.06;
  letter-spacing:-.7px;
  color:#171a20;
}

.cart-topbar p{
  margin:0;
  font-size:14px;
  color:var(--text-2);
  line-height:1.7;
}

.cart-topbar__right{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.cart-topbar__pill{
  min-width:155px;
  padding:14px 16px;
  border-radius:18px;
  background:#fff;
  border:1px solid #e3e8ef;
  box-shadow:0 8px 18px rgba(20,22,28,.04);
  display:grid;
  gap:4px;
  text-align:center;
}

.cart-topbar__pill strong{
  font-size:20px;
  line-height:1;
  color:#171a20;
}

.cart-topbar__pill span{
  font-size:12px;
  font-weight:700;
  color:var(--text-2);
}

.cart-feedback{
  display:none;
  margin-bottom:16px;
  padding:14px 16px;
  border-radius:16px;
  font-size:14px;
  font-weight:700;
  line-height:1.6;
  box-shadow:0 8px 18px rgba(20,22,28,.04);
}

.cart-feedback.is-visible{
  display:block;
}

.cart-feedback.is-success{
  background:linear-gradient(180deg, #f2fff8 0%, #ebfff4 100%);
  border:1px solid rgba(25,135,84,.20);
  color:#146c43;
}

.cart-feedback.is-error{
  background:linear-gradient(180deg, #fff5f5 0%, #fef0f0 100%);
  border:1px solid rgba(198,40,40,.18);
  color:#8f1d1d;
}

.cart-layout{
  display:grid;
  grid-template-columns:minmax(0, 1fr) 390px;
  gap:24px;
  align-items:start;
}

.cart-main,
.cart-sidebar{
  min-width:0;
}

.cart-sidebar{
  position:sticky;
  top:20px;
}

.cart-card,
.cart-summary-card,
.cart-empty-card{
  background:linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border:1px solid #e3e8ef;
  border-radius:28px;
  box-shadow:
    0 10px 24px rgba(20,22,28,.04),
    0 20px 46px rgba(20,22,28,.05);
}

.cart-card{
  overflow:hidden;
}

.cart-card__head,
.cart-summary-card__head{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:14px;
  padding:24px 24px 0;
}

.cart-card__head h2,
.cart-summary-card__head h2,
.cart-empty-card h2{
  margin:0 0 8px;
  font-size:28px;
  line-height:1.08;
  letter-spacing:-.6px;
  color:#171a20;
}

.cart-card__head p,
.cart-summary-card__head p,
.cart-empty-card p{
  margin:0;
  font-size:14px;
  color:var(--text-2);
  line-height:1.7;
}

.cart-clear-btn{
  border:1px solid rgba(198,40,40,.16);
  background:linear-gradient(180deg, #fff8f8 0%, #fff1f1 100%);
  color:#a32020;
  min-height:46px;
  padding:0 16px;
  border-radius:14px;
  font-size:14px;
  font-weight:800;
  transition:
    transform .18s var(--ease),
    box-shadow .18s var(--ease),
    border-color .18s var(--ease);
}

.cart-clear-btn:hover{
  transform:translateY(-1px);
  border-color:rgba(198,40,40,.32);
  box-shadow:0 10px 22px rgba(198,40,40,.08);
}

.cart-items{
  display:grid;
  gap:18px;
  padding:20px 24px 24px;
}

.cart-item{
  display:grid;
  grid-template-columns:130px minmax(0,1fr) 240px;
  gap:18px;
  align-items:start;
  padding:18px;
  border-radius:22px;
  border:1px solid #e3e8ef;
  background:#fff;
  box-shadow:0 8px 18px rgba(20,22,28,.04);
}

.cart-item__image{
  display:block;
  overflow:hidden;
  border-radius:18px;
  background:
    radial-gradient(circle at top, rgba(255,255,255,.9) 0%, rgba(255,255,255,.24) 34%, rgba(255,255,255,0) 60%),
    linear-gradient(180deg, #fbfbfc, #eceef1);
}

.cart-item__image img{
  width:100%;
  aspect-ratio:1 / 1;
  object-fit:cover;
  transition:transform .35s var(--ease);
}

.cart-item:hover .cart-item__image img{
  transform:scale(1.04);
}

.cart-item__body{
  display:grid;
  gap:10px;
  min-width:0;
}

.cart-item__topline{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.cart-badge{
  display:inline-flex;
  align-items:center;
  min-height:28px;
  padding:0 11px;
  border-radius:999px;
  background:#f2f5f9;
  border:1px solid #dde3eb;
  color:#49515d;
  font-size:11px;
  font-weight:800;
  letter-spacing:.02em;
}

.cart-badge--sale{
  background:#fff5f5;
  border-color:rgba(198,40,40,.18);
  color:#8f1d1d;
}

.cart-badge--tax{
  background:rgba(17,138,82,.06);
  border-color:rgba(17,138,82,.16);
  color:#117841;
}

.cart-item__title{
  margin:0;
  font-size:24px;
  line-height:1.15;
  letter-spacing:-.4px;
  color:#171a20;
}

.cart-item__meta{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  color:var(--text-3);
  font-size:13px;
}

.cart-item__options{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:2px;
}

.cart-option-pill{
  display:inline-flex;
  align-items:center;
  gap:6px;

  min-height:30px;
  padding:0 11px;

  border-radius:999px;

  background:#f2f5f9;
  border:1px solid #dde3eb;

  font-size:12px;
  font-weight:700;

  color:#596270;

  letter-spacing:.02em;

  transition:
    background .18s var(--ease),
    border-color .18s var(--ease),
    transform .18s var(--ease);
}

.cart-option-pill strong{
  color:#6b7482;
  font-weight:800;
}

.cart-option-pill:hover{
  background:#eef2f7;
  border-color:#d4dbe4;
  transform:translateY(-1px);
}

.cart-item__controls{
  margin-top:8px;
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  align-items:center;
}

.cart-qty-box{
  display:flex;
  align-items:center;
  min-height:50px;
  border:1px solid #dde3eb;
  border-radius:16px;
  overflow:hidden;
  background:#fff;
  box-shadow:0 8px 18px rgba(20,22,28,.04);
}

.cart-qty-btn{
  width:42px;
  height:50px;
  border:0;
  background:transparent;
  font-size:24px;
  color:#27313d;
  cursor:pointer;
}

.cart-qty-input{
  width:66px;
  height:50px;
  border:0;
  outline:none;
  text-align:center;
  font-size:15px;
  font-weight:800;
  color:#171a20;
}

.cart-remove-btn{
  border:1px solid rgba(198,40,40,.16);
  background:linear-gradient(180deg, #fff8f8 0%, #fff1f1 100%);
  color:#a32020;
  min-height:50px;
  padding:0 18px;
  border-radius:16px;
  font-size:14px;
  font-weight:800;
  transition:
    transform .18s var(--ease),
    box-shadow .18s var(--ease),
    border-color .18s var(--ease);
}

.cart-remove-btn:hover{
  transform:translateY(-1px);
  border-color:rgba(198,40,40,.32);
  box-shadow:0 10px 22px rgba(198,40,40,.08);
}

.cart-item__side{
  display:grid;
  gap:10px;
  align-content:start;
  justify-items:end;
  text-align:right;
  padding-top:6px;
}



.cart-price-current.is-discounted{
  color:#138a52;
  text-shadow:0 8px 20px rgba(19,138,82,.10);
}



.cart-item__side{
  display:grid;
  align-content:start;
  justify-items:end;
  text-align:right;
  padding-top:6px;
}

.cart-pricebox{
  display:grid;
  gap:10px;
  justify-items:end;
  width:100%;
}

.cart-pricebox__meta{
  display:grid;
  gap:3px;
  justify-items:end;
}

.cart-pricebox__meta span{
  font-size:12px;
  line-height:1.35;
  color:#7b8390;
  font-weight:700;
}

.cart-pricebox__final-row{
  display:grid;
  gap:5px;
  justify-items:end;
}

.cart-pricebox__final{
  font-size:32px;
  line-height:1;
  font-weight:900;
  letter-spacing:-0.05em;
  color:#171a20;
}

.cart-pricebox__final.is-discounted{
  color:#138a52;
  text-shadow:0 8px 20px rgba(19,138,82,.10);
}

.cart-pricebox__old{
  font-size:15px;
  line-height:1;
  font-weight:800;
  color:#c62828;
  text-decoration:line-through;
  text-decoration-thickness:2px;
  text-decoration-color:rgba(198,40,40,.72);
  opacity:.92;
}



.cart-summary-list{
  display:grid;
  gap:10px;
  padding:20px 24px 0;
}

.cart-summary-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  min-height:52px;
  padding:0 14px;
  border-radius:16px;
  background:#fff;
  border:1px solid #e3e8ef;
  box-shadow:0 8px 18px rgba(20,22,28,.04);
}

.cart-summary-row span{
  font-size:14px;
  color:var(--text-2);
}

.cart-summary-row strong{
  font-size:15px;
  color:#171a20;
}

.cart-summary-row strong.is-discount{
  color:#138a52;
}

.cart-summary-row--total{
  background:linear-gradient(180deg, #fffdfd 0%, #f8fafc 100%);
  border-color:#d7dee8;
}

.cart-summary-row--total span{
  color:#171a20;
  font-weight:800;
}

.cart-summary-row--total strong{
  font-size:22px;
  font-weight:900;
  letter-spacing:-.4px;
}

.cart-summary-actions{
  display:grid;
  gap:12px;
  padding:20px 24px 0;
}

.cart-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:56px;
  padding:0 18px;
  border-radius:16px;
  font-size:15px;
  font-weight:800;
  transition:
    transform .18s var(--ease),
    box-shadow .18s var(--ease),
    border-color .18s var(--ease),
    background .18s var(--ease);
}

.cart-btn--primary{
  border:1px solid rgba(20,140,90,.25);
  background:linear-gradient(180deg, rgba(34,197,94,.14) 0%, rgba(22,163,74,.22) 100%);
  color:#116a3f;
  box-shadow:0 6px 16px rgba(20,22,28,.08);
}

.cart-btn--primary:hover{
  transform:translateY(-1px);
  border-color:rgba(20,140,90,.45);
  background:linear-gradient(180deg, rgba(34,197,94,.22) 0%, rgba(22,163,74,.32) 100%);
  box-shadow:0 10px 24px rgba(20,22,28,.12);
}

.cart-btn--ghost{
  border:1px solid #d9dfe8;
  background:linear-gradient(180deg, #ffffff 0%, #eef2f6 100%);
  color:#1d2430;
  box-shadow:0 10px 18px rgba(20,22,28,.05);
}

.cart-btn--ghost:hover{
  transform:translateY(-2px);
}

.cart-btn--inline{
  display:inline-flex;
  width:auto;
}

.cart-trust{
  display:grid;
  gap:10px;
  padding:20px 24px 24px;
}

.cart-trust__item{
  padding:14px;
  border-radius:18px;
  border:1px solid #e3e8ef;
  background:#fff;
  box-shadow:0 8px 18px rgba(20,22,28,.04);
  display:grid;
  gap:4px;
}

.cart-trust__item strong{
  font-size:14px;
  color:#171a20;
}

.cart-trust__item span{
  font-size:12px;
  color:var(--text-2);
}

.cart-empty-card{
  padding:40px 26px;
  text-align:center;
  display:grid;
  justify-items:center;
  gap:14px;
}

.cart-empty-card__icon{
  width:84px;
  height:84px;
  border-radius:24px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:36px;
  background:linear-gradient(180deg, #323741 0%, #1b1f26 100%);
  color:#fff;
  box-shadow:0 18px 34px rgba(20,22,28,.16);
}

@media (max-width: 1280px){
  .cart-layout{
    grid-template-columns:1fr;
  }

  .cart-sidebar{
    position:static;
  }
}

@media (max-width: 980px){
  .cart-item{
    grid-template-columns:110px minmax(0,1fr);
  }

  .cart-item__side{
    grid-column:1 / -1;
    justify-items:start;
    text-align:left;
    padding-top:0;
  }

  .cart-pricebox{
    justify-items:start;
  }

  .cart-pricebox__meta{
    justify-items:start;
  }

  .cart-pricebox__final-row{
    justify-items:start;
  }
}

@media (max-width: 760px){
  .cart-wrap{
    width:min(100% - 18px, var(--shopwrap));
  }

  .cart-topbar{
    grid-template-columns:1fr;
    padding:18px;
    border-radius:20px;
  }

  .cart-topbar h1{
    font-size:26px;
  }

  .cart-topbar__right{
    justify-content:flex-start;
  }

  .cart-topbar__pill{
    min-width:0;
    flex:1 1 180px;
  }

  .cart-card,
  .cart-summary-card,
  .cart-empty-card{
    border-radius:22px;
  }

  .cart-card__head,
  .cart-summary-card__head{
    padding:20px 18px 0;
    flex-direction:column;
    align-items:start;
  }

  .cart-items{
    padding:18px;
  }

  .cart-item{
    grid-template-columns:1fr;
    padding:16px;
    border-radius:18px;
  }

  .cart-item__image img{
    aspect-ratio:16 / 11;
  }
  .cart-item__image.is-empty{
    aspect-ratio:16 / 11;
  }
  .cart-item__title{
    font-size:20px;
  }

  .cart-summary-list,
  .cart-summary-actions,
  .cart-trust{
    padding-left:18px;
    padding-right:18px;
  }

  .cart-empty-card{
    padding:32px 18px;
  }
}

@media (max-width: 430px){
  .cart-topbar h1{
    font-size:23px;
  }

  .cart-card__head h2,
  .cart-summary-card__head h2,
  .cart-empty-card h2{
    font-size:24px;
  }

  .cart-item__title{
    font-size:18px;
  }

  .cart-pricebox__final{
    font-size:26px;
  }

  .cart-summary-row--total strong{
    font-size:20px;
  }

  .cart-item__controls{
    flex-direction:column;
    align-items:stretch;
  }

  .cart-remove-btn{
    width:100%;
  }
}

.cart-summary-row strong.is-discount{
  color:#138a52;
  font-weight:900;
}

.cart-summary-row--total strong{
  color:#138a52;
}

/* Native Pfeile bei number inputs ausblenden */
.cart-qty-input::-webkit-outer-spin-button,
.cart-qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.cart-qty-input {
  -moz-appearance: textfield;
  appearance: textfield;
}


.cart-item__feedback{
  display:none;
  margin-top:10px;
  padding:10px 12px;
  border-radius:14px;
  font-size:13px;
  font-weight:700;
  line-height:1.5;
}

.cart-item__feedback.is-visible{
  display:block;
}

.cart-item__feedback.is-success{
  background:linear-gradient(180deg, #f2fff8 0%, #ebfff4 100%);
  border:1px solid rgba(25,135,84,.18);
  color:#146c43;
}

.cart-item__feedback.is-error{
  background:linear-gradient(180deg, #fff5f5 0%, #fef0f0 100%);
  border:1px solid rgba(198,40,40,.16);
  color:#8f1d1d;
}

.cart-item[data-busy="1"]{
  opacity:.72;
}

.cart-item[data-busy="1"] .cart-qty-btn,
.cart-item[data-busy="1"] .cart-remove-btn{
  cursor:wait;
}

.cart-item.is-busy{
  opacity:.78;
}

.cart-item.is-busy .cart-qty-btn,
.cart-item.is-busy .cart-remove-btn,
.cart-item.is-busy .cart-qty-input{
  cursor:wait !important;
}

.cart-item.is-busy .cart-qty-box{
  box-shadow:0 0 0 2px rgba(17,138,82,.10);
}

.cart-item__image.is-empty{
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  border-radius:18px;
  background:
    radial-gradient(circle at top, rgba(255,255,255,.9) 0%, rgba(255,255,255,.24) 34%, rgba(255,255,255,0) 60%),
    linear-gradient(180deg, #fbfbfc, #eceef1);
  border:1px solid #e5e7eb;
  width:100%;
  aspect-ratio:1 / 1;
}

.cart-item__image-empty{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  height:100%;
  padding:12px;
  text-align:center;
  color:#6b7280;
  font-size:.95rem;
  font-weight:700;
}


.cart-warning-box{
  margin-bottom:22px;
  padding:22px;
  border-radius:24px;
  border:1px solid rgba(198,40,40,.14);
  background:
    linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(250,244,244,.98) 100%);
  box-shadow:
    0 12px 30px rgba(20,22,28,.05),
    0 26px 54px rgba(20,22,28,.05);
  position:relative;
  overflow:hidden;
}

.cart-warning-box::before{
  content:"";
  position:absolute;
  inset:0 auto 0 0;
  width:5px;
  background:linear-gradient(180deg, #c62828 0%, #e85a5a 100%);
}

.cart-warning-box__head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
  margin-bottom:18px;
  padding-left:2px;
}

.cart-warning-box__head > div{
  min-width:0;
  flex:1 1 auto;
}

.cart-warning-box__head strong{
  display:flex;
  align-items:center;
  gap:12px;
  margin:0 0 8px;
  font-size:20px;
  line-height:1.2;
  font-weight:900;
  letter-spacing:-.02em;
  color:#171a20;
}

.cart-warning-box__head strong::before{
  content:"!";
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:32px;
  height:32px;
  border-radius:999px;
  background:linear-gradient(180deg, #c62828 0%, #df4d4d 100%);
  color:#fff;
  font-size:16px;
  font-weight:900;
  flex:0 0 auto;
  box-shadow:0 10px 20px rgba(198,40,40,.22);
}

.cart-warning-box__head p{
  margin:0;
  max-width:760px;
  font-size:14px;
  line-height:1.7;
  color:var(--text-2);
}

.cart-warning-box__btn{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-height:50px;
  padding:0 20px;
  border:none;
  border-radius:16px;
  background:linear-gradient(180deg, #c62828 0%, #b71c1c 100%);
  color:#fff;
  font-size:14px;
  font-weight:900;
  letter-spacing:.01em;
  white-space:nowrap;
  box-shadow:
    0 14px 28px rgba(198,40,40,.22),
    inset 0 1px 0 rgba(255,255,255,.18);
  transition:
    transform .18s var(--ease),
    box-shadow .18s var(--ease),
    filter .18s var(--ease);
  cursor:pointer;
}



.cart-warning-box__btn:hover{
  transform:translateY(-1px);
  filter:brightness(1.03);
  box-shadow:
    0 18px 34px rgba(198,40,40,.28),
    inset 0 1px 0 rgba(255,255,255,.18);
}

.cart-warning-box__btn:active{
  transform:translateY(0);
  box-shadow:
    0 10px 18px rgba(198,40,40,.18),
    inset 0 1px 0 rgba(255,255,255,.14);
}

.cart-warning-box__list{
  display:grid;
  gap:10px;
}

.cart-warning-box__item{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:14px;
  min-height:60px;
  padding:14px 16px;
  border-radius:18px;
  background:#fff;
  border:1px solid rgba(23,26,32,.07);
  box-shadow:0 8px 18px rgba(20,22,28,.03);
}

.cart-warning-box__item strong{
  min-width:0;
  font-size:14px;
  line-height:1.45;
  font-weight:800;
  color:#171a20;
  overflow-wrap:anywhere;
}

.cart-warning-box__item span{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:36px;
  padding:0 12px;
  border-radius:999px;
  background:rgba(198,40,40,.08);
  color:#a32020;
  border:1px solid rgba(198,40,40,.14);
  font-size:12px;
  line-height:1.2;
  font-weight:800;
  text-align:center;
  white-space:nowrap;
}

@media (max-width: 900px){
  .cart-warning-box__head{
    flex-direction:column;
    align-items:stretch;
  }

  .cart-warning-box__btn{
    width:100%;
  }
}

@media (max-width: 760px){
  .cart-warning-box{
    margin-bottom:16px;
    padding:16px;
    border-radius:20px;
  }

  .cart-warning-box__head{
    margin-bottom:14px;
  }

  .cart-warning-box__head strong{
    font-size:18px;
  }

  .cart-warning-box__head p{
    font-size:13px;
    line-height:1.65;
  }

  .cart-warning-box__item{
    grid-template-columns:1fr;
    align-items:flex-start;
    padding:13px 14px;
    border-radius:16px;
  }

  .cart-warning-box__item span{
    white-space:normal;
    justify-content:flex-start;
    text-align:left;
  }
}

@media (max-width: 430px){
  .cart-warning-box{
    padding:14px;
    border-radius:18px;
  }

  .cart-warning-box__head strong{
    font-size:16px;
  }

  .cart-warning-box__btn{
    min-height:46px;
    padding:0 14px;
    font-size:13px;
    border-radius:14px;
  }

  .cart-warning-box__item strong{
    font-size:13px;
  }

  .cart-warning-box__item span{
    font-size:11.5px;
    min-height:32px;
    padding:0 10px;
  }
}

.cart-item__notice{
  display:grid;
  gap:8px;
  margin-top:8px;
}

.cart-item__notice-line{
  padding:10px 12px;
  border-radius:14px;
  background:linear-gradient(180deg, #fffdf3 0%, #fff8df 100%);
  border:1px solid rgba(245,158,11,.22);
  color:#9a6700;
  font-size:13px;
  font-weight:700;
  line-height:1.5;
}

.cart-item__notice-line{
  animation:fadeInNotice .35s ease;
}

@keyframes fadeInNotice{
  from{
    opacity:0;
    transform:translateY(-4px);
  }
  to{
    opacity:1;
    transform:translateY(0);
  }
}

.cart-auth-section{
  margin-top:18px;
  width:100%;
}

.cart-auth-section[hidden]{
  display:none !important;
}

.cart-auth-section__inner{
  display:grid;
  grid-template-columns:1fr;
  gap:16px;
  align-items:stretch;
  width:100%;
  max-width:none;
}

.cart-auth-section__left,
.cart-auth-section__right{
  min-width:0;
  width:100%;
}

.cart-auth-gate,
.cart-auth-register--big{
  width:100%;
  border:1px solid #e3e8ef;
  border-radius:24px;
  background:linear-gradient(180deg,#ffffff 0%,#f8fafc 100%);
  box-shadow:
    0 10px 24px rgba(20,22,28,.04),
    0 18px 36px rgba(20,22,28,.05);
}

.cart-auth-gate{
  padding:22px;
}

.cart-auth-gate__head{
  margin-bottom:16px;
}

.cart-auth-gate__eyebrow{
  display:inline-flex;
  align-items:center;
  min-height:26px;
  padding:0 10px;
  margin:0 0 10px;
  border-radius:999px;
  background:#f2f5f9;
  border:1px solid #dde3eb;
  color:#596270;
  font-size:10px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.cart-auth-gate__head h3,
.cart-auth-register--big h4{
  margin:0 0 8px;
  font-size:24px;
  line-height:1.1;
  letter-spacing:-.03em;
  color:#171a20;
}

.cart-auth-gate__head p,
.cart-auth-register--big p{
  margin:0;
  font-size:14px;
  line-height:1.65;
  color:var(--text-2);
}

.cart-auth-form{
  display:grid;
  gap:14px;
}

.cart-auth-field{
  display:grid;
  gap:7px;
}

.cart-auth-field label{
  font-size:13px;
  font-weight:800;
  color:#27313d;
  letter-spacing:.01em;
}

.cart-auth-field input{
  width:100%;
  min-height:54px;
  padding:0 15px;
  border:1px solid #d8dee7;
  border-radius:15px;
  background:#fff;
  color:#171a20;
  font-size:15px;
  font-weight:600;
  outline:none;
  box-shadow:0 8px 18px rgba(20,22,28,.03);
  transition:
    border-color .18s var(--ease),
    box-shadow .18s var(--ease),
    background .18s var(--ease);
}

.cart-auth-field input::placeholder{
  color:#8a93a1;
  font-weight:500;
}

.cart-auth-field input:focus{
  border-color:rgba(17,138,82,.42);
  box-shadow:
    0 0 0 4px rgba(17,138,82,.08),
    0 10px 22px rgba(20,22,28,.05);
  background:#fff;
}

.cart-auth-submit{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:100%;
  min-height:56px;
  padding:0 18px;
  border:1px solid rgba(20,140,90,.28);
  border-radius:17px;
  background:linear-gradient(180deg,#25c46b 0%,#159a53 100%);
  color:#fff;
  font-size:15px;
  font-weight:900;
  letter-spacing:.01em;
  cursor:pointer;
  box-shadow:
    0 12px 24px rgba(17,138,82,.20),
    0 8px 18px rgba(20,22,28,.08);
  transition:
    transform .18s var(--ease),
    box-shadow .18s var(--ease),
    filter .18s var(--ease);
}

.cart-auth-submit:hover{
  transform:translateY(-1px);
  filter:brightness(1.02);
  box-shadow:
    0 16px 28px rgba(17,138,82,.24),
    0 12px 22px rgba(20,22,28,.10);
}

.cart-auth-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:20px;
  margin-top:2px;
  color:#596270;
  font-size:13px;
  font-weight:800;
  text-decoration:none;
}

.cart-auth-link:hover{
  color:#171a20;
}

.cart-auth-hp{
  position:absolute !important;
  left:-99999px !important;
  width:1px !important;
  height:1px !important;
  overflow:hidden !important;
}

.cart-auth-register--big{
  padding:20px 22px;
  display:grid;
  gap:12px;
  align-content:start;
}

.cart-auth-register--big .cart-auth-gate__eyebrow{
  margin-bottom:6px;
}

.cart-auth-benefits{
  margin:8px 0 4px;
  padding:0;
  list-style:none;
  display:grid;
  gap:8px;
}

.cart-auth-benefits li{
  position:relative;
  min-height:42px;
  padding:10px 12px 10px 40px;
  border-radius:14px;
  border:1px solid #e3e8ef;
  background:#fff;
  box-shadow:0 6px 14px rgba(20,22,28,.03);
  font-size:13px;
  font-weight:700;
  color:#27313d;
  display:flex;
  align-items:center;
}

.cart-auth-benefits li::before{
  content:"✓";
  position:absolute;
  left:12px;
  top:50%;
  transform:translateY(-50%);
  width:20px;
  height:20px;
  border-radius:999px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(17,138,82,.1);
  color:#118a52;
  font-size:12px;
  font-weight:900;
}

.cart-auth-register__btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:100%;
  min-height:56px;
  padding:0 18px;
  border:1px solid rgba(20,140,90,.28);
  border-radius:17px;
  background:linear-gradient(180deg,#25c46b 0%,#159a53 100%);
  color:#fff;
  font-size:15px;
  font-weight:900;
  letter-spacing:.01em;
  text-decoration:none;
  cursor:pointer;
  box-shadow:
    0 12px 24px rgba(17,138,82,.20),
    0 8px 18px rgba(20,22,28,.08);
  transition:
    transform .18s var(--ease),
    box-shadow .18s var(--ease),
    filter .18s var(--ease);
}

.cart-auth-register__btn:hover{
  transform:translateY(-1px);
  filter:brightness(1.02);
  box-shadow:
    0 16px 28px rgba(17,138,82,.24),
    0 12px 22px rgba(20,22,28,.10);
}

#cart-main-content{
  width:100%;
  transition:.28s ease;
}

#cart-main-content.is-hidden{
  display:none !important;
}

@media (max-width: 760px){
  .cart-auth-section{
    margin-top:16px;
  }

  .cart-auth-gate,
  .cart-auth-register--big{
    padding:17px;
    border-radius:20px;
  }

  .cart-auth-gate__head h3,
  .cart-auth-register--big h4{
    font-size:21px;
  }

  .cart-auth-field input,
  .cart-auth-submit,
  .cart-auth-register__btn{
    min-height:52px;
  }

  .cart-auth-benefits li{
    min-height:40px;
    padding:10px 12px 10px 38px;
    font-size:13px;
  }
}

@media (max-width: 430px){
  .cart-auth-gate,
  .cart-auth-register--big{
    padding:14px;
    border-radius:18px;
  }

  .cart-auth-gate__head h3,
  .cart-auth-register--big h4{
    font-size:19px;
  }

  .cart-auth-field label{
    font-size:12px;
  }

  .cart-auth-field input{
    font-size:14px;
    padding:0 13px;
  }

  .cart-auth-submit,
  .cart-auth-register__btn{
    font-size:14px;
  }
}

/* =========================
   18+ Badge + Hinweis neu
   ========================= */

.cart-badge--adult{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;

  min-height:28px;
  padding:0 12px;

  border-radius:999px;
  border:1px solid rgba(198,40,40,.18);

  background:linear-gradient(180deg, #fff5f5 0%, #fdf0f0 100%);
  color:#8f1d1d;

  font-size:11px;
  font-weight:800;
  letter-spacing:.03em;
  line-height:1;
  white-space:nowrap;

  box-shadow:0 6px 14px rgba(198,40,40,.06);
}

.cart-badge--adult::before{
  content:"18+";
  display:inline-flex;
  align-items:center;
  justify-content:center;

  min-width:26px;
  height:18px;
  padding:0 6px;

  border-radius:999px;
  background:linear-gradient(180deg, #c62828 0%, #b71c1c 100%);
  color:#fff;

  font-size:10px;
  font-weight:900;
  letter-spacing:.04em;
  line-height:1;
  box-shadow:0 6px 12px rgba(198,40,40,.18);
}

/* Hinweisbox bei 18+ Artikeln */
.cart-item__notice-line--adult{
  position:relative;
  display:block;

  padding:12px 14px 12px 46px;
  border-radius:16px;

  background:linear-gradient(180deg, #fff5f5 0%, #fef0f0 100%);
  border:1px solid rgba(198,40,40,.16);

  color:#8f1d1d;
  font-size:13px;
  font-weight:700;
  line-height:1.55;

  box-shadow:0 8px 18px rgba(198,40,40,.05);
}

.cart-item__notice-line--adult::before{
  content:"18";
  position:absolute;
  left:14px;
  top:50%;
  transform:translateY(-50%);

  width:22px;
  height:22px;
  border-radius:999px;

  display:flex;
  align-items:center;
  justify-content:center;

  background:linear-gradient(180deg, #c62828 0%, #b71c1c 100%);
  color:#fff;

  font-size:10px;
  font-weight:900;
  line-height:1;

  box-shadow:0 8px 16px rgba(198,40,40,.18);
}

/* damit alle Badges oben sauber gleich hoch wirken */
.cart-item__topline .cart-badge{
  line-height:1;
}

/* mobile Feinschliff */
@media (max-width: 430px){
  .cart-badge--adult{
    font-size:10px;
    padding:0 10px;
  }

  .cart-badge--adult::before{
    min-width:24px;
    height:17px;
    font-size:9px;
  }

  .cart-item__notice-line--adult{
    padding:11px 12px 11px 42px;
    font-size:12px;
    border-radius:14px;
  }

  .cart-item__notice-line--adult::before{
    left:12px;
    width:20px;
    height:20px;
    font-size:9px;
  }
}

.cart-coupon-card{
  margin:20px 24px 0;
  padding:16px;
  border-radius:18px;
  border:1px solid #e3e8ef;
  background:#fff;
  box-shadow:0 8px 18px rgba(20,22,28,.04);
  display:grid;
  gap:12px;
}

.cart-coupon-card__label{
  font-size:13px;
  font-weight:800;
  color:#27313d;
}

.cart-coupon-card__row{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:10px;
}

.cart-coupon-card__input{
  width:100%;
  min-height:48px;
  padding:0 14px;
  border:1px solid #d8dee7;
  border-radius:14px;
  background:#fff;
  color:#171a20;
  font-size:14px;
  font-weight:700;
  outline:none;
}

.cart-coupon-card__input:focus{
  border-color:rgba(17,138,82,.42);
  box-shadow:0 0 0 4px rgba(17,138,82,.08);
}

.cart-coupon-card__apply{
  min-height:48px;
  padding:0 16px;
  border:none;
  border-radius:14px;
  background:linear-gradient(180deg,#25c46b 0%,#159a53 100%);
  color:#fff;
  font-size:14px;
  font-weight:900;
  cursor:pointer;
}

.cart-coupon-card__active{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:10px 12px;
  border-radius:14px;
  background:#f7fafc;
  border:1px solid #e3e8ef;
  font-size:13px;
  font-weight:700;
}

[hidden]{
  display:none !important;
}

.cart-coupon-card__active[hidden]{
  display:none !important;
}

.cart-coupon-card__remove{
  min-height:38px;
  padding:0 12px;
  border:1px solid rgba(198,40,40,.16);
  border-radius:12px;
  background:linear-gradient(180deg, #fff8f8 0%, #fff1f1 100%);
  color:#a32020;
  font-size:13px;
  font-weight:800;
  cursor:pointer;
}

.cart-coupon-card__hint{
  font-size:12px;
  line-height:1.5;
  color:#6b7280;
}

.cart-coupon-card__hint--error{
  color:#a32020;
}

.cart-coupon-card__hint--success{
  color:#146c43;
  font-weight:800;
}

@media (max-width: 760px){
  .cart-coupon-card{
    margin-left:18px;
    margin-right:18px;
  }

  .cart-coupon-card__row{
    grid-template-columns:1fr;
  }

  .cart-coupon-card__apply{
    width:100%;
  }

  .cart-coupon-card__active{
    flex-direction:column;
    align-items:flex-start;
  }

  .cart-coupon-card__remove{
    width:100%;
  }
}

.cart-coupon-card__active{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:14px;
  border-radius:18px;
  border:1px solid var(--green-line);
  background:
    radial-gradient(circle at top right, rgba(17,138,82,.08), transparent 38%),
    linear-gradient(180deg, #f4fff8 0%, #eefbf4 100%);
  box-shadow:
    0 10px 22px rgba(17,138,82,.08),
    0 8px 18px rgba(20,22,28,.03);
}

.cart-coupon-card__active-main{
  display:flex;
  align-items:flex-start;
  gap:12px;
  min-width:0;
  flex:1 1 auto;
}

.cart-coupon-card__active-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:60px;
  min-height:30px;
  padding:0 12px;
  border-radius:999px;
  background:linear-gradient(180deg, #18a85f 0%, #118a52 100%);
  color:#fff;
  font-size:11px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
  box-shadow:0 10px 18px rgba(17,138,82,.18);
  flex:0 0 auto;
}

.cart-coupon-card__active-content{
  display:grid;
  gap:4px;
  min-width:0;
}

.cart-coupon-card__active-code{
  font-size:17px;
  line-height:1.2;
  font-weight:900;
  letter-spacing:.02em;
  color:#0f5132;
  word-break:break-word;
}

.cart-coupon-card__active-desc{
  font-size:13px;
  line-height:1.5;
  color:#2f5f49;
  font-weight:700;
}

.cart-coupon-card__active-save{
  font-size:12px;
  line-height:1.5;
  color:#3c6f57;
}

.cart-coupon-card__active-save strong{
  color:#118a52;
  font-weight:900;
}

.cart-coupon-card__remove{
  min-height:40px;
  padding:0 14px;
  border:1px solid rgba(198,40,40,.16);
  border-radius:13px;
  background:linear-gradient(180deg, #fff8f8 0%, #fff1f1 100%);
  color:#a32020;
  font-size:13px;
  font-weight:800;
  cursor:pointer;
  transition:
    transform .18s var(--ease),
    box-shadow .18s var(--ease),
    border-color .18s var(--ease);
}

.cart-coupon-card__remove:hover{
  transform:translateY(-1px);
  border-color:rgba(198,40,40,.28);
  box-shadow:0 10px 18px rgba(198,40,40,.08);
}
@media (max-width: 760px){
  .cart-coupon-card__active{
    flex-direction:column;
    align-items:stretch;
  }

  .cart-coupon-card__active-main{
    width:100%;
  }

  .cart-coupon-card__remove{
    width:100%;
  }
}

.cart-coupon-card__active{
  animation:couponPop .35s cubic-bezier(.22,.7,.2,1);
}

@keyframes couponPop{
  0%{
    transform:scale(.96);
    opacity:0;
  }
  100%{
    transform:scale(1);
    opacity:1;
  }
}



.cart-loyalty-box{
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  gap:12px;
  align-items:center;
  margin:16px 24px 24px;
  padding:14px 16px;
  border-radius:18px;
  background:
    radial-gradient(circle at top left, rgba(212,167,44,.10), transparent 52%),
    linear-gradient(180deg, #fffdf8 0%, #fbf6ea 100%);
  border:1px solid rgba(212,167,44,.18);
  box-shadow:
    0 8px 18px rgba(212,167,44,.08),
    inset 0 1px 0 rgba(255,255,255,.82);
}

.cart-loyalty-box__icon{
  width:42px;
  height:42px;
  border-radius:14px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:
    radial-gradient(circle at 30% 25%, rgba(255,255,255,.48) 0%, rgba(255,255,255,0) 45%),
    linear-gradient(180deg, #f8df89 0%, #d7a92c 100%);
  border:1px solid rgba(130,90,0,.16);
  font-size:20px;
  box-shadow:
    0 6px 14px rgba(212,167,44,.14),
    inset 0 1px 0 rgba(255,255,255,.62);
}

.cart-loyalty-box__content{
  display:grid;
  gap:3px;
  min-width:0;
}

.cart-loyalty-box__label{
  font-size:11px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.08em;
  color:#8a6a16;
}

.cart-loyalty-box__value{
  font-size:15px;
  line-height:1.45;
  font-weight:800;
  color:#5f4706;
  letter-spacing:-.01em;
  overflow-wrap:anywhere;
  word-break:break-word;
}

@media (max-width: 760px){
  .cart-loyalty-box{
    margin:16px 18px 18px;
    padding:12px 14px;
    border-radius:16px;
    gap:10px;
  }

  .cart-loyalty-box__icon{
    width:38px;
    height:38px;
    border-radius:12px;
    font-size:18px;
  }

  .cart-loyalty-box__value{
    font-size:14px;
  }
}
