feat: ultimos ajustes no css antes da entrega

This commit is contained in:
Adilson Fernando Neves Ornellas 2022-12-23 12:01:30 -03:00
parent 2b8297e02e
commit 4350ff066e
14 changed files with 1897 additions and 11652 deletions

10970
checkout/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -1,3 +1,4 @@
import { data } from "jquery";
import { waitElement } from "m3-utils"; import { waitElement } from "m3-utils";
export default class Footer { export default class Footer {
@ -7,191 +8,239 @@ export default class Footer {
async init() { async init() {
await this.selectors(); await this.selectors();
this.imgPagamento();
this.imgVtex();
this.imgVtexEm3();
this.onUpdate(); this.onUpdate();
// this.apiFetch(); this.events();
// this.calculoFrete(); }
this.footer();
events() {
window.addEventListener("hashchange", () => {
this.onUpdate();
if (window.location.hash == "#/cart" && this.divVazioCheckout.style.display == "none") {
this.divPrateleira.style.display = "flex";
this.titleSlick.style.display = "block";
}
if (window.location.hash != "#/cart") {
this.divPrateleira.style.display = "none";
this.titleSlick.style.display = "none";
}
});
addEventListener("resize", () => {
this.addCarrossel();
});
} }
async selectors() { async selectors() {
//Para verificar se o carrinho está vazio e remover a prateleira de produtos: this.divVazioCheckout = await waitElement(".empty-cart-content");
// vocês devem olhar a doc fornecida no Desafio para aprender a usar o waitElement // this.checkoutAtivo = await waitElement(".checkout-container");
this.checkoutVazio = await waitElement(".empty-cart-content"); this.divImgPagamentos = await waitElement(".footerCheckout__payments");
this.divImgVtex = await waitElement(".footerCheckout__vtexpci");
this.divImgVtexEm3 = await waitElement(".footerCheckout__developedBy");
this.divPrateleira = await waitElement(".footerCheckout__prateleira"); this.divPrateleira = await waitElement(".footerCheckout__prateleira");
this.divCalculoFrete = await waitElement(".srp-data"); this.titulo = await waitElement(".transactions-container");
this.divFooter = await waitElement(".footerCheckout__wrapper"); this.cartTitulo = await waitElement("#cart-title");
this.titleSlick = await waitElement(".transactions-container");
} }
onUpdate() { onUpdate() {
//Função qeu fará a verificação se o carrinho está vazio para remover a prateleira de produtos: let target = this.divVazioCheckout;
// vocês devem olhar a doc fornecida no Desafio para aprender a usar a MutationObserver let list = this.divPrateleira;
// sempre que o carrinho estiver vazio o elemento chcekoutVazio fica display: none e isso pode ser usado como atributo para a MutationObserver let cartTitle = this.cartTitulo;
let target = this.checkoutVazio; let slickTitle = this.titleSlick;
if (target.style.display == "none" && window.location.hash == "#/cart") {
list.style.display = "flex";
list.style.display = "block";
if (!this.divPrateleira.classList.contains("fetch")) {
this.fetchApi();
}
} else {
this.cartTitulo.style.display = "none";
list.style.display = "none";
}
let config = { childList: true, attributes: true }; let config = { childList: true, attributes: true };
let observer = new MutationObserver((mutations) => { let observer = new MutationObserver((mutations) => {
if (!this.divPrateleira.classList.contains("fetch")) {
this.fetchApi();
}
mutations.forEach(function (mutation) { mutations.forEach(function (mutation) {
console.log(mutation.type); if (target.style.display != "none") {
list.style.display = "none";
cartTitle.style.display = "none";
if (list.style.display == "none") {
slickTitle.style.display = "none";
}
} else {
cartTitle.style.display = "block";
list.style.display = "flex";
slickTitle.style.display = "block";
}
}); });
}); });
observer.observe(target, config); observer.observe(target, config, cartTitle, slickTitle);
} }
// calculoFrete() {
// this.divCalculoFrete.innerHTML = `
// <p class = "textCalcular">Veja as opções de entrega para seus itens,
// com todos os prazos e valores.</p>
// <button onclick="voltarFrete()">Calcular</button>
// `;
// }
// voltarFrete() {
// this.divCalculoFrete.innerHTML = `
// <div class="srp-data mt4"><div class="srp-toggle mb6 pb2 ml1 mr3"><div class="srp-toggle__wrapper flex br-pill shadow-4 relative"><div class="vtex-shipping-preview-0-x-frame srp-toggle__current w-50 ba b--blue shadow-4 br-pill absolute vtex-shipping-preview-0-x-frameDelivery"></div><label class="srp-toggle__delivery flex-none bg-transparent pointer w-50 tc ttu pv3 gray blue"><input class="dn" type="radio" checked="">Receber</label><label class="srp-toggle__pickup flex-none bg-transparent pointer w-50 tc ttu pv3 gray"><input class="dn" type="radio">Retirar</label></div></div><div class="srp-result lh-copy"><div class="srp-delivery-header mb3"><span class="srp-items f5 black-70"><strong>Receber</strong> 1 item em </span><span id="deliver-at-text" class="mt0 mt0"><a class="srp-address-title link pointer blue f5">***00</a></span></div><div class="srp-delivery-info mb6"><label data-testid="cheapest" class="srp-shipping-current-single mt3 db pv2 ph4 br2 bw1 ba b--light-gray pointer tl f6"><div class="srp-shipping-current-single__wrapper flex items-center mv3 relative pointer"><div class="srp-shipping-current-single__bullet flex-none mr3"><svg class="srp-icon-radio-selected db" height="16" viewBox="0 0 16 16" width="16" xmlns="http://www.w3.org/2000/svg"><path d="M8 4C5.792 4 4 5.792 4 8s1.792 4 4 4 4-1.792 4-4-1.792-4-4-4zm0-4C3.584 0 0 3.584 0 8s3.584 8 8 8 8-3.584 8-8-3.584-8-8-8zm0 14.4A6.398 6.398 0 0 1 1.6 8c0-3.536 2.864-6.4 6.4-6.4 3.536 0 6.4 2.864 6.4 6.4 0 3.536-2.864 6.4-6.4 6.4z" fill="#3386E8"></path></svg></div><div class="srp-shipping-current-single__description flex items-center flex-auto tl"><div class="srp-shipping-current-single__text flex-auto br b--light-silver truncate"><div class="srp-shipping-current-single__sla gray">Em até 3 dias úteis</div></div><div class="srp-shipping-current-single__price flex-none gray pl4">R$ 10,50</div></div></div></label></div></div></div>
// `;
// }
// apiFetch() {
// let pratileira = this.divPrateleira;
// pratileira.innerHTML = `
// <h2 class="text-foot"> Você Também pode gosta:</h2>
// <ul class="ulSlick"></ul>`;
// fetch(
// "https://m3academy.myvtex.com/api/catalog_system/pub/products/search/?fq=productClusterIds:319%22"
// )
// .then((Response) => Response.json())
// .then(function (data) {
// return data.map(function (produto) {
// let li = document.createElement("li");
// li.setAttribute("id", produto.productId);
// li.innerHTML = `
// <img class="color-img" src = " ${produto.items[0].images[0].imageUrl}"/>
// <><p class="numeProduct">${
// produto.productName
// }</p><div class="container-tamanho-cores">
// ${produto.items
// .map((name) => {
// return `<a name="tamanho" class="tamanho"> ${name.name}
// </a>`;
// })
// .join(" ")}
// </div><button class="bottons"> ver produto</button></>`;
// pratileira.children[1].appendChild(li);
// console.log(pratileira);
// });
// })
// .then(() => {
// this.addCarrossel();
// });
// }
async addCarrossel() { async addCarrossel() {
const elemento = await waitElement(".ulSlick"); const elemet = await waitElement(".slick-list");
$(elemento).slick({ if ($(elemet).hasClass("slick-initialized")) {
slidesToShow: 4, $(elemet).slick("unslick");
slidesToScroll: 1, }
});
}
footer() {
if (window.innerWidth > 1024) { if (window.innerWidth > 1024) {
this.divFooter.innerHTML = ` $(elemet).not(".slick-initialized").slick({
<hr></hr> slidesToShow: 4,
<div class="conteiner_footer"> slidesToScroll: 1,
<div class="footerCheckout__address"> });
<span>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</span> } else if (window.innerWidth > 375) {
</div> $(elemet).not(".slick-initialized").slick({
slidesToShow: 3,
<ul class="footerCheckout__stamps"> slidesToScroll: 1,
<li> });
<span class="footerCheckout__payments"> } else if (window.innerWidth <= 375) {
<img class="imgFooter" src="https://agenciamagma.vteximg.com.br/arquivos/masterCardM3Academy.png" alt="mastercard" style="width: 35px; margin-right: 13px; margin-left: 137px;"> $(elemet).not(".slick-initialized").slick({
<img class="imgFooter" src="https://agenciamagma.vteximg.com.br/arquivos/visaM3Academy.png" alt="visa" style="width: 35px; margin-right: 13px;"> slidesToShow: 2,
<img class="imgFooter" src="https://agenciamagma.vteximg.com.br/arquivos/amexM3Academy.png" alt="american" style="width: 35px; margin-right: 13px;"> slidesToScroll: 1,
<img class="imgFooter" src="https://agenciamagma.vteximg.com.br/arquivos/eloM3Academy.png" alt="elo" style="width: 35px; margin-right: 13px;"> });
<img class="imgFooter" src="https://agenciamagma.vteximg.com.br/arquivos/hiperCardM3Academy.png" alt="hipercard" style="width: 35px; margin-right: 13px;">
<img class="imgFooter" src="https://agenciamagma.vteximg.com.br/arquivos/payPalM3Academy.png" alt="paypal" style="width: 35px; margin-right: 13px;">
<img class="imgFooter" src="https://agenciamagma.vteximg.com.br/arquivos/boletoM3Academy.png" alt="boleto" style="width: 35px; margin-right: 13px;">
</span>
</li>
<li>
<span class="footerCheckout__stamps__divider"></span>
</li>
<li>
<span class="footerCheckout__payments">
<img class="imgFooter" src="https://agenciamagma.vteximg.com.br/arquivos/vtexPCIM3Academy.png" alt="logoCertificado" style="width: 53px; margin-right: 90px;">
</span>
</li>
</ul>
<ul class="footerCheckout__developedBy">
<li>
<a href="https://vtex.com/br-pt/">
<span>Powered By</span>
<img class="imgFooter" src="https://agenciamagma.vteximg.com.br/arquivos/logoVTEXM3Academy.png" alt="logoVTEX" style="width: 45px;">
</a>
</li>
<li style="width: 217px; >
<a href="https://agenciam3.com/">
<span>Developed By</span>
<img class="imgFooter" src="https://agenciamagma.vteximg.com.br/arquivos/logoM3M3Academy.png" alt="logoM3" style="width: 29px; margin-left: 10px;">
</a>
</li>
</ul>
</div>
`;
} else {
this.divFooter.innerHTML = `
<hr></hr>
<div class="conteiner_footer">
<ul class="footerCheckout__stamps">
<li>
<span class="footerCheckout__payments" style="display: flex; align-items: center;
justify-content: center;">
<img class="imgFooter" src="https://agenciamagma.vteximg.com.br/arquivos/masterCardM3Academy.png" alt="mastercard" style="width: 35px; margin-right: 13px; margin-left: 137px;">
<img class="imgFooter" src="https://agenciamagma.vteximg.com.br/arquivos/visaM3Academy.png" alt="visa" style="width: 35px; margin-right: 13px;">
<img class="imgFooter" src="https://agenciamagma.vteximg.com.br/arquivos/amexM3Academy.png" alt="american" style="width: 35px; margin-right: 13px;">
<img class="imgFooter" src="https://agenciamagma.vteximg.com.br/arquivos/eloM3Academy.png" alt="elo" style="width: 35px; margin-right: 13px;">
<img class="imgFooter" src="https://agenciamagma.vteximg.com.br/arquivos/hiperCardM3Academy.png" alt="hipercard" style="width: 35px; margin-right: 13px;">
<img class="imgFooter" src="https://agenciamagma.vteximg.com.br/arquivos/payPalM3Academy.png" alt="paypal" style="width: 35px; margin-right: 13px;">
<img class="imgFooter" src="https://agenciamagma.vteximg.com.br/arquivos/boletoM3Academy.png" alt="boleto" style="width: 35px; margin-right: 13px;">
</span>
</li>
<li>
<span class="footerCheckout__stamps__divider"></span>
</li>
<li>
<span class="footerCheckout__payments">
<img class="imgFooter" src="https://agenciamagma.vteximg.com.br/arquivos/vtexPCIM3Academy.png" alt="logoCertificado" style="width: 53px; margin-right: 90px;">
</span>
</li>
</ul>
<div class="footerCheckout__address">
<span>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</span>
</div>
<ul class="footerCheckout__developedBy">
<li>
<a href="https://vtex.com/br-pt/">
<span>Powered By</span>
<img class="imgFooter" src="https://agenciamagma.vteximg.com.br/arquivos/logoVTEXM3Academy.png" alt="logoVTEX" style="width: 45px;">
</a>
</li>
<li style="width: 217px; >
<a href="https://agenciam3.com/">
<span>Developed By</span>
<img class="imgFooter" src="https://agenciamagma.vteximg.com.br/arquivos/logoM3M3Academy.png" alt="logoM3" style="width: 29px; margin-left: 10px;">
</a>
</li>
</ul>
</div>
`;
} }
} }
imgPagamento() {
this.divImgPagamentos.innerHTML = `
<ul class="payments-icons-wrapper">
<li>
<figure>
<img
src="https://agenciamagma.vteximg.com.br/arquivos/masterCardM3Academy.png"
alt=""
/>
</figure>
</li>
<li>
<figure>
<img
src="https://agenciamagma.vteximg.com.br/arquivos/visaM3Academy.png"
alt=""
/>
</figure>
</li>
<li>
<figure>
<img
src="https://agenciamagma.vteximg.com.br/arquivos/amexM3Academy.png"
alt=""
/>
</figure>
</li>
<li>
<figure>
<img
src="https://agenciamagma.vteximg.com.br/arquivos/eloM3Academy.png"
alt=""
/>
</figure>
</li>
<li>
<figure>
<img
src="https://agenciamagma.vteximg.com.br/arquivos/hiperCardM3Academy.png"
alt=""
/>
</figure>
</li>
<li>
<figure>
<img
src="https://agenciamagma.vteximg.com.br/arquivos/payPalM3Academy.png"
alt=""
/>
</figure>
</li>
<li>
<figure>
<img
src="https://agenciamagma.vteximg.com.br/arquivos/boletoM3Academy.png"
alt=""
/>
</figure>
</li>
</ul>
`;
}
imgVtex() {
this.divImgVtex.innerHTML = `
<figure class="vtex-icon">
<img
src="https://agenciamagma.vteximg.com.br/arquivos/vtexPCIM3Academy.png"
alt=""
/>
</figure>
`;
}
imgVtexEm3() {
this.divImgVtexEm3.innerHTML = `
<li>
<a href="https://vtex.com/br-pt/">
<span>Powered By</span>
<figure>
<img class="vtex-icon" src="https://agenciamagma.vteximg.com.br/arquivos/logoVTEXM3Academy.png" alt="">
</figure>
</a>
</li>
<li>
<a href="https://agenciam3.com/">
<span>Developed By</span>
<figure>
<img class="m3-icon" src="https://agenciamagma.vteximg.com.br/arquivos/logoM3M3Academy.png" alt="">
</figure>
</a>
</li>
`;
}
async fetchApi() {
this.titulo.innerHTML = `
<h3 class="title_slick">Você também pode gostar:</h3>
`;
fetch(
"https://m3academy.myvtex.com/api/catalog_system/pub/products/search/?fq=productClusterIds:319"
)
.then((response) => response.json())
.then((data) => {
const ul = document.createElement("ul");
ul.classList.add("slick-list");
this.divPrateleira.appendChild(ul);
data.map((item) => {
let cores = "";
for (let i = 0; i < item.items.length; i++) {
cores += `<p>${item.items[i].name}</p>`;
}
const li = document.createElement("li");
li.setAttribute("name", item.itemId);
li.classList.add("slick-list__itemList");
li.innerHTML = `
<figure class="img-container">
<img class="itemImg" src="${item.items[0].images[0].imageUrl}">
</figure>
<figcaption class="itemtName">${item.productName}</figcaption>
<div class="itemSku">
${cores}
</div>
<a class="itemLink" type="button" href="${item.link}">VER PRODUTO</a>
`;
ul.appendChild(li);
this.divPrateleira.classList.add("fetch");
});
})
.then(() => {
this.addCarrossel();
});
}
} }

View File

@ -1,3 +1,4 @@
// import waitForEl from "../helpers/waitForEl";
import { waitElement } from "m3-utils"; import { waitElement } from "m3-utils";
export default class Header { export default class Header {
@ -7,45 +8,241 @@ export default class Header {
async init() { async init() {
await this.selectors(); await this.selectors();
this.linhaHeader(); this.divBarraProgresso();
this.meioDaTela(); await this.andamentoDasBolinha();
this.meioDaTela2();
this.meioDaTela3();
} }
async selectors() { async selectors() {
this.divAnteriorLinha = await waitElement(".container"); this.header = await waitElement(".headerCheckout");
this.textoMeioTela = await waitElement(".empty-cart-title"); this.progressBar = await waitElement("#progressBar");
this.textoMeioTela2 = await waitElement(".empty-cart-message");
this.textoMeioTela3 = await waitElement("#cart-choose-products");
this.textoMeioTela4 = await waitElement("#cart-title");
} }
linhaHeader() { divBarraProgresso() {
this.divAnteriorLinha.innerHTML = ` if (this.progressBar && window.innerWidth > 1024) {
<div class="headerCheckout__wrapper"> this.progressBar.innerHTML = `
<div class="headerCheckout__logo"> <ul>
<a href="/"> <li>
<img src="https://agenciamagma.vteximg.com.br/arquivos/LogoM3Academy.png" alt="M3 Academy"/> <div class="containerLi">
</a> <div>
</div> <p class="progress-bar-text">Meu carrinho</p>
<div id="progressBar" class="progress-bar"> <p id="progress-bar-circle-1" class="progress-bar-circle-1"></p>
</div> <p class="progress-bar-line-1"></p>
<div class="headerCheckout__safeBuy"> </div>
<img src="https://agenciamagma.vteximg.com.br/arquivos/cadeadoCompraSegM3Academy.png" alt="Cadeado"/> </div>
<span>Compra segura</span> </li>
</div> <li class="central">
</div> <div class="containerLi">
<hr></hr> <div>
`; <p class="progress-bar-text">Dados Pessoais</p>
<p id="progress-bar-circle-2" class="progress-bar-circle-2"></p>
</div>
</div>
</li>
<li>
<div class="containerLi">
<div>
<p class="progress-bar-text">Pagamento</p>
<p id="progress-bar-circle-3" class="progress-bar-circle-3"></p>
<p class="progress-bar-line-2"></p>
</div>
</div>
</li>
</ul>
`;
}
if (this.progressBar && window.innerWidth <= 1024) {
this.progressBar.innerHTML = ``;
}
} }
meioDaTela() { async andamentoDasBolinha() {
this.textoMeioTela.innerHTML = `SEU CARRINHO ESTÁ VAZIO`; if (this.progressBar && window.innerWidth > 1024) {
this.textoMeioTela4.innerHTML = ``; const progressBarList = document.querySelectorAll("#progressBar ul li");
} progressBarList.forEach((li) => {
meioDaTela2() { if (window.location.href == "https://m3academy.myvtex.com/checkout/#/cart") {
this.textoMeioTela2.innerHTML = ``; if (li.children[0].children[0].children["progress-bar-circle-1"]) {
} li.children[0].children[0].children["progress-bar-circle-1"].classList.add(
meioDaTela3() { "active"
this.textoMeioTela3.innerHTML = `CONTINUAR COMPRANDO`; );
}
if (li.children[0].children[0].children["progress-bar-circle-2"]) {
if (
li.children[0].children[0].children[
"progress-bar-circle-2"
].classList.contains("active")
) {
li.children[0].children[0].children[
"progress-bar-circle-2"
].classList.remove("active");
}
}
if (li.children[0].children[0].children["progress-bar-circle-3"]) {
if (
li.children[0].children[0].children[
"progress-bar-circle-3"
].classList.contains("active")
) {
li.children[0].children[0].children[
"progress-bar-circle-3"
].classList.remove("active");
}
}
} else if (
window.location.href == "https://m3academy.myvtex.com/checkout/#/email" ||
window.location.href == "https://m3academy.myvtex.com/checkout/#/profile" ||
window.location.href == "https://m3academy.myvtex.com/checkout/#/shipping"
) {
if (li.children[0].children[0].children["progress-bar-circle-1"]) {
if (
li.children[0].children[0].children[
"progress-bar-circle-1"
].classList.contains("active")
) {
li.children[0].children[0].children[
"progress-bar-circle-1"
].classList.remove("active");
}
}
if (li.children[0].children[0].children["progress-bar-circle-2"]) {
li.children[0].children[0].children["progress-bar-circle-2"].classList.add(
"active"
);
}
if (li.children[0].children[0].children["progress-bar-circle-3"]) {
if (
li.children[0].children[0].children[
"progress-bar-circle-3"
].classList.contains("active")
) {
li.children[0].children[0].children[
"progress-bar-circle-3"
].classList.remove("active");
}
}
} else if (
window.location.href == "https://m3academy.myvtex.com/checkout/#/payment"
) {
if (li.children[0].children[0].children["progress-bar-circle-1"]) {
if (
li.children[0].children[0].children[
"progress-bar-circle-1"
].classList.contains("active")
) {
li.children[0].children[0].children[
"progress-bar-circle-1"
].classList.remove("active");
}
}
if (li.children[0].children[0].children["progress-bar-circle-2"]) {
if (
li.children[0].children[0].children[
"progress-bar-circle-2"
].classList.contains("active")
) {
li.children[0].children[0].children[
"progress-bar-circle-2"
].classList.remove("active");
}
}
if (li.children[0].children[0].children["progress-bar-circle-3"]) {
li.children[0].children[0].children["progress-bar-circle-3"].classList.add(
"active"
);
}
}
window.addEventListener("hashchange", () => {
if (window.location.hash == "#/cart") {
if (li.children[0].children[0].children["progress-bar-circle-1"]) {
li.children[0].children[0].children[
"progress-bar-circle-1"
].classList.add("active");
}
if (li.children[0].children[0].children["progress-bar-circle-2"]) {
if (
li.children[0].children[0].children[
"progress-bar-circle-2"
].classList.contains("active")
) {
li.children[0].children[0].children[
"progress-bar-circle-2"
].classList.remove("active");
}
}
if (li.children[0].children[0].children["progress-bar-circle-3"]) {
if (
li.children[0].children[0].children[
"progress-bar-circle-3"
].classList.contains("active")
) {
li.children[0].children[0].children[
"progress-bar-circle-3"
].classList.remove("active");
}
}
} else if (
window.location.hash == "#/email" ||
window.location.hash == "#/profile" ||
window.location.hash == "#/shipping"
) {
if (li.children[0].children[0].children["progress-bar-circle-1"]) {
if (
li.children[0].children[0].children[
"progress-bar-circle-1"
].classList.contains("active")
) {
li.children[0].children[0].children[
"progress-bar-circle-1"
].classList.remove("active");
}
}
if (li.children[0].children[0].children["progress-bar-circle-2"]) {
console.log("teste 1");
li.children[0].children[0].children[
"progress-bar-circle-2"
].classList.add("active");
}
if (li.children[0].children[0].children["progress-bar-circle-3"]) {
if (
li.children[0].children[0].children[
"progress-bar-circle-3"
].classList.contains("active")
) {
li.children[0].children[0].children[
"progress-bar-circle-3"
].classList.remove("active");
}
}
} else if (window.location.hash == "#/payment") {
if (li.children[0].children[0].children["progress-bar-circle-1"]) {
if (
li.children[0].children[0].children[
"progress-bar-circle-1"
].classList.contains("active")
) {
li.children[0].children[0].children[
"progress-bar-circle-1"
].classList.remove("active");
}
}
if (li.children[0].children[0].children["progress-bar-circle-2"]) {
if (
li.children[0].children[0].children[
"progress-bar-circle-2"
].classList.contains("active")
) {
li.children[0].children[0].children[
"progress-bar-circle-2"
].classList.remove("active");
}
}
if (li.children[0].children[0].children["progress-bar-circle-3"]) {
li.children[0].children[0].children[
"progress-bar-circle-3"
].classList.add("active");
}
}
});
});
}
} }
} }

View File

@ -1,5 +1,6 @@
@import "./utils/all"; @import "./utils/all";
@import "./lib/slick"; @import "./lib/slick";
@import "./partials/prateleira";
@import "./partials/header"; @import "./partials/header";
@import "./partials/footer"; @import "./partials/footer";
@import "./checkout/checkout.scss"; @import "./checkout/checkout.scss";

View File

@ -1,291 +1,583 @@
.checkout-container { .checkout-container {
.client-pre-email { padding-bottom: 90px;
border-color: $color-gray4; .client-pre-email {
font-family: $font-family; border-color: $black;
padding-top: 8px; font-family: $font-family;
padding-top: 14px;
.link-cart { .link-cart {
a { width: 100%;
color: $color-black; font-family: $font-family-secundary;
font-size: 14px; font-style: normal;
font-weight: 400;
font-size: 12px;
line-height: 16px;
text-align: right;
text-decoration-line: underline;
padding: 19px 0 10px;
&:hover { a {
color: lighen($color-black, 10); color: $black;
} font-size: 14px;
} font-family: $font-family-secundary;
} font-style: normal;
font-weight: 400;
line-height: 16px;
text-align: center;
text-transform: uppercase;
}
}
.pre-email { .pre-email {
flex-direction: column; flex-direction: column;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
h3 { h3 {
margin-bottom: 16px; margin-bottom: 16px;
span { span {
color: #303030; font-family: $font-family-secundary;
font-size: 24px; font-style: normal;
} font-weight: 400;
font-size: 20px;
line-height: 23px;
text-align: center;
text-transform: uppercase;
color: $black;
}
small { small {
color: $color-gray4; font-family: $font-family-secundary;
} font-style: normal;
} font-weight: 400;
} font-size: 20px;
line-height: 23px;
text-align: center;
text-transform: uppercase;
color: $black;
}
}
}
.client-email { .client-email {
margin: 0 0 16px; width: 57%;
margin: 0 0 47px;
input { input {
box-shadow: none; width: 83%;
color: $color-black; box-shadow: none;
font-family: $font-family; color: $black;
padding: 0 16px; font-family: $font-family;
border: 2px solid $color-gray3; font-style: normal;
box-sizing: border-box; font-weight: 400;
border-radius: 5px; font-size: 12px;
line-height: 16px;
display: flex;
padding: 0 16px;
border: 1px solid $black;
box-sizing: border-box;
border-radius: 5px 0px 0px 5px;
@media (max-width: 490px) { &::placeholder {
width: auto; color: $black;
} }
} @media (max-width: 490px) {
width: auto;
}
}
button { button {
background-color: $color-blue-figma; background-color: $blue;
color: $color-black; border-radius: 0px 8px 8px 0px;
border-radius: 5px; border: none;
border: none; font-family: $font-family;
font-family: $font-family; font-style: normal;
height: 54px; font-weight: 700;
right: 0; font-size: 14px;
top: 0; line-height: 19px;
display: flex;
align-items: center;
text-align: center;
letter-spacing: 0.05em;
text-transform: uppercase;
height: 54px;
right: 0;
top: 0;
color: $black;
@media (max-width: 490px) { @media (max-width: 490px) {
height: 48px; height: 48px;
margin: 0; margin: 0;
position: absolute; position: absolute;
} }
} }
span.help.error { span.help.error {
color: red; color: red;
} font-family: $font-family;
} font-style: normal;
font-weight: 700;
font-size: 12px;
line-height: 16px;
display: flex;
align-items: center;
text-align: center;
justify-content: center;
}
}
.emailInfo { .emailInfo {
padding: 16px; padding: 16px 16px 26px 16px;
background-color: $color-white; background-color: $white;
border: 1px solid $color-gray4; border: 1px solid $black;
border-radius: 0; border-radius: 5px;
h3 { h3 {
color: #303030; color: $black;
margin: 0 0 8px 0; margin: 0 0 8px 0;
} }
ul { ul {
margin: 0; margin: 0;
li { li {
span { span {
color: $color-black; color: $black;
} font-family: $font-family;
font-style: normal;
font-weight: 700;
font-size: 12px;
}
i::before { i::before {
color: $color-blue-figma; color: $blue;
font-size: 1rem; font-size: 1rem;
opacity: 1; opacity: 1;
} }
} }
} }
i::before { i::before {
color: $color-black; color: $black;
font-size: 6rem; font-size: 6rem;
opacity: 0.5; opacity: 0.5;
} }
} }
} .icon-lock {
bottom: -30px;
}
}
.shipping-data, .shipping-data,
.payment-data, .payment-data,
.client-profile-data { .client-profile-data {
.accordion-group { .ship-country {
border-radius: 0; display: none;
border: 1px solid $color-gray4; }
font-family: $font-family; .accordion-group {
padding: 16px; border-radius: 0;
border: 1px solid $gray-100;
font-family: $font-family;
.accordion-heading { .vtex-omnishipping-1-x-address {
span { div {
color: #303030; display: flex;
margin-bottom: 8px; flex-direction: column;
padding: 0;
i::before { P {
fill: #303030; input {
} width: 99%;
} max-width: 100%;
}
}
}
}
a { .accordion-heading {
align-items: center; span {
background-color: $color-blue-figma; margin-bottom: 8px;
border-radius: 8px; padding: 0;
border: none; color: $black;
color: $color-white; font-family: $font-family-secundary;
display: flex; font-style: normal;
justify-content: center; font-weight: 400;
padding: 6px 5px 6px 8px; font-size: 16px;
} line-height: 19px;
} margin-bottom: 15px;
.accordion-inner { i {
padding: 0; position: absolute;
right: 8px;
width: 19.2px;
height: 18px;
cursor: pointer;
}
/* General configurations */ i::before {
background-image: url(https://agenciamagma.vteximg.com.br/arquivos/lapisM3Academy.png);
background-size: 19.2px 18px;
fill: transparent;
color: transparent;
width: 19.2px;
height: 18px;
cursor: pointer;
}
.client-notice { .icon-user {
color: $color-black; display: none;
} }
p { .icon-home {
label { display: none;
color: $color-black; }
font-weight: 500;
}
select, .icon-credit-card {
input { display: none;
border-radius: 0; }
border: 1px solid $color-gray4;
box-shadow: none;
}
.help.error { // .icon-edit {
color: red; // display: none;
} // }
}
.box-client-info-pj { span[data-i18n="clientProfileData.identification"] {
.link a#is-corporate-client, color: $white;
.link a#not-corporate-client { margin: 0;
color: $color-black; }
font-weight: 500;
text-decoration: underline;
}
}
.state-inscription-box span { span[data-i18n="clientProfileData.identification"]::before {
font-weight: 500; content: "Identificação";
} color: $black;
font-family: $font-family-secundary;
font-style: normal;
font-weight: 400;
font-size: 16px;
line-height: 19px;
margin: 0 0 0 17px;
}
button.submit { span[data-i18n="paymentData.payment"]::before {
border: none; content: "";
border-radius: 5px; height: 50px;
background: $color-blue-figma; width: 50px;
color: $color-black; }
margin-top: 8px; }
outline: none;
transition: all 0.2s linear;
&:hover { a {
background: lighten($color-black, 5); align-items: center;
} background-color: transparent;
border-radius: 8px;
border: none;
color: $white;
display: flex;
justify-content: center;
padding: 20px 15px 6px 8px;
}
}
&:active { .accordion-inner {
background: darken($color-black, 5); // margin: 15px 0 0 8px;
}
}
/* Shipping configurations */ /* General configurations */
.ship-postalCode small a { .client-notice {
color: #303030; height: 11px;
font-weight: 500; margin: 0;
text-decoration: underline; color: $white;
} }
.vtex-omnishipping-1-x-deliveryGroup { p {
p { margin: 0;
color: #303030; label {
font-size: 14px; color: $gray-600;
font-weight: 500; font-weight: 500;
}
.shp-lean { #opt-in-newsletter {
border: 1px solid $color-gray4; margin-top: -6px;
border-radius: 0; }
}
label { select,
background-color: $color-white; input {
box-shadow: none; height: 32px;
color: #303030; border-radius: 5px;
padding: 8px 12px; border: 1px solid $gray-25;
font-family: $font-family;
font-style: normal;
font-weight: 400;
font-size: 14px;
line-height: 19px;
box-shadow: none;
color: $gray-700;
}
input {
max-width: 68%;
margin: 0;
}
svg path { #client-email {
fill: #d8c8ac; max-width: 81%;
} }
}
}
}
.delivery-address-title { .help.error {
color: #303030; color: red;
font-size: 14px; }
font-weight: 500;
}
.shp-summary-group-info { .checkbox {
border-color: $color-gray4; margin-top: 7px;
} padding: 0;
.address-summary { #opt-in-newsletter {
background: none; margin-right: 8px;
border-color: $color-gray4; }
border-radius: 0; }
color: #303030; }
padding: 12px;
@include mq(md, max) { .box-client-info-pj {
background-position: 8px 9px; display: none;
} .link a#is-corporate-client,
.link a#not-corporate-client {
color: $black;
font-weight: 500;
text-decoration: underline;
}
}
a { .state-inscription-box span {
color: #303030; font-weight: 500;
font-weight: 500; }
text-decoration: underline;
}
}
.shp-summary-group-price, button.submit {
.shp-summary-package { width: 100%;
color: $color-gray4; border: none;
} margin-top: 42px;
border-radius: 8px;
background: $blue;
outline: none;
transition: all 0.2s linear;
cursor: pointer;
font-family: $font-family;
font-style: normal;
font-weight: 700;
font-size: 14px;
line-height: 19px;
text-transform: uppercase;
}
.shp-summary-group-price { /* Shipping configurations */
padding-right: 16px; .ship-postalCode {
} display: flex;
flex-direction: column;
.shp-summary-package { #ship-postalCode {
padding-left: 16px; width: 95% !important;
} max-width: 95% !important;
margin-bottom: 10px;
}
.vtex-omnishipping-1-x-summaryChange { small a {
border-color: #303030; font-family: $font-family;
color: #303030; font-style: normal;
} font-weight: 400;
font-size: 12px;
line-height: 16px;
color: $gray-500;
font-weight: 500;
text-decoration: underline;
}
}
.vtex-omnishipping-1-x-deliveryChannelsToggle { .vtex-omnishipping-1-x-deliveryGroup {
background-color: #d8c8ac; p {
border: 1px solid #d8c8ac; color: #303030;
} font-size: 14px;
font-weight: 500;
}
.vtex-omnishipping-1-x-deliveryOptionActive { .shp-lean {
text-shadow: 1.3px 1px lighten($color-black, 50); border: 1px solid $gray-25;
} border-radius: 8px;
}
} label {
} background-color: $white;
box-shadow: none;
color: $gray-800;
padding: 8px 12px;
border-bottom: 1px solid $gray-25;
svg path {
fill: $blue;
}
}
}
}
.delivery-address-title {
color: #303030;
font-size: 14px;
font-weight: 500;
}
.shp-summary-group-info {
border-color: $gray-200;
}
.address-summary {
position: relative;
background: none;
font-family: $font-family;
font-style: normal;
font-weight: 400;
font-size: 12px;
line-height: 16px;
border-color: $gray-200;
border-radius: 8px;
color: $gray-600;
padding: 12px 12px 12px 43px;
&::before {
content: "";
position: absolute;
left: 12.86px;
top: 35%;
width: 21px;
height: 23px;
background-size: 21px 23px;
background-image: url(https://agenciamagma.vteximg.com.br/arquivos/homeM3Academy.png);
}
@include mq(md, max) {
background-position: 8px 9px;
}
a {
color: $blue;
font-family: $font-family;
font-style: normal;
font-weight: 400;
font-size: 12px;
line-height: 16px;
margin-left: 84%;
}
}
.shp-summary-group-price,
.shp-summary-package {
color: $gray-200;
}
.shp-summary-group-price {
padding-right: 16px;
}
.shp-summary-package {
padding-left: 16px;
}
.vtex-omnishipping-1-x-SummaryItemContent {
display: block;
.vtex-omnishipping-1-x-SummaryItemInfo {
border: none;
.vtex-omnishipping-1-x-SummaryItemAddress {
.address-summary-BRA {
padding: 12px 12px 12px 12px;
}
.address-summary-BRA::before {
display: none;
}
}
}
}
.vtex-omnishipping-1-x-submitPaymentButton {
button.submit {
margin-top: 0;
}
}
.vtex-omnishipping-1-x-summaryChange {
display: none;
border-color: #303030;
color: $black;
}
.vtex-omnishipping-1-x-deliveryChannelsToggle {
background: $white;
color: $black;
border: 1px solid $gray-500;
}
.vtex-omnishipping-1-x-deliveryOptionActive {
color: $black;
}
.box-step-content {
width: 102%;
form {
.payment-group {
margin-top: 0;
}
.steps-view {
width: 64%;
padding: 0;
}
}
.link-gift-card {
display: none !important;
}
.payment-group-list-btn {
margin: 0;
a {
display: none;
padding: 13px 9px;
border: 1px solid $gray-600;
border-radius: 6px;
text-align: center;
margin: 12px 0 0 0;
span {
margin: 0 !important;
padding: 0 !important;
background-image: none !important;
font-family: $font-family;
font-style: normal;
font-weight: 400;
font-size: 14px;
line-height: 24px;
color: $gray-900;
}
span:hover {
color: $orange;
}
}
a:hover {
border: 1px solid $orange;
}
a[data-name="American Express"] {
display: block;
}
a[data-name="Boleto Bancário"] {
display: block;
}
a[data-name="Depósito"] {
display: block;
}
a[data-name="Mercado Pago"] {
display: block;
}
}
}
}
}
}
} }

