/* ============================================
   CONFORTA STORE - Complete Stylesheet
   Professional | Blue Theme | Responsive
   ============================================ */

@import url('cc-polish.css');

:root {
  --primary: #1a56db;
  --primary-dark: #0f3a8e;
  --primary-light: #3b82f6;
  --primary-bg: #eff6ff;
  --secondary: #64748b;
  --success: #16a34a;
  --warning: #f59e0b;
  --danger: #dc2626;
  --dark: #0f172a;
  --gray-900: #1e293b;
  --gray-700: #334155;
  --gray-600: #475569;
  --gray-500: #64748b;
  --gray-400: #94a3b8;
  --gray-300: #cbd5e1;
  --gray-200: #e2e8f0;
  --gray-100: #f1f5f9;
  --gray-50: #f8fafc;
  --white: #ffffff;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
  --radius: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-w: 1280px;
  --header-h: 72px;
  --transition: 200ms ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  color: var(--gray-900);
  background: var(--gray-50);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; font-family: inherit; font-size: inherit; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: inherit; outline: none; }
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }

/* ============================================
   HEADER
   ============================================ */
.header {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: #0f172a;
  border-bottom: 1px solid #1e293b;
  z-index: 1000;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 20px;
  gap: 20px;
}
.header-logo {
  font-size: 1.5rem; font-weight: 700; color: #ffffff;
  letter-spacing: -0.5px; white-space: nowrap;
}
.header-logo span { color: #94a3b8; }
.header-search {
  flex: 1; max-width: 520px; position: relative;
}
.header-search input {
  width: 100%; height: 44px; padding: 0 44px 0 16px;
  border: 1px solid #334155; border-radius: var(--radius);
  background: #1e293b; font-size: 0.9rem; transition: var(--transition);
  color: #e2e8f0;
}
.header-search input::placeholder { color: #64748b; }
.header-search input:focus {
  border-color: var(--primary); background: #1e293b; box-shadow: 0 0 0 3px rgba(26,86,219,0.1);
}
.header-search button {
  position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
  color: #64748b; transition: var(--transition);
}
.header-search button:hover { color: var(--primary); }
.header-actions {
  display: flex; align-items: center; gap: 12px;
}
.header-actions button, .header-actions a {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 12px; border-radius: var(--radius);
  color: #cbd5e1; font-size: 0.875rem; font-weight: 500;
  transition: var(--transition); position: relative;
}
.header-actions button:hover, .header-actions a:hover {
  background: rgba(255,255,255,0.08); color: #ffffff;
}
.cart-badge {
  position: absolute; top: 2px; right: 2px;
  background: var(--danger); color: var(--white);
  font-size: 0.65rem; font-weight: 600; min-width: 18px; height: 18px;
  border-radius: 9px; display: flex; align-items: center; justify-content: center;
  padding: 0 4px;
}
.mobile-menu-btn {
  display: none; width: 40px; height: 40px;
  align-items: center; justify-content: center; color: #cbd5e1;
}

/* ============================================
   MOBILE MENU
   ============================================ */
.mobile-menu {
  display: none; position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
  background: var(--white); z-index: 999; padding: 20px;
  overflow-y: auto; transform: translateX(-100%); transition: transform 300ms ease;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 0; border-bottom: 1px solid var(--gray-100);
  font-size: 1rem; color: var(--gray-700); font-weight: 500;
}

/* ============================================
   MAIN CONTENT
   ============================================ */
.main { padding-top: var(--header-h); min-height: 100vh; }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--gray-900); color: var(--gray-300); padding: 60px 0 30px; margin-top: 80px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; max-width: var(--max-w); margin: 0 auto; padding: 0 20px;
}
.footer-brand h3 {
  font-size: 1.4rem; color: var(--white); margin-bottom: 12px;
}
.footer-brand p { font-size: 0.875rem; line-height: 1.7; }
.footer-col h4 {
  color: var(--white); font-size: 0.95rem; font-weight: 600; margin-bottom: 16px;
}
.footer-col a {
  display: block; padding: 6px 0; font-size: 0.85rem; color: var(--gray-400);
  transition: var(--transition);
}
.footer-col a:hover { color: var(--primary-light); }
.footer-bottom {
  max-width: var(--max-w); margin: 40px auto 0; padding: 20px 20px 0;
  border-top: 1px solid rgba(255,255,255,0.1); text-align: center;
  font-size: 0.8rem; color: var(--gray-500);
}

