/* ============================================
   Instituto de Rehabilitación - Main Stylesheet
   institutoderehabilitacion.co
   ============================================ */

/* ---------- CSS Variables ---------- */
:root {
  --primary: #1B5E20;
  --primary-light: #4CAF50;
  --primary-dark: #0D3311;
  --secondary: #FF8F00;
  --secondary-light: #FFB300;
  --secondary-dark: #E65100;
  --text-dark: #212121;
  --text-light: #757575;
  --text-muted: #9E9E9E;
  --bg-light: #F5F5F5;
  --bg-white: #FFFFFF;
  --bg-dark: #1a1a2e;
  --border-color: #E0E0E0;
  --success: #2E7D32;
  --danger: #C62828;
  --warning: #F9A825;
  --info: #0277BD;
  --whatsapp: #25D366;
  --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 5px 25px rgba(0, 0, 0, 0.15);
  --shadow-sm: 0 1px 4px rgba(0, 0, 0, 0.08);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --radius-full: 50px;
  --transition: all 0.3s ease;
  --font-body: 'Open Sans', sans-serif;
  --font-heading: 'Montserrat', sans-serif;
}

/* ---------- Global Reset & Base ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--bg-white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-dark);
  margin-bottom: 0.5em;
}

h1 { font-size: 2.75rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.35rem; }
h5 { font-size: 1.15rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-light);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.container-sm {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-padding {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2.25rem;
  color: var(--text-dark);
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--secondary);
  margin: 15px auto 0;
  border-radius: 2px;
}

.section-title p {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

.bg-light {
  background-color: var(--bg-light);
}

.bg-white {
  background-color: var(--bg-white);
}

.bg-primary {
  background-color: var(--primary);
}

.bg-dark {
  background-color: var(--bg-dark);
}

.text-primary {
  color: var(--primary);
}

.text-secondary {
  color: var(--secondary);
}

.text-white {
  color: #fff;
}

.text-center {
  text-align: center;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  text-decoration: none;
  line-height: 1.5;
  position: relative;
  overflow: hidden;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
}

.btn-secondary {
  background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
  color: #fff;
}

.btn-secondary:hover {
  background: linear-gradient(135deg, var(--secondary-dark), var(--secondary));
  color: #fff;
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #fff;
  padding: 14px 36px;
}

.btn-whatsapp:hover {
  background: linear-gradient(135deg, #128C7E, #075E54);
  color: #fff;
}

.btn-whatsapp i {
  margin-right: 8px;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}

.btn-outline-white {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
}

.btn-outline-white:hover {
  background: #fff;
  color: var(--primary);
}

.btn-lg {
  padding: 18px 42px;
  font-size: 1.15rem;
}

.btn-sm {
  padding: 8px 20px;
  font-size: 0.875rem;
}

.btn-block {
  display: block;
  width: 100%;
}

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--bg-white);
  transition: var(--transition);
  padding: 15px 0;
}

.navbar.scrolled {
  box-shadow: var(--shadow);
  padding: 10px 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.navbar-brand img {
  height: 45px;
  width: auto;
}

.navbar-brand span {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
}

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

.navbar-nav a {
  padding: 8px 16px;
  color: var(--text-dark);
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.navbar-nav a:hover,
.navbar-nav a.active {
  color: var(--primary);
  background: rgba(27, 94, 32, 0.08);
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.cart-icon {
  position: relative;
  font-size: 1.3rem;
  color: var(--text-dark);
  cursor: pointer;
  padding: 8px;
  transition: var(--transition);
}

.cart-icon:hover {
  color: var(--primary);
}

.cart-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--secondary);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.navbar-toggler {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-dark);
  cursor: pointer;
  padding: 5px;
}

/* ---------- Hero Section ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 120px 20px 80px;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(13, 51, 17, 0.88) 0%, rgba(27, 94, 32, 0.75) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  animation: fadeInUp 1s ease;
}

.hero-content h1 {
  font-size: 3.2rem;
  color: #fff;
  margin-bottom: 20px;
  font-weight: 800;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 35px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 8px 20px;
  border-radius: var(--radius-full);
  color: #fff;
  font-size: 0.9rem;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* ---------- Product Cards ---------- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 30px;
}

.product-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
}

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

.product-card-image {
  position: relative;
  overflow: hidden;
  height: 260px;
  background: var(--bg-light);
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-card-image img {
  transform: scale(1.08);
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  z-index: 2;
}

.product-badge-sale {
  background: var(--danger);
  color: #fff;
}

.product-badge-featured {
  background: var(--secondary);
  color: #fff;
}

.product-badge-new {
  background: var(--primary-light);
  color: #fff;
}

.product-card-body {
  padding: 20px;
}

.product-card-category {
  font-size: 0.8rem;
  color: var(--primary-light);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.product-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-dark);
  line-height: 1.4;
}

.product-card-title a {
  color: inherit;
}

.product-card-title a:hover {
  color: var(--primary);
}

.product-card-description {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 15px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 15px;
  border-top: 1px solid var(--border-color);
}

.product-price {
  display: flex;
  align-items: center;
  gap: 8px;
}

.product-price-current {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary);
  font-family: var(--font-heading);
}

.product-price-old {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.product-card .btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
}

/* ---------- Category Cards ---------- */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}

