:root {
    --main-color: #400090;
    --purple-light: #B57AFF;
    --purple-dark: #1D0936;


    --orange: #FF8A00;
    --orange-light: #FFa654;
    --orange-dark: #DF5E00;

    --input-color: #C4C4C4;

    --black: #000000;

    --grey: #ebebeb;

    --background: #FAFAFA;

    --white: #FFFFFF;

    --span: #eee9e9;

    --green: #00C608;

    --grey-text: #5a5959;

    --grey-line: #d1d0d0;

    --background-cupom: #CCE5F3;

    --font-color-cupom: #175EA8;

    --button-pagamentos-hover: #00A1E4;
}

* {

    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

body {
    background: var(--background-color);
    --webkit-font-smoothing: antialiased;
}

button {
    cursor: pointer;
}

header {
    min-width: 100%;
    background: var(--grey);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    height: 9rem;
}

.header-container img {
    width: 13rem;
}

.header-container input {
    min-width: 60%;
    padding: 1rem;
    border: 1.5px solid #d9d9d9;
    border-radius: 9px;
}

.header-container button {
  background: var(--main-color);
  color: var(--white);
  padding: 0.19rem;
  border-radius: 9px;
  min-width: 7rem;
}

.header-container button a {
    text-decoration: none;
    color: var(--white);
}

.header-container button span {
    color: var(--span);
}

.header-container button:hover {
    transition: 0.3s ease;
    transform: scale(1.1);
}

.header-container .cart {
    color: var(--main-color);
    cursor: pointer;
 }

 .header-container .cart:hover {
    color: var(--green);
 }

 .header-container .cart {
    font-size: 2rem;
    color: var(--main-color);
    cursor: pointer;
 }

 .header-container .cart a {
    font-size: 2.3rem;
    text-decoration: none;
    color: var(--main-color);
 }

 .header-container .cart a:hover {
    color: var(--green);
 }


nav  {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--main-color);
    font-size: 1rem;
    min-height: 6rem;
    margin-bottom: 0.5rem;
    color: var(--white);
    min-width: 100%;
}

nav a {
    text-decoration: none;
    color: var(--white);
    font-weight: bold;
    position: relative;
  }
  
  nav a::after {
    content: "";
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--white);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: bottom right;
  }
  
  nav a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}


.a-container {
    display: flex;
    gap: 10rem;
}

.frete-gratis {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    gap: 0.6rem;
    width: 100%;
    background: #edecec;
}

.frete-gratis i {
    font-size: 1.5rem;
}


h1 {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 2.5rem;
    font-weight: bold;
    margin: 2rem;
}

.cupom {
    margin-left: 1rem;
    padding: 1rem;
    width: 99%;
    background: var(--background-cupom);
    color: var(--font-color-cupom);
    border-radius: 9px;
    font-size: 1.125rem;
    font-weight: bold;

    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cupom i {
   font-size: 1.4rem;
   cursor: pointer;
}

.carrinho-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.carrinho-line {
    border: 1px solid var(--grey-line);
    border-radius: 9px;
    width: 99%;
    padding: 1rem;
    margin-left: 1rem;
}

.carrinho-line h4 {
    font-weight: bold;
}

img {
    width: 7%;
}

.produtos {
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 2rem;
}

.especificacoes-produtos {
    display: block;
}

.especificacoes-produtos .preco {
    font-weight: bold;
}

.produtos p {
    color: var(--grey-text);
    font-size: 1.1rem;
}

.sobre-carrinho {
    display: flex;
    margin-top: 2rem;
    margin-left: 1rem;
    gap: 28.6%;
}

h5 {
    font-weight: bold;
}

.container-inputs {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.input-cep-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.input-cep-container input {
    width: 30%;
    padding: 0.3rem;
    border: 1px solid var(--grey);
    border-radius: 9px;
}

.input-cep-container label {
    font-weight: bold;
    font-size: 1.125rem;
}

.input-cep-container a {
    text-decoration: none;
    color: var(--font-color-cupom);
}

.input-cep-container a:hover {
    color: var(--button-pagamentos-hover);
}

.input-cupom-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 8.5rem;
    gap: 1rem;
}

.input-cupom-container input {
    width: 29.5%;
    padding: 0.3rem;
    border: 1px solid var(--grey);
    border-radius: 9px;
}

.input-cupom-container label {
    font-size: 1.125rem;
    font-weight: bold;
}

.button-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: center;
    justify-content: center;
    margin-top: 1rem;
    gap: 0.8rem;
}

.button-pagamentos {
    text-align: center;
    text-decoration: none;
    width: 40%;
    height: 3rem;
    padding: 0.7rem;
    background: var(--font-color-cupom);
    color: var(--white);
    border: none;
    border-radius: 9px;
    font-weight: bold;
}

.button-pagamentos:hover {
    color: var(--grey);
    transition: 0.3s ease;
    background: var(--button-pagamentos-hover);
}

.button-escolher-produtos {
    text-align: center;
    text-decoration: none;
    width: 40%;
    padding: 0.7rem;
    background: var(--white);
    color:var(--black);
    border: 1px solid var(--black);
    border-radius: 9px;
    font-weight: bold;
}

.button-escolher-produtos:hover {
    border: 1px solid var(--button-pagamentos-hover);
}


