/* ============================================================
   Dermortho Lifescience – Brand Theme
   Primary Orange : #f47920
   Primary Blue   : #1a6bb5
   Light Blue     : #29abe2
   Dark Blue      : #003d7a
   ============================================================ */

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

:root {
  --orange:        #f47920;
  --orange-dark:   #c95e0a;
  --orange-light:  #ffa24e;
  --orange-pale:   #fff4ec;
  --blue:          #1a6bb5;
  --blue-dark:     #003d7a;
  --blue-mid:      #29abe2;
  --blue-light:    #6dc8f0;
  --blue-pale:     #eaf5fd;
  --white:         #ffffff;
  --off-white:     #f8fafc;
  --gray-100:      #f3f4f6;
  --gray-200:      #e5e7eb;
  --gray-400:      #9ca3af;
  --gray-600:      #4b5563;
  --gray-800:      #1f2937;
  --text:          #1a1a2e;
  --shadow-sm:     0 2px 8px rgba(0,0,0,0.07);
  --shadow-md:     0 6px 24px rgba(0,0,0,0.11);
  --shadow-lg:     0 12px 48px rgba(0,0,0,0.16);
  --shadow-orange: 0 8px 28px rgba(244,121,32,0.35);
  --shadow-blue:   0 8px 28px rgba(26,107,181,0.3);
  --radius-sm:     8px;
  --radius-md:     14px;
  --radius-lg:     22px;
  --transition:    all 0.3s cubic-bezier(0.4,0,0.2,1);
  --font-main:     'Poppins', sans-serif;
  --font-display:  'Playfair Display', serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-main);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
input, select, textarea, button { font-family: var(--font-main); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 88px 0; }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.text-center { text-align: center; }

/* ── KEYFRAME ANIMATIONS ──────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-32px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(32px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes pulse-ring {
  0%   { transform: scale(1);   opacity: 0.6; }
  100% { transform: scale(1.5); opacity: 0; }
}
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-12px); }
}
@keyframes rotate-slow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position:  200% center; }
}
@keyframes blob-move {
  0%, 100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
  50%       { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
}
@keyframes count-up {
  from { opacity: 0; transform: scale(0.5); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes slide-in-nav {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes particle-float {
  0%   { transform: translateY(0)   rotate(0deg);   opacity: 1; }
  100% { transform: translateY(-80px) rotate(720deg); opacity: 0; }
}
@keyframes gradient-shift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ── TOP BAR ──────────────────────────────────────────────── */
.top-bar {
  background: linear-gradient(90deg, var(--blue-dark) 0%, var(--blue) 60%, var(--blue-mid) 100%);
  color: rgba(255,255,255,0.88);
  font-size: 12.5px;
  padding: 9px 0;
  position: relative;
  overflow: hidden;
}
.top-bar::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--orange), var(--orange-light), var(--orange));
  background-size: 200% auto;
  animation: shimmer 3s linear infinite;
}
.top-bar .container { display: flex; gap: 28px; flex-wrap: wrap; align-items: center; }
.top-bar span { display: flex; align-items: center; gap: 7px; }
.top-bar i { color: var(--orange-light); font-size: 13px; }

/* ── HEADER ───────────────────────────────────────────────── */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  transition: var(--transition);
}
.header.scrolled {
  box-shadow: 0 4px 32px rgba(26,107,181,0.12);
  border-bottom-color: transparent;
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  gap: 20px;
}

/* ── LOGO ─────────────────────────────────────────────────── */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: var(--transition);
}
.logo:hover { transform: scale(1.03); }
.logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  transition: var(--transition);
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.logo-name {
  font-family: var(--font-main);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.5px;
  line-height: 1;
}
.logo-dermo { color: var(--orange); }
.logo-rtho  { color: var(--blue); }
.logo-sub {
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--blue);
  text-transform: uppercase;
  margin-top: 2px;
}

/* ── NAV ──────────────────────────────────────────────────── */
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-600);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.nav a::before {
  content: '';
  position: absolute;
  bottom: 0; left: 50%; right: 50%;
  height: 2px;
  background: linear-gradient(90deg, var(--orange), var(--blue-mid));
  transition: var(--transition);
  border-radius: 2px;
}
.nav a:hover::before,
.nav a.active::before { left: 12px; right: 12px; }
.nav a:hover { color: var(--orange); background: var(--orange-pale); }
.nav a.active { color: var(--orange); background: var(--orange-pale); font-weight: 600; }

/* ── HEADER ACTIONS ───────────────────────────────────────── */
.header-actions { display: flex; align-items: center; gap: 10px; }

.cart-btn {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--orange-pale);
  color: var(--orange);
  font-size: 18px;
  transition: var(--transition);
  border: 2px solid transparent;
}
.cart-btn:hover {
  background: var(--orange);
  color: var(--white);
  transform: scale(1.1);
  box-shadow: var(--shadow-orange);
}
.cart-count {
  position: absolute;
  top: -5px; right: -5px;
  background: var(--blue);
  color: var(--white);
  font-size: 10px; font-weight: 700;
  width: 20px; height: 20px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--white);
  animation: count-up 0.3s ease;
}
.menu-toggle {
  display: none;
  background: none; border: none;
  font-size: 22px; color: var(--blue);
  cursor: pointer; padding: 8px;
  transition: var(--transition);
}
.menu-toggle:hover { color: var(--orange); }

/* ── HERO ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 640px;
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 45%, #1a8ac4 75%, #0d5fa0 100%);
  background-size: 400% 400%;
  animation: gradient-shift 10s ease infinite;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

/* Animated background shapes */
.hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(244,121,32,0.18) 0%, transparent 65%);
  animation: blob-move 8s ease-in-out infinite;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -60px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(41,171,226,0.15) 0%, transparent 65%);
  animation: blob-move 10s ease-in-out infinite reverse;
}

/* Particle dots */
.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-particles span {
  position: absolute;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(244,121,32,0.5);
  animation: particle-float 6s ease-in infinite;
}
.hero-particles span:nth-child(1)  { left: 10%; animation-delay: 0s;   animation-duration: 7s; }
.hero-particles span:nth-child(2)  { left: 25%; animation-delay: 1s;   animation-duration: 5s; width:4px;height:4px; background:rgba(41,171,226,0.5); }
.hero-particles span:nth-child(3)  { left: 40%; animation-delay: 2s;   animation-duration: 8s; }
.hero-particles span:nth-child(4)  { left: 60%; animation-delay: 0.5s; animation-duration: 6s; width:8px;height:8px; background:rgba(255,255,255,0.2); }
.hero-particles span:nth-child(5)  { left: 75%; animation-delay: 1.5s; animation-duration: 7s; }
.hero-particles span:nth-child(6)  { left: 88%; animation-delay: 3s;   animation-duration: 5s; width:4px;height:4px; background:rgba(41,171,226,0.4); }
.hero-particles span:nth-child(7)  { left: 50%; animation-delay: 2.5s; animation-duration: 9s; width:5px;height:5px; }
.hero-particles span:nth-child(8)  { left: 15%; animation-delay: 4s;   animation-duration: 6s; background:rgba(255,255,255,0.15); }