.category-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 30px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: var(--primary-light);
}

.category-card-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(27, 94, 32, 0.1), rgba(76, 175, 80, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  font-size: 1.8rem;
  color: var(--primary);
  transition: var(--transition);
}

.category-card:hover .category-card-icon {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
}

.category-card-name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-dark);
}

/* ---------- Blog Cards ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 30px;
}

.blog-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.blog-card-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.05);
}

.blog-card-date {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--primary);
  color: #fff;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
}

.blog-card-body {
  padding: 25px;
}

.blog-card-category {
  font-size: 0.8rem;
  color: var(--secondary);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 8px;
}

.blog-card-title {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.blog-card-title a {
  color: var(--text-dark);
}

.blog-card-title a:hover {
  color: var(--primary);
}

.blog-card-excerpt {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 15px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.blog-card-meta i {
  margin-right: 4px;
}

/* ---------- Testimonial Cards ---------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 35px 30px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
}

.testimonial-card:hover {
  box-shadow: var(--shadow);
}

.testimonial-card::before {
  content: '\201C';
  font-size: 5rem;
  color: rgba(27, 94, 32, 0.1);
  font-family: Georgia, serif;
  position: absolute;
  top: 10px;
  left: 20px;
  line-height: 1;
}

.testimonial-text {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 20px;
  font-style: italic;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.testimonial-avatar {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.testimonial-info h5 {
  font-size: 1rem;
  margin-bottom: 2px;
  color: var(--text-dark);
}

.testimonial-info span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.testimonial-stars {
  color: var(--secondary);
  margin-bottom: 15px;
  font-size: 0.9rem;
}

/* ---------- Benefits / Features Grid ---------- */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.benefit-card {
  text-align: center;
  padding: 30px 20px;
}

.benefit-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(27, 94, 32, 0.1), rgba(76, 175, 80, 0.15));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2rem;
  color: var(--primary);
  transition: var(--transition);
}

.benefit-card:hover .benefit-icon {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  transform: scale(1.1);
}

.benefit-card h4 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.benefit-card p {
  font-size: 0.95rem;
  color: var(--text-light);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--bg-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 70px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col h4 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--secondary);
  border-radius: 2px;
}

.footer-col p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  line-height: 1.8;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--secondary);
  padding-left: 5px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 15px;
}

.footer-contact-item i {
  color: var(--secondary);
  margin-top: 4px;
  font-size: 1rem;
}

.footer-contact-item span {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-3px);
}

.footer-bottom {
  padding: 25px 0;
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.85rem;
}

