/* Kathambam Marachekku Oils - Custom Editorial & Brand Styling */

/* Smooth scroll behavior with header offset */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

@media (min-width: 480px) {
  html {
    scroll-padding-top: 115px;
  }
}

@media (min-width: 768px) {
  html {
    scroll-padding-top: 140px;
  }
}

@media (min-width: 1024px) {
  html {
    scroll-padding-top: 155px;
  }
}

/* Prevent horizontal overflow on all devices without breaking position: sticky */
html,
body {
  max-width: 100%;
  overflow-x: clip;
}

/* Ensure navbar/header is permanently sticky and locked to top during scroll */
#site-header {
  position: -webkit-sticky !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 1000 !important;
  width: 100% !important;
}

/* iOS Safari Input Zoom Prevention (prevents auto-zoom distorting page on focus) */
@media (max-width: 767px) {

  input[type="text"],
  input[type="tel"],
  input[type="email"],
  select,
  textarea {
    font-size: 16px !important;
  }
}

/* Mobile Menu Scroll Safety for small-height screens & landscape */
#mobile-menu {
  max-height: calc(100vh - 80px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* Footer developer credit styling (no underline) */
.developer-credit-link,
.developer-credit-link:hover,
.developer-credit-link:focus {
  text-decoration: none !important;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #FFF8E8;
}

::-webkit-scrollbar-thumb {
  background: #08732D;
  border-radius: 5px;
  border: 2px solid #FFF8E8;
}

::-webkit-scrollbar-thumb:hover {
  background: #063D20;
}

/* Premium Gold Gradient Text */
.gold-gradient-text {
  background: linear-gradient(135deg, #F3D279 0%, #D9A52B 50%, #A96B13 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Gold border glow */
.gold-border-subtle {
  border: 1px solid rgba(217, 165, 43, 0.35);
}

.gold-border-glow:hover {
  border-color: rgba(217, 165, 43, 0.7);
  box-shadow: 0 0 20px rgba(217, 165, 43, 0.2);
}

/* Navbar Brand Coin Emblem & Typography Logo - Equal Height Alignment */
.navbar-brand-emblem {
  height: 36px;
  width: 36px;
  border-radius: 50%;
  object-fit: contain;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.45));
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
  flex-shrink: 0;
}

.navbar-brand-logo {
  height: 36px;
  width: auto;
  max-width: 110px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
  flex-shrink: 0;
}

@media (min-width: 360px) {
  .navbar-brand-emblem {
    height: 40px;
    width: 40px;
  }

  .navbar-brand-logo {
    height: 40px;
    max-width: 125px;
  }
}

@media (min-width: 480px) {
  .navbar-brand-emblem {
    height: 46px;
    width: 46px;
  }

  .navbar-brand-logo {
    height: 46px;
    max-width: 145px;
  }
}

@media (min-width: 640px) {
  .navbar-brand-emblem {
    height: 54px;
    width: 54px;
  }

  .navbar-brand-logo {
    height: 54px;
    max-width: 170px;
  }
}

@media (min-width: 768px) {
  .navbar-brand-emblem {
    height: 64px;
    width: 64px;
  }

  .navbar-brand-logo {
    height: 64px;
    max-width: 200px;
  }
}

@media (min-width: 1024px) {
  .navbar-brand-emblem {
    height: 58px;
    width: 58px;
  }

  .navbar-brand-logo {
    height: 58px;
    max-width: 185px;
  }
}

@media (min-width: 1280px) {
  .navbar-brand-emblem {
    height: 76px;
    width: 76px;
  }

  .navbar-brand-logo {
    height: 76px;
    max-width: 240px;
  }
}

/* Footer Brand Logos - Prominently Scaled & Harmonized */
.footer-brand-emblem {
  height: 52px;
  width: 52px;
  border-radius: 50%;
  object-fit: contain;
  flex-shrink: 0;
}

.footer-brand-logo {
  height: 52px;
  width: auto;
  max-width: 175px;
  object-fit: contain;
  flex-shrink: 0;
}

@media (min-width: 480px) {
  .footer-brand-emblem {
    height: 60px;
    width: 60px;
  }
  .footer-brand-logo {
    height: 60px;
    max-width: 200px;
  }
}

@media (min-width: 640px) {
  .footer-brand-emblem {
    height: 68px;
    width: 68px;
  }
  .footer-brand-logo {
    height: 68px;
    max-width: 230px;
  }
}

@media (min-width: 768px) {
  .footer-brand-emblem {
    height: 74px;
    width: 74px;
  }
  .footer-brand-logo {
    height: 74px;
    max-width: 250px;
  }
}

@media (min-width: 1024px) {
  .footer-brand-emblem {
    height: 80px;
    width: 80px;
  }
  .footer-brand-logo {
    height: 80px;
    max-width: 270px;
  }
}

@media (min-width: 1280px) {
  .footer-brand-emblem {
    height: 88px;
    width: 88px;
  }
  .footer-brand-logo {
    height: 88px;
    max-width: 300px;
  }
}

/* Desktop Navigation Links on Emerald Navbar */
.desktop-nav-link {
  color: rgba(255, 248, 232, 0.9) !important;
  position: relative;
  white-space: nowrap !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1.2;
  transition: color 0.25s ease, transform 0.25s ease;
}

.desktop-nav-link::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  width: 0;
  height: 2.5px;
  background: linear-gradient(90deg, #F3D279, #D9A52B);
  border-radius: 9999px;
  transform: translateX(-50%);
  transition: width 0.3s ease, box-shadow 0.3s ease;
}

.desktop-nav-link:hover {
  color: #F8DE8B !important;
}

.desktop-nav-link:hover::after {
  width: 100%;
  box-shadow: 0 0 8px rgba(217, 165, 43, 0.6);
}

.desktop-nav-link.active {
  color: #F8DE8B !important;
  font-weight: 700 !important;
}

.desktop-nav-link.active::after {
  width: 100% !important;
  box-shadow: 0 0 10px rgba(217, 165, 43, 0.85);
}

/* Editorial Serif Headings */
.editorial-heading {
  font-family: 'Playfair Display', Georgia, serif;
  letter-spacing: -0.01em;
}

/* Tamil font class */
.font-tamil {
  font-family: 'Noto Serif Tamil', 'Mukta Malar', serif;
}

/* Subtle botanical motif overlay */
.bg-botanical-pattern {
  background-image: radial-gradient(rgba(217, 165, 43, 0.08) 1px, transparent 1px);
  background-size: 24px 24px;
}

/* Image containment and smooth transition */
.product-image-container {
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  background: radial-gradient(circle, #ffffff 60%, #F7EBD0 100%);
}

.product-image-container img {
  max-height: 92%;
  width: auto;
  object-fit: contain;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  filter: drop-shadow(0 12px 16px rgba(6, 61, 32, 0.12));
}

.product-card:hover .product-image-container img {
  transform: scale(1.04) translateY(-4px);
  filter: drop-shadow(0 18px 24px rgba(6, 61, 32, 0.18));
}

/* Glassmorphism Header - Rich Emerald Forest Green matching Brand Logo */
#site-header,
.glass-header {
  background: linear-gradient(135deg, rgba(2, 56, 10, 0.96) 0%, rgba(6, 78, 20, 0.96) 50%, rgba(2, 50, 8, 0.96) 100%) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(217, 165, 43, 0.45);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

#site-header.scrolled,
.glass-header.scrolled {
  background: linear-gradient(135deg, rgba(2, 42, 8, 0.98) 0%, rgba(5, 62, 16, 0.98) 50%, rgba(1, 38, 6, 0.98) 100%) !important;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
  border-bottom: 1px solid rgba(217, 165, 43, 0.6);
}

/* Feature pill badge */
.feature-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.025em;
  background-color: #F7EBD0;
  color: #173425;
  border: 1px solid rgba(217, 165, 43, 0.3);
  transition: all 0.2s ease;
}

.feature-badge:hover {
  background-color: #FFF8E8;
  border-color: #D9A52B;
}

/* Size Pill Selector */
.size-pill {
  cursor: pointer;
  padding: 0.25rem 0.625rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 9999px;
  border: 1px solid rgba(6, 61, 32, 0.2);
  color: #173425;
  background-color: #FFFFFF;
  transition: all 0.2s ease;
  user-select: none;
}

.size-pill:hover {
  border-color: #08732D;
  background-color: #F7EBD0;
}

.size-pill.active {
  background-color: #08732D;
  color: #FFFFFF;
  border-color: #08732D;
  box-shadow: 0 2px 6px rgba(8, 115, 45, 0.3);
}

/* Scroll reveal helper */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .product-image-container img {
    transition: none;
  }
}

/* ========================================================================== */
/* Hero Section Custom Editorial Styles                                       */
/* ========================================================================== */

.hero-main-title {
  font-family: 'Playfair Display', Georgia, serif;
  letter-spacing: -0.015em;
  line-height: 1.05;
}

.hero-title-forest {
  color: #063D20;
}

.hero-title-gold {
  color: #C88E28;
  background: linear-gradient(135deg, #E6B54A 0%, #C88E28 50%, #9B6517 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subheadline {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  color: #A96B13;
}

/* Circular Feature Badges in Hero */
.hero-circle-badge {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 9999px;
  border: 1.5px solid #D9A52B;
  background-color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
  box-shadow: 0 4px 12px rgba(217, 165, 43, 0.12);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-circle-badge:hover {
  transform: translateY(-3px) scale(1.05);
  background-color: #FFFFFF;
  border-color: #B8860B;
  box-shadow: 0 8px 20px rgba(217, 165, 43, 0.25);
}

/* Arch Accent */
.arch-frame {
  border-top-left-radius: 9999px;
  border-top-right-radius: 9999px;
}

/* Hero Showcase Feature Cards */
.hero-stage-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(217, 165, 43, 0.35);
  border-radius: 1.25rem;
  padding: 1.25rem;
  box-shadow: 0 10px 25px -5px rgba(6, 61, 32, 0.06), 0 4px 10px -2px rgba(217, 165, 43, 0.05);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-stage-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.98);
  border-color: #D9A52B;
  box-shadow: 0 16px 32px -6px rgba(6, 61, 32, 0.12), 0 0 20px rgba(217, 165, 43, 0.15);
}

.hero-stage-card-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.hero-stage-card:hover .hero-stage-card-icon {
  transform: scale(1.1);
}

/* ========================================================================== */
/* SECTION-SPECIFIC LUXURY REVEAL ANIMATIONS                                  */
/* ========================================================================== */

/* Global Reveal Core */
.reveal-init {
  will-change: transform, opacity, filter;
  transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Stagger Delay Helpers */
.delay-75 {
  transition-delay: 75ms !important;
}

.delay-150 {
  transition-delay: 150ms !important;
}

.delay-225 {
  transition-delay: 225ms !important;
}

.delay-300 {
  transition-delay: 300ms !important;
}

.delay-375 {
  transition-delay: 375ms !important;
}

.delay-450 {
  transition-delay: 450ms !important;
}

.delay-525 {
  transition-delay: 525ms !important;
}

.delay-600 {
  transition-delay: 600ms !important;
}

/* -------------------------------------------------------------------------- */
/* 1. HERO SECTION: Staggered Blur-To-Focus & Organic Floating Image          */
/* -------------------------------------------------------------------------- */
.anim-hero-item {
  opacity: 0;
  filter: blur(5px);
  transform: translateX(-24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.anim-hero-item.is-revealed {
  opacity: 1;
  filter: blur(0);
  transform: translateX(0);
}

.anim-hero-img-wrap {
  opacity: 0;
  transform: scale(0.92) translateY(24px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.anim-hero-img-wrap.is-revealed {
  opacity: 1;
  transform: scale(1) translateY(0);
}

/* Continuous Subtle Idle Float for Hero Composition */
@keyframes heroIdleFloat {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-7px);
  }
}

.hero-idle-float {
  animation: heroIdleFloat 6s ease-in-out infinite;
  will-change: transform;
}

/* -------------------------------------------------------------------------- */
/* 2. BENEFITS STRIP: 3D Elevation & Golden Glow Sweep                       */
/* -------------------------------------------------------------------------- */
.anim-benefit-card {
  opacity: 0;
  transform: translateY(32px) scale(0.94);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.anim-benefit-card.is-revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.anim-benefit-icon {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.anim-benefit-card.is-revealed .anim-benefit-icon {
  animation: benefitPulse 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes benefitPulse {
  0% {
    transform: scale(0.8) rotate(-15deg);
  }

  60% {
    transform: scale(1.12) rotate(4deg);
  }

  100% {
    transform: scale(1) rotate(0deg);
  }
}

/* -------------------------------------------------------------------------- */
/* 3. ABOUT SECTION: Cinematic Split Slide-In & Metric Bounce                */
/* -------------------------------------------------------------------------- */
.anim-about-left {
  opacity: 0;
  transform: translateX(-40px) scale(0.96);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.anim-about-left.is-revealed {
  opacity: 1;
  transform: translateX(0) scale(1);
}

.anim-about-right {
  opacity: 0;
  transform: translateX(35px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.anim-about-right.is-revealed {
  opacity: 1;
  transform: translateX(0);
}

.anim-about-stat {
  opacity: 0;
  transform: translateY(18px) scale(0.92);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.anim-about-stat.is-revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* -------------------------------------------------------------------------- */
/* 4. PRODUCTS SECTION: Cascading Luxury Card Lift                           */
/* -------------------------------------------------------------------------- */
.anim-product-card {
  opacity: 0;
  transform: translateY(45px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.75s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.3s ease;
}

.anim-product-card.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

.anim-product-card:nth-child(1) {
  transition-delay: 50ms;
}

.anim-product-card:nth-child(2) {
  transition-delay: 200ms;
}

.anim-product-card:nth-child(3) {
  transition-delay: 350ms;
}

.anim-product-card.is-revealed:hover {
  transform: translateY(-8px);
}

/* Product banner curtain */
.anim-banner-curtain {
  opacity: 0;
  transform: translateY(28px) scale(0.98);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.anim-banner-curtain.is-revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* -------------------------------------------------------------------------- */
/* 5. WHY CHOOSE US: Ambient Zoom & Staggered Pillar Flip                    */
/* -------------------------------------------------------------------------- */
.anim-why-visual {
  opacity: 0;
  transform: scale(0.9) translateX(-30px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

.anim-why-visual.is-revealed {
  opacity: 1;
  transform: scale(1) translateX(0);
}

.anim-why-content {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.anim-why-content.is-revealed {
  opacity: 1;
  transform: translateX(0);
}

.anim-pillar-card {
  opacity: 0;
  transform: translateY(24px) scale(0.95);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.3s ease,
    background-color 0.3s ease;
}

.anim-pillar-card.is-revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* -------------------------------------------------------------------------- */
/* 6. CONTACT SECTION: Tri-Directional Entrance (Left/Center/Right)          */
/* -------------------------------------------------------------------------- */
.anim-contact-left {
  opacity: 0;
  transform: translateX(-35px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.anim-contact-left.is-revealed {
  opacity: 1;
  transform: translateX(0);
}

.anim-contact-center {
  opacity: 0;
  transform: translateY(35px) scale(0.98);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.anim-contact-center.is-revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.anim-contact-right {
  opacity: 0;
  transform: translateX(35px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.anim-contact-right.is-revealed {
  opacity: 1;
  transform: translateX(0);
}

/* -------------------------------------------------------------------------- */
/* 7. FOOTER: Smooth Bottom-Up Curtain                                       */
/* -------------------------------------------------------------------------- */
.anim-footer-col {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.anim-footer-col.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* -------------------------------------------------------------------------- */
/* General Section Header Drop-In                                             */
/* -------------------------------------------------------------------------- */
.anim-section-header {
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.anim-section-header.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* -------------------------------------------------------------------------- */
/* Language Switcher Toggle Styles (EN | தமிழ்)                               */
/* -------------------------------------------------------------------------- */
.lang-toggle-wrap {
  display: inline-flex;
  align-items: center;
  background: rgba(0, 30, 8, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 2px;
  border-radius: 9999px;
  border: 1px solid rgba(217, 165, 43, 0.45);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.4), 0 2px 6px rgba(0, 0, 0, 0.15);
  gap: 1.5px;
}

.lang-btn {
  cursor: pointer;
  border: none;
  background: transparent;
  color: #F8DE8B;
  font-size: 0.6875rem;
  /* 11px on mobile for optimal fit */
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 9999px;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  user-select: none;
}

@media (min-width: 480px) {
  .lang-toggle-wrap {
    padding: 3px;
    gap: 2px;
  }

  .lang-btn {
    font-size: 0.75rem;
    padding: 4px 11px;
  }
}

.lang-btn:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.08);
}

.lang-btn.active {
  background: linear-gradient(135deg, #F3D279 0%, #D9A52B 100%);
  color: #032B19 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  font-weight: 800;
}

/* Hero Main Title Typography */
.hero-main-title span {
  display: block;
  line-height: 1.12;
}

/* Tamil Typography & Layout Optimization when lang="ta" */
html[lang="ta"] .editorial-heading {
  font-family: 'Noto Serif Tamil', 'Playfair Display', Georgia, serif;
  line-height: 1.4 !important;
  letter-spacing: 0;
}

/* Hero Main Title in Tamil - Generous & Even Line-Height */
html[lang="ta"] .hero-main-title {
  letter-spacing: 0;
  margin-bottom: 0.85rem;
}

html[lang="ta"] .hero-main-title span {
  line-height: 1.34 !important;
  padding-top: 3px;
  padding-bottom: 4px;
  display: block;
}

html[lang="ta"] .hero-subheadline {
  font-family: 'Noto Serif Tamil', Georgia, serif;
  line-height: 1.45 !important;
  letter-spacing: 0;
  margin-top: 0.25rem;
}

html[lang="ta"] h1,
html[lang="ta"] h2,
html[lang="ta"] h3,
html[lang="ta"] h4 {
  line-height: 1.4 !important;
}

html[lang="ta"] h1 span,
html[lang="ta"] h2 span,
html[lang="ta"] h3 span,
html[lang="ta"] h4 span {
  line-height: 1.4 !important;
}

html[lang="ta"] .font-serif {
  font-family: 'Noto Serif Tamil', Georgia, serif;
}

html[lang="ta"] p {
  line-height: 1.75 !important;
}

/* Tamil Navbar Link Precision Alignment & Spacing */
html[lang="ta"] .desktop-nav-link {
  font-family: 'Noto Serif Tamil', 'Mukta Malar', serif;
  font-size: 0.76rem;
  font-weight: 600;
  white-space: nowrap !important;
  letter-spacing: 0;
  padding: 3px 2px;
}

@media (min-width: 1280px) {
  html[lang="ta"] .desktop-nav-link {
    font-size: 0.875rem;
    padding: 4px 6px;
  }
}

html[lang="ta"] nav[aria-label="Main Navigation"] {
  gap: 0.5rem;
}

@media (min-width: 1280px) {
  html[lang="ta"] nav[aria-label="Main Navigation"] {
    gap: 1.25rem;
  }
}

html[lang="ta"] .desktop-nav-link::after {
  bottom: -8px;
}

/* Tamil Action Buttons - Single Line Precision */
html[lang="ta"] .product-enquiry-btn,
html[lang="ta"] .mockup-enquiry-btn {
  white-space: nowrap !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

html[lang="ta"] #site-header a,
html[lang="ta"] #site-header button {
  white-space: nowrap;
}

/* ========================================================================== */
/* Hero Section Layout & Badges Alignment Precision                            */
/* ========================================================================== */
.hero-eyebrow-badge {
  line-height: 1.2;
}

.hero-eyebrow-badge span {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
}

.hero-feature-badges-grid {
  align-items: start;
}

.hero-feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-feature-label {
  display: block;
  text-align: center;
  line-height: 1.25;
  font-size: 0.6875rem;
  /* 11px */
  min-height: 2.6em;
}

@media (min-width: 640px) {
  .hero-feature-label {
    font-size: 0.72rem;
  }
}

html[lang="ta"] .hero-feature-label {
  font-family: 'Noto Serif Tamil', 'Mukta Malar', serif;
  line-height: 1.35 !important;
  font-size: 0.7rem;
  letter-spacing: 0;
  min-height: 2.8em;
}

@media (min-width: 640px) {
  html[lang="ta"] .hero-feature-label {
    font-size: 0.735rem;
  }
}

/* ========================================================================== */
/* Product Cards & Interactive Size Selector - Studio Mockup Alignment        */
/* ========================================================================== */
.product-card {
  background: #FFFFFF;
  border: 1px solid #E8DEC7;
  border-radius: 1.5rem;
  box-shadow: 0 4px 20px -2px rgba(6, 61, 32, 0.05);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: #D9A52B;
  box-shadow: 0 20px 40px -10px rgba(6, 61, 32, 0.12), 0 0 15px rgba(217, 165, 43, 0.15);
}

.product-card-img-box {
  background: linear-gradient(180deg, #FAF6EE 0%, #EFE7D5 100%);
  border: 1px solid #EADBCE;
  border-radius: 1.25rem;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card-badge {
  background: #1B3324;
  color: #FFFFFF;
  font-size: 0.6875rem;
  /* 11px */
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 4px 10px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
  pointer-events: none;
}

.product-card-category {
  color: #1C6934;
  font-size: 0.6875rem;
  /* 11px */
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-card-title {
  color: #063D20;
  line-height: 1.25;
}

.product-card-desc {
  color: #524D44;
  line-height: 1.6;
}

.product-sizes-label {
  font-size: 0.625rem;
  /* 10px */
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #736B5E;
}

.size-pill {
  background: #FFFFFF;
  border: 1.5px solid #D5CBB9;
  color: #2D3A2F;
  font-size: 0.75rem;
  /* 12px */
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  outline: none;
  user-select: none;
}

.size-pill:hover {
  border-color: #0E8A37;
  color: #0E8A37;
  background: #F4F9F4;
  transform: translateY(-1px);
}

.size-pill.active {
  background: #0D7A3E !important;
  border-color: #0D7A3E !important;
  color: #FFFFFF !important;
  box-shadow: 0 2px 8px rgba(13, 122, 62, 0.3);
}

.product-enquiry-btn {
  background: #0D7A3E;
  color: #FFFFFF;
  font-weight: 600;
  font-size: 0.8125rem;
  /* 13px */
  border-radius: 9999px;
  padding: 12px 18px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(13, 122, 62, 0.22);
  text-decoration: none;
}

.product-enquiry-btn:hover {
  background: #096130;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(13, 122, 62, 0.32);
  color: #FFFFFF;
}

/* Tamil Typography for Product Cards */
html[lang="ta"] .product-card-category {
  font-family: 'Noto Serif Tamil', 'Mukta Malar', serif;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  font-weight: 700;
}

html[lang="ta"] .product-card-title {
  font-family: 'Noto Serif Tamil', 'Mukta Malar', serif;
  line-height: 1.35;
  font-size: 1.15rem;
}

html[lang="ta"] .product-card-desc {
  font-family: 'Noto Serif Tamil', 'Mukta Malar', serif;
  line-height: 1.6;
  font-size: 0.78rem;
}

html[lang="ta"] .product-sizes-label {
  font-family: 'Noto Serif Tamil', 'Mukta Malar', serif;
  font-size: 0.6875rem;
  letter-spacing: 0.02em;
}

html[lang="ta"] .product-enquiry-btn {
  font-family: 'Noto Serif Tamil', 'Mukta Malar', serif;
  font-size: 0.82rem;
  letter-spacing: 0.01em;
}

/* -------------------------------------------------------------------------- */
/* Google Reviews Section & Cards Styling                                     */
/* -------------------------------------------------------------------------- */
.anim-review-card {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.65s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.anim-review-card.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

.review-card {
  position: relative;
  background-color: #FFFFFF;
  box-shadow: 0 4px 18px rgba(0, 30, 8, 0.05);
}

.review-card:hover {
  border-color: #D9A52B;
  box-shadow: 0 12px 32px rgba(0, 30, 8, 0.1);
  transform: translateY(-3px);
}

/* Tamil Typography for Reviews Section */
html[lang="ta"] .review-card h3 {
  font-family: 'Noto Serif Tamil', 'Mukta Malar', serif;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}

html[lang="ta"] .review-text {
  font-family: 'Noto Serif Tamil', 'Mukta Malar', serif;
  line-height: 1.65;
  font-size: 0.88rem;
  font-style: normal;
}