:root {
  --pink-50: #fdf2f5;
  --pink-100: #fce8ee;
  --pink-200: #fad1dd;
  --pink-300: #f7a9c2;
  --pink-400: #f47aa0;
  --pink-500: #f04c7e;
  --pink-600: #e12c5e;
  --pink-700: #c11a47;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --white: #ffffff;
  --black: #000000;
}
html {
    height: 100%;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
  font-family: 'Poppins', sans-serif;
}
body {
  height: 100%;
  min-height: 100%;
  background-color: var(--white);
  color: var(--gray-800);
  line-height: 1.5;
  overflow-x: hidden;
  overscroll-behavior: none;
  -webkit-user-select: none;
  user-select: none;
  position: relative;
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  background-image: url('templates/layout/background.webp');
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  padding-top: 60px;
  padding-bottom: calc(4rem + 0.5rem);
}

.fixed-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 1rem;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  border-radius: 1.5rem;
  position: fixed;
  top: 0.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 2rem);
  max-width: 480px;
  z-index: 1000;
  box-sizing: border-box;
}

.fixed-top-bar-title {
  font-family: 'Dancing Script', cursive;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--pink-600);
  flex-shrink: 0;
  margin-right: 0.5rem;
}

.fixed-top-bar-icons {
  display: flex;
  gap: 0.7rem;
  flex-grow: 1;
  justify-content: center;
}

.fixed-top-bar-icon {
  width: 2rem;
  height: 2rem;
  vertical-align: middle;
  transition: transform 0.2s ease;
  background-color: var(--white);
  padding: 0.2rem;
  border-radius: 50%;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
 .fixed-top-bar-icon img {
    width: 80%;
    height: 80%;
    object-fit: contain;
 }

.fixed-top-bar-icon:hover {
    transform: scale(1.1);
}

.fixed-top-bar-button {
  background-color: var(--pink-500);
  color: var(--white);
  padding: 0.5rem 0.8rem;
  border-radius: 0.8rem;
  text-decoration: none;
  font-size: 0.7rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  flex-shrink: 0;
  line-height: 1.2;
  text-align: center;
  margin-left: 0.5rem;
}

.fixed-top-bar-button:hover {
  background-color: var(--pink-600);
  transform: translateY(-2px);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
}

.header-video-container {
    width: 100%;
    padding: 0 1rem;
    margin: 0.5rem 0 0.5rem;
    box-sizing: border-box;
    position: relative;
    z-index: 50;
}
.header-video {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--pink-200);
    background-color: var(--pink-50);
}

.hide-scrollbar::-webkit-scrollbar {
    display: none;
}
.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.header {
  padding: 1.5rem 1rem 1rem;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 10;
  margin: 1rem 1rem 0.5rem;
  border: 2px solid var(--pink-200);
}
.site-title {
  font-family: 'Dancing Script', cursive;
  font-size: 2rem;
  font-weight: 700;
  color: var(--pink-600);
  margin-bottom: 0.25rem;
}
.site-subtitle {
  font-size: 0.875rem;
  color: var(--gray-600);
  font-weight: 300;
}
#cupons .site-title {
   font-family: 'Dancing Script', cursive;
}

main {
  flex: 1;
  padding-bottom: 1rem;
}
.section {
  padding: 1.5rem 1rem;
  margin: 1rem 0.5rem;
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}
.section-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 1rem;
  text-align: center;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}
.section-title::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--pink-400);
  border-radius: 2px;
}
.section-subtitle {
  font-size: 1rem;
  color: var(--gray-600);
  margin-bottom: 1.5rem;
  text-align: center;
  font-weight: 300;
}

/* Nova grade de produtos */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-bottom: 1.5rem;
}

@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 360px) {
  .products-grid {
    gap: 10px;
  }
}