/* ---------- WhatsApp Floating Button ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  animation: whatsappPulse 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
  color: #fff;
}

.whatsapp-float .tooltip-text {
  position: absolute;
  right: 70px;
  background: #fff;
  color: var(--text-dark);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
  box-shadow: var(--shadow);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.whatsapp-float:hover .tooltip-text {
  opacity: 1;
}

/* ---------- Forms ---------- */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 0.95rem;
  color: var(--text-dark);
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-dark);
  background: var(--bg-white);
  transition: var(--transition);
  outline: none;
}

.form-control:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 4px rgba(76, 175, 80, 0.15);
}

.form-control::placeholder {
  color: var(--text-muted);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23757575' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 40px;
}

.form-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 5px;
}

.form-error {
  font-size: 0.85rem;
  color: var(--danger);
  margin-top: 5px;
}

/* ---------- Cart Page ---------- */
.cart-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.cart-table thead {
  background: var(--bg-light);
}

.cart-table th {
  padding: 15px 20px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-light);
  text-align: left;
}

.cart-table td {
  padding: 20px;
  border-bottom: 1px solid var(--border-color);
  vertical-align: middle;
}

.cart-table tr:last-child td {
  border-bottom: none;
}

.cart-product-info {
  display: flex;
  align-items: center;
  gap: 15px;
}

.cart-product-info img {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.cart-product-name {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.95rem;
}

.qty-controls {
  display: inline-flex;
  align-items: center;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.qty-controls button {
  width: 36px;
  height: 36px;
  background: var(--bg-light);
  border: none;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  color: var(--text-dark);
}

.qty-controls button:hover {
  background: var(--primary-light);
  color: #fff;
}

.qty-controls input {
  width: 50px;
  height: 36px;
  text-align: center;
  border: none;
  border-left: 1px solid var(--border-color);
  border-right: 1px solid var(--border-color);
  font-weight: 600;
  font-size: 0.95rem;
  outline: none;
}

.cart-remove {
  color: var(--text-muted);
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition);
  background: none;
  border: none;
}

.cart-remove:hover {
  color: var(--danger);
}

.cart-summary {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}

.cart-summary h3 {
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--border-color);
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  font-size: 1rem;
}

.cart-summary-row.total {
  border-top: 2px solid var(--border-color);
  margin-top: 10px;
  padding-top: 15px;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
}

/* ---------- Checkout Page ---------- */
.checkout-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: start;
}

.checkout-section {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 30px;
}

.checkout-section h3 {
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--border-color);
  font-size: 1.2rem;
}

.checkout-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

/* ---------- Badges ---------- */
.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-primary {
  background: rgba(27, 94, 32, 0.1);
  color: var(--primary);
}

.badge-secondary {
  background: rgba(255, 143, 0, 0.1);
  color: var(--secondary);
}

.badge-success {
  background: rgba(46, 125, 50, 0.1);
  color: var(--success);
}

.badge-danger {
  background: rgba(198, 40, 40, 0.1);
  color: var(--danger);
}

.badge-warning {
  background: rgba(249, 168, 37, 0.15);
  color: #E65100;
}

/* ---------- Breadcrumbs ---------- */
.breadcrumb {
  padding: 15px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--text-muted);
}

.breadcrumb a:hover {
  color: var(--primary);
}

.breadcrumb .separator {
  color: var(--text-muted);
  font-size: 0.7rem;
}

.breadcrumb .current {
  color: var(--text-dark);
  font-weight: 600;
}

/* ---------- Pagination ---------- */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-top: 40px;
}

.pagination a,
.pagination span {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
}

.pagination a {
  background: var(--bg-white);
  color: var(--text-dark);
  border: 1px solid var(--border-color);
}

.pagination a:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.pagination .active {
  background: var(--primary);
  color: #fff;
  border: 1px solid var(--primary);
}

.pagination .disabled {
  color: var(--text-muted);
  pointer-events: none;
  opacity: 0.5;
}