/* ============================================
   BREADCRUMB
   ============================================ */
.breadcrumb {
  display: flex; align-items: center; gap: 8px; padding: 16px 0;
  font-size: 0.85rem; color: var(--gray-500);
}
.breadcrumb a { color: var(--gray-500); transition: var(--transition); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { color: var(--gray-900); font-weight: 500; }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: var(--radius); font-weight: 600;
  font-size: 0.9rem; transition: var(--transition); border: none;
  cursor: pointer; line-height: 1.2;
}
.btn-primary {
  background: var(--primary); color: var(--white);
}
.btn-primary:hover { background: var(--primary-dark); }
.btn-secondary {
  background: var(--gray-100); color: var(--gray-700);
}
.btn-secondary:hover { background: var(--gray-200); }
.btn-outline {
  background: transparent; color: var(--primary); border: 1.5px solid var(--primary);
}
.btn-outline:hover { background: var(--primary-bg); }
.btn-danger {
  background: var(--danger); color: var(--white);
}
.btn-danger:hover { background: #b91c1c; }
.btn-sm { padding: 8px 16px; font-size: 0.8rem; }
.btn-lg { padding: 14px 32px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* ============================================
   FORMS
   ============================================ */
.form-group { margin-bottom: 16px; }
.form-label {
  display: block; font-size: 0.85rem; font-weight: 600; color: var(--gray-700);
  margin-bottom: 6px;
}
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 10px 14px;
  border: 1px solid var(--gray-300); border-radius: var(--radius);
  font-size: 0.9rem; color: var(--gray-900); background: var(--white);
  transition: var(--transition);
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--primary); box-shadow: 0 0 0 3px rgba(26,86,219,0.1);
}
.form-textarea { min-height: 100px; resize: vertical; }
.form-error { color: var(--danger); font-size: 0.8rem; margin-top: 4px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* ============================================
   ALERTS
   ============================================ */
.alert {
  padding: 12px 16px; border-radius: var(--radius); font-size: 0.875rem;
  margin-bottom: 16px; display: flex; align-items: center; gap: 8px;
}
.alert-success { background: #dcfce7; color: #166534; border: 1px solid #bbf7d0; }
.alert-error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.alert-info { background: var(--primary-bg); color: var(--primary-dark); border: 1px solid #bfdbfe; }

/* ============================================
   MODAL
   ============================================ */
.modal-overlay {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5); z-index: 2000;
  display: none; align-items: center; justify-content: center;
  padding: 20px; animation: fadeIn 200ms ease;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--white); border-radius: var(--radius-lg);
  width: 100%; max-width: 560px; max-height: 85vh; overflow-y: auto;
  box-shadow: var(--shadow-lg); animation: slideUp 300ms ease;
}
.modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; border-bottom: 1px solid var(--gray-200);
}
.modal-header h3 { font-size: 1.1rem; }
.modal-close {
  width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius); color: var(--gray-500); transition: var(--transition);
}
.modal-close:hover { background: var(--gray-100); color: var(--gray-900); }
.modal-body { padding: 24px; }
.modal-footer {
  display: flex; align-items: center; justify-content: flex-end; gap: 12px;
  padding: 16px 24px; border-top: 1px solid var(--gray-200);
}

/* ============================================
   LOADING
   ============================================ */
.spinner {
  width: 40px; height: 40px; border: 3px solid var(--gray-200);
  border-top-color: var(--primary); border-radius: 50%;
  animation: spin 0.7s linear infinite; margin: 40px auto;
}
.loading-overlay {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(255,255,255,0.8); z-index: 3000;
  display: none; align-items: center; justify-content: center;
}
.loading-overlay.active { display: flex; }

