/* Sauh add-to-cart side panel — cyan brand, no Mano cream/orange */
.sauh-atc-overlay {
  position: fixed;
  inset: 0;
  z-index: 100010;
  background: rgba(12, 28, 38, 0.48);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity .16s ease, visibility .16s ease;
  cursor: pointer;
}
.sauh-atc-overlay.is-on {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}
.sauh-atc-overlay[hidden],
.sauh-atc[hidden] {
  display: none !important;
  pointer-events: none !important;
  visibility: hidden !important;
}
.sauh-atc {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 100011;
  display: flex;
  flex-direction: column;
  width: min(420px, 100vw);
  height: 100%;
  height: 100dvh;
  background: #fff;
  color: #1c1a17;
  font-family: "Source Sans Pro", Manrope, "Segoe UI", sans-serif;
  box-shadow: -12px 0 40px rgba(12, 28, 38, 0.18);
  transform: translateX(104%);
  pointer-events: none;
  visibility: hidden;
  transition: transform .17s cubic-bezier(.4, 0, .2, 1), visibility .17s;
}
.sauh-atc.is-on {
  transform: translateX(0);
  pointer-events: auto;
  visibility: visible;
}
.sauh-atc-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 16px 12px;
  background: #e8f6fc;
  border-bottom: 1px solid #c5e6f4;
}
.sauh-atc-kicker {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
  color: #1c1a17;
}
.sauh-atc-count {
  margin: 4px 0 0;
  color: #00789f;
  font-size: 13px;
  font-weight: 650;
}
.sauh-atc-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 44px;
  min-height: 44px;
  padding: 8px 14px;
  flex: 0 0 auto;
  border: 1px solid #7ec8e6;
  border-radius: 999px;
  background: #fff;
  color: #1c1a17;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
}
.sauh-atc-close-x {
  font-size: 22px;
  font-weight: 400;
  line-height: 0.8;
}
.sauh-atc-close:hover,
.sauh-atc-close:focus {
  background: #009CDE;
  border-color: #009CDE;
  color: #fff;
  outline: none;
}
.sauh-atc-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 8px 16px;
  background: #fff;
}
.sauh-atc-empty {
  padding: 48px 12px;
  text-align: center;
  color: #6d6d6d;
}
.sauh-atc-row {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid #e8f6fc;
  align-items: flex-start;
}
.sauh-atc-row.is-fresh {
  background: linear-gradient(90deg, rgba(0, 160, 220, 0.08), transparent 70%);
  margin: 0 -16px;
  padding-left: 16px;
  padding-right: 16px;
}
.sauh-atc-thumb {
  width: 88px;
  height: 88px;
  flex: 0 0 88px;
  border-radius: 12px;
  background: #f4fafd;
  overflow: hidden;
  display: block;
}
.sauh-atc-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.sauh-atc-meta { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.sauh-atc-row-top { display: flex; justify-content: space-between; gap: 8px; align-items: flex-start; }
.sauh-atc-name {
  display: block;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  color: #1c1a17;
  text-decoration: none;
}
.sauh-atc-price { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 4px; font-size: 13px; }
.sauh-atc-price s { color: #9ca3af; font-weight: 500; }
.sauh-atc-badge {
  display: inline-flex;
  background: #e8f6fc;
  color: #00789f;
  border-radius: 6px;
  padding: 2px 7px;
  font-size: 11px;
  font-weight: 700;
}
.sauh-atc-del {
  border: 0;
  background: none;
  color: #6d6d6d;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  padding: 0 2px;
}
.sauh-atc-del:hover { color: #b42318; }
.sauh-atc-row-bot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.sauh-atc-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid #c5e6f4;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}
.sauh-atc .sauh-atc-stepper button,
.sauh-atc .sauh-atc-qty-btn,
.sauh-atc-stepper button[data-sauh-qty],
.sauh-atc-stepper button {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: #e8f6fc;
  color: #1c1a17;
  font-family: inherit;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
  text-shadow: none;
  box-shadow: none;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}
.sauh-atc .sauh-atc-stepper button:hover,
.sauh-atc .sauh-atc-stepper button:focus {
  background: #009CDE;
  color: #fff;
  outline: none;
}
.sauh-atc .sauh-atc-stepper button:focus-visible {
  outline: 2px solid #009CDE;
  outline-offset: -2px;
}
.sauh-atc .sauh-atc-stepper button:active {
  background: #0077B3;
  color: #fff;
}
.sauh-atc .sauh-atc-stepper button:disabled {
  opacity: 0.55;
  cursor: default;
}
.sauh-atc-qty {
  min-width: 32px;
  padding: 0 4px;
  text-align: center;
  font-size: 14px;
  font-weight: 800;
  line-height: 36px;
}
.sauh-atc-line { font-size: 15px; }
.sauh-atc-foot {
  padding: 12px 16px calc(14px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid #c5e6f4;
  background: #e8f6fc;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sauh-atc-sub {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 4px;
}
.sauh-atc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  box-sizing: border-box;
}
.sauh-atc-btn-primary {
  background: #009CDE;
  color: #fff;
  border: 1px solid #009CDE;
}
.sauh-atc-btn-primary:hover {
  background: #0077B3;
  border-color: #0077B3;
  color: #fff;
}
.sauh-atc-btn-ghost {
  background: #e6e6e6;
  color: #636363;
  border: 1px solid #e6e6e6;
}
.sauh-atc-btn-ghost:hover {
  background: #009CDE;
  border-color: #009CDE;
  color: #fff;
}
.sauh-atc-continue {
  border: 0;
  background: none;
  color: #0077B3;
  font: inherit;
  font-weight: 750;
  font-size: 14px;
  cursor: pointer;
  padding: 10px;
  text-decoration: underline;
}
body.sauh-atc-on {
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
  overflow: hidden;
}
body.sauh-atc-on .sauh-ai,
body.sauh-atc-on .sauh-ai-launcher,
body.sauh-atc-on .storefront-handheld-footer-bar {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
body.sauh-atc-on .woocommerce-notices-wrapper,
body.sauh-atc-on .woocommerce-message {
  display: none !important;
}
@media (max-width: 480px) {
  .sauh-atc { width: 100vw; }
  .sauh-atc-thumb { width: 76px; height: 76px; flex-basis: 76px; }
}
script#sauh-atc-i18n {
  display: none !important;
}
.sauh-atc.sauh-atc-trp-edit {
  transform: none;
  visibility: visible;
  pointer-events: auto;
}
@media (prefers-reduced-motion: reduce) {
  .sauh-atc, .sauh-atc-overlay { transition: none !important; }
}
