/* =====================================================
   HIMAWARI SOURCING BRIEF DRAWER — Standalone v1.0.8
   Independent from Elementor Menu Cart and Shop plugin UI.
===================================================== */

:root {
  --hsbd-bg: #fbfaf7;
  --hsbd-soft: #f5f2eb;
  --hsbd-border: #e6ded0;
  --hsbd-border-2: #f0e6d6;
  --hsbd-gold: #a3845b;
  --hsbd-gold-dark: #8c6e49;
  --hsbd-gold-deep: #533e2b;
  --hsbd-ink: #020617;
  --hsbd-slate: #64748b;
  --hsbd-muted: #94a3b8;
  --hsbd-green: #16a34a;
}

.hsbd-toggle,
.hsbd-root,
.hsbd-root * {
  box-sizing: border-box !important;
}

.hsbd-toggle {
  width: 34px !important;
  min-width: 34px !important;
  height: 34px !important;
  min-height: 34px !important;
  max-width: 34px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--hsbd-ink) !important;
  font-family: Inter, Arial, sans-serif !important;
  font-size: 0 !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
  text-transform: uppercase !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0 !important;
  cursor: pointer !important;
  text-decoration: none !important;
  position: relative !important;
  overflow: visible !important;
  box-shadow: none !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  outline: none !important;
  transition: none !important;
}

.hsbd-toggle::before,
.hsbd-toggle::after {
  display: none !important;
  content: none !important;
  border: 0 !important;
  box-shadow: none !important;
}

.hsbd-toggle img {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}

.hsbd-toggle:hover,
.hsbd-toggle:focus {
  color: var(--hsbd-ink) !important;
  border-color: transparent !important;
  background: transparent !important;
  transform: none !important;
  box-shadow: none !important;
  outline: none !important;
}


/* Icon-only trigger hard reset: no border, no hover/focus effect, compact on all devices. */
.hsbd-toggle,
.hsbd-toggle:hover,
.hsbd-toggle:focus,
.hsbd-toggle:active,
.hsbd-toggle:focus-visible {
  border: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
  filter: none !important;
}
.hsbd-toggle .hsbd-toggle-icon,
.hsbd-toggle:hover .hsbd-toggle-icon,
.hsbd-toggle:focus .hsbd-toggle-icon,
.hsbd-toggle:active .hsbd-toggle-icon {
  transform: none !important;
  filter: none !important;
}

.hsbd-toggle-label {
  display: none !important;
}

.hsbd-toggle-icon {
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  color: var(--hsbd-ink) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
  flex-shrink: 0 !important;
}

.hsbd-toggle-icon i {
  font-size: 22px !important;
  color: var(--hsbd-ink) !important;
  line-height: 1 !important;
  display: inline-block !important;
}

.hsbd-toggle-icon svg {
  width: 22px !important;
  height: 22px !important;
  fill: currentColor !important;
  display: block !important;
}

.hsbd-toggle-icon .hsbd-icon-img {
  width: 28px !important;
  height: 28px !important;
  max-width: 28px !important;
  max-height: 28px !important;
  object-fit: contain !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
}

.hsbd-count {
  position: absolute !important;
  top: -12px !important;
  right: -9px !important;
  width: 15px !important;
  min-width: 15px !important;
  height: 15px !important;
  border-radius: 999px !important;
  background: var(--hsbd-gold) !important;
  color: #fff !important;
  font-family: Inter, Arial, sans-serif !important;
  font-size: 8px !important;
  font-weight: 800 !important;
  line-height: 15px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  box-shadow: none !important;
  border: 0 !important;
}

.hsbd-root {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  z-index: 1000000 !important;
  pointer-events: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  overflow: hidden !important;
  background: transparent !important;
}

body.hsbd-open .hsbd-root {
  pointer-events: auto !important;
  visibility: visible !important;
  opacity: 1 !important;
}

body.hsbd-open {
  overflow: hidden !important;
}