/* ============================================
   TOAST
   ============================================ */
.toast-container {
  position: fixed; top: 88px; right: 20px; z-index: 5000;
  display: flex; flex-direction: column; gap: 8px;
}
.toast {
  padding: 12px 20px; border-radius: var(--radius); font-size: 0.875rem;
  box-shadow: var(--shadow-md); display: flex; align-items: center; gap: 8px;
  animation: slideIn 300ms ease; min-width: 280px; max-width: 420px;
}
.toast-success { background: #dcfce7; color: #166534; border-left: 4px solid var(--success); }
.toast-error { background: #fef2f2; color: #991b1b; border-left: 4px solid var(--danger); }
.toast-info { background: var(--primary-bg); color: var(--primary-dark); border-left: 4px solid var(--primary); }

/* ============================================
   CHAT WIDGET
   ============================================ */
.chat-widget {
  position: fixed; bottom: 24px; right: 24px; z-index: 1500;
}
.chat-toggle {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--primary); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg); transition: var(--transition);
}
.chat-toggle:hover { background: var(--primary-dark); transform: scale(1.05); }
.chat-box {
  position: absolute; bottom: 68px; right: 0;
  width: 380px; height: 520px; background: var(--white);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  display: none; flex-direction: column; overflow: hidden;
}
.chat-box.open { display: flex; }
.chat-header {
  padding: 16px 20px; background: var(--primary); color: var(--white);
  display: flex; align-items: center; justify-content: space-between;
}
.chat-header h4 { font-size: 0.95rem; font-weight: 600; }
.chat-close {
  width: 32px; height: 32px; display: flex; align-items: center;
  justify-content: center; border-radius: 50%; color: rgba(255,255,255,0.8);
  transition: var(--transition);
}
.chat-close:hover { background: rgba(255,255,255,0.15); }
.chat-messages {
  flex: 1; overflow-y: auto; padding: 16px 20px;
  display: flex; flex-direction: column; gap: 12px;
  background: var(--gray-50);
}
.chat-msg {
  max-width: 85%; padding: 10px 14px; border-radius: var(--radius-md);
  font-size: 0.85rem; line-height: 1.5; animation: fadeIn 300ms ease;
}
.chat-msg.user {
  align-self: flex-end; background: var(--primary); color: var(--white);
  border-bottom-right-radius: 4px;
}
.chat-msg.assistant {
  align-self: flex-start; background: var(--white); color: var(--gray-900);
  border: 1px solid var(--gray-200); border-bottom-left-radius: 4px;
}
.chat-input-area {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px; border-top: 1px solid var(--gray-200);
  background: var(--white);
}
.chat-input-area input {
  flex: 1; height: 40px; padding: 0 12px;
  border: 1px solid var(--gray-300); border-radius: var(--radius);
  font-size: 0.85rem;
}
.chat-input-area button {
  width: 40px; height: 40px; border-radius: var(--radius);
  background: var(--primary); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.chat-input-area button:hover { background: var(--primary-dark); }

/* ============================================
   PAGE TITLE
   ============================================ */
.page-title {
  padding: 40px 0 24px;
}
.page-title h1 {
  font-size: 1.75rem; font-weight: 700; color: var(--gray-900);
  letter-spacing: -0.5px;
}
.page-title p {
  font-size: 0.95rem; color: var(--gray-500); margin-top: 6px;
}

/* ============================================
   PRODUCT CARD
   ============================================ */
.product-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px;
}
.prod-card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius-md); overflow: hidden;
  transition: var(--transition); display: flex; flex-direction: column;
}
.prod-card:hover {
  box-shadow: var(--shadow-md); border-color: var(--gray-300);
  transform: translateY(-2px);
}
.prod-card-img {
  position: relative; padding-top: 75%; overflow: hidden; background: var(--gray-100);
}
.prod-card-img img {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover; transition: transform 400ms ease;
}
.prod-card:hover .prod-card-img img { transform: scale(1.05); }
.prod-card-badge {
  position: absolute; top: 8px; left: 8px;
  background: var(--danger); color: var(--white);
  font-size: 0.7rem; font-weight: 600; padding: 3px 8px;
  border-radius: 3px;
}
.prod-card-flash {
  position: absolute; top: 8px; right: 8px;
  background: var(--warning); color: var(--gray-900);
  font-size: 0.7rem; font-weight: 600; padding: 3px 8px;
  border-radius: 3px;
}
.prod-card-flash-timer {
  font-size: 0.65rem; margin-top: 2px; font-weight: 400;
}
.prod-card-body { padding: 14px; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.prod-card-category {
  font-size: 0.7rem; color: var(--primary); text-transform: uppercase;
  letter-spacing: 0.5px; font-weight: 600;
}
.prod-card-name {
  font-size: 0.9rem; font-weight: 600; color: var(--gray-900);
  line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}
.prod-card-rating {
  display: flex; align-items: center; gap: 4px; font-size: 0.75rem; color: var(--gray-500);
}
.prod-card-price {
  margin-top: auto; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap;
}
.prod-card-price-current {
  font-size: 1.2rem; font-weight: 700; color: var(--gray-900);
}
.prod-card-price-old {
  font-size: 0.8rem; color: var(--gray-400); text-decoration: line-through;
}
.prod-card-price-installments {
  font-size: 0.75rem; color: var(--success); width: 100%;
}
.prod-card-actions {
  display: flex; gap: 8px; padding: 0 14px 14px;
}
.prod-card-actions .btn { flex: 1; }

/* ============================================
   EMPTY STATE
   ============================================ */
.empty-state {
  text-align: center; padding: 60px 20px;
}
.empty-state svg { margin: 0 auto 16px; color: var(--gray-300); }
.empty-state h3 { font-size: 1.1rem; color: var(--gray-700); margin-bottom: 8px; }
.empty-state p { font-size: 0.875rem; color: var(--gray-500); }

/* ============================================
   SECTION
   ============================================ */
.section { padding: 48px 0; }
.section-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 24px;
}
.section-header h2 {
  font-size: 1.35rem; font-weight: 700; color: var(--gray-900);
  letter-spacing: -0.3px;
}
.section-header a {
  font-size: 0.85rem; color: var(--primary); font-weight: 600;
  display: flex; align-items: center; gap: 4px;
}
.section-header a:hover { text-decoration: underline; }