/* ---------- Loading Spinner ---------- */
.spinner-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 4px solid var(--border-color);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.spinner-sm {
  width: 20px;
  height: 20px;
  border-width: 2px;
  display: inline-block;
  vertical-align: middle;
}

/* ---------- Back to Top Button ---------- */
.back-to-top {
  position: fixed;
  bottom: 100px;
  right: 30px;
  z-index: 998;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: var(--shadow);
  cursor: pointer;
  border: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
}

/* ---------- Product Image Gallery ---------- */
.product-gallery {
  display: flex;
  gap: 15px;
}

.product-gallery-main {
  flex: 1;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-light);
}

.product-gallery-main img {
  width: 100%;
  height: 450px;
  object-fit: cover;
}

.product-gallery-thumbs {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 80px;
}

.product-gallery-thumb {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  opacity: 0.6;
}

.product-gallery-thumb.active,
.product-gallery-thumb:hover {
  border-color: var(--primary);
  opacity: 1;
}

.product-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Section Dividers ---------- */
.section-divider {
  text-align: center;
  margin: 0;
  padding: 0;
  line-height: 0;
}

.section-divider svg {
  width: 100%;
  height: auto;
}

.divider-wave {
  position: relative;
}

.divider-wave::before {
  content: '';
  display: block;
  width: 100%;
  height: 60px;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 1200 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 30 Q300 0 600 30 Q900 60 1200 30 L1200 60 L0 60Z' fill='%23f5f5f5'/%3E%3C/svg%3E") no-repeat center bottom;
  background-size: cover;
}

.divider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 20px 0;
}

.divider-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary-light);
  opacity: 0.3;
}

.divider-dots span:nth-child(2) {
  opacity: 0.6;
}

.divider-dots span:nth-child(3) {
  opacity: 1;
}

/* ---------- Toast Notifications ---------- */
.toast-container {
  position: fixed;
  top: 90px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: var(--bg-white);
  border-radius: var(--radius-sm);
  padding: 15px 25px 15px 20px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 300px;
  max-width: 420px;
  animation: slideInRight 0.4s ease;
  border-left: 4px solid var(--primary);
}

.toast-success {
  border-left-color: var(--success);
}

.toast-error {
  border-left-color: var(--danger);
}

.toast-warning {
  border-left-color: var(--warning);
}

.toast-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
}

.toast-success .toast-icon { color: var(--success); }
.toast-error .toast-icon { color: var(--danger); }
.toast-warning .toast-icon { color: var(--warning); }

.toast-body {
  flex: 1;
}

.toast-body strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.toast-body span {
  font-size: 0.85rem;
  color: var(--text-light);
}

.toast-close {
  background: none;
  border: none;
  font-size: 1.2rem;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0 5px;
}

/* ============================================
   Landing Page Specific Styles
   ============================================ */

/* ---------- Landing Hero ---------- */
.landing-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: linear-gradient(135deg, #0D3311 0%, #1B5E20 50%, #2E7D32 100%);
  padding: 80px 20px;
  overflow: hidden;
}

.landing-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: rgba(76, 175, 80, 0.1);
  z-index: 0;
}

.landing-hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255, 143, 0, 0.08);
  z-index: 0;
}

.landing-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 850px;
  animation: fadeInUp 1s ease;
}

.landing-hero-content h1 {
  font-size: 3.5rem;
  color: #fff;
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.15;
}

.landing-hero-content h1 span {
  color: var(--secondary-light);
}

