@import url('https://fonts.googleapis.com/css2?family=Anek+Kannada:wght@400;700&display=swap');

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
}

/* Container Section */
.container {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

/* Cart Section */
.cart {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    padding: 40px;
    margin: 0 auto;
    flex-direction: column;
    overflow-y: auto;
}

.cart h2 {
    font-size: 45px;
    font-weight: 700;
    color: #829BA3;
    margin-bottom: 15px;
    font-family: 'Anek Kannada', sans-serif;
    margin-left: 0px;
    margin-top: 100px;
}

.cart-item {
    display: flex;
    align-items: center;
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    width: 650px;
    transition: transform 0.3s ease-in-out;
    flex-direction: line;
}

.cart-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
}

.cart-item img {
    max-width: 100px;
    margin-right: 20px;
}

.cart-item h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.cart-item p {
    font-size: 25px;
    font-weight: 700;
    margin-bottom: 10px;
    font-family: 'Inter', sans-serif;
    color: #A11F1E;
    margin-left: 70px;
}

.cart-item input {
    padding: 6px;
    border: 1px solid #ccc;
    border-radius: 50px;
    font-size: 14px;
    background: #D7DFE2;
    width: 50px;
    margin-left: 100px;
}

/* Summary Section */
.summary {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    width: 30%;
    align-self: flex-start;
    margin-top: 50px;
    margin-right: -100px;
}

.summary h2 {
    font-size: 25px;
    font-weight: 700;
    color: #a00;
    margin-bottom: 15px;
    font-family: 'Anek Kannada', sans-serif;
    margin-left: 0px;
    margin-top: -10px;
}

.summary h5 {
    font-size: 11px;
    font-weight: 300;
    margin-bottom: 10px;
    font-family: 'Inter', sans-serif;
    color: #1C1C1C;
    margin-left: 280px;
    margin-top: -10px;
}

.summary p {
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    font-size: 20px;
    margin-bottom: 10px;
    font-family: 'Inter', sans-serif;
}

.summary-total {
    margin-left: 203px;
    font-size: 26px;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
}

.summary button {
    background: #829BA3;
    color: #fff;
    border: none;
    padding: 12px 18px;
    height: 35px;
    width: 267px;
    cursor: pointer;
    border-radius: 50px;
    font-size: 20px;
    font-weight: 700;
    transition: background 0.3s ease-in-out;
    display: inline-block;
    text-decoration: none;
    font-family: 'Anek Kannada', sans-serif;
    text-align: center;
    line-height: 10px;
    margin-top: 50px;
    margin-left: 30px;
}

.summary button:hover {
    background: #000;
}


.highlight {
    color: #d32f2f;
    font-family: 'Inter', sans-serif;
}

.intro {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin-top: 100px;
    margin-bottom: 30px;
}

.intro>* {
    margin-bottom: -30px !important;
}

.intro h2 {
    font-size: 16px;
    font-weight: 300;
    margin-bottom: 15px;
    font-family: 'Inter', sans-serif;
    color: #829BA3;
}

.intro h1 {
    font-size: 35px;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
}

/* Responsiveness Section */
@media (max-width: 1024px) {
    .cart-item {
        width: 350px;
        height: 280px;
        margin-left: 10px;
        flex-direction: column;
    }

    .cart-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
    }

    .cart-item input {
        margin-left: 60px;
    } 

    .summary {
        margin-right: 50px;
    }

    .summary-total {
        margin-left: 183px;
        font-size: 26px;
    }

    .summary h5 {
        margin-left: 260px;
    }
}

@media (max-width: 912px) {
    .summary-total {
        margin-left: 150px;
        font-size: 26px;
    }

    .summary h5 {
        margin-left: 225px;
    }
}

@media (max-width: 853px) {
    .summary-total {
        margin-left: 126px;
        font-size: 26px;
    }

    .summary button {
        width: 240px;
        margin-left: 10px;
    }

    .summary h5 {
        margin-left: 200px;
    }
}

