/* Cart Hero Section */
.cart-hero-section {
  position: relative;
  width: 100%;
  height: 50vh;
  min-height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
  overflow: hidden;
}

.cart-hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(238,66,102,0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(238,66,102,0.06) 0%, transparent 50%);
  pointer-events: none;
}

.cart-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), rgba(255,255,255,0.7));
  z-index: 1;
}

.cart-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 20px;
}

.cart-hero-subtitle {
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #8c92a0;
  margin-bottom: 20px;
}

.cart-hero-title {
  font-size: 64px;
  font-weight: 300;
  letter-spacing: 8px;
  text-transform: uppercase;
  color: #25262a;
  margin-bottom: 20px;
  line-height: 1.2;
}

.cart-hero-description {
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 1.5px;
  color: #8c92a0;
  margin: 0;
}

@media (max-width: 768px) {
  .cart-hero-section {
    height: 45vh;
    min-height: 300px;
  }
  
  .cart-hero-title {
    font-size: 40px;
    letter-spacing: 4px;
  }
  
  .cart-hero-subtitle {
    font-size: 12px;
    letter-spacing: 2px;
  }
  
  .cart-hero-description {
    font-size: 14px;
    letter-spacing: 1px;
  }
}

@media (max-width: 576px) {
  .cart-hero-title {
    font-size: 32px;
    letter-spacing: 3px;
  }
}

/* Cart Section */
.cart-section {
  padding: 80px 0;
  background: #fff;
}

/* Cart Header */
.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid #edf0f5;
}

.cart-count h3 {
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #25262a;
  margin: 0;
}

.cart-count span {
  color: #ee4266;
  font-weight: 600;
}

.cart-actions {
  display: flex;
  gap: 10px;
}

.btn-clear-cart {
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1px solid #d4d7dc;
  color: #25262a;
  padding: 10px 20px;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
}

.btn-clear-cart:hover {
  background: #ee4266;
  border-color: #ee4266;
  color: #fff;
}

.btn-clear-cart .icon-trash {
  font-size: 14px;
}

/* Empty Cart State */
.empty-cart {
  text-align: center;
  padding: 80px 20px;
}

.empty-cart-icon {
  font-size: 80px;
  color: #edf0f5;
  margin-bottom: 30px;
}

.empty-cart-icon .icon-shopping-bag {
  font-size: 80px;
}

.empty-cart h3 {
  font-size: 24px;
  font-weight: 300;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #25262a;
  margin-bottom: 15px;
}

.empty-cart p {
  font-size: 14px;
  color: #8c92a0;
  margin-bottom: 30px;
}

.btn-shop-now {
  display: inline-block;
  padding: 14px 40px;
  background: #ee4266;
  border: 1px solid #ee4266;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 1.5px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-shop-now:hover {
  background: #d63555;
  border-color: #d63555;
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(238, 66, 102, 0.3);
}

/* Cart Items Grid */
.cart-items-grid {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -8px;
}

