/* ------------------------------------------------ /
/ --- Reusable CSS for Primary Button (Gold Shimmer) --- /
/ ------------------------------------------------ */



/* 🟡 Primary Button — Gold Gradient */
.btn-primary {
background: linear-gradient(135deg, #e7c65a, #b88916);
border: none;
color: #111;
font-weight: 700;
padding: 12px 24px;
border-radius: 12px;
letter-spacing: 0.5px;
font-size: 1rem;
position: relative;
overflow: hidden;
box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
transition: all 0.35s ease;
}

/* Subtle shimmer animation setup */
.btn-primary::before {
content: "";
position: absolute;
top: 0;
left: -75%;
width: 50%;
height: 100%;
background: linear-gradient(120deg, transparent, rgba(255,255,255,0.4), transparent);
transform: skewX(-25deg);
transition: all 0.6s ease;
}

/* Shimmer animation trigger on hover */
.btn-primary:hover::before {
left: 130%;
}

/* Hover: brighter gold and lifted effect */
.btn-primary:hover {
background: linear-gradient(135deg, #f5d76e, #e0b93d);
color: #000;
transform: translateY(-3px);
box-shadow: 0 8px 25px rgba(212, 175, 55, 0.55);
}

/* Click/Active state */
.btn-primary:active {
transform: translateY(0);
box-shadow: 0 2px 10px rgba(212, 175, 55, 0.3);
}


        /* Cart Section */
        .cart-section {
            padding: 50px 0;
            background: radial-gradient(circle at top, #111 0%, #000 100%);
            color: #fff;
            font-family: 'Poppins', sans-serif;
        }

        /* 🖤 Table Container */
        .table {
            background: rgba(255, 255, 255, 0.05);
            border-radius: 16px;
            overflow: hidden;
            border: 1px solid rgba(212, 175, 55, 0.2);
            box-shadow: 0 4px 20px rgba(212, 175, 55, 0.1);
            backdrop-filter: blur(6px);
        }

            .table th {
            background: rgba(212, 175, 55, 0.1);
            color: #d4af37;
            text-transform: uppercase;
            font-size: 0.9rem;
            letter-spacing: 0.05em;
            border-bottom: 1px solid rgba(212, 175, 55, 0.3);
        }

            .table td {
            color: #f1f1f1;
            vertical-align: middle;
            border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        }

        /* 🧮 Quantity Input and Buttons */
            .qty-input {
            color: #ffffffff;
            background-color: #fff;
            border: 2px solid #d4af37;
            padding: 6px;
            width: 60px;
            text-align: center;
            border-radius: 8px;
            font-weight: 600;
            transition: all 0.3s ease;
        }

            .qty-input:focus {
            border-color: #f5c542;
            box-shadow: 0 0 6px #d4af37;
            outline: none;
        }

            .qty-left-minus, .qty-right-plus {
            background: linear-gradient(135deg, #d4af37, #b88916);
            color: #000;
            border: none;
            height: auto;
            width: auto;
            padding: 6px 12px;
            border-radius: 8px;
            font-weight: 600;
            transition: all 0.3s ease;
        }

            .qty-left-minus:hover, .qty-right-plus:hover {
            background: linear-gradient(135deg, #f1c950, #e6b93e);
            transform: scale(1.05);
        }

        /* Summary Box */
            .summery-box {
            background: linear-gradient(180deg, rgba(212, 175, 55, 0.1), rgba(0, 0, 0, 0.9));
            width: auto;
            height: auto;
            padding: 25px;
            border-radius: 16px;
            border: 1px solid rgba(212, 175, 55, 0.2);
            box-shadow: 0 4px 25px rgba(212, 175, 55, 0.15);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

            .summery-box:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 35px rgba(212, 175, 55, 0.25);
        }

            .summery-box h4 {
            color: #d4af37;
            font-weight: 700;
            margin-bottom: 15px;
        }

            .summery-box p {
            color: #e0e0e0;
            font-size: 1rem;
        }

        /* Modal Styling */
    /* Custom Modal Styling */
.modal-content {
    background-color: #000; /* Black background */
    color: #fff; /* White text */
    border: 2px solid #d4af37; /* Golden border */
    border-radius: 12px;
}

.modal-header, .modal-footer {
    border-color: #333; /* Dark border for header/footer */
}

.modal-title {
    color: #d4af37; /* Golden title */
    font-weight: bold;
}

.btn-primary {
    background-color: #d4af37;
    border: none;
    color: #ffffff;
}

.btn-primary:hover {
    background-color: #c9a135;
    color: #000;
}

.btn-secondary {
    background-color: #444;
    color: #fff;
    border: none; 
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.btn-secondary:hover {
    background: linear-gradient(145deg, #555, #666);
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 6px 14px rgba(255, 255, 255, 0.1);
    color: #fff;
}

.modal-body {
    font-size: 1rem;
    padding: 1.5rem;
}

.btn-close {
    background-color: transparent;
    border: none;
    position: relative;
    width: 1.5rem;
    height: 1.5rem;
    opacity: 1;
    cursor: pointer;
}

/* Inject the "×" character */
.btn-close::before {
    content: '×';
    font-size: 1.5rem;
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    line-height: 1;
}

/* Optional hover effect */
.btn-close:hover::before {
    color: #d4af37;
}

/* ✖️ Close Button — Golden Glow */
.btn-close {
    background: linear-gradient(135deg, #d4af37, #b88916);
    color: #000;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    opacity: 1;
    border: none;
    font-size: 1rem;
    font-weight: bold;
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-close:hover {
    background: linear-gradient(135deg, #f5c542, #d4af37);
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.6);
}

.cart-section, .table, .summery-box, .modal-content {
    animation: fadeInUp 0.6s ease;
}

/* TOP-CENTERED Modal Layout */
.modal-dialog {
    display: flex;
    align-items: flex-start; /* Push toward top */
    justify-content: center;
    min-height: 100vh;
    margin-top: 20%; /* Adjust top distance */
}

