* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --green: #204b35;
  --green-dark: #173a29;
  --green-light: #2e694b;
  --cream: #f5f5ef;
  --cream-dark: #eaeae0;
  --text: #242824;
  --muted: #626a63;
  --whatsapp-green: #25D366;
  --whatsapp-hover: #1ebd5a;
  --danger: #dc2626;
  --border: #e2e8f0;
  --shadow-sm: 0 2px 6px rgba(0,0,0,0.06);
  --shadow-md: 0 6px 18px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 30px rgba(0,0,0,0.15);
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: #fff;
  overflow-x: hidden;
}

/* ==========================================================
   HEADER & NAVEGACIÓN
   ========================================================== */
.header {
  min-height: 86px;
  padding: 18px 7%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: #fff;
  border-bottom: 1px solid #f0f0eb;
  position: sticky;
  top: 0;
  z-index: 100;
}

.brand, .footer-brand {
  color: var(--green);
  text-decoration: none;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.65rem;
  font-weight: bold;
}

.brand span {
  display: block;
  line-height: 1;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
  padding: 4px 0;
}

.nav a:hover,
.nav a.nav-active {
  color: var(--green);
  border-bottom: 2px solid var(--green);
}

.nav-admin-link {
  background: #f1f5f9;
  color: #475569 !important;
  padding: 6px 12px !important;
  border-radius: 4px;
  border-bottom: none !important;
  font-size: 0.88rem !important;
  transition: background 0.2s, color 0.2s !important;
}

.nav-admin-link:hover {
  background: #e2e8f0;
  color: #1e293b !important;
}

.menu-toggle {
  display: none;
  border: 0;
  background: none;
  color: var(--green);
  font-size: 1.7rem;
  cursor: pointer;
}

/* ==========================================================
   HERO SECTION
   ========================================================== */
.hero {
  min-height: 490px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--cream);
}

.hero-content {
  padding: 75px 8% 70px 7%;
  align-self: center;
}

h1, h2 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--green-dark);
  line-height: 1.12;
}

h1 {
  font-size: clamp(3rem, 5vw, 4.7rem);
  margin-bottom: 18px;
}

.eyebrow {
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 1.5px;
  font-weight: bold;
  color: var(--green);
  margin-bottom: 8px;
}

.hero-content > p:not(.eyebrow) {
  max-width: 460px;
  color: #454c46;
  font-size: 1.1rem;
  margin-bottom: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  background: var(--green);
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.button:hover {
  background: var(--green-dark);
}

.button-outline {
  background: transparent;
  color: var(--green);
  border: 1px solid var(--green);
  padding: 11px 21px;
}

.button-outline:hover {
  background: var(--green);
  color: #fff;
}

.button-whatsapp-sm {
  background: var(--whatsapp-green);
  color: #fff;
}
.button-whatsapp-sm:hover {
  background: var(--whatsapp-hover);
}

.hero-photo {
  min-height: 490px;
  background-image: url("Vaca.jpeg");
  background-size: cover;
  background-position: center;
}

/* ==========================================================
   FEATURES / SERVICIOS
   ========================================================== */
.features {
  width: 86%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 75px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 55px;
}

.feature {
  display: flex;
  align-items: flex-start;
  gap: 22px;
}

.feature-icon {
  flex: 0 0 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: white;
  font-size: 1.8rem;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}

.feature-icon:hover,
.feature-icon:focus-visible {
  background: var(--green-dark);
  transform: scale(1.08);
}

.feature h2 {
  font-size: 1.55rem;
  margin: 5px 0 12px;
}

.feature p, .location p {
  color: var(--muted);
}

/* ==========================================================
   TURNOS Y ATENCIÓN PROFESIONAL
   ========================================================== */
.appointment-section {
  width: 86%;
  max-width: 1120px;
  margin: 0 auto 70px;
}

.appointment-card {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 100%);
  color: white;
  padding: 40px 6%;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-md);
}

.appointment-info {
  max-width: 580px;
}

.appointment-info h2 {
  color: white;
  font-size: 2rem;
  margin-bottom: 12px;
}

.appointment-info p {
  color: #e2e8f0;
  font-size: 1.02rem;
}

.appointment-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
}

.button-turnos {
  background: white;
  color: var(--green-dark);
}
.button-turnos:hover {
  background: var(--cream);
  color: var(--green-dark);
}