.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(0,30,70,0.55) 0%, rgba(0,30,70,0.1) 100%);
}

.hero-content {
  position: relative; z-index: 2;
  padding: 80px 20px 40px;
  max-width: 700px;
}
.hero-content > * {
  animation: fadeInLeft 0.8s ease both;
}
.hero-content > *:nth-child(1) { animation-delay: 0.1s; }
.hero-content > *:nth-child(2) { animation-delay: 0.25s; }
.hero-content > *:nth-child(3) { animation-delay: 0.4s; }
.hero-content > *:nth-child(4) { animation-delay: 0.55s; }
.hero-content > *:nth-child(5) { animation-delay: 0.7s; }

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  color: var(--white);
  font-size: 12px; font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 30px;
  margin-bottom: 22px;
  box-shadow: var(--shadow-orange);
}
.hero-tag i { animation: float 2s ease-in-out infinite; }

.hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 58px);
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 20px;
}
.hero-content h1 span {
  background: linear-gradient(90deg, var(--orange-light), #ffd080);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-content p {
  font-size: 17px;
  color: rgba(255,255,255,0.88);
  margin-bottom: 36px;
  max-width: 540px;
  line-height: 1.8;
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }

/* Hero stats bar */
.hero-stats {
  position: relative; z-index: 2;
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 28px 0;
}
.hero-stats .container {
  display: flex; justify-content: space-around;
  flex-wrap: wrap; gap: 20px;
}
.stat { text-align: center; }
.stat span {
  display: block;
  font-size: 30px; font-weight: 800;
  background: linear-gradient(135deg, var(--orange-light), #ffd080);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: var(--font-display);
  animation: fadeInUp 0.6s ease both;
}
.stat p { font-size: 13px; color: rgba(255,255,255,0.75); margin: 0; }

/* ── BUTTONS ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center; justify-content: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background 0.3s;
}
.btn:hover::after { background: rgba(255,255,255,0.1); }

.btn-primary {
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: var(--white);
  box-shadow: 0 4px 16px rgba(244,121,32,0.3);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-orange);
}
.btn-primary:active { transform: translateY(-1px); }

.btn-secondary {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: var(--white);
  box-shadow: 0 4px 16px rgba(26,107,181,0.3);
}
.btn-secondary:hover { transform: translateY(-3px); box-shadow: var(--shadow-blue); }

.btn-outline {
  background: transparent;
  color: var(--orange);
  border-color: var(--orange);
}
.btn-outline:hover {
  background: var(--orange);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: var(--shadow-orange);
}

.btn-outline-blue {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}
.btn-outline-blue:hover {
  background: var(--blue);
  color: var(--white);
  transform: translateY(-3px);
}

.btn-white {
  background: var(--white);
  color: var(--orange);
  border-color: var(--white);
}
.btn-white:hover { background: var(--orange-pale); transform: translateY(-3px); }

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.7);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.15); transform: translateY(-3px); }

.btn-sm { padding: 8px 18px; font-size: 13px; }
.btn-full { width: 100%; }
.btn-pay { padding: 16px; font-size: 16px; margin-top: 20px; }

/* ── SECTION HEADERS ──────────────────────────────────────── */
.section-header { text-align: center; margin-bottom: 52px; }
.section-header.light h2,
.section-header.light p { color: var(--white); }
.section-header.light .section-tag {
  background: rgba(244,121,32,0.2);
  color: var(--orange-light);
  border-color: rgba(244,121,32,0.3);
}

.section-tag {
  display: inline-block;
  background: var(--orange-pale);
  color: var(--orange);
  font-size: 11.5px; font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 30px;
  border: 1px solid rgba(244,121,32,0.2);
  margin-bottom: 14px;
  animation: fadeInUp 0.5s ease both;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.3;
  margin-bottom: 14px;
}
.section-header p {
  color: var(--gray-600);
  font-size: 16px;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ── ABOUT SECTION ────────────────────────────────────────── */
.about-section { background: var(--off-white); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: center;
}
.about-image { position: relative; }
.about-img-placeholder {
  background: linear-gradient(135deg, var(--orange-pale), #fde8d8);
  border-radius: var(--radius-lg);
  height: 420px;
  display: flex; align-items: center; justify-content: center;
  font-size: 90px; color: var(--orange);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
  animation: float 5s ease-in-out infinite;
}
.about-img-placeholder::before {
  content: '';
  position: absolute;
  top: -30px; right: -30px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(244,121,32,0.15) 0%, transparent 70%);
  animation: rotate-slow 12s linear infinite;
}
.about-img-placeholder.large { height: 460px; }
.about-badge {
  position: absolute;
  bottom: -20px; right: -20px;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: var(--white);
  width: 96px; height: 96px;
  border-radius: 50%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  box-shadow: var(--shadow-orange);
  animation: float 4s ease-in-out infinite;
}
.about-badge span { font-size: 11px; font-weight: 500; }
.about-badge strong { font-size: 28px; font-weight: 800; line-height: 1; font-family: var(--font-display); }

.about-content h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 36px);
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 18px; line-height: 1.3;
}
.about-content p { color: var(--gray-600); margin-bottom: 14px; line-height: 1.8; }
.about-list { margin: 22px 0 30px; display: flex; flex-direction: column; gap: 12px; }
.about-list li {
  display: flex; align-items: center; gap: 12px;
  color: var(--gray-600); font-size: 15px;
  padding: 10px 16px;
  background: var(--white);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--orange);
  transition: var(--transition);
}
.about-list li:hover { transform: translateX(6px); box-shadow: var(--shadow-sm); }
.about-list li i { color: var(--orange); flex-shrink: 0; font-size: 16px; }