.product-card {
  background-color: var(--white);
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  width: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 5px 15px rgba(0, 0, 0, 0.1);
}
.product-img-container {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
  background-color: var(--gray-100);
  overflow: hidden;
  flex-shrink: 0;
  contain: strict;
}
.product-img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card:hover .product-img {
  transform: scale(1.05);
}
.product-info {
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}
.product-title {
  font-size: 0.75rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
  color: var(--gray-800);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: calc(2 * 1.5 * 0.75rem);
}
.product-price {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--pink-600);
  margin-bottom: 0.5rem;
  margin-top: auto;
}
.product-old-price {
  font-size: 0.75rem;
  text-decoration: line-through;
  color: var(--gray-500);
  margin-bottom: 0.25rem;
}
.product-timer {
  font-size: 0.6rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--pink-600);
  margin-top: 0.25rem;
  font-weight: 500;
  line-height: 1.2;
}
.buy-button, .mercado-pago-button {
  width: 100%;
  margin-top: 0.5rem;
  min-height: calc(0.5rem * 2 + 1.5 * 0.75rem);
  display: flex;
  align-items: center;
  justify-content: center;
}
.buy-button {
  padding: 0.5rem;
  background-color: var(--pink-500);
  color: white;
  border: none;
  border-radius: 0.25rem;
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-align: center;
  line-height: 1.5;
}
.buy-button:hover {
  background-color: var(--pink-600);
}
.buy-button[disabled] {
    background-color: var(--gray-300);
    cursor: not-allowed;
}

.see-more-button {
  display: block;
  width: 80%;
  margin: 1.5rem auto 0;
  padding: 0.75rem;
  background-color: var(--pink-500);
  color: white;
  border: none;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}
.see-more-button:hover {
  background-color: var(--pink-600);
  box-shadow: 4px 8px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.coupon-card { background-color: var(--white); border-radius: 0.75rem; padding: 1rem; margin-bottom: 1.5rem; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); border: 1px dashed var(--pink-400); position: relative; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.coupon-card:hover { transform: translateY(-5px); box-shadow: 5px 15px rgba(0, 0, 0, 0.1); }
.coupon-discount { position: absolute; top: -0.75rem; right: 1rem; background-color: var(--pink-500); color: white; padding: 0.25rem 0.5rem; border-radius: 0.25rem; font-size: 0.875rem; font-weight: 600; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); }
.coupon-title { font-size: 1rem; font-weight: 600; color: var(--gray-900); margin-bottom: 0.5rem; }
.coupon-description { font-size: 0.75rem; color: var(--gray-600); margin-bottom: 0.75rem; }
.coupon-code { display: flex; align-items: center; margin-bottom: 0.75rem; }
.code-display { flex: 1; padding: 0.5rem; background-color: var(--gray-100); border-radius: 0.25rem; font-size: 0.875rem; font-weight: 600; color: var(--gray-900); text-align: center; letter-spacing: 1px; margin-right: 0.5rem; border: 1px dashed var(--gray-300); }
.copy-button { padding: 0.5rem; background-color: var(--pink-500); color: white; border: none; border-radius: 0.25rem; font-size: 0.75rem; font-weight: 500; cursor: pointer; transition: background-color 0.3s ease; line-height: 1.5; }
.copy-button:hover { background-color: var(--pink-600); }
.copy-button[disabled] { background-color: var(--gray-300); cursor: not-allowed; }
.coupon-validity { font-size: 0.75rem; color: var(--gray-500); text-align: center; }
.shopee-button { display: none; width: 100%; margin-top: 0.5rem; padding: 0.5rem; background-color: #ee4d2d; color: white; border: none; border-radius: 0.25rem; font-size: 0.75rem; font-weight: 500; cursor: pointer; text-align: center; transition: background-color 0.3s ease; line-height: 1.5; }
.shopee-button:hover { background-color: #d03a18; }

 .bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    height: 4rem;
    z-index: 1001;
    box-shadow: 0 -1px 0 rgba(0,0,0,0.08), 0 -4px 16px rgba(0,0,0,0.06);
    padding: 0;
    border-top: 1px solid rgba(0,0,0,0.06);
 }
 .nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    color: var(--gray-400);
    text-decoration: none;
    position: relative;
    transition: color 0.2s ease;
    -webkit-tap-highlight-color: transparent;
 }
 .nav-item.active { color: var(--pink-500); }
 .nav-item::after { display: none; }
 .nav-item.active .nav-icon-wrap { background-color: rgba(240, 76, 126, 0.1); border-radius: 1rem; }
 .nav-icon-wrap {
    width: 2.5rem;
    height: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    transition: background-color 0.2s ease;
    position: relative;
 }
 .nav-icon { width: 1.35rem; height: 1.35rem; }
 .nav-text { font-size: 0.6rem; font-weight: 600; letter-spacing: 0.01em; }
 .nav-badge {
    position: absolute;
    top: -3px;
    right: -2px;
    min-width: 16px;
    height: 16px;
    background-color: var(--pink-500);
    color: white;
    border-radius: 99px;
    font-size: 0.55rem;
    font-weight: 700;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
    border: 1.5px solid white;
 }

