/* ═══════════════════════════════════════════════════════════
   SUMAQ RUNAKAY — Belleza Natural
   Design System & Complete Styles
   ═══════════════════════════════════════════════════════════ */

/* ─── CSS Custom Properties ─── */
:root {
  --white: #FFFFFF;
  --lime: #76BC21;
  --lime-light: #8fd13a;
  --lime-dark: #5f9a18;
  --forest: #195F10;
  --forest-light: #1e7514;
  --leaf: #8EAC50;
  --leaf-light: #a3c16b;
  --carbon: #1A1A1A;
  --gray-100: #f8f9fa;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --gray-500: #6c757d;

  --font-body: 'Montserrat', 'Segoe UI', sans-serif;
  --font-heading: 'Playfair Display', 'Georgia', serif;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.15);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 50%;

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--carbon);
  background-color: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  width: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

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

/* ═══════════════════ NAVBAR ═══════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 12px 0;
  transition: var(--transition);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.navbar.scrolled {
  padding: 8px 0;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: var(--shadow-sm);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img {
  height: 52px;
  width: auto;
  transition: var(--transition);
  border-radius: var(--radius-full);
}

.navbar.scrolled .nav-logo img {
  height: 44px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-link {
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--carbon);
  border-radius: var(--radius-lg);
  position: relative;
  letter-spacing: 0.02em;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--lime);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 60%;
}

.nav-link:hover {
  color: var(--forest);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: var(--lime);
  color: var(--white);
  font-weight: 600;
  font-size: 0.88rem;
  border-radius: var(--radius-xl);
  box-shadow: 0 4px 15px rgba(118, 188, 33, 0.35);
  letter-spacing: 0.02em;
}

.nav-cta:hover {
  background: var(--lime-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(118, 188, 33, 0.45);
  color: var(--white);
}

/* Hamburger Menu */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.hamburger {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--carbon);
  border-radius: 2px;
  position: relative;
  transition: var(--transition);
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 2px;
  background: var(--carbon);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger::before {
  top: -7px;
}

.hamburger::after {
  bottom: -7px;
}

.nav-toggle.active .hamburger {
  background: transparent;
}

.nav-toggle.active .hamburger::before {
  transform: rotate(45deg);
  top: 0;
}

.nav-toggle.active .hamburger::after {
  transform: rotate(-45deg);
  bottom: 0;
}

/* ═══════════════════ HERO SECTION ═══════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('hero-bg.png') center center / cover no-repeat;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(255, 255, 255, 0.92) 0%,
      rgba(255, 255, 255, 0.80) 40%,
      rgba(142, 172, 80, 0.15) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 120px 24px 80px;
}

.hero-badge {
  display: inline-block;
  padding: 8px 24px;
  background: rgba(118, 188, 33, 0.1);
  border: 1px solid rgba(118, 188, 33, 0.25);
  border-radius: var(--radius-xl);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--forest);
  margin-bottom: 32px;
  letter-spacing: 0.05em;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 700;
  color: var(--carbon);
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero-title em {
  font-style: italic;
  color: var(--lime);
  position: relative;
}

.hero-title em::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
  height: 8px;
  background: rgba(118, 188, 33, 0.2);
  border-radius: 4px;
  z-index: -1;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--gray-500);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.8;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-xl);
  cursor: pointer;
  border: none;
  transition: var(--transition);
  letter-spacing: 0.02em;
}

.btn-primary {
  background: var(--lime);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(118, 188, 33, 0.35);
}

.btn-primary:hover {
  background: var(--lime-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(118, 188, 33, 0.45);
  color: var(--white);
}

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

.btn-outline:hover {
  background: var(--forest);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(25, 95, 16, 0.25);
}

/* Scroll Indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--gray-500);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}

.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid var(--leaf);
  border-bottom: 2px solid var(--leaf);
  transform: rotate(45deg);
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  40% {
    transform: translateX(-50%) translateY(-8px);
  }

  60% {
    transform: translateX(-50%) translateY(-4px);
  }
}

/* ═══════════════════ SECTION COMMON ═══════════════════ */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  padding: 6px 20px;
  background: rgba(118, 188, 33, 0.08);
  color: var(--lime);
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--radius-xl);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--forest);
  margin-bottom: 12px;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray-500);
  max-width: 550px;
  margin: 0 auto;
  font-weight: 300;
}

