/* Ajustes do site estático da Gassed (somam-se ao CSS original do tema Morelia) */
.modal-overlay { display: none; }
.js-modal { display: none; }

/* variações esgotadas */
.btn-variant.is-soldout { opacity: .4; text-decoration: line-through; cursor: not-allowed; }

/* galeria do produto */
.product-detail-slider { overflow: hidden; position: relative; }
.product-detail-slider .swiper-wrapper { align-items: flex-start; }
.swiper-product-thumb { height: auto; max-height: 620px; overflow-y: auto; scrollbar-width: none; }
.swiper-product-thumb::-webkit-scrollbar { display: none; }
.swiper-product-thumb .swiper-wrapper { display: block; transform: none !important; height: auto; }
.swiper-product-thumb .swiper-slide { height: auto; width: 100%; }
.product-thumb { cursor: pointer; opacity: .6; transition: opacity .2s; }
.product-thumb.selected, .product-thumb:hover { opacity: 1; }
.pdp-dots { text-align: center; margin-top: 12px; }
.pdp-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin: 0 4px; cursor: pointer;
  background: var(--main-foreground-opacity-30); }
.pdp-dot.active { background: var(--main-foreground); }
.product-slide a { cursor: zoom-in; }

.pdp-lightbox { position: fixed; inset: 0; z-index: 30000; display: flex; align-items: center; justify-content: center;
  background: rgba(0, 0, 0, .85); cursor: zoom-out; }
.pdp-lightbox img { max-width: 94vw; max-height: 94vh; object-fit: contain; }

/* benefícios no celular: em vez do carrossel, grade 2x2 */
@media (max-width: 767px) {
  .js-informative-banners .swiper-wrapper { flex-wrap: wrap; }
  .js-informative-banners .swiper-slide { width: 50% !important; margin-right: 0 !important; margin-bottom: 20px; }
}

/* sem barra de rolagem horizontal pela faixa de cupom */
body { overflow-x: hidden; }
.item-actions .btn-link { cursor: pointer; }

/* troca de foto ao passar o mouse (segunda foto do produto) */
.product-item-secondary-images-loaded .item-image-secondary.fade-in.lazyloaded,
.product-item-secondary-images-loaded .item-image-secondary{display:block!important;opacity:0;transition:opacity .35s ease;z-index:1}
.product-item-secondary-images-loaded .item-image-featured{transition:opacity .35s ease}
.product-item-secondary-images-loaded:hover .item-image-featured{opacity:0!important}
.product-item-secondary-images-loaded:hover .item-image-secondary.fade-in.lazyloaded,
.product-item-secondary-images-loaded:hover .item-image-secondary{opacity:1!important;z-index:3}

/* Meios de pagamento + compartilhar */
.pdp-pay-modal { position: fixed; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 92%; max-width: 520px; max-height: 85vh; overflow-y: auto; background: #fff !important; color: #222; z-index: 10001; border-radius: 4px; }
.pdp-pay-modal:not(.modal-show) { opacity: 0; }
.pdp-pay-modal.modal-show { opacity: 1; transition: opacity .25s; }
.pdp-pay-modal .modal-body { padding: 16px 20px 24px; }
.pdp-pay-table td { padding: 6px 0; border-bottom: 1px solid rgba(0,0,0,.08); font-size: 14px; }
.social-share .social-share-button { display: inline-block; margin-right: 18px; }
.social-share .social-share-button .icon-inline { width: 16px; height: 16px; }
/* miniaturas: iguais ao site original (sem esmaecer) */
.product-thumb:not(.selected) { opacity: 1 !important; }
/* finalizar compra */
.co-summary { border: 1px solid rgba(0,0,0,.12); }
.co-ship-opt:hover { background: rgba(0,0,0,.03); }
#checkout .form-control, #order .btn { max-width: 100%; }
