/* ==========================================================================
   ORENDA PHARMACEUTICALS - CORPORATE DESIGN SYSTEM & STYLESHEET
   Brand: Orenda | Erbil, Iraq
   Aesthetic: Modern, High-Precision Healthcare, Glassmorphic Accents
   ========================================================================== */

/* 1. TYPOGRAPHY & DESIGN TOKENS */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  /* Brand Colors (derived from Orenda typography and landscape tones) */
  --primary: #8E235E;
  --primary-dark: #63123E;
  --primary-deep: #480A2B;
  --primary-light: #B23479;
  --primary-soft: rgba(142, 35, 94, 0.08);
  --primary-glow: rgba(142, 35, 94, 0.25);
  --primary-gradient: linear-gradient(135deg, #8E235E 0%, #63123E 100%);
  --hero-overlay: linear-gradient(135deg, rgba(82, 13, 51, 0.88) 0%, rgba(15, 23, 42, 0.85) 100%);

  /* Neutrals & Medical Surfaces */
  --bg-body: #FFFFFF;
  --bg-surface: #F8FAFC;
  --bg-surface-elevated: #FFFFFF;
  --bg-card: #FFFFFF;
  --bg-dark: #090E17;
  --border-color: #E2E8F0;
  --border-light: #F1F5F9;

  /* Typography */
  --font-main: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --text-main: #0F172A;
  --text-muted: #475569;
  --text-light: #94A3B8;
  --text-white: #FFFFFF;

  /* Accent Colors */
  --whatsapp: #25D366;
  --whatsapp-dark: #1EBE5D;
  --whatsapp-glow: rgba(37, 211, 102, 0.35);
  --accent-teal: #0D9488;
  --accent-gold: #D97706;

  /* Elevations & Shadows */
  --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 2px 4px 0 rgba(15, 23, 42, 0.06);
  --shadow-md: 0 6px 16px -2px rgba(15, 23, 42, 0.08), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 12px 32px -4px rgba(15, 23, 42, 0.12), 0 4px 12px -2px rgba(15, 23, 42, 0.05);
  --shadow-xl: 0 24px 48px -12px rgba(142, 35, 94, 0.18);
  --shadow-glow: 0 0 24px rgba(142, 35, 94, 0.3);

  /* Dimensions & Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  --header-height: 80px;
  --container-max: 1240px;

  /* Transitions */
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 2. BASE RESETS & GLOBAL STYLES */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* 3. HEADER & STICKY NAVIGATION */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  z-index: 1000;
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-sm);
  height: 72px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  transition: transform var(--transition-fast);
}

.brand-logo:hover {
  transform: translateY(-1px);
}

.brand-logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

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

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-muted);
  position: relative;
  padding: 8px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--primary);
  border-radius: var(--radius-full);
  transition: width var(--transition-normal);
}

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

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

.nav-link.active {
  color: var(--primary);
}

.header-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-header-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--primary-soft);
  color: var(--primary);
  border: 1px solid rgba(142, 35, 94, 0.2);
  padding: 10px 18px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.88rem;
  transition: all var(--transition-normal);
}

.btn-header-whatsapp:hover {
  background-color: var(--primary);
  color: var(--text-white);
  border-color: var(--primary);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(142, 35, 94, 0.2);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  padding: 8px;
}

.mobile-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--text-main);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

/* 4. HERO SECTION */
.hero-section {
  position: relative;
  min-height: 92vh;
  margin-top: 0;
  padding-top: calc(var(--header-height) + 40px);
  padding-bottom: 80px;
  background-image: url('images/branding/hero-bg.webp');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  color: var(--text-white);
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--hero-overlay);
  backdrop-filter: blur(2px);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 6px 18px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #F8FAFC;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background-color: #34D399;
  border-radius: 50%;
  box-shadow: 0 0 8px #34D399;
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  color: #FFFFFF;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-title span {
  background: linear-gradient(120deg, #FFFFFF 30%, #FBCFE8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 36px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--primary-gradient);
  color: var(--text-white);
  padding: 14px 30px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 1rem;
  box-shadow: var(--shadow-xl);
  transition: all var(--transition-normal);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(142, 35, 94, 0.4);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--text-white);
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 1rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: all var(--transition-normal);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

/* Hero Frosted Agency Strip */
.hero-agencies-card {
  position: relative;
  z-index: 2;
  margin-top: 20px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-xl);
  padding: 24px 32px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.hero-agencies-title {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 20px;
  font-weight: 700;
}

.hero-agencies-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: center;
}

.hero-agency-item {
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 72px;
  transition: all var(--transition-normal);
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.hero-agency-item:hover {
  background: #FFFFFF;
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  border-color: var(--primary);
}

.hero-agency-item img {
  max-height: 44px;
  max-width: 100%;
  object-fit: contain;
  filter: contrast(105%);
}

/* 5. ABOUT SECTION (Corporate & Mission) */
.section-about {
  padding: 100px 0;
  background-color: var(--bg-surface);
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px auto;
}

.section-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background-color: var(--primary-soft);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--text-main);
  margin-bottom: 18px;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}

