/* Cart Side Panel */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
  }
  
  .cart-overlay.active {
    opacity: 1;
    visibility: visible;
  }
  
  .cart-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 450px;
    height: 100%;
    background: linear-gradient(135deg, #f8f5ff 0%, #ffffff 100%);
    box-shadow: -5px 0 25px rgba(177, 156, 217, 0.2);
    z-index: 10001;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
  }
  
  .cart-overlay.active .cart-panel {
    transform: translateX(0);
  }
  
  .cart-header {
    background: linear-gradient(135deg, #b19cd9, #d1b3ff);
    color: white;
    padding: 2rem 1.5rem 1.5rem;
    position: sticky;
    top: 0;
    z-index: 1;
    box-shadow: 0 2px 10px rgba(177, 156, 217, 0.3);
  }
  
  .cart-header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
  }
  
  .cart-title {
    font-family: "Playfair Display", serif;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
  }
  
  .cart-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
  }
  
  .cart-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
  }
  
  .cart-count {
    font-family: "Inter", sans-serif;
    font-size: 1rem;
    opacity: 0.9;
  }
  
  .cart-content {
    padding: 1.5rem;
    min-height: calc(100vh - 300px);
  }
  
  .cart-empty {
    text-align: center;
    padding: 3rem 1rem;
  }
  
  .cart-empty-icon {
    font-size: 4rem;
    color: #b19cd9;
    margin-bottom: 1rem;
    opacity: 0.6;
  }
  
  .cart-empty-title {
    font-family: "Playfair Display", serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #2d2d2d;
    margin-bottom: 0.5rem;
  }
  
  .cart-empty-text {
    font-family: "Inter", sans-serif;
    color: #666666;
  }
  
  .cart-item {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 3px 15px rgba(177, 156, 217, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e6d7ff;
  }
  
  .cart-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(177, 156, 217, 0.15);
  }
  
  .cart-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
  }
  
  .cart-item-image {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    object-fit: cover;
    border: 2px solid #e6d7ff;
  }
  
  .cart-item-info {
    flex: 1;
    margin-left: 1rem;
  }
  
  .cart-item-name {
    font-family: "Playfair Display", serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d2d2d;
    margin-bottom: 0.25rem;
  }
  
  .cart-item-color {
    font-family: "Inter", sans-serif;
    font-size: 0.9rem;
    color: #666666;
  }
  
  .cart-item-remove {
    background: none;
    border: none;
    color: #ff4757;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
  }
  
  .cart-item-remove:hover {
    background: rgba(255, 71, 87, 0.1);
    transform: scale(1.1);
  }
  
  .cart-item-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  
  .quantity-btn {
    background: #e6d7ff;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #2d2d2d;
    font-weight: 600;
    font-size: 14px;
  }
  
  .quantity-btn:hover {
    background: #b19cd9;
    color: white;
    transform: scale(1.1);
  }
  
  .quantity-display {
    font-family: "Inter", sans-serif;
    font-weight: 600;
    color: #2d2d2d;
    min-width: 30px;
    text-align: center;
    font-size: 16px;
  }
  
  .cart-item-price {
    font-family: "Inter", sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: #b19cd9;
  }
  
  .cart-footer {
    background: white;
    padding: 1.5rem;
    border-top: 2px solid #e6d7ff;
    position: sticky;
    bottom: 0;
  }
  
  .cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding: 1rem;
    background: #f8f5ff;
    border-radius: 10px;
    border: 1px solid #e6d7ff;
  }
  
  .cart-total-label {
    font-family: "Playfair Display", serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: #2d2d2d;
  }
  
  .cart-total-amount {
    font-family: "Inter", sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #b19cd9;
  }
  
  /* Added cart-buttons container for two buttons */
  .cart-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .continue-shopping-btn {
    width: 100%;
    background: white;
    color: #b19cd9;
    border: 2px solid #b19cd9;
    padding: 0.9rem 2rem;
    border-radius: 12px;
    font-family: "Inter", sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
  }
  
  .continue-shopping-btn:hover {
    background: #f8f5ff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(177, 156, 217, 0.2);
  }
  
  .checkout-btn {
    width: 100%;
    background: linear-gradient(135deg, #b19cd9, #d1b3ff);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-family: "Inter", sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
  }
  
  .checkout-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
  }
  
  .checkout-btn:hover::before {
    left: 100%;
  }
  
  .checkout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(177, 156, 217, 0.4);
  }
  
  /* Responsive Design */
  @media (max-width: 768px) {
    .cart-panel {
      width: 100%;
      max-width: 400px;
    }
  }
  
  @media (max-width: 480px) {
    .cart-panel {
      width: 100%;
      max-width: 100%;
    }
  
    .cart-title {
      font-size: 1.5rem;
    }
  
    .cart-item {
      padding: 1rem;
    }
  
    .cart-item-image {
      width: 50px;
      height: 50px;
    }
  
    .cart-item-name {
      font-size: 1rem;
    }
  }
  