@import "variaveis.css";

.ml-2 {
  margin-left: 45px;
}

:is(header#header, div.topbar, nav.menu, footer#footer) .container {
  max-width: 90%;
}

.form-control[readonly] {
  background-color: #e9ecef;
  color: #7c7c7c;
  opacity: 1;
}

.btn-google {
  border: 1px solid #000;
  margin-bottom: 15px;
}
.btn-google:hover {
  border: 1px solid #000;
}

/* 
*   CUSTOM RADIO
*/
.radio-custom {
  display: flex;
  align-items: center;
}

.radio-custom [type="radio"]:checked,
.radio-custom [type="radio"]:not(:checked) {
  position: absolute;
  left: -9999px;
}
.radio-custom [type="radio"]:checked + label,
.radio-custom [type="radio"]:not(:checked) + label {
  position: relative;
  padding-left: 28px;
  cursor: pointer;
  line-height: 20px;
  display: inline-block;
  color: #666;
}
.radio-custom [type="radio"]:checked + label:before,
.radio-custom [type="radio"]:not(:checked) + label:before {
  content: "";
  position: absolute;
  left: 1px;
  top: 1px;
  width: 18px;
  height: 18px;
  border: 1px solid #ddd;
  border-radius: 100%;
  background: #fff;
}
.radio-custom [type="radio"]:checked + label:after,
.radio-custom [type="radio"]:not(:checked) + label:after {
  content: "";
  width: 12px;
  height: 12px;
  background: var(--main-gradient);
  position: absolute;
  top: 4px;
  left: 4px;
  border-radius: 100%;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
}
.radio-custom [type="radio"]:not(:checked) + label:after {
  opacity: 0;
  -webkit-transform: scale(0);
  transform: scale(0);
}
.radio-custom [type="radio"]:checked + label:after {
  opacity: 1;
  -webkit-transform: scale(1);
  transform: scale(1);
}

/* 
*   SECTION TITLE
*/
.section-title {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-bottom: 40px;
}
.section-title h3 {
  font-size: 30pt;
}

/* 
*   HEADER
*/
header#header {
  padding: 20px 0px;
  background-color: #000;
}
header#header a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}
header#header form {
  position: relative;
}
header#header form .form-select {
  border-radius: 0.375rem 0px 0px 0.375rem;
}
header#header form .form-control {
  border-radius: 0px 0.375rem 0.375rem 0px;
  padding: 0.675rem 0.75rem;
  box-shadow: none;
}
header#header form button.btn-busca {
  position: absolute;
  border: none;
  outline: none;
  background: var(--main-gradient);
  color: #fff;
  right: 0;
  height: 100%;
  padding: 0 10px;
  border-radius: 0 0.375rem 0.375rem 0;
}
header#header .col-md-4 {
  gap: 20px;
}
header#header .user-box {
  font-size: 15pt;
  font-weight: 700;
}
header#header .user-box span {
  font-size: 10pt;
}
header#header .user-box .user {
  color: #fff;
}
header#header .user-box .user p {
  max-width: 200px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
header#header .user-box i {
  font-size: 25pt;
  color: #fff;
  display: flex;
  align-items: center;
  margin-right: 10px;
}
header#header
  :is(
    .favorite-box,
    .cart-box,
    .requests-box,
    .televendas-box,
    .whatsapp-box,
    .atendimentos-box
  ) {
  display: flex;
  align-items: center;
}
header#header
  :is(
    .favorite-box,
    .cart-box,
    .requests-box,
    .televendas-box,
    .whatsapp-box,
    .atendimentos-box
  )
  a {
  font-size: 10pt;
}
header#header
  :is(
    .favorite-box,
    .cart-box,
    .requests-box,
    .televendas-box,
    .whatsapp-box,
    .atendimentos-box
  )
  i {
  text-align: center;
  font-size: 15pt;
}