.button-urgencia {
  background: #dc2626;
  color: white;
}
.button-urgencia:hover {
  background: #b91c1c;
}

/* ==========================================================
   UBICACIÓN
   ========================================================== */
.location {
  width: 86%;
  max-width: 1120px;
  margin: 0 auto 75px;
  padding: 38px 5%;
  background: var(--cream);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.location h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.map-link {
  flex-shrink: 0;
  color: var(--green);
  border: 1px solid var(--green);
  padding: 12px 18px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
}

.map-link:hover {
  background: var(--green);
  color: white;
}

/* ==========================================================
   FOOTER
   ========================================================== */
.footer {
  padding: 40px 7%;
  text-align: center;
  color: #e9eee9;
  background: var(--green-dark);
}

.footer-brand {
  color: white;
  font-size: 1.5rem;
}

.footer p {
  margin: 6px 0 14px;
}

.footer small {
  color: #c8d3ca;
}

/* ==========================================================
   PÁGINAS INTERNAS
   ========================================================== */
.page-hero {
  padding: 60px 7% 45px;
  background: var(--cream);
}

.page-hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  margin-bottom: 14px;
}

.page-hero p:not(.eyebrow) {
  max-width: 650px;
  color: #454c46;
  font-size: 1.05rem;
  margin-bottom: 20px;
}

.page-section {
  width: 86%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 50px 0 80px;
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.case-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.photo-slot {
  border: 2px dashed #b9c4bb;
  border-radius: 6px;
  background: var(--cream);
}

.case-card .photo-slot {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.photo-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.case-card h2 {
  font-size: 1.35rem;
  margin-bottom: 6px;
}

.case-card p {
  color: var(--muted);
}

/* ==========================================================
   CATÁLOGO INTERACTIVO (productos.html)
   ========================================================== */
.catalog-controls {
  margin-bottom: 25px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.search-box {
  position: relative;
  max-width: 520px;
}

.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  pointer-events: none;
}

.search-box input {
  width: 100%;
  padding: 13px 16px 13px 44px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 1rem;
  outline: none;
  background: white;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.search-box input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(32, 75, 53, 0.15);
}

.category-filters-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cat-pill {
  padding: 9px 18px;
  border-radius: 20px;
  border: 1px solid #d1d5db;
  background: #f8fafc;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.cat-pill:hover {
  background: #e2e8f0;
}

.cat-pill.active {
  background: var(--green);
  color: white;
  border-color: var(--green);
  box-shadow: 0 2px 6px rgba(32, 75, 53, 0.2);
}

.info-banner {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-left: 5px solid var(--whatsapp-green);
  border-radius: 6px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 35px;
}

.info-banner-icon {
  font-size: 1.6rem;
}

.info-banner-text strong {
  color: #166534;
  display: block;
  margin-bottom: 3px;
}

.info-banner-text p {
  color: #374151;
  font-size: 0.93rem;
  margin: 0;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 28px;
}

.product-card {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.product-card.out-of-stock {
  opacity: 0.85;
  filter: grayscale(0.2);
}

.product-card-img-wrap {
  position: relative;
  height: 180px;
  background: #fafaf8;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #f1f5f9;
  overflow: hidden;
}

.product-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
}

.product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--green);
  color: white;
  font-size: 0.72rem;
  font-weight: bold;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}

.stock-badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 12px;
}

.badge-in {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #86efac;
}

.badge-out {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

.product-card-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-category-tag {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.product-card-title {
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: var(--text);
  line-height: 1.3;
}

.product-card-desc {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.45;
  margin-bottom: 16px;
  flex: 1;
}

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
}

.product-price-box {
  display: flex;
  flex-direction: column;
}

.product-price {
  font-size: 1.35rem;
  font-weight: bold;
  color: var(--green-dark);
  line-height: 1;
}

.product-unit {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 3px;
}

.button-add-cart {
  padding: 8px 16px;
  font-size: 0.88rem;
  background: var(--green);
  border-radius: 4px;
  white-space: nowrap;
}

.button-add-cart:disabled {
  background: #94a3b8;
  cursor: not-allowed;
  transform: none;
}

.no-products-msg {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  background: #f8fafc;
  border-radius: 8px;
  color: var(--muted);
}

/* ==========================================================
   BOTÓN FLOTANTE INTELIGENTE DE WHATSAPP CON TARJETA INTERACTIVA
   ========================================================== */
.whatsapp-floating-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.whatsapp-popup-card {
  display: none;
  width: 290px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.18);
  margin-bottom: 12px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  animation: slideUpFade 0.22s ease-out;
}

