/* [project]/app/components/cart/CartSidebar.scss.css [app-client] (css) */
.cart-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #00000080;
  z-index: 1500;
  backdrop-filter: blur(2px);
  animation: .25s ease-out forwards fadeIn;
}

.cart-modal-overlay.closing {
  animation: .3s ease-in forwards fadeOut;
}

.cart-sidebar-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 350px;
  max-width: 90vw;
  height: 100vh;
  background-color: #fff;
  z-index: 1501;
  display: flex;
  flex-direction: column;
  box-shadow: -4px 0 30px #0003;
  animation: .3s cubic-bezier(.16, 1, .3, 1) forwards slideIn;
}

.cart-sidebar-panel.closing {
  animation: .3s cubic-bezier(.16, 1, .3, 1) forwards slideOut;
}

.cart-sidebar-panel .cart-sidebar-header {
  padding: 1rem;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-sidebar-panel .cart-sidebar-header h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: #222;
}

.cart-sidebar-panel .cart-sidebar-header .cart-close-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #777;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s;
}

.cart-sidebar-panel .cart-sidebar-header .cart-close-btn:hover {
  color: #222;
  background-color: #f5f5f5;
}

.cart-sidebar-panel .cart-sidebar-body {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.cart-sidebar-panel .cart-sidebar-body .cart-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 200px;
  color: #777;
}

.cart-sidebar-panel .cart-sidebar-body .cart-empty-state .cart-continue-shopping {
  margin-top: 1rem;
  padding: .5rem 1rem;
  background: #222;
  color: #fff;
  border-radius: 4px;
  text-decoration: none;
  font-size: .9rem;
}

.cart-sidebar-panel .cart-sidebar-body .cart-empty-state .cart-continue-shopping:hover {
  background: #444;
}

.cart-sidebar-panel .cart-sidebar-body .cart-sidebar-item {
  display: flex;
  align-items: flex-start;
  padding: .75rem;
  border: 1px solid #eee;
  border-radius: 8px;
  position: relative;
  background-color: #fff;
  transition: all .2s;
  box-shadow: 0 2px 4px #00000005;
}

.cart-sidebar-panel .cart-sidebar-body .cart-sidebar-item:hover {
  border-color: #ddd;
  box-shadow: 0 3px 8px #0000000d;
}

.cart-sidebar-panel .cart-sidebar-body .cart-sidebar-item .cart-item-image {
  border-radius: 6px;
  overflow: hidden;
  margin-right: .75rem;
  flex-shrink: 0;
  background-color: #f7f7f7;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px !important;
  height: 60px !important;
}

.cart-sidebar-panel .cart-sidebar-body .cart-sidebar-item .cart-item-image .cart-product-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cart-sidebar-panel .cart-sidebar-body .cart-sidebar-item .cart-item-image .cart-placeholder-image {
  width: 100%;
  height: 100%;
  background-color: #f7f7f7;
}

.cart-sidebar-panel .cart-sidebar-body .cart-sidebar-item .cart-item-details {
  flex: 1;
  min-width: 0;
}

.cart-sidebar-panel .cart-sidebar-body .cart-sidebar-item .cart-item-details h4 {
  margin: 0 0 .35rem;
  font-size: .85rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-right: 16px;
}