/* ═══════════════════ ABOUT SECTION ═══════════════════ */
.about {
  padding: 120px 0;
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.about::before {
  content: '';
  position: absolute;
  top: -60px;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, var(--white));
  pointer-events: none;
}

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

.about-card {
  text-align: center;
  padding: 40px 28px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.about-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--lime), var(--leaf));
  transform: scaleX(0);
  transition: var(--transition);
}

.about-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.about-card:hover::after {
  transform: scaleX(1);
}

.about-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: rgba(118, 188, 33, 0.08);
  transition: var(--transition);
}

.about-card:hover .about-icon {
  background: rgba(118, 188, 33, 0.15);
  transform: scale(1.05);
}

.about-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--forest);
  margin-bottom: 12px;
  font-weight: 600;
}

.about-card p {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.7;
}

/* ═══════════════════ PRODUCTS SECTION ═══════════════════ */
.products {
  padding: 120px 0;
  background: var(--gray-100);
}

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

.product-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  cursor: pointer;
}

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

.product-image {
  position: relative;
  width: 100%;
  padding-top: 100%;
  overflow: hidden;
  background: var(--gray-100);
}

.product-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.product-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(25, 95, 16, 0.15), transparent 50%);
  opacity: 0;
  transition: var(--transition);
}

.product-card:hover .product-image::after {
  opacity: 1;
}

.product-info {
  padding: 20px 24px;
}

.product-info h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--carbon);
  margin-bottom: 4px;
  font-weight: 600;
}

.product-info p {
  font-size: 0.85rem;
  color: var(--leaf);
  font-weight: 500;
}

/* Products CTA */
.products-cta {
  text-align: center;
  margin-top: 56px;
  padding-top: 40px;
}

.products-cta p {
  font-size: 1.1rem;
  color: var(--gray-500);
  margin-bottom: 24px;
  font-weight: 300;
}

/* ═══════════════════ CONTACT SECTION ═══════════════════ */
.contact {
  padding: 120px 0;
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 24px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

.contact-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.contact-icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  transition: var(--transition);
}

.whatsapp-icon {
  background: rgba(37, 211, 102, 0.1);
  color: #25D366;
}

.contact-card:hover .whatsapp-icon {
  background: #25D366;
  color: white;
}

.instagram-icon {
  background: rgba(225, 48, 108, 0.1);
  color: #E1306C;
}

.contact-card:hover .instagram-icon {
  background: #E1306C;
  color: white;
}

.facebook-icon {
  background: rgba(24, 119, 242, 0.1);
  color: #1877F2;
}

.contact-card:hover .facebook-icon {
  background: #1877F2;
  color: white;
}

.email-icon {
  background: rgba(118, 188, 33, 0.1);
  color: var(--lime);
}

.contact-card:hover .email-icon {
  background: var(--lime);
  color: white;
}

.contact-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--carbon);
  margin-bottom: 6px;
  font-weight: 600;
}

.contact-card p {
  font-size: 0.88rem;
  color: var(--gray-500);
  font-weight: 400;
}

/* ═══════════════════ FOOTER ═══════════════════ */
.footer {
  background: var(--carbon);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 0;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
  height: 64px;
  width: auto;
  margin-bottom: 16px;
  border-radius: var(--radius-full);
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 300px;
}

.footer h4 {
  font-family: var(--font-heading);
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 20px;
  font-weight: 600;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--lime);
  padding-left: 8px;
}

.footer-contact p {
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.footer-bottom {
  padding: 24px 0;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ═══════════════════ WHATSAPP FLOAT ═══════════════════ */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  z-index: 999;
  transition: var(--transition);
  animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.55);
}

