﻿@charset "utf-8";

@media (max-width: 991.98px) {
    .cart-layout {
        grid-template-columns: 1fr !important;
    }

    .summary-card {
        position: static;
    }
}

@media(max-width:767px) {
    .cart-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .cart-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .cart-card__title {
        justify-content: center;
    }

    .cart-card__pricing {
        flex-direction: column;
        align-items: center;
    }

    .cart-card__remove {
        left: 50%;
        transform: translateX(-50%);
    }
}

/* Responsive Styles for Mobile */
 
@media (max-width: 768px) {
    .checkout-section {
        padding: 16px 0 32px;
    }

    .checkout-hero {
        padding: 20px;
        flex-direction: column;
        align-items: flex-start;
    }

        .checkout-hero h1 {
            font-size: 1.4rem;
            margin-bottom: 12px;
        }

        .checkout-hero p {
            font-size: 0.9rem;
        }

    .hero-steps {
        width: 100%;
        justify-content: center;
        margin-top: 12px;
    }

    .hero-step {
        padding: 6px 12px;
        font-size: 0.85rem;
    }

        .hero-step span {
            width: 24px;
            height: 24px;
            font-size: 0.85rem;
        }

    .checkout-layout {
        grid-template-columns: none !important;
        gap: 20px;
    }

    .checkout-main {
        order: 2;
    }

    .checkout-aside {
        display: block !important;
        width: 100% !important;
        order: 1;
    }

    .card-surface {
        padding: 16px;
        margin-bottom: 16px;
    }

    .section-heading h3 {
        font-size: 1.1rem;
    }

    .section-heading p {
        font-size: 0.9rem;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

        .form-grid.narrow {
            grid-template-columns: 1fr;
        }

    #map {
        height: 300px;
    }

    .map-card__header {
        flex-direction: column;
        align-items: flex-start;
    }

    .info-chip {
        font-size: 0.85rem;
        padding: 4px 10px;
    }

    .address-actions {
        flex-direction: column;
    }

        .address-actions .btn {
            width: 100%;
            padding: 14px 20px;
        }

    .breadcrumb-nav {
        font-size: 0.85rem;
    }
}

@media (max-width: 500px) {
    .hero-steps {
        display: block !important;
    }
    .checkout-section {
        padding: 12px 0 24px;
    }

    .checkout-hero {
        padding: 16px;
        border-radius: 16px;
    }

        .checkout-hero h1 {
            font-size: 1.2rem;
            line-height: 1.4;
        }

        .checkout-hero p {
            font-size: 0.85rem;
        }

    .hero-steps {
        gap: 8px;
    }

    .hero-step {
        padding: 5px 10px;
        font-size: 0.75rem;
    }

        .hero-step span {
            width: 20px;
            height: 20px;
            font-size: 0.75rem;
        }

    .checkout-main {
        order: 2;
    }

    .checkout-aside {
        display: block !important;
        width: 100% !important;
        order: 1;
    }

    .card-surface {
        padding: 12px;
        border-radius: 16px;
    }

    .section-heading h3 {
        font-size: 1rem;
    }

    .section-heading p {
        font-size: 0.85rem;
    }

    .form-control,
    textarea.form-control {
        padding: 10px 12px;
        font-size: 0.95rem !important;
        border-radius: 12px;
    }

    #map {
        height: 250px;
        border-radius: 12px;
    }

    .map-hints {
        font-size: 0.8rem;
    }

        .map-hints li {
            padding-right: 12px;
            margin-bottom: 4px;
        }

    .address-actions .btn {
        padding: 12px 16px;
        font-size: 0.95rem;
    }

    .checkout-summary .summary-list li {
        font-size: 0.85rem;
        gap: 8px;
    }

    .contact-card .contact-item {
        font-size: 0.85rem;
        gap: 8px;
    }

    .breadcrumb-nav {
        font-size: 0.8rem;
    }

    .breadcrumb-item {
        padding: 0.25rem 0.5rem;
    }
}
/*.cart-body {
    background: #ddd;
    min-height: 70vh;
    vertical-align: middle;
    display: flex;
    font-weight: bold;
}

.title {
    margin-bottom: 5vh;
}

.card {
    margin: auto;*/
