/* ===========================
   PREMIUM CART PAGE STYLES
   =========================== */

/* Cart Hero Section */
.cart-hero {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    padding: 120px 20px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cart-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.cart-hero-content {
    position: relative;
    z-index: 1;
}

.cart-hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
}

.cart-hero p {
    font-size: 1.1rem;
    color: #aaa;
}

/* Cart Container */
.cart-container {
    max-width: 1400px;
    margin: 60px auto;
    padding: 0 20px 60px;
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
    align-items: start;
}

/* Cart Main Area */
.cart-main {
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 16px;
    padding: 30px;
    min-height: 400px;
}

.cart-items-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Empty Cart State */
.empty-cart {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 40px;
    text-align: center;
}

.empty-cart svg {
    color: rgba(212, 175, 55, 0.3);
    margin-bottom: 30px;
}

.empty-cart h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.empty-cart p {
    color: #888;
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.btn-browse {
    display: inline-block;
    padding: 14px 30px;
    background: linear-gradient(135deg, #d4af37 0%, #f4e4a6 100%);
    color: #000;
    text-decoration: none;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-browse:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

/* Cart Item */
.cart-item {
    display: grid;
    grid-template-columns: 80px 1fr auto auto;
    gap: 20px;
    align-items: center;
    padding: 20px;
    background: rgba(30, 30, 30, 0.4);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.cart-item:hover {
    border-color: rgba(212, 175, 55, 0.3);
    transform: translateX(5px);
}

.item-image {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    background: #1a1a1a;
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.item-info h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 5px;
}

.item-info p {
    color: #888;
    font-size: 0.9rem;
    margin: 0;
}

.item-quantity {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(20, 20, 20, 0.6);
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.qty-btn {
    background: none;
    border: none;
    color: #d4af37;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 4px 8px;
    transition: all 0.2s ease;
}

.qty-btn:hover {
    color: #f4e4a6;
    transform: scale(1.2);
}

.qty-display {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: #fff;
    min-width: 30px;
    text-align: center;
}

.item-price {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #d4af37;
    min-width: 70px;
    text-align: right;
}

.remove-btn {
    background: none;
    border: 1px solid rgba(255, 68, 68, 0.4);
    color: #ff4444;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.remove-btn:hover {
    background: #ff4444;
    color: #fff;
    transform: translateY(-2px);
}

/* Cart Sidebar */
.cart-sidebar {
    position: sticky;
    top: 100px;
}

.cart-summary {
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 16px;
    padding: 30px;
}

.cart-summary h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.summary-details {
    margin-bottom: 25px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    color: #aaa;
    font-size: 1rem;
}

.summary-row span:last-child {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: #fff;
}

.summary-divider {
    height: 1px;
    background: rgba(212, 175, 55, 0.2);
    margin: 15px 0;
}

.summary-total {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    padding-top: 15px;
}

.summary-total span:last-child {
    color: #d4af37;
    font-size: 1.8rem;
}

.btn-checkout {
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, #d4af37 0%, #f4e4a6 100%);
    color: #000;
    border: none;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.btn-checkout:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.btn-checkout:active {
    transform: translateY(0);
}

.btn-clear {
    width: 100%;
    padding: 12px 24px;
    background: none;
    border: 1px solid rgba(255, 68, 68, 0.4);
    color: #ff4444;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-clear:hover {
    background: rgba(255, 68, 68, 0.1);
    border-color: #ff4444;
}

.cart-benefits {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    color: #aaa;
    font-size: 0.95rem;
}

.benefit-item svg {
    color: #d4af37;
    flex-shrink: 0;
}

/* Footer */
.site-footer {
    background: #0a0a0a;
    padding: 40px 20px;
    text-align: center;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    margin-top: 0;
}

.copyright {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 968px) {
    .cart-container {
        grid-template-columns: 1fr;
    }

    .cart-sidebar {
        position: static;
    }

    .cart-item {
        grid-template-columns: 60px 1fr;
        gap: 15px;
    }

    .item-quantity,
    .item-price,
    .remove-btn {
        grid-column: 2;
    }
}

@media (max-width: 480px) {
    .cart-hero h1 {
        font-size: 2rem;
    }

    .cart-hero {
        padding: 100px 15px 40px;
    }

    .cart-main {
        padding: 20px;
    }

    .cart-item {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .item-image {
        margin: 0 auto;
    }

    .item-quantity {
        justify-content: center;
    }
}

/* ===========================
   RAZORPAY BUTTON STYLES
   =========================== */
#rzp-button1 {
    margin-top: 15px;
    width: 100%;
    background: linear-gradient(135deg, #3399cc 0%, #2b81ac 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 16px 24px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(51, 153, 204, 0.3);
    z-index: 1;
}

#rzp-button1::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #4aaadd 0%, #3399cc 100%);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

#rzp-button1::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.2),
            transparent);
    transition: 0.5s;
    z-index: 2;
}

#rzp-button1:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(51, 153, 204, 0.5);
    letter-spacing: 1.5px;
}

/* On hover, fade in the lighter gradient */
#rzp-button1:hover::before {
    opacity: 1;
}

/* Shine effect on hover */
#rzp-button1:hover::after {
    left: 100%;
}

#rzp-button1:active {
    transform: translateY(1px);
    box-shadow: 0 2px 10px rgba(51, 153, 204, 0.3);
}