.landing-hero-content p {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 35px;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

.landing-hero-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.landing-hero-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.landing-hero-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.landing-hero-trust-item i {
  color: var(--secondary-light);
}

/* ---------- Landing Sections ---------- */
.landing-section {
  padding: 80px 0;
}

.landing-section.bg-light {
  background: var(--bg-light);
}

.landing-section-header {
  text-align: center;
  margin-bottom: 50px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.landing-section-header h2 {
  font-size: 2.2rem;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.landing-section-header h2 span {
  color: var(--primary);
}

.landing-section-header p {
  font-size: 1.1rem;
  color: var(--text-light);
}

/* ---------- Landing Problem Section ---------- */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 25px;
}

.problem-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 20px;
  background: var(--bg-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.problem-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.problem-item i {
  font-size: 1.5rem;
  color: var(--danger);
  margin-top: 3px;
  flex-shrink: 0;
}

.problem-item h4 {
  font-size: 1rem;
  margin-bottom: 5px;
}

.problem-item p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin: 0;
}

/* ---------- Landing Doctor Section ---------- */
.doctor-section {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  align-items: center;
}

.doctor-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.doctor-image img {
  width: 100%;
  height: auto;
}

.doctor-image-placeholder {
  width: 100%;
  height: 400px;
  background: linear-gradient(135deg, var(--bg-light), #e0e0e0);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 1.1rem;
}

.doctor-content h2 {
  font-size: 2rem;
  margin-bottom: 15px;
}

.doctor-content p {
  font-size: 1.05rem;
  margin-bottom: 15px;
}

.doctor-credentials {
  margin-top: 20px;
}

.doctor-credentials li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 1rem;
  color: var(--text-dark);
}

.doctor-credentials li i {
  color: var(--primary-light);
  font-size: 1.1rem;
}

/* ---------- Landing Steps / How It Works ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 50px;
  left: 15%;
  right: 15%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-light), var(--secondary));
  z-index: 0;
}

.step-card {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 auto 20px;
  box-shadow: 0 4px 15px rgba(27, 94, 32, 0.3);
}

.step-card h4 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.step-card p {
  font-size: 0.95rem;
  color: var(--text-light);
}

/* ---------- Landing CTA Section ---------- */
.landing-cta {
  background: linear-gradient(135deg, #0D3311 0%, #1B5E20 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.landing-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: rgba(76, 175, 80, 0.08);
}

.landing-cta-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}

.landing-cta h2 {
  font-size: 2.2rem;
  color: #fff;
  margin-bottom: 15px;
}

.landing-cta p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 30px;
}

.landing-cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Landing Form ---------- */
.landing-form {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  max-width: 500px;
  margin: 0 auto;
}

.landing-form h3 {
  text-align: center;
  margin-bottom: 25px;
  font-size: 1.4rem;
}

.landing-form .form-control {
  margin-bottom: 15px;
}

.landing-form .btn {
  width: 100%;
  margin-top: 5px;
}

/* ---------- Landing FAQ Accordion ---------- */
.landing-faq {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-white);
  border-radius: var(--radius);
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.faq-item.active {
  border-color: var(--primary-light);
  box-shadow: var(--shadow);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 25px;
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text-dark);
  transition: var(--transition);
  background: none;
  border: none;
  width: 100%;
  text-align: left;
}

.faq-question:hover {
  color: var(--primary);
}

.faq-question i {
  font-size: 0.9rem;
  transition: transform 0.3s ease;
  color: var(--primary);
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer-inner {
  padding: 0 25px 20px;
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.8;
}

/* ---------- Landing Testimonials Slider ---------- */
.landing-testimonials-slider {
  position: relative;
  overflow: hidden;
}

.landing-testimonials-track {
  display: flex;
  transition: transform 0.5s ease;
}

.landing-testimonials-track .testimonial-card {
  min-width: 100%;
  flex-shrink: 0;
  padding: 40px;
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-top: 25px;
}

.slider-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bg-white);
  border: 2px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1rem;
  color: var(--text-dark);
}

.slider-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.slider-dots {
  display: flex;
  gap: 8px;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-color);
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.slider-dot.active {
  background: var(--primary);
  transform: scale(1.2);
}

/* ---------- Landing Before/After ---------- */
.before-after-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 30px;
  align-items: start;
}

