/* Shop + WordPress page styling on top of site.css (tokens, header, footer, buttons).
   Scoped to body.ms-chrome so nothing leaks into wp-admin or the static pages. */

body.ms-chrome { background: var(--cream); }
body.ms-chrome .ms-main { min-height: 50vh; padding-bottom: var(--section); }
body.ms-chrome a { text-underline-offset: 3px; }

/* ---------- Page heads ---------- */
.ms-head { padding: clamp(48px, 6vw, 88px) 0 clamp(28px, 3vw, 44px); }
.ms-head .eyebrow { margin-bottom: 18px; }
.ms-head__title { font-family: var(--serif); font-weight: 400; font-size: clamp(42px, 5.4vw, 72px); line-height: 1.04; letter-spacing: -0.015em; }
.ms-head .lead { margin-top: 18px; }
.ms-head--shop .chips { margin: 32px 0 0; }
.chip.is-active { border-color: var(--charcoal); color: var(--cream); background: var(--charcoal); }
.chip.is-active small { color: rgba(245, 240, 232, .7); }
.ms-page { max-width: calc(46rem + 2 * var(--gutter)); }
.ms-links { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Breadcrumb ---------- */
.ms-breadcrumb { padding: 28px 0 8px; font-size: 13px; letter-spacing: .02em; color: var(--charcoal-lt); }
.ms-breadcrumb a { color: var(--charcoal-lt); text-decoration: none; }
.ms-breadcrumb a:hover { color: var(--burgundy); }
.ms-breadcrumb .sep { margin: 0 10px; opacity: .5; }

/* ---------- Buttons (WooCommerce + blocks) ---------- */
body.ms-chrome a.button, body.ms-chrome button.button, body.ms-chrome input.button,
body.ms-chrome #respond input#submit, body.ms-chrome a.button, body.ms-chrome button.button,
body.ms-chrome .wc-block-components-button:not(.is-link), body.ms-chrome .wp-block-button__link, body.ms-chrome .wc-block-cart__submit-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px; border: 1px solid var(--charcoal); border-radius: var(--radius);
  background: transparent; color: var(--charcoal); box-shadow: none; text-shadow: none;
  font-family: var(--sans); font-size: 12.5px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; line-height: 1.2;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
body.ms-chrome a.button:hover, body.ms-chrome button.button:hover, body.ms-chrome a.button:hover,
body.ms-chrome .wc-block-components-button:not(.is-link):hover { background: var(--charcoal); color: var(--cream); }
body.ms-chrome a.button.alt, body.ms-chrome button.button.alt, body.ms-chrome .single_add_to_cart_button,
body.ms-chrome .checkout-button, body.ms-chrome .wc-block-cart__submit-button, body.ms-chrome .wc-block-components-checkout-place-order-button,
body.ms-chrome .add_to_cart_button, body.ms-chrome #place_order {
  background: var(--burgundy); border-color: var(--burgundy); color: var(--cream);
}
body.ms-chrome a.button.alt:hover, body.ms-chrome button.button.alt:hover, body.ms-chrome .single_add_to_cart_button:hover,
body.ms-chrome .wc-block-cart__submit-button:hover, body.ms-chrome .wc-block-components-checkout-place-order-button:hover,
body.ms-chrome .add_to_cart_button:hover { background: var(--burgundy-deep); border-color: var(--burgundy-deep); color: var(--cream); }
body.ms-chrome a.added_to_cart { display: inline-block; margin-top: 10px; font-size: 13px; color: var(--burgundy); }
body.ms-chrome .button.loading { opacity: .7; }

/* ---------- Form fields ---------- */
body.ms-chrome input.input-text, body.ms-chrome textarea, body.ms-chrome select,
body.ms-chrome .select2-container .select2-selection, body.ms-chrome select.orderby, body.ms-chrome form .form-row input.input-text {
  min-height: 46px; padding: 10px 14px; border: 1px solid var(--divider-strong); border-radius: var(--radius);
  background: var(--warm-white); color: var(--charcoal); font: 15px/1.4 var(--sans); box-shadow: none;
}
body.ms-chrome input.input-text:focus, body.ms-chrome textarea:focus, body.ms-chrome select:focus { outline: 2px solid rgba(122, 63, 63, .35); outline-offset: 1px; border-color: var(--burgundy); }
body.ms-chrome form .form-row label { font-size: 13px; font-weight: 500; color: var(--charcoal-lt); }

