/* shop/components/CartWrapper.vue */

/* Плавающая кнопка корзины */
.floating-cart-btn[data-v-17da1949] {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9998;
  background: var(--17da1949-settings\.accentColor\ \|\|\ \"\#2563eb\");
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s, box-shadow 0.2s;
}
.floating-cart-btn[data-v-17da1949]:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}
.floating-cart-btn[data-v-17da1949]:active {
  transform: translateY(0);
}
.floating-cart-btn i[data-v-17da1949] {
  font-size: 18px;
}
.cart-btn-text[data-v-17da1949] {
  white-space: nowrap;
}
@media (max-width: 768px) {
.floating-cart-btn[data-v-17da1949] {
    bottom: 20px;
    right: 20px;
    width: 56px;
    height: 56px;
    padding: 0;
    border-radius: 50%;
    justify-content: center;
}
.floating-cart-btn i[data-v-17da1949] {
    font-size: 20px;
}
.cart-btn-text[data-v-17da1949] {
    display: none;
}
}

/* Панель корзины */
.shopping-cart-wrapper[data-v-17da1949] {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s, visibility 0.3s;
}
.shopping-cart-wrapper.open[data-v-17da1949] {
  visibility: visible;
  opacity: 1;
}
.cart-overlay[data-v-17da1949] {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(2px);
}
.cart-panel[data-v-17da1949] {
  position: absolute;
  top: 0;
  right: 0;
  width: 420px;
  max-width: 100%;
  height: 100%;
  background: #fff;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -5px 0 30px rgba(0,0,0,0.15);
}
@media (max-width: 480px) {
.cart-panel[data-v-17da1949] {
    width: 100%;
}
}
.shopping-cart-wrapper.open .cart-panel[data-v-17da1949] {
  transform: translateX(0);
}

/* Header */
.cart-panel-header[data-v-17da1949] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid #eee;
}
.cart-title[data-v-17da1949] {
  font-size: 18px;
  font-weight: 600;
}
.close-btn[data-v-17da1949] {
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: #999;
  line-height: 1;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.close-btn[data-v-17da1949]:hover {
  color: #000;
}

/* Items list */
.cart-items-scroll[data-v-17da1949] {
  flex: 1;
  overflow-y: auto;
  padding: 16px 24px;
}
.empty-cart[data-v-17da1949] {
  text-align: center;
  color: #888;
  padding: 40px 0;
}
.mini-cart-item[data-v-17da1949] {
  display: flex;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid #f0f0f0;
  position: relative;
}
.mini-cart-item[data-v-17da1949]:last-child {
  border-bottom: none;
}
.item-img[data-v-17da1949] {
  width: 80px;
  height: 80px;
  background: #f8f8f8;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}
.item-img img[data-v-17da1949] {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.item-content[data-v-17da1949] {
  flex: 1;
  min-width: 0;
  padding-right: 30px;
}
.item-title[data-v-17da1949] {
  font-size: 14px;
  line-height: 1.4;
  color: #d4a528;
  text-decoration: none;
  display: block;
  margin-bottom: 4px;
}
.item-title[data-v-17da1949]:hover {
  text-decoration: underline;
}
.item-price[data-v-17da1949] {
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 10px;
}
.item-controls[data-v-17da1949] {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Quantity selector */
.quantity-selector[data-v-17da1949] {
  display: flex;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 4px;
  overflow: hidden;
}
.qty-btn[data-v-17da1949] {
  width: 32px;
  height: 32px;
  border: none;
  background: #fff;
  cursor: pointer;
  font-size: 16px;
  color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.qty-btn[data-v-17da1949]:hover:not(:disabled) {
  background: #f5f5f5;
}
.qty-btn[data-v-17da1949]:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.qty-value[data-v-17da1949] {
  width: 36px;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  border-left: 1px solid #ddd;
  border-right: 1px solid #ddd;
  padding: 6px 0;
}

/* Remove button */
.remove-btn[data-v-17da1949] {
  position: absolute;
  top: 16px;
  right: 0;
  width: 24px;
  height: 24px;
  border: none;
  background: none;
  cursor: pointer;
  color: #999;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: color 0.2s;
}
.remove-btn[data-v-17da1949]:hover:not(:disabled) {
  color: #e74c3c;
}
.remove-btn[data-v-17da1949]:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Footer */
.cart-footer[data-v-17da1949] {
  padding: 20px 24px;
  border-top: 1px solid #eee;
  background: #fff;
}
.cart-total-row[data-v-17da1949] {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  font-size: 16px;
}
.total-price[data-v-17da1949] {
  font-weight: 700;
  font-size: 20px;
}
.checkout-btn-main[data-v-17da1949] {
  display: block;
  width: 100%;
  padding: 16px;
  background: var(--color-button, #ffc107);
  color: var(--color-button-text, #000);
  text-align: center;
  text-decoration: none;
  font-weight: 700;
  border-radius: 8px;
  font-size: 16px;
  transition: background 0.2s, opacity 0.2s;
}
.checkout-btn-main[data-v-17da1949]:hover {
  opacity: 0.9;
}

