:root {
  --shb-ink: #0d0d0d;
  --shb-muted: #6e5060;
  --shb-brand: #9c507e;
  --shb-brand-dark: #6f3158;
  --shb-soft: #f5e3ef;
  --shb-border: #d9c1cf;
}

body.shb-cart-locked { overflow: hidden !important; }

.shb-cart-backdrop {
  background: rgba(0, 0, 0, .52);
  inset: 0;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  transition: opacity .22s ease;
  z-index: 999990;
}

.shb-cart-drawer {
  background: #fff;
  box-shadow: -10px 0 32px rgba(0, 0, 0, .12);
  color: #000;
  display: flex;
  flex-direction: column;
  height: 100dvh;
  max-width: 100%;
  position: fixed;
  right: 0;
  top: 0;
  transform: translateX(105%);
  transition: transform .25s ease;
  width: min(440px, 100vw);
  z-index: 999991;
}

.shb-cart-open .shb-cart-backdrop { opacity: 1; pointer-events: auto; }
.shb-cart-open .shb-cart-drawer { transform: translateX(0); }

.shb-cart-head,
.shb-cart-foot {
  align-items: center;
  border-bottom: 1px solid #ececec;
  display: flex;
  gap: 12px;
  justify-content: center;
  min-height: 60px;
  padding: 12px 22px;
}