/* 
*   NAV AND MENU
*/
nav.menu {
  background-color: var(--nav-bg);
  /* padding: 10px 0px; */
  height: 44px;
}
nav.menu .container,
nav.menu .container > ul {
  height: 100%;
}
nav.menu a {
  color: #fff;
  text-decoration: none;
}
nav.menu ul:not(.dropdown-box) {
  gap: 10px;
}
nav.menu ul {
  padding: 0;
  margin: 0 !important;
}
nav.menu ul li {
  list-style: none;
  text-transform: uppercase;
  font-size: 11pt;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
}
nav.menu .container > ul > li {
  padding: 10px;
  height: 100%;
}
nav.menu ul li > ul {
  display: none;
}
nav.menu .btn-drop {
  position: static;
}
nav.menu .btn-drop .dropdown-box {
  left: 0;
  margin-left: 20%;
  margin-right: 20%;
  text-wrap: nowrap;
  margin-top: 12px;
  background: #fff;
  overflow-y: auto;
  border-radius: 0px 0px 5px 5px;

  max-height: 0;
  width: 0;
  z-index: -1000;
  position: absolute;

  display: flex;
  justify-content: space-between;
  gap: 10px;
  cursor: default;
}
@media (min-width: 1210px) {
  nav.menu .btn-drop:hover .dropdown-box {
    position: absolute;
    width: 60%;
    opacity: 1 !important;
    max-height: 500px;
    padding: 20px;
    z-index: 99;
  }
}
nav.menu .btn-drop .dropdown-box a {
  color: #404040;
  padding: 5px 0px;
  text-transform: capitalize;
  font-size: 13pt;
  transition: all 0.3s;
}
nav.menu .btn-drop .dropdown-box a:hover {
  padding: 5px 15px;
  color: #fff;
  background: var(--main-gradient);
}
nav.menu .btn-oferta a {
  color: yellow;
  font-weight: bold;
}
nav.menu .carousel-item {
  height: 170px;
  transition: transform 0.6s ease-in-out !important;
}
nav.menu .carousel-item img {
  object-fit: contain;
  height: 100%;
}

/* 
*   MAIN
*/
main#main .container {
  max-width: 95%;
}

/* 
*   ROW CATEGORY
*/
main#main .row-category {
  padding: 30px 0px;
}
main#main .row-category .card-category {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}
main#main .row-category .card-category a {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #efefef;
  width: 140px;
  height: 140px;
  border-radius: 50%;
}
main#main .row-category .card-category p {
  margin-bottom: 0;
  font-size: 15pt;
}
main#main .row-category .card-category a img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: contain;
}

/* 
*   ROW PRODUCT
*/
main#main .row-product.bg-product .section-title h3 {
  color: #fff;
}
main#main .row-product.bg-product {
  background: linear-gradient(
      0deg,
      rgba(255, 255, 255, 1) 50%,
      rgba(253, 187, 45, 0) 100%
    ),
    url(../img/produtos/banner_1.jpg);
  background-repeat: no-repeat;
  background-size: cover;
}
main#main .row-product {
  padding: 30px 0px;
  margin: 20px 0px;
}

main#main .row-product .card-product {
  position: relative;
  width: 300px;
  height: 100%;
  border-radius: 10px;
  border: 1px solid rgba(226, 226, 226, 0.8);
  background-color: rgb(250, 250, 250);
  padding: 20px;
}
main#main .row-product .card-product > a {
  display: flex;
  flex-direction: column;
  color: #000;
  text-decoration: none;
  gap: 10px;
}
main#main .row-product .card-product > a p {
  padding: 0;
  margin: 0;
}
main#main .row-product .card-product > a > img {
  border-radius: 10px 10px 0px 0px;
  width: var(--largura-prod);
}

main#main .row-product .card-product .row {
  display: flex;
  flex-direction: column;
  gap: 5px;
  border-top: none;
  width: var(--largura-prod);
  margin: 0;
}
main#main .row-product .card-product .row > * {
  padding: 0;
}

