* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #f5f5f5;
    font-family: 'Roboto', sans-serif;
    color: #1a1a1a;
}

header {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    min-height: 80px;
    background: linear-gradient(112deg, rgb(207, 115, 194) 0%, rgb(207, 228, 86) 50%, rgb(244, 115, 194) 100%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}

.heading {
    font-family: 'Dancing Script', cursive;
    font-style: normal;
    font-weight: 700;
    font-size: clamp(2.4rem, 5vw, 4.4rem);
    line-height: 1;
    color: #1f1f1f;
    text-shadow: 0 0 2px rgba(255, 255, 255, 0.75);
}

.cart,
.cartt,
.buttoncart,
.add,
.minus,
.plus,
.buynoww,
.apply,
.cash,
.gpay,
.closecash,
.closegay,
.clear {
    transition: transform 0.15s ease, background-color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.cart {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 120px;
    height: 48px;
    border: none;
    border-radius: 8px;
    background-color: rgb(12, 131, 31);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

.cart:hover {
    transform: scale(1.04);
}

.cartfixed {
    visibility: hidden;
    position: fixed;
    right: 18px;
    top: 18px;
    z-index: 999;
}

.buttoncart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 56px;
    height: 36px;
    border: none;
    border-radius: 8px;
    background-color: #8c03f5;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
}

#noitems,
#noitemss,
#noitemsfixed {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}

.fa-angles-right,
.fa-angles-left {
    font-size: 30px;
    color: #0c0b0b;
}

.fa-angles-right {
    margin-right: 25px;
    animation: arrow-move 2s infinite;
}

@keyframes arrow-move {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(6px);
    }
}

.products {
    display: flex;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
    padding: 40px 24px 0;
}

.product1,
.product2,
.product3,
.product4 {
    width: min(100%, 300px);
    min-height: 450px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: #fff;
    border: 1px solid #e2e2e2;
    border-radius: 14px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.product1:hover,
.product2:hover,
.product3:hover,
.product4:hover {
    transform: translateY(-4px);
    border-color: #f5a623;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
}

.iproduct1 {
    width: 100%;
    height: 230px;
    object-fit: contain;
    background-color: #fafafa;
    padding: 12px;
    display: block;
}

.text {
    width: 100%;
    padding: 10px 12px 0;
}

.text p {
    font-family: 'Roboto Mono', monospace;
    font-size: 13px;
    line-height: 1.45;
    color: #444;
    text-align: center;
}

.prize {
    margin-top: 6px;
    font-size: 18px !important;
    font-weight: 700;
    color: #8b00d4;
}

.stock {
    margin-top: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: #666;
}

.addbutton {
    display: flex;
    justify-content: center;
    margin-top: auto;
    padding: 12px 0 14px;
}

.add {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 6px 18px;
    border: none;
    border-radius: 20px;
    background-color: rgb(245, 171, 34);
    color: #1a1a1a;
    font-size: 13px;
    font-weight: 700;
}

.add:hover {
    transform: scale(1.04);
    background-color: #e0951a;
}

.stock,
.addbutton,
.plusminus {
    width: 100%;
}

.plusminus {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.minus,
.plus {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 28px;
    border: 2px solid rgb(245, 171, 34);
    border-radius: 7px;
    background-color: rgb(245, 171, 34);
    color: #1a1a1a;
    font-size: 15px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(245, 171, 34, 0.28);
}

.minus:hover,
.plus:hover {
    transform: scale(1.1);
}

#quantitytemptations,
#quantityrost,
#quantitykitkat,
#quantitymilkybar,
#quantitylays,
#quantitypringles,
#quantitykerelachips,
#quantitykurkure,
#quantitypepsi,
#quantitypulpy,
#quantitypomegranate,
#quantityvanilla {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 28px;
    margin: 0;
    border-radius: 7px;
    border: 2px solid rgb(185, 144, 247);
    background-color: rgb(172, 170, 175);
    color: #1a1a1a;
    font-size: 16px;
    font-weight: 700;
}

.empty {
    display: flex;
    justify-content: center;
    padding: 24px 0 14px;
}

.cartt {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 160px;
    height: 48px;
    border: none;
    border-radius: 8px;
    background-color: rgb(241, 81, 206);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
}

.cartt:hover {
    transform: scale(1.04);
}

.cartbox {
    width: min(98%, 1200px);
    margin: 12px auto 0;
    visibility: hidden;
    background-color: rgb(237, 234, 234);
    color: #333;
    border: 2px solid #b6b6b6;
    border-radius: 10px;
    overflow: hidden;
}

.cartbox nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    background: #1a1a1a;
}

.yourcart {
    font-size: 24px;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    color: #f5a623;
}

.exit {
    cursor: pointer;
    border: none;
    background: none;
    color: #fff;
}

.fa-regular {
    font-size: 28px;
}

.exit:hover {
    transform: scale(1.08);
}

.horizondal {
    display: flex;
    flex-direction: column;
    padding: 14px 16px 18px;
}

li {
    list-style: none;
}

.selectedproducts {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 280px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 4px;
}

.selectedproducts::-webkit-scrollbar {
    width: 6px;
}

.selectedproducts::-webkit-scrollbar-thumb {
    background: #c5c5c5;
    border-radius: 999px;
}

.selectedproduct,
.selectedproduct2,
.selectedproduct3,
.selectedproduct4,
.selectedproduct5,
.selectedproduct6,
.selectedproduct7,
.selectedproduct8,
.selectedproduct9,
.selectedproduct10,
.selectedproduct11,
.selectedproduct12,
.selectedproduct13 {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background-color: #fff;
}

.selectedproduct img,
.selectedproduct2 img,
.selectedproduct3 img,
.selectedproduct4 img,
.selectedproduct5 img,
.selectedproduct6 img,
.selectedproduct7 img,
.selectedproduct8 img,
.selectedproduct9 img,
.selectedproduct10 img,
.selectedproduct11 img,
.selectedproduct12 img,
.selectedproduct13 img {
    width: 72px;
    height: 72px;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 6px;
    background: #fafafa;
}

.cartinside {
    display: flex;
    align-items: center;
    color: #0243f4;
    font-family: 'Roboto Mono', monospace;
    font-size: 14px;
}

.bill {
    margin-top: 14px;
    text-align: center;
    font-family: 'Roboto', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
}

.total {
    margin-top: 6px;
    text-align: center;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #f00;
}

.buynowbutton {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 14px;
    flex-wrap: wrap;
}

.clear {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 108px;
    height: 36px;
    border: 2px solid #d0d0d0;
    border-radius: 8px;
    background-color: #fff;
    color: #1a1a1a;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    cursor: pointer;
}

.clear:hover {
    transform: scale(1.04);
    border-color: #f5a623;
}

.clearing,
.clearimg {
    width: 18px;
    height: 18px;
    vertical-align: middle;
}

.buynoww {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 36px;
    border: none;
    border-radius: 8px;
    background-color: #1a1a1a;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.buynoww:hover {
    transform: scale(1.04);
    background-color: #333;
}

.payments,
.cashpage,
.gpaypage {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(95vw, 520px);
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 14px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
    z-index: 200;
    visibility: hidden;
}

.payments {
    padding: 24px;
    max-height: 90vh;
    overflow-y: auto;
}

.payment {
    display: block;
    text-align: center;
    font-family: 'Roboto', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #007bff;
}

.payments .exit,
.gpaypage .exit,
.cashpage .exit {
    position: absolute;
    top: 12px;
    right: 12px;
    color: #666;
}

.payments .fa-regular,
.gpaypage .fa-regular,
.cashpage .fa-regular {
    font-size: 24px;
    color: inherit;
}

.totalamt {
    margin-top: 18px;
    text-align: center;
    font-family: 'Roboto', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
}

.Do {
    margin-top: 16px;
    text-align: center;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    color: #555;
}

.discount {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.inputdiscount {
    width: min(100%, 320px);
    height: 40px;
    margin-top: 14px;
    padding: 0 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
}

.inputdiscount:focus {
    border-color: #f5a623;
}

.apply {
    margin-top: 10px;
    padding: 0 16px;
    height: 38px;
    border: none;
    border-radius: 8px;
    background-color: #4caf50;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.apply:hover {
    transform: scale(1.04);
    background-color: #3d9e41;
}

.discounted,
.finalprice {
    text-align: center;
}

.discounted {
    margin-top: 12px;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: green;
}

.finalprice {
    margin-top: 8px;
    font-family: 'Roboto', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
}

.payoption {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.cash,
.gpay {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 140px;
    padding: 12px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    background-color: #fff;
    color: #1a1a1a;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}

.cash:hover {
    transform: scale(1.04);
    border-color: #f5a623;
    background-color: #fffaf0;
}

.gpay:hover {
    transform: scale(1.04);
    border-color: #1a6ef5;
    background-color: #f0f4ff;
}

.cashicon,
.gpayicon {
    width: 28px;
    height: 28px;
    object-fit: contain;
    vertical-align: middle;
}

.cashpage {
    min-height: 360px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: fixed;
    overflow: hidden;
}

.cashloader {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.load,
.load1,
.load2 {
    text-align: center;
    font-family: 'Roboto', sans-serif;
    font-size: 24px;
    font-weight: 500;
    color: #444;
}

.load1,
.load2 {
    visibility: hidden;
}

.load {
    margin: 0;
}

.loading {
    width: 46px;
    height: 46px;
    border: 5px solid rgba(103, 105, 105, 0.3);
    border-bottom-color: #00e5fe;
    border-radius: 50%;
    display: block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
    margin: 0;
    visibility: hidden;
}

.thankyou {
    position: absolute;
    inset: 0;
    padding: 30px;
    width: 100%;
    visibility: hidden;
    text-align: center;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.cashheading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 4px;
    font-family: 'Roboto', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
}

.correct {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.thank {
    margin-top: 16px;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    color: #555;
}

.rating {
    width: min(100%, 360px);
    margin: 18px auto 18px;
    padding: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    background-color: #fafafa;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.rate {
    text-align: center;
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #555;
}

.stars {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-top: 10px;
    width: 100%;
}

#star1,
#star2,
#star3,
#star4,
#star5 {
    width: 38px;
    height: 38px;
    border: none;
    background: transparent;
    cursor: pointer;
    color: #ccc;
    padding: 0;
}

#star1 i,
#star2 i,
#star3 i,
#star4 i,
#star5 i {
    font-size: 30px;
}

#starfilled {
    color: #f5c518;
    font-size: 24px;
}

.closecash {
    width: 110px;
    height: 36px;
    margin-top: 10px;
    border: none;
    border-radius: 8px;
    background-color: #1a6ef5;
    color: #fff;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.closecash:hover {
    transform: scale(1.04);
    background-color: #1558cc;
}

.gpaypage {
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.scan {
    text-align: center;
    font-family: 'Roboto', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 16px;
}

.qrcode {
    width: 180px;
    height: 180px;
    object-fit: contain;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.closegay {
    width: 160px;
    height: 36px;
    margin-top: 18px;
    border: none;
    border-radius: 8px;
    background-color: #1a6ef5;
    color: #fff;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.closegay:hover {
    transform: scale(1.04);
    background-color: #1558cc;
}

.summa {
    height: 60px;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}