@font-face {
  font-family: "Aniyah";
  src: url("./fonts/aniyah.ttf") format("truetype");
}

.logo-principal {
  font-family: "Aniyah", cursive;
  font-size: 18px;
}

a {
  font-size: 14px;
  font-weight: 700;
}
.superNav {
  font-size: 13px;
}
.form-control {
  outline: none !important;
  box-shadow: none !important;
}
@media screen and (max-width: 540px) {
  .centerOnMobile {
    text-align: center;
  }
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.promo-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
}

.favorite-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  background-color: white;
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.favorite-btn:hover {
  background-color: #ffeeee;
}

.favorite-btn i {
  color: #ff4d4d;
}

.shipping-info {
  font-size: 0.85rem;
  color: #28a745;
}

.shipping-info i {
  margin-right: 5px;
}
.favorite-btn.active i {
  color: #fff;
}

.favorite-btn.active {
  background-color: red;
}

.list-group-item.active {
  background: #ffc107;
}
/* end common class */
.top-status ul {
  list-style: none;
  display: flex;
  justify-content: space-around;
  justify-content: center;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
}
.top-status ul li {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  border: 8px solid #ddd;
  box-shadow: 1px 1px 10px 1px #ddd inset;
  margin: 10px 5px;
}
.top-status ul li.active {
  border-color: #06c167;
  box-shadow: 1px 1px 20px 1px #ffc107 inset;
}
/* end top status */

ul.timeline {
  list-style-type: none;
  position: relative;
}
ul.timeline:before {
  content: " ";
  background: #d4d9df;
  display: inline-block;
  position: absolute;
  left: 29px;
  width: 2px;
  height: 100%;
  z-index: 400;
}
ul.timeline > li {
  margin: 20px 0;
  padding-left: 30px;
}
ul.timeline > li:before {
  content: "\2713";
  background: #fff;
  display: inline-block;
  position: absolute;
  border-radius: 50%;
  border: 0;
  left: 5px;
  width: 50px;
  height: 50px;
  z-index: 400;
  text-align: center;
  line-height: 50px;
  color: #d4d9df;
  font-size: 24px;
  border: 2px solid var(--ogenix-primary);
}
ul.timeline > li.active:before {
  content: "\2713";
  background: #28a745;
  display: inline-block;
  position: absolute;
  border-radius: 50%;
  border: 0;
  left: 5px;
  width: 50px;
  height: 50px;
  z-index: 400;
  text-align: center;
  line-height: 50px;
  color: #fff;
  font-size: 30px;
  border: 2px solid var(--ogenix-primary);
}
/* end timeline */

.auth-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  min-height: 350px;
}

.auth-box {
  position: absolute;
  width: 100%;
  transition: transform 0.4s ease;
}

#loginBox {
  transform: translateX(0);
}

#registerBox {
  transform: translateX(100%);
}

.auth-container.active #loginBox {
  transform: translateX(-100%);
}

.auth-container.active #registerBox {
  transform: translateX(0);
}
.produto-container {
  margin-top: 50px;
}

.galeria {
  display: flex;
  gap: 10px;
}

.thumbs {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.thumbs img {
  width: 70px;
  cursor: pointer;
  border-radius: 5px;
  border: 2px solid transparent;
}

.thumbs img:hover {
  border: 2px solid #000;
}

.imagem-principal img {
  width: 100%;
  max-width: 400px;
  border-radius: 10px;
}

.preco-antigo {
  text-decoration: line-through;
  color: gray;
}

.preco-novo {
  font-size: 28px;
  font-weight: bold;
  color: #06c167;
}

.btn-carrinho {
  background: #06c167;
  color: #fff;
  border: none;
  padding: 12px;
  width: 100%;
  border-radius: 8px;
}

@media (max-width: 768px) {
  .galeria {
    flex-direction: column;
    align-items: center;
  }

  .thumbs {
    flex-direction: row;
  }
}

.zoom-container {
  overflow: hidden;
  border-radius: 10px;
  max-width: 400px;
}

.zoom-container img {
  width: 100%;
  transition: transform 0.2s ease;
}

.tamanhos {
  display: flex;
  gap: 10px;
}

.tamanho-btn {
  border: 1px solid #ccc;
  background: #fff;
  padding: 5px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.2s;
}

.tamanho-btn:hover {
  border-color: #06c167;
}

.tamanho-btn.active {
  background: #06c167;
  color: #fff;
  border-color: #06c167;
}

.tamanho-btn.disabled {
  position: relative;
  opacity: 0.6;
  cursor: not-allowed;
}

/* LINHA DIAGONAL */
.tamanho-btn.disabled::after {
  content: "";
  position: absolute;
  top: 50%;
  left: -5%;
  width: 110%;
  height: 2px;
  background: red;
  transform: rotate(-25deg);
}

.esgotado-texto {
  display: block;
  font-size: 10px;
  color: red;
}

.btn-carrinho:disabled {
  background: #ccc;
  cursor: not-allowed;
}

.toast-carrinho {
  position: fixed;
  top: 20px;
  right: 20px;
  background: #06c167;
  color: white;
  padding: 14px 18px;
  border-radius: 10px;
  z-index: 9999;
  font-weight: 500;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);

  opacity: 0;
  transform: translateY(-20px);
  transition: 0.3s;
}