.content-section { display: none; animation: fadeIn 0.5s ease; }
.content-section.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.footer {
    padding: 1.5rem 1rem;
    text-align: center;
    position: relative;
    padding-bottom: calc(4rem + 0.5rem);
}
.footer-content {
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 1rem;
    padding: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100px;
}

#amazon-banner-container {
    text-align: center;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#amazon-banner-container.show {
    opacity: 1;
    visibility: visible;
}

#amazon-banner-container a {
    display: block;
    width: 100%;
    text-decoration: none;
    margin-bottom: 0.5rem;
}

#amazon-banner-container img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 250px;
    margin: 0 auto;
    border-radius: 0.5rem;
    animation: wobble 2s infinite ease-in-out;
}

@keyframes wobble {
  0%, 100% { transform: translateX(0) rotate(0deg); }
  15% { transform: translateX(-5px) rotate(-2deg); }
  30% { transform: translateX(5px) rotate(2deg); }
  45% { transform: translateX(-3px) rotate(-1deg); }
  60% { transform: translateX(3px) rotate(1deg); }
  75% { transform: translateX(-2px) rotate(-1deg); }
  90% { transform: translateX(2px) rotate(1deg); }
}

#amazon-banner-container p {
    font-family: 'Dancing Script', cursive;
    font-size: 1.2rem;
    color: var(--pink-600);
    margin: 0.5rem 0 0;
    padding: 0 0.5rem;
    font-weight: 700;
}

.loading-spinner { display: flex; justify-content: center; align-items: center; padding: 2rem; width: 100%; }
.spinner { width: 40px; height: 40px; border: 4px solid var(--gray-200); border-top: 4px solid var(--pink-500); border-radius: 50%; animation: spin 1s linear infinite; }
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

/* Novos estilos para a navegação de produtos */
.product-nav-top, .product-nav-bottom {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  margin: 1.2rem 0;
  padding: 0 1rem;
  flex-wrap: wrap;
}

.product-nav-button {
  padding: 0.6rem 1.2rem;
  border-radius: 1.5rem;
  background-color: var(--pink-100);
  color: var(--pink-700);
  border: 1px solid var(--pink-200);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.product-nav-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(255,255,255,0.2), rgba(255,255,255,0));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.product-nav-button.active {
  background-color: var(--pink-500);
  color: var(--white);
  box-shadow: 0 4px 8px rgba(225, 44, 94, 0.3);
  transform: translateY(-2px);
}

.product-nav-button:hover:not(.active) {
  background-color: var(--pink-200);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.product-nav-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.empty-message {
  text-align: center;
  color: var(--gray-500);
  padding: 2rem 1rem;
  font-size: 0.9rem;
}

@media (min-width: 769px) {
}
@media (max-width: 768px) {
     body { padding-top: 55px; }
}
@media (max-width: 480px) {
    .fixed-top-bar { width: calc(100% - 1rem); top: 0.5rem;}
    body { padding-top: 55px; }

    .nav-item {
        padding: 0 1rem;
    }

    .fixed-top-bar-title { font-size: 1.1rem; margin-right: 0.2rem;}
    .fixed-top-bar-icons { gap: 0.4rem; }
    .fixed-top-bar-icon { width: 1.8rem; height: 1.8rem; }
    .fixed-top-bar-button { font-size: 0.65rem; padding: 0.4rem 0.6rem; margin-left: 0.2rem;}
    .product-timer, .product-modal-timer { font-size: 0.55rem; }

    .footer-banner-content img {
         max-height: 180px;
      }
      .footer-banner-content p {
        font-size: 1rem;
      }
      
    .product-nav-button {
      padding: 0.5rem 1rem;
      font-size: 0.75rem;
    }
}

@media (max-width: 360px) {
    body { padding-top: 50px; }
    .fixed-top-bar-icons { gap: 0.3rem; }
    .fixed-top-bar-icon { width: 1.6rem; height: 1.6rem; }
    .nav-item { padding: 0 0.8rem; }
    .product-title { font-size: 0.7rem; min-height: calc(2 * 1.5 * 0.7rem); }
    .product-price { font-size: 0.8rem; }
    .buy-button, .copy-button, .shopee-button { font-size: 0.7rem; padding: 0.4rem; }
    .buy-button, .mercado-pago-button { min-height: calc(0.4rem * 2 + 1.5 * 0.7rem); }
    .product-timer, .product-modal-timer { font-size: 0.5rem; }

      .footer-banner-content img {
         max-height: 150px;
      }
      .footer-banner-content p {
        font-size: 0.9rem;
      }
      
    .product-nav-button {
      padding: 0.4rem 0.8rem;
      font-size: 0.7rem;
    }
}

.product-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 2000;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

.product-modal-content {
  background-color: var(--white);
  border-radius: 1rem;
  max-width: 90%;
  width: 350px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

.product-modal-close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 2rem;
  height: 2rem;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  color: var(--gray-700);
  z-index: 10;
}

.product-modal-image {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
}

.product-modal-info {
  padding: 1rem;
}

.product-modal-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 0.5rem;
}