/* ---------- Notices ---------- */
body.ms-chrome .woocommerce-message, body.ms-chrome .woocommerce-info, body.ms-chrome .woocommerce-error, body.ms-chrome .wc-block-components-notice-banner {
  margin: 0 0 28px; padding: 16px 20px; border: 1px solid var(--divider); border-left: 3px solid var(--burgundy);
  border-radius: var(--radius); background: var(--warm-white); color: var(--charcoal); font-size: 15px; list-style: none;
}
body.ms-chrome .woocommerce-message::before, body.ms-chrome .woocommerce-info::before, body.ms-chrome .woocommerce-error::before { display: none; }
body.ms-chrome .woocommerce-message .button, body.ms-chrome .woocommerce-info .button { float: right; min-height: 36px; padding: 0 16px; margin-left: 16px; }
body.ms-chrome .woocommerce-error { border-left-color: #A33; }

/* ---------- Shop toolbar ---------- */
.ms-shop { display: flow-root; }
body.ms-chrome .woocommerce-result-count { float: left; margin: 10px 0 28px; font-size: 14px; color: var(--charcoal-lt); }
body.ms-chrome .woocommerce-ordering { float: right; margin: 0 0 28px; }
body.ms-chrome .woocommerce-ordering select { min-height: 42px; padding: 0 36px 0 14px; border: 1px solid var(--divider-strong); border-radius: var(--radius); background-color: var(--warm-white); font: 14px var(--sans); color: var(--charcoal); }

/* ---------- Product grid (classic loop) ---------- */
body.ms-chrome ul.products, body.ms-chrome ul.products {
  clear: both; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 28px; margin: 0; padding: 0; list-style: none;
}
body.ms-chrome ul.products::before, body.ms-chrome ul.products::after { display: none; }
/* !important: WooCommerce sizes items via .columns-N rules with more classes. */
body.ms-chrome ul.products li.product {
  width: auto !important; float: none !important; margin: 0 !important; clear: none !important; padding: 0; display: flex; flex-direction: column; text-align: left;
}
/* Link holds image, title and price; tax notes follow directly; the button sits at the bottom so a row lines up. */
body.ms-chrome ul.products li.product a.woocommerce-LoopProduct-link { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
body.ms-chrome ul.products li.product a img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: contain; margin: 0 0 18px; padding: 28px;
  background: #fff; border: 1px solid var(--divider); border-radius: var(--radius);
  transition: transform .6s cubic-bezier(.2,.7,.2,1), box-shadow .6s ease;
}
body.ms-chrome ul.products li.product:hover a img { transform: translateY(-3px); box-shadow: 0 14px 30px -22px rgba(44,44,42,.45); }
body.ms-chrome ul.products li.product .woocommerce-loop-product__title {
  padding: 0; margin: 0 0 8px; font-family: var(--sans); font-size: 16px; font-weight: 500; line-height: 1.4; color: var(--charcoal);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
body.ms-chrome ul.products li.product .price, body.ms-chrome div.product p.price, body.ms-chrome div.product span.price {
  display: block; margin: 0; font-family: var(--serif); font-size: 24px; font-weight: 500; line-height: 1.2; color: var(--charcoal);
}
body.ms-chrome .price del { opacity: .5; font-size: .8em; margin-right: 8px; }
body.ms-chrome .price ins { text-decoration: none; color: var(--burgundy); }
body.ms-chrome ul.products li.product .button { margin-top: auto; align-self: flex-start; min-height: 42px; }
body.ms-chrome ul.products li.product .onsale, body.ms-chrome span.onsale {
  min-width: 0; min-height: 0; padding: 4px 10px; border-radius: var(--radius); background: var(--burgundy); color: var(--cream);
  font: 600 11px/1.4 var(--sans); letter-spacing: .1em; text-transform: uppercase; top: 14px; left: 14px; right: auto; margin: 0;
}
/* Germanized legal price info (MwSt., Versand, Grundpreis) */
body.ms-chrome .wc-gzd-additional-info, body.ms-chrome .price-unit, body.ms-chrome .wc-gzd-additional-info a, body.ms-chrome .shipping-costs-info, body.ms-chrome .tax-info {
  font-family: var(--sans); font-size: 12.5px; line-height: 1.5; color: var(--charcoal-lt); margin: 4px 0 0;
}
body.ms-chrome .wc-gzd-additional-info a { text-decoration: underline; }

/* Pagination */
body.ms-chrome nav.woocommerce-pagination { margin-top: 56px; }
body.ms-chrome nav.woocommerce-pagination ul { border: 0; display: flex; gap: 6px; justify-content: center; }
body.ms-chrome nav.woocommerce-pagination ul li { border: 0; }
body.ms-chrome nav.woocommerce-pagination ul li a, body.ms-chrome nav.woocommerce-pagination ul li span {
  min-width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--divider-strong); border-radius: var(--radius); font-size: 14px; color: var(--charcoal);
}
body.ms-chrome nav.woocommerce-pagination ul li span.current { background: var(--charcoal); color: var(--cream); border-color: var(--charcoal); }

/* ---------- Single product ---------- */
.ms-product { padding-top: 8px; }
body.ms-chrome div.product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 clamp(40px, 6vw, 96px); margin-top: 24px; }
body.ms-chrome div.product div.images, body.ms-chrome div.product div.summary { width: auto; float: none; margin: 0; }
body.ms-chrome div.product div.images { position: relative; }
body.ms-chrome div.product div.images .woocommerce-product-gallery__wrapper,
body.ms-chrome div.product div.images .flex-viewport { background: #fff; border: 1px solid var(--divider); border-radius: var(--radius); }
body.ms-chrome div.product div.images img { padding: clamp(24px, 4vw, 56px); aspect-ratio: 1 / 1; object-fit: contain; background: #fff; }
body.ms-chrome div.product div.images .flex-control-thumbs { display: flex; gap: 10px; margin-top: 12px; }
body.ms-chrome div.product div.images .flex-control-thumbs li { width: 72px; }
body.ms-chrome div.product div.images .flex-control-thumbs img { padding: 6px; border: 1px solid var(--divider); }
body.ms-chrome div.product .woocommerce-product-gallery__trigger { top: 14px; right: 14px; }
body.ms-chrome div.product div.summary { padding-top: 12px; }
body.ms-chrome div.product .product_title { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 3.6vw, 48px); line-height: 1.1; letter-spacing: -0.01em; margin: 0 0 18px; }
body.ms-chrome div.product p.price { font-size: 32px; }
body.ms-chrome div.product .woocommerce-product-details__short-description { margin: 22px 0; font-size: 17px; line-height: 1.7; color: var(--charcoal-lt); }
body.ms-chrome div.product form.cart { display: flex; flex-wrap: wrap; gap: 12px; align-items: stretch; margin: 28px 0; padding: 24px 0; border-top: 1px solid var(--divider-strong); border-bottom: 1px solid var(--divider); }
body.ms-chrome div.product form.cart::before, body.ms-chrome div.product form.cart::after { display: none; }
body.ms-chrome .quantity .qty { width: 84px; min-height: 48px; text-align: center; border: 1px solid var(--divider-strong); border-radius: var(--radius); background: var(--warm-white); font: 16px var(--sans); }
body.ms-chrome div.product form.cart .button { flex: 1 1 220px; margin: 0; }
body.ms-chrome .product_meta { font-size: 13.5px; color: var(--charcoal-lt); display: grid; gap: 4px; }
body.ms-chrome .product_meta a { color: var(--burgundy); text-decoration: none; }
body.ms-chrome div.product .woocommerce-tabs { grid-column: 1 / -1; margin-top: clamp(56px, 6vw, 88px); }
body.ms-chrome div.product .woocommerce-tabs ul.tabs { display: flex; gap: 28px; padding: 0; margin: 0 0 28px; border-bottom: 1px solid var(--divider-strong); overflow: visible; }
body.ms-chrome div.product .woocommerce-tabs ul.tabs::before, body.ms-chrome div.product .woocommerce-tabs ul.tabs li::before,
body.ms-chrome div.product .woocommerce-tabs ul.tabs li::after { display: none; }
body.ms-chrome div.product .woocommerce-tabs ul.tabs li { margin: 0; padding: 0; border: 0; background: none; border-radius: 0; }
body.ms-chrome div.product .woocommerce-tabs ul.tabs li a { display: block; padding: 0 0 14px; font: 500 12.5px var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--charcoal-lt); border-bottom: 2px solid transparent; margin-bottom: -1px; }
body.ms-chrome div.product .woocommerce-tabs ul.tabs li.active a { color: var(--charcoal); border-bottom-color: var(--burgundy); }
body.ms-chrome div.product .woocommerce-tabs .panel { max-width: 46rem; font-size: 16.5px; line-height: 1.75; color: var(--charcoal-lt); }
body.ms-chrome div.product .woocommerce-tabs .panel h2 { display: none; }
body.ms-chrome table.shop_attributes { border: 0; }
body.ms-chrome table.shop_attributes th, body.ms-chrome table.shop_attributes td { padding: 12px 0; border: 0; border-bottom: 1px solid var(--divider); background: none; font-style: normal; }
body.ms-chrome table.shop_attributes th { width: 200px; font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--charcoal-lt); }
body.ms-chrome div.product .related.products, body.ms-chrome div.product .upsells.products { grid-column: 1 / -1; margin-top: clamp(64px, 7vw, 104px); }
body.ms-chrome .related.products > h2, body.ms-chrome .upsells.products > h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3vw, 40px); margin: 0 0 32px; }

