/* punktzwei Shop – uses the site's design tokens (fallbacks for stand-alone) */
.shop__grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(280px,1fr));
  gap:var(--gap,24px);
}
.product-card{
  display:flex; flex-direction:column; overflow:hidden;
  transition:transform .2s ease, box-shadow .2s ease;
}
.product-card:hover{ transform:translateY(-3px); box-shadow:0 14px 34px rgba(11,12,15,.10); }
.product-card__media{
  position:relative; display:block; aspect-ratio:4/3; overflow:hidden;
  background:var(--panel,#f3f4f5);
}
.product-card__media img{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover;
  transition:transform .4s ease;
}
.product-card:hover .product-card__media img{ transform:scale(1.04); }
.product-card__empty{ position:absolute; inset:0; }
.product-card__body{ display:flex; flex-direction:column; gap:8px; padding:20px 22px 22px; flex:1; }
.product-card__body .kicker{ margin:0; font-size:.8rem; letter-spacing:.12em; color:var(--muted,#4b4f57); }
.product-card .product-card__title{ margin:0; font-size:1.05rem; line-height:1.25; }
.product-card .product-card__title a{ color:inherit; text-decoration:none; }
.product-card .product-card__title a:hover{ text-decoration:underline; }
.product-card__summary{
  margin:0; font-size:var(--detail-fs,.95rem); color:var(--muted,#4b4f57);
  display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden;
}
.product-card__footer{
  margin-top:auto; padding-top:14px;
  display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap;
}
.product-card__price{ margin:0; font-weight:700; font-size:1.2rem; white-space:nowrap; }
.product-card__footer .add-to-cart{ margin:0; }
.product-card__footer .btn{ padding:.6rem 1rem; font-size:.85rem; }

.product__layout{ display:grid; grid-template-columns:1fr 1fr; gap:var(--gap-lg,64px); align-items:start; }
@media (max-width:900px){ .product__layout{ grid-template-columns:1fr; gap:var(--gap,24px); } }
.product__gallery{ display:grid; grid-template-columns:repeat(3,1fr); gap:12px; margin-top:12px; }
.product__gallery .media{ margin:0; }
.product__price{ font-size:1.8rem; font-weight:700; margin:0; }
.product__vat{ font-size:var(--detail-fs,.95rem); font-weight:400; color:var(--muted,#4b4f57); }
.product__details{ display:grid; grid-template-columns:max-content 1fr; gap:6px 24px; margin:0; font-size:var(--body-fs,1.15rem); }
.product__details dt{ font-weight:600; }
.product__details dd{ margin:0; }
.product__soldout{ color:var(--muted,#4b4f57); font-weight:600; }

.add-to-cart{ display:flex; flex-wrap:wrap; align-items:center; gap:12px; }
.add-to-cart__qty .input{ width:5.5rem; }
.add-to-cart__stock{ font-size:var(--detail-fs,.95rem); color:var(--muted,#4b4f57); }
.add-to-cart--compact{ margin-top:auto; }

.cart-table{ width:100%; border-collapse:collapse; font-size:var(--body-fs,1.15rem); }
.cart-table th,.cart-table td{ padding:14px 8px; border-bottom:1px solid rgba(11,12,15,.1); text-align:left; vertical-align:middle; }
.cart-table thead th{
  font-family:"Space Grotesk",system-ui,sans-serif; font-size:.78rem; font-weight:700;
  text-transform:uppercase; letter-spacing:.06em; color:var(--muted,#4b4f57);
  padding-bottom:10px;
}
.cart-table th.num,.cart-table td.num{ text-align:right; white-space:nowrap; font-variant-numeric:tabular-nums; }
.cart-table a{ color:inherit; }
.cart-table__product{ display:flex; align-items:center; gap:14px; }
.cart-table__thumb img{ display:block; width:64px; height:64px; object-fit:cover; border-radius:.6rem; background:var(--panel,#f3f4f5); }
.cart-table__title{ font-weight:700; text-decoration:none; }
.cart-table__title:hover{ color:var(--accent,#19b37a); }
.cart-table__type{ display:block; font-size:var(--detail-fs,.95rem); color:var(--muted,#4b4f57); }
.cart-table tfoot td{ border-bottom:0; padding-top:8px; padding-bottom:4px; }
.cart-table tbody tr:last-child td{ border-bottom:0; }
.cart-table__total td{ font-weight:700; font-size:1.15em; padding-top:14px; border-top:2px solid var(--ink,#0b0c0f); }
/* Quantity stepper */
.qty{ display:inline-flex; align-items:stretch; border:1px solid rgba(11,12,15,.16); border-radius:6px; overflow:hidden; }
.qty .input--qty{ width:3.4rem; border:0; border-radius:0; text-align:center; padding:10px 4px; -moz-appearance:textfield; }
.qty .input--qty::-webkit-outer-spin-button,.qty .input--qty::-webkit-inner-spin-button{ -webkit-appearance:none; margin:0; }
.qty .input--qty:focus{ box-shadow:none; outline:none; }
.qty__btn{
  width:2.2rem; border:0; background:var(--panel,#f3f4f5); color:var(--ink,#0b0c0f);
  font-size:1.1rem; line-height:1; cursor:pointer;
}
.qty__btn:hover{ background:var(--accent,#19b37a); }
.no-js .qty__btn{ display:none; }   /* Stepper only with JS */
.cart-table__vat td{ font-size:var(--detail-fs,.95rem); color:var(--muted,#4b4f57); }
.cart-table__remove{ background:none; border:0; cursor:pointer; font-size:1.4rem; line-height:1; color:var(--muted,#4b4f57); }
.cart-table__remove:hover{ color:var(--ink,#0b0c0f); }
.input--qty{ width:4.5rem; text-align:right; }
.cart-form__actions{ margin-top:12px; }
.js .cart-form__actions{ display:none; }   /* with JS every change saves immediately */
.cart__actions .link{ text-decoration:none; font-weight:700; }
.cart__actions .link:hover{ color:var(--accent,#19b37a); }
.cart__actions{ display:flex; justify-content:space-between; align-items:center; gap:16px; flex-wrap:wrap; margin-top:24px; }

/* Checkout: form on the left, order summary as a card on the right (sticky) */
.checkout__layout{ display:grid; grid-template-columns:1.1fr .9fr; gap:48px; align-items:start; }
@media (max-width:900px){ .checkout__layout{ grid-template-columns:1fr; gap:var(--gap,24px); } .checkout__summary{ order:-1; position:static; } }
.checkout__form fieldset{ border:0; padding:0 0 8px; margin:0 0 24px; min-width:0; position:relative; }
.checkout__form legend{ margin-bottom:14px; padding:0; }
.checkout__form fieldset + .form__grid{ margin-top: 8px; }
.checkout__summary{ position:sticky; top:96px; border-radius:.95rem; }
.summary__heading{ margin:0 0 16px; }
.summary__lines{ list-style:none; margin:0; padding:0; display:grid; gap:14px; }
.summary__line{ display:flex; align-items:center; gap:12px; }
.summary__thumb{ width:48px; height:48px; object-fit:cover; border-radius:.5rem; background:#fff; flex:0 0 auto; }
.summary__info{ display:grid; gap:2px; min-width:0; }
.summary__title{ font-weight:700; line-height:1.3; }
.summary__meta{ font-size:var(--detail-fs,.95rem); color:var(--muted,#4b4f57); font-variant-numeric:tabular-nums; }
.summary__amount{ margin-left:auto; font-variant-numeric:tabular-nums; white-space:nowrap; }
.summary__rows{ margin:18px 0 0; padding:14px 0 0; border-top:1px solid rgba(11,12,15,.14); display:grid; gap:8px; }
.summary__row{ display:flex; justify-content:space-between; gap:12px; }
.summary__row dt{ color:var(--muted,#4b4f57); }
.summary__row dd{ margin:0; font-variant-numeric:tabular-nums; }
.summary__row--total{ border-top:2px solid var(--ink,#0b0c0f); padding-top:10px; margin-top:4px; font-weight:700; }
.summary__row--total dt{ color:var(--ink,#0b0c0f); }
.summary__row--vat{ font-size:var(--detail-fs,.95rem); }
.summary__row--vat dd{ color:var(--muted,#4b4f57); }
.summary__edit{ margin:14px 0 0; font-size:var(--detail-fs,.95rem); }
.summary__edit .link{ text-decoration:none; font-weight:700; }
.summary__edit .link:hover{ color:var(--accent,#19b37a); }

/* Cart & checkout: calmer titles and buttons */
.cart .h1, .checkout .h1{ font-size:clamp(1.9rem, 4vw, 2.6rem); }
.cart .btn, .checkout .btn{ padding:12px 20px; font-size:.8rem; letter-spacing:.04em; }

.cart-link{ position:relative; text-decoration:none; color:var(--muted,#4b4f57); display:inline-flex; align-items:center; justify-content:center; width:44px; height:44px; }
.cart-link:hover, .cart-link.is-active{ color:var(--ink,#0b0c0f); }
.cart-link__icon{ display:block; }
.cart-link__count{ position:absolute; top:2px; right:0; display:inline-grid; place-items:center; min-width:1.15rem; height:1.15rem; padding:0 .3rem; border-radius:999px; background:var(--accent,#19b37a); color:#fff; font-size:.7rem; font-weight:700; line-height:1; }
.cart-link__count[hidden]{ display:none; }
.header__tools .cart-link__label{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
.menu__nav .cart-link{ width:auto; height:auto; justify-content:flex-start; gap:10px; }
.menu__nav .cart-link__count{ position:static; }

/* Category filter */
.shop__filter{ display:flex; flex-wrap:wrap; gap:8px; }
.chip{ display:inline-block; padding:6px 14px; border:1px solid rgba(11,12,15,.18); border-radius:999px; text-decoration:none; color:var(--ink,#0b0c0f); font-size:var(--detail-fs,.95rem); font-weight:600; }
.chip:hover{ border-color:var(--ink,#0b0c0f); }
.chip.is-active{ background:var(--ink,#0b0c0f); color:#fff; border-color:var(--ink,#0b0c0f); }