.product-modal-price-container {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}

.product-modal-old-price {
  font-size: 0.9rem;
  text-decoration: line-through;
  color: var(--gray-500);
}

.product-modal-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--pink-600);
}

.product-modal-timer {
  font-size: 0.7rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--pink-600);
  margin-bottom: 1rem;
  font-weight: 500;
  line-height: 1.2;
}

.product-modal-warning {
  background-color: var(--pink-50);
  border-radius: 0.5rem;
  padding: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.8rem;
  color: var(--gray-700);
}

.product-modal-seal {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  gap: 0.5rem;
}

.product-modal-seal img {
  width: 2.5rem;
  height: auto;
  max-height: 2.5rem;
}

.product-modal-seal-text {
  font-size: 0.8rem;
  color: var(--gray-700);
  font-weight: 500;
}

.product-modal-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.product-modal-button {
  width: 100%;
  padding: 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.product-modal-button-back {
  background-color: var(--gray-200);
  color: var(--gray-700);
}

.product-modal-button-back:hover {
  background-color: var(--gray-300);
}

.product-modal-button-cart {
  background-color: transparent;
  color: var(--pink-500);
  border: 1.5px solid var(--pink-500);
  transition: all 0.3s ease;
}

.product-modal-button-cart:hover:not(.added) {
  background-color: #16a34a;
  color: var(--white);
  border-color: #16a34a;
}

.product-modal-button-cart.added {
  background-color: transparent;
  color: #dc2626;
  border-color: #dc2626;
  cursor: pointer;
}

.product-modal-button-cart.added:hover {
  background-color: #fee2e2;
}

.product-modal-button-buy {
  background-color: var(--pink-500);
  color: var(--white);
}

.product-modal-button-buy:hover {
  background-color: var(--pink-600);
}

/* ESTILOS DE COMPARTILHAMENTO ATUALIZADOS */

/* 1. Botão no Card (revertido para o original branco e CORRIGIDO) */
.product-share-button {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 2rem;
  height: 2rem;
  background-color: var(--pink-500);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  box-shadow: 0 2px 6px rgba(240, 76, 126, 0.4);
  transition: all 0.2s ease;
}
.product-share-button:hover {
  background-color: var(--pink-600);
  transform: scale(1.1);
  color: var(--white);
}
.product-share-button svg {
    width: 1rem; /* Tamanho do ícone consertado */
    height: 1rem;
}

/* 2. Botão no Pop-up — quadrado, só ícone */
.product-modal-button-share {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    color: var(--pink-500);
    border: 1.5px solid var(--pink-500);
    width: 2.8rem;
    min-width: 2.8rem;
    height: 2.8rem;
    padding: 0;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-bottom: 0;
}
.product-modal-button-share:hover {
    background-color: var(--pink-500);
    color: var(--white);
}
.product-modal-button-share svg {
    width: 1.1em;
    height: 1.1em;
}

/* Linha continuar + compartilhar */
.product-modal-row-actions {
  display: flex;
  gap: 0.5rem;
  align-items: stretch;
  margin-top: 0;
}

.product-modal-button-continue {
  flex: 1;
  background-color: transparent;
  color: var(--pink-500);
  border: 1.5px solid var(--pink-500);
  margin-top: 0;
  transition: all 0.2s ease;
}
.product-modal-button-continue:hover {
  background-color: var(--pink-50);
}

/* 3. Fallback (copiar link) Toast */
.share-toast {
  position: fixed;
  bottom: 5rem;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--gray-800);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  border-radius: 1.5rem;
  font-size: 0.85rem;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s ease, bottom 0.3s ease;
  visibility: hidden;
}
.share-toast.show {
  opacity: 1;
  bottom: 6rem;
  visibility: visible;
}
/* FIM DOS ESTILOS DE COMPARTILHAMENTO */