/* ---------- Cart + checkout (blocks) ---------- */
.ms-wide { font-family: var(--sans); }
body.ms-chrome .wp-block-woocommerce-cart, body.ms-chrome .wp-block-woocommerce-checkout { margin: 0; max-width: none; font-family: var(--sans); color: var(--charcoal); }
body.ms-chrome .wc-block-components-sidebar-layout { gap: 0 clamp(32px, 5vw, 72px); }
body.ms-chrome .wc-block-components-sidebar { padding: 28px; background: var(--warm-white); border: 1px solid var(--divider); border-radius: var(--radius); }
body.ms-chrome .wc-block-cart-items, body.ms-chrome .wc-block-cart-items th, body.ms-chrome .wc-block-cart-items td { border-color: var(--divider) !important; }
body.ms-chrome .wc-block-cart-items__header { font-size: 11px; font-weight: 500; letter-spacing: .14em; color: var(--charcoal-lt); }
body.ms-chrome .wc-block-cart-item__image img { background: #fff; border: 1px solid var(--divider); border-radius: var(--radius); padding: 8px; }
body.ms-chrome .wc-block-components-product-name { font-size: 16px; font-weight: 500; color: var(--charcoal); text-decoration: none; }
body.ms-chrome .wc-block-components-product-price, body.ms-chrome .wc-block-cart-item__total { font-family: var(--serif); font-size: 20px; font-weight: 500; }
body.ms-chrome .wc-block-components-quantity-selector { border-radius: var(--radius); border-color: var(--divider-strong); }
body.ms-chrome .wc-block-components-quantity-selector::after { border-radius: var(--radius); border-color: var(--divider-strong); }
body.ms-chrome .wc-block-cart-item__remove-link, body.ms-chrome .wc-block-components-product-metadata { font-size: 13px !important; color: var(--charcoal-lt) !important; }
body.ms-chrome .wc-block-components-totals-item__label { font-size: 14.5px; }
body.ms-chrome .wc-block-components-totals-footer-item .wc-block-components-totals-item__value,
body.ms-chrome .wc-block-components-totals-footer-item .wc-block-components-totals-item__label { font-family: var(--serif); font-size: 24px; font-weight: 500; }
body.ms-chrome .wc-block-components-title, body.ms-chrome .wc-block-cart__totals-title, body.ms-chrome .wc-block-components-checkout-step__title {
  font-family: var(--serif) !important; font-weight: 500 !important; font-size: 26px !important; text-transform: none !important; letter-spacing: 0 !important;
}
body.ms-chrome .wc-block-components-checkout-step__heading { margin-bottom: 18px; }
body.ms-chrome .wc-block-components-text-input input, body.ms-chrome .wc-block-components-combobox .wc-block-components-combobox-control input,
body.ms-chrome .wc-block-components-select select, body.ms-chrome .wc-blocks-components-select__select, body.ms-chrome .wc-block-components-textarea {
  border-radius: var(--radius) !important; border-color: var(--divider-strong) !important; background: var(--warm-white) !important; font-family: var(--sans) !important;
}
body.ms-chrome .wc-block-components-text-input.is-active input:focus, body.ms-chrome .wc-block-components-text-input input:focus { box-shadow: 0 0 0 1px var(--burgundy) !important; border-color: var(--burgundy) !important; }
body.ms-chrome .wc-block-components-radio-control__option, body.ms-chrome .wc-block-components-radio-control-accordion-option { border-radius: var(--radius) !important; }
body.ms-chrome .wc-block-components-radio-control__input:checked { border-color: var(--burgundy) !important; }
body.ms-chrome .wc-block-components-radio-control__input:checked::before { background: var(--burgundy) !important; }
body.ms-chrome .wc-block-components-checkbox .wc-block-components-checkbox__input[type=checkbox]:checked { background: var(--burgundy); border-color: var(--burgundy); }
body.ms-chrome .wc-block-components-button:not(.is-link) { width: 100%; min-height: 54px; font-size: 13px; }
body.ms-chrome .wc-block-cart__empty-cart__title, body.ms-chrome .with-empty-cart-icon { font-family: var(--serif); font-weight: 400; font-size: 32px; }
body.ms-chrome .wp-block-woocommerce-empty-cart-block .wp-block-separator { display: none; }
body.ms-chrome .wc-block-grid__product-title { font-family: var(--sans); font-size: 15px; font-weight: 500; }
body.ms-chrome .wc-block-components-product-image img, body.ms-chrome .wc-block-grid__product-image img { background: #fff; border: 1px solid var(--divider); padding: 16px; }
body.ms-chrome .wc-block-checkout__terms, body.ms-chrome .wc-gzd-checkbox-placeholder { font-size: 14px; color: var(--charcoal-lt); }

/* ---------- My account (classic) ---------- */
/* Two columns only for the logged-in account area (navigation + content). */
body.ms-chrome.woocommerce-account .ms-wide > .woocommerce:has(> .woocommerce-MyAccount-navigation) { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 48px; }
body.ms-chrome .woocommerce-MyAccount-navigation, body.ms-chrome .woocommerce-MyAccount-content { width: auto; float: none; }
body.ms-chrome .woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--divider-strong); }
body.ms-chrome .woocommerce-MyAccount-navigation li a { display: block; padding: 12px 0; border-bottom: 1px solid var(--divider); text-decoration: none; color: var(--charcoal-lt); font-size: 15px; }
body.ms-chrome .woocommerce-MyAccount-navigation li.is-active a { color: var(--burgundy); font-weight: 500; }
body.ms-chrome .u-columns.col2-set { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
body.ms-chrome .u-columns .col-1, body.ms-chrome .u-columns .col-2 { width: auto; float: none; }
body.ms-chrome form.login, body.ms-chrome form.register { margin: 0; padding: 28px; border: 1px solid var(--divider); border-radius: var(--radius); background: var(--warm-white); }
body.ms-chrome .u-columns h2, body.ms-chrome .woocommerce-MyAccount-content h2, body.ms-chrome .woocommerce-MyAccount-content h3 { font-family: var(--serif); font-weight: 500; font-size: 28px; margin: 0 0 18px; }
body.ms-chrome table.shop_table { border: 1px solid var(--divider); border-radius: var(--radius); border-collapse: separate; background: var(--warm-white); }
body.ms-chrome table.shop_table th, body.ms-chrome table.shop_table td { border-color: var(--divider); padding: 12px 14px; }

/* ---------- Text pages ---------- */
.ms-page.prose > *:first-child { margin-top: 0; }
.ms-page.prose h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(26px, 2.6vw, 32px); line-height: 1.2; color: var(--charcoal); margin: 40px 0 14px; }
.ms-page.prose p + p { margin-top: 14px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  body.ms-chrome ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  body.ms-chrome div.product { grid-template-columns: 1fr; }
  body.ms-chrome div.product div.summary { padding-top: 32px; }
  body.ms-chrome.woocommerce-account .ms-wide > .woocommerce:has(> .woocommerce-MyAccount-navigation), body.ms-chrome .u-columns.col2-set { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 640px) {
  body.ms-chrome ul.products { gap: 36px 16px; }
  body.ms-chrome ul.products li.product a img { padding: 16px; }
  body.ms-chrome ul.products li.product .woocommerce-loop-product__title { font-size: 14.5px; }
  body.ms-chrome ul.products li.product .price { font-size: 20px; }
  body.ms-chrome ul.products li.product .button { width: 100%; padding: 0 12px; font-size: 11.5px; }
  body.ms-chrome .woocommerce-result-count, body.ms-chrome .woocommerce-ordering { float: none; }
  body.ms-chrome div.product .woocommerce-tabs ul.tabs { gap: 18px; overflow-x: auto; }
  body.ms-chrome .wc-block-components-sidebar { padding: 20px; }
}

/* ---------- Catering page ---------- */
.container--wide { max-width: calc(1360px + 2 * var(--gutter)); }
.ms-head--catering .lead { max-width: 44em; }
.ms-catering .mc-root { max-width: none; }

/* ---------- Classic cart ([woocommerce_cart]) ---------- */
body.ms-chrome .ms-wide > .woocommerce { display: block; }
body.ms-chrome .woocommerce-cart-form { margin-bottom: 40px; }
body.ms-chrome table.shop_table.cart { width: 100%; border: 0; border-top: 1px solid var(--divider-strong); border-radius: 0; background: none; border-collapse: collapse; }
body.ms-chrome table.shop_table.cart thead th { padding: 0 0 12px; border: 0; font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--charcoal-lt); text-align: left; }
body.ms-chrome table.shop_table.cart thead { display: none; }
body.ms-chrome table.shop_table.cart td { padding: 20px 12px 20px 0; border: 0; border-bottom: 1px solid var(--divider); background: none; vertical-align: middle; font-size: 15px; }
body.ms-chrome table.shop_table.cart td.product-remove { width: 36px; }
body.ms-chrome table.shop_table.cart td.product-remove a.remove { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; color: var(--charcoal-lt) !important; font-size: 20px; font-weight: 300; line-height: 1; text-decoration: none; }
body.ms-chrome table.shop_table.cart td.product-remove a.remove:hover { background: var(--cream-dark); color: var(--burgundy) !important; }
body.ms-chrome table.shop_table.cart td.product-thumbnail { width: 96px; }
body.ms-chrome table.shop_table.cart td.product-thumbnail img { width: 80px; height: 80px; object-fit: contain; padding: 8px; background: #fff; border: 1px solid var(--divider); border-radius: var(--radius); }
body.ms-chrome table.shop_table.cart td.product-name a { font-weight: 500; color: var(--charcoal); text-decoration: none; }
body.ms-chrome table.shop_table.cart td.product-name a:hover { color: var(--burgundy); }
body.ms-chrome table.shop_table.cart td.product-price, body.ms-chrome table.shop_table.cart td.product-subtotal { font-family: var(--serif); font-size: 20px; font-weight: 500; white-space: nowrap; }
body.ms-chrome table.shop_table.cart td.product-subtotal { text-align: right; padding-right: 0; }
body.ms-chrome table.shop_table.cart td.actions { padding: 24px 0; border-bottom: 0; }
body.ms-chrome table.shop_table.cart td.actions .coupon { display: inline-flex; gap: 10px; align-items: stretch; }
body.ms-chrome table.shop_table.cart td.actions .coupon .input-text { width: 200px; min-height: 44px; }
body.ms-chrome table.shop_table.cart td.actions > .button { float: right; }
body.ms-chrome table.shop_table.cart td.actions .button { min-height: 44px; }
body.ms-chrome .cart-collaterals { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 420px); gap: 40px; }
body.ms-chrome .cart-collaterals .cross-sells { grid-column: 1; width: auto; float: none; }
body.ms-chrome .cart-collaterals .cart_totals { grid-column: 2; width: auto; float: none; padding: 28px; background: var(--warm-white); border: 1px solid var(--divider); border-radius: var(--radius); }
body.ms-chrome .cart_totals h2 { font-family: var(--serif); font-weight: 500; font-size: 28px; margin: 0 0 16px; }
body.ms-chrome .cart_totals table.shop_table { border: 0; background: none; }
body.ms-chrome .cart_totals table.shop_table th, body.ms-chrome .cart_totals table.shop_table td { padding: 12px 0; border: 0; border-top: 1px solid var(--divider); background: none; font-size: 15px; }
body.ms-chrome .cart_totals table.shop_table th { font-weight: 400; color: var(--charcoal-lt); }
body.ms-chrome .cart_totals .order-total th, body.ms-chrome .cart_totals .order-total td { border-top: 1px solid var(--divider-strong); font-family: var(--serif); font-size: 24px; font-weight: 500; color: var(--charcoal); }
body.ms-chrome .cart_totals .order-total td small, body.ms-chrome .cart_totals .includes_tax { display: block; font-family: var(--sans); font-size: 12.5px; font-weight: 400; color: var(--charcoal-lt); }
body.ms-chrome .wc-proceed-to-checkout { padding: 20px 0 0; }
body.ms-chrome .wc-proceed-to-checkout a.checkout-button { display: flex; width: 100%; min-height: 54px; margin: 0; font-size: 13px; }
body.ms-chrome .cart-empty.woocommerce-info { font-family: var(--serif); font-size: 28px; border: 0; background: none; padding: 0; }
body.ms-chrome .return-to-shop { margin-top: 20px; }
@media (max-width: 860px) {
  body.ms-chrome .cart-collaterals { grid-template-columns: 1fr; }
  body.ms-chrome .cart-collaterals .cart_totals { grid-column: 1; }
  body.ms-chrome table.shop_table.cart td.actions > .button { float: none; width: 100%; margin-top: 12px; }
}
@media (max-width: 640px) {
  body.ms-chrome table.shop_table_responsive.cart tr td { padding: 10px 0; text-align: right !important; }
  body.ms-chrome table.shop_table_responsive.cart tr td::before { float: left; font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--charcoal-lt); }
  body.ms-chrome table.shop_table.cart td.product-thumbnail { display: none; }
  body.ms-chrome table.shop_table.cart td.actions .coupon { display: flex; width: 100%; }
  body.ms-chrome table.shop_table.cart td.actions .coupon .input-text { flex: 1; width: auto; }
}