.toast-carrinho.show {
  opacity: 1;
  transform: translateY(0);
}

.toast-carrinho.erro {
  background: #dc3545;
}

.btn-carrinho.loading {
  opacity: 0.8;
  pointer-events: none;
  transform: scale(0.98);
}

.btn-carrinho.sucesso {
  background: #198754;
  animation: pulse 0.4s ease;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1);
  }
}

.login-alert {
  background: #fff3cd;
  color: #856404;
  border: 1px solid #ffeeba;
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 15px;
  display: none;
}

.opcoes-entrega {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.opcao-entrega {
  border: 2px solid #ddd;
  border-radius: 10px;
  padding: 14px;
  cursor: pointer;
  transition: 0.2s;
  display: flex;
  align-items: center;
  gap: 12px;
}

.opcao-entrega:hover {
  border-color: #06c167;
}

.opcao-entrega input {
  transform: scale(1.2);
}

.lista-enderecos {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card-endereco {
  border: 2px solid #ddd;
  border-radius: 10px;
  padding: 14px;
  cursor: pointer;
  transition: 0.2s;
  display: flex;
  gap: 12px;
}

.card-endereco:hover {
  border-color: #06c167;
}

.card-endereco.active {
  border-color: #06c167;
  background: #f3fff8;
}

.card-endereco input {
  margin-top: 5px;
  transform: scale(1.2);
}

.area-endereco-off {
  opacity: 0.5;
  pointer-events: none;
  transition: 0.2s;
}

.area-endereco-off .card-endereco,
.area-endereco-off button {
  cursor: not-allowed !important;
}
#carouselExample {
  width: 100%;
  overflow: hidden;
  position: relative;
}

/* altura desktop */
#carouselExample .carousel-item {
  height: 650px;
}

/* imagem */
#carouselExample .carousel-item img {
  width: 100%;
  height: 100%;

  display: block;
}

/* MOBILE */
@media (max-width: 768px) {
  #carouselExample .carousel-item {
    height: 220px;
  }
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
  margin-top: 50px;
}

.section-title h3 {
  font-weight: 700;
  position: relative;
  display: inline-block;
  padding: 0 20px;
}

.section-title h3::before,
.section-title h3::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 80px;
  height: 3px;
  background: #ffc107;
}

.section-title h3::before {
  right: 100%;
}

.section-title h3::after {
  left: 100%;
}

/* ── Grid ── */
.shop-grid {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 0 16px 40px;
}

@media (max-width: 768px) {
  .shop-grid {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    justify-content: flex-start;
    padding: 0 16px 30px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .shop-grid::-webkit-scrollbar {
    display: none;
  }

  .product-card {
    min-width: 180px;
    width: 180px;
    flex-shrink: 0;
    scroll-snap-align: start;
  }

  .card-name {
    font-size: 14px;
  }

  .price-current {
    font-size: 15px;
  }
}

/* ── Card ── */
.product-card {
  width: 240px;
  background: #fff;
  border: 0.5px solid rgba(0, 0, 0, 0.12);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition:
    transform 0.25s ease,
    border-color 0.2s ease;
  position: relative;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 0, 0, 0.25);
}

.card-image-wrapper {
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: #eeecea;
  position: relative;
}

.card-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.4s ease;
}

.product-card:hover .card-image-wrapper img {
  transform: scale(1.04);
}

/* ── Badges ── */
.badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 11px;
  font-weight: 500;
  padding: 3px 9px;
  border-radius: 20px;
  letter-spacing: 0.04em;
}

.badge-new {
  background: #1d9e75;
  color: #e1f5ee;
}

.badge-sale {
  background: #d85a30;
  color: #faece7;
}

/* ── Wishlist ── */
.wishlist-btn {
  position: absolute;
  top: 8px;
  right: 10px;
  background: #fff;
  border: 0.5px solid rgba(0, 0, 0, 0.12);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}

.wishlist-btn:hover {
  background: #f5f4f0;
}

.wishlist-btn i {
  font-size: 16px;
  color: #888;
}

.wishlist-btn.active i {
  color: #d85a30;
}

/* ── Corpo do card ── */
.card-body {
  padding: 12px 14px 14px;
}

.card-category {
  font-size: 11px;
  font-weight: 400;
  color: #999;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.card-name {
  font-family: "Playfair Display", serif;
  font-size: 15px;
  font-weight: 500;
  color: #1a1a1a;
  margin-bottom: 6px;
  line-height: 1.35;
}

.stars {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-bottom: 8px;
}

.stars i {
  font-size: 12px;
  color: #ba7517;
}

.rating-count {
  font-size: 11px;
  color: #999;
  margin-left: 4px;
}

.card-colors {
  display: flex;
  gap: 5px;
  margin-bottom: 10px;
}

.color-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.12);
  cursor: pointer;
  transition: transform 0.15s;
}

