/* cart.css - Estilos da Sacola / Carrinho Modare Ultraconforto */

/* Botão Flutuante (Rosé / Nude Modare) */
.modare-float-cart-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  border-radius: 20px; /* Formato squircle arredondado como na print */
  background-color: #CEA399;
  color: #ffffff;
  border: none;
  box-shadow: 0 8px 24px rgba(206, 163, 153, 0.48), 0 3px 10px rgba(0, 0, 0, 0.12);
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer;
  z-index: 99998;
  padding: 0 !important;
  box-sizing: border-box !important;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.2s ease, box-shadow 0.2s ease;
}
.modare-float-cart-btn:hover {
  transform: scale(1.07);
  background-color: #C2958B;
  box-shadow: 0 10px 28px rgba(194, 149, 139, 0.55), 0 4px 12px rgba(0, 0, 0, 0.16);
}
.modare-float-cart-btn:active {
  transform: scale(0.96);
}
.modare-float-cart-btn svg {
  display: block !important;
  width: 26px !important;
  height: 26px !important;
  min-width: 26px !important;
  min-height: 26px !important;
  stroke: #ffffff !important;
  fill: none !important;
  stroke-width: 2 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
  pointer-events: none;
  visibility: visible !important;
  opacity: 1 !important;
}
.modare-cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background-color: #2b2b2b;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  min-width: 22px;
  height: 22px;
  padding: 0 4px;
  border-radius: 11px;
  display: none;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}


/* Overlay */
.modare-cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(2px);
  z-index: 99998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.modare-cart-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Gaveta Lateral (Drawer) */
.modare-cart-drawer {
  position: fixed;
  top: 0;
  right: -440px;
  width: 100%;
  max-width: 420px;
  height: 100vh;
  background: #ffffff;
  box-shadow: -4px 0 25px rgba(0, 0, 0, 0.15);
  z-index: 99999;
  display: flex;
  flex-direction: column;
  transition: right 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #333;
}
.modare-cart-drawer.active {
  right: 0;
}

/* Cabeçalho da Gaveta */
.modare-drawer-header {
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #f0f0f0;
}
.modare-drawer-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.modare-drawer-header-left h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #222;
}
.modare-drawer-close {
  background: none;
  border: none;
  font-size: 28px;
  line-height: 1;
  color: #888;
  cursor: pointer;
  padding: 0 4px;
}
.modare-drawer-close:hover {
  color: #111;
}

/* Barra de Frete Grátis */
.modare-drawer-shipping-badge {
  background: #f0f8f4;
  color: #008060;
  padding: 10px 16px;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid #e1f0e8;
}

/* Lista de Itens */
.modare-drawer-items {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.modare-cart-empty {
  text-align: center;
  padding: 60px 20px;
  color: #888;
}
.modare-cart-empty p {
  font-size: 16px;
  font-weight: 600;
  color: #444;
  margin: 16px 0 6px;
}
.modare-cart-empty span {
  font-size: 13px;
  line-height: 1.4;
  display: block;
}

.modare-drawer-item {
  display: flex;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f3f3f3;
}
.modare-drawer-item img {
  width: 76px;
  height: 76px;
  object-fit: cover;
  border-radius: 6px;
  background: #f9f9f9;
  border: 1px solid #eee;
  flex-shrink: 0;
}
.modare-item-details {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.modare-item-title {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 600;
  color: #222;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.modare-item-variation {
  font-size: 12px;
  color: #666;
  margin-bottom: 6px;
}
.modare-item-price-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 8px;
}
.modare-item-price {
  font-size: 15px;
  font-weight: 700;
  color: #2b2b2b;
}

.modare-item-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.modare-qty-stepper {
  display: flex;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
}
.modare-qty-stepper button {
  width: 26px;
  height: 26px;
  background: #f8f8f8;
  border: none;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
}
.modare-qty-stepper button:hover {
  background: #ececec;
}
.modare-qty-stepper span {
  width: 28px;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
}
.modare-item-remove {
  background: none;
  border: none;
  color: #dc3545;
  font-size: 12px;
  cursor: pointer;
  text-decoration: underline;
  padding: 2px 4px;
}
.modare-item-remove:hover {
  color: #a71d2a;
}

/* Rodapé da Gaveta */
.modare-drawer-footer {
  padding: 16px 20px 24px;
  border-top: 1px solid #eee;
  background: #fafafa;
}
.modare-drawer-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 16px;
  font-weight: 600;
  color: #222;
  margin-bottom: 4px;
}
.modare-drawer-total-row b {
  font-size: 20px;
  color: #2b2b2b;
}
.modare-drawer-installments {
  font-size: 12px;
  color: #666;
  text-align: right;
  margin-bottom: 16px;
}

.modare-btn-checkout {
  width: 100%;
  background: #2b2b2b;
  color: #ffffff;
  border: none;
  padding: 15px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  transition: background 0.2s, transform 0.1s;
  margin-bottom: 10px;
}
.modare-btn-checkout:hover {
  background: #000000;
}
.modare-btn-checkout:disabled {
  background: #bbb;
  cursor: not-allowed;
  box-shadow: none;
}

.modare-btn-continue {
  width: 100%;
  background: #ffffff;
  color: #444;
  border: 1px solid #ccc;
  padding: 12px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.modare-btn-continue:hover {
  background: #f0f0f0;
}

.modare-drawer-security {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 11px;
  color: #777;
}

@media (max-width: 480px) {
  .modare-cart-drawer {
    max-width: 100%;
  }
}

/* DESATIVAR ZOOM NA FOTO DO PRODUTO */
.zoomImg,
img.zoomImg,
.zoomWindow,
.zoomContainer,
.zoomLens,
.lg-zoom-icon,
.pswp__button--zoom {
  display: none !important;
  pointer-events: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  width: 0 !important;
  height: 0 !important;
  max-width: 0 !important;
  max-height: 0 !important;
  position: absolute !important;
  left: -9999px !important;
}

.fifu-slider,
.fifu-product-gallery,
.fifu-product-gallery li,
.fifu-product-gallery img,
.woocommerce-product-gallery,
.woocommerce-product-gallery__image,
.woocommerce-product-gallery__wrapper,
.woocommerce-product-gallery img,
.product-image-container,
.product-image,
.product-card img {
  cursor: default !important;
  pointer-events: auto !important;
  touch-action: pan-y !important;
  user-select: none !important;
  -webkit-user-drag: none !important;
  -webkit-touch-callout: none !important;
  transform: none !important;
  transition: none !important;
}

.fifu-slider img:hover,
.fifu-product-gallery img:hover,
.woocommerce-product-gallery img:hover,
.product-image:hover,
.product-card img:hover {
  transform: none !important;
  scale: none !important;
}
