.hc-fcart {
  position: static;
  z-index: auto;
  font-family: inherit;
}

.hc-fcart--floating {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9999;
}




.hc-fcart__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: none;
  z-index: 9998;
}

.floatingcart {
  position: fixed;
  right: 0;
  top: 0;
  bottom: 0;
  width: min(420px, 95vw);
  background: #fff;
  box-shadow: -8px 0 24px rgba(0, 0, 0, 0.16);
  padding: var(--space-s);
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow-y: auto;
  border-top-left-radius: 16px;
  border-bottom-left-radius: 16px;
  transform: translateX(100%);
  transition: transform 0.2s ease;
  z-index: 9999;
}

.hc-fcart__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.hc-fcart__header h3 {
  margin: 0;
  font-size: 20px;
}

.hc-fcart__header p {
  margin: 4px 0 0;
  color: #6b7280;
}

s
.hc-fcart__freeship {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 10px;
  background: #f9fafb;
}

.hc-fcart__freeship-text {
  margin: 6px 0 0;
  font-weight: 700;
  color: #0f8f65;
}

.hc-fcart__items {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hc-fcart__item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 10px;
  align-items: center;
  background: linear-gradient(180deg, #fff 0%, #fafafa 100%);
}

.hc-fcart__thumb img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
}

.hc-fcart__meta {
  display: grid;
  gap: 6px;
}

.hc-fcart__title {
  font-weight: 700;
}

.hc-fcart__qty {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hc-fcart__qty-btn {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid #d8dce3;
  background: #f9fafb;
  cursor: pointer;
}

.hc-fcart__qty input {
  width: 64px;
  border-radius: 8px;
  border: 1px solid #d8dce3;
  padding: 6px 8px;
  text-align: center;
}

.hc-fcart__price {
  display: grid;
  justify-items: end;
  gap: 6px;
  font-weight: 700;
}

.hc-fcart__price-old {
  color: #9ca3af;
  text-decoration: line-through;
  font-weight: 600;
}

.hc-fcart__price-new {
  color: #111;
  font-weight: 800;
}

.hc-fcart__remove {
  background: transparent;
  border: none;
  color: #b91c1c;
  font-size: 18px;
  cursor: pointer;
}

.hc-fcart__empty {
  margin: 0;
  color: #6b7280;
}

.hc-fcart__summary {
  border-top: 1px solid #e5e7eb;
  padding-top: 10px;
  display: grid;
  gap: 6px;
}

.hc-fcart__row {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
}

.hc-fcart__actions {
  display: grid;
  gap: 8px;
}

.hc-fcart__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 14px;
  border-radius: 10px;
  background: #f26c00;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.hc-fcart__usp {
  margin: 0;
  color: #374151;
  font-size: 14px;
}

.hc-fcart__cross-sells {
  margin-top: 6px;
  padding: 8px 0;
  border-top: 1px solid #e5e7eb;
}

.hc-fcart__cross-sells .products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
}

.hc-fcart.is-open .hc-fcart__overlay {
  display: block;
}

.hc-fcart.is-open .floatingcart {
  transform: translateX(0);
}

@media (max-width: 720px) {
  .floatingcart {
    width: 100%;
  }
}


.floatingcart {

    .logged-in & {
        top: 46px;

        @include breakpoint(medium) {
            top: 32px;
        }
    }

}