/* ── MISSION VISION ───────────────────────────────────────── */
.mv-section { background: var(--white); }
.mv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.mv-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 38px 28px; text-align: center;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.mv-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--orange), var(--blue-mid));
  transform: scaleX(0);
  transition: transform 0.4s ease;
  transform-origin: left;
}
.mv-card:hover::before { transform: scaleX(1); }
.mv-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: var(--orange-light);
}
.mv-icon {
  width: 68px; height: 68px;
  background: linear-gradient(135deg, var(--orange-pale), #fde8d8);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 22px;
  font-size: 28px; color: var(--orange);
  transition: var(--transition);
  position: relative;
}
.mv-icon::after {
  content: '';
  position: absolute; inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--orange);
  opacity: 0;
  transition: var(--transition);
}
.mv-card:hover .mv-icon { background: linear-gradient(135deg, var(--orange), var(--orange-dark)); color: var(--white); }
.mv-card:hover .mv-icon::after { opacity: 0.3; animation: pulse-ring 1s ease-out infinite; }
.mv-card h3 { font-family: var(--font-display); font-size: 22px; color: var(--blue-dark); margin-bottom: 12px; }
.mv-card p { color: var(--gray-600); font-size: 15px; line-height: 1.75; }

/* ── PRODUCT CARDS ────────────────────────────────────────── */
.products-highlight { background: var(--off-white); }
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }

.product-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  display: flex; flex-direction: column;
  position: relative;
}
.product-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--blue-mid));
  transform: scaleX(0);
  transition: transform 0.4s ease;
}
.product-card:hover::after { transform: scaleX(1); }
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(26,107,181,0.14);
  border-color: var(--blue-light);
}
.product-card-link { flex: 1; display: flex; flex-direction: column; }
.product-card-image {
  background: linear-gradient(135deg, var(--blue-pale) 0%, #dbeeff 100%);
  height: 190px;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.product-card-image::before {
  content: '';
  position: absolute;
  top: -20px; right: -20px;
  width: 120px; height: 120px;
  background: radial-gradient(circle, rgba(244,121,32,0.1) 0%, transparent 70%);
  transition: var(--transition);
}
.product-card:hover .product-card-image::before { transform: scale(1.5); }
.product-icon-wrap {
  font-size: 60px;
  color: var(--blue);
  opacity: 0.65;
  transition: var(--transition);
}
.product-card:hover .product-icon-wrap { opacity: 1; transform: scale(1.1) rotate(-5deg); }

.product-tag {
  position: absolute; top: 12px; left: 12px;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: var(--white); font-size: 11px; font-weight: 700;
  padding: 3px 12px; border-radius: 20px;
  box-shadow: 0 2px 8px rgba(244,121,32,0.4);
}
.product-discount {
  position: absolute; top: 12px; right: 12px;
  background: #e53935; color: var(--white);
  font-size: 11px; font-weight: 700;
  padding: 3px 10px; border-radius: 20px;
}
.product-card-body { padding: 18px; flex: 1; }
.product-card-cat {
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
  color: var(--orange);
  background: var(--orange-pale);
  padding: 2px 10px; border-radius: 20px;
  display: inline-block;
}
.product-card-name {
  font-size: 15px; font-weight: 700;
  color: var(--gray-800); margin: 10px 0 6px;
  line-height: 1.4;
}
.product-card-desc { font-size: 13px; color: var(--gray-400); line-height: 1.6; }
.product-card-size { font-size: 12px; color: var(--gray-400); margin-top: 8px; }
.product-card-price { margin-top: 12px; display: flex; align-items: center; gap: 10px; }
.price-now { font-size: 20px; font-weight: 800; color: var(--orange); }
.price-was { font-size: 13px; color: var(--gray-400); text-decoration: line-through; }

.product-card-footer {
  display: flex; gap: 8px;
  padding: 12px 18px 18px;
  border-top: 1px solid var(--gray-100);
}
.product-card-footer .btn { flex: 1; }
.add-to-cart-btn.added { background: linear-gradient(135deg, #22c55e, #16a34a); }

/* ── MANUFACTURING SECTION ────────────────────────────────── */
.manufacturing-section {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 60%, #1a8ac4 100%);
  position: relative; overflow: hidden;
}
.manufacturing-section::before {
  content: '';
  position: absolute; top: -100px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(244,121,32,0.12) 0%, transparent 65%);
  animation: blob-move 12s ease-in-out infinite;
}
.mfg-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: center; }
.mfg-content p { color: rgba(255,255,255,0.88); margin-bottom: 18px; line-height: 1.8; }
.mfg-list { margin: 22px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mfg-list li {
  display: flex; align-items: center; gap: 10px;
  color: rgba(255,255,255,0.9); font-size: 14px;
  padding: 8px 12px;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.mfg-list li:hover { background: rgba(255,255,255,0.12); transform: translateX(4px); }
.mfg-list li i { color: var(--orange-light); flex-shrink: 0; }
.mfg-img-placeholder {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  height: 380px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 16px; color: rgba(255,255,255,0.65);
  font-size: 80px;
  animation: float 6s ease-in-out infinite;
}
.mfg-img-placeholder span { font-size: 16px; color: rgba(255,255,255,0.55); font-weight: 500; }

/* ── WHY CHOOSE US ────────────────────────────────────────── */
.why-section { background: var(--white); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.why-card {
  text-align: center; padding: 34px 22px;
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  position: relative; overflow: hidden;
}
.why-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--orange-pale), var(--blue-pale));
  opacity: 0; transition: opacity 0.3s;
}
.why-card:hover::before { opacity: 1; }
.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--orange-light); }
.why-card i {
  font-size: 38px; color: var(--blue); margin-bottom: 18px;
  display: block; position: relative; z-index: 1;
  transition: var(--transition);
}
.why-card:hover i { color: var(--orange); transform: scale(1.15) rotate(-5deg); }
.why-card h4 { font-size: 16px; font-weight: 700; color: var(--blue-dark); margin-bottom: 10px; position: relative; z-index: 1; }
.why-card p { font-size: 14px; color: var(--gray-600); position: relative; z-index: 1; }