/* Estilos para os novos pop-ups de pagamento */
.payment-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 3000;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

.payment-modal-content {
  background-color: var(--white);
  border-radius: 1rem;
  max-width: 90%;
  width: 400px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  animation: modalFadeIn 0.3s ease;
}

.payment-modal-close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 2rem;
  height: 2rem;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  color: var(--gray-700);
  z-index: 10;
  border: none;
}

.payment-form {
  padding: 2rem;
}

.payment-form-title {
  font-family: 'Dancing Script', cursive;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--pink-600);
  text-align: center;
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-700);
  margin-bottom: 0.5rem;
}

.form-input {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid var(--gray-200);
  border-radius: 0.5rem;
  font-size: 0.9rem;
  color: var(--gray-800);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  box-sizing: border-box;
}

.form-input:focus {
  outline: none;
  border-color: var(--pink-500);
  box-shadow: 0 0 0 3px rgba(225, 44, 94, 0.1);
}

.form-input.error {
  border-color: #e74c3c;
  box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.error-message {
  color: #e74c3c;
  font-size: 0.8rem;
  margin-top: 0.25rem;
  display: none;
}

.payment-buttons {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.payment-button {
  flex: 1;
  padding: 0.75rem;
  border: none;
  border-radius: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.payment-button-cancel {
  background-color: var(--gray-200);
  color: var(--gray-700);
}

.payment-button-cancel:hover {
  background-color: var(--gray-300);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.payment-button-pay {
  background-color: var(--pink-500);
  color: var(--white);
}

.payment-button-pay:hover {
  background-color: var(--pink-600);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(225, 44, 94, 0.3);
}

.payment-button:disabled {
  background-color: var(--gray-300);
  color: var(--gray-500);
  cursor: not-allowed;
  transform: none;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Estilos para as telas de status do pagamento */
.payment-status {
  padding: 2rem;
  text-align: center;
}

.payment-status-icon svg {
  width: 40px;
  height: 40px;
}

.payment-status-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.payment-status-icon.loading {
  background: rgb(229, 116, 158);
  color: white;
}

.payment-status-icon.success {
  background: linear-gradient(135deg, #4CAF50, #2E7D32);
  color: white;
}

.payment-status-icon.error {
  background: linear-gradient(135deg, #F44336, #C62828);
  color: white;
}

.payment-status-title {
  font-family: 'Dancing Script', cursive;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--pink-600);
  margin-bottom: 1rem;
}

.payment-status-message {
  font-size: 0.9rem;
  color: var(--gray-700);
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.payment-status-message strong {
  color: var(--gray-800);
}

.spinner-container {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  position: relative;
}

.spinner-large {
  width: 60px;
  height: 60px;
  border: 4px solid var(--pink-100);
  border-top: 4px solid var(--pink-500);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.spinner-inner {
  position: absolute;
  width: 40px;
  height: 40px;
  border: 4px solid var(--pink-200);
  border-top: 4px solid var(--pink-600);
  border-radius: 50%;
  animation: spin 0.8s linear infinite reverse;
}

.pix-container {
  background-color: var(--gray-50);
  border-radius: 0.75rem;
  padding: 1rem;
  margin: 1rem 0;
  border: 2px dashed var(--gray-300);
}

.pix-code {
  background-color: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 0.5rem;
  padding: 0.75rem;
  font-family: monospace;
  font-size: 0.8rem;
  word-break: break-all;
  margin-bottom: 0.75rem;
  max-height: 100px;
  overflow-y: auto;
}

.pix-qr-code {
  text-align: center;
  margin-bottom: 1rem;
}

.pix-qr-code img {
  max-width: 200px;
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.copy-pix-button {
  width: 100%;
  padding: 0.75rem;
  background-color: var(--pink-500);
  color: white;
  border: none;
  border-radius: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.copy-pix-button:hover {
  background-color: var(--pink-600);
}

.copy-pix-button:disabled {
  background-color: var(--gray-300);
  cursor: not-allowed;
}

.whatsapp-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: #f04c7e;
  color: #ffffff;
  border: none;
  border-radius: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  margin-top: 1rem;
}

.whatsapp-button:hover {
  background: #e12c5e;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.whatsapp-icon {
  width: 1.5rem;
  height: 1.5rem;
}

.status-buttons {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
  justify-content: center;
}

.status-button {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.status-button-primary {
  background-color: var(--pink-500);
  color: white;
}

.status-button-primary:hover {
  background-color: var(--pink-600);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(225, 44, 94, 0.3);
}

.status-button-secondary {
  background-color: var(--gray-200);
  color: var(--gray-700);
}

.status-button-secondary:hover {
  background-color: var(--gray-300);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Chat Support Styles */
.chat-support {
  position: fixed;
  bottom: 5rem;
  right: 1rem;
  z-index: 1500;
  font-family: 'Poppins', sans-serif;
  display: none; /* Adicione esta linha para ocultar o balão flutuante */
}

.chat-toggle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink-500), var(--pink-600));
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(240, 76, 126, 0.4);
  transition: all 0.3s ease;
  color: white;
  font-size: 1.5rem;
  position: relative;
  overflow: hidden;
}

.chat-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(240, 76, 126, 0.6);
}

.chat-toggle::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.chat-toggle:hover::before {
  opacity: 1;
}

.chat-notification {
  position: absolute;
  top: -5px;
  right: -5px;
  width: 20px;
  height: 20px;
  background-color: #ff4444;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 600;
  color: white;
  animation: pulse 2s infinite;
  display: none;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

.chat-window {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 350px;
  height: 500px;
  background: white;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  display: none;
  flex-direction: column;
  overflow: hidden;
  animation: chatSlideIn 0.3s ease;
}

@keyframes chatSlideIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.chat-header {
  background: linear-gradient(135deg, var(--pink-500), var(--pink-600));
  color: white;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-header-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.chat-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.chat-header-text h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}

.chat-header-text p {
  margin: 0;
  font-size: 0.8rem;
  opacity: 0.9;
}

.chat-close {
  background: none;
  border: none;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 50%;
  transition: background-color 0.3s ease;
}

.chat-close:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.chat-messages {
  flex: 1;
  padding: 1rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: var(--gray-50);
}

.chat-message {
  display: flex;
  gap: 0.5rem;
  animation: messageSlideIn 0.3s ease;
}

@keyframes messageSlideIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.chat-message.user {
  flex-direction: row-reverse;
}

.chat-message-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.chat-message.bot .chat-message-avatar {
  background: var(--pink-500);
  color: white;
}

.chat-message.user .chat-message-avatar {
  background: var(--gray-400);
  color: white;
}

.chat-message-content {
  max-width: 70%;
  padding: 0.75rem 1rem;
  border-radius: 1rem;
  font-size: 0.9rem;
  line-height: 1.4;
  word-wrap: break-word;
}

.chat-message.bot .chat-message-content {
  background: white;
  color: var(--gray-800);
  border-bottom-left-radius: 0.25rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.chat-message.user .chat-message-content {
  background: var(--pink-500);
  color: white;
  border-bottom-right-radius: 0.25rem;
}

.chat-typing {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: white;
  border-radius: 1rem;
  border-bottom-left-radius: 0.25rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  max-width: 70%;
}

.chat-typing-dots {
  display: flex;
  gap: 0.25rem;
}

.chat-typing-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gray-400);
  animation: typingDot 1.4s infinite ease-in-out;
}

.chat-typing-dot:nth-child(1) { animation-delay: -0.32s; }
.chat-typing-dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes typingDot {
  0%, 80%, 100% {
    transform: scale(0.8);
    opacity: 0.5;
  }
  40% {
    transform: scale(1);
    opacity: 1;
  }
}

.chat-input-container {
  padding: 1rem;
  background: white;
  border-top: 1px solid var(--gray-200);
}

.chat-input-wrapper {
  display: flex;
  gap: 0.5rem;
  align-items: flex-end;
}

.chat-input {
  flex: 1;
  padding: 0.75rem;
  border: 2px solid var(--gray-200);
  border-radius: 1rem;
  font-size: 0.9rem;
  resize: none;
  min-height: 20px;
  max-height: 100px;
  font-family: inherit;
  transition: border-color 0.3s ease;
}

.chat-input:focus {
  outline: none;
  border-color: var(--pink-500);
}

.chat-send {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--pink-500);
  border: none;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.chat-send:hover:not(:disabled) {
  background: var(--pink-600);
  transform: scale(1.1);
}

.chat-send:disabled {
  background: var(--gray-300);
  cursor: not-allowed;
  transform: none;
}

.chat-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.chat-quick-action {
  padding: 0.5rem 0.75rem;
  background: white;
  border: 1px solid var(--pink-200);
  border-radius: 1rem;
  font-size: 0.8rem;
  color: var(--pink-600);
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.chat-quick-action:hover {
  background: var(--pink-50);
  border-color: var(--pink-400);
}

.chat-error {
  background: #fee;
  color: #c33;
  padding: 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.8rem;
  margin: 0.5rem 0;
  border-left: 4px solid #c33;
}

/* Responsive adjustments */
@media (max-width: 480px) {
  .chat-window {
    width: calc(100vw - 2rem);
    height: 70vh;
    bottom: 80px;
    right: 1rem;
    left: 1rem;
  }
  
  .chat-support {
    right: 1rem;
  }
}

@media (max-width: 360px) {
  .chat-toggle {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
  
  .chat-window {
    height: 60vh;
  }
}

#background-video {
  position: fixed;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: -100;
  transform: translateX(-50%) translateY(-50%);
  background: url('templates/layout/background.webp') no-repeat;
  background-size: cover;
  filter: blur(5px);
  -webkit-filter: blur(5px);
}

/* ==========================================
   ESTILOS DO CARRINHO DE COMPRAS
   ========================================== */


}


/* Overlay do drawer */
.cart-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 2500;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cart-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Drawer do carrinho */
.cart-drawer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  max-width: 500px;
  margin: 0 auto;
  height: auto;
  max-height: 85vh;
  min-height: 200px;
  background-color: var(--white);
  border-radius: 1.5rem 1.5rem 0 0;
  z-index: 2600;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
}

.cart-drawer.active {
  transform: translateY(0);
}

.cart-drawer-handle {
  width: 40px;
  height: 5px;
  background-color: var(--gray-300);
  border-radius: 3px;
  margin: 0.75rem auto;
  flex-shrink: 0;
}

.cart-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.25rem 1rem;
  border-bottom: 1px solid var(--gray-200);
  flex-shrink: 0;
}

.cart-drawer-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gray-800);
}

.cart-clear-button {
  background: none;
  border: 1.5px solid #fca5a5;
  font-size: 0.75rem;
  color: #dc2626;
  cursor: pointer;
  padding: 0.25rem 0.6rem;
  border-radius: 0.25rem;
  transition: all 0.2s ease;
}

.cart-clear-button:hover {
  background-color: #fee2e2;
}

.cart-continue-button {
  width: 100%;
  margin-top: 0.5rem;
  padding: 0.6rem;
  background-color: transparent;
  color: var(--pink-500);
  border: 1.5px solid var(--pink-500);
  border-radius: 0.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.cart-continue-button:hover {
  background-color: var(--pink-50);
}

/* Lista de itens do carrinho */
.cart-items-list {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.25rem;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--gray-100);
}

.cart-item:last-child {
  border-bottom: none;
}

.cart-item-image {
  width: 50px;
  height: 50px;
  border-radius: 0.5rem;
  object-fit: cover;
  background-color: var(--gray-100);
  flex-shrink: 0;
}

.cart-item-info {
  flex: 1;
  min-width: 0;
}

.cart-item-title {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gray-800);
  margin-bottom: 0.25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item-price {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--pink-600);
}

.cart-item-remove {
  width: 28px;
  height: 28px;
  background-color: var(--pink-500);
  border: none;
  border-radius: 50%;
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.cart-item-remove:hover {
  background-color: var(--pink-600);
  transform: scale(1.1);
}

.cart-empty-message {
  text-align: center;
  color: var(--gray-500);
  padding: 2rem;
  font-size: 0.9rem;
}

/* Footer do drawer */
.cart-drawer-footer {
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--gray-200);
  background-color: var(--gray-50);
  flex-shrink: 0;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.cart-total-label {
  font-size: 1rem;
  font-weight: 500;
  color: var(--gray-700);
}

.cart-total-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--pink-600);
}

.cart-checkout-button {
  width: 100%;
  padding: 0.875rem;
  background-color: var(--pink-500);
  color: var(--white);
  border: none;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(240, 76, 126, 0.3);
}

.cart-checkout-button:hover {
  background-color: var(--pink-600);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(240, 76, 126, 0.4);
}

.cart-checkout-button:disabled {
  background-color: var(--gray-300);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Botoes nos cards de produto */
.product-buttons-container {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: 0.5rem;
}

.add-cart-button {
  width: 100%;
  padding: 0.5rem;
  background-color: transparent;
  color: var(--pink-500);
  border: 1.5px solid var(--pink-500);
  border-radius: 0.25rem;
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  line-height: 1.3;
}

.add-cart-button:hover:not(.added) {
  background-color: #16a34a;
  color: var(--white);
  border-color: #16a34a;
}

.add-cart-button.added {
  background-color: transparent;
  color: #dc2626;
  border-color: #dc2626;
  cursor: pointer;
}

.add-cart-button.added:hover {
  background-color: #fee2e2;
}

/* Modal de checkout do carrinho */
.cart-checkout-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 3000;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

.cart-checkout-modal.active {
  display: flex;
}

.cart-checkout-content {
  background-color: var(--white);
  border-radius: 1rem;
  max-width: 90%;
  width: 400px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  animation: modalFadeIn 0.3s ease;
}

.cart-checkout-close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 2rem;
  height: 2rem;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  color: var(--gray-700);
  z-index: 10;
  border: none;
}

.cart-checkout-form {
  padding: 2rem;
}

.cart-checkout-title {
  font-family: 'Dancing Script', cursive;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--pink-600);
  text-align: center;
  margin-bottom: 1.5rem;
}