/* Stock + misc product details */
body.ms-chrome .stock { font-size: 13.5px; font-weight: 500; color: var(--open); }
body.ms-chrome .stock.out-of-stock { color: #A33; }
body.ms-chrome div.product .woocommerce-product-details__short-description p { margin: 0; }

/* Related/upsell sections: WooCommerce makes them a grid (heading beside products). */
body.ms-chrome section.related.products, body.ms-chrome section.upsells.products { display: block; }
/* Cart total row: beat the generic totals-table rule. */
body.ms-chrome .cart_totals table.shop_table tr.order-total th, body.ms-chrome .cart_totals table.shop_table tr.order-total td { font-family: var(--serif); font-size: 26px; font-weight: 500; color: var(--charcoal); border-top-color: var(--divider-strong); }
body.ms-chrome .cart_totals table.shop_table tr.order-total td small { font-size: 12.5px; }

/* ---------- Add-to-cart feedback ---------- */
/* WooCommerce's loop rule (display:inline-block, line-height:1) pushed the label to the top. */
body.ms-chrome ul.products li.product .button {
  display: inline-flex !important; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 18px !important; line-height: 1.2 !important; margin-top: auto !important; text-align: center;
}
body.ms-chrome .button.loading { opacity: .8; pointer-events: none; }
body.ms-chrome .button.loading::after, body.ms-chrome .button.added::after {
  position: static !important; top: auto !important; right: auto !important; margin: 0 !important;
  font-family: inherit !important; vertical-align: middle;
}
body.ms-chrome .button.loading::after {
  content: "" !important; width: 12px; height: 12px; border: 1.5px solid currentColor; border-right-color: transparent;
  border-radius: 50%; animation: ms-spin .7s linear infinite !important;
}
body.ms-chrome .button.added { background: var(--charcoal) !important; border-color: var(--charcoal) !important; color: var(--cream) !important; }
body.ms-chrome .button.added::after { content: "✓" !important; font-size: 14px; }
@keyframes ms-spin { to { transform: rotate(360deg); } }
/* The ✓ on the button + the header badge are the feedback; no extra "Warenkorb anzeigen" link. */
body.ms-chrome a.added_to_cart { display: none !important; }
/* Header badge: a short pop when the count changes (fragment replaced). */
.cart-link__count { animation: ms-pop .35s ease; }
@keyframes ms-pop { from { transform: scale(.4); } to { transform: none; } }

/* Tax/shipping notes directly under the price, then space before the button. */
body.ms-chrome ul.products li.product .wc-gzd-additional-info:last-of-type { margin-bottom: 18px; }

/* Cart totals: label and amount must not run together ("Gesamtsumme2.019,32 €"). */
body.ms-chrome .cart_totals table.shop_table th { width: 48%; padding-right: 16px !important; vertical-align: baseline; }
body.ms-chrome .cart_totals table.shop_table td { text-align: right; vertical-align: baseline; }
body.ms-chrome .cart_totals table.shop_table tr.order-total th { font-size: 22px; }