/* Cart Item Card */
.cart-item-card {
  position: relative;
  background: #fff;
  border: 1px solid #edf0f5;
  border-radius: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.cart-item-card:hover {
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  border-color: #ee4266;
  transform: translateY(-3px);
}

.cart-item-remove-card {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 28px;
  height: 28px;
  background: #fff;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.cart-item-remove-card:hover {
  background: #ee4266;
  transform: rotate(90deg) scale(1.1);
}

.cart-item-remove-card:hover .icon-close {
  color: #fff;
}

.cart-item-remove-card .icon-close {
  font-size: 11px;
  color: #25262a;
  transition: color 0.3s ease;
}

.cart-item-card-image {
  position: relative;
  overflow: hidden;
  background: #f9f9f9;
  height: 0;
  padding-bottom: 140%;
}

.cart-item-card-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.cart-item-card:hover .cart-item-card-image img {
  transform: scale(1.08);
}

.cart-item-card-image a {
  display: block;
  height: 100%;
}

.cart-item-card-details {
  padding: 15px 12px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.cart-item-card-name {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 6px;
  line-height: 1.4;
  min-height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-item-card-name a {
  color: #25262a;
  text-decoration: none;
  transition: color 0.3s ease;
}

.cart-item-card:hover .cart-item-card-name a {
  color: #ee4266;
}

.cart-item-card-meta {
  font-size: 10px;
  color: #8c92a0;
  margin: 0 0 8px 0;
  letter-spacing: 0.5px;
}

.cart-item-card-price {
  font-size: 13px;
  color: #25262a;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

.cart-item-card-quantity {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  border: 1px solid #d4d7dc;
  border-radius: 0;
  overflow: hidden;
  margin-bottom: 10px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.qty-btn-card {
  width: 32px;
  height: 32px;
  background: #fff;
  border: none;
  border-right: 1px solid #d4d7dc;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.qty-btn-card:last-child {
  border-right: none;
  border-left: 1px solid #d4d7dc;
}

.qty-btn-card:hover {
  background: #ee4266;
}

.qty-btn-card:hover .icon-minus,
.qty-btn-card:hover .icon-plus {
  color: #fff;
}

.qty-btn-card .icon-minus,
.qty-btn-card .icon-plus {
  font-size: 11px;
  color: #25262a;
  transition: color 0.3s ease;
}

.qty-input-card {
  width: 45px;
  height: 32px;
  border: none;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: #25262a;
  background: #fafafa;
  outline: none;
  -moz-appearance: textfield;
  appearance: textfield;
}

.qty-input-card::-webkit-outer-spin-button,
.qty-input-card::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.cart-item-card-total {
  font-size: 12px;
  color: #8c92a0;
  margin: 0;
  padding-top: 10px;
  border-top: 1px solid #edf0f5;
  letter-spacing: 0.5px;
}

.cart-item-card-total span {
  color: #ee4266;
  font-weight: 700;
  font-size: 13px;
}

/* Old cart items styles - kept for compatibility */

.cart-item {
  background: #fff;
  border: 1px solid #edf0f5;
  border-radius: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  gap: 20px;
  padding: 20px;
}

.cart-item:hover {
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  border-color: #ee4266;
}

.cart-item-image {
  flex-shrink: 0;
  width: 120px;
  height: 160px;
  background: #f9f9f9;
  overflow: hidden;
}

.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.cart-item:hover .cart-item-image img {
  transform: scale(1.05);
}

.cart-item-image a {
  display: block;
  height: 100%;
}

.cart-item-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cart-item-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 15px;
}

.cart-item-info {
  flex: 1;
}

.cart-item-name {
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
  line-height: 1.4;
}

.cart-item-name a {
  color: #25262a;
  text-decoration: none;
  transition: color 0.3s ease;
}

.cart-item-name a:hover {
  color: #ee4266;
}

.cart-item-meta {
  font-size: 12px;
  color: #8c92a0;
  margin: 0;
  letter-spacing: 0.5px;
}

.cart-item-meta .divider {
  margin: 0 8px;
}

.cart-item-remove {
  width: 32px;
  height: 32px;
  background: #fff;
  border: 1px solid #d4d7dc;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.cart-item-remove:hover {
  background: #ee4266;
  border-color: #ee4266;
  transform: rotate(90deg);
}

.cart-item-remove:hover .icon-close {
  color: #fff;
}

.cart-item-remove .icon-close {
  font-size: 12px;
  color: #25262a;
  transition: color 0.3s ease;
}

.cart-item-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.cart-item-price,
.cart-item-total {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.price-label,
.total-label {
  font-size: 11px;
  color: #8c92a0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.price-value,
.total-value {
  font-size: 15px;
  color: #25262a;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.total-value {
  color: #ee4266;
}

/* Quantity Controls */
.cart-item-quantity {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid #d4d7dc;
  border-radius: 0;
  overflow: hidden;
}

.qty-btn {
  width: 36px;
  height: 36px;
  background: #fff;
  border: none;
  border-right: 1px solid #d4d7dc;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.qty-btn:last-child {
  border-right: none;
  border-left: 1px solid #d4d7dc;
}

.qty-btn:hover {
  background: #ee4266;
}

.qty-btn:hover .icon-minus,
.qty-btn:hover .icon-plus {
  color: #fff;
}

.qty-btn .icon-minus,
.qty-btn .icon-plus {
  font-size: 12px;
  color: #25262a;
  transition: color 0.3s ease;
}

.qty-input {
  width: 50px;
  height: 36px;
  border: none;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: #25262a;
  background: #fafafa;
  outline: none;
  -moz-appearance: textfield;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Cart Summary Wrapper */
.cart-summary-wrapper {
  position: sticky;
  top: 100px;
}

/* Coupon Section */
.coupon-section {
  background: #fafafa;
  border: 1px solid #edf0f5;
  padding: 25px;
  margin-bottom: 25px;
}

.summary-section-title {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #25262a;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.summary-section-title .icon-tag {
  font-size: 16px;
  color: #ee4266;
}

.coupon-form {
  margin: 0;
}

.coupon-input-group {
  display: flex;
  gap: 0;
  margin-bottom: 12px;
}

.coupon-input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid #d4d7dc;
  border-right: none;
  font-size: 13px;
  letter-spacing: 0.5px;
  outline: none;
  transition: border-color 0.3s ease;
}

.coupon-input:focus {
  border-color: #ee4266;
}

.btn-apply-coupon {
  padding: 12px 24px;
  background: #25262a;
  border: 1px solid #25262a;
  color: #fff;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-apply-coupon:hover {
  background: #ee4266;
  border-color: #ee4266;
}

.coupon-success,
.coupon-error {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  margin: 0;
  padding: 10px;
  border-radius: 2px;
}

.coupon-success {
  background: rgba(39, 174, 96, 0.1);
  color: #27ae60;
  border: 1px solid rgba(39, 174, 96, 0.2);
}

.coupon-error {
  background: rgba(231, 76, 60, 0.1);
  color: #e74c3c;
  border: 1px solid rgba(231, 76, 60, 0.2);
}

.coupon-success .icon-check,
.coupon-error .icon-close {
  font-size: 14px;
}

/* Order Summary */
.order-summary {
  background: #fff;
  border: 1px solid #edf0f5;
  padding: 30px;
}

.summary-title {
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #25262a;
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 1px solid #edf0f5;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  padding: 10px 0;
}

.summary-label {
  font-size: 13px;
  color: #8c92a0;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.summary-value {
  font-size: 14px;
  color: #25262a;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.discount-value {
  color: #27ae60;
}

.summary-total {
  border-top: 2px solid #edf0f5;
  padding-top: 20px;
  margin-top: 10px;
  margin-bottom: 25px;
}

.summary-total .summary-label {
  font-size: 15px;
  font-weight: 600;
  color: #25262a;
}

.summary-total .summary-value {
  font-size: 20px;
  color: #ee4266;
  font-weight: 700;
}

.summary-info {
  background: #fafafa;
  padding: 15px;
  margin-bottom: 25px;
  border-left: 3px solid #ee4266;
}

.summary-info p {
  font-size: 12px;
  color: #8c92a0;
  margin: 0;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.3px;
}

.summary-info p:last-child {
  margin-bottom: 0;
}

.summary-info .icon-check {
  color: #27ae60;
  font-size: 14px;
}

.summary-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn-checkout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 30px;
  background: #ee4266;
  border: 1px solid #ee4266;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 1.5px;
  font-weight: 700;
  transition: all 0.3s ease;
  text-align: center;
}

.btn-checkout:hover {
  background: #d63555;
  border-color: #d63555;
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(238, 66, 102, 0.3);
}

.btn-checkout .icon-credit-card {
  font-size: 16px;
}

.btn-continue-shopping {
  display: inline-block;
  padding: 14px 30px;
  background: #fff;
  border: 1px solid #d4d7dc;
  color: #25262a;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 1.5px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-align: center;
}

.btn-continue-shopping:hover {
  background: #25262a;
  border-color: #25262a;
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
}

/* Recommended Section */
.recommended-section {
  padding: 80px 0;
  background: #fff;
}

.recommended-product-item {
  background: #fff;
  border: 1px solid #edf0f5;
  border-radius: 0;
  overflow: hidden;
  transition: all 0.4s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.recommended-product-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-color: #ee4266;
}

.recommended-product-image {
  position: relative;
  overflow: hidden;
  background: #f9f9f9;
  height: 0;
  padding-bottom: 140%;
}

.recommended-product-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.recommended-product-item:hover .recommended-product-image img {
  transform: scale(1.08);
}

.recommended-product-image a {
  display: block;
  height: 100%;
}

.product-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: #25262a;
  color: #fff;
  padding: 6px 16px;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 400;
  z-index: 2;
}

.product-badge.sale {
  background: #ee4266;
}

.product-badge.new {
  background: #3498db;
}

.btn-add-to-wishlist {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 36px;
  height: 36px;
  background: #fff;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  opacity: 0;
  transform: translateX(10px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.recommended-product-item:hover .btn-add-to-wishlist {
  opacity: 1;
  transform: translateX(0);
}

.btn-add-to-wishlist:hover {
  background: #ee4266;
  transform: scale(1.1);
}

.btn-add-to-wishlist:hover .icon-heart-o {
  color: #fff;
}

.btn-add-to-wishlist .icon-heart-o {
  font-size: 16px;
  color: #25262a;
  transition: color 0.3s ease;
}

.recommended-product-info {
  padding: 20px 15px;
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.recommended-product-info h3 {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #25262a;
  margin-bottom: 12px;
  line-height: 1.5;
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.recommended-product-info h3 a {
  color: #25262a;
  text-decoration: none;
  transition: color 0.3s ease;
}

.recommended-product-item:hover .recommended-product-info h3 a {
  color: #ee4266;
}

.product-price {
  font-size: 14px;
  color: #25262a;
  font-weight: 600;
  margin-bottom: 15px;
}

.product-price del {
  color: #8c92a0;
  margin-right: 8px;
  font-size: 12px;
  font-weight: 400;
}

.btn-quick-add {
  display: inline-block;
  padding: 10px 24px;
  background: #fff;
  border: 1px solid #d4d7dc;
  color: #25262a;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 1.5px;
  font-weight: 600;
  transition: all 0.3s ease;
  margin-top: auto;
  cursor: pointer;
}

.btn-quick-add:hover {
  background: #ee4266;
  border-color: #ee4266;
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
}

/* Notification */
.cart-notification {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #25262a;
  color: #fff;
  padding: 16px 24px;
  border-radius: 4px;
  font-size: 13px;
  letter-spacing: 0.5px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.cart-notification.show {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 991px) {
  .cart-section {
    padding: 60px 0;
  }
  
  .cart-summary-wrapper {
    position: static;
    margin-bottom: 40px;
  }
  
  .cart-items-grid {
    margin: 0 -8px;
  }
  
  .cart-item-card-image {
    padding-bottom: 145%;
  }
  
  .recommended-section {
    padding: 60px 0;
  }
}

@media (max-width: 768px) {
  .cart-header {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  
  .cart-actions {
    width: 100%;
  }
  
  .btn-clear-cart {
    width: 100%;
    justify-content: center;
  }
  
  /* Card grid adjustments */
  .cart-items-grid {
    margin: 0 -6px;
  }
  
  .cart-items-grid .col-6 {
    padding-left: 6px;
    padding-right: 6px;
  }
  
  .cart-item-card {
    margin-bottom: 12px;
  }
  
  .cart-item-card-image {
    padding-bottom: 150%;
  }
  
  .cart-item-card-details {
    padding: 12px 10px;
  }
  
  .cart-item-card-name {
    font-size: 10px;
    min-height: 28px;
  }
  
  .cart-item-card-meta {
    font-size: 9px;
    margin-bottom: 6px;
  }
  
  .cart-item-card-price {
    font-size: 12px;
    margin-bottom: 8px;
  }
  
  .cart-item-card-quantity {
    margin-bottom: 8px;
  }
  
  .qty-btn-card {
    width: 28px;
    height: 28px;
  }
  
  .qty-input-card {
    width: 40px;
    height: 28px;
    font-size: 12px;
  }
  
  .cart-item-card-total {
    font-size: 11px;
    padding-top: 8px;
  }
  
  .cart-item-card-total span {
    font-size: 12px;
  }
  
  .cart-item-remove-card {
    width: 26px;
    height: 26px;
    top: 8px;
    right: 8px;
  }
  
  .cart-item-remove-card .icon-close {
    font-size: 10px;
  }
  
  /* Old horizontal cart items - hide on mobile */
  .cart-item {
    flex-direction: column;
    gap: 15px;
  }
  
  .cart-item-image {
    width: 100%;
    height: 250px;
  }
  
  .cart-item-footer {
    flex-wrap: wrap;
    gap: 15px;
  }
  
  .cart-item-price,
  .cart-item-quantity,
  .cart-item-total {
    flex: 1 1 calc(50% - 10px);
  }
  
  .cart-item-total {
    flex: 1 1 100%;
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
    padding-top: 15px;
    border-top: 1px solid #edf0f5;
  }
  
  .coupon-section {
    padding: 20px;
  }
  
  .order-summary {
    padding: 25px 20px;
  }
  
  .btn-add-to-wishlist {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (max-width: 576px) {
  .cart-section {
    padding: 40px 0;
  }
  
  .cart-header {
    margin-bottom: 30px;
  }
  
  .cart-count h3 {
    font-size: 16px;
  }
  
  /* Card grid on small mobile */
  .cart-items-grid {
    margin: 0 -5px;
  }
  
  .cart-items-grid .col-6 {
    padding-left: 5px;
    padding-right: 5px;
  }
  
  .cart-item-card {
    margin-bottom: 10px;
  }
  
  .cart-item-card-image {
    padding-bottom: 155%;
  }
  
  .cart-item-card-details {
    padding: 10px 8px;
  }
  
  .cart-item-card-name {
    font-size: 9px;
    letter-spacing: 0.5px;
    min-height: 26px;
  }
  
  .cart-item-card-meta {
    font-size: 8px;
  }
  
  .cart-item-card-price {
    font-size: 11px;
    margin-bottom: 6px;
  }
  
  .qty-btn-card {
    width: 26px;
    height: 26px;
  }
  
  .qty-btn-card .icon-minus,
  .qty-btn-card .icon-plus {
    font-size: 10px;
  }
  
  .qty-input-card {
    width: 36px;
    height: 26px;
    font-size: 11px;
  }
  
  .cart-item-card-quantity {
    margin-bottom: 6px;
  }
  
  .cart-item-card-total {
    font-size: 10px;
    padding-top: 6px;
  }
  
  .cart-item-card-total span {
    font-size: 11px;
  }
  
  .cart-item-remove-card {
    width: 24px;
    height: 24px;
    top: 6px;
    right: 6px;
  }
  
  .cart-item-remove-card .icon-close {
    font-size: 9px;
  }
  
  /* Old horizontal items */
  .cart-item {
    padding: 15px;
  }
  
  .cart-item-image {
    height: 220px;
  }
  
  .cart-item-name {
    font-size: 13px;
  }
  
  .cart-item-meta {
    font-size: 11px;
  }
  
  .cart-item-footer {
    flex-direction: column;
  }
  
  .cart-item-price,
  .cart-item-quantity,
  .cart-item-total {
    flex: 1 1 100%;
    width: 100%;
  }
  
  .cart-item-quantity {
    justify-content: center;
  }
  
  .coupon-section {
    padding: 18px 15px;
  }
  
  .order-summary {
    padding: 20px 15px;
  }
  
  .summary-title {
    font-size: 14px;
  }
  
  .btn-checkout,
  .btn-continue-shopping {
    padding: 14px 24px;
  }
  
  .empty-cart {
    padding: 60px 20px;
  }
  
  .empty-cart-icon {
    font-size: 60px;
  }
  
  .empty-cart-icon .icon-shopping-bag {
    font-size: 60px;
  }
  
  .empty-cart h3 {
    font-size: 20px;
  }
  
  .recommended-section {
    padding: 40px 0;
  }
  
  .recommended-product-image {
    padding-bottom: 150%;
  }
  
  .cart-notification {
    bottom: 20px;
    right: 20px;
    left: 20px;
    text-align: center;
  }
}

/* Extra small screens */
@media (max-width: 380px) {
  .cart-item-card-name {
    font-size: 8px;
    min-height: 24px;
  }
  
  .cart-item-card-price {
    font-size: 10px;
  }
  
  .cart-item-card-total {
    font-size: 9px;
  }
  
  .cart-item-card-total span {
    font-size: 10px;
  }
}

/* Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cart-item,
.cart-item-card {
  animation: fadeInUp 0.5s ease forwards;
}

.cart-item:nth-child(1),
.cart-item-card:nth-child(1) { animation-delay: 0.1s; }
.cart-item:nth-child(2),
.cart-item-card:nth-child(2) { animation-delay: 0.2s; }
.cart-item:nth-child(3),
.cart-item-card:nth-child(3) { animation-delay: 0.3s; }
.cart-item:nth-child(4),
.cart-item-card:nth-child(4) { animation-delay: 0.4s; }
.cart-item:nth-child(5),
.cart-item-card:nth-child(5) { animation-delay: 0.5s; }