.whatsapp-tooltip {
  position: absolute;
  right: 72px;
  background: var(--white);
  color: var(--carbon);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateX(10px);
  pointer-events: none;
  transition: var(--transition);
}

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

@keyframes pulse-whatsapp {

  0%,
  100% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  }

  50% {
    box-shadow: 0 4px 30px rgba(37, 211, 102, 0.2), 0 0 0 12px rgba(37, 211, 102, 0.08);
  }
}

/* ═══════════════════ ANIMATIONS ═══════════════════ */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Staggered animation for grid items */
.about-card.animate-on-scroll:nth-child(2) {
  transition-delay: 0.1s;
}

.about-card.animate-on-scroll:nth-child(3) {
  transition-delay: 0.2s;
}

.about-card.animate-on-scroll:nth-child(4) {
  transition-delay: 0.3s;
}

.product-card.animate-on-scroll:nth-child(2) {
  transition-delay: 0.05s;
}

.product-card.animate-on-scroll:nth-child(3) {
  transition-delay: 0.1s;
}

.product-card.animate-on-scroll:nth-child(4) {
  transition-delay: 0.15s;
}

.contact-card.animate-on-scroll:nth-child(2) {
  transition-delay: 0.1s;
}

.contact-card.animate-on-scroll:nth-child(3) {
  transition-delay: 0.2s;
}

.contact-card.animate-on-scroll:nth-child(4) {
  transition-delay: 0.3s;
}

/* ═══════════════════ RESPONSIVE — TABLET ═══════════════════ */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

/* ═══════════════════ RESPONSIVE — MOBILE ═══════════════════ */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 360px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    padding: 100px 40px 40px;
    gap: 8px;
    box-shadow: var(--shadow-xl);
    transition: var(--transition-slow);
    align-items: stretch;
  }

  .nav-links.open {
    right: 0;
  }

  .nav-link {
    padding: 14px 16px;
    font-size: 1rem;
    border-radius: var(--radius-sm);
  }

  .nav-link:hover {
    background: var(--gray-100);
  }

  .nav-link::after {
    display: none;
  }

  .nav-cta {
    justify-content: center;
    margin-top: 16px;
    padding: 14px 24px;
  }

  .hero-content {
    padding: 120px 20px 100px;
  }

  .hero-scroll-indicator {
    bottom: 20px;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .about {
    padding: 80px 0;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .about-card {
    padding: 32px 24px;
  }

  .products {
    padding: 80px 0;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .product-info {
    padding: 14px 16px;
  }

  .product-info h3 {
    font-size: 0.95rem;
  }

  .product-info p {
    font-size: 0.78rem;
  }

  .contact {
    padding: 80px 0;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .contact-card {
    flex-direction: row;
    text-align: left;
    gap: 20px;
    padding: 24px;
  }

  .contact-icon {
    margin-bottom: 0;
    flex-shrink: 0;
    width: 56px;
    height: 56px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .footer-brand p {
    margin: 0 auto;
  }

  .footer-links {
    align-items: center;
  }

  .footer-links a:hover {
    padding-left: 0;
  }

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

  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 54px;
    height: 54px;
  }

  .whatsapp-tooltip {
    display: none;
  }
}

@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

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

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

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ─── Overlay for mobile menu ─── */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  z-index: 999;
  transition: var(--transition);
}

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

/* ─── Organic decorative shapes ─── */
.about::after {
  content: '';
  position: absolute;
  top: 20%;
  right: -80px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(142, 172, 80, 0.06), transparent 70%);
  pointer-events: none;
}

.products::before {
  content: '';
  position: absolute;
  top: 10%;
  left: -100px;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(118, 188, 33, 0.04), transparent 70%);
  pointer-events: none;
}

.products {
  position: relative;
  overflow: hidden;
}

/* ═══════════════════ SHOPPING CART & MODALS ═══════════════════ */

/* Nav Cart Icon */
.nav-cart {
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  color: var(--carbon);
  padding: 8px;
  display: flex;
  align-items: center;
  transition: var(--transition);
}