.whatsapp-popup-card.open {
  display: block;
}

@keyframes slideUpFade {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.whatsapp-popup-header {
  background: var(--green-dark);
  color: white;
  padding: 12px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.whatsapp-popup-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: bold;
  font-size: 0.92rem;
}

.whatsapp-popup-close {
  background: none;
  border: none;
  color: white;
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
}

.whatsapp-popup-body {
  padding: 14px;
  font-size: 0.88rem;
  color: #334155;
}

.whatsapp-popup-body p {
  margin-bottom: 10px;
  line-height: 1.4;
}

.whatsapp-input-wrap label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: #475569;
}

.whatsapp-input-wrap input {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: 0.88rem;
  margin-bottom: 12px;
  outline: none;
}

.whatsapp-input-wrap input:focus {
  border-color: var(--whatsapp-green);
}

.whatsapp-send-btn {
  width: 100%;
  background: var(--whatsapp-green);
  color: white;
  border: none;
  border-radius: 6px;
  padding: 10px;
  font-weight: bold;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.2s;
}

.whatsapp-send-btn:hover {
  background: var(--whatsapp-hover);
}

.whatsapp-floating-btn {
  width: 60px;
  height: 60px;
  background-color: var(--whatsapp-green);
  border-radius: 50%;
  border: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.45);
  cursor: pointer;
  position: relative;
  transition: transform 0.25s, background-color 0.2s, box-shadow 0.25s;
  animation: pulseWhatsapp 2.8s infinite;
  box-sizing: border-box;
}

.whatsapp-floating-btn:hover {
  background-color: var(--whatsapp-hover);
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-floating-btn svg {
  display: block;
  width: 36px;
  height: 36px;
  margin: auto;
}

.whatsapp-tooltip {
  position: absolute;
  right: 72px;
  background: #1e293b;
  color: white;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(10px);
  transition: opacity 0.2s, transform 0.2s;
  box-shadow: var(--shadow-md);
}

.whatsapp-floating-btn:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

@keyframes pulseWhatsapp {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
  }
  70% {
    box-shadow: 0 0 0 16px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* ==========================================================
   BOTÓN FLOTANTE DEL CARRITO
   ========================================================== */
.cart-floating-btn {
  position: fixed;
  bottom: 24px;
  left: 24px;
  background: var(--green-dark);
  color: white;
  border: none;
  border-radius: 30px;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  z-index: 998;
  font-weight: bold;
  font-size: 0.95rem;
  transition: transform 0.2s, background 0.2s;
}

.cart-floating-btn:hover {
  background: var(--green);
  transform: translateY(-2px);
}

.cart-icon-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.cart-badge {
  position: absolute;
  top: -8px;
  right: -10px;
  background: #ef4444;
  color: white;
  font-size: 0.72rem;
  font-weight: 800;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.cart-badge.visible {
  display: flex;
}

/* ==========================================================
   DRAWER / MODAL LATERAL DEL CARRITO
   ========================================================== */
.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s;
  z-index: 1000;
}

.cart-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: -450px;
  width: 100%;
  max-width: 440px;
  height: 100vh;
  background: white;
  z-index: 1001;
  box-shadow: -5px 0 25px rgba(0,0,0,0.18);
  display: flex;
  flex-direction: column;
  transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.cart-drawer.open {
  right: 0;
}

.cart-header {
  padding: 20px 24px;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f8fafc;
}

.cart-header-title {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--green-dark);
}

.cart-header-title h3 {
  font-family: Georgia, serif;
  font-size: 1.35rem;
  margin: 0;
}

.cart-close-btn {
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #64748b;
  line-height: 1;
  padding: 4px;
}

.cart-close-btn:hover {
  color: #0f172a;
}

.cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
}

.cart-empty {
  text-align: center;
  padding: 60px 10px;
  color: var(--muted);
}

.cart-empty-icon {
  font-size: 3rem;
  margin-bottom: 12px;
}

.cart-items-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cart-item-card {
  display: flex;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f1f5f9;
  align-items: flex-start;
}