@media (max-width: 820px) {
    .container {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    
    .cart-item {
        width: 650px;
    }

    .summary {
        min-width: 470px;
        min-height: 200px;
        max-width: 100%;
        max-height: auto;
        margin-left: 150px;
        margin-bottom: 20px;
    }

    .summary-total {
        margin-left: 346px;
        font-size: 26px;
    }

    .summary h5 {
        margin-left: 420px;
    }
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .summary {
        min-width: 470px;
        min-height: 200px;
        max-width: 100%;
        max-height: auto;
        margin-left: 120px;
        margin-bottom: 20px;
    }

    .summary-total {
        margin-left: 335px;
        font-size: 26px;
    }

    .summary h5 {
        margin-left: 395px;
    }
}

@media (max-width: 430px) {
    .container {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .summary {
        min-width: 340px;
        min-height: 200px;
        max-width: 100%;
        max-height: auto;
        margin-left: 20px;
        margin-bottom: 20px;
    }

    .summary-total {
        margin-left: 210px;
        font-size: 26px;
    }

    .summary h5 {
        margin-left: 290px;
    }

    .cart-item {
        width: 240px;
        height: 280px;
        margin-left: 10px;
        flex-direction: column;
        border: 1px solid #d5d5d5;
    }

    .cart-item:hover {
        transform: translateY(0px);
        box-shadow: 0 0px 0px rgba(0, 0, 0, 0.08);
    }

    .cart-item input {
        margin-left: 60px;
    }
}

@media (max-width: 412px) {
    .container {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .summary {
        min-width: 340px;
        min-height: 200px;
        max-width: 100%;
        max-height: auto;
        margin-left: 13px;
        margin-bottom: 20px;
    }

    .cart-item {
        width: 240px;
        height: 280px;
        margin-left: 10px;
        flex-direction: column;
        border: 1px solid #d5d5d5;
    }

    .cart-item:hover {
        transform: translateY(0px);
        box-shadow: 0 0px 0px rgba(0, 0, 0, 0.08);
    }

    .cart-item input {
        margin-left: 60px;
    }
}

@media (max-width: 395px) {
    .container {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .summary {
        min-width: 310px;
        min-height: 175px;
        max-width: 100%;
        max-height: auto;
        margin-left: 15px;
        margin-bottom: 40px;
    }
    
    .summary-total {
        margin-left: 180px;
        font-size: 26px;
    }

    .summary h5 {
        margin-left: 255px;
    }
}

@media (max-width: 375px) {
    .container {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .summary {
        min-width: 290px;
        min-height: 175px;
        max-width: 100%;
        max-height: auto;
        margin-left: 20px;
        margin-bottom: 40px;
    }

    .summary-total {
        margin-left: 160px;
        font-size: 26px;
    }

    .summary h5 {
        margin-left: 240px;
    }

    .cart-item {
        width: 240px;
        height: 280px;
        margin-left: 10px;
        flex-direction: column;
    }

    .cart-item:hover {
        transform: translateY(0px);
        box-shadow: 0 0px 0px rgba(0, 0, 0, 0.08);
    }

    .cart-item input {
        margin-left: 60px;
    }
}

@media (max-width: 360px) {
    .container {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .summary {
        min-width: 290px;
        min-height: 175px;
        max-width: 100%;
        max-height: auto;
        margin-left: 10px;
        margin-bottom: 40px;
    }

    .summary-total {
        margin-left: 160px;
        font-size: 26px;
    }

    .summary h5 {
        margin-left: 240px;
    }

    .cart-item {
        width: 240px;
        height: 280px;
        margin-left: -1px;
        flex-direction: column;
    }

    .cart-item:hover {
        transform: translateY(0px);
        box-shadow: 0 0px 0px rgba(0, 0, 0, 0.08);
    }

    .cart-item input {
        margin-left: 60px;
    }
}

@media (max-width: 344px) {
    .container {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .summary {
        min-width: 260px;
        min-height: 175px;
        max-width: 100%;
        max-height: auto;
        margin-left: 16px;
        margin-bottom: 40px;
    }

    .summary button {
        width: 240px;
    }

    .summary-total {
        margin-left: 136px;
        font-size: 26px;
    }

    .summary h5 {
        margin-left: 210px;
    }
}

@media (max-width: 320px) {
    .container {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .summary {
        min-width: 220px;
        min-height: 175px;
        max-width: 100%;
        max-height: auto;
        margin-left: 30px;
        margin-bottom: 40px;
    }

    .summary button {
        height: 35px;
        width: 210px;
        margin-left: 7px;
    }

    .summary-total {
        margin-left: 100px;
        font-size: 26px;
    }

    .summary h5 {
        margin-left: 165px;
    }

    .cart-item {
        width: 200px;
        height: 240px;
        flex-direction: column;
        margin-left: -1px;
    }

    .cart-item h3 {
        font-size: 13px;
        text-align: center;
    }

    .cart-item:hover {
        transform: translateY(0px);
        box-shadow: 0 0px 0px rgba(0, 0, 0, 0.08);
    }

    .cart-item input {
        margin-left: 60px;
    }
}