/* ============================================================
   Commerce blocks: PDP, cart, checkout, drawer, added-to-cart.
   Owner: theme-commerce. Tokens measured from the reference site.
   ============================================================ */

:root {
  --asam-c-ink: #130210;
  --asam-c-ash: #5a5858;
  --asam-c-teal: #00403d;
  --asam-c-teal-hover: #192c2f;
  --asam-c-teal-active: #05281b;
  --asam-c-cream: #f2f0ed;
  --asam-c-pampas: #f3f1ed;
  --asam-c-teint: #cdcac6;
  --asam-c-blush: #f9f7f6;
  --asam-c-imgbg: #f5f3f3;
  --asam-c-light-green: #e0f0d1;
  --asam-c-pink: #e8005a;
  --asam-c-red: #ca222d;
  --asam-c-radius: 4px;
  --asam-c-font: 'asambeauty', 'Avenir Next', sans-serif;
  --asam-c-container: 1312px;
  --asam-c-bp-desk: 1024px;
}

/* ---------- generic shared atoms ---------- */
/* .asam-btn atoms are owned by theme-visual's base.css; commerce only sizes its own instances. */
.asam-pdp .asam-btn,
.asam-cart .asam-btn,
.asam-checkout .asam-btn,
.asam-added .asam-btn,
.asam-mini-cart .asam-btn,
.asam-stickybar .asam-btn {
  max-width: 100%;
  border-radius: var(--asam-c-radius);
  font-family: var(--asam-c-font);
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  text-decoration: none;
}
.asam-pdp .asam-btn--primary,
.asam-cart .asam-btn--primary,
.asam-checkout .asam-btn--primary,
.asam-added .asam-btn--primary,
.asam-mini-cart .asam-btn--primary { background: var(--asam-c-teal); color: #fff; }
.asam-pdp .asam-btn--primary:hover,
.asam-cart .asam-btn--primary:hover,
.asam-checkout .asam-btn--primary:hover,
.asam-added .asam-btn--primary:hover,
.asam-mini-cart .asam-btn--primary:hover { background: var(--asam-c-teal-hover); color: #fff; }
.asam-pdp .asam-btn--outline,
.asam-cart .asam-btn--outline,
.asam-checkout .asam-btn--outline,
.asam-added .asam-btn--outline,
.asam-mini-cart .asam-btn--outline { background: #fff; color: var(--asam-c-ink); border-color: var(--asam-c-ink); }

/* Shared price markup contract: theme-visual styles cards via Tailwind; commerce scopes its own
   price sizes to its blocks so product-card prices are not affected. */
.asam-buybox .asam-price,
.asam-stickybar .asam-price { display: inline-flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.asam-buybox .asam-price__original,
.asam-stickybar .asam-price__original {
  color: var(--asam-c-ash);
  font-size: 14px;
  font-weight: 400;
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}
.asam-buybox .asam-price__sale,
.asam-stickybar .asam-price__sale { color: var(--asam-c-ink); font-size: 24px; font-weight: 500; line-height: 32px; }
.asam-added .asam-price__sale,
.asam-mini-cart .asam-price__sale { color: var(--asam-c-ink); font-size: 14px; font-weight: 500; }
.asam-added .asam-price__original,
.asam-mini-cart .asam-price__original { color: var(--asam-c-ash); font-size: 12px; text-decoration: line-through; }

.asam-icon-cart,
.asam-icon-cart-plus,
.asam-cart-item__remove-icon,
.asam-added__check,
.asam-trust__check,
.asam-shipbar__icon,
.asam-checkout__back-arrow,
.asam-cart__note-icon,
.asam-wishlist__icon,
.asam-acc__icon,
.asam-gallery__counter::before {
  display: inline-block;
  flex: 0 0 auto;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

/* SVG icon helpers */
.asam-trust__check {
  width: 16px; height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M3.5 10.5l4 4 9-9' stroke='%23130210' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.asam-shipbar__icon {
  width: 24px; height: 24px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M2 7h11v10H2zM13 10h4l4 4v3h-8' stroke='%23130210' stroke-width='1.4' stroke-linejoin='round'/%3E%3Ccircle cx='6' cy='18' r='2' stroke='%23130210' stroke-width='1.4'/%3E%3Ccircle cx='17' cy='18' r='2' stroke='%23130210' stroke-width='1.4'/%3E%3C/svg%3E");
}
.asam-cart__note-icon {
  width: 18px; height: 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Ccircle cx='10' cy='10' r='8' stroke='%235a5858' stroke-width='1.3'/%3E%3Cpath d='M10 9v5' stroke='%235a5858' stroke-width='1.4' stroke-linecap='round'/%3E%3Ccircle cx='10' cy='6.2' r='.9' fill='%235a5858'/%3E%3C/svg%3E");
}
.asam-checkout__back-arrow {
  width: 24px; height: 24px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M20 12H4M10 6l-6 6 6 6' stroke='%23130210' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.asam-cart-item__remove-icon {
  width: 18px; height: 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M4 7h16M9 7V5h6v2M6 7l1 13h10l1-13M10 11v6M14 11v6' stroke='%23130210' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.asam-wishlist__icon {
  width: 20px; height: 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M10 16.6C8.6 15.8 2.5 12 2.5 7.8A3.6 3.6 0 016.1 4.25c1.5 0 2.8.8 3.9 2.1 1.1-1.3 2.4-2.1 3.9-2.1a3.6 3.6 0 013.6 3.6c0 4.2-6.1 8-7.5 8.8z' stroke='%23130210' stroke-width='1.3'/%3E%3C/svg%3E");
}
.asam-wishlist.is-active .asam-wishlist__icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2300403d'%3E%3Cpath d='M10 17.2C8.4 16.3 1.8 12.2 1.8 7.6A3.9 3.9 0 016.1 3.7c1.6 0 3 .9 3.9 2.1.9-1.2 2.3-2.1 3.9-2.1a3.9 3.9 0 014.3 3.9c0 4.6-6.6 8.7-8.2 9.6z'/%3E%3C/svg%3E");
}
.asam-icon-cart {
  width: 20px; height: 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M3 4h2l2.4 11h11.2L21 7H6' stroke='%23130210' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3Ccircle cx='9' cy='19' r='1.6' fill='%23130210'/%3E%3Ccircle cx='18' cy='19' r='1.6' fill='%23130210'/%3E%3C/svg%3E");
}
.asam-icon-cart-plus {
  width: 24px; height: 24px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M3 4h2l2.4 11h11.2L21 7H6' stroke='%23fff' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3Ccircle cx='9' cy='19' r='1.6' fill='%23fff'/%3E%3Ccircle cx='18' cy='19' r='1.6' fill='%23fff'/%3E%3Cpath d='M17 4v5M14.5 6.5h5' stroke='%23fff' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E");
}
.asam-added__check {
  width: 28px; height: 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 13 10'%3E%3Cpath fill='%2300403d' fill-rule='evenodd' d='M11.971 1.029c.26.26.26.682 0 .943l-7 7a.667.667 0 0 1-.942 0l-3.5-3.5a.667.667 0 0 1 .942-.943L4.5 7.557l6.529-6.528c.26-.26.682-.26.942 0z'/%3E%3C/svg%3E");
}
.asam-acc__icon {
  position: relative;
  width: 16px; height: 16px;
}
.asam-acc__icon::before,
.asam-acc__icon::after {
  content: "";
  position: absolute;
  background: var(--asam-c-ink);
  transition: transform .2s ease, opacity .2s ease;
}
.asam-acc__icon::before { top: 7px; left: 0; width: 16px; height: 1.5px; }
.asam-acc__icon::after { top: 0; left: 7.25px; width: 1.5px; height: 16px; }
.asam-acc.is-open .asam-acc__icon::after { transform: scaleY(0); opacity: 0; }

/* ---------- rating stars ---------- */
.asam-rating { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.asam-rating__stars { display: inline-flex; gap: 2px; }
.asam-star {
  width: 18px; height: 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 23'%3E%3Cpath fill='none' stroke='%23130210' stroke-width='1' d='M11.552 2.901a.5.5 0 0 1 .896 0l2.386 4.804a.5.5 0 0 0 .375.272l5.306.785a.5.5 0 0 1 .277.852l-3.831 3.754a.5.5 0 0 0-.143.44l.892 5.29a.5.5 0 0 1-.724.526l-4.755-2.483a.5.5 0 0 0-.463 0l-4.754 2.483a.5.5 0 0 1-.724-.526l.892-5.29a.5.5 0 0 0-.143-.44L3.21 9.614a.5.5 0 0 1 .276-.852l5.306-.785a.5.5 0 0 0 .375-.272L11.552 2.9Z'/%3E%3C/svg%3E");
}
.asam-star.is-full {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 23'%3E%3Cpath fill='%23130210' stroke='%23130210' stroke-width='1' d='M11.552 2.901a.5.5 0 0 1 .896 0l2.386 4.804a.5.5 0 0 0 .375.272l5.306.785a.5.5 0 0 1 .277.852l-3.831 3.754a.5.5 0 0 0-.143.44l.892 5.29a.5.5 0 0 1-.724.526l-4.755-2.483a.5.5 0 0 0-.463 0l-4.754 2.483a.5.5 0 0 1-.724-.526l.892-5.29a.5.5 0 0 0-.143-.44L3.21 9.614a.5.5 0 0 1 .276-.852l5.306-.785a.5.5 0 0 0 .375-.272L11.552 2.9Z'/%3E%3C/svg%3E");
}
.asam-rating__value { font-size: 16px; line-height: 24px; }
.asam-rating__count { font-size: 14px; line-height: 20px; color: var(--asam-c-ash); }

/* ============================================================
   PDP
   ============================================================ */
.asam-pdp-main { padding-bottom: 0; }
.asam-pdp {
  width: 100%;
  max-width: var(--asam-c-container);
  margin: 0 auto;
  padding: 0 20px;
  color: var(--asam-c-ink);
  font-family: var(--asam-c-font);
}
.asam-breadcrumb { padding: 14px 0 16px; }
.asam-breadcrumb__list { display: flex; flex-wrap: wrap; align-items: center; margin: 0; padding: 0; list-style: none; }
.asam-breadcrumb__item { display: inline-flex; align-items: center; font-size: 12px; line-height: 16px; }
.asam-breadcrumb__link { color: var(--asam-c-ink); text-decoration: underline; text-underline-offset: 2px; }
.asam-breadcrumb__sep {
  width: 16px; height: 16px; margin: 0 8px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%23130210' fill-rule='evenodd' d='M6.91 3.16a.833.833 0 0 1 1.18 0l6.25 6.25a.833.833 0 0 1 0 1.18l-6.25 6.25a.833.833 0 0 1-1.18-1.18L12.573 10 6.91 4.34a.833.833 0 0 1 0-1.18z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.asam-breadcrumb__current { color: var(--asam-c-ash); }
.asam-pdp__layout { display: flex; flex-wrap: wrap; align-items: flex-start; }

/* gallery (desktop mosaic) */
.asam-gallery { position: relative; flex: 0 0 66.6667%; max-width: 66.6667%; }
.asam-gallery__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.asam-gallery__cell {
  display: block; position: relative; aspect-ratio: 1 / 1; width: 100%;
  padding: 0; border: 0; background: var(--asam-c-imgbg); overflow: hidden; cursor: zoom-in;
}
.asam-gallery__cell img { width: 100%; height: 100%; object-fit: cover; display: block; }
.asam-gallery__showall {
  position: absolute; right: 16px; bottom: 56px;
  height: 50px; padding: 12px 16px;
  border: 1px solid var(--asam-c-teint); border-radius: 9999px;
  background: #fff; color: var(--asam-c-ink);
  font-family: var(--asam-c-font); font-size: 14px; cursor: pointer;
}
.asam-gallery__mobile { display: none; }

/* buybox */
.asam-pdp__info { flex: 0 0 33.3333%; max-width: 33.3333%; padding-left: 64px; padding-bottom: 96px; }
.asam-buybox { color: var(--asam-c-ink); }
.asam-buybox__brand {
  margin: 0 0 4px; font-size: 14px; line-height: 20px; letter-spacing: .025em;
  text-transform: uppercase; text-decoration: none;
}
.asam-buybox__title { margin: 0; font-size: 24px; line-height: 32px; font-weight: 700; }
.asam-buybox__intro { margin: 16px 0 0; font-size: 16px; line-height: 24px; }
.asam-buybox__bullets { margin-top: 12px; font-size: 16px; line-height: 24px; }
.asam-buybox__bullets ul { margin: 0; padding-left: 20px; list-style: disc; }
.asam-buybox__bullets li { margin: 4px 0; }
.asam-buybox__bullets p { margin: 0 0 8px; }

.asam-variants { margin-top: 24px; }
.asam-variants__fieldset { margin: 0; padding: 0; border: 0; }
.asam-variants__legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.asam-variants__list { display: flex; flex-wrap: wrap; gap: 8px; }
.asam-variant {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 9px 16px; min-height: 40px;
  border: 1px solid var(--asam-c-cream); border-radius: 9999px;
  background: transparent; color: var(--asam-c-ink);
  font-family: var(--asam-c-font); font-size: 14px; line-height: 20px; white-space: nowrap;
  cursor: pointer; transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.asam-variant:hover { border-color: var(--asam-c-teint); }
.asam-variant.is-active { background: var(--asam-c-teal); color: #fff; border-color: var(--asam-c-teal); font-weight: 500; }
.asam-variants__single { margin: 0; font-size: 14px; color: var(--asam-c-ash); }

.asam-price-row { margin-top: 24px; }
.asam-unit { margin-top: 6px; display: block; color: var(--asam-c-ash); font-size: 12px; line-height: 16px; }
.asam-unit > span, .asam-unit > a { white-space: nowrap; }
.asam-unit__size::after { content: "·"; margin-left: 6px; }
.asam-unit__price::after { content: "·"; margin-left: 6px; }
.asam-unit__tax + .asam-unit__tax::before { content: "·"; margin-right: 6px; }
.asam-unit__tax { color: var(--asam-c-ash); }
.asam-unit__shipping { color: var(--asam-c-ash); text-decoration: underline; text-underline-offset: 2px; }
.asam-artnr { margin-top: 6px; font-size: 12px; line-height: 16px; color: var(--asam-c-ash); }

/* scarcity strip: countdown + live viewers + fake stock */
.asam-scarcity { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.asam-countdown {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 14px; border-radius: var(--asam-c-radius); background: var(--asam-c-pampas);
}
.asam-countdown__label { font-size: 13px; line-height: 18px; font-weight: 500; }
.asam-countdown__clock { display: inline-flex; align-items: center; gap: 4px; }
.asam-countdown__part { display: inline-flex; flex-direction: column; align-items: center; min-width: 34px; }
.asam-countdown__part b {
  display: block; min-width: 34px; padding: 2px 4px; border-radius: 4px;
  background: var(--asam-c-teal); color: #fff; font-size: 15px; line-height: 20px;
  font-weight: 500; text-align: center; font-variant-numeric: tabular-nums;
}
.asam-countdown__part small { margin-top: 2px; font-size: 9px; line-height: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--asam-c-ash); }
.asam-countdown__sep { margin-top: -12px; color: var(--asam-c-teal); font-weight: 500; }
.asam-viewers { display: flex; align-items: center; gap: 8px; font-size: 13px; line-height: 18px; color: var(--asam-c-ink); }
.asam-live-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #1fa055;
  box-shadow: 0 0 0 0 rgba(31,160,85,.5); animation: asam-pulse 2s infinite;
}
@keyframes asam-pulse {
  0% { box-shadow: 0 0 0 0 rgba(31,160,85,.45); }
  70% { box-shadow: 0 0 0 7px rgba(31,160,85,0); }
  100% { box-shadow: 0 0 0 0 rgba(31,160,85,0); }
}
.asam-viewers [data-asam-viewers-count] { font-weight: 600; }
.asam-stock { display: flex; flex-direction: column; gap: 5px; }
.asam-stock__label { font-size: 13px; line-height: 18px; color: var(--asam-c-red); }
.asam-stock__bar { display: block; height: 5px; border-radius: 9999px; background: #eee6e6; overflow: hidden; }
.asam-stock__fill { display: block; height: 100%; border-radius: 9999px; background: var(--asam-c-red); transition: width .4s ease; }

/* qty + actions */
.asam-buybox__actions { margin-top: 20px; display: flex; flex-direction: column; gap: 12px; }
.asam-qty { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.asam-qty__label { font-size: 14px; line-height: 20px; }
.asam-qty__stepper {
  display: inline-flex; align-items: center; height: 44px;
  border: 1px solid var(--asam-c-teint); border-radius: var(--asam-c-radius); overflow: hidden;
}
.asam-qty__btn {
  width: 44px; height: 42px; border: 0; background: #fff; color: var(--asam-c-ink);
  font-size: 20px; line-height: 1; cursor: pointer;
}
.asam-qty__btn:hover { background: var(--asam-c-blush); }
.asam-qty__input {
  width: 48px; height: 42px; border: 0; text-align: center;
  font-family: var(--asam-c-font); font-size: 16px; font-weight: 500; color: var(--asam-c-ink);
  -moz-appearance: textfield; appearance: textfield;
}
.asam-qty__input::-webkit-outer-spin-button,
.asam-qty__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.asam-qty--sm .asam-qty__stepper { height: 36px; }
.asam-qty--sm .asam-qty__btn { width: 32px; height: 34px; font-size: 16px; }
.asam-qty--sm .asam-qty__input { width: 40px; height: 34px; font-size: 14px; }
.asam-add-btn { width: 100%; min-height: 56px; }
.asam-add-btn.is-loading { opacity: .7; pointer-events: none; }
.asam-add-btn.is-added { background: #1fa055; }
.asam-wishlist { width: 100%; min-height: 56px; }
.asam-guarantee {
  position: relative; margin-top: 20px; padding: 16px;
  border: 1px solid var(--asam-c-pampas); border-radius: 0;
  text-align: center;
}
.asam-guarantee__title { margin: 0; font-size: 16px; line-height: 24px; font-weight: 500; }
.asam-guarantee__text { margin: 6px 0 0; font-size: 14px; line-height: 20px; color: var(--asam-c-ash); font-weight: 400; }
.asam-guarantee__link { color: var(--asam-c-ink); text-decoration: underline; text-underline-offset: 2px; }
.asam-guarantee--compact { border: 0; border-top: 1px solid var(--asam-c-pampas); margin-top: 20px; padding: 20px 0 0; text-align: center; }
.asam-trust { margin: 24px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.asam-trust__item { display: flex; align-items: center; gap: 8px; font-size: 14px; line-height: 20px; }
.asam-trust__item a { color: var(--asam-c-ink); text-decoration: underline; text-underline-offset: 2px; }

/* accordions */
.asam-accordions { margin-top: 32px; }
.asam-acc { border-bottom: 1px solid var(--asam-c-ink); }
.asam-acc:first-child { border-top: 1px solid var(--asam-c-ink); }
.asam-acc__heading { margin: 0; font-size: inherit; font-weight: inherit; }
.asam-acc__trigger {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  width: 100%; padding: 20px 0; border: 0; background: transparent;
  font-family: var(--asam-c-font); font-size: 16px; line-height: 24px; font-weight: 500;
  color: var(--asam-c-ink); text-align: left; cursor: pointer;
}
.asam-acc__panel { display: none; overflow: hidden; }
.asam-acc.is-open .asam-acc__panel { display: block; }
.asam-acc__content { padding: 0 0 24px; font-size: 15px; line-height: 1.65; }
.asam-acc__content p { margin: 0 0 12px; }
.asam-acc__content ul { margin: 0 0 12px; padding-left: 20px; }
.asam-acc__content li { margin: 4px 0; }
.asam-acc__content strong { font-weight: 600; }
.asam-acc__content img { max-width: 100%; height: auto; }

/* cross-sell */
.asam-crosssell { margin-top: 24px; background: var(--asam-c-pampas); padding: 24px 20px 40px; }
.asam-crosssell__title { margin: 0 0 24px; padding-bottom: 0; font-size: 20px; line-height: 28px; font-weight: 500; }
.asam-crosssell__list { display: flex; flex-direction: column; gap: 16px; }

/* fallback product card (only when theme-visual's card partial is absent) */
.asam-ccard { position: relative; display: flex; flex-direction: column; background: #fff; padding: 10px; border-radius: var(--asam-c-radius); }
.asam-ccard__badge { position: absolute; left: 10px; top: 10px; z-index: 2; padding: 2px 8px; border-radius: 2px; background: var(--asam-c-pink); color: #fff; font-size: 11px; line-height: 18px; font-weight: 500; }
.asam-ccard__media { display: block; position: relative; aspect-ratio: 3 / 4; background: var(--asam-c-imgbg); overflow: hidden; }
.asam-ccard__media img { width: 100%; height: 100%; object-fit: contain; display: block; }
.asam-ccard__body { padding-top: 12px; }
.asam-ccard__brand { margin: 0 0 2px; font-size: 10px; line-height: 14px; letter-spacing: .05em; text-transform: uppercase; color: var(--asam-c-ash); }
.asam-ccard__title { margin: 0 0 4px; font-size: 16px; line-height: 22px; font-weight: 500; }
.asam-ccard__title a { color: var(--asam-c-ink); text-decoration: none; }
.asam-ccard__subtitle { margin: 0 0 8px; font-size: 12px; line-height: 17px; color: var(--asam-c-ash); }
.asam-ccard__add { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--asam-c-teal); cursor: pointer; }
.asam-ccard .asam-price { display: inline-flex; align-items: baseline; gap: 6px; }
.asam-ccard .asam-price__original { color: var(--asam-c-ash); font-size: 12px; text-decoration: line-through; }
.asam-ccard .asam-price__sale { color: var(--asam-c-ink); font-size: 16px; font-weight: 500; }

/* mobile sticky add-to-cart bar */
.asam-stickybar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: flex; align-items: center; gap: 16px;
  padding: 12px 20px; background: #fff;
  box-shadow: 0 -4px 24px 6px rgba(35, 35, 35, .1);
}
.asam-stickybar[hidden] { display: none; }
.asam-stickybar__prices { flex: 1 1 auto; min-width: 0; }
.asam-stickybar__price .asam-price { gap: 6px; }
.asam-stickybar__price .asam-price__sale { font-size: 24px; line-height: 28px; }
.asam-stickybar__unit { margin-top: 2px; font-size: 12px; line-height: 16px; color: var(--asam-c-ash); }
.asam-stickybar__btn {
  flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border: 0; border-radius: 50%;
  background: var(--asam-c-teal); cursor: pointer;
}
.asam-stickybar__btn:hover { background: var(--asam-c-teal-hover); }
body.asam-lock-scroll { overflow: hidden; }

/* lightbox */
.asam-lightbox { position: fixed; inset: 0; z-index: 220; display: flex; align-items: center; justify-content: center; }
.asam-lightbox[hidden] { display: none; }
.asam-lightbox__overlay { position: absolute; inset: 0; background: rgba(19, 2, 16, .86); }
.asam-lightbox__dialog { position: relative; width: min(920px, 92vw); height: min(86vh, 900px); background: transparent; }
.asam-lightbox__close {
  position: absolute; top: -44px; right: 0; z-index: 2;
  width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.6); border-radius: 50%;
  background: transparent; color: #fff; font-size: 22px; line-height: 1; cursor: pointer;
}
.asam-lightbox__track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.asam-lightbox__track::-webkit-scrollbar { display: none; }
.asam-lightbox__slide { flex: 0 0 100%; scroll-snap-align: center; display: flex; align-items: center; justify-content: center; }
.asam-lightbox__slide img { max-width: 100%; max-height: 100%; object-fit: contain; background: var(--asam-c-imgbg); }

/* ============================================================
   Mini cart drawer + Added-to-cart card
   ============================================================ */
.asam-mini-cart { position: fixed; inset: 0; z-index: 200; }
.asam-mini-cart[hidden] { display: none; }
.asam-mini-cart__overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, .5); }
.asam-mini-cart__panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  display: flex; flex-direction: column;
  width: 448px; max-width: 100%; background: #fff;
  transform: translateX(100%); transition: transform .3s ease;
}
.asam-mini-cart.is-open .asam-mini-cart__panel { transform: translateX(0); }
.asam-mini-cart__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px; background: var(--asam-c-light-green);
}
.asam-mini-cart__title-row { padding: 18px 20px 0; }
.asam-mini-cart__title { margin: 0; font-size: 18px; line-height: 24px; font-weight: 500; }
.asam-mini-cart__head .asam-mini-cart__title { font-size: 18px; }
.asam-mini-cart__close,
.asam-added__close {
  width: 36px; height: 36px; border: 0; border-radius: 50%;
  background: #fff; color: var(--asam-c-ink); font-size: 22px; line-height: 1; cursor: pointer;
}
.asam-mini-cart__body { flex: 1 1 auto; display: flex; flex-direction: column; overflow-y: auto; }
.asam-mini-cart__items { display: flex; flex-direction: column; padding: 8px 20px 0; }
.asam-mini-item { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--asam-c-cream); }
.asam-mini-item__media { flex: 0 0 88px; width: 88px; height: 88px; background: var(--asam-c-blush); overflow: hidden; }
.asam-mini-item__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.asam-mini-item__info { flex: 1 1 auto; min-width: 0; }
.asam-mini-item__brand { margin: 0 0 2px; font-size: 10px; line-height: 14px; letter-spacing: .05em; text-transform: uppercase; color: var(--asam-c-ash); }
.asam-mini-item__title { margin: 0 0 2px; font-size: 16px; line-height: 20px; font-weight: 500; }
.asam-mini-item__title a { color: var(--asam-c-ink); text-decoration: none; }
.asam-mini-item__variant { margin: 0 0 8px; font-size: 12px; line-height: 16px; color: var(--asam-c-ash); }
.asam-mini-item__controls { display: flex; align-items: center; gap: 10px; }
.asam-mini-item__price { margin-left: auto; font-size: 14px; font-weight: 500; }
.asam-mini-item__remove { border: 0; background: transparent; padding: 4px; cursor: pointer; }
.asam-mini-cart__totals { padding: 16px 20px 0; }
.asam-mini-cart__cta { display: flex; flex-direction: column; gap: 8px; padding: 16px 20px 24px; margin-top: auto; }
.asam-mini-cart__empty { padding: 40px 20px; text-align: center; display: flex; flex-direction: column; gap: 16px; font-size: 15px; }

.asam-added { position: fixed; inset: 0; z-index: 210; }
.asam-added__overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, .5); }
.asam-added__panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  display: flex; flex-direction: column;
  width: 448px; max-width: 100%; background: #fff;
  transform: translateX(100%); transition: transform .3s ease;
}
.asam-added.is-open .asam-added__panel { transform: translateX(0); }
.asam-added__head {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 20px; background: var(--asam-c-light-green); color: var(--asam-c-teal);
}
.asam-added__heading { margin: 0; flex: 1 1 auto; font-size: 14px; line-height: 20px; font-weight: 400; }
.asam-added__body { flex: 1 1 auto; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 16px; }
.asam-added__item { display: flex; gap: 14px; }
.asam-added__media { flex: 0 0 88px; width: 88px; height: 88px; background: var(--asam-c-blush); overflow: hidden; }
.asam-added__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.asam-added__info { flex: 1 1 auto; min-width: 0; }
.asam-added__brand { margin: 0 0 2px; font-size: 10px; line-height: 14px; letter-spacing: .05em; text-transform: uppercase; color: var(--asam-c-ash); }
.asam-added__title { margin: 0 0 4px; font-size: 16px; line-height: 20px; font-weight: 500; }
.asam-added__variant { margin: 0 0 4px; font-size: 12px; line-height: 16px; color: var(--asam-c-ash); }
.asam-added__subtitle { margin: 0; font-size: 12px; line-height: 16px; color: var(--asam-c-ash); }
.asam-added__price { flex: 0 0 auto; font-size: 14px; font-weight: 500; }
.asam-added__qty-row { display: flex; align-items: center; justify-content: space-between; }
.asam-added__qty-label { font-size: 14px; }
.asam-added__cta { width: 100%; min-height: 56px; }
.asam-shipbar {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 10px 12px; border-radius: var(--asam-c-radius); background: var(--asam-c-blush);
  font-size: 12px; line-height: 16px;
}
.asam-shipbar__track { flex: 1 1 100%; order: 3; height: 4px; border-radius: 9999px; background: #e6e1dc; overflow: hidden; }
.asam-shipbar__fill { display: block; height: 100%; border-radius: 9999px; background: var(--asam-c-teal); transition: width .3s ease; }
.asam-shipbar--cart { margin-bottom: 8px; }
.asam-shipbar--mini { margin-top: 4px; }
.asam-shipbar--mini .asam-shipbar__track { display: none; }

/* ============================================================
   Cart page
   ============================================================ */
.asam-cart-main { padding-bottom: 64px; }
.asam-cart {
  width: 100%; max-width: var(--asam-c-container); margin: 0 auto; padding: 16px 20px 0;
  color: var(--asam-c-ink); font-family: var(--asam-c-font);
}
.asam-cart__layout { display: grid; grid-template-columns: minmax(0, 1fr) 448px; gap: 32px; align-items: start; }
.asam-cart__main { min-width: 0; }
.asam-cart__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 24px 0 8px; }
.asam-cart__title { margin: 0; font-size: 24px; line-height: 32px; font-weight: 500; }
.asam-cart__delivery {
  padding: 5px 12px; border-radius: 9999px; background: var(--asam-c-pampas);
  font-size: 12px; line-height: 16px;
}
.asam-cart__items { display: flex; flex-direction: column; gap: 12px; }
.asam-cart-item {
  display: grid; grid-template-columns: 100px minmax(0, 1fr) auto; gap: 16px;
  padding: 16px; border: 1px solid var(--asam-c-cream); border-radius: var(--asam-c-radius);
}
.asam-cart-item__media { width: 100px; height: 100px; background: var(--asam-c-imgbg); overflow: hidden; }
.asam-cart-item__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.asam-cart-item__info { min-width: 0; }
.asam-cart-item__brand { margin: 0 0 2px; font-size: 10px; line-height: 14px; letter-spacing: .05em; text-transform: uppercase; color: var(--asam-c-ash); }
.asam-cart-item__title { margin: 0 0 2px; font-size: 16px; line-height: 22px; font-weight: 500; }
.asam-cart-item__title a { color: var(--asam-c-ink); text-decoration: none; }
.asam-cart-item__variant { margin: 0 0 10px; font-size: 12px; line-height: 16px; color: var(--asam-c-ash); }
.asam-cart-item__controls { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.asam-cart-item__remove {
  display: inline-flex; align-items: center; gap: 6px;
  border: 0; background: transparent; padding: 0;
  font-family: var(--asam-c-font); font-size: 13px; color: var(--asam-c-ash); cursor: pointer;
}
.asam-cart-item__remove:hover { color: var(--asam-c-red); }
.asam-cart-item__prices { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; text-align: right; }
.asam-cart-item__price { font-size: 16px; line-height: 24px; font-weight: 500; white-space: nowrap; }
.asam-cart-item__unit { font-size: 12px; line-height: 16px; color: var(--asam-c-ash); }
.asam-cart__note { display: flex; align-items: flex-start; gap: 8px; margin: 20px 0 0; font-size: 12px; line-height: 18px; color: var(--asam-c-ash); }
.asam-cart__note-icon { margin-top: 1px; }
.asam-cart__empty { font-size: 14px; color: var(--asam-c-ash); }

.asam-cart__aside { position: sticky; top: 24px; }
.asam-summary { border: 1px solid var(--asam-c-cream); border-radius: var(--asam-c-radius); padding: 24px 20px; }
.asam-summary__ship { margin-bottom: 16px; }
.asam-summary__rows { display: flex; flex-direction: column; gap: 10px; }
.asam-summary__row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-size: 16px; line-height: 24px; }
.asam-summary__label { flex: 0 1 auto; }
.asam-summary__value { flex: 0 0 auto; text-align: right; }
.asam-summary__row--total { margin-top: 6px; padding-top: 10px; border-top: 1px solid var(--asam-c-cream); font-size: 20px; line-height: 28px; font-weight: 500; }
.asam-summary__taxnote { margin: 4px 0 0; font-size: 12px; line-height: 18px; color: var(--asam-c-ash); }
.asam-summary__cta { width: 100%; margin-top: 16px; min-height: 56px; }
.asam-summary .asam-payment-icons { margin-top: 20px; }
.asam-summary .asam-guarantee { margin-top: 16px; }
.asam-payment-icons__title { margin: 0 0 8px; font-size: 12px; line-height: 16px; color: var(--asam-c-ash); }
.asam-payment-icons__list { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.asam-payment-icons__item { display: block; }
.asam-payment-icons__item img {
  display: block; width: 46px; height: 28px; padding: 0;
  object-fit: contain; background: transparent; border: 0; border-radius: 3px;
}

.asam-cart-empty { padding: 72px 20px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.asam-cart-empty__title { margin: 0; font-size: 24px; line-height: 32px; font-weight: 500; }
.asam-cart-empty__text { margin: 0; font-size: 15px; color: var(--asam-c-ash); }
.asam-cart__suggestions { max-width: var(--asam-c-container); margin: 40px auto 0; padding: 0 20px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }

/* ============================================================
   Checkout
   ============================================================ */
.asam-checkout-main { padding-bottom: 80px; }
.asam-checkout {
  width: 100%; max-width: 1152px; margin: 0 auto; padding: 24px 20px 0;
  color: var(--asam-c-ink); font-family: var(--asam-c-font);
}
.asam-checkout__topbar { display: flex; align-items: center; margin-bottom: 20px; }
.asam-checkout__back { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; line-height: 24px; color: var(--asam-c-ink); text-decoration: none; }
.asam-checkout__back:hover { text-decoration: underline; }
.asam-checkout__back-arrow { width: 24px; height: 24px; }
.asam-checkout__guest { margin: 0 0 16px; font-size: 14px; line-height: 20px; color: var(--asam-c-ash); }
.asam-checkout__login-link { color: var(--asam-c-ink); text-decoration: underline; text-underline-offset: 2px; margin-left: 4px; }
.asam-checkout__cols { display: grid; grid-template-columns: minmax(0, 1fr) 434px; gap: 28px; align-items: start; }
.asam-checkout__left { min-width: 0; }
.asam-checkout__right { min-width: 0; border-left: 1px solid var(--asam-c-pampas); padding-left: 40px; }
.asam-checkout__section { padding: 4px 0 8px; }
.asam-checkout__section + .asam-checkout__section { border-top: 1px solid var(--asam-c-pampas); margin-top: 8px; }
.asam-checkout__section-title {
  margin: 0 0 18px; padding: 18px 0 0;
  font-size: 14px; line-height: 20px; font-weight: 500;
  text-transform: uppercase; letter-spacing: .08em;
}
.asam-checkout__section-title--review { border-top: 1px solid var(--asam-c-pampas); }

/* form fields */
.asam-fields { display: flex; flex-wrap: wrap; gap: 14px 16px; }
.asam-fields .form-row { width: 100%; margin: 0; padding: 0; }
.asam-fields .form-row-first,
.asam-fields .asam-field-half { width: calc(50% - 8px); }
.asam-fields .form-row-last:not(.asam-field-city) { width: calc(50% - 8px); }
.asam-fields .asam-field-postcode { width: 30%; }
.asam-fields .asam-field-city { width: calc(70% - 16px); }
.asam-fields .form-row label {
  display: block; margin-bottom: 6px;
  font-size: 12px; line-height: 16px; color: var(--asam-c-ash);
}
.asam-fields .form-row .required { color: var(--asam-c-red); text-decoration: none; }
.asam-fields .input-text,
.asam-fields select,
.asam-fields textarea,
.form-row .input-text,
.woocommerce-checkout .input-text {
  width: 100%; height: 54px; padding: 0 16px;
  border: 1px solid var(--asam-c-teint); border-radius: var(--asam-c-radius);
  background-color: #fff; color: var(--asam-c-ink);
  font-family: var(--asam-c-font); font-size: 16px; line-height: 52px;
  box-shadow: none;
}
.asam-fields select {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath stroke='%23130210' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 20px 20px;
  padding-right: 40px;
}
.asam-fields .input-text:focus,
.asam-fields select:focus,
.form-row .input-text:focus { outline: none; border-color: var(--asam-c-teal); box-shadow: 0 0 0 1px var(--asam-c-teal); }
.select2-container--default .select2-selection--single { height: 54px; border-color: var(--asam-c-teint); border-radius: var(--asam-c-radius); }
.select2-container--default .select2-selection--single .select2-selection__rendered { line-height: 52px; padding-left: 16px; }
.select2-container--default .select2-selection--single .select2-selection__arrow { height: 52px; }
.woocommerce-invalid .input-text,
.woocommerce-invalid select { border-color: var(--asam-c-red); }
.woocommerce-validated .input-text,
.woocommerce-validated select { border-color: #1fa055; }
.woocommerce-checkout .woocommerce-error { margin: 0 0 16px; padding: 12px 16px; border: 1px solid var(--asam-c-red); border-radius: var(--asam-c-radius); background: #fdf2f2; color: var(--asam-c-red); font-size: 14px; list-style: none; }

/* review order */
.asam-review { display: flex; flex-direction: column; gap: 0; }
.asam-review__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.asam-review__title { margin: 0; font-size: 20px; line-height: 28px; font-weight: 500; }
.asam-review__delivery-pill { padding: 5px 12px; border-radius: 9999px; background: var(--asam-c-pampas); font-size: 12px; line-height: 16px; }
.asam-review__items { margin: 16px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; }
.asam-review-item { position: relative; display: grid; grid-template-columns: 80px minmax(0, 1fr) auto; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--asam-c-cream); }
.asam-review-item__qty {
  position: absolute; top: 8px; left: 56px; z-index: 2;
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 20px; height: 20px; padding: 0 5px; border-radius: 9999px;
  background: var(--asam-c-teal); color: #fff; font-size: 11px; line-height: 1;
}
.asam-review-item__media { width: 80px; height: 80px; background: var(--asam-c-blush); overflow: hidden; }
.asam-review-item__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.asam-review-item__info { display: flex; flex-direction: column; min-width: 0; padding-top: 4px; }
.asam-review-item__brand { font-size: 10px; line-height: 14px; letter-spacing: .05em; text-transform: uppercase; color: var(--asam-c-ash); }
.asam-review-item__name { font-size: 15px; line-height: 20px; font-weight: 500; }
.asam-review-item__variant { margin-top: 2px; font-size: 12px; line-height: 16px; color: var(--asam-c-ash); }
.asam-review-item__price { padding-top: 4px; font-size: 15px; line-height: 20px; font-weight: 500; white-space: nowrap; }
.asam-review__shipping { padding: 14px 0 0; }
.asam-review__subtitle { margin: 0 0 8px; padding: 0; font-size: 12px; line-height: 16px; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; }
.asam-shipping-table { width: 100%; border-collapse: collapse; }
.asam-shipping-table tr { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.asam-shipping-table th { display: none; }
.asam-shipping-table td { display: block; width: 100%; padding: 0; text-align: left; }
.woocommerce-shipping-methods { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.woocommerce-shipping-methods li { display: flex; align-items: center; gap: 8px; font-size: 14px; line-height: 20px; }
.woocommerce-shipping-methods input[type=radio],
.wc_payment_methods input[type=radio] { accent-color: var(--asam-c-teal); width: 18px; height: 18px; margin: 0; }
.woocommerce-shipping-methods label { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.woocommerce-shipping-contents { margin: 4px 0 0; font-size: 12px; color: var(--asam-c-ash); }
.asam-review__totals { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--asam-c-cream); display: flex; flex-direction: column; gap: 8px; }
.asam-review__totals .asam-summary__row { font-size: 15px; line-height: 22px; }
.asam-review__totals .asam-summary__row--total { font-size: 20px; line-height: 28px; }
.asam-review .asam-payment-icons { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--asam-c-cream); }

/* checkout payment block */
.asam-checkout .woocommerce-checkout-payment { margin-top: 8px; }
.asam-checkout .wc_payment_methods { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--asam-c-cream); }
.asam-checkout .wc_payment_methods li { padding: 12px 0; border-bottom: 1px solid var(--asam-c-cream); font-size: 14px; line-height: 20px; }
.asam-checkout .wc_payment_methods li label { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; cursor: pointer; }
.asam-checkout .wc_payment_methods .payment_box { margin: 10px 0 0 26px; padding: 10px 12px; border-radius: var(--asam-c-radius); background: var(--asam-c-blush); font-size: 13px; line-height: 18px; color: var(--asam-c-ash); }
.asam-checkout .wc_payment_methods .payment_box::before { display: none; }
.asam-checkout .place-order { margin: 16px 0 0; }
.asam-checkout #place_order {
  width: 100%; height: 52px; min-height: 52px; padding: 0 20px;
  border: 0; border-radius: var(--asam-c-radius);
  background: var(--asam-c-teal); color: #fff;
  font-family: var(--asam-c-font); font-size: 16px; font-weight: 500; line-height: 52px;
  cursor: pointer; transition: background-color .2s ease;
}
.asam-checkout #place_order:hover { background: var(--asam-c-teal-hover); }

/* consents */
.asam-consents { display: flex; flex-direction: column; gap: 12px; padding: 16px 0 4px; }
.asam-consents__row { margin: 0; }
.asam-consents__label { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.asam-consents__input { flex: 0 0 auto; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--asam-c-teal); }
.asam-consents__text { font-size: 13px; line-height: 19px; }
.asam-consents__text a { color: var(--asam-c-ink); text-decoration: underline; text-underline-offset: 2px; }
.asam-consents__privacy { margin: 0; font-size: 12px; line-height: 18px; color: var(--asam-c-ash); }
.asam-consents__privacy a { color: var(--asam-c-ash); text-decoration: underline; }
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper { margin-top: 12px; }
.woocommerce-checkout .woocommerce-privacy-policy-text { display: none; }

/* thankyou */
.asam-thankyou { max-width: 760px; margin: 48px auto; padding: 0 20px; font-family: var(--asam-c-font); }
.asam-thankyou__card { margin-top: 24px; padding: 24px; border: 1px solid var(--asam-c-cream); border-radius: var(--asam-c-radius); }
.asam-thankyou__title { margin: 0 0 8px; font-size: 20px; line-height: 28px; font-weight: 500; }
.asam-thankyou__text { margin: 0 0 16px; font-size: 15px; line-height: 22px; color: var(--asam-c-ash); }

/* ============================================================
   Responsive (reference: desktop 1440 / mobile 390)
   ============================================================ */
@media (min-width: 768px) {
  .asam-pdp { padding: 0 24px; }
  .asam-cart { padding: 24px 24px 0; }
  .asam-checkout { padding: 24px 24px 0; }
}
@media (min-width: 1360px) {
  .asam-pdp { padding: 0; }
  .asam-cart { padding: 16px 0 0; }
  .asam-checkout { padding: 24px 0 0; }
}

@media (max-width: 1023px) {
  .asam-pdp { padding: 0; }
  .asam-breadcrumb { padding: 12px 16px; }
  .asam-pdp__layout { display: block; }
  .asam-gallery { max-width: 100%; }
  .asam-gallery__grid { display: none; }
  .asam-gallery__mobile { display: block; }
  .asam-gallery__showall { display: none; }
  .asam-gallery__viewport { position: relative; width: 100%; aspect-ratio: 1 / 1; overflow: hidden; background: var(--asam-c-imgbg); }
  .asam-gallery__track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; touch-action: pan-x; }
  .asam-gallery__track::-webkit-scrollbar { display: none; }
  .asam-gallery__slide { flex: 0 0 100%; scroll-snap-align: center; display: block; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
  .asam-gallery__slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .asam-gallery__counter {
    position: absolute; left: 16px; bottom: 12px; z-index: 2;
    padding: 2px 10px; border-radius: 9999px; background: rgba(255,255,255,.85);
    font-size: 12px; line-height: 20px;
  }
  .asam-gallery__thumbs { display: flex; gap: 8px; padding: 8px 16px; overflow-x: auto; scrollbar-width: none; }
  .asam-gallery__thumbs::-webkit-scrollbar { display: none; }
  .asam-gallery__thumb { flex: 0 0 80px; width: 80px; height: 80px; padding: 0; border: 3px solid transparent; background: var(--asam-c-imgbg); cursor: pointer; }
  .asam-gallery__thumb.is-active { border-color: var(--asam-c-teal); }
  .asam-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .asam-pdp__info { max-width: 100%; padding: 16px 16px 64px; }
  .asam-crosssell { margin-left: -16px; margin-right: -16px; }
  .asam-cart__layout { display: block; }
  .asam-cart__aside { position: static; margin-top: 24px; }
  .asam-cart { padding: 16px 16px 0; }
  .asam-cart-item { grid-template-columns: 80px minmax(0, 1fr); padding: 12px; }
  .asam-cart-item__media { width: 80px; height: 80px; }
  .asam-cart-item__prices { grid-column: 2; align-items: flex-start; text-align: left; }
  .asam-cart__suggestions { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0 16px; }
  .asam-checkout { padding: 16px 16px 0; }
  .asam-checkout__cols { display: flex; flex-direction: column; gap: 0; }
  .asam-checkout__right { border-left: 0; padding-left: 0; border-top: 1px solid var(--asam-c-pampas); padding-top: 8px; margin-top: 8px; }
  .asam-checkout__section-title--review { border-top: 0; }
  .asam-mini-cart__panel { width: 100%; max-width: 100%; }
  .asam-added__panel { width: 100%; max-width: 100%; }
  .asam-review-item { grid-template-columns: 64px minmax(0, 1fr) auto; }
  .asam-review-item__media { width: 64px; height: 64px; }
  .asam-review-item__qty { left: 44px; }
  .asam-fields .form-row-first,
  .asam-fields .asam-field-half { width: 100%; }
  .asam-fields .form-row-last:not(.asam-field-city) { width: 100%; }
  .asam-fields .asam-field-postcode { width: 34%; }
  .asam-fields .asam-field-city { width: calc(66% - 16px); }
  .asam-stickybar { display: none; }
}
@media (max-width: 1023px) and (min-width: 768px) {
  .asam-stickybar { display: none; }
}
@media (max-width: 767px) {
  .asam-stickybar { display: flex; }
  .asam-pdp { padding-bottom: 84px; }
}

/* WooCommerce notices + misc */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error { font-family: var(--asam-c-font); }
.woocommerce-notices-wrapper { margin: 0; }
.woocommerce-store-notice { display: none !important; }
.woocommerce-checkout .select2-container { width: 100% !important; }

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  .asam-live-dot { animation: none; }
  .asam-mini-cart__panel,
  .asam-added__panel,
  .asam-acc__icon::before,
  .asam-acc__icon::after { transition: none; }
}

/* ---------- toast ---------- */
.asam-toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 300;
  transform: translate(-50%, 20px);
  max-width: min(420px, 90vw);
  padding: 12px 18px;
  border-radius: var(--asam-c-radius);
  background: var(--asam-c-ink); color: #fff;
  font-family: var(--asam-c-font); font-size: 14px; line-height: 20px;
  opacity: 0; visibility: hidden;
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  box-shadow: 0 6px 24px rgba(19, 2, 16, .25);
}
.asam-toast.is-visible { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.asam-toast.is-error { background: var(--asam-c-red); }

/* ---------- consent validation state ---------- */
.asam-consents__row.has-error .asam-consents__text { color: var(--asam-c-red); }
.asam-consents__row.has-error .asam-consents__input { outline: 2px solid var(--asam-c-red); outline-offset: 1px; }

/* ---------- checkout loading state ---------- */
#place_order.is-loading { opacity: .7; pointer-events: none; }

/* ---------- payment icons: svg files ---------- */
.asam-payment-icons__item img { background: #fff; }

/* ---------- qty stepper focus ---------- */
.asam-qty__btn:focus-visible,
.asam-variant:focus-visible,
.asam-acc__trigger:focus-visible,
.asam-btn:focus-visible { outline: 2px solid var(--asam-c-teal); outline-offset: 2px; }

/* ---------- Woo checkout messages ---------- */
.woocommerce-NoticeGroup-checkout .woocommerce-error { margin: 0 0 16px; }

/* ---------- rich PDP content (reference "Warum wir es lieben" benefits) ---------- */
.asam-rich__lead { font-size: 15px; }
.asam-rich__small { font-size: 11px; line-height: 16px; color: var(--asam-c-ash); }
.asam-benefits { display: flex; flex-direction: column; gap: 18px; margin: 18px 0 0; padding: 0; list-style: none; }
.asam-benefit { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 16px; align-items: start; }
.asam-benefit__media { display: block; width: 84px; height: 84px; border-radius: 50%; overflow: hidden; background: var(--asam-c-imgbg); }
.asam-benefit__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.asam-benefit__body { display: block; }
.asam-benefit__title { display: block; font-size: 15px; line-height: 21px; font-weight: 500; }
.asam-benefit__text { display: block; margin-top: 4px; font-size: 13px; line-height: 20px; color: var(--asam-c-ash); }
.asam-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; padding: 0; list-style: none; }
.asam-chip { padding: 5px 12px; border: 1px solid var(--asam-c-cream); border-radius: 9999px; font-size: 13px; line-height: 18px; }
.asam-ingredients { font-size: 12px; line-height: 18px; color: var(--asam-c-ash); }
@media (max-width: 1023px) {
  .asam-benefit { grid-template-columns: 64px minmax(0, 1fr); gap: 12px; }
  .asam-benefit__media { width: 64px; height: 64px; }
}

/* ---------- clinical study section (reference "Echte Menschen. Echte Resultate.") ---------- */
.asam-study { background: #fff; padding: 56px 0 40px; margin-top: 24px; }
.asam-study__inner { width: 100%; max-width: var(--asam-c-container); margin: 0 auto; padding: 0 64px; }
.asam-study__kicker { margin: 0 0 12px; font-size: 12px; line-height: 16px; letter-spacing: .1em; text-transform: uppercase; color: var(--asam-c-ash); }
.asam-study__headline { margin: 0 0 8px; padding: 0; font-size: 32px; line-height: 40px; font-weight: 500; }
.asam-study__subline { margin: 0 0 32px; font-size: 15px; line-height: 22px; color: var(--asam-c-ash); }
.asam-study__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.asam-study__stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 32px; }
.asam-study__stat { display: flex; flex-direction: column; gap: 4px; }
.asam-study__percent { font-size: 44px; line-height: 48px; font-weight: 600; color: var(--asam-c-ink); }
.asam-study__percent-sign { font-size: 28px; line-height: 32px; font-weight: 500; }
.asam-study__claim { font-size: 15px; line-height: 21px; font-weight: 500; }
.asam-study__text { font-size: 13px; line-height: 19px; color: var(--asam-c-ash); }
.asam-study__media { margin: 0; aspect-ratio: 1 / 1; overflow: hidden; background: var(--asam-c-imgbg); }
.asam-study__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.asam-study__source { margin: 28px 0 0; font-size: 11px; line-height: 16px; color: var(--asam-c-ash); }
@media (max-width: 1023px) {
  .asam-study { padding: 32px 0 24px; }
  .asam-study__inner { padding: 0 16px; }
  .asam-study__headline { font-size: 24px; line-height: 30px; }
  .asam-study__grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .asam-study__stats { gap: 20px 16px; }
  .asam-study__percent { font-size: 32px; line-height: 36px; }
  .asam-study__claim { font-size: 14px; line-height: 20px; }
}

/* ---------- checkout footer (reference: simplified checkout chrome) ---------- */
.asam-checkout-footer { margin-top: 40px; padding: 40px 0 32px; background: var(--asam-c-pampas); }
.asam-checkout-footer__inner { width: 100%; max-width: 1152px; margin: 0 auto; padding: 0 20px; }
.asam-checkout-footer__legal { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-bottom: 28px; }
.asam-checkout-footer__legal a { font-family: var(--asam-c-font); font-size: 13px; line-height: 20px; color: var(--asam-c-ink); text-decoration: none; }
.asam-checkout-footer__legal a:hover { text-decoration: underline; }
.asam-checkout-footer__brand { margin: 0; font-family: var(--asam-c-font); font-size: 40px; line-height: 1; letter-spacing: .02em; color: var(--asam-c-teal); }
@media (max-width: 1023px) {
  .asam-checkout-footer { margin-top: 24px; padding: 28px 0 24px; }
  .asam-checkout-footer__inner { padding: 0 16px; }
  .asam-checkout-footer__legal { gap: 10px 20px; margin-bottom: 20px; }
  .asam-checkout-footer__brand { font-size: 32px; }
}

/* ---------- QA fixes: cart geometry + wrappable tax note ---------- */
.asam-cart__layout { grid-template-columns: minmax(0, 1fr) 424px; }
.asam-summary__taxnote { white-space: normal; overflow-wrap: anywhere; }
.asam-review__totals .asam-summary__taxnote,
.asam-summary .asam-summary__taxnote { display: block; }
@media (max-width: 1023px) {
  .asam-cart__layout { display: block; }
}

/* ---------- Checkout polish (charity, consents, notices, payment) ---------- */
.asam-checkout .asam-charity { border: 1px solid #e2ded8; border-left: 3px solid #00403d; background: #f7f5f1; border-radius: 4px; padding: 14px 16px; }
.asam-checkout .asam-charity strong { color: #00403d; font-weight: 600; }
.asam-checkout .asam-charity__icon { color: #eb0059; font-size: 18px; }
body.woocommerce-checkout .woocommerce-info,
body.woocommerce-checkout .woocommerce-message,
body.woocommerce-cart .woocommerce-info,
body.woocommerce-cart .woocommerce-message {
  width: min(1312px, calc(100% - 32px));
  margin: 14px auto 18px;
}
body.woocommerce-checkout .woocommerce-info a { color: #00403d; font-weight: 600; }
/* Consents: card rows, brand checkbox, pink required star */
.asam-consents { display: grid; gap: 10px; margin-top: 18px; }
.asam-consents__row {
  margin: 0; padding: 12px 14px;
  border: 1px solid #e2ded8; border-radius: 6px; background: #fff;
  transition: border-color .15s ease, background .15s ease;
}
.asam-consents__row:has(.asam-consents__input:checked) { border-color: #00403d; background: #f7fbfa; }
.asam-consents__label { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; margin: 0; }
.asam-consents__input {
  appearance: none; -webkit-appearance: none;
  flex: 0 0 auto; width: 18px; height: 18px; margin: 1px 0 0;
  border: 1px solid #c9c2b8; border-radius: 3px; background: #fff; cursor: pointer;
  display: inline-grid; place-content: center;
}
.asam-consents__input::before {
  content: ""; width: 10px; height: 10px; transform: scale(0);
  box-shadow: inset 1em 1em #fff; clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}
.asam-consents__input:checked { background: #00403d; border-color: #00403d; }
.asam-consents__input:checked::before { transform: scale(1); }
.asam-consents__input:focus-visible { outline: 2px solid #00403d; outline-offset: 2px; }
.asam-consents__text { font-size: 13px; line-height: 1.55; color: #130210; }
.asam-consents__text a { color: #00403d; text-decoration: underline; }
.asam-consents .required { color: #eb0059; text-decoration: none; }
.asam-consents__privacy { margin: 0; font-size: 12px; color: #5a5858; }
.asam-consents__privacy a { color: #00403d; text-decoration: underline; }
/* Payment section */
.asam-checkout .woocommerce-checkout-payment { border: 1px solid #e2ded8; border-radius: 6px; background: #fff; padding: 16px 18px; }
.asam-checkout .woocommerce-checkout-payment .wc_payment_methods { border-top: 0; }
.asam-checkout .woocommerce-checkout-payment .wc_payment_methods li:last-child { border-bottom: 0; }
.asam-checkout .woocommerce-checkout-payment .payment_method_asam_placeholder label { font-weight: 600; }
.asam-checkout .woocommerce-checkout-payment .place-order { margin-top: 8px; }
.asam-checkout .woocommerce-checkout-payment .button.alt,
.asam-checkout .woocommerce-checkout-payment #place_order {
  height: 52px; border-radius: 4px; background: #00403d; color: #fff; border: 0;
  font-size: 16px; font-weight: 600; width: 100%;
}
.asam-checkout .woocommerce-checkout-payment .button.alt:hover,
.asam-checkout .woocommerce-checkout-payment #place_order:hover { background: #002c2a; }
.asam-checkout .woocommerce-info.asam-no-payment { border-left-color: #eb0059; background: #fef0f3; color: #130210; border-radius: 4px; padding: 14px 16px; }

/* ---------- Payment presentation: bank-card style ---------- */
/* Accepted payment icons as consistent credit-card tiles */
.asam-payment-icons__list { gap: 8px; }
.asam-payment-icons__item {
  padding: 4px;
  border: 1px solid #e6e1d9;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(19, 2, 16, .06);
}
.asam-payment-icons__item img {
  width: 58px;
  height: 36px;
  object-fit: contain;
  border-radius: 4px;
  background: #fff;
}
/* Payment method choice as a selectable card */
.asam-checkout .woocommerce-checkout-payment .wc_payment_methods { display: grid; gap: 10px; }
.asam-checkout .woocommerce-checkout-payment .wc_payment_methods li {
  margin: 0;
  padding: 14px 16px;
  border: 1px solid #e2ded8 !important;
  border-radius: 8px;
  background: #fff;
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.asam-checkout .woocommerce-checkout-payment .wc_payment_methods li:hover { border-color: #b9b2a7 !important; }
.asam-checkout .woocommerce-checkout-payment .wc_payment_methods li:has(input:checked) {
  border-color: #00403d !important;
  background: #f7fbfa;
  box-shadow: 0 0 0 1px #00403d;
}
.asam-checkout .woocommerce-checkout-payment .wc_payment_methods li label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}
.asam-checkout .woocommerce-checkout-payment .wc_payment_methods li label img {
  max-height: 28px;
  width: auto;
  margin-left: auto;
}
.asam-checkout .woocommerce-checkout-payment .payment_box {
  margin: 10px 0 0;
  border: 0;
  background: transparent;
  padding: 0;
  font-size: 13px;
  color: #5a5858;
}

/* Cart line: struck original + unit sale + line total */
.asam-cart-item__original { font-size: 13px; color: #8a8580; }
.asam-cart-item__original s { text-decoration: line-through; }
.asam-cart-item__line-total { font-size: 12px; color: #5a5858; }

/* Checkout top notices (coupon toggle / notices) — compact & aligned with checkout container */
.asam-checkout .woocommerce-notices-wrapper { margin: 0 0 16px; }
.asam-checkout .woocommerce-form-coupon-toggle { margin: 0 0 16px; }
.asam-checkout .woocommerce-form-coupon-toggle .woocommerce-info {
  display: inline-flex; flex-wrap: wrap; gap: 6px; align-items: baseline;
  margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent;
  color: #5a5858; font-size: 13px; line-height: 1.5; width: auto;
}
.asam-checkout .woocommerce-form-coupon-toggle .woocommerce-info::before { display: none; }
.asam-checkout .woocommerce-form-coupon-toggle .woocommerce-info a { color: #00403d; font-weight: 600; text-decoration: underline; }
.asam-checkout form.checkout_coupon.woocommerce-form-coupon {
  max-width: 560px; margin: 0 0 20px; padding: 16px 18px;
  border: 1px solid #e2ded8; border-radius: 6px; background: #f7f5f1;
}
.asam-checkout form.checkout_coupon.woocommerce-form-coupon p.form-row { margin: 0; }
.asam-checkout form.checkout_coupon.woocommerce-form-coupon .form-row-first { flex: 1 1 auto; min-width: 0; }
.asam-checkout form.checkout_coupon.woocommerce-form-coupon .form-row-last { flex: 0 0 auto; }
.asam-checkout form.checkout_coupon.woocommerce-form-coupon input.input-text {
  height: 44px; border: 1px solid #d8d5d0; border-radius: 4px; padding: 0 12px; width: 100%;
  background: #fff; font-size: 14px;
}
.asam-checkout form.checkout_coupon.woocommerce-form-coupon button {
  height: 44px; padding: 0 20px; border: 1px solid #00403d; border-radius: 4px;
  background: #00403d; color: #fff; font-weight: 600; cursor: pointer; white-space: nowrap;
}
.asam-checkout .woocommerce-form-coupon-toggle + form.checkout_coupon { margin-top: 4px; }

/* ---------- Checkout payment brands card (reference-style icon grid) ---------- */
.asam-checkout .asam-payment-brands {
  margin: 0 0 18px; padding: 20px;
  border: 1px solid #e2ded8; border-radius: 8px; background: #fff;
}
.asam-checkout .asam-payment-brands__title {
  margin: 0 0 18px; font-size: 17px; line-height: 1.4; font-weight: 600; color: #130210;
}
.asam-checkout .asam-payment-brands__grid {
  list-style: none; margin: 0 0 14px; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px;
}
.asam-checkout .asam-payment-brands__grid li {
  display: flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 8px 10px;
  border: 1px solid #e6e1d9; border-radius: 6px; background: #fff;
}
.asam-checkout .asam-payment-brands__grid img {
  max-width: 100%; max-height: 26px; width: auto; height: auto; object-fit: contain; display: block;
}
.asam-checkout .asam-payment-brands__note { margin: 0; font-size: 12px; color: #5a5858; }
/* Single gateway: the radio row is functionally kept but visually replaced by the brands card */
.asam-checkout #payment .wc_payment_methods { display: none; }
@media (max-width: 480px) {
  .asam-checkout .asam-payment-brands__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .asam-checkout .asam-payment-brands { padding: 16px; }
}

/* ---------- Checkout payment/consent section: clean card + polished rows ---------- */
.asam-checkout #payment {
  margin-top: 18px; padding: 20px 22px;
  border: 1px solid #e2ded8; border-radius: 8px; background: #fff;
}
.asam-checkout #payment .place-order { padding: 0; margin: 0; }
.asam-checkout #payment .wc_payment_methods { display: none; }
.asam-checkout #payment .asam-consents { display: grid; gap: 10px; margin: 0; padding: 0; }
.asam-checkout #payment .asam-consents__row {
  margin: 0; padding: 13px 15px;
  border: 1px solid #e5e1db; border-radius: 6px; background: #fff;
  transition: border-color .15s ease, background .15s ease;
}
.asam-checkout #payment .asam-consents__row:has(.asam-consents__input:checked) {
  border-color: #b7cfcb; background: #f7fbfa;
}
.asam-checkout #payment .asam-consents__label { display: flex; align-items: flex-start; gap: 10px; margin: 0; }
.asam-checkout #payment .asam-consents__text { font-size: 13px; line-height: 1.5; color: #130210; }
.asam-checkout #payment .asam-consents__text a { color: #00403d; }
.asam-checkout #payment .asam-consents .required { color: #eb0059; }
.asam-checkout #payment .asam-consents__privacy { margin: 14px 0 2px; font-size: 12px; line-height: 1.5; color: #5a5858; }
.asam-checkout #payment .asam-consents__privacy a { color: #00403d; text-decoration: underline; }
.asam-checkout #payment #place_order {
  width: 100%; height: 52px; margin-top: 16px;
  border: 0; border-radius: 4px; background: #00403d; color: #fff;
  font-size: 15px; font-weight: 600; cursor: pointer;
}
.asam-checkout #payment #place_order:hover { background: #002c2a; }
.asam-checkout #payment .woocommerce-form__label-for-checkbox { margin: 0; }