/* ── CTA ──────────────────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 40%, #a0480a 100%);
  padding: 72px 0; text-align: center;
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute; top: -50%; left: -10%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 65%);
  animation: rotate-slow 20s linear infinite;
}
.cta-section h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 38px);
  color: var(--white); margin-bottom: 14px;
}
.cta-section p { color: rgba(255,255,255,0.9); font-size: 17px; margin-bottom: 36px; }
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── PAGE BANNER ──────────────────────────────────────────── */
.page-banner {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 55%, #1a8ac4 100%);
  padding: 56px 0; position: relative; overflow: hidden;
}
.page-banner::before {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--orange-light), var(--orange));
  background-size: 200% auto;
  animation: shimmer 2.5s linear infinite;
}
.page-banner::after {
  content: '';
  position: absolute; top: -40px; right: -40px;
  width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(244,121,32,0.14) 0%, transparent 65%);
}
.page-banner h1 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  color: var(--white); position: relative; z-index: 1;
  animation: fadeInLeft 0.6s ease both;
}
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  margin-top: 10px; font-size: 14px;
  color: rgba(255,255,255,0.7);
  position: relative; z-index: 1;
  animation: fadeInLeft 0.6s ease 0.15s both;
}
.breadcrumb a { color: var(--orange-light); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { color: rgba(255,255,255,0.4); }

/* ── PRODUCTS PAGE ────────────────────────────────────────── */
.products-layout { display: grid; grid-template-columns: 268px 1fr; gap: 32px; align-items: start; }
.sidebar { position: sticky; top: 90px; }
.sidebar-widget {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 26px; margin-bottom: 20px;
  transition: var(--transition);
}
.sidebar-widget:hover { box-shadow: var(--shadow-sm); }
.sidebar-widget h3 {
  font-size: 15px; font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 18px; padding-bottom: 12px;
  border-bottom: 2px solid var(--orange-pale);
  display: flex; align-items: center; gap: 8px;
}
.sidebar-widget h3::before {
  content: '';
  width: 4px; height: 16px;
  background: linear-gradient(180deg, var(--orange), var(--blue-mid));
  border-radius: 2px;
  display: inline-block;
}
.search-box { position: relative; }
.search-box input {
  width: 100%; padding: 10px 40px 10px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 14px; outline: none; transition: var(--transition);
}
.search-box input:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(244,121,32,0.1); }
.search-box i { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: var(--orange); }

.category-list { display: flex; flex-direction: column; gap: 4px; }
.category-list li {
  display: flex; align-items: center; justify-content: space-between;
  padding: 9px 14px; border-radius: var(--radius-sm);
  cursor: pointer; transition: var(--transition);
  border: 1px solid transparent;
}
.category-list li:hover { background: var(--orange-pale); border-color: rgba(244,121,32,0.2); }
.category-list li.active {
  background: linear-gradient(135deg, var(--orange-pale), #fde8d8);
  border-color: rgba(244,121,32,0.3);
  color: var(--orange);
}
.category-list li a { font-size: 14px; color: inherit; flex: 1; }
.category-list li span {
  font-size: 11px; font-weight: 700;
  background: var(--gray-200);
  padding: 2px 8px; border-radius: 20px; color: var(--gray-600);
}
.category-list li.active span {
  background: var(--orange); color: var(--white);
}

input[type="range"] { width: 100%; accent-color: var(--orange); cursor: pointer; }
.price-display { margin-top: 8px; font-size: 14px; font-weight: 700; color: var(--orange); }
.note-text { font-size: 13px; color: var(--gray-600); line-height: 1.7; }
.note-text i { color: var(--orange); margin-right: 4px; }

.products-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 24px; padding: 14px 20px;
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
}
.products-toolbar span { font-size: 14px; color: var(--gray-600); font-weight: 500; }
.products-toolbar select {
  padding: 7px 14px; border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm); font-size: 14px;
  outline: none; cursor: pointer; color: var(--gray-800);
  transition: var(--transition);
}
.products-toolbar select:focus { border-color: var(--orange); }

.no-products {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 80px 20px; color: var(--gray-400);
  gap: 16px; text-align: center;
}
.no-products i { font-size: 52px; color: var(--gray-200); }

/* ── PRODUCT DETAIL ───────────────────────────────────────── */
.product-detail-grid {
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: 52px; align-items: start; margin-bottom: 64px;
}
.product-img-large {
  background: linear-gradient(135deg, var(--blue-pale), #dbeeff);
  border-radius: var(--radius-lg);
  height: 440px;
  display: flex; align-items: center; justify-content: center;
  font-size: 110px; color: var(--blue);
  position: relative; overflow: hidden;
  animation: float 5s ease-in-out infinite;
}
.product-img-large::before {
  content: '';
  position: absolute; top: -40px; right: -40px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(244,121,32,0.1) 0%, transparent 65%);
}
.product-cat-badge {
  position: absolute; top: 16px; left: 16px;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: var(--white); font-size: 12px; font-weight: 700;
  padding: 4px 16px; border-radius: 20px;
  box-shadow: var(--shadow-orange);
}
.product-badges { display: flex; gap: 12px; margin-top: 18px; flex-wrap: wrap; }
.badge-gmp, .badge-rx, .badge-use {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 700;
  padding: 6px 16px; border-radius: var(--radius-sm);
}
.badge-gmp { background: var(--blue-pale); color: var(--blue); }
.badge-rx  { background: #fff3e0; color: #e65100; }
.badge-use { background: var(--orange-pale); color: var(--orange); }

.product-category-tag {
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1px; color: var(--orange);
  background: var(--orange-pale); padding: 4px 14px; border-radius: 20px;
}
.product-detail-info h1 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 36px);
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  margin: 14px 0 10px; line-height: 1.3;
}
.product-rating {
  display: flex; align-items: center; gap: 4px;
  margin-bottom: 18px; color: var(--orange); font-size: 16px;
}
.product-rating span { color: var(--gray-400); font-size: 13px; margin-left: 6px; }

.product-price-block {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 22px; padding: 18px 0;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}
.price-main { font-size: 36px; font-weight: 800; color: var(--orange); }
.price-original { font-size: 20px; color: var(--gray-400); text-decoration: line-through; }
.price-discount {
  background: #e53935; color: var(--white);
  font-size: 13px; font-weight: 700;
  padding: 4px 12px; border-radius: 20px;
}
.product-short-desc p { color: var(--gray-600); font-size: 15px; line-height: 1.8; margin-bottom: 22px; }
.product-meta { margin-bottom: 22px; display: flex; flex-direction: column; gap: 10px; }
.meta-row { display: flex; gap: 12px; font-size: 14px; align-items: center; }
.meta-row span { color: var(--gray-400); min-width: 80px; }
.meta-row strong { color: var(--gray-800); }

.product-qty-row { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }
.qty-selector {
  display: flex; align-items: center;
  border: 1.5px solid var(--gray-200); border-radius: var(--radius-sm); overflow: hidden;
}
.qty-btn {
  width: 42px; height: 46px;
  background: var(--gray-100); border: none;
  font-size: 18px; cursor: pointer; transition: var(--transition); color: var(--gray-800);
}
.qty-btn:hover { background: var(--orange-pale); color: var(--orange); }
.qty-selector input {
  width: 58px; height: 46px; text-align: center;
  border: none; border-left: 1.5px solid var(--gray-200); border-right: 1.5px solid var(--gray-200);
  font-size: 16px; font-weight: 700; outline: none;
}
.product-actions-secondary { display: flex; gap: 12px; flex-wrap: wrap; }
.product-actions-secondary .btn { flex: 1; min-width: 140px; }