.hsbd-backdrop {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  background: transparent !important;
  cursor: default !important;
}

.hsbd-drawer {
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 460px !important;
  max-width: 100vw !important;
  height: 100vh !important;
  min-height: 100vh !important;
  background: #fff !important;
  border-left: 1px solid var(--hsbd-border) !important;
  box-shadow: -24px 0 60px rgba(15, 23, 42, .16) !important;
  transform: translateX(100%) !important;
  transition: transform .35s ease !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
}

body.hsbd-open .hsbd-drawer {
  transform: translateX(0) !important;
}

body.admin-bar.hsbd-open .hsbd-root,
body.admin-bar.hsbd-open .hsbd-drawer {
  top: 32px !important;
  height: calc(100vh - 32px) !important;
  min-height: calc(100vh - 32px) !important;
}

.hsbd-head {
  flex: 0 0 auto !important;
  width: 100% !important;
  min-height: 80px !important;
  padding: 24px 64px 24px 24px !important;
  background: var(--hsbd-bg) !important;
  border-bottom: 1px solid var(--hsbd-soft) !important;
  display: flex !important;
  align-items: center !important;
  gap: 9px !important;
  position: relative !important;
}

.hsbd-head-icon {
  width: 18px !important;
  min-width: 18px !important;
  height: 18px !important;
  color: var(--hsbd-gold-dark) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.hsbd-head-icon i {
  font-size: 18px !important;
  color: var(--hsbd-gold-dark) !important;
  line-height: 1 !important;
  display: inline-block !important;
}

.hsbd-head-icon svg {
  width: 18px !important;
  height: 18px !important;
  fill: currentColor !important;
  display: block !important;
}

.hsbd-head-icon .hsbd-icon-img {
  width: 18px !important;
  height: 18px !important;
  max-width: 18px !important;
  max-height: 18px !important;
  object-fit: contain !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
}

.hsbd-title {
  font-family: "Playfair Display", Georgia, serif !important;
  font-size: 18px !important;
  line-height: 1.1 !important;
  font-weight: 700 !important;
  color: var(--hsbd-ink) !important;
  white-space: nowrap !important;
}

.hsbd-badge {
  background: var(--hsbd-border) !important;
  color: var(--hsbd-gold-deep) !important;
  font-family: Inter, Arial, sans-serif !important;
  font-size: 10px !important;
  line-height: 1 !important;
  font-weight: 700 !important;
  padding: 5px 9px !important;
  border-radius: 999px !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}

.hsbd-close {
  position: absolute !important;
  top: 24px !important;
  right: 24px !important;
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  min-height: 32px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid var(--hsbd-border) !important;
  border-radius: 50% !important;
  background: #fff !important;
  color: var(--hsbd-slate) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: color .2s ease, transform .2s ease !important;
}

.hsbd-close:hover,
.hsbd-close:focus {
  color: var(--hsbd-gold-dark) !important;
  transform: rotate(4deg) !important;
  outline: none !important;
}

.hsbd-close-icon {
  width: 14px !important;
  height: 14px !important;
  display: block !important;
}

.hsbd-body {
  flex: 1 1 auto !important;
  width: 100% !important;
  min-height: 0 !important;
  padding: 28px 24px !important;
  background: #fff !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  -webkit-overflow-scrolling: touch !important;
}

.hsbd-body.is-empty {
  padding: 58px 24px 32px !important;
}

.hsbd-body.is-loading {
  opacity: .6 !important;
  pointer-events: none !important;
}

.hsbd-empty {
  width: 100% !important;
  min-height: calc(100vh - 190px) !important;
  background: #fff !important;
  text-align: center !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
}

.hsbd-empty-icon {
  width: 64px !important;
  height: 64px !important;
  min-width: 64px !important;
  min-height: 64px !important;
  margin: 0 auto 20px !important;
  border-radius: 50% !important;
  background: var(--hsbd-soft) !important;
  color: #baa380 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.hsbd-empty-icon i {
  font-size: 22px !important;
  color: #baa380 !important;
  line-height: 1 !important;
  display: inline-block !important;
}

.hsbd-empty-icon svg {
  width: 22px !important;
  height: 22px !important;
  fill: currentColor !important;
  display: block !important;
}

.hsbd-empty-icon .hsbd-icon-img {
  width: 28px !important;
  height: 28px !important;
  max-width: 28px !important;
  max-height: 28px !important;
  object-fit: contain !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
}

.hsbd-empty h3 {
  font-family: Inter, Arial, sans-serif !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  color: #1e293b !important;
  margin: 0 0 8px !important;
  max-width: 300px !important;
}

.hsbd-empty p {
  font-family: Inter, Arial, sans-serif !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  line-height: 1.45 !important;
  color: var(--hsbd-muted) !important;
  max-width: 255px !important;
  margin: 0 auto 22px !important;
}

.hsbd-empty a {
  min-width: 168px !important;
  min-height: 40px !important;
  padding: 0 26px !important;
  border-radius: 8px !important;
  background: var(--hsbd-ink) !important;
  color: #fff !important;
  font-family: Inter, Arial, sans-serif !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  letter-spacing: .02em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: transform .25s ease, box-shadow .25s ease !important;
}

.hsbd-empty a:hover,
.hsbd-empty a:focus {
  color: #fff !important;
  transform: none !important;
  box-shadow: 0 14px 26px rgba(15, 23, 42, .16) !important;
}

.hsbd-products {
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
}

.hsbd-card {
  width: 100% !important;
  background: var(--hsbd-bg) !important;
  border: 1px solid var(--hsbd-border-2) !important;
  border-radius: 14px !important;
  padding: 14px !important;
  display: grid !important;
  grid-template-columns: 48px minmax(0, 1fr) !important;
  gap: 14px !important;
  box-shadow: none !important;
}

.hsbd-thumb {
  width: 48px !important;
  height: 48px !important;
  border: 1px solid var(--hsbd-border) !important;
  border-radius: 4px !important;
  background: #fff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  text-decoration: none !important;
}

.hsbd-thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  display: block !important;
}

