:root {
    --card: #FFF;
    --shadow: 0 10px 22px rgba(0, 0, 0, 0.08);
}

input,
select,
textarea {
    width: 100%;
    margin-bottom: 20px;
    border: 1px solid #dedede !important;
}

.submit {
    width: 100%;
}

.text_msg {
    border:1px dashed #dedede;
    border-radius:8px;
    padding:12px;
    margin-top:12px;
    text-align:left;
    font-size:14px;
    color:#999;
    line-height: normal;
}

/* titulos */
.title_large_default,
.title_medium_default,
.title_small_default {
    display: block;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--color-text-dark);
}

.title_large_default {
    font-size: 48px; 
    line-height: 58px; 
}

.title_medium_default {
    font-size: 32px; 
    line-height: 42px; 
}

.title_small_default {
    font-size: 20px; 
    line-height: 30px; 
}

.subtitle_default {
    display: block;
    margin: 0 0 40px 0;
    font-size: 20px; 
    line-height: 30px; 
    font-weight: var(--font-weight-regular); 
    color: var(--color-text);
}

.strong {
    font-weight: 700;
    color: #000;
}

/* botoes */
.btn_defaultM01 {
    display: inline-block;
    padding: 10px 0;
    /* font-size: 18px; */
    color: var(--color-text);
    font-size: 16px;
} 

.btn_defaultM01 span {
    display: block;
    width: 30px;
    height: 2px;
    background-color:  var(--color-primary);
    margin-top: 10px;
    transition: .5s;
}

.btn_defaultM01:hover span {
    width: 100%;
}

.btn_defaultM01:hover {
    color: var(--color-primary);
}

/*  style 2 para botoes */
.btn {
    outline: initial;
    border-radius: 100px;
    padding: 15px 20px;
    font-size: 16px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: .3s;
    .fa-arrow-right {
        transform: rotate(-45deg);
        transition: inherit;
    }
}

.btn_defaultM02 {
    color: #FFFFFF;  
    background-color: var(--color-primary);
}

.btn_defaultM03 {
    color: var(--color-text-dark);  
    background-color: transparent;
    border: 1px solid var(--color-text-dark);
}

.btn:hover {
    .fa-arrow-right {
        transform: rotate(0deg);
    }
}

.btn_defaultM02:hover {
    background-color: #000000;
}

.btn_defaultM03:hover {
    color: #ffffff;
    background-color: var(--color-background-dark);
}

.btn_add_cart {
    border: 0 !important;
    width: 100%;
    cursor: pointer;
    margin-top: 20px;
    background-color: #27ae60;
}





/* Topo */
.topo {
    width: 100%;
    padding: 15px 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.topo .steps {
    display: flex;
    align-items: center;
    gap: 45px;
}

.topo .step {
    text-align: center;
    font-size: 13px;
    color: #777;
}
.topo .step .circle {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid #bbb;
    margin: 0 auto 4px;
}

.topo .step.active .circle {
    border-color: var(--color-primary);
    background: white;
}

.topo .step.active {
    color: var(--color-primary);
    font-weight: bold;
}

.topo .link111 {
    display: flex;
    align-items: center;
    font-size: 14px;
    gap: 6px;
    a {
        color: var(--color-primary);
    }
}

@media (max-width: 700px) {
    .topo {
        flex-direction: column;
        gap: 15px;
    }

    .topo .steps {
        gap: 25px;
    }
}






.empty-cart {
    text-align: center;
    max-width: 400px;
    padding: 20px;
    margin: 0 auto;
}









/* Main */
.main {
    /* background-color: #f5f5f5; */
    background-color: #FFF;
    padding:50px 0;
}


/* Layout main */
.grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 28px;
    align-items: start;
}

/* Cards & list */
.card {
    background: var(--card);
    border-radius: 8px;
    padding: 18px;
    box-shadow: var(--shadow);
    border: 1px solid #dedede;
}
.cart-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.cart-item {
    display: grid;
    grid-template-columns: 80px 1fr 120px 120px;
    gap: 16px;
    padding: 18px 0;
    border-top: 1px solid #EEE;
    align-items: center;
}
.cart-item:first-of-type {
    border-top: none;
}
.product-thumb {
    background-color: #f5f5f5;
    width: 80px;
    height: 80px;
    border-radius: 8px;
}
.product-thumb img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}
.item-title {
    font-weight: 700;
    color: #000;
    margin-bottom: 5px;
    line-height: normal;
}
.item-meta {
    color: #999;
    font-size: 14px;
}
.qty input {
    margin-bottom: 5px;
    text-align: center;
}
.del_item {
    text-align: center;
}
a.remove {
    color: red;
}
.item-price {
    text-align: right;
    font-weight: 700;
    color: #000;
}



/* summary */
.summary .box {
    padding: 18px;
    background: var(--card);
    border-radius: 8px;
    box-shadow: var(--shadow);
    border: 1px solid #dedede;
}
.summary .line {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-top: 1px solid #f0f0f0;
}


/* footer */
.rodape {
    border-top: 0;
    text-align: center;
    padding: 20px 0;
    color: #000;
}









/* ============================= */
/* RESPONSIVO                    */
/* ============================= */

@media (max-width: 1200px) {

    /* Layout vira 1 coluna */
    .grid {
        grid-template-columns: 1fr;
    }

    /* Itens do carrinho reorganizados */
    .cart-item {
        grid-template-columns: 70px 1fr;
    }

    .product-thumb img {
        width: 70px;
        height: 70px;
    }

    /* Bloco vertical */
    .item-block {
        grid-column: 1 / -1;
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-left: 70px; /* alinha com texto */
        margin-top: 10px;
    }

    .item-price {
        font-size: 16px;
        font-weight: bold;
    }

    a.remove {
        font-size: 14px;
    }
}


/* CELULAR PEQUENO */
@media (max-width: 480px) {

    .cart-item {
        grid-template-columns: 60px 1fr;
        gap: 12px;
    }

    .product-thumb img {
        width: 60px;
        height: 60px;
    }

    .item-block {
        margin-left: 60px;
    }
}