/* Tabs */
.product-tabs { margin-top: 52px; }
.tabs-nav {
  display: flex; border-bottom: 2px solid var(--gray-200);
  gap: 4px; flex-wrap: wrap;
}
.tab-btn {
  padding: 12px 26px; background: none; border: none;
  font-size: 14px; font-weight: 600; color: var(--gray-600);
  cursor: pointer; position: relative; transition: var(--transition);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}
.tab-btn:hover { color: var(--orange); background: var(--orange-pale); }
.tab-btn.active { color: var(--orange); background: var(--orange-pale); }
.tab-btn.active::after {
  content: '';
  position: absolute; bottom: -2px; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--orange), var(--orange-light));
}
.tab-content { padding: 28px 0; color: var(--gray-600); line-height: 1.85; animation: fadeInUp 0.4s ease both; }

.ingredients-list, .indication-list { display: flex; flex-direction: column; gap: 10px; }
.ingredients-list li, .indication-list li {
  display: flex; align-items: center; gap: 12px;
  font-size: 15px; padding: 10px 0;
  border-bottom: 1px solid var(--gray-100);
}
.ingredients-list li i { font-size: 8px; color: var(--orange); }
.indication-list li i { color: var(--orange); font-size: 16px; }
.info-table { width: 100%; border-collapse: collapse; }
.info-table th, .info-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--gray-200); font-size: 14px; }
.info-table th { background: var(--orange-pale); color: var(--orange-dark); font-weight: 700; width: 200px; }
.info-table td { color: var(--gray-600); }

/* Product extra badges */
.rx-warning {
  background: #fff8e1; border: 1px solid #ffe082;
  border-left: 4px solid var(--orange);
  border-radius: var(--radius-sm); padding: 14px 16px;
  font-size: 14px; color: #92400e; margin: 16px 0;
  display: flex; gap: 10px; align-items: flex-start; line-height: 1.6;
}
.rx-warning i { color: var(--orange); margin-top: 2px; flex-shrink: 0; }
.use-caution {
  font-size: 14px; color: var(--gray-600); margin-top: 12px;
  display: flex; align-items: center; gap: 8px;
}
.use-caution i { color: var(--orange); }
.howtouse-list { list-style: none; display: flex; flex-direction: column; gap: 14px; margin-bottom: 16px; }
.howtouse-list li {
  display: flex; align-items: flex-start; gap: 14px;
  font-size: 15px; color: var(--gray-600);
  padding: 12px 16px; background: var(--off-white);
  border-radius: var(--radius-sm); border-left: 3px solid var(--orange);
}
.step-num {
  min-width: 28px; height: 28px;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: var(--white); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; flex-shrink: 0;
}