/*max-width: 950px;*/
/*width: 325px;
    box-shadow: 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    border-radius: 1rem;
    border: transparent;
    margin-top: 86px;
    background-color: #dbdad6;
}

@media(max-width:767px) {
    .card {
        margin: 3vh auto;
    }
}

.cart {
    background-color: #fff;
    padding: 4vh 5vh;
    border-bottom-left-radius: 1rem;
    border-top-left-radius: 1rem;
}

@media(max-width:767px) {
    .cart {
        padding: 4vh;
        border-bottom-left-radius: unset;
        border-top-right-radius: 1rem;
    }
}

.summary {
    background-color: #ddd;
    border-top-right-radius: 1rem;
    border-bottom-right-radius: 1rem;
    padding: 4vh;
    color: rgb(65, 65, 65);
}

@media(max-width:767px) {
    .summary {
        border-top-right-radius: unset;
        border-bottom-left-radius: 1rem;
    }
}

.summary .col-2 {
    padding: 0;
}

.summary .col-10 {
    padding: 0;
}

.row {
    margin: 0;
}

.title b {
    font-size: 1.5rem;
}

.main {
    margin: 0;
    padding: 2vh 0;
    width: 100%;
}

.col-2, .col {
    padding: 0 1vh;
}*/

/*a {
    padding: 0 1vh;
}
*/
/*.close {
    margin-left: auto;
    font-size: 0.7rem;
}

.cart-img {
    width: 3.5rem;
}

.back-to-shop {
    margin-top: 4.5rem;
}*/
/*
h5 {
    margin-top: 4vh;
}

hr {
    margin-top: 1.25rem;
}

form {
    padding: 2vh 0;
}
*/
/*.cart-select {
    border: 1px solid rgba(0, 0, 0, 0.137);
    padding: 1.5vh 1vh;
    margin-bottom: 4vh;
    outline: none;
    width: 100%;
    background-color: rgb(247, 247, 247);
    text-align: center;
}

.cart-input {
    border: 1px solid rgba(0, 0, 0, 0.137);
    padding: 1vh;
    margin-bottom: 4vh;
    outline: none;
    width: 100%;
    background-color: rgb(247, 247, 247);
}

    .cart-input:focus::-webkit-input-placeholder {
        color: transparent;
    }
.page-btn {
    display: -webkit-box;
    background: #1a105a;
    border-radius: 8px;
    padding: 6px;
    margin-top: 9px;
    width: 26%;
    color: white;
}
.cart-btn {
    background-color: #ef3850;
    border-color: #000;
    color: white;
    width: 100%;
    font-size: 1.7rem;
    margin-top: 4vh;
    padding: 1vh;
    border-radius: 0;
}

    .cart-btn:focus {
        box-shadow: none;
        outline: none;
        box-shadow: none;
        color: white;
        -webkit-box-shadow: none;
        -webkit-user-select: none;
        transition: none;
    }

    .cart-btn:hover {
        color: white;
    }

a {
    color: black;
}

    a:hover {
        color: black;
        text-decoration: none;
    }

#code {
    background-image: linear-gradient(to left, rgba(255, 255, 255, 0.253), rgba(255, 255, 255, 0.185)), url("https://img.icons8.com/small/16/000000/long-arrow-right.png");
    background-repeat: no-repeat;
    background-position-x: 95%;
    background-position-y: center;
}
.summary-price {
    font-size: small;
    color: #834005;
    font-weight: 500;
}
.summary-tax {
    font-size: small;
    color: #834005;
    font-weight: 500;
}*/