.cart-summary {
  background-color: var(--gray-50);
  border-radius: 0.5rem;
  padding: 1rem;
  margin-bottom: 1.5rem;
}

.cart-summary-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 0.75rem;
}

.cart-summary-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.4rem 0;
  font-size: 0.85rem;
  color: var(--gray-600);
}

.cart-summary-item-name {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-right: 0.5rem;
}

.cart-summary-item-price {
  font-weight: 500;
  color: var(--gray-800);
  flex-shrink: 0;
}

.cart-summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.75rem;
  margin-top: 0.5rem;
  border-top: 1px solid var(--gray-200);
  font-weight: 600;
}

.cart-summary-total-label {
  color: var(--gray-700);
}

.cart-summary-total-value {
  color: var(--pink-600);
  font-size: 1.1rem;
}

@media (max-width: 480px) {
  .cart-drawer {
    max-height: 80vh;
  }
  
  .add-cart-button {
    font-size: 0.65rem;
    padding: 0.4rem;
  }
}

@media (max-width: 360px) {
  .add-cart-button {
    font-size: 0.58rem;
  }
}

 
 / *   A n i m a c a o   d o   C a r r i n h o   V u l t o   * / 
 @ k e y f r a m e s   c a r t P u l s e   { 
     0 %   {   t r a n s f o r m :   s c a l e ( 1 ) ;   } 
     5 0 %   {   t r a n s f o r m :   s c a l e ( 1 . 3 ) ;   } 
     1 0 0 %   {   t r a n s f o r m :   s c a l e ( 1 ) ;   } 
 } 
 . p u l s e - a n i m a t i o n   { 
     a n i m a t i o n :   c a r t P u l s e   0 . 3 s   e a s e - o u t   ! i m p o r t a n t ; 
 } 
  
 

/* Animacao do Carrinho Vulto e Pulse */
@keyframes cartPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.3); }
  100% { transform: scale(1); }
}
.pulse-animation {
  animation: cartPulse 0.3s ease-out !important;
}