.about-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.about-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(142, 35, 94, 0.3);
}

.about-icon {
  width: 56px;
  height: 56px;
  background: var(--primary-soft);
  color: var(--primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 1.5rem;
}

.about-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 14px;
}

.about-card p {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.65;
}

.about-banner {
  margin-top: 48px;
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  color: var(--text-white);
  border-radius: var(--radius-xl);
  padding: 40px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border-left: 6px solid var(--primary);
}

.about-banner-text h4 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.about-banner-text p {
  color: #94A3B8;
  font-size: 1rem;
}

.about-banner-stats {
  display: flex;
  gap: 40px;
}

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

.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1;
}

.stat-number span {
  color: var(--primary-light);
}

.stat-label {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #94A3B8;
  margin-top: 6px;
}

/* 6. CATALOG & PRODUCTS SECTION */
.section-catalog {
  padding: 100px 0;
  background-color: var(--bg-body);
}

.catalog-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 40px;
}

.catalog-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
  background: var(--bg-surface);
  padding: 8px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
}

.filter-btn {
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.7);
}

.filter-btn.active {
  background: var(--primary-gradient);
  color: var(--text-white);
  box-shadow: 0 4px 12px rgba(142, 35, 94, 0.25);
}

.catalog-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.92rem;
  color: var(--text-muted);
}

.catalog-count strong {
  color: var(--primary);
}

/* Product Cards Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 36px;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  position: relative;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(142, 35, 94, 0.25);
}

.product-card-img-wrapper,
.product-card-image,
.card-image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid var(--border-light);
  padding: 24px;
}

.product-card-img-wrapper img,
.product-card-image img,
.card-image-wrap img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  transition: transform var(--transition-smooth);
}

.product-card:hover .product-card-img-wrapper img,
.product-card:hover .product-card-image img,
.product-card:hover .card-image-wrap img {
  transform: scale(1.05);
}

.product-brand-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border-color);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--primary);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: var(--shadow-xs);
  z-index: 2;
}

.product-brand-dot {
  width: 6px;
  height: 6px;
  background-color: var(--primary);
  border-radius: 50%;
}

.product-card-body {
  padding: 22px 24px 24px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}

.product-card-title {
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.35;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  border-top: 1px solid var(--border-light);
  padding-top: 16px;
}

.btn-card-details {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--primary);
  transition: all var(--transition-fast);
}

.btn-card-details:hover {
  color: var(--primary-dark);
  gap: 12px;
}

/* Fallback SVG styling for missing product image */
.product-image-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--primary-light);
  background: linear-gradient(135deg, rgba(142, 35, 94, 0.04) 0%, rgba(248, 250, 252, 0.8) 100%);
}

.product-image-fallback svg {
  width: 52px;
  height: 52px;
  opacity: 0.7;
  margin-bottom: 8px;
}

.product-image-fallback span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-light);
}

/* Pagination Controls */
.catalog-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 56px;
}

.pagination-btn {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.pagination-btn:hover:not(:disabled) {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-soft);
}

.pagination-btn.active {
  background: var(--primary-gradient);
  border-color: var(--primary);
  color: var(--text-white);
  box-shadow: 0 4px 10px rgba(142, 35, 94, 0.25);
}

.pagination-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  border-color: var(--border-light);
}

.pagination-arrow {
  width: auto;
  padding: 0 16px;
  gap: 6px;
}

/* Empty Catalog State */
.catalog-empty-state {
  text-align: center;
  padding: 64px 24px;
  grid-column: 1 / -1;
}

.empty-icon {
  width: 64px;
  height: 64px;
  background: var(--primary-soft);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px auto;
  font-size: 1.8rem;
}

.catalog-empty-state h3 {
  font-size: 1.3rem;
  color: var(--text-main);
  margin-bottom: 8px;
}

.catalog-empty-state p {
  color: var(--text-muted);
}

/* 7. CONTACT & FOOTER */
.site-footer {
  background: var(--bg-dark);
  color: #94A3B8;
  padding-top: 80px;
  border-top: 1px solid #1E293B;
  position: relative;
}

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

.footer-brand img {
  height: 48px;
  width: auto;
  margin-bottom: 20px;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #94A3B8;
  max-width: 320px;
}