.shb-cart-head { flex: 0 0 auto; position: relative; }
.shb-cart-head h2 { font-size: 20px; font-weight: 500; letter-spacing: .01em; margin: 0; text-align: center; }
.shb-cart-close {
  align-items: center;
  background: #f5f5f5;
  border: 0;
  color: #6d7780;
  cursor: pointer;
  display: flex;
  font-size: 17px;
  height: 30px;
  justify-content: center;
  line-height: 1;
  padding: 0;
  position: absolute;
  right: 18px;
  top: 15px;
  width: 30px;
}
.shb-cart-timer {
  background: #000;
  color: #fff;
  flex: 0 0 auto;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  padding: 10px 14px;
  text-align: center;
}
.shb-cart-timer strong { font-size: 16px; }
.shb-cart-body { flex: 1; overflow-y: auto; padding: 0 28px; }
.shb-cart-empty { align-items: center; color: #111; display: flex; flex-direction: column; gap: 20px; justify-content: center; min-height: 250px; padding: 56px 12px; text-align: center; }
.shb-cart-empty h3 { font-size: 20px; font-weight: 500; margin: 0; }
.shb-cart-empty button { background: #000; border: 0; color: #fff; cursor: pointer; min-height: 46px; padding: 10px 24px; }

.shb-cart-item {
  display: grid;
  gap: 19px;
  grid-template-columns: 88px minmax(0, 1fr);
  padding: 20px 0;
  border-bottom: 1px solid #e7e7e7;
}

.shb-cart-image { align-self: start; display: block; }
.shb-cart-item img { background: #f6f4ef; border-radius: 0; display: block; height: 88px; object-fit: cover; width: 88px; }
.shb-cart-item-content { min-width: 0; }
.shb-cart-item-heading { align-items: flex-start; display: flex; gap: 8px; justify-content: space-between; }
.shb-cart-item h3 { font-size: 14px; font-weight: 700; line-height: 1.45; margin: 0 0 5px; }
.shb-cart-item h3 a { color: #000; text-decoration: none; }
.shb-cart-item p { color: #8a8a8a; font-size: 13px; margin: 0; }
.shb-cart-item-row { align-items: flex-end; display: flex; gap: 12px; justify-content: space-between; margin-top: 18px; }
.shb-cart-qty { align-items: center; border: 1px solid #dedede; display: inline-flex; flex: 0 0 auto; height: 31px; }
.shb-cart-qty button { background: #fff; border: 0; color: #9aa3aa; cursor: pointer; font-size: 12px; height: 29px; padding: 0; width: 28px; }
.shb-cart-qty button + span { border-left: 1px solid #dedede; }
.shb-cart-qty span + button { border-left: 1px solid #dedede; }
.shb-cart-qty button:disabled { cursor: not-allowed; opacity: .35; }
.shb-cart-qty span { align-items: center; display: flex; font-size: 13px; height: 29px; justify-content: center; min-width: 44px; text-align: center; }
.shb-cart-qty.is-locked span { border: 0; }
.shb-cart-remove { background: none; border: 0; color: #aaa; cursor: pointer; flex: 0 0 auto; font-size: 16px; line-height: 1; padding: 1px 0 5px 5px; }
.shb-cart-pricing { align-items: flex-end; display: flex; flex-wrap: wrap; gap: 4px 9px; justify-content: flex-end; line-height: 1.15; text-align: right; }
.shb-cart-pricing del { color: #aaa; font-size: 13px; font-weight: 400; white-space: nowrap; }
.shb-cart-price { font-size: 15px; font-weight: 500; white-space: nowrap; }
.shb-cart-saving { color: #2e8a18; flex-basis: 100%; font-size: 15px; font-weight: 800; white-space: nowrap; }
.shb-cart-pricing small { background: #f0f0f0; border: 1px solid #e6e6e6; color: #666; font-size: 11px; margin-left: auto; padding: 3px 7px; white-space: nowrap; }

.shb-cart-foot { align-items: stretch; background: #f8f8f9; border-bottom: 0; border-top: 1px solid #e1e1e1; flex: 0 0 auto; flex-direction: column; min-height: 0; padding: 17px 22px 14px; }
.shb-cart-savings { align-items: center; display: flex; font-size: 14px; gap: 12px; justify-content: space-between; }
.shb-cart-savings span { align-items: center; display: flex; flex-wrap: wrap; gap: 8px; }
.shb-cart-savings small { background: #ececec; border: 1px solid #e0e0e0; color: #666; font-size: 11px; font-weight: 500; padding: 4px 7px; }
.shb-cart-savings strong { font-size: 14px; font-weight: 500; white-space: nowrap; }
.shb-cart-total { align-items: center; display: flex; font-size: 20px; justify-content: space-between; margin-top: 9px; }
.shb-cart-total strong { font-size: 21px; font-weight: 500; }
.shb-checkout-button {
  background: #000;
  border: 1px solid #000;
  color: #fff;
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .01em;
  margin-top: 6px;
  min-height: 51px;
  padding: 13px 20px;
  width: 100%;
}
.shb-checkout-button:disabled { cursor: not-allowed; opacity: .45; }
.shb-cart-continue { background: none; border: 0; color: #111; cursor: pointer; font-size: 13px; padding: 1px 8px; }
.shb-checkout-error { color: #9f1f36; font-size: 12px; margin: 0; text-align: center; }

.shb-toast {
  background: #323841;
  border: 1px solid #9c7e50;
  bottom: 24px;
  color: #f5eee2;
  left: 50%;
  max-width: calc(100vw - 32px);
  opacity: 0;
  padding: 12px 18px;
  pointer-events: none;
  position: fixed;
  transform: translate(-50%, 20px);
  transition: .2s ease;
  z-index: 999999;
}
.shb-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

.shb-bundle-variant-select {
  appearance: auto;
  background: #fff;
  border: 1px solid #c8c8c8;
  border-radius: 3px;
  color: var(--shb-ink);
  font: inherit;
  min-height: 38px;
  padding: 6px 30px 6px 9px;
  width: 100%;
}

.kaching-bundles .kaching-bundles__upsell[data-shb-order-bump="true"] {
  cursor: pointer;
  outline: none;
}

.kaching-bundles .kaching-bundles__upsell[data-shb-order-bump="true"]:focus-visible {
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--bar-selected-border-color, #2a1e0e);
}

.kaching-bundles .kaching-bundles__upsell__checkbox.kaching-bundles__upsell__checkbox--selected {
  background: var(--bar-selected-border-color, #2a1e0e);
  border-color: var(--bar-selected-border-color, #2a1e0e);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
}

.shb-native-variant-picker { display: grid; gap: 8px; margin: 10px 0; }
.shb-native-variant-picker label { color: var(--shb-muted); font-size: 12px; }
.shb-native-variant-picker select { border: 1px solid #bca9b3; min-height: 44px; padding: 8px; width: 100%; }

.shb-search-shell { margin: 0 auto; max-width: 1200px; padding: 48px 20px 80px; }
.shb-search-shell h1 { font-size: clamp(28px, 5vw, 46px); }
.shb-search-form { display: flex; gap: 8px; margin: 22px 0 38px; }
.shb-search-form input { border: 1px solid #bca9b3; flex: 1; font-size: 16px; min-height: 48px; padding: 10px 14px; }
.shb-search-form button { background: #323841; border: 0; color: #fff; cursor: pointer; min-width: 100px; padding: 10px 18px; }
.shb-product-grid { display: grid; gap: 28px 18px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.shb-product-card { color: inherit; display: block; text-decoration: none; }
.shb-product-card img { aspect-ratio: 1; background: #f4f1f2; display: block; object-fit: cover; width: 100%; }
.shb-product-card h2 { font-size: 15px; line-height: 1.45; margin: 12px 0 5px; }
.shb-product-card p { font-size: 14px; margin: 0; }

.shb-cart-page { margin: 0 auto; max-width: 900px; padding: 44px 20px 90px; }
.shb-cart-page h1 { font-size: clamp(28px, 5vw, 44px); }
.shb-cart-page .shb-cart-drawer { box-shadow: none; height: auto; max-width: none; position: static; transform: none; width: 100%; }
.shb-cart-page .shb-cart-head .shb-cart-close { display: none; }
.shb-cart-page .shb-cart-body { max-height: none; overflow: visible; }
.shb-cart-page .shb-cart-backdrop { display: none; }

.shb-preview-banner {
  background: #fff4cf;
  border-bottom: 1px solid #d8c57c;
  color: #4c3b00;
  font-size: 12px;
  padding: 7px 14px;
  text-align: center;
}

@media (max-width: 989px) { .shb-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 749px) {
  .shb-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shb-search-shell { padding-top: 30px; }
  .shb-cart-drawer { width: 100vw; }
}