/* ============================================
   CART SIDEBAR (Overlay)
   ============================================ */
.cart-sidebar-overlay {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5); z-index: 3000;
  opacity: 0; visibility: hidden; transition: opacity 300ms ease, visibility 300ms ease;
}
.cart-sidebar-overlay.open { opacity: 1; visibility: visible; }
.cart-sidebar {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: 400px; max-width: 100vw;
  background: var(--white); z-index: 3001;
  display: flex; flex-direction: column;
  box-shadow: -8px 0 32px rgba(0,0,0,0.15);
  transform: translateX(100%); transition: transform 300ms ease;
}
.cart-sidebar.open { transform: translateX(0); }
.cart-sidebar-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; border-bottom: 1px solid var(--gray-200);
  flex-shrink: 0;
}
.cart-sidebar-header h3 { font-size: 1.1rem; font-weight: 700; color: var(--gray-900); }
.cart-sidebar-close {
  width: 36px; height: 36px; display: flex; align-items: center;
  justify-content: center; border-radius: var(--radius);
  color: var(--gray-500); transition: var(--transition);
}
.cart-sidebar-close:hover { background: var(--gray-100); color: var(--gray-900); }
.cart-sidebar-body { flex: 1; overflow-y: auto; padding: 16px 24px; }
.cart-sidebar-empty {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; padding: 60px 20px; text-align: center;
}
.cart-sidebar-empty svg { color: var(--gray-300); margin-bottom: 12px; }
.cart-sidebar-empty p { font-size: 0.9rem; color: var(--gray-500); }
.cart-sidebar-items { display: flex; flex-direction: column; gap: 16px; }
.cart-sidebar-footer {
  padding: 16px 24px 24px; border-top: 1px solid var(--gray-200);
  flex-shrink: 0;
}
.cart-sidebar-subtotal {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px; font-size: 1rem; font-weight: 600; color: var(--gray-900);
}
.cart-sidebar-total { font-size: 1.2rem; font-weight: 700; color: var(--gray-900); }
.cart-item {
  display: flex; gap: 12px; padding: 12px 0;
  border-bottom: 1px solid var(--gray-100); position: relative;
}
.cart-item-image {
  width: 72px; height: 72px; border-radius: var(--radius);
  overflow: hidden; background: var(--gray-100); flex-shrink: 0;
}
.cart-item-image img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-size: 0.85rem; font-weight: 600; color: var(--gray-900); margin-bottom: 4px; }
.cart-item-color { display: flex; align-items: center; gap: 4px; font-size: 0.75rem; color: var(--gray-500); margin-bottom: 4px; }
.cart-item-color .color-swatch { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.cart-item-price { font-size: 0.85rem; font-weight: 600; color: var(--gray-900); margin-bottom: 6px; }
.cart-item-qty { display: flex; align-items: center; gap: 8px; }
.cart-item-qty .qty-btn {
  width: 28px; height: 28px; display: flex; align-items: center;
  justify-content: center; border-radius: 4px; background: var(--gray-100);
  color: var(--gray-700); transition: var(--transition); font-size: 0.85rem;
}
.cart-item-qty .qty-btn:hover { background: var(--gray-200); }
.cart-item-qty .qty-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.cart-item-qty .qty-value { font-size: 0.85rem; font-weight: 600; min-width: 20px; text-align: center; color: var(--gray-900); }
.cart-item-total { font-size: 0.85rem; font-weight: 700; color: var(--gray-900); margin-top: 4px; }
.cart-item-remove {
  position: absolute; top: 8px; right: 0;
  width: 24px; height: 24px; display: flex; align-items: center;
  justify-content: center; color: var(--gray-400); transition: var(--transition);
}
.cart-item-remove:hover { color: var(--danger); }

@media (max-width: 480px) {
  .cart-sidebar { width: 100vw; }
  .cart-item-image { width: 60px; height: 60px; }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideIn { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: translateX(0); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}

@media (max-width: 768px) {
  :root { --header-h: 64px; }
  .header-search { display: none; }
  .mobile-menu-btn { display: flex; }
  .mobile-menu { display: block; }
  .header-actions a span, .header-actions button span { display: none; }
  .product-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
  .prod-card-name { font-size: 0.8rem; }
  .prod-card-price-current { font-size: 1rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .section { padding: 32px 0; }
  .page-title { padding: 24px 0 16px; }
  .page-title h1 { font-size: 1.4rem; }
  .chat-box { width: calc(100vw - 32px); right: -8px; bottom: 64px; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 360px) {
  .product-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .container { padding: 0 12px; }
}

/* ============================================
   MERCADO PAGO — mensagem de confiança (footer)
   ============================================ */
.footer-mp-trust {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  text-align: left;
  max-width: 640px;
  margin: 0 auto;
  padding: 16px 18px;
  background: linear-gradient(135deg, rgba(0, 158, 227, 0.14) 0%, rgba(15, 23, 42, 0.92) 52%);
  border: 1px solid rgba(56, 189, 248, 0.28);
  border-radius: 14px;
  width: 100%;
}
.footer-mp-trust-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(0, 158, 227, 0.2);
  color: #7dd3fc;
}
.footer-mp-trust-title {
  display: block;
  font-size: 0.86rem;
  font-weight: 800;
  color: #f0f9ff;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}
.footer-mp-trust-text {
  font-size: 0.78rem;
  line-height: 1.55;
  color: #94a3b8;
  margin: 0 0 10px;
}
.footer-mp-trust-link {
  font-size: 0.76rem;
  font-weight: 700;
  color: #38bdf8 !important;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer-mp-trust-link:hover {
  color: #7dd3fc !important;
}
@media (max-width: 520px) {
  .footer-mp-trust {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-mp-trust-body {
    text-align: center;
  }
}

/* Rodapé compacto (site-footer.js) — páginas que só carregam style.css, ex.: carrinho */
.footer.footer--site-compact {
  background: #0f172a;
  color: #cbd5e1;
  padding: 24px 0 18px;
  margin-top: 24px;
}
.footer.footer--site-compact .footer-compact {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
}
.footer.footer--site-compact .footer-brand-mini {
  display: inline-flex;
  align-items: center;
}
.footer.footer--site-compact .footer-brand-mini img {
  height: 34px;
  width: auto;
  display: block;
}
.footer.footer--site-compact .footer-contacts {
  display: flex;
  gap: 18px 22px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  row-gap: 12px;
}
.footer.footer--site-compact .footer-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #cbd5e1;
  transition: color 0.2s;
}
.footer.footer--site-compact a.footer-contact-item:hover {
  color: #fff;
}
.footer.footer--site-compact .footer-contact-item svg {
  flex-shrink: 0;
  color: #94a3b8;
}
.footer.footer--site-compact .footer-bottom-mini {
  font-size: 0.75rem;
  color: #64748b;
  padding-top: 12px;
  border-top: 1px solid #1e293b;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.footer.footer--site-compact .footer-mp-trust {
  margin-top: 4px;
}
@media (max-width: 720px) {
  .footer.footer--site-compact {
    padding: 18px 0 14px;
  }
  .footer.footer--site-compact .footer-contacts {
    flex-direction: column;
    gap: 12px;
  }
}

/* Carrinho — lembrete curto */
.cc-mp-cart-note {
  font-size: 0.84rem;
  color: #475569;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 18px;
  line-height: 1.45;
}
.cc-mp-cart-note strong {
  color: #0369a1;
}

/* Motion (leve, só onde importa) */
@media (prefers-reduced-motion: no-preference) {
  body.cc-motion .product-grid .product-card:not(.cc-in),
  body.cc-motion .product-grid .prod-card:not(.cc-in),
  body.cc-motion .product-grid article.product-card:not(.cc-in) {
    opacity: 0;
    transform: translate3d(0, 8px, 0);
  }

  body.cc-motion .product-card.cc-in,
  body.cc-motion .prod-card.cc-in,
  body.cc-motion article.product-card.cc-in {
    opacity: 1;
    transform: none;
    transition: opacity 0.32s ease, transform 0.32s ease;
  }

  body.cc-motion .product-card,
  body.cc-motion .prod-card {
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
  }

  @media (hover: hover) {
    body.cc-motion .product-card:hover,
    body.cc-motion .prod-card:hover {
      transform: translate3d(0, -3px, 0);
      box-shadow: var(--shadow-md);
    }
  }

  body.cc-motion .hero-content {
    animation: ccHeroIn 0.45s ease both;
  }

  @keyframes ccHeroIn {
    from { opacity: 0; transform: translate3d(0, 10px, 0); }
    to { opacity: 1; transform: none; }
  }

  body.cc-motion .btn-primary:active,
  body.cc-motion .btn-outline:active,
  body.cc-motion .btn-add-cart:active {
    transform: scale(0.98);
  }
}

@media (prefers-reduced-motion: reduce) {
  body.cc-motion .product-card,
  body.cc-motion .prod-card {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  body.cc-motion .hero-content {
    animation: none !important;
  }
}

.product-name,
.prod-card-name,
.hero h1,
.hero-lead,
.hero-eyebrow {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: manual;
}

.chat-widget .message.assistant,
.chat-widget .message.user {
  white-space: normal;
  word-break: normal;
  overflow-wrap: anywhere;
}
