@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  --main-color-btn-hover: rgba(245, 178, 178, 2);
  --stars-color: rgb(255, 183, 0);
  --main-color: coral;
}

/* Tira a outline de qualquer elemento focado: */
*:focus {
  outline: none !important;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: #edebe8;
}

body::before,
body::after {
  content: "";
  position: fixed;
  top: 122px;
  bottom: 96px;
  width: 44px;
  pointer-events: none;
  z-index: 1020;
  opacity: 0.82;
  background-image:
    radial-gradient(circle at calc(50% - 4px) calc(50% - 4px), rgba(255, 255, 255, 0.95) 0 1.7px, transparent 1.9px),
    radial-gradient(circle at calc(50% + 4px) calc(50% - 4px), rgba(255, 255, 255, 0.95) 0 1.7px, transparent 1.9px),
    radial-gradient(circle at calc(50% - 4px) calc(50% + 4px), rgba(255, 255, 255, 0.95) 0 1.7px, transparent 1.9px),
    radial-gradient(circle at calc(50% + 4px) calc(50% + 4px), rgba(255, 255, 255, 0.95) 0 1.7px, transparent 1.9px),
    radial-gradient(circle at 50% 50%, rgba(255, 127, 80, 0.94) 0 13px, rgba(255, 127, 80, 0.2) 13px 16px, transparent 16.5px),
    url("data:image/svg+xml,%3Csvg width='44' height='240' viewBox='0 0 44 240' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M24 -8 C6 28 10 56 26 86 C40 114 34 144 18 170 C2 197 10 222 28 248' fill='none' stroke='%23c7b8a7' stroke-width='1.35' stroke-linecap='round' stroke-dasharray='5 8' opacity='.78'/%3E%3C/svg%3E");
  background-repeat: no-repeat, no-repeat, no-repeat, no-repeat, no-repeat, repeat-y;
  background-size: 36px 36px, 36px 36px, 36px 36px, 36px 36px, 36px 36px, 44px 240px;
  background-position: center 50%, center 50%, center 50%, center 50%, center 50%, center top;
}

body::before {
  left: 14px;
}

body::after {
  right: 14px;
  transform: scaleX(-1);
}

/* O adorno lateral de costura foi removido para priorizar o conteúdo da loja. */
body::before,
body::after {
  display: none;
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
}

h2 {
  font-size: 1.8rem;
  font-weight: 600;
}

h3 {
  font-size: 1.4rem;
  font-weight: 800;
}

h4 {
  font-size: 1.1rem;
  font-weight: 600;
}

h5 {
  font-size: 1rem;
  font-weight: 400;
  color: #1d1d1d;
}

h6 {
  color: #d8d8d8;
}

bMain {
  color: var(--main-color);
}

button:not(.navbar-toggler) {
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 0.5rem !important;
  outline: none;
  border: none;
  text-transform: uppercase;
  background-color: #1d1d1d;
  color: aliceblue;
  padding: 13px 30px;
  cursor: pointer;
  transition: 0.3s ease;
}

button:not(.navbar-toggler):hover {
  background-color: #353535;
}

.navbar {
  background: rgba(255, 255, 255, 0.72) !important;
  backdrop-filter: blur(14px);
  font-size: 16px;
  top: 0;
  left: 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.navbar .container > a:first-child {
  align-items: center;
  display: inline-flex;
  flex: 0 0 auto;
  height: 58px;
  max-width: 220px;
  overflow: hidden;
}

.navbar .container > a:first-child > img {
  display: block;
  height: auto;
  max-height: 52px;
  max-width: 210px;
  object-fit: contain;
  width: auto;
}

.navbar .nav-item a {
  color: black;
}

.navbar-light .navbar-nav .nav_link {
  padding: 0 20px;
  color: black;
  font-weight: 500;
  text-decoration: none;
  transition: 0.3 ease;
}

.navbar-light .navbar-nav .nav_link:hover,
.navbar i:hover,
.navbar-light .navbar-nav .nav_link.active,
.navbar i.active,
.nav-item .active {
  color: var(--main-color);
}

.navbar i {
  font-size: 1.2rem;
  padding: 0 7px;
  cursor: pointer;
  font-weight: 500;
  transition: 0.3s ease;
}

.nav-search-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Estilização na navBar mobile: */
@media only screen and (max-width: 991px) {
  .navbar {
    background: rgba(255, 255, 255, 0.82) !important;
    backdrop-filter: blur(12px);
  }

  .navbar .container > a:first-child {
    height: 46px;
    max-width: 154px;
  }

  .navbar .container > a:first-child > img {
    max-height: 40px;
    max-width: 148px;
  }

  #navbarSupportedContent ul {
    margin: 1rem;
    justify-content: flex-end;
    align-items: flex-end;
    text-align: right;
  }

  /* Remove o espaçamento a mais dos links da navBar em
  relação aos ícones de pesquisa e carrinho: */
  #navbarSupportedContent ul li:nth-child(n) a {
    padding: 10px 0;
  }
  /* Espaçamento entre os links da navBar mobile (menu hambúrguer): */
  #navbarSupportedContent ul li:nth-child(n) {
    padding: 5px;
  }
}
/* Barrinha pra separar o conteúdo: */
hr {
  width: 280px;
  min-height: 4px;
  background-color: var(--main-color);
}