main#main .row-product .card-product .row .name-prod p {
  font-size: 20px;
  font-weight: 600;
}
main#main .row-product .card-product .row .price del {
  font-size: 14px;
  color: #999;
}
main#main
  .row-product
  .card-product
  .row
  .price
  :is(p:nth-child(2), .single_price) {
  font-size: 20px;
}
main#main .row-product .card-product .row .installments p:nth-child(1) {
  color: #1b811b;
  font-weight: 700;
  font-size: 14px;
}
main#main .row-product .card-product .row .installments p:nth-child(2) {
  font-size: 12px;
  color: #4c4c4c;
}

main#main .row-product .card-product .row .colors {
  display: flex;
  overflow-x: auto;
  padding-bottom: 5px;
}

main#main .row-product .card-product .row .colors::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  background-color: #f5f5f5;
}
main#main .row-product .card-product .row .colors::-webkit-scrollbar {
  width: 6px;
  height: 5px;
  background-color: #f5f5f5;
}

main#main .row-product .card-product .row .colors::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background: var(--main-gradient);
}

main#main .row-product .card-product .row .colors img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

/* ENVIO */
main#main .row-product .card-product a .img-subtitle > img {
  border-radius: 10px 10px 0px 0px;
  /* width: var(--largura-prod); */
  width: 100%;
  height: 255px;
  object-fit: cover;
}
main#main .row-product .card-product a .img-subtitle > p {
  text-align: center;
  padding: 5px;
  background: #198754;
  color: #fff;
  font-size: 12px;
  border-radius: 0px 0px 10px 10px;
  font-weight: 700;
}

/* 
*   ROW BANNER
*/
main#main .row-banner {
  margin: 50px 0px 0px;
  height: 273px;

  overflow-y: hidden;
  display: flex;
  align-items: center;
}
main#main .row-banner img {
  width: 100%;
}

/* 
*   ROW MAPS
*/
main#main .row-maps {
  margin-top: 50px;
}

/* 
*   FOOTER
*/
footer#footer {
  background-color: #f9f9f9;
}

footer#footer :is(p) {
  margin: 0;
  color: #000;
  padding-left: 20px;
}

footer#footer .row-social {
  margin-bottom: 40px;
}
footer#footer .row-social h3 {
  font-weight: normal;
  font-size: 20px;
}
footer#footer .row-social .icons {
  gap: 10px;
}
footer#footer .row-social .icons p {
  padding-left: 0px;
}
footer#footer .row-social .icons p a {
  display: flex;
  justify-content: center;
  align-items: center;

  width: 38px;
  height: 38px;
  border-radius: 50%;

  font-size: 15pt;
  text-decoration: none;
  transition: 0.3s;
}
footer#footer .row-social .icons p a.btn-instagram {
  /* border: 1px solid #9c429f;
    color: #9c429f;
}
footer#footer .row-social .icons p a.btn-instagram:hover { */
  color: #fff;
  background: linear-gradient(
    215.36deg,
    rgb(0, 65, 226) 9.83%,
    rgb(254, 52, 128) 38.96%,
    rgb(253, 201, 79) 81.58%
  );
}
footer#footer .row-social .icons p a.btn-facebook {
  border: 1px solid #3c5a9a;
  color: #3c5a9a;
}
footer#footer .row-social .icons p a.btn-facebook:hover {
  color: #fff;
  background: #3c5a9a;
}

footer#footer h3 {
  font-size: 12pt;
  text-transform: uppercase;
  color: #000;
}
footer#footer h3 a {
  color: #000;
}
footer#footer .top-footer {
  padding: 40px 0px 40px;
}

footer#footer ul {
  margin: 0;
  padding-left: 20px;
}
footer#footer ul li {
  list-style: none;
}
footer#footer ul li a {
  text-decoration: none;
  color: #000;
}
footer#footer ul li a:hover {
  text-decoration: underline;
}

footer#footer .copyright {
  max-width: 100%;
  background-color: var(--nav-bg);
  padding: 20px 0px;
}
footer#footer .copyright p {
  color: #fff;
}
footer#footer .copyright .row {
  --bs-gutter-x: 0;
}
footer#footer .copyright .col-md-12 {
  padding: 0px 70px;
}