.cart-sidebar-panel .cart-sidebar-body .cart-sidebar-item .cart-item-details .cart-price-quantity {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-sidebar-panel .cart-sidebar-body .cart-sidebar-item .cart-item-details .cart-price-quantity .cart-item-price {
  display: flex;
  flex-direction: column;
}

.cart-sidebar-panel .cart-sidebar-body .cart-sidebar-item .cart-item-details .cart-price-quantity .cart-item-price .cart-current-price {
  font-weight: 600;
  color: #d32f2f;
  font-size: .85rem;
}

.cart-sidebar-panel .cart-sidebar-body .cart-sidebar-item .cart-item-details .cart-price-quantity .cart-item-price .cart-original-price {
  text-decoration: line-through;
  font-size: .75rem;
  color: #999;
}

.cart-sidebar-panel .cart-sidebar-body .cart-sidebar-item .cart-item-details .cart-price-quantity .cart-quantity-control {
  display: flex;
  align-items: center;
  border: 1px solid #eee;
  border-radius: 4px;
  overflow: hidden;
  height: 24px;
}

.cart-sidebar-panel .cart-sidebar-body .cart-sidebar-item .cart-item-details .cart-price-quantity .cart-quantity-control button.cart-quantity-btn {
  width: 24px;
  height: 24px;
  border: none;
  background: #f0f0f0;
  color: #555;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: all .15s;
  font-size: 14px;
}

.cart-sidebar-panel .cart-sidebar-body .cart-sidebar-item .cart-item-details .cart-price-quantity .cart-quantity-control button.cart-quantity-btn:hover {
  background: #e0e0e0;
  color: #333;
}

.cart-sidebar-panel .cart-sidebar-body .cart-sidebar-item .cart-item-details .cart-price-quantity .cart-quantity-control button.cart-quantity-btn:active {
  background: #d0d0d0;
}

.cart-sidebar-panel .cart-sidebar-body .cart-sidebar-item .cart-item-details .cart-price-quantity .cart-quantity-control button.cart-quantity-btn:disabled {
  opacity: .5;
  cursor: not-allowed;
}

.cart-sidebar-panel .cart-sidebar-body .cart-sidebar-item .cart-item-details .cart-price-quantity .cart-quantity-control span {
  padding: 0 .5rem;
  font-size: .8rem;
  min-width: 1.5rem;
  text-align: center;
  user-select: none;
  color: #333;
  font-weight: 500;
}

.cart-sidebar-panel .cart-sidebar-body .cart-sidebar-item .cart-remove-item {
  position: absolute;
  top: 8px;
  right: 8px;
  background: none;
  border: none;
  font-size: 1rem;
  color: #ccc;
  cursor: pointer;
  padding: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all .15s;
}

.cart-sidebar-panel .cart-sidebar-body .cart-sidebar-item .cart-remove-item:hover {
  color: #d32f2f;
  background-color: #d32f2f1a;
}

.cart-sidebar-panel .cart-sidebar-footer {
  padding: 1rem;
  background-color: #f9f9f9;
  border-top: 1px solid #eee;
}

.cart-sidebar-panel .cart-sidebar-footer .cart-subtotal {
  display: flex;
  justify-content: space-between;
  padding: .5rem 0;
  font-size: .95rem;
}

.cart-sidebar-panel .cart-sidebar-footer .cart-subtotal span:first-child {
  color: #555;
}

.cart-sidebar-panel .cart-sidebar-footer .cart-subtotal span:last-child {
  font-weight: 700;
  color: #111;
}

.cart-sidebar-panel .cart-sidebar-footer .cart-sidebar-actions {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  margin-top: .75rem;
}

.cart-sidebar-panel .cart-sidebar-footer .cart-sidebar-actions .cart-checkout-btn {
  padding: .7rem;
  background: #222;
  color: #fff;
  text-align: center;
  text-decoration: none;
  font-weight: 500;
  font-size: .9rem;
  border: none;
  cursor: pointer;
  border-radius: 4px;
  transition: all .2s;
}

.cart-sidebar-panel .cart-sidebar-footer .cart-sidebar-actions .cart-checkout-btn:hover {
  background: #000;
  transform: translateY(-1px);
}

.cart-sidebar-panel .cart-sidebar-footer .cart-sidebar-actions .cart-clear-btn {
  padding: .6rem;
  background: none;
  border: 1px solid #ddd;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
  font-size: .85rem;
  transition: all .15s;
  color: #666;
}

.cart-sidebar-panel .cart-sidebar-footer .cart-sidebar-actions .cart-clear-btn:hover {
  border-color: #d32f2f;
  color: #d32f2f;
  background-color: #d32f2f0d;
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideOut {
  from {
    transform: translateX(0);
    opacity: 1;
  }

  to {
    transform: translateX(100%);
    opacity: 0;
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

@media (width <= 480px) {
  .cart-sidebar-panel {
    width: 100%;
  }
}

/*# sourceMappingURL=app_components_cart_CartSidebar_scss_b52d8e.css.map*/