.nav-cart:hover {
  color: var(--lime);
}

.cart-count {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--lime);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: bold;
  height: 18px;
  min-width: 18px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

/* Product Card Updates */
.product-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--gray-200);
}

.product-action .price {
  font-weight: 700;
  color: var(--forest);
  font-size: 1.1rem;
}

.add-to-cart-btn {
  padding: 6px 16px;
  font-size: 0.8rem;
  border-radius: var(--radius-sm);
}

/* Cart Sidebar Overlay */
.cart-overlay,
.checkout-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

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

/* Cart Sidebar */
.cart-sidebar {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 400px;
  height: 100vh;
  background: var(--white);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.1);
  transition: var(--transition-slow);
}

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

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px;
  border-bottom: 1px solid var(--gray-200);
}

.cart-header h2 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--carbon);
}

.close-cart,
.close-modal {
  background: none;
  border: none;
  font-size: 2rem;
  line-height: 1;
  color: var(--gray-500);
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}

.close-cart:hover,
.close-modal:hover {
  color: var(--carbon);
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.empty-cart-msg {
  text-align: center;
  color: var(--gray-500);
  margin-top: 40px;
}

.cart-item {
  display: flex;
  flex-direction: column;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gray-200);
}

.cart-item-info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.cart-item-name {
  font-weight: 600;
  color: var(--carbon);
  font-size: 0.95rem;
}

.cart-item-price {
  font-weight: 600;
  color: var(--forest);
}

.cart-item-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.quantity-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--gray-100);
  border-radius: var(--radius-sm);
  padding: 4px;
}

.qty-btn {
  background: var(--white);
  border: 1px solid var(--gray-200);
  width: 28px;
  height: 28px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-weight: bold;
}

.qty-btn:hover {
  background: var(--gray-200);
}

.remove-item {
  background: none;
  border: none;
  cursor: pointer;
  color: #dc3545;
  font-size: 0.85rem;
  text-decoration: underline;
}

.cart-footer {
  padding: 24px;
  border-top: 1px solid var(--gray-200);
  background: var(--gray-100);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--carbon);
  margin-bottom: 16px;
}

.btn-block {
  width: 100%;
  justify-content: center;
}

/* Checkout Modal */
.checkout-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  background: var(--white);
  width: 90%;
  max-width: 500px;
  max-height: 90vh;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  z-index: 1100;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  padding: 32px;
}

.checkout-modal.active {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.checkout-modal .close-modal {
  position: absolute;
  top: 16px;
  right: 24px;
}

.checkout-step {
  display: none;
  animation: fadeIn 0.4s ease forwards;
}

.checkout-step.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.checkout-header {
  text-align: center;
  margin-bottom: 24px;
}

.checkout-header h2 {
  font-family: var(--font-heading);
  color: var(--carbon);
  margin-bottom: 8px;
}

.checkout-header p {
  color: var(--gray-500);
  font-size: 0.9rem;
}

/* Form Styles */
.form-group {
  margin-bottom: 16px;
  text-align: left;
}

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: var(--carbon);
}

.form-group input:not([type="file"]) {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color var(--transition);
}

.form-group input:focus {
  outline: none;
  border-color: var(--lime);
  box-shadow: 0 0 0 3px rgba(118, 188, 33, 0.15);
}

.mt-4 {
  margin-top: 24px;
}

.mb-4 {
  margin-bottom: 24px;
}

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

/* Payment Instructions (Yape) */
.payment-instructions {
  background: var(--gray-100);
  border-radius: var(--radius-sm);
  padding: 20px;
  margin-bottom: 24px;
}

.qr-container {
  text-align: center;
  margin-bottom: 16px;
}

.qr-image {
  width: 180px;
  height: 180px;
  border-radius: var(--radius-sm);
  object-fit: contain;
  background: white;
  padding: 8px;
  box-shadow: var(--shadow-sm);
  display: inline-block;
}