.cart-item-img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
  background: #fafaf8;
  flex-shrink: 0;
}

.cart-item-info {
  flex: 1;
}

.cart-item-title {
  font-weight: bold;
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.25;
  margin-bottom: 4px;
}

.cart-item-price-unit {
  font-size: 0.82rem;
  color: var(--muted);
}

.cart-item-subtotal {
  font-size: 0.88rem;
  color: var(--green-dark);
  margin-top: 4px;
}

.cart-item-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
}

.qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  background: #f8fafc;
}

.qty-btn {
  background: transparent;
  border: none;
  width: 26px;
  height: 26px;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  color: #334155;
  display: grid;
  place-items: center;
}

.qty-btn:disabled {
  color: #cbd5e1;
  cursor: not-allowed;
}

.qty-value {
  width: 28px;
  text-align: center;
  font-weight: bold;
  font-size: 0.88rem;
}

.cart-remove-btn {
  background: none;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  padding: 4px;
  transition: color 0.15s;
}

.cart-remove-btn:hover {
  color: #ef4444;
}

.stock-warning {
  display: block;
  color: #d97706;
  font-size: 0.75rem;
  margin-top: 4px;
}

.cart-footer {
  padding: 20px 24px;
  border-top: 1px solid #e2e8f0;
  background: #f8fafc;
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 1.15rem;
  margin-bottom: 14px;
}

.cart-total-row strong {
  font-size: 1.5rem;
  color: var(--green-dark);
}

.cart-customer-fields {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.form-group-sm label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #475569;
  margin-bottom: 3px;
}

.form-group-sm input {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  font-size: 0.88rem;
  outline: none;
  background: white;
}

.form-group-sm input:focus {
  border-color: var(--green);
}

.cart-whatsapp-checkout-btn {
  width: 100%;
  padding: 13px;
  background: var(--whatsapp-green);
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  font-size: 1.02rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
  transition: background 0.2s, transform 0.15s;
}

.cart-whatsapp-checkout-btn:hover {
  background: var(--whatsapp-hover);
  transform: translateY(-1px);
}

.cart-disclaimer {
  font-size: 0.75rem;
  color: var(--muted);
  text-align: center;
  margin-top: 10px;
  line-height: 1.35;
}

/* ==========================================================
   TOAST NOTIFICACIONES
   ========================================================== */
.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  background: #1e293b;
  color: white;
  padding: 12px 18px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.2);
  font-size: 0.9rem;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.25s, transform 0.25s;
  max-width: 360px;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.toast-success {
  border-left: 4px solid #22c55e;
}
.toast-warning {
  border-left: 4px solid #f59e0b;
}
.toast-error {
  border-left: 4px solid #ef4444;
}
.toast-info {
  border-left: 4px solid #3b82f6;
}

/* ==========================================================
   RESPONSIVE DESIGN
   ========================================================== */
@media (max-width: 960px) and (min-width: 721px) {
  .cases-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .header {
    padding: 16px 6%;
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: block;
  }

  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 14px;
    padding: 10px 0 4px;
  }

  .nav.open {
    display: flex;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-content {
    padding: 55px 8%;
  }

  .hero-photo {
    min-height: 280px;
    grid-row: 1;
  }

  .features {
    width: 88%;
    grid-template-columns: 1fr;
    gap: 38px;
    padding: 50px 0;
  }

  .appointment-section {
    width: 88%;
  }

  .appointment-card {
    padding: 30px 6%;
  }

  .location {
    width: 88%;
    margin: 0 auto 55px;
    padding: 30px 7%;
    align-items: flex-start;
    flex-direction: column;
  }

  .location h2 {
    font-size: 1.7rem;
  }

  .page-hero {
    padding: 45px 6% 35px;
  }

  .page-section {
    width: 90%;
    padding: 40px 0 55px;
  }

  .cases-grid {
    grid-template-columns: 1fr;
  }

  .catalog-grid {
    grid-template-columns: 1fr;
  }

  .cart-drawer {
    max-width: 100%;
  }

  .cart-floating-btn {
    bottom: 20px;
    left: 20px;
    padding: 10px 16px;
    font-size: 0.88rem;
  }

  .whatsapp-floating-container {
    bottom: 20px;
    right: 20px;
  }

  .whatsapp-floating-btn {
    width: 56px;
    height: 56px;
  }
}