/* ── CONTACT PAGE ─────────────────────────────────────────── */
.contact-section { background: var(--off-white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 52px; }
.contact-info h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 34px);
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  margin: 12px 0 16px;
}
.contact-info > p { color: var(--gray-600); margin-bottom: 28px; line-height: 1.8; }
.contact-cards { display: flex; flex-direction: column; gap: 16px; }
.contact-card {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 18px; background: var(--white);
  border-radius: var(--radius-md); border: 1px solid var(--gray-200);
  transition: var(--transition);
}
.contact-card:hover { border-color: var(--orange-light); box-shadow: var(--shadow-sm); transform: translateX(4px); }
.contact-card-icon {
  width: 46px; height: 46px;
  background: linear-gradient(135deg, var(--orange-pale), #fde8d8);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: var(--orange); flex-shrink: 0;
  transition: var(--transition);
}
.contact-card:hover .contact-card-icon { background: var(--orange); color: var(--white); }
.contact-card h4 { font-size: 15px; font-weight: 700; color: var(--blue-dark); margin-bottom: 4px; }
.contact-card p { font-size: 14px; color: var(--gray-600); line-height: 1.6; }
.contact-form-box {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 42px; box-shadow: var(--shadow-md);
  border-top: 4px solid var(--orange);
}
.contact-form-box h3 {
  font-family: var(--font-display); font-size: 24px;
  color: var(--blue-dark); margin-bottom: 26px;
}
.map-section { background: var(--blue-pale); }
.map-placeholder {
  height: 290px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 16px;
  font-size: 60px; color: var(--blue);
  background: linear-gradient(135deg, var(--blue-pale), #dbeeff);
}
.map-placeholder p { font-size: 16px; font-weight: 600; color: var(--blue-dark); }

/* ── FORMS ────────────────────────────────────────────────── */
.form-group { margin-bottom: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group label {
  display: block; font-size: 12.5px; font-weight: 700;
  color: var(--blue-dark); margin-bottom: 6px;
  text-transform: uppercase; letter-spacing: 0.5px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 12px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 14px; color: var(--text);
  transition: var(--transition); outline: none; background: var(--white);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(244,121,32,0.1);
}
.form-group textarea { resize: vertical; min-height: 100px; }

/* ── CHECKOUT ─────────────────────────────────────────────── */
.checkout-section { background: var(--off-white); }
.checkout-layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: start; }
.cart-section, .billing-section {
  background: var(--white); border-radius: var(--radius-md);
  padding: 34px; box-shadow: var(--shadow-sm);
}
.cart-section { border-top: 4px solid var(--blue); }
.billing-section { border-top: 4px solid var(--orange); }
.cart-section h2, .billing-section h2 {
  font-family: var(--font-display); font-size: 24px;
  color: var(--blue-dark); margin-bottom: 24px;
  padding-bottom: 16px; border-bottom: 2px solid var(--gray-100);
}
.billing-section h3 {
  font-size: 18px; color: var(--blue-dark); margin-bottom: 20px;
  display: flex; align-items: center; gap: 8px;
}
.billing-section h3 i { color: var(--orange); }

.cart-item {
  display: grid; grid-template-columns: 52px 1fr auto auto 36px;
  gap: 12px; align-items: center;
  padding: 16px 0; border-bottom: 1px solid var(--gray-100);
}
.cart-item-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--orange-pale), #fde8d8);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: var(--orange); flex-shrink: 0;
}
.cart-item-info h4 { font-size: 15px; font-weight: 700; color: var(--gray-800); margin-bottom: 4px; }
.cart-item-cat, .cart-item-size { font-size: 12px; color: var(--gray-400); display: block; }
.cart-item-qty {
  display: flex; align-items: center; gap: 8px;
  background: var(--gray-100); border-radius: var(--radius-sm); padding: 4px;
}
.cart-item-qty .qty-btn {
  width: 28px; height: 28px; background: var(--white); border: none;
  border-radius: 4px; cursor: pointer; font-size: 14px;
  box-shadow: var(--shadow-sm); transition: var(--transition); color: var(--gray-800);
}
.cart-item-qty .qty-btn:hover { background: var(--orange-pale); color: var(--orange); }
.cart-item-qty span { font-size: 15px; font-weight: 700; min-width: 24px; text-align: center; }
.cart-item-price { font-size: 16px; font-weight: 800; color: var(--orange); }
.cart-remove {
  background: none; border: none; color: var(--gray-400);
  cursor: pointer; font-size: 15px; padding: 4px;
  border-radius: 4px; transition: var(--transition);
}
.cart-remove:hover { color: #e53935; background: #fff5f5; }

.cart-totals {
  margin-top: 24px; background: var(--off-white);
  border-radius: var(--radius-md); padding: 22px;
}
.total-row {
  display: flex; justify-content: space-between;
  padding: 8px 0; font-size: 14px; color: var(--gray-600);
  border-bottom: 1px solid var(--gray-200);
}
.total-final {
  font-size: 18px; font-weight: 800; color: var(--orange);
  border-bottom: none; padding-top: 14px;
}
.coupon-row { display: flex; gap: 12px; margin-top: 20px; }
.coupon-row input {
  flex: 1; padding: 10px 16px;
  border: 1.5px solid var(--gray-200); border-radius: var(--radius-sm);
  font-size: 14px; outline: none; transition: var(--transition);
}
.coupon-row input:focus { border-color: var(--orange); }
.coupon-msg { font-size: 13px; margin-top: 8px; font-weight: 700; }
.coupon-msg.success { color: #16a34a; }
.coupon-msg.error   { color: #e53935; }

/* Payment methods */
.payment-methods { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }
.payment-method {
  display: flex; flex-direction: column; gap: 8px;
  padding: 16px; border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md); cursor: pointer; transition: var(--transition);
}
.payment-method:hover { border-color: var(--orange-light); }
.payment-method.active {
  border-color: var(--orange);
  background: linear-gradient(135deg, var(--orange-pale), #fde8d8);
}
.payment-method input { display: none; }
.pm-content { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--gray-600); }
.pm-content i { font-size: 22px; color: var(--orange); }
.pm-icons { display: flex; gap: 10px; font-size: 24px; color: var(--gray-400); padding-top: 4px; }
.secure-badges {
  display: flex; gap: 16px; flex-wrap: wrap;
  padding: 16px 0; border-top: 1px solid var(--gray-200);
}
.secure-badges span {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--gray-400); font-weight: 700;
}
.secure-badges i { color: var(--orange); }

.empty-cart {
  flex-direction: column; align-items: center;
  justify-content: center; text-align: center;
  padding: 80px 20px; gap: 16px; color: var(--gray-400);
}
.empty-cart i { font-size: 76px; color: var(--gray-200); }
.empty-cart h3 { font-size: 22px; color: var(--gray-800); }

/* ── TEAM ─────────────────────────────────────────────────── */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.team-card {
  text-align: center; padding: 38px 24px;
  background: var(--off-white); border-radius: var(--radius-md);
  border: 1px solid var(--gray-200); transition: var(--transition);
}
.team-card:hover { box-shadow: var(--shadow-md); transform: translateY(-6px); border-color: var(--orange-light); }
.team-avatar {
  width: 84px; height: 84px;
  background: linear-gradient(135deg, var(--orange), var(--blue));
  border-radius: 50%; display: flex; align-items: center;
  justify-content: center; font-size: 34px; color: var(--white);
  margin: 0 auto 22px; transition: var(--transition);
}
.team-card:hover .team-avatar { transform: scale(1.1); box-shadow: var(--shadow-orange); }
.team-card h4 { font-size: 18px; font-weight: 700; color: var(--blue-dark); margin-bottom: 6px; }
.team-card span { font-size: 13px; color: var(--orange); font-weight: 600; display: block; margin-bottom: 12px; }
.team-card p { font-size: 14px; color: var(--gray-600); line-height: 1.7; }

/* ── STATS ────────────────────────────────────────────────── */
.stats-section {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 60%, #1a8ac4 100%);
  padding: 72px 0; position: relative; overflow: hidden;
}
.stats-section::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; z-index: 1; }
.stat-item {
  text-align: center; padding: 30px;
  border-right: 1px solid rgba(255,255,255,0.12);
}
.stat-item:last-child { border-right: none; }
.stat-item strong {
  display: block; font-family: var(--font-display);
  font-size: 42px; font-weight: 800;
  background: linear-gradient(135deg, var(--orange-light), #ffd080);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  animation: count-up 0.6s ease both;
}
.stat-item span { font-size: 14px; color: rgba(255,255,255,0.8); }

/* ── MODAL ────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,30,70,0.6);
  display: flex; align-items: center; justify-content: center;
  z-index: 9999; opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease; padding: 20px;
  backdrop-filter: blur(4px);
}
.modal-overlay.active { opacity: 1; pointer-events: all; }
.modal {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 42px; max-width: 500px; width: 100%;
  max-height: 90vh; overflow-y: auto;
  position: relative; box-shadow: var(--shadow-lg);
  transform: scale(0.92) translateY(20px);
  transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border-top: 4px solid var(--orange);
}
.modal-overlay.active .modal { transform: scale(1) translateY(0); }
.modal-close {
  position: absolute; top: 16px; right: 16px;
  background: var(--gray-100); border: none;
  width: 36px; height: 36px; border-radius: 50%;
  cursor: pointer; font-size: 16px; color: var(--gray-600);
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.modal-close:hover { background: var(--orange); color: var(--white); }
.modal h3 {
  font-family: var(--font-display); font-size: 22px;
  color: var(--blue-dark); margin-bottom: 6px;
}
.enquiry-product-name { font-size: 14px; color: var(--orange); font-weight: 700; margin-bottom: 22px; }
.modal-success { text-align: center; }
.success-icon { font-size: 76px; color: var(--orange); margin-bottom: 16px; }
.modal-success h3 { font-size: 26px; margin-bottom: 12px; }
.modal-success p { color: var(--gray-600); margin-bottom: 16px; line-height: 1.7; }
.success-order-id {
  background: var(--orange-pale); color: var(--orange-dark);
  padding: 10px 24px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 700; display: inline-block;
  border: 1px solid rgba(244,121,32,0.2);
}
.modal-wide { max-width: 680px; }

/* ── TOAST ────────────────────────────────────────────────── */
.toast {
  position: fixed; bottom: 30px; left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  color: var(--white); padding: 14px 26px;
  border-radius: 50px; font-size: 14px; font-weight: 600;
  display: flex; align-items: center; gap: 10px;
  box-shadow: var(--shadow-lg); z-index: 99999;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  white-space: nowrap; max-width: 90vw;
  border-left: 3px solid var(--orange);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast i { color: var(--orange-light); font-size: 17px; }
.toast-error { background: linear-gradient(135deg, #7f1d1d, #c62828); border-left-color: #fca5a5; }

/* ── SOCIAL LINKS ─────────────────────────────────────────── */
.social-links { display: flex; gap: 10px; flex-wrap: wrap; }
.social-links a {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--orange-pale); color: var(--orange);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; transition: var(--transition);
  border: 1px solid rgba(244,121,32,0.15);
}
.social-links a:hover {
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: var(--white); transform: translateY(-3px) scale(1.1);
  box-shadow: var(--shadow-orange);
}

/* ── FOOTER ───────────────────────────────────────────────── */
.footer {
  background: var(--blue-dark);
  color: rgba(255,255,255,0.75);
  padding-top: 72px;
  position: relative; overflow: hidden;
}
.footer::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--orange-light), var(--blue-mid), var(--orange));
  background-size: 300% auto;
  animation: shimmer 4s linear infinite;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 44px;
  padding-bottom: 52px;
  align-items: start;
}
/* Force horizontal even on mid-range screens */
@media (min-width: 769px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.5fr !important; }
}
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.footer-logo .logo-img { height: 42px; filter: brightness(0) invert(1); opacity: 0.9; }
.footer-logo .logo-name { font-size: 18px; font-weight: 800; }
.footer-logo .logo-dermo { color: var(--orange-light); }
.footer-logo .logo-rtho  { color: #ffffff; }
.footer-logo .logo-sub { font-size: 8px; letter-spacing: 2.5px; color: rgba(255,255,255,0.5); }
.footer-col h4 {
  font-size: 14px; font-weight: 700; color: var(--white);
  margin-bottom: 20px; padding-bottom: 10px;
  border-bottom: 1px solid rgba(244,121,32,0.3);
  display: flex; align-items: center; gap: 8px;
}
.footer-col h4::before {
  content: '';
  width: 3px; height: 14px;
  background: var(--orange);
  border-radius: 2px; display: inline-block;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 14px; color: rgba(255,255,255,0.65);
  transition: var(--transition); display: flex; align-items: center; gap: 6px;
}
.footer-col ul li a:hover { color: var(--orange-light); padding-left: 6px; }
.contact-list li {
  display: flex; align-items: flex-start;
  gap: 10px; font-size: 14px; color: rgba(255,255,255,0.65);
}
.contact-list li i { color: var(--orange-light); margin-top: 3px; flex-shrink: 0; }
.footer-col p { font-size: 14px; line-height: 1.8; }
.footer-col .social-links a { background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.65); border: 1px solid rgba(255,255,255,0.1); }
.footer-col .social-links a:hover { background: var(--orange); color: var(--white); border-color: var(--orange); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 22px 0;
}
.footer-bottom .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.4); }
.footer-bottom a { color: var(--orange-light); }
.footer-bottom a:hover { color: var(--white); }