.payment-details p {
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.payment-details ol {
  padding-left: 20px;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.payment-details li {
  margin-bottom: 6px;
}

.payment-alert {
  background: rgba(255, 193, 7, 0.15);
  border-left: 4px solid #ffc107;
  padding: 12px;
  font-size: 0.85rem;
  color: #856404;
  border-radius: 4px;
}

/* Custom File Upload */
.file-upload-group {
  text-align: center;
}

.file-upload-label {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 24px;
  border: 2px dashed var(--lime);
  border-radius: var(--radius-sm);
  background: rgba(118, 188, 33, 0.05);
  cursor: pointer;
  color: var(--carbon) !important;
  transition: var(--transition);
}

.file-upload-label:hover {
  background: rgba(118, 188, 33, 0.1);
}

.file-upload-label svg {
  color: var(--lime);
}

.file-name {
  font-size: 0.85rem;
  color: var(--gray-500);
  display: block;
  margin-top: 8px;
  word-break: break-all;
}

/* Step Actions */
.step-actions {
  display: flex;
  gap: 12px;
}

.step-actions .btn {
  flex: 1;
  text-align: center;
  justify-content: center;
}

/* Confirmation Check */
.confirmation-details {
  background: var(--gray-100);
  border-radius: var(--radius-sm);
  padding: 24px;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 0.9rem;
  border-bottom: 1px dotted var(--gray-300);
  padding-bottom: 4px;
}

.detail-row:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.text-success {
  color: var(--lime);
}

/* Responsive Adjustments */
@media (max-width: 480px) {
  .checkout-modal {
    width: 100%;
    height: 100vh;
    max-height: none;
    border-radius: 0;
    padding: 20px;
  }
}

/* ═══════════════════ FAQ SECTION ═══════════════════ */
.faq-section {
  padding: 120px 0;
  background: var(--gray-100);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition);
}

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

.faq-question svg {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
}

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

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

.faq-answer p {
  padding: 0 24px 24px;
  color: var(--gray-500);
  font-size: 0.95rem;
}

/* ═══════════════════ PRODUCT MODAL ═══════════════════ */
.product-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.product-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.product-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  background: var(--white);
  width: 90%;
  max-width: 800px;
  max-height: 90vh;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  z-index: 2100;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  overflow-y: auto;
}

.product-modal.active {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.close-product-modal {
  position: absolute;
  top: 16px;
  right: 24px;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--gray-500);
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
}

.close-product-modal:hover {
  color: var(--carbon);
}

.product-modal-content {
  display: flex;
  flex-direction: row;
}

.product-modal-image {
  flex: 1;
  min-height: 300px;
  background: var(--gray-100);
}

.product-modal-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-modal-details {
  flex: 1.5;
  padding: 40px;
  display: flex;
  flex-direction: column;
}

#modal-product-title {
  font-family: var(--font-heading);
  color: var(--forest);
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.modal-product-subtitle {
  color: var(--lime);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.modal-product-price {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--carbon);
  margin-bottom: 24px;
}

.modal-product-description h4,
.modal-product-benefits h4 {
  font-size: 1rem;
  color: var(--carbon);
  margin-bottom: 8px;
  border-bottom: 1px solid var(--gray-200);
  padding-bottom: 4px;
}

.modal-product-description p {
  color: var(--gray-500);
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.modal-product-benefits ul {
  list-style: none;
  padding: 0;
  margin-bottom: 32px;
}

.modal-product-benefits li {
  position: relative;
  padding-left: 24px;
  color: var(--gray-500);
  font-size: 0.9rem;
  margin-bottom: 6px;
}

.modal-product-benefits li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--lime);
  font-weight: bold;
}

.add-to-cart-from-modal {
  margin-top: auto;
  align-self: flex-start;
}

/* Extra Responsive Adjustments */
@media (max-width: 768px) {
  .product-modal-content {
    flex-direction: column;
  }
  
  .product-modal-image {
    height: 250px;
    min-height: 250px;
  }
  
  .product-modal-details {
    padding: 24px;
  }
  
  .add-to-cart-from-modal {
    width: 100%;
    justify-content: center;
  }
}