.hsbd-card-info {
  min-width: 0 !important;
}

.hsbd-card-head {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 10px !important;
  margin: 0 0 8px !important;
}

.hsbd-product-title {
  min-width: 0 !important;
  color: #111827 !important;
  font-family: Inter, Arial, sans-serif !important;
  font-size: 12px !important;
  line-height: 1.35 !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

.hsbd-product-title:hover {
  color: var(--hsbd-gold-dark) !important;
}

.hsbd-remove {
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #94a3b8 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
}

.hsbd-remove:hover,
.hsbd-remove:focus {
  color: var(--hsbd-gold-dark) !important;
  outline: none !important;
}

.hsbd-remove svg {
  width: 15px !important;
  height: 15px !important;
  fill: currentColor !important;
  display: block !important;
}

.hsbd-options {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 4px 7px !important;
  margin: -2px 0 8px !important;
}

.hsbd-options span {
  color: var(--hsbd-slate) !important;
  font-family: Inter, Arial, sans-serif !important;
  font-size: 9px !important;
  line-height: 1.2 !important;
  font-weight: 600 !important;
}

.hsbd-meta-row {
  display: grid !important;
  grid-template-columns: auto 64px minmax(106px, 1fr) !important;
  align-items: center !important;
  gap: 8px !important;
}

.hsbd-qty-label {
  color: #64748b !important;
  font-family: Inter, Arial, sans-serif !important;
  font-size: 9px !important;
  line-height: 1 !important;
  font-weight: 700 !important;
  letter-spacing: .02em !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
  margin: 0 !important;
}

.hsbd-qty-input {
  width: 64px !important;
  height: 32px !important;
  min-height: 32px !important;
  padding: 0 5px !important;
  border: 1px solid var(--hsbd-border) !important;
  border-radius: 4px !important;
  background: #fff !important;
  color: var(--hsbd-ink) !important;
  font-family: Inter, Arial, sans-serif !important;
  font-size: 12px !important;
  line-height: 1 !important;
  font-weight: 700 !important;
  text-align: center !important;
  outline: none !important;
  box-shadow: none !important;
}

.hsbd-qty-input:focus {
  border-color: var(--hsbd-gold) !important;
}

.hsbd-line-total {
  color: var(--hsbd-gold-deep) !important;
  font-family: Inter, Arial, sans-serif !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  text-align: right !important;
  white-space: nowrap !important;
}

.hsbd-line-total span {
  color: var(--hsbd-slate) !important;
  font-weight: 700 !important;
}

.hsbd-line-total .amount {
  color: var(--hsbd-gold-deep) !important;
  font-weight: 800 !important;
}

.hsbd-footer {
  flex: 0 0 auto !important;
  padding: 22px 24px 26px !important;
  background: var(--hsbd-bg) !important;
  border-top: 1px solid var(--hsbd-soft) !important;
}

.hsbd-footer:empty {
  display: none !important;
}

.hsbd-summary-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  margin: 0 0 16px !important;
  font-family: Inter, Arial, sans-serif !important;
  font-size: 12px !important;
  line-height: 1.1 !important;
  font-weight: 800 !important;
  color: var(--hsbd-ink) !important;
  text-transform: uppercase !important;
}