/* ── SCROLL ANIMATIONS ────────────────────────────────────── */
.animate-in {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.4,0,0.2,1);
}
.animate-in.visible { opacity: 1; transform: translateY(0); }
.animate-in:nth-child(2) { transition-delay: 0.1s; }
.animate-in:nth-child(3) { transition-delay: 0.2s; }
.animate-in:nth-child(4) { transition-delay: 0.3s; }

/* ── PRODUCT ICON COLORS ──────────────────────────────────── */
.product-card-image .fa-syringe        { color: var(--blue); }
.product-card-image .fa-pills          { color: #7c3aed; }
.product-card-image .fa-soap           { color: var(--orange); }
.product-card-image .fa-flask          { color: var(--blue-mid); }
.product-card-image .fa-vial           { color: #0891b2; }
.product-card-image .fa-bottle-droplet { color: var(--orange); }

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .stat-item:last-child, .stat-item:nth-last-child(2) { border-bottom: none; }
}

@media (max-width: 768px) {
  .top-bar { display: none; }
  .menu-toggle { display: block; }
  .nav {
    display: none; position: absolute;
    top: 74px; left: 0; right: 0;
    background: var(--white); flex-direction: column;
    padding: 16px; box-shadow: var(--shadow-md); z-index: 999; gap: 4px;
    border-top: 2px solid var(--orange);
    animation: slide-in-nav 0.25s ease both;
  }
  .nav.open { display: flex; }
  .nav a { padding: 13px 16px; border-radius: var(--radius-sm); }
  .hero { min-height: 520px; }
  .hero-content { padding: 60px 20px 30px; }
  .about-grid, .mfg-grid, .mv-grid, .products-layout,
  .contact-grid, .checkout-layout, .product-detail-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .team-grid { grid-template-columns: 1fr; }
  .about-img-placeholder { height: 280px; font-size: 64px; }
  .about-badge { right: 0; bottom: -12px; }
  .mfg-img-placeholder { height: 240px; font-size: 64px; }
  .product-img-large { height: 300px; font-size: 80px; }
  .product-qty-row, .product-actions-secondary { flex-direction: column; }
  .product-actions-secondary .btn { width: 100%; }
  .form-row { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom .container { flex-direction: column; text-align: center; }
  .contact-form-box { padding: 26px; }
  .cart-section, .billing-section { padding: 24px; }
  .cart-item { grid-template-columns: 44px 1fr auto; gap: 10px; }
  .cart-item-qty { grid-column: 1 / -1; }
  .sidebar { position: static; }
}

@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .section { padding: 60px 0; }
  .hero-btns, .cta-btns { flex-direction: column; }
  .hero-btns .btn, .cta-btns .btn { width: 100%; justify-content: center; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .mfg-list { grid-template-columns: 1fr; }
  .tabs-nav { flex-direction: column; }
  .payment-method { padding: 12px; }
  .logo-img { height: 38px; }
  .logo-name { font-size: 17px; }
}

/* ── LOGO IMAGE FALLBACK (shows if logo.png not yet added) ── */
.logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  transition: var(--transition);
}
/* Hide broken image icon, keep layout clean */
.logo-img[src="images/logo.png"]:not([complete]) { display: none; }
img.logo-img { background: transparent; }

/* ============================================================
   ALIGNMENT FIXES — Full Site Audit
   ============================================================ */

/* ── HEADER — prevent overflow on mid-size screens ────────── */
.cart-btn { flex-shrink: 0; }
.btn-auth { padding: 7px 12px; font-size: 12.5px; }
.header-actions { flex-wrap: nowrap; }
.header .container { flex-wrap: nowrap; }

/* ── HERO — remove double horizontal padding ───────────────── */
.hero-content { padding: 80px 0 40px; max-width: 700px; }
.stat { text-align: center; flex: 1; min-width: 110px; }

/* ── ABOUT GRID — fix align + gap ─────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}
.about-image { position: relative; padding-bottom: 28px; }

/* ── MFG GRID — reduce gap ─────────────────────────────────── */
.mfg-grid { gap: 44px; }

/* ── PRODUCTS PAGE — sidebar max-height + scroll ───────────── */
.sidebar {
  position: sticky;
  top: 90px;
  max-height: calc(100vh - 110px);
  overflow-y: auto;
}
/* Products grid inside sidebar layout — 2-col always */
.products-main .products-grid { grid-template-columns: repeat(2, 1fr); }

/* ── CONTACT — contain hover transform ─────────────────────── */
.contact-cards { overflow: hidden; }
.map-placeholder { gap: 16px; padding: 28px 20px; }
.contact-form-box { padding: 36px; }

/* ── FORMS ─────────────────────────────────────────────────── */
.form-group label { font-size: 13px; }
.form-group select { min-width: 0; }

/* ── CHECKOUT — cart item grid ─────────────────────────────── */
.cart-section, .billing-section { overflow: hidden; }

.cart-totals { padding: 16px 18px; }

.total-final {
  border-top: 2px solid var(--orange-pale);
  border-bottom: none;
  padding-top: 14px;
  margin-top: 4px;
}

/* Payment icons wrap */
.pm-icons { flex-wrap: wrap; }

/* Secure badges centered */
.secure-badges { justify-content: center; }

/* ── TOAST — safe area ─────────────────────────────────────── */
.toast { bottom: 48px; }

/* ── MODAL — smooth border entrance ───────────────────────── */
.modal { border-top: 4px solid var(--orange); }

/* ── FOOTER — remove !important, auto-fill columns ─────────── */
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 44px;
  padding-bottom: 52px;
  align-items: start;
}