.color-dot:hover {
  transform: scale(1.2);
}

/* ── Footer do card ── */
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #fff !important;
  padding: 0 !important;
  border: none !important;
}

.price-block {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.price-current {
  font-size: 16px;
  font-weight: 500;
  color: #1a1a1a;
}

.price-old {
  font-size: 12px;
  font-weight: 400;
  color: #aaa;
  text-decoration: line-through;
}

.add-btn {
  background: #fff;
  border: 0.5px solid rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.15s;
}

.add-btn:hover {
  background: #f5f4f0;
  transform: scale(1.05);
}

.add-btn i {
  font-size: 18px;
  color: #1a1a1a;
}
/* ── Reset local (scoped ao produto) ── */
.pv2-wrapper * {
  box-sizing: border-box;
  font-family: "Open Sans", sans-serif;
}

.pv2-wrapper img {
  width: 100%;
  display: block;
}

/* ── Layout ── */
.pv2-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.pv2-card {
  display: grid;
}

/* ── Galeria ── */
.pv2-img-display {
  overflow: hidden;
}

.pv2-img-showcase {
  display: flex;
  width: 100%;
  transition: transform 0.5s ease;
}

.pv2-img-showcase img {
  min-width: 100%;
}

.pv2-img-select {
  display: flex;
}

.pv2-img-item {
  margin: 0.3rem;
}

.pv2-img-item:hover {
  opacity: 0.8;
}

/* ── Conteúdo ── */
.pv2-content {
  padding: 2rem 1rem;
}

.pv2-title {
  font-size: 3rem;
  text-transform: capitalize;
  font-weight: 700;
  position: relative;
  color: #12263a;
  margin: 1rem 0;
}

.pv2-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 4px;
  width: 80px;
  background: #12263a;
}

.pv2-link {
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 400;
  font-size: 0.9rem;
  display: inline-block;
  margin-bottom: 0.5rem;
  background: #256eff;
  color: #fff;
  padding: 0 0.3rem;
  transition: opacity 0.5s ease;
}

.pv2-link:hover {
  opacity: 0.9;
}

/* ── Rating ── */
.pv2-rating {
  color: #ffc107;
}

.pv2-rating span {
  font-weight: 600;
  color: #252525;
}

/* ── Preço ── */
.pv2-price {
  margin: 1rem 0;
  font-size: 1rem;
  font-weight: 700;
}

.pv2-price span {
  font-weight: 400;
}

.pv2-last-price span {
  color: #f64749;
  text-decoration: line-through;
}

.pv2-new-price span {
  color: #256eff;
}

/* ── Detalhes ── */
.pv2-detail h2 {
  text-transform: capitalize;
  color: #12263a;
  padding-bottom: 0.6rem;
}

.pv2-detail p {
  font-size: 0.9rem;
  padding: 0.3rem;
  opacity: 0.8;
}

.pv2-detail ul {
  margin: 1rem 0;
  font-size: 0.9rem;
}

.pv2-detail ul li {
  list-style: none;
  background: url(https://fadzrinmadu.github.io/hosted-assets/product-detail-page-design-with-image-slider-html-css-and-javascript/checked.png)
    left center no-repeat;
  background-size: 18px;
  padding-left: 1.7rem;
  margin: 0.4rem 0;
  font-weight: 600;
  opacity: 0.9;
}

.pv2-detail ul li span {
  font-weight: 400;
}

/* ── Compra ── */
.pv2-purchase {
  margin: 1.5rem 0;
}

.pv2-purchase input,
.pv2-purchase .pv2-btn {
  border: 1.5px solid #ddd;
  border-radius: 25px;
  text-align: center;
  padding: 0.45rem 0.8rem;
  outline: 0;
  margin-right: 0.2rem;
  margin-bottom: 1rem;
}

.pv2-purchase input {
  width: 60px;
}

.pv2-purchase .pv2-btn {
  cursor: pointer;
  color: #fff;
}

.pv2-purchase .pv2-btn:first-of-type {
  background: #256eff;
}

.pv2-purchase .pv2-btn:last-of-type {
  background: #f64749;
}

.pv2-purchase .pv2-btn:hover {
  opacity: 0.9;
}

/* ── Social ── */
.pv2-social {
  display: flex;
  align-items: center;
}

.pv2-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: #000;
  border: 1px solid #000;
  margin: 0 0.2rem;
  border-radius: 50%;
  text-decoration: none;
  font-size: 0.8rem;
  transition: all 0.5s ease;
}

.pv2-social a:hover {
  background: #000;
  border-color: transparent;
  color: #fff;
}

/* ── Desktop ── */
@media screen and (min-width: 992px) {
  .pv2-card {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .pv2-wrapper {
    padding: 40px 0;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .pv2-imgs,
  .pv2-content {
    min-width: 0;
  }

  .pv2-imgs {
    display: flex;
    flex-direction: column;
  }

  .pv2-content {
    padding-top: 0;
  }
}

@media (max-width: 992px) {
  .pv2-card {
    grid-template-columns: 1fr;
  }
}