.hsbd-summary-row strong {
  color: var(--hsbd-gold-deep) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
}

.hsbd-actions {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 12px !important;
}

.hsbd-checkout,
.hsbd-wa {
  height: 48px !important;
  padding: 0 13px !important;
  border-radius: 10px !important;
  color: #fff !important;
  font-family: Inter, Arial, sans-serif !important;
  font-size: 12px !important;
  line-height: 1 !important;
  font-weight: 800 !important;
  letter-spacing: .02em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  text-align: center !important;
  transition: transform .25s ease, box-shadow .25s ease !important;
  white-space: nowrap !important;
}

.hsbd-checkout {
  background: var(--hsbd-ink) !important;
  border: 1px solid var(--hsbd-ink) !important;
}

.hsbd-wa {
  background: var(--hsbd-green) !important;
  border: 1px solid var(--hsbd-green) !important;
}

.hsbd-wa svg {
  width: 15px !important;
  height: 15px !important;
  fill: currentColor !important;
  display: block !important;
}

.hsbd-checkout:hover,
.hsbd-checkout:focus,
.hsbd-wa:hover,
.hsbd-wa:focus {
  color: #fff !important;
  transform: none !important;
  box-shadow: 0 14px 26px rgba(15, 23, 42, .14) !important;
  outline: none !important;
}


.hsbd-toast {
  position: absolute !important;
  top: 96px !important;
  left: 24px !important;
  right: 24px !important;
  z-index: 20 !important;
  min-height: 42px !important;
  padding: 12px 14px !important;
  border-radius: 12px !important;
  background: var(--hsbd-ink) !important;
  color: #fff !important;
  font-family: Inter, Arial, sans-serif !important;
  font-size: 12px !important;
  line-height: 1.35 !important;
  font-weight: 700 !important;
  display: flex !important;
  align-items: center !important;
  gap: 9px !important;
  box-shadow: 0 16px 36px rgba(15, 23, 42, .18) !important;
  opacity: 0 !important;
  transform: translateY(-8px) !important;
  pointer-events: none !important;
  transition: opacity .22s ease, transform .22s ease !important;
}

.hsbd-toast.is-visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.hsbd-toast i {
  color: #22c55e !important;
  font-size: 14px !important;
  line-height: 1 !important;
}

@media (max-width: 782px) {
  body.admin-bar.hsbd-open .hsbd-root,
  body.admin-bar.hsbd-open .hsbd-drawer {
    top: 46px !important;
    height: calc(100vh - 46px) !important;
    min-height: calc(100vh - 46px) !important;
  }
}