/* ── PRODUCT DETAIL TABS — mobile vertical style ───────────── */
@media (max-width: 480px) {
  .tabs-nav {
    border-bottom: none;
    border-left: 2px solid var(--gray-200);
    flex-direction: column;
  }
  .tab-btn {
    border-radius: 0;
    text-align: left;
    border-left: 3px solid transparent;
    margin-left: -2px;
    padding: 10px 16px;
  }
  .tab-btn.active {
    border-left-color: var(--orange);
    background: var(--orange-pale);
  }
  .tab-btn.active::after { display: none; }
  .product-qty-row .btn { flex: 1; }
  .product-card-footer { flex-wrap: wrap; }
  .product-card-footer .btn { min-width: 120px; }
}

/* ── RESPONSIVE BREAKPOINTS — comprehensive fixes ──────────── */

/* Large tablet: 1025 → 1200px */
@media (max-width: 1100px) {
  .products-layout { grid-template-columns: 240px 1fr; gap: 24px; }
  .products-main .products-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Tablet landscape: 860 → 1024px */
@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .stat-item:last-child,
  .stat-item:nth-last-child(2) { border-bottom: none; }
}

/* Tablet portrait: 860px — collapse mv-grid */
@media (max-width: 860px) {
  .mv-grid { grid-template-columns: repeat(2, 1fr); }
  .mfg-grid { grid-template-columns: 1fr; }
  .mfg-img-placeholder { height: 220px; }
  .contact-form-box { padding: 26px; }
  .about-grid { gap: 32px; }
}

/* Mobile: ≤768px */
@media (max-width: 768px) {
  .top-bar { display: none; }
  .menu-toggle { display: block; }

  .nav {
    display: none;
    position: absolute;
    top: 74px; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 16px;
    box-shadow: var(--shadow-md);
    z-index: 999; gap: 4px;
    border-top: 2px solid var(--orange);
    animation: slide-in-nav 0.25s ease both;
  }
  .nav.open { display: flex; }
  .nav a { padding: 13px 16px; border-radius: var(--radius-sm); }

  .hero { min-height: 520px; }
  .hero-content { padding: 60px 0 30px; }

  .about-grid,
  .contact-grid,
  .checkout-layout,
  .product-detail-grid { grid-template-columns: 1fr; }

  .products-layout { grid-template-columns: 1fr; gap: 20px; }
  .sidebar { position: static; max-height: none; overflow-y: visible; }
  .products-main .products-grid { grid-template-columns: repeat(2, 1fr); }

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

  .about-img-placeholder { height: 280px; font-size: 64px; }
  .about-img-placeholder.large { height: 300px; }
  .about-badge { right: 0; bottom: -12px; }
  .mfg-img-placeholder { height: 220px; font-size: 56px; }
  .product-img-large { height: 280px; font-size: 72px; }

  .product-qty-row { flex-direction: column; align-items: stretch; }
  .product-actions-secondary { flex-direction: column; }
  .product-actions-secondary .btn { width: 100%; }

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

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

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

  .footer-bottom .container { flex-direction: column; text-align: center; }

  /* Checkout cart item — clean 2-column grid */
  .cart-section, .billing-section { padding: 20px; }

  .cart-item {
    display: grid;
    grid-template-columns: 48px 1fr 36px;
    grid-template-rows: auto auto;
    gap: 8px 12px;
    align-items: start;
    padding: 14px 0;
  }
  .cart-item-icon { grid-column: 1; grid-row: 1 / 3; align-self: center; }
  .cart-item-info { grid-column: 2; grid-row: 1; }
  .cart-item-price { grid-column: 2; grid-row: 2; font-size: 15px; }
  .cart-item-qty { grid-column: 1 / 3; grid-row: 3; }
  .cart-remove { grid-column: 3; grid-row: 1; justify-self: end; }

  .checkout-layout { gap: 20px; }
  .cart-totals { padding: 14px; }

  .payment-methods { gap: 10px; }
  .pm-content { gap: 8px; font-size: 13px; }
  .pm-icons { font-size: 20px; gap: 8px; }
}

/* Mobile small: ≤480px */
@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .mv-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }

  .section { padding: 56px 0; }

  .hero-btns { flex-direction: column; }
  .hero-btns .btn { width: 100%; justify-content: center; }
  .cta-btns { flex-direction: column; }
  .cta-btns .btn { width: 100%; }

  .stats-grid { grid-template-columns: 1fr 1fr; }
  .mfg-list { grid-template-columns: 1fr; }

  .logo-img { height: 38px; }
  .logo-name { font-size: 16px; }

  .hero-content h1 { font-size: 28px; }
  .hero-content p  { font-size: 15px; }

  .cart-section, .billing-section { padding: 16px; }
  .contact-form-box { padding: 18px; }

  .product-detail-grid { gap: 24px; }
  .product-img-large { height: 220px; font-size: 60px; }
}

/* Remove the broken !important override */
@media (min-width: 769px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.5fr; }
}