/* 
*   BOTÃO WHATSAPP
*/
#whatsapp {
  display: flex;
  justify-content: center;
  text-decoration: none;
  align-items: center;
  background: #25d366;
  bottom: 20px;
  color: #fff;
  border-radius: 5px;
  font-size: 30px;
  height: 50px;
  padding: 12px;
  position: fixed;
  right: 20px;
  width: 50px;
  z-index: 99;
}

#whatsapp-frete {
  display: flex !important;
  justify-content: center;
  text-decoration: none;
  align-items: center;
  background: #25d366;
  color: #fff;
  border-radius: 5px;
  font-size: 20px;
  height: 35px;
  padding: 12px;
  width: 35px;
  z-index: 99;
}

/* PAGINAÇÃO */

.pagination {
  display: inline-block;
  padding-left: 0;
  margin: 20px 0;
  border-radius: 4px;
}

.pagination > li {
  display: inline;
}

.pagination > li > a,
.pagination > li > span {
  position: relative;
  float: left;
  padding: 6px 12px;
  margin-left: -1px;
  line-height: 1.42857143;
  color: #337ab7;
  text-decoration: none;
  background-color: #fff;
  border: 1px solid #ddd;
}

.pagination > li:first-child > a,
.pagination > li:first-child > span {
  margin-left: 0;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}

.pagination > li:last-child > a,
.pagination > li:last-child > span {
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}

.pagination > li > a:focus,
.pagination > li > a:hover,
.pagination > li > span:focus,
.pagination > li > span:hover {
  z-index: 2;
  color: #23527c;
  background-color: #eee;
  border-color: #ddd;
}

.pagination > .active > a,
.pagination > .active > a:focus,
.pagination > .active > a:hover,
.pagination > .active > span,
.pagination > .active > span:focus,
.pagination > .active > span:hover {
  z-index: 3;
  color: #fff;
  cursor: default;
  background-color: #337ab7;
  border-color: #337ab7;
}

.pagination > .disabled > a,
.pagination > .disabled > a:focus,
.pagination > .disabled > a:hover,
.pagination > .disabled > span,
.pagination > .disabled > span:focus,
.pagination > .disabled > span:hover {
  color: #777;
  cursor: not-allowed;
  background-color: #fff;
  border-color: #ddd;
}

.pagination-lg > li > a,
.pagination-lg > li > span {
  padding: 10px 16px;
  font-size: 18px;
  line-height: 1.3333333;
}

.pagination-lg > li:first-child > a,
.pagination-lg > li:first-child > span {
  border-top-left-radius: 6px;
  border-bottom-left-radius: 6px;
}

.pagination-lg > li:last-child > a,
.pagination-lg > li:last-child > span {
  border-top-right-radius: 6px;
  border-bottom-right-radius: 6px;
}

.pagination-sm > li > a,
.pagination-sm > li > span {
  padding: 5px 10px;
  font-size: 12px;
  line-height: 1.5;
}

.pagination-sm > li:first-child > a,
.pagination-sm > li:first-child > span {
  border-top-left-radius: 3px;
  border-bottom-left-radius: 3px;
}

.pagination-sm > li:last-child > a,
.pagination-sm > li:last-child > span {
  border-top-right-radius: 3px;
  border-bottom-right-radius: 3px;
}

/* MODAL ATENDIMENTO */
#infoAtendimento h2 {
  font-size: 35pt;
  text-align: center;
  color: var(--main-escuro);
  margin-top: 10px;
}

#infoAtendimento h3 {
  text-align: center;
  margin: 10px 0px;
  font-weight: 700;
}
#infoAtendimento p {
  text-align: center;
  margin-bottom: 10px;
}
#infoAtendimento a {
  font-size: 15pt;
  text-align: center;
  color: var(--main-escuro);
  margin: 0px auto 10px;
  font-weight: 700;
  padding: 0;
  width: auto;
  display: block;
}