@media (max-width: 768px) {
  .hsbd-drawer {
    width: 430px !important;
  }

  .hsbd-head {
    min-height: 78px !important;
    padding: 22px 58px 22px 22px !important;
  }

  .hsbd-close {
    top: 22px !important;
    right: 22px !important;
  }

  .hsbd-body {
    padding: 20px !important;
  }
}


@media (max-width: 1024px) and (min-width: 481px) {
  .hsbd-toggle,
  .hsbd-toggle-icon {
    width: 32px !important;
    min-width: 32px !important;
    height: 32px !important;
    min-height: 32px !important;
    max-width: 32px !important;
  }

  .hsbd-toggle-icon .hsbd-icon-img {
    width: 26px !important;
    height: 26px !important;
    max-width: 26px !important;
    max-height: 26px !important;
  }

  .hsbd-count {
    top: -11px !important;
    right: -8px !important;
    width: 14px !important;
    min-width: 14px !important;
    height: 14px !important;
    font-size: 7.5px !important;
  }
}

@media (max-width: 480px) {
  .hsbd-toggle,
  .hsbd-toggle-icon {
    width: 30px !important;
    min-width: 30px !important;
    height: 30px !important;
    min-height: 30px !important;
    max-width: 30px !important;
  }

  .hsbd-toggle-icon i {
    font-size: 19px !important;
  }

  .hsbd-toggle-icon .hsbd-icon-img {
    width: 24px !important;
    height: 24px !important;
    max-width: 24px !important;
    max-height: 24px !important;
  }

  .hsbd-count {
    top: -10px !important;
    right: -7px !important;
    width: 13px !important;
    min-width: 13px !important;
    height: 13px !important;
    font-size: 7px !important;
  }

  .hsbd-drawer {
    width: 100vw !important;
    max-width: 100vw !important;
    border-left: 0 !important;
  }

  .hsbd-head {
    min-height: 72px !important;
    padding: 18px 54px 18px 18px !important;
    gap: 7px !important;
  }

  .hsbd-title {
    font-size: 15px !important;
    max-width: 178px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .hsbd-badge {
    font-size: 9px !important;
    padding: 4px 7px !important;
  }

  .hsbd-close {
    top: 20px !important;
    right: 18px !important;
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    min-height: 30px !important;
  }

  .hsbd-body {
    padding: 16px !important;
  }

  .hsbd-body.is-empty {
    padding: 56px 20px 28px !important;
  }

  .hsbd-card {
    grid-template-columns: 46px minmax(0, 1fr) !important;
    padding: 13px !important;
    gap: 12px !important;
  }

  .hsbd-thumb {
    width: 46px !important;
    height: 46px !important;
  }

  .hsbd-product-title {
    font-size: 11px !important;
  }

  .hsbd-meta-row {
    grid-template-columns: 1fr 58px !important;
    gap: 8px !important;
  }

  .hsbd-qty-label {
    grid-column: 1 / 2 !important;
  }

  .hsbd-qty-input {
    grid-column: 2 / 3 !important;
    width: 58px !important;
  }

  .hsbd-line-total {
    grid-column: 1 / -1 !important;
    text-align: left !important;
  }

  .hsbd-footer {
    padding: 18px 18px 22px !important;
  }

  .hsbd-actions {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .hsbd-checkout,
  .hsbd-wa {
    width: 100% !important;
    height: 46px !important;
    font-size: 11px !important;
  }
}


/* v1.0.6: compact icon-only header trigger with no hover effects or surrounding border. */
.hsbd-toggle,
.hsbd-toggle:hover,
.hsbd-toggle:focus,
.hsbd-toggle:focus-visible,
.hsbd-toggle:active {
  border: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
  opacity: 1 !important;
}
.hsbd-toggle * {
  border-color: transparent !important;
  box-shadow: none !important;
}
.hsbd-line-total .woocommerce-Price-currencySymbol {
  margin-right: 3px !important;
}


/* v1.0.6: count badge slightly larger and positioned above the briefcase head. */
.hsbd-toggle .hsbd-count {
  top: -12px !important;
  right: -9px !important;
  width: 15px !important;
  min-width: 15px !important;
  height: 15px !important;
  font-size: 8px !important;
  line-height: 15px !important;
  border: 0 !important;
}
@media (max-width: 1024px) and (min-width: 481px) {
  .hsbd-toggle .hsbd-count {
    top: -11px !important;
    right: -8px !important;
    width: 14px !important;
    min-width: 14px !important;
    height: 14px !important;
    font-size: 7.5px !important;
    line-height: 14px !important;
  }
}
@media (max-width: 480px) {
  .hsbd-toggle .hsbd-count {
    top: -10px !important;
    right: -7px !important;
    width: 13px !important;
    min-width: 13px !important;
    height: 13px !important;
    font-size: 7px !important;
    line-height: 13px !important;
  }
}

/* v1.0.7: move item-count badge closer to the briefcase icon, keeping it on the upper-right head area. */
.hsbd-toggle .hsbd-count {
  top: -8px !important;
  right: -4px !important;
  width: 15px !important;
  min-width: 15px !important;
  height: 15px !important;
  font-size: 8px !important;
  line-height: 15px !important;
}
@media (max-width: 1024px) and (min-width: 481px) {
  .hsbd-toggle .hsbd-count {
    top: -7px !important;
    right: -3px !important;
    width: 14px !important;
    min-width: 14px !important;
    height: 14px !important;
    font-size: 7.5px !important;
    line-height: 14px !important;
  }
}
@media (max-width: 480px) {
  .hsbd-toggle .hsbd-count {
    top: -6px !important;
    right: -2px !important;
    width: 13px !important;
    min-width: 13px !important;
    height: 13px !important;
    font-size: 7px !important;
    line-height: 13px !important;
  }
}


/* v1.0.8: final responsive count badge alignment for Himawari briefcase image.
   Badge sits on the briefcase head/top-right, close to the icon, for 1290/1024/768/425 widths. */
.hsbd-toggle {
  overflow: visible !important;
}
.hsbd-toggle .hsbd-count {
  top: -5px !important;
  right: -4px !important;
  width: 15px !important;
  min-width: 15px !important;
  height: 15px !important;
  min-height: 15px !important;
  font-size: 8px !important;
  line-height: 15px !important;
  padding: 0 !important;
}
@media (max-width: 1290px) and (min-width: 1025px) {
  .hsbd-toggle .hsbd-count {
    top: -5px !important;
    right: -4px !important;
  }
}
@media (max-width: 1024px) and (min-width: 769px) {
  .hsbd-toggle .hsbd-count {
    top: -5px !important;
    right: -4px !important;
    width: 14px !important;
    min-width: 14px !important;
    height: 14px !important;
    min-height: 14px !important;
    font-size: 7.5px !important;
    line-height: 14px !important;
  }
}
@media (max-width: 768px) and (min-width: 481px) {
  .hsbd-toggle .hsbd-count {
    top: -4px !important;
    right: -3px !important;
    width: 14px !important;
    min-width: 14px !important;
    height: 14px !important;
    min-height: 14px !important;
    font-size: 7.5px !important;
    line-height: 14px !important;
  }
}
@media (max-width: 480px) {
  .hsbd-toggle .hsbd-count {
    top: -4px !important;
    right: -3px !important;
    width: 13px !important;
    min-width: 13px !important;
    height: 13px !important;
    min-height: 13px !important;
    font-size: 7px !important;
    line-height: 13px !important;
  }
}

/* v1.1.1: when Shop System pricing is hidden, keep quantity row compact. */
.hsbd-meta-row.hsbd-no-price{grid-template-columns:auto minmax(64px,96px) !important;justify-content:start !important;}