.before-column, .after-column {
  padding: 30px;
  border-radius: var(--radius);
}

.before-column {
  background: #FFF3E0;
  border: 2px solid #FFB74D;
}

.after-column {
  background: #E8F5E9;
  border: 2px solid #81C784;
}

.before-column h3, .after-column h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 1.3rem;
}

.before-column h3 {
  color: #E65100;
}

.after-column h3 {
  color: #2E7D32;
}

.before-after-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.95rem;
  color: var(--text-dark);
}

.before-after-list li i {
  margin-top: 3px;
  flex-shrink: 0;
}

.before-column .before-after-list li i {
  color: #E65100;
}

.after-column .before-after-list li i {
  color: #2E7D32;
}

.before-after-separator {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 60px;
}

.before-after-separator i {
  font-size: 2rem;
  color: var(--primary);
}

/* ---------- Landing Pricing ---------- */
.pricing-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  max-width: 500px;
  margin: 0 auto;
  border: 3px solid var(--primary);
  position: relative;
}

.pricing-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--secondary);
  color: #fff;
  padding: 6px 24px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
}

.pricing-price {
  margin: 25px 0;
}

.pricing-price .old-price {
  font-size: 1.3rem;
  color: var(--text-muted);
  text-decoration: line-through;
  display: block;
  margin-bottom: 5px;
}

.pricing-price .current-price {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary);
  font-family: var(--font-heading);
}

.pricing-price .current-price small {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-light);
}

.pricing-features {
  text-align: left;
  margin: 25px 0;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.95rem;
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features li i {
  color: var(--primary-light);
  font-size: 1.1rem;
}

/* ---------- Landing Kit Contents ---------- */
.kit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 25px;
}

.kit-item {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 30px 25px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 2px solid transparent;
  transition: var(--transition);
}

.kit-item:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow);
}

.kit-item-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(27, 94, 32, 0.1), rgba(76, 175, 80, 0.15));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  font-size: 1.8rem;
  color: var(--primary);
}

.kit-item h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.kit-item p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin: 0;
}

/* ---------- Landing Usage Steps ---------- */
.usage-steps {
  max-width: 700px;
  margin: 0 auto;
}

.usage-step {
  display: flex;
  gap: 20px;
  padding: 25px 0;
  border-bottom: 1px solid var(--border-color);
}

.usage-step:last-child {
  border-bottom: none;
}

.usage-step-number {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.usage-step-content h4 {
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.usage-step-content p {
  font-size: 0.95rem;
  color: var(--text-light);
  margin: 0;
}

/* ---------- Landing Footer ---------- */
.landing-footer {
  background: var(--bg-dark);
  padding: 40px 0;
  text-align: center;
}

.landing-footer p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  margin-bottom: 5px;
}

.landing-footer a {
  color: rgba(255, 255, 255, 0.7);
}

.landing-footer a:hover {
  color: var(--secondary);
}

.landing-disclaimer {
  max-width: 700px;
  margin: 15px auto 0;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.35);
  line-height: 1.6;
}

/* ============================================
   Animations
   ============================================ */

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

@keyframes spin {
  to { transform: rotate(360deg); }
}

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

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* ---------- Scroll Animations ---------- */
.scroll-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-animate.animate {
  opacity: 1;
  transform: translateY(0);
}

.scroll-animate-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-animate-left.animate {
  opacity: 1;
  transform: translateX(0);
}

.scroll-animate-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-animate-right.animate {
  opacity: 1;
  transform: translateX(0);
}

.scroll-animate-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-animate-scale.animate {
  opacity: 1;
  transform: scale(1);
}

/* Staggered delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }

/* ============================================
   Responsive Breakpoints
   ============================================ */