.footer-col h4 {
  color: var(--text-white);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

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

.footer-links a {
  color: #94A3B8;
  font-size: 0.95rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--text-white);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.footer-contact-item svg {
  color: var(--primary-light);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-contact-item strong {
  display: block;
  color: var(--text-white);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}

.footer-bottom {
  padding: 30px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.88rem;
  color: #64748B;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom a {
  color: #94A3B8;
}

.footer-bottom a:hover {
  color: var(--text-white);
}

/* 8. FLOATING WHATSAPP BUTTON (Discreet & Minimalist Circular Icon) */
.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: var(--whatsapp);
  color: var(--text-white);
  border-radius: 50%;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  transition: transform var(--transition-fast), background-color var(--transition-fast), box-shadow var(--transition-fast);
  text-decoration: none;
}

.floating-whatsapp:hover {
  background: var(--whatsapp-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
  color: var(--text-white);
}

.floating-whatsapp svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.floating-whatsapp .pulse-ring,
.floating-whatsapp span {
  display: none;
}

/* 9. PRODUCT DETAILS PAGE SPECIFIC STYLING */
.product-detail-view {
  padding-top: calc(var(--header-height) + 36px);
  padding-bottom: 90px;
  background-color: var(--bg-surface);
  min-height: 85vh;
}

.detail-nav-bar {
  margin-bottom: 32px;
}

.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 8px 16px;
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.btn-back:hover {
  color: var(--primary);
  border-color: var(--primary);
  transform: translateX(-3px);
}

.product-detail-layout {
  display: grid;
  grid-template-columns: 460px 1fr;
  gap: 48px;
  align-items: start;
}

.detail-gallery-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 32px;
  position: sticky;
  top: calc(var(--header-height) + 30px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 1 / 1;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.detail-gallery-card img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  transition: transform var(--transition-normal);
}

.detail-gallery-card:hover img {
  transform: scale(1.03);
}

.detail-info-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 44px;
  box-shadow: var(--shadow-sm);
}

.detail-agency-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}

.detail-agency-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-soft);
  color: var(--primary);
  border: 1px solid rgba(142, 35, 94, 0.18);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.detail-agency-logo-thumb {
  height: 32px;
  width: auto;
  object-fit: contain;
}

.detail-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.detail-category-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.detail-box-container {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 30px;
  margin-bottom: 32px;
}

.detail-box-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 12px;
}

.detail-box-text {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.8;
  white-space: pre-line;
}

.detail-actions-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 10px;
}

.detail-buttons-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-whatsapp,
.btn-whatsapp-inquire {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--whatsapp);
  color: var(--text-white);
  padding: 11px 22px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  max-width: 280px;
  width: auto;
  box-shadow: 0 4px 14px var(--whatsapp-glow);
  transition: all var(--transition-fast);
  text-decoration: none;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.btn-whatsapp:hover,
.btn-whatsapp-inquire:hover {
  background: var(--whatsapp-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px var(--whatsapp-glow);
  color: var(--text-white);
}

.btn-whatsapp svg,
.btn-whatsapp-inquire svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
  flex-shrink: 0;
}

.btn-share-product {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #FFFFFF;
  color: var(--text-main);
  border: 1.5px solid var(--border-color);
  padding: 11px 22px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  max-width: 280px;
  width: auto;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
  cursor: pointer;
  text-decoration: none;
  font-family: inherit;
  white-space: nowrap;
}

.btn-share-product:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-soft);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-share-product.copied {
  background: #ECFDF5;
  border-color: #10B981;
  color: #059669;
}

.btn-share-product svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.btn-share-product:hover svg {
  transform: scale(1.1);
}

/* Toast Notification for Clipboard Feedback */
.orenda-toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(30px);
  background: rgba(15, 23, 42, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #FFFFFF;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-size: 0.92rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.12);
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.orenda-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.orenda-toast svg {
  color: #34D399;
  flex-shrink: 0;
}

.detail-support-note {
  font-size: 0.88rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* 10. RESPONSIVE BREAKPOINTS */
@media (max-width: 1024px) {
  .hero-agencies-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

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

  .product-detail-layout {
    grid-template-columns: 1fr;
  }

  .detail-gallery-card {
    position: static;
    max-width: 480px;
    margin: 0 auto;
    width: 100%;
    aspect-ratio: 1 / 1;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }

  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 30px;
    gap: 20px;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    transform: translateY(-150%);
    opacity: 0;
    transition: all var(--transition-normal);
    pointer-events: none;
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-toggle {
    display: flex;
  }

  .header-cta-group .btn-header-whatsapp {
    display: none;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-agencies-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .hero-agency-item {
    height: 60px;
    padding: 10px 14px;
  }

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

  .about-banner {
    flex-direction: column;
    text-align: center;
    padding: 30px 24px;
  }

  .about-banner-stats {
    justify-content: center;
    width: 100%;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

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

  .detail-info-card {
    padding: 24px;
  }

  .detail-buttons-row {
    gap: 10px;
  }

  .btn-whatsapp,
  .btn-whatsapp-inquire,
  .btn-share-product {
    flex: 1 1 auto;
    justify-content: center;
    max-width: 100%;
  }
}
