.cart-action {
  align-items: center;
  display: inline-flex !important;
  gap: .45rem;
  white-space: nowrap;
}

.cart-icon-wrap {
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  position: relative;
  width: 1.9rem;
}

.cart-icon-wrap svg {
  display: block;
  height: 1.75rem;
  width: 1.75rem;
}

.cart-count {
  align-items: center;
  background: #a25f38;
  border: 2px solid var(--paper, #f8f5ef);
  border-radius: 999px;
  color: #fff;
  display: flex;
  font-family: Manrope, sans-serif;
  font-size: .62rem;
  font-weight: 700;
  height: 1.15rem;
  inset-inline-start: 1.15rem;
  justify-content: center;
  line-height: 1;
  min-width: 1.15rem;
  padding: 0 .2rem;
  position: absolute;
  top: -.5rem;
}

.cart-label { font-size: .83rem; }

.whatsapp-float {
  align-items: center;
  background: #344b3d;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  bottom: 1.5rem;
  box-shadow: 0 12px 32px rgba(23, 35, 29, .26);
  color: #fff !important;
  display: inline-flex;
  font-size: .92rem;
  font-weight: 700;
  gap: .7rem;
  inset-inline-end: 1.5rem;
  min-height: 3.4rem;
  padding: .62rem .72rem .62rem 1.15rem;
  position: fixed;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  z-index: 80;
}

[dir="rtl"] .whatsapp-float { padding: .62rem 1.15rem .62rem .72rem; }

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  background: #263c31;
  box-shadow: 0 16px 38px rgba(23, 35, 29, .32);
  transform: translateY(-2px);
}

.whatsapp-float svg {
  background: #f3eadc;
  border-radius: 50%;
  fill: #344b3d;
  height: 2.25rem;
  padding: .35rem;
  width: 2.25rem;
}

@media (max-width: 767px) {
  .cart-label { display: none; }
  .header-actions .cart-action { padding-inline: .25rem; }
  .whatsapp-float {
    bottom: 1rem;
    height: 3.25rem;
    inset-inline-end: 1rem;
    justify-content: center;
    min-height: 0;
    padding: 0;
    width: 3.25rem;
  }
  .whatsapp-float span { display: none; }
  .whatsapp-float svg { height: 2.45rem; width: 2.45rem; }
}

@media (prefers-reduced-motion: reduce) {
  .whatsapp-float { transition: none; }
}
