/* Estilização do conteúdo da página loja: */
.product {
  cursor: pointer;
  margin: 0 0.8% 1.45rem;
  max-width: 21.5%;
  flex: 0 0 21.5%;
  padding: 10px 10px 14px;
  position: relative;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(230, 226, 221, 0.95);
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.045);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.075);
}

.product img {
  display: block;
  width: 82%;
  aspect-ratio: 260 / 300;
  height: auto;
  margin-left: auto;
  margin-right: auto;
  padding: 0.75rem;
  background: #f7f7f7;
  box-sizing: border-box;
  object-fit: contain;
  object-position: center;
  cursor: zoom-in;
  transition: 0.3s all;
}

.product .p-description {
  min-height: 44px;
  margin: 10px 0 0;
  color: #555;
  font-size: 0.9rem;
  line-height: 1.45;
}

#products .row.container {
  justify-content: center;
}

#products .navbar,
body .navbar.bg-white {
  background: rgba(255, 255, 255, 0.72) !important;
  backdrop-filter: blur(14px);
}

@media only screen and (max-width: 991px) {
  .product {
    flex: 0 0 30.5%;
    max-width: 30.5%;
  }
}

@media only screen and (max-width: 767px) {
  .product {
    flex: 0 0 48%;
    max-width: 48%;
  }
}

@media only screen and (max-width: 576px) {
  .product {
    flex: 0 0 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
}

.product:hover img {
  opacity: 0.88;
}

/* Efeito do botão aparecendo abaixo das informações */
.product .buy-btn {
  background: var(--main-color);
  display: inline-flex;
  justify-content: center;
  margin-top: 0.75rem;
  opacity: 0;
  border-radius: 0.3rem;
  transform: translateY(8px);
  transition: 0.3s all;
  visibility: hidden;
  white-space: nowrap;
}

.product {
  position: relative;
}

.store-editor-product-tools {
  display: flex;
  gap: 4px;
  opacity: 1;
  pointer-events: auto;
  position: absolute;
  right: 8px;
  top: 8px;
  transform: translateY(0);
  transition: 0.2s ease;
  z-index: 5;
}

.store-editor-product-tools a {
  align-items: center;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.16);
  color: #202020;
  display: inline-flex;
  height: 30px;
  justify-content: center;
  text-decoration: none;
  transition: 0.2s ease;
  width: 30px;
}

.store-editor-product-tools a:hover {
  background: var(--main-color);
  color: #fff;
  transform: translateY(-2px);
}

.store-editor-product-tools button {
  align-items: center;
  background: #fff;
  border: 0;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.16);
  color: #202020;
  display: inline-flex;
  height: 30px;
  justify-content: center;
  padding: 0;
  width: 30px;
}

.store-editor-product-tools button:hover { background: var(--main-color); color: #fff; }

.inline-editor-modal { align-items: center; background: rgba(15, 15, 15, .54); display: flex; inset: 0; justify-content: center; padding: 20px; position: fixed; z-index: 3000; }
.inline-editor-modal[hidden] { display: none; }
.inline-editor-dialog { background: #fff; border-radius: 10px; box-shadow: 0 18px 60px rgba(0,0,0,.28); max-width: 560px; padding: 26px; position: relative; width: 100%; }
.inline-editor-close { background: transparent; border: 0; font-size: 1.6rem; position: absolute; right: 14px; top: 8px; }
.inline-editor-title { margin: 0 0 20px; }
.inline-editor-fields label { display: block; font-weight: 600; margin-bottom: 14px; }
.inline-editor-fields input, .inline-editor-fields textarea { border: 1px solid #d8d8d8; border-radius: 5px; display: block; margin-top: 6px; padding: 10px; width: 100%; }
.inline-editor-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 20px; }
.inline-editor-actions button { border: 0; border-radius: 5px; padding: 9px 16px; }
.inline-editor-save { background: var(--main-color); color: #fff; }

.store-editor-bar {
  align-items: center;
  background: #202020;
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  justify-content: center;
  padding: 9px 16px;
  position: fixed;
  right: 0;
  top: 70px;
  width: 100%;
  z-index: 1030;
}

.store-editor-bar span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.86rem;
}

.store-editor-bar a {
  color: #fff;
  text-decoration: none;
}

.store-editor-bar a:hover {
  color: var(--main-color);
}
.product:hover .buy-btn {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

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

.shop-lightbox {
  align-items: center;
  background: rgba(0, 0, 0, 0.82);
  display: flex;
  inset: 0;
  justify-content: center;
  opacity: 0;
  padding: clamp(1rem, 3vw, 3rem);
  pointer-events: none;
  position: fixed;
  transition: 0.25s ease;
  z-index: 2000;
}

.shop-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.shop-lightbox img {
  background: #f7f7f7;
  border-radius: 0.25rem;
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.32);
  max-height: 86vh;
  max-width: min(92vw, 980px);
  object-fit: contain;
  padding: 1rem;
}

.shop-lightbox-close {
  align-items: center;
  background: rgba(255, 255, 255, 0.94);
  border: 0;
  border-radius: 50%;
  color: #111;
  cursor: pointer;
  display: flex;
  font-size: 1.1rem;
  height: 42px;
  justify-content: center;
  position: fixed;
  right: clamp(1rem, 3vw, 2.25rem);
  top: clamp(1rem, 3vw, 2.25rem);
  transition: 0.2s ease;
  width: 42px;
}

.shop-lightbox-close:hover {
  background: #fff;
  transform: scale(1.04);
}

.shop-lightbox-lock {
  overflow: hidden;
}

