/**
 * BudMarket Cart Styles
 * Стилі для кошика БудМаркет
 */
/* Variables */
.cart-page-wrapper {
  background: #ffffff;
  min-height: 100vh;
  padding: 20px 0;
}
.cart-header {
  background: #ffffff;
  border-bottom: 1px solid #e1e1e1;
  margin-bottom: 30px;
  padding: 0 20px;
}
.cart-header .container {
  max-width: 1200px;
  margin: 0 auto;
}
.cart-title-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  position: relative;
}
.continue-shopping {
  color: #666666;
  text-decoration: none;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s ease;
}
.continue-shopping:hover {
  color: #E31E24;
}
.continue-shopping::before {
  content: '←';
  font-size: 16px;
}
.cart-title {
  font-size: 28px;
  font-weight: 700;
  margin: 0;
  color: #2B2B2B;
  text-align: center;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.remove-all-items {
  color: #666666;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}
.remove-all-items:hover {
  color: #E31E24;
}
.cart-content {
  background: white;
  border-radius: 8px;
  margin-bottom: 30px;
  overflow: hidden;
}
.cart-items-section {
  padding: 0;
}
.cart-item {
  display: grid;
  grid-template-columns: 40px 120px 1fr 120px 120px 40px;
  gap: 20px;
  padding: 20px;
  border-bottom: 1px solid #f0f0f0;
  align-items: center;
}
.cart-item:last-child {
  border-bottom: none;
}
.cart-item-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  border: 2px solid #ddd;
  border-radius: 3px;
}
.cart-item-image img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 6px;
}
.cart-item-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cart-item-name {
  font-size: 16px;
  font-weight: 500;
  color: #333;
  line-height: 1.4;
}
.cart-item-name a {
  color: #333;
  text-decoration: none;
}
.cart-item-name a:hover {
  color: #007cba;
}
.cart-item-sku {
  font-size: 12px;
  color: #888;
}
.sku-label {
  font-weight: 600;
}
.cart-item-shipping {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #666;
}
.delivery-icon {
  fill: #007cba;
}
.cart-item-quantity {
  display: flex;
  align-items: center;
  gap: 8px;
}
.cart-item-quantity input {
  width: 60px;
  height: 36px;
  border: 1px solid #ddd;
  border-radius: 4px;
  text-align: center;
  font-size: 14px;
}
.unit-label {
  font-size: 12px;
  color: #666;
}
.cart-item-price {
  text-align: right;
}
.current-price {
  font-size: 18px;
  font-weight: 600;
  color: #333;
}
.original-price {
  font-size: 14px;
  color: #888;
  text-decoration: line-through;
  margin-top: 4px;
}
.cart-item-remove .remove-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  color: #888;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.2s ease;
}
.cart-item-remove .remove-item:hover {
  background: #f8f9fa;
  color: #dc3545;
}
.cart-item-remove svg {
  width: 20px;
  height: 20px;
}
/* Підсумок кошика */
.cart-summary {
  background: #f8f9fa;
  padding: 30px;
  border-top: 1px solid #e0e0e0;
}
.cart-totals {
  max-width: 400px;
  margin-left: auto;
}
.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #e0e0e0;
}
.cart-total-row:last-child {
  border-bottom: none;
}
.discount-row .total-label {
  color: #666;
}
.discount-value {
  color: #28a745;
  font-weight: 600;
}
.final-total {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  padding: 15px 0;
  margin-top: 10px;
}
.checkout-button-wrapper {
  margin-top: 20px;
}
.checkout-button {
  display: block;
  width: 100%;
  background: #333;
  color: white;
  text-decoration: none;
  text-align: center;
  padding: 15px 20px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: background 0.3s ease;
}
.checkout-button:hover {
  background: #555;
  color: white;
}
/* Рекомендовані товари */
.cart-recommendations {
  background: white;
  padding: 30px 0;
  border-radius: 8px;
}
.recommendations-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #333;
}
.recommendations-grid,
.cart-recommendations-products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}
.recommendation-item {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 15px;
  text-align: center;
  transition: box-shadow 0.3s ease;
}
.recommendation-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.recommendation-image img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 10px;
}
.recommendation-title {
  font-size: 14px;
  font-weight: 500;
  margin: 10px 0 5px;
  line-height: 1.4;
}
.recommendation-title a {
  color: #333;
  text-decoration: none;
}
.recommendation-title a:hover {
  color: #007cba;
}
.recommendation-rating {
  margin: 5px 0;
  font-size: 12px;
}
.recommendation-price {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-top: 8px;
}
.recommendation-price .woocommerce-Price-amount {
  font-weight: 600;
}
/* Адаптивність */
@media (max-width: 1024px) {
  .cart-item {
    grid-template-columns: 40px 100px 1fr 100px 40px;
    gap: 15px;
  }
  .cart-item-price {
    grid-column: span 2;
    text-align: left;
    margin-top: 10px;
  }
}
@media (max-width: 768px) {
  .cart-title-section {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  .cart-item {
    grid-template-columns: 1fr;
    gap: 15px;
    text-align: left;
  }
  .cart-item-checkbox {
    order: -1;
    align-self: start;
  }
  .cart-item-image {
    order: -1;
    justify-self: center;
  }
  .cart-item-remove {
    order: 1;
    justify-self: end;
  }
  .cart-summary {
    padding: 20px;
  }
  .recommendations-grid {
    grid-template-columns: 1fr;
  }
}
/* Приховати стандартні стилі WooCommerce */
.woocommerce table.cart,
.woocommerce .cart-collaterals {
  display: none;
}
/* Переобначення стандартних класів */
.woocommerce-cart-form {
  margin: 0;
}
.woocommerce .cart_totals {
  display: none;
}
/*# sourceMappingURL=style.css.map */