/* Efeito do botão aparecendo de baixo */
.buy-btn {
  background: var(--main-color);
  transform: translateY(20px);
  opacity: 0;
  border-radius: 0.3rem;
  transition: 0.3s all;
}
.buy-btn {
  transform: translateY(0px);
  opacity: 1;
}

.buy-btn:hover {
  background-color: var(--main-color-btn-hover);
}

/* Espaçamento entre as estrelas */
.stars {
  padding: 10px 0;
}

.stars i {
  font-size: 00.8rem;
  color: var(--stars-color);
}

/* Estilização da nav de paginação: */
#products > nav > ul > li.page-item.active > a {
  background-color: var(--main-color);
  border-color: var(--main-color);
  color: white;
}
#products > nav > ul > li:nth-child(n):hover > a {
  background-color: var(--main-color);
  border-color: var(--main-color);
  color: white;
  font-weight: 600;
}
#products > nav > ul > li.page-item > .page-link:focus {
  box-shadow: 0 0 0 0.2rem rgba(255, 119, 82, 0.26);
}
.pagination a {
  color: black;
}

/* Tira a estilização dos links dos botão de compra nos produtos: */
.product a {
  color: white;
  text-decoration: none;
}

.product a:hover {
  color: white;
  text-decoration: none;
}

/* Estilização da caixa de seleção e input de produto: */
select {
  display: block;
  padding: 5px 10px;
}

.singleProduct input {
  width: 50px;
  height: 40px;
  padding-left: 10px;
  font-size: 16px;
  margin-right: 10px;
}

/* Footer */
footer {
  background-color: #222222;
}

footer h5 {
  color: var(--main-color);
  font-weight: 700;
}

footer h6 {
  color: white;
  font-weight: 500;
}

footer li {
  padding-bottom: 4px;
}

footer p {
  color: rgb(204, 204, 204);
  font-size: 0.9rem;
}

footer .copyright a {
  color: black;
  width: 38px;
  height: 38px;
  background-color: white;
  display: inline-block;
  text-align: center;
  line-height: 38px;
  border-radius: 50%;
  transition: 0.3s ease;
  margin: 0 5px;
}

footer .footer-credit p {
  margin-bottom: 0;
  white-space: normal;
}

footer .copyright .cleptra-credit {
  width: auto;
  height: auto;
  display: inline;
  line-height: inherit;
  margin: 0;
  border-radius: 0;
  background: transparent;
  color: var(--main-color);
  font-weight: 700;
  text-decoration: none;
}

footer .copyright .cleptra-credit:hover {
  color: white;
  background: transparent;
}

footer .footer-instagram-thumb {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 2px;
}

footer .footer-brand-highlight {
  color: var(--main-color);
}

footer .footer-brand-logo {
  align-items: center;
  background: #fff;
  border-radius: 4px;
  display: inline-flex;
  min-height: 54px;
  padding: 6px 8px;
}

footer .footer-brand-logo img {
  height: 62px;
  object-fit: contain;
  width: auto;
}

footer .footer-brand-logo--dark {
  background: transparent;
  min-height: 0;
  padding: 0;
}

footer .footer-instagram-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, 70px);
}

footer .footer-instagram-item,
footer .footer-payment-editable {
  display: inline-flex;
  position: relative;
}

footer .footer-instagram-item .footer-instagram-thumb {
  display: block;
  height: 70px;
  width: 70px;
}

footer .footer-inline-action {
  background: transparent;
  border: 1px dashed var(--main-color);
  color: #fff;
  cursor: pointer;
  font-size: .76rem;
  margin-top: 14px;
  padding: 8px 10px;
}

footer .footer-inline-tools {
  display: inline-flex;
  gap: 4px;
  position: absolute;
  right: -7px;
  top: -7px;
  z-index: 4;
}

footer .footer-inline-tools button {
  align-items: center;
  background: var(--main-color);
  border: 0;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-size: .65rem;
  height: 22px;
  justify-content: center;
  padding: 0;
  width: 22px;
}

footer .footer-inline-tools .footer-inline-tool-remove {
  background: #b94136;
}

footer .footer-payment-list {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

footer .footer-payment-card {
  background-color: #fff;
  background-repeat: no-repeat;
  border-radius: 2px;
  display: inline-block;
  height: 32px;
  width: 52px;
}

footer .footer-payment-card:not(.footer-payment-card-sprite) {
  background-position: center;
  background-size: contain;
}

/* Estilização dos social Links: */
footer a {
  font-size: 1rem;
  color: rgb(204, 204, 204);
}

footer .row a:hover {
  color: white;
  background-color: var(--main-color);
}

button.scroll-top-button {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1040;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 6px !important;
  background: rgba(178, 178, 178, 0.7) !important;
  color: #52637d !important;
  box-shadow: none;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: 0.25s ease;
}

button.scroll-top-button.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

button.scroll-top-button:hover {
  background: rgba(178, 178, 178, 1) !important;
  color: #42526c !important;
  transform: translateY(-2px);
}

button.scroll-top-button i {
  font-size: 1.1rem;
  line-height: 1;
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  transform: translate(-50%, -52%);
  text-shadow: none;
}

@media only screen and (max-width: 576px) {
  body::before,
  body::after {
    display: none;
  }

  button.scroll-top-button {
    right: 14px;
    bottom: 14px;
    width: 32px;
    height: 32px;
  }
}