/* Tablets and below */
@media (max-width: 1024px) {
  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.9rem; }
  h3 { font-size: 1.5rem; }

  .section-padding {
    padding: 60px 0;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .doctor-section {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .steps-grid::before {
    display: none;
  }

  .before-after-grid {
    grid-template-columns: 1fr;
  }

  .before-after-separator {
    padding-top: 0;
    transform: rotate(90deg);
  }

  .product-gallery {
    flex-direction: column-reverse;
  }

  .product-gallery-thumbs {
    flex-direction: row;
    width: 100%;
  }

  .product-gallery-thumb {
    width: 70px;
    height: 70px;
  }
}

/* Mobile landscape */
@media (max-width: 768px) {
  html { font-size: 15px; }

  .container {
    padding: 0 15px;
  }

  .section-padding {
    padding: 50px 0;
  }

  .section-title {
    margin-bottom: 35px;
  }

  .section-title h2 {
    font-size: 1.75rem;
  }

  /* Navbar */
  .navbar-nav {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100vh;
    background: var(--bg-white);
    flex-direction: column;
    padding: 80px 25px 30px;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
    transition: right 0.3s ease;
    align-items: flex-start;
    gap: 0;
    z-index: 1001;
    overflow-y: auto;
  }

  .navbar-nav.active {
    right: 0;
  }

  .navbar-nav a {
    width: 100%;
    padding: 12px 15px;
    font-size: 1rem;
    border-bottom: 1px solid var(--border-color);
  }

  .navbar-toggler {
    display: block;
    z-index: 1002;
  }

  .mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: none;
  }

  .mobile-overlay.active {
    display: block;
  }

  /* Hero */
  .hero {
    min-height: 80vh;
    padding: 100px 15px 60px;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  .hero-content p {
    font-size: 1.05rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  /* Landing hero */
  .landing-hero {
    padding: 100px 15px 60px;
    min-height: auto;
  }

  .landing-hero-content h1 {
    font-size: 2.2rem;
  }

  .landing-hero-content p {
    font-size: 1.05rem;
  }

  .landing-hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .landing-hero-trust {
    gap: 15px;
  }

  /* Grids */
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 15px;
  }

  .categories-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

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

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

  .benefits-grid {
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }

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

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .kit-grid {
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-col h4::after {
    display: none;
  }

  /* Cart */
  .cart-table {
    display: block;
    overflow-x: auto;
  }

  /* Landing */
  .landing-section {
    padding: 50px 0;
  }

  .landing-section-header h2 {
    font-size: 1.7rem;
  }

  .landing-cta h2 {
    font-size: 1.7rem;
  }

  .landing-cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .landing-form {
    padding: 25px 20px;
  }

  .checkout-form-row {
    grid-template-columns: 1fr;
  }

  .pricing-card {
    padding: 30px 20px;
  }

  .pricing-price .current-price {
    font-size: 2.5rem;
  }
}

/* Mobile portrait */
@media (max-width: 480px) {
  html { font-size: 14px; }

  .btn {
    padding: 12px 24px;
    font-size: 0.95rem;
  }

  .btn-lg {
    padding: 14px 30px;
    font-size: 1rem;
  }

  .products-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .product-card-image {
    height: 180px;
  }

  .product-card-body {
    padding: 12px;
  }

  .product-card-footer {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }

  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .landing-hero-content h1 {
    font-size: 1.8rem;
  }

  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 55px;
    height: 55px;
    font-size: 1.5rem;
  }

  .back-to-top {
    bottom: 85px;
    right: 20px;
    width: 40px;
    height: 40px;
  }

  .toast {
    min-width: auto;
    max-width: calc(100vw - 40px);
    right: 10px;
  }
}

/* Prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .scroll-animate,
  .scroll-animate-left,
  .scroll-animate-right,
  .scroll-animate-scale {
    opacity: 1;
    transform: none;
  }
}

/* Print */
@media print {
  .navbar,
  .whatsapp-float,
  .back-to-top,
  .footer {
    display: none;
  }

  body {
    font-size: 12pt;
    color: #000;
  }

  .container {
    max-width: 100%;
  }
}