View File

@ -5,18 +5,28 @@
} }
.cart-template { .cart-template {
font-family: $font-family; font-family: $font-family-secundary;
@include mq(md, max) { @include mq(md, max) {
padding: 0 0; padding: 0 0;
} }
.cart-template-holder {
margin-bottom: 48px;
}
.item-unit-label { .item-unit-label {
display: none; display: none;
} }
.cart { .cart {
border: 3px solid $color-gray3;
box-sizing: border-box; box-sizing: border-box;
border-radius: 5px; border-radius: 5px;
padding: 16px; padding: 30px 17px 0px 17px;
.clearfix::before {
display: none;
}
@include mq(md, max) { @include mq(md, max) {
margin: 0px 0 25px 0; margin: 0px 0 25px 0;
@ -24,19 +34,37 @@
border-right: none; border-right: none;
border-radius: 0; border-radius: 0;
} }
@include mq(dt, max) {
padding: 16px 0 16px 16px;
}
} }
.cart-fixed.affix { .cart-fixed.affix {
position: relative !important; position: relative !important;
height: 397px !important;
} }
.cart-fixed { .cart-fixed {
border: 1px solid $gray-50;
border-radius: 8px;
font-family: $font-family; font-family: $font-family;
width: 100%; width: 100%;
height: 397px !important;
h2 { h2 {
background: $color-white; padding: 17px 0 0 24px;
background: $white;
border: none; border: none;
color: #303030; color: $gray-500;
font-size: 14px; font-family: $font-family-secundary;
font-weight: 500; font-style: normal;
font-weight: 400;
font-size: 16px;
line-height: 19px;
text-align: start;
}
span {
display: none;
} }
.item-unavailable { .item-unavailable {
@ -48,9 +76,8 @@
} }
.cart { .cart {
border: 1px solid $color-gray4;
ul li { ul li {
line-break: strict;
border-top: none; border-top: none;
margin-top: 0; margin-top: 0;
padding-top: 0; padding-top: 0;
@ -63,22 +90,58 @@
.shipping-date, .shipping-date,
.price { .price {
color: #7d7d7d; color: $black;
font-weight: 400;
font-size: 14px;
line-height: 16px;
} }
} }
} }
.summary-template-holder { .summary-template-holder {
border-top: none; border-top: none;
background: $color-white; background: $white;
.row-fluid summary {
margin-top: 48px;
}
.row-fluid summary ::after,
::before {
display: none;
content: none;
}
.row-fluid summary ::before,
::after {
display: none;
content: none;
}
} }
#go-to-cart-button a { #go-to-cart-button a {
color: #303030; width: 100%;
text-decoration: underline; padding-right: 17px;
font-family: $font-family;
font-style: normal;
font-weight: 400;
font-size: 12px;
line-height: 16px;
color: black;
&:hover {
text-decoration: underline !important;
}
} }
.summary-totalizers { .summary-totalizers {
padding: 0 17px;
tr {
border-top: 1px solid $gray-25;
width: 100%;
padding: 25px 0;
}
td.info { td.info {
width: 100%; width: 100%;
} }
@ -87,34 +150,38 @@
#payment-data-submit { #payment-data-submit {
background: $color-green; background: $color-green;
border: none; border: none;
border-radius: 0; border-radius: 8px;
color: $color-white; color: $white;
outline: none; outline: none;
transition: all 0.2s linear; transition: all 0.2s linear;
&:hover {
background: lighten($color-black, 5);
}
&:active { .store-country-BRA {
background: darken($color-black, 5); margin: 0;
padding: 0;
} }
} }
} }
.lookatme { .lookatme {
background-color: $color-white; background-color: $white;
} }
.cart-items { .cart-items {
.product-item { white-space: normal !important;
padding: 16px 0; justify-content: center;
align-items: center;
.fn product-name {
line-break: auto;
width: 117px;
white-space: normal;
} }
th { th {
color: $color-black; color: $black;
padding: 0 0 16px; padding: 0 0 16px;
font-style: normal; font-style: normal;
font-weight: bold; font-weight: 400;
font-size: 14px; font-size: 14px;
line-height: 16px; line-height: 16px;
@ -148,14 +215,21 @@
} }
.product-name { .product-name {
display: flex;
width: 115px;
line-break: normal;
padding-right: 0; padding-right: 0;
align-items: center;
padding-top: 6%;
white-space: normal !important;
color: $black;
@include mq(lg, max) { @include mq(lg, max) {
width: 250px; width: 250px;
} }
a { a {
color: $color-blue; color: $black;
font-style: normal; font-style: normal;
font-weight: normal; font-weight: normal;
font-size: 12px; font-size: 12px;
@ -163,7 +237,6 @@
transition: ease-in 0.22s all; transition: ease-in 0.22s all;
&:hover { &:hover {
color: darken($color-blue, 10);
text-decoration: none; text-decoration: none;
} }
@ -179,7 +252,7 @@
} }
td.shipping-date { td.shipping-date {
color: $color-gray2; color: $black;
font-size: 12px; font-size: 12px;
line-height: 14px; line-height: 14px;
@ -200,7 +273,7 @@
} }
span.list-price { span.list-price {
color: $color-gray2; color: $black;
font-size: 12px; font-size: 12px;
line-height: 14px; line-height: 14px;
text-decoration-line: line-through; text-decoration-line: line-through;
@ -233,8 +306,8 @@
} }
input { input {
background-color: $color-white; background-color: $white;
border: 1px solid $color-gray3; border: 1px solid $white;
border-radius: 0; border-radius: 0;
border-width: 0 1px; border-width: 0 1px;
display: block; display: block;
@ -242,7 +315,7 @@
margin: 0 !important; margin: 0 !important;
padding: 8px 0; padding: 8px 0;
width: 38px; width: 38px;
color: $color-gray2; color: $black;
box-shadow: none; box-shadow: none;
@include mq(lg, max) { @include mq(lg, max) {
@ -253,27 +326,23 @@
.icon-plus-sign, .icon-plus-sign,
.icon-minus-sign { .icon-minus-sign {
&::before { &::before {
background-color: $color-blue-figma; color: $black;
color: $color-white;
display: block; display: block;
font-weight: 500; font-weight: 500;
margin: 1px 12px; padding: 1px 12px;
border-radius: 50%;
border: 50%;
width: 18px;
} }
} }
.icon-minus-sign { .icon-minus-sign {
&:before { &:before {
content: "-"; color: $blue;
font-size: 16px; font-size: 16px;
} }
} }
.icon-plus-sign { .icon-plus-sign {
&:before { &:before {
content: "+"; color: $blue;
font-size: 14px; font-size: 14px;
} }
} }
@ -301,10 +370,10 @@
} }
span { span {
font-style: normal; font-style: normal;
font-weight: normal; font-weight: 700;
font-size: 14px; font-size: 14px;
line-height: 16px; line-height: 16px;
color: $color-black; color: $gray-500;
} }
} }
@ -319,7 +388,7 @@
top: 0; top: 0;
} }
.icon::before { .icon::before {
color: $color-gray4; color: $gray-200;
font-size: 15px; font-size: 15px;
@include mq(md, max) { @include mq(md, max) {
@ -330,10 +399,10 @@
.item-unavailable-message { .item-unavailable-message {
background-color: #d8c8ac; background-color: #d8c8ac;
color: $color-white; color: $white;
.icon-warning-sign { .icon-warning-sign {
color: #bb4f4f; color: #ff0000;
} }
.top-arrow { .top-arrow {
@ -348,7 +417,7 @@
width: max-content; width: max-content;
.srp-container { .srp-container {
padding: 0 0 0 10px; padding: 0 0 0 16px;
@include mq(md, max) { @include mq(md, max) {
padding: 0 16px; padding: 0 16px;
@ -356,11 +425,12 @@
.srp-main-title { .srp-main-title {
margin: 32px 0 12px; margin: 32px 0 12px;
font-family: "Open Sans";
font-style: normal; font-style: normal;
font-weight: normal; font-weight: 400;
font-size: 24px; font-size: 24px;
line-height: 28px; line-height: 33px;
color: $color-gray2; color: $black;
@include mq(md, max) { @include mq(md, max) {
margin-top: 0; margin-top: 0;
@ -368,32 +438,30 @@
} }
.srp-description { .srp-description {
color: $color-gray2; color: $gray-150;
font-family: "Open Sans";
font-size: 12px; font-size: 12px;
line-height: 18px; line-height: 18px;
margin: 0 0 12px; margin: 0 0 12px;
} }
button.shp-open-options { button.shp-open-options {
background-color: $color-gray5; background-color: $gray-50;
border: none; border: none;
border-radius: 5px; border-radius: 5px;
color: $color-gray2; color: $black;
font-size: 16px; font-size: 16px;
letter-spacing: 0.05em; letter-spacing: 0.05em;
font-family: "Open Sans";
line-height: 19px; line-height: 19px;
font-weight: 500; font-weight: 500;
outline: none; outline: none;
padding: 12px 40px; padding: 12px 40px;
transition: all 0.2s linear; transition: all 0.2s linear;
}
&:hover { .ship-country {
background-color: lighten($color-gray5, 5); display: none;
}
&:active {
background-color: darken($color-gray5, 5);
}
} }
} }
@ -409,26 +477,19 @@
} }
.srp-pickup-my-location__button { .srp-pickup-my-location__button {
background-color: $color-black; background-color: $blue;
border: none; border: none;
border-radius: 5px; border-radius: 5px;
color: $color-white; color: $white;
outline: none; outline: none;
width: 100%; width: 100%;
font-family: $font-family;
font-style: normal; font-style: normal;
font-weight: 500; font-weight: 700;
font-size: 14px; font-size: 14px;
line-height: 16px; line-height: 19px;
letter-spacing: 0.05em; letter-spacing: 0.05em;
padding: 11px 0;
&:hover {
background-color: lighten($color-black, 5);
}
&:active {
background-color: darken($color-black, 5);
}
} }
} }
@ -436,8 +497,9 @@
margin: 0 0 34px; margin: 0 0 34px;
&__wrapper { &__wrapper {
background-color: $color-white; background-color: $white;
border-radius: 100px; border-radius: 100px;
border: 1px solid $gray-125;
width: 100%; width: 100%;
font-family: $font-family; font-family: $font-family;
font-style: normal; font-style: normal;
@ -445,15 +507,19 @@
font-size: 14px; font-size: 14px;
line-height: 16px; line-height: 16px;
text-transform: uppercase; text-transform: uppercase;
box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
color: $gray-125;
} }
&__current { &__current {
border: 1px solid $color-blue; border: 1px solid $black;
border-radius: 100px; border-radius: 100px;
box-shadow: none;
} }
.blue { .blue {
color: $color-blue; color: $black;
box-shadow: none;
} }
label { label {
@ -467,21 +533,25 @@
.srp-postal-code { .srp-postal-code {
.ship-postalCode { .ship-postalCode {
.ship-country {
display: none;
}
label { label {
font-family: $font-family; font-family: $font-family;
font-style: normal; font-style: normal;
font-weight: normal; font-weight: normal;
font-size: 12px; font-size: 12px;
line-height: 14px; line-height: 14px;
color: $color-black; color: $black;
margin-bottom: 12px; margin-bottom: 12px;
} }
input { input {
border: 1px solid $color-gray3; border: 1px solid $gray-125;
border-radius: 5px; border-radius: 5px;
box-shadow: none; box-shadow: none;
color: $color-gray3; color: $black;
font-size: 12px; font-size: 12px;
height: 36px; height: 36px;
padding: 12px 8px; padding: 12px 8px;
@ -489,10 +559,10 @@
} }
& ~ button { & ~ button {
background-color: $color-blue-figma; background-color: $blue;
border: none; border: none;
border-radius: 5px; border-radius: 8px;
color: $color-black; color: $white;
font-size: 12px; font-size: 12px;
height: 36px; height: 36px;
letter-spacing: 1px; letter-spacing: 1px;
@ -503,27 +573,26 @@
transition: all 0.2s linear; transition: all 0.2s linear;
width: 96px; width: 96px;
text-transform: uppercase; text-transform: uppercase;
&:hover {
background-color: lighten($color-black, 5);
}
&:active {
background-color: darken($color-black, 5);
}
} }
small a { small a {
width: 10%;
font-family: $font-family; font-family: $font-family;
font-style: normal; font-style: normal;
font-weight: normal; font-weight: 400;
font-size: 10px; font-size: 10px;
line-height: 12px; line-height: 12px;
color: $color-blue; color: $black;
margin-top: 7px; margin-top: 7px;
cursor: pointer;
}
small:hover {
text-decoration: underline;
} }
span.help.error { span.help.error {
display: none;
color: red; color: red;
font-size: 12px; font-size: 12px;
position: absolute; position: absolute;
@ -548,12 +617,12 @@
font-weight: 500; font-weight: 500;
&:hover { &:hover {
text-decoration: underline; text-decoration: none;
} }
} }
.srp-shipping-current-single { .srp-shipping-current-single {
border: 1px solid $color-gray4; border: 1px solid $gray-200;
border-radius: 0; border-radius: 0;
color: #303030; color: #303030;
margin: 16px 0 0; margin: 16px 0 0;
@ -565,12 +634,13 @@
} }
.srp-delivery-select { .srp-delivery-select {
border: 1px solid $color-gray4; border: 1px solid $gray-200;
border-radius: 5px;
} }
.srp-delivery-select-container { .srp-delivery-select-container {
border: 1px solid $color-gray4; border: 1px solid $gray-200;
border-radius: 0; border-radius: 5px;
.srp-shipping-current-many { .srp-shipping-current-many {
&__name { &__name {
@ -587,7 +657,7 @@
} }
&__arrow svg { &__arrow svg {
fill: $color-gray4; fill: $gray-200;
} }
} }
} }
@ -602,17 +672,16 @@
#cart-link-coupon-add { #cart-link-coupon-add {
text-decoration: none; text-decoration: none;
&:hover { &:hover {
text-decoration: underline;
cursor: pointer; cursor: pointer;
} }
} }
span { span {
font-family: $font-family; font-family: $font-family-secundary;
font-style: normal; font-style: normal;
font-weight: normal; font-weight: 400;
font-size: 12px; font-size: 12px;
line-height: 14px; line-height: 14px;
color: $color-blue; color: $black;
text-decoration: none; text-decoration: none;
} }
} }
@ -634,14 +703,16 @@
} }
.coupon-label label { .coupon-label label {
text-align: left;
font-family: $font-family-secundary !important;
cursor: default;
margin-bottom: 12px; margin-bottom: 12px;
font-family: $font-family; font-family: $font-family;
font-style: normal; font-style: normal;
font-weight: normal; font-weight: 400;
font-size: 12px; font-size: 12px;
line-height: 14px; line-height: 14px;
color: $color-gray2; color: $gray-600;
cursor: none;
} }
.coupon-fields { .coupon-fields {
@ -664,11 +735,15 @@
border: 2px solid $color-gray3; border: 2px solid $color-gray3;
border-radius: 5px; border-radius: 5px;
box-shadow: none; box-shadow: none;
color: $color-gray4; font-family: $font-family-secundary !important;
font-style: normal;
font-weight: 400;
font-size: 12px; font-size: 12px;
line-height: 14px;
color: $gray-200;
height: 34px; height: 34px;
padding: 0 12px; padding: 0 16px;
width: 204px; width: 51%;
@include mq(sm, max) { @include mq(sm, max) {
max-width: 100%; max-width: 100%;
@ -677,30 +752,28 @@
} }
button { button {
background: $color-blue-figma; text-align: center;
background: $blue;
border: none; border: none;
border-radius: 5px; border-radius: 5px;
color: $color-black; color: $black;
font-size: 12px; font-family: $font-family;
font-style: normal;
font-weight: 400;
font-size: 14px;
line-height: 19px;
height: 36px; height: 36px;
letter-spacing: 1px; letter-spacing: 1px;
margin-left: 6px;
outline: none; outline: none;
transition: all 0.2s linear; transition: all 0.2s linear;
width: 94px; width: 35%;
text-transform: uppercase; text-transform: uppercase;
text-shadow: none;
margin-left: 5px;
@include mq(md, max) { @include mq(md, max) {
width: 138px; width: 138px;
} }
&:hover {
background-color: lighten($color-black, 5);
}
&:active {
background-color: darken($color-black, 5);
}
} }
} }
} }
@ -720,8 +793,8 @@
font-weight: normal; font-weight: normal;
font-size: 14px; font-size: 14px;
line-height: 16px; line-height: 16px;
color: $color-black; color: $gray-600;
padding: 12px 0; padding: 25px 0;
} }
&.info { &.info {
@ -737,11 +810,12 @@
tfoot { tfoot {
td.info, td.info,
td.monetary { td.monetary {
font-family: $font-family;
font-style: normal; font-style: normal;
font-weight: normal; font-weight: 700;
font-size: 18px; font-size: 18px;
line-height: 21px; line-height: 25px;
color: $color-black; color: $gray-500;
} }
} }
} }
@ -775,40 +849,36 @@
} }
a { a {
font-family: $font-family; font-family: $font-family-secundary;
font-style: normal; font-style: normal;
font-weight: normal; font-weight: 400;
font-size: 12px; font-size: 12px;
line-height: 14px; line-height: 14px;
color: $color-blue; color: $black;
} }
} }
.btn-place-order-wrapper { .btn-place-order-wrapper {
a { a {
background: $color-blue-figma; background: $blue;
border: none; border: none;
border-radius: 5px; border-radius: 5px;
display: block; display: block;
font-size: 0; font-size: 0;
transition: ease-in 0.22s all; transition: ease-in 0.22s all;
padding: 12px 19px; padding: 12px 19px;
cursor: pointer;
&:hover {
background-color: darken($color-green, 5);
}
&:after { &:after {
content: "finalizar compra"; content: "finalizar compra";
font-family: $font-family; font-family: $font-family;
font-weight: 500; font-weight: 700;
font-size: 13px; font-size: 14px;
line-height: 19px;
letter-spacing: 0.05em; letter-spacing: 0.05em;
color: $color-black; color: $black;
text-transform: uppercase; text-transform: uppercase;
vertical-align: middle; vertical-align: middle;
line-height: 19px;
text-shadow: none; text-shadow: none;
} }
} }

View File

@ -1,39 +1,118 @@
.empty-cart { .empty-cart {
font-family: $font-family; font-family: $font-family;
&-content {
color: $color-black;
text-align: center;
@include mq(md, max) { &-content {
padding: 0 16px; height: 100%;
} color: $black;
} text-align: center;
&-title { @include mq(md, max) {
font-size: 20px; padding: 0 16px;
} }
}
&-links { &-message {
.link-choose-products { display: none;
background: $color-white !important ; }
border-width: 1px;
border-style: solid;
border-color: $color-black ;
transition: ease-in 0.22s all;
outline: none;
font-family: $font-family;
font-style: normal;
font-weight: 500;
font-size: 14px;
line-height: 16px;
text-align: center;
letter-spacing: 0.05em;
color: $color-black;
text-transform: uppercase;
&:hover { &-title {
background: lighten($color-black, 5); font-family: $font-family;
} font-style: normal;
} font-weight: 700;
} font-size: 24px;
line-height: 33px;
text-align: center;
text-transform: uppercase;
margin-top: 170px;
@include mq(sm, max) {
font-size: 18px;
line-height: 25px;
}
@include mq(tv, min) {
font-size: 48px;
line-height: 65px;
}
}
&-links {
a {
position: relative;
font-family: $font-family-secundary;
font-style: normal;
font-weight: 400;
font-size: 14px;
line-height: 16px;
text-align: center;
text-transform: uppercase;
letter-spacing: 0.05em;
color: transparent;
@include mq(tv, min) {
width: 25%;
}
}
a::after {
content: "Continuar comprando";
color: $black;
font-family: $font-family-secundary;
font-style: normal;
font-weight: 400;
font-size: 14px;
line-height: 16px;
text-align: center;
text-transform: uppercase;
letter-spacing: 0.05em;
position: absolute;
left: 0;
right: 0;
@include mq(Gf, max) {
top: 25%;
}
@include mq(sm, max) {
font-size: 14px;
line-height: 16px;
}
@include mq(tv, min) {
font-weight: 400;
font-size: 28px;
line-height: 33px;
top: 13%;
}
}
.link-choose-products {
background: $white;
border: 1px solid $black;
border-radius: 0;
outline: none;
font-family: $font-family-secundary;
font-style: normal;
font-weight: 400;
font-size: 14px;
line-height: 16px;
text-align: center;
letter-spacing: 0.05em;
padding: 16px 65px;
color: $white;
text-transform: uppercase;
@include mq(sm, max) {
padding: 16px 26px;
}
@include mq(Gf, max) {
padding: 0 26px;
}
&:hover {
background: $white;
text-decoration: none;
}
}
}
} }

View File

@ -7,17 +7,26 @@ html {
height: 100%; height: 100%;
min-height: 100%; min-height: 100%;
} }
footer {
margin-top: auto;
}
footer .footerCheckout__wrapper { footer .footerCheckout__wrapper {
// width: 94.9734%;
width: 100%; width: 100%;
margin: auto auto 0 auto; margin: auto auto 0 auto;
} }
footer .footerCheckout__prateleira, footer .footerCheckout__prateleira {
width: 97.5%;
margin: 0 auto 56px;
@include mq(dt, min) {
width: 79.376%;
}
}
header { header {
// width: 79.53125%;
width: 100%; width: 100%;
margin: 0; margin: 0 auto;
} }
body { body {
@ -25,11 +34,16 @@ body {
flex-direction: column; flex-direction: column;
min-height: 100% !important; min-height: 100% !important;
padding-top: 0 !important; padding-top: 0 !important;
text-decoration: none;
@include mq(md, max) { @include mq(md, max) {
padding-left: 0; padding-left: 0;
} }
a:hover {
text-decoration: none !important;
}
&.body-cart { &.body-cart {
font-family: $font-family; font-family: $font-family;
} }
@ -51,37 +65,46 @@ body {
} }
.container-order-form, .container-order-form,
.container-cart { .container-cart {
width: 80%; width: 100%;
@include mq(dt, min) {
width: 80%;
}
} }
} }
.btn-success { .btn-success {
background: $color-black; background: $black;
text-shadow: none; text-shadow: none;
&:hover { &:hover {
background: lighten($color-black, 15%); background: lighten($black, 15%);
} }
} }
.emailInfo h3 { .emailInfo h3 {
color: $color-black !important; color: $black !important;
} }
#cart-title, #cart-title,
#orderform-title { #orderform-title {
color: $color-gray2;
font-family: $font-family; font-family: $font-family;
font-weight: 500; color: $black;
font-size: 36px; font-style: normal;
line-height: 42px; font-weight: 700;
margin: 40px 0 30px; font-size: 24px;
letter-spacing: 0.1em; line-height: 33px;
margin: 17px 0 17px;
letter-spacing: 0.05em;
text-transform: uppercase; text-transform: uppercase;
@include mq(md, max) { @include mq(md, max) {
margin-left: 30px; margin-left: 30px;
} }
@include mq(dt, max) {
margin-left: 16px;
}
} }
.dropdown { .dropdown {
@ -98,7 +121,7 @@ body {
&::before, &::before,
&::after { &::after {
content: ""; content: "";
background: $color-gray2; background: $gray-150;
display: block; display: block;
float: right; float: right;
height: 2px; height: 2px;

View File

@ -1,101 +1,214 @@
/* _footer.scss */ .footerCheckout {
hr{ .container {
background-color: black; display: flex;
color: black;
margin: 0 !important;
border: 1px solid;
}
.conteiner_footer {
width: 100%!important;
display: flex;
align-items: center;
padding: 22px 22px 22px 32px;
@media (max-width: 1024px) {
width: 100%!important;
flex-direction: column; flex-direction: column;
display: block; width: 100%;
} padding: 7px 0;
.footerCheckout { margin: 0;
border-top: none;
color: $color-gray2;
&__wrapper { @include mq(dt, min) {
flex-direction: row;
align-items: center; align-items: center;
display: flex;
justify-content: space-between; justify-content: space-between;
padding: 15px 0 15px 0;
} }
&__address { @include mq(tv, min) {
color: $color-gray2; padding: 26px 0 26px 0;
font-family: $font-family;
font-style: normal;
font-weight: normal;
font-size: 10px;
line-height: 12px;
text-transform: capitalize;
max-width: 40%;
@include mq(md, max) {
margin-bottom: 24px;
max-width: 100%;
}
span{
font-family: 'Open Sans';
font-style: normal;
font-weight: 400;
font-size: 10px;
line-height: 14px;
text-transform: capitalize;
color: #292929;
}
} }
}
&__stamps { &__wrapper {
align-items: center; border-top: 1px solid $black;
@media screen and (max-width: 490px) {
padding: 7px 0;
}
}
&__address {
color: $gray-500;
font-family: $font-family;
font-weight: 400;
line-height: 14px;
font-size: 10px;
text-transform: capitalize;
@include mq(dt, max) {
display: flex; display: flex;
justify-self: center; width: 100%;
list-style: none; order: 2;
margin: 0 0 10px 0px; margin-top: 17px;
@include mq(md, max) { span {
align-self: center;
margin-bottom: 12px;
}
&__divider {
background-color: $color-gray4;
display: inline-block;
height: 24px;
margin: 0 8px;
width: 1px;
}
}
&__developedBy {
align-items: center;
display: flex;
list-style-type: none;
margin: 0;
li:last-child {
margin-left: 16px; margin-left: 16px;
} }
}
a { @include mq(dt, min) {
align-items: center; min-width: 269px;
color: $color-gray2; margin-left: 32px;
display: flex; }
font-family: $font-family;
font-style: normal;
font-weight: normal;
font-size: 10px;
line-height: 12px;
text-decoration: none;
span { @include mq(tv, min) {
margin-right: 8px; font-size: 20px;
line-height: 27px;
min-width: 537px;
margin-left: 0;
}
}
&__stamps {
display: flex;
height: 33px;
align-items: center;
list-style: none;
margin: 0 0 0 5px;
li {
height: 33px;
}
@include mq(dt, min) {
justify-content: center;
min-width: 404px;
margin: 0;
}
@include mq(tv, min) {
min-width: 690.52px;
}
.payments-icons-wrapper {
display: flex;
width: 100%;
list-style: none;
margin: 0;
gap: 4px;
figure {
padding: 6px 0 7px;
width: 35.65px;
height: 20px;
margin: 0;
@include mq(tv, min) {
width: 69.63px;
}
@include mq(Gf, max) {
width: 28px;
}
}
}
.footerCheckout__stamps__divider {
border-left: 1px solid $gray-125;
margin: 0 10px;
height: 33px;
padding: 0 0 9px;
@include mq(dt, min) {
margin-left: 11.35px;
}
}
.footerCheckout__vtexpci {
.vtex-icon {
width: 53px;
margin: 0;
}
@include mq(tv, min) {
.vtex-icon {
width: 103.52px;
height: 64.46px;
} }
} }
} }
} }
&__developedBy {
align-items: center;
display: flex;
list-style-type: none;
margin: 0;
@include mq(dt, max) {
display: flex;
width: 100%;
order: 3;
margin-top: 17px;
}
@include mq(dt, min) {
min-width: 217px;
margin-right: 22.5px;
}
li {
margin-left: 16px;
figure {
margin: 0;
}
}
.vtex-icon {
width: 44.92px;
margin: 0;
}
.m3-icon {
width: 28.66px;
margin: 0;
}
a {
align-items: center;
color: $gray-500;
display: flex;
font-family: $font-family;
font-style: normal;
font-weight: 400;
font-size: 9px;
line-height: 12px;
text-decoration: none;
span {
margin-right: 8px;
}
}
@include mq(tv, min) {
min-width: 388.98px;
margin-right: 0;
a {
font-size: 18px;
line-height: 25px;
}
li {
margin-left: 10px;
}
.vtex-icon {
width: 87.73px;
}
.m3-icon {
width: 55.98px;
}
}
}
.footerCheckout::after,
::before {
display: none;
content: none;
}
.footerCheckout::before,
::after {
display: none;
content: none;
}
} }

View File

@ -1,60 +1,173 @@
/* _header.scss */
.headerCheckout { .headerCheckout {
.container { .container {
width: 100%!important; width: auto !important;
hr{
background-color: black;
color: black;
margin: 0 !important;
}
} }
&__wrapper { &__wrapper {
align-items: center;
display: flex; display: flex;
justify-content: space-between; align-items: center;
padding: 29px 131px; justify-content: space-around;
@media (max-width: 1024px) { padding: 16px;
padding: 16px 16px;; border-bottom: 1px solid $black;
}
@media (min-width: 1025px) {
padding: 33.5px 0;
}
@media (min-width: 2500px) {
padding: 33.5px 0;
}
}
.progress-bar {
display: flex;
flex-direction: column;
right: 31.5%;
top: 33%;
@media (max-width: 1024px) {
display: none;
}
@media (min-width: 2500px) {
right: 41%;
}
.containerLi {
display: flex;
position: relative;
align-items: center;
}
ul {
display: flex;
margin: 0;
gap: 100px;
list-style: none;
}
p {
margin-bottom: 0;
}
&-text {
font-family: $font-family-secundary;
font-weight: 400;
font-size: 12px;
line-height: 14px;
@media (min-width: 2500px) {
font-size: 24px;
line-height: 28px;
}
}
&-line-1,
&-line-2 {
position: absolute;
width: 169px;
top: 82%;
left: 55%;
border: 1px solid $black;
@media (min-width: 2500px) {
width: 240px;
top: 79%;
left: 55%;
}
}
&-line-2 {
width: 166px;
left: -223%;
@media (min-width: 2500px) {
width: 230px;
left: -143%;
}
}
&-circle-1,
&-circle-2,
&-circle-3 {
display: flex;
height: 10px;
width: 10px;
align-self: center;
background: $white;
border: 1px solid $black;
border-radius: 50%;
margin-left: 40%;
margin-top: 9px;
padding: 0;
@media (min-width: 2500px) {
height: 22px;
width: 22px;
}
}
.active {
background: $black;
}
} }
&__logo { &__logo {
img { width: 45.35%;
height: 52px;
width: auto; @media (min-width: 1025px) {
@media (max-width: 1024px) { width: 17.059%;
width: 155px; }
@media (min-width: 1025px) {
width: 15.28%;
img {
width: 100%;
} }
} }
@media (min-width: 2500px) {
width: 19.22%;
}
} }
&__safeBuy { &__safeBuy {
justify-content: end;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center;
width: 11.69%; @media (min-width: 1025px) {
@media (max-width: 1024px) { width: 15.5%;
width: 34.73%; }
}
@media (min-width: 2500px) {
width: 20%;
}
span { span {
align-items: center; min-width: fit-content;
display: flex; height: 50%;
text-transform: uppercase; text-transform: uppercase;
font-family: $font-family; font-family: $font-family;
font-style: normal; font-style: normal;
font-weight: normal; font-weight: normal;
font-size: 12px; font-size: 12px;
line-height: 14px; line-height: 16px;
color: $color-gray; color: $color-gray;
} margin-left: 8px;
img{
width: 10.085%; @media (min-width: 2500px) {
margin-right: 8px; font-style: normal;
font-weight: 400;
font-size: 24px;
line-height: 33px;
}
} }
i { img {
margin-right: 8px; width: 4.5%;
min-width: 12px;
@media (min-width: 2500px) {
width: 6.1%;
}
} }
} }
} }

View File

@ -1 +1,97 @@
/* _prateleira.scss */ .title_slick {
font-family: $font-family-secundary;
font-style: normal;
font-weight: 400;
font-size: 24px;
line-height: 38px;
text-align: center;
margin: 20px 0;
}
footer .footerCheckout__prateleira {
.slick-list {
width: 100%;
&__itemList {
display: flex !important;
flex-direction: column;
list-style: none;
align-items: center;
justify-content: center;
width: 95.28% !important;
margin: 0;
@include mq(dt, max) {
width: 97% !important;
margin: 0 7.5px;
}
.img-container {
margin: 0;
background: #ededed;
}
.itemtName {
height: 36px;
font-family: $font-family-secundary;
font-style: normal;
font-weight: 400;
font-size: 13px;
line-height: 18px;
color: $black;
margin: 20px 0 !important;
}
.itemSku {
display: flex;
gap: 5px;
list-style: none;
margin-bottom: 20px;
p {
border-radius: 8px;
background: $blue;
color: $white;
padding: 5px;
}
}
.itemLink {
width: 100%;
border-radius: 8px;
background: $blue;
padding: 12px 0;
text-align: center;
color: $white;
cursor: pointer;
}
}
}
.slick-prev {
background: url("https://agenciamagma.vteximg.com.br/arquivos/arrow-left-mini-M3Academy.svg")
no-repeat center center;
z-index: 4;
top: 41%;
left: 14px;
border: none;
height: 30px;
@include mq(dt, min) {
left: 10px;
}
}
.slick-next {
background: url("https://agenciamagma.vteximg.com.br/arquivos/arrow-right-mini-M3Academy.svg")
no-repeat center center;
z-index: 4;
top: 41%;
right: 9px;
border: none;
height: 30px;
@include mq(dt, min) {
right: 20px;
}
}
}

View File

@ -1,39 +1,54 @@
/* fonts */ /* fonts */
@import url("https://fonts.googleapis.com/css2?family=Tenor+Sans&display=swap"); @import url("https://fonts.googleapis.com/css2?family=Tenor+Sans&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700;800&display=swap"); @import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700;800&display=swap");
$font-family: "Open Sans", sans-serif; $font-family: "Open Sans", sans-serif;
$font-family-secundary:"Tenor Sans", sans-serif; $font-family-secundary: "Tenor Sans", sans-serif;
/* Colors */ /* Colors */
$color-black: #292929; $black: #000;
$white: #fff;
$color-white: #fff; $gray-50: #e5e5e5;
$gray-25: #e0e0e0;
$gray-100: #f0f0f0;
$gray-125: #c4c4c4;
$gray-150: #989898;
$gray-200: #8d8d8d;
$gray-500: #292929;
$gray-600: #7d7d7d;
$gray-700: #bdbdbd;
$gray-800: #828282;
$gray-900: #58595b;
$blue: #00c8ff;
$orange: #f15a31;
$color-gray: #6c6c6c; $color-gray: #6c6c6c;
$color-gray2: #7d7d7d;
$color-gray3: #f0f0f0; $color-gray3: #f0f0f0;
$color-gray4: #8d8d8d;
$color-gray5: #e5e5e5;
$color-blue-figma:#00C8FF;
$color-blue: #4267b2; $color-blue: #4267b2;
$color-green: #4caf50; $color-green: #298541;
/* Grid breakpoints */ /* Grid breakpoints */
$grid-breakpoints: ( $grid-breakpoints: (
xs: 0, xs: 0,
cstm: 400, Gf: 328px,
sm: 576px, cstm: 400,
md: 768px, sm: 576px,
lg: 992px, md: 768px,
xl: 1200px lg: 992px,
dt: 1025px,
xl: 1200px,
tv: 2500px,
) !default; ) !default;
$z-index: ( $z-index: (
level1: 5, level1: 5,
level2: 10, level2: 10,
level3: 15, level3: 15,
level4: 20, level4: 20,
level5: 25 level5: 25,
) !default; ) !default;

View File

@ -30,8 +30,7 @@
<li> <li>
<a href="https://agenciam3.com/"> <a href="https://agenciam3.com/">
<span>Developed By</span> <span>Developed By</span>
<img src="https://agenciamagma.vteximg.com.br/arquivos/logoM3M3Academy.png" alt="logoM3"> <img src="https://agenciamagma.vteximg.com.br/arquivos/logoVTEXM3Academy.png" alt="">
@TODO: m3 icon
</a> </a>
</li> </li>
</ul> </ul>

View File

@ -14,10 +14,6 @@
<div class="headerCheckout__safeBuy"> <div class="headerCheckout__safeBuy">
<img src="https://agenciamagma.vteximg.com.br/arquivos/cadeadoCompraSegM3Academy.png" alt="Cadeado"/> <img src="https://agenciamagma.vteximg.com.br/arquivos/cadeadoCompraSegM3Academy.png" alt="Cadeado"/>
<span>Compra segura</span> <span>Compra segura</span>
<button type="submit"></button>
<button disabled="disabled"></button>
<button type="reset"></button>
<button onclick="voltarFrete()">Calcular</button>
</div> </div>
</div> </div>
</div> </div>