/* ==========================================================================
   Kamagra Beograd - Ultra-Premium 2026 Design System
   Primary Accent Color: #a0d3d2
   ========================================================================== */

:root {
  /* Color Palette */
  --primary: #a0d3d2;
  --primary-dark: #6eb7b5;
  --primary-deep: #2c8583;
  --primary-light: #eaf6f6;
  --primary-glow: rgba(160, 211, 210, 0.45);

  --slate-950: #070c18;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50:  #f8fafc;

  --emerald: #10b981;
  --emerald-dark: #059669;
  --emerald-glow: rgba(16, 185, 129, 0.25);
  --email-color: #c71610;
  --amber: #f59e0b;
  --rose: #f43f5e;
  --surface-card: #ffffff;
  --border-color: #e2e8f0;

  /* Typography */
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-display: 'Outfit', sans-serif;

  /* Shadows & Glassmorphic Effects */
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-sm: 0 2px 8px -2px rgba(15, 23, 42, 0.06), 0 1px 4px -1px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 8px 20px -4px rgba(15, 23, 42, 0.08), 0 4px 8px -2px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 20px 35px -8px rgba(15, 23, 42, 0.12), 0 8px 16px -4px rgba(15, 23, 42, 0.06);
  --shadow-glow: 0 0 30px rgba(160, 211, 210, 0.5);
  
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --transition-fast: 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Bulletproof Mobile Horizontal Overflow Prevention */
html, body {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden !important;
  position: relative;
  margin: 0;
  padding: 0;
  -webkit-text-size-adjust: 100%;
}

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  background-color: var(--slate-50);
  color: var(--slate-800);
  line-height: 1.6;
  padding-bottom: 76px;
}

@media (min-width: 992px) {
  body {
    padding-bottom: 0;
  }
}

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

img, video, iframe, object, embed, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input, select, textarea {
  font: inherit;
  max-width: 100%;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  box-sizing: border-box;
}

/* Top Bar */
.top-bar {
  background: var(--slate-950);
  color: #ffffff;
  font-size: 0.84rem;
  font-weight: 600;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  width: 100%;
  overflow: hidden;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.top-bar .highlight {
  color: var(--primary);
  font-weight: 800;
}

.top-bar-contact {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}

.top-bar-contact a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: rgba(255, 255, 255, 0.9);
}
.top-bar-contact a:hover {
  color: var(--primary);
}

/* Glassmorphic Sticky Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 9999 !important;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(160, 211, 210, 0.3);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  width: 100%;
  overflow: visible !important;
}

.site-header .container {
  overflow: visible !important;
  overflow-x: visible !important;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 74px;
  position: relative;
  overflow: visible !important;
}

/* Logo Image Styling - ONLY LOGO IMAGE */
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.site-logo-img {
  height: 52px;
  max-height: 52px;
  width: auto;
  object-fit: contain;
  display: block;
}

.site-footer .site-logo-img {
  height: 56px;
  max-height: 56px;
  background: #ffffff;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
}

/* Desktop Navigation */
.main-nav {
  display: none;
  overflow: visible !important;
}

@media (min-width: 992px) {
  .main-nav {
    display: flex;
    align-items: center;
    gap: 1.75rem;
  }
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--slate-700);
  padding: 1rem 0;
  position: relative;
  display: inline-flex;
  align-items: center;
}

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

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--primary-dark);
  border-radius: 3px;
}

/* Dropdown Navigation Fixes */
.nav-dropdown-wrapper {
  position: relative;
  overflow: visible !important;
  z-index: 10000;
}

.nav-dropdown-wrapper:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 320px;
  width: max-content;
  max-width: 400px;
  background: #ffffff;
  border-radius: var(--radius-md);
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.15);
  border: 1px solid var(--border-color);
  padding: 0.6rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-fast);
  z-index: 100000 !important;
  pointer-events: none;
}

.dropdown-item {
  display: block;
  padding: 0.8rem 1.35rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--slate-700);
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.dropdown-item:hover {
  background: var(--primary-light);
  color: var(--primary-deep);
  padding-left: 1.65rem;
}

/* Buttons */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

@media (max-width: 991.98px) {
  .header-actions .desktop-only { display: none !important; }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.7rem 1.35rem;
  font-size: 0.925rem;
  font-weight: 800;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
  white-space: nowrap;
  max-width: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--slate-950);
  box-shadow: 0 4px 15px rgba(160, 211, 210, 0.5);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
  filter: brightness(1.05);
}

.btn-dark {
  background: var(--slate-900);
  color: #ffffff;
}

.btn-dark:hover {
  background: var(--slate-800);
  transform: translateY(-1px);
}

.btn-emerald {
  background: var(--emerald);
  color: #ffffff;
  box-shadow: 0 4px 12px var(--emerald-glow);
}

.btn-emerald:hover {
  background: var(--emerald-dark);
  transform: translateY(-1px);
}

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

.btn-outline:hover {
  border-color: var(--primary-dark);
  background: var(--primary-light);
  color: var(--primary-deep);
}

.btn-sm {
  padding: 0.48rem 1rem;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 0.9rem 1.85rem;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

.w-100 { width: 100%; }

/* Mobile Menu Toggle */
.mobile-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--slate-100);
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  color: var(--slate-900);
}

@media (min-width: 992px) {
  .mobile-toggle {
    display: none;
  }
}

/* Mobile Nav Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 340px;
  height: 100vh;
  background: #ffffff;
  z-index: 200000;
  box-shadow: var(--shadow-lg);
  transition: right var(--transition-normal);
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  overflow-y: auto;
  box-sizing: border-box;
}

.mobile-drawer.active {
  right: 0;
}

.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  z-index: 199999;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
}

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

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.drawer-close {
  background: none;
  border: none;
  font-size: 1.75rem;
  cursor: pointer;
  color: var(--slate-600);
}

.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.drawer-nav-item {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--slate-800);
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--slate-100);
}

.drawer-subnav {
  padding-left: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 0.35rem;
}

.drawer-subnav a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--slate-600);
}

/* Floating Bottom Mobile Action Bar */
.mobile-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100vw;
  max-width: 100%;
  height: 68px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1500;
  padding: 0;
  box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.08);
  box-sizing: border-box;
}

@media (min-width: 992px) {
  .mobile-bottom-bar {
    display: none;
  }
}

.mobile-bottom-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  flex: 1;
  height: 100%;
  color: var(--slate-700);
  font-size: 0.73rem;
  font-weight: 800;
  background: none;
  border: none;
  cursor: pointer;
  min-width: 0;
  overflow-wrap: break-word;
  word-break: break-word;
}

.mobile-bottom-item svg {
  width: 22px;
  height: 22px;
}

.mobile-bottom-item.btn-order-cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--slate-950);
  border-radius: var(--radius-md);
  height: 50px;
  margin: 0 4px;
  font-size: 0.78rem;
  box-shadow: 0 4px 12px rgba(160, 211, 210, 0.5);
  white-space: normal;
  line-height: 1.2;
  min-width: 0;
  overflow-wrap: break-word;
  word-break: break-word;
}

.mobile-bottom-item.email-link {
  color: var(--email-color);
}

/* Hero Section */
.hero {
  position: relative;
  background: linear-gradient(135deg, #ffffff 0%, var(--primary-light) 40%, #eef7f7 100%);
  padding: 2.5rem 0 3.5rem 0;
  overflow: hidden;
  width: 100%;
  z-index: 1;
}

.hero::after {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(160, 211, 210, 0.35);
  color: var(--slate-900);
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.84rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(160, 211, 210, 0.7);
  max-width: 100%;
}

.hero-title {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 900;
  line-height: 1.15;
  color: var(--slate-900);
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  word-break: break-word;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3.4rem;
  }
}

.hero-title .highlight {
  color: var(--primary-deep);
  position: relative;
  display: inline-block;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--slate-600);
  margin-bottom: 1.75rem;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
  width: 100%;
}

@media (min-width: 576px) {
  .hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

.hero-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 0.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--slate-700);
}

.hero-feature-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--emerald);
  box-shadow: var(--shadow-xs);
  flex-shrink: 0;
}

/* Hero Media Image Card */
.hero-media {
  position: relative;
  width: 100%;
}

.hero-img-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #ffffff;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  width: 100%;
}

.hero-img {
  width: 100%;
  border-radius: var(--radius-md);
  object-fit: cover;
}

/* Clear, High-Converting Hero Price Card */
.hero-float-card {
  position: relative;
  margin-top: 1rem;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 2px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  width: 100%;
  box-sizing: border-box;
}

@media (min-width: 576px) {
  .hero-float-card {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    margin-top: 0;
    width: auto;
  }
}

.hero-float-card .price-tag {
  display: flex;
  flex-direction: column;
}

.hero-float-card .price-title {
  font-size: 0.72rem;
  font-weight: 900;
  color: var(--slate-500);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hero-float-card .price-amount {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--slate-900);
}

/* Flavors Pill Bar (Voćni ukusi) */
.flavor-pill-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.75rem;
  width: 100%;
}

.flavor-pill {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--border-color);
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--slate-700);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  box-shadow: var(--shadow-xs);
}

/* Action Timeline Infographic (Kako deluje za 15 min) */
.timeline-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
  width: 100%;
}

@media (min-width: 768px) {
  .timeline-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.timeline-step {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: all var(--transition-fast);
  width: 100%;
  box-sizing: border-box;
}

.timeline-step:hover {
  transform: translateY(-4px);
  border-color: var(--primary-dark);
  box-shadow: var(--shadow-md);
}

.timeline-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--primary-light);
  color: var(--primary-deep);
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.1rem;
  margin-bottom: 0.85rem;
  border: 1px solid var(--primary);
}

.timeline-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--slate-900);
  margin-bottom: 0.5rem;
}

.timeline-desc {
  font-size: 0.9rem;
  color: var(--slate-600);
  line-height: 1.55;
}

/* Section Header */
.section-header {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 2.5rem auto;
  width: 100%;
}

.section-tag {
  display: inline-block;
  color: var(--primary-deep);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.4rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 900;
  color: var(--slate-900);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
  word-break: break-word;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.6rem;
  }
}

.section-subtitle {
  font-size: 0.98rem;
  color: var(--slate-600);
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  width: 100%;
}

@media (min-width: 576px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1200px) {
  .products-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Product Card */
.product-card {
  background: var(--surface-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  position: relative;
  width: 100%;
  box-sizing: border-box;
}

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

.product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 10;
  background: var(--rose);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 900;
  padding: 0.28rem 0.65rem;
  border-radius: var(--radius-sm);
  box-shadow: 0 3px 10px rgba(244, 63, 94, 0.4);
}

.product-img-container {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--slate-100);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.product-card:hover .product-img-container img {
  transform: scale(1.06);
}

.product-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-category {
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--slate-400);
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}

.product-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--slate-900);
  line-height: 1.3;
  margin-bottom: 0.5rem;
}

.product-desc {
  font-size: 0.88rem;
  color: var(--slate-600);
  margin-bottom: 1.15rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-footer {
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid var(--slate-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.product-price {
  display: flex;
  flex-direction: column;
}

.price-old {
  font-size: 0.78rem;
  color: var(--slate-400);
  text-decoration: line-through;
}

.price-current {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--slate-900);
}

/* Pricing Tiers Table Component */
.pricing-tier-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.35rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
  width: 100%;
  box-sizing: border-box;
}

.pricing-tier-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--slate-900);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.tier-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 0.65rem;
  width: 100%;
}

.tier-item {
  background: var(--slate-50);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0.75rem;
  text-align: center;
  transition: all var(--transition-fast);
  box-sizing: border-box;
}

.tier-item.popular {
  background: var(--primary-light);
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.tier-qty {
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--slate-700);
}

.tier-price {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--slate-900);
}

/* FAQ Accordion */
.faq-accordion {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  width: 100%;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-fast);
  width: 100%;
  box-sizing: border-box;
}

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

.faq-question {
  width: 100%;
  padding: 1.15rem 1.25rem;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--slate-900);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  gap: 0.5rem;
}

.faq-icon {
  width: 22px;
  height: 22px;
  transition: transform var(--transition-fast);
  color: var(--slate-500);
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: var(--primary-deep);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0, 1, 0, 1);
}

.faq-answer-inner {
  padding: 0 1.25rem 1.15rem 1.25rem;
  font-size: 0.95rem;
  color: var(--slate-600);
  line-height: 1.65;
}

/* Blog Cards */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  width: 100%;
}

@media (min-width: 768px) {
  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.blog-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-fast);
  width: 100%;
  box-sizing: border-box;
}

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

.blog-card-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.blog-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-meta {
  font-size: 0.78rem;
  color: var(--slate-400);
  margin-bottom: 0.4rem;
  font-weight: 700;
}

.blog-card-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--slate-900);
  margin-bottom: 0.65rem;
  line-height: 1.35;
}

.blog-card-excerpt {
  font-size: 0.88rem;
  color: var(--slate-600);
  margin-bottom: 1.15rem;
  flex-grow: 1;
}

/* Content Page Formatting */
.content-wrapper {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 1.5rem 1.15rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 3rem;
  width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

@media (min-width: 768px) {
  .content-wrapper {
    padding: 3.75rem;
  }
}

.article-header {
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--slate-100);
}

.article-title {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 900;
  color: var(--slate-900);
  line-height: 1.2;
  margin-bottom: 0.85rem;
  word-break: break-word;
}

@media (min-width: 768px) {
  .article-title {
    font-size: 2.35rem;
  }
}

.article-meta {
  display: flex;
  gap: 0.65rem;
  font-size: 0.84rem;
  color: var(--slate-500);
  font-weight: 700;
  flex-wrap: wrap;
}

.article-content {
  font-size: 0.98rem;
  line-height: 1.8;
  color: var(--slate-700);
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.article-content h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--slate-900);
  margin: 2rem 0 0.85rem 0;
  word-break: break-word;
}

.article-content h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--slate-900);
  margin: 1.5rem 0 0.65rem 0;
  word-break: break-word;
}

.article-content p {
  margin-bottom: 1.25rem;
}

.article-content ul, .article-content ol {
  margin-bottom: 1.35rem;
  padding-left: 1.25rem;
}

.article-content li {
  margin-bottom: 0.45rem;
}

.cta-box {
  background: linear-gradient(135deg, var(--primary-light) 0%, #ffffff 100%);
  border: 2px solid var(--primary);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.15rem;
  text-align: center;
  margin: 2rem 0;
  box-shadow: var(--shadow-sm);
  width: 100%;
  box-sizing: border-box;
}

.cta-box h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 900;
  margin-bottom: 0.65rem;
}

/* Order Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(7, 12, 24, 0.75);
  backdrop-filter: blur(8px);
  z-index: 300000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
}

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

.modal-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 500px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: translateY(24px);
  transition: transform var(--transition-normal);
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.modal-backdrop.active .modal-card {
  transform: translateY(0);
}

.modal-header {
  background: var(--slate-950);
  color: #ffffff;
  padding: 1.15rem 1.35rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
}

.modal-close {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1.75rem;
  cursor: pointer;
  opacity: 0.8;
}
.modal-close:hover { opacity: 1; }

.modal-body {
  padding: 1.35rem;
  overflow-y: auto;
}

.form-group {
  margin-bottom: 1.15rem;
}

.form-label {
  display: block;
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--slate-700);
  margin-bottom: 0.35rem;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--slate-50);
  color: var(--slate-900);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
  box-sizing: border-box;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--primary-dark);
  background: #ffffff;
  box-shadow: 0 0 0 3px var(--primary-glow);
}

/* Site Footer */
.site-footer {
  background: var(--slate-950);
  color: var(--slate-400);
  padding: 3.5rem 0 2rem 0;
  margin-top: 3.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  width: 100%;
  overflow: hidden;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-title {
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  font-size: 0.88rem;
}

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

.footer-bottom {
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.84rem;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
  }
}

/* SEO Content Section */
.seo-block {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 1.75rem 1.25rem;
  margin: 2.5rem 0;
  box-shadow: var(--shadow-sm);
  width: 100%;
  box-sizing: border-box;
}

.seo-block h2 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 900;
  color: var(--slate-900);
  margin-bottom: 0.85rem;
}

.seo-block p {
  color: var(--slate-600);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 0.85rem;
}

/* Breadcrumbs */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.84rem;
  color: var(--slate-500);
  margin: 1.25rem 0;
  flex-wrap: wrap;
  font-weight: 600;
}

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

.breadcrumbs span {
  color: var(--slate-400);
}

/* ==========================================================================
   Product Detail Page - E-commerce Redesign
   (Compact pharmacy/drogerija style with gallery + buy box)
   ========================================================================== */

.product-page {
  margin-top: 2rem;
}

/* Two-column layout: gallery left (~40%) + info card right (~60%) */
.product-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  margin-bottom: 3.5rem;
}

@media (min-width: 992px) {
  .product-layout {
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    gap: 2.5rem;
  }
}

/* ----- Product Gallery ----- */
.product-gallery {
  min-width: 0;
}

.product-gallery-main {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  width: 100%;
  box-sizing: border-box;
}

.product-gallery-main img {
  max-height: 280px;
  width: auto;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-md);
  transition: opacity 0.2s ease;
}

@media (max-width: 575.98px) {
  .product-gallery-main {
    padding: 0.75rem;
    min-height: 240px;
  }

  .product-gallery-main img {
    max-height: 240px;
  }
}

@media (min-width: 992px) {
  .product-gallery-main {
    padding: 1.5rem;
    min-height: 360px;
  }

  .product-gallery-main img {
    max-height: 360px;
  }
}

.product-gallery-thumbs {
  display: flex;
  gap: 0.65rem;
  margin-top: 0.9rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
  -webkit-overflow-scrolling: touch;
}

.product-gallery-thumb {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  padding: 4px;
  background: #ffffff;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.product-gallery-thumb:hover {
  border-color: var(--primary-dark);
}

.product-gallery-thumb.active {
  border-color: var(--primary-deep);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.product-gallery-thumb img {
  max-height: 52px;
  max-width: 52px;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
}

/* ----- Product Info Card (buy box) ----- */
.product-info-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 1.5rem;
  min-width: 0;
  box-sizing: border-box;
}

@media (max-width: 575.98px) {
  .product-info-card {
    padding: 1rem;
  }
}

@media (min-width: 768px) {
  .product-info-card {
    padding: 2.25rem;
  }
}

.product-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
}

.product-flag {
  display: inline-flex;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  padding: 0.32rem 0.75rem;
  border-radius: var(--radius-sm);
  color: #ffffff;
  line-height: 1.35;
}

.product-flag-rose {
  background: var(--rose);
}

.product-flag-amber {
  background: var(--amber);
}

.product-flag-emerald {
  background: var(--emerald-dark);
}

.product-flag-deep {
  background: var(--primary-deep);
}

.product-flag-dark {
  background: var(--slate-900);
}

.product-stock-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--emerald-dark);
  background: var(--emerald-glow);
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-sm);
  line-height: 1.35;
}

.product-info-card .product-title {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 900;
  color: var(--slate-900);
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

@media (max-width: 575.98px) {
  .product-info-card .product-title {
    font-size: 1.4rem;
  }
}

@media (min-width: 768px) {
  .product-info-card .product-title {
    font-size: 2.1rem;
  }
}

.product-price-block {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

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

.product-current-price {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 900;
  color: var(--slate-900);
}

@media (max-width: 575.98px) {
  .product-current-price {
    font-size: 1.6rem;
  }
}

@media (min-width: 768px) {
  .product-current-price {
    font-size: 2.15rem;
  }
}

.product-short-desc {
  font-size: 1rem;
  color: var(--slate-600);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

/* Compact pricing tiers (2 columns inside buy box) */
.product-info-card .pricing-tier-card {
  padding: 1.15rem;
  margin-bottom: 1.5rem;
  background: var(--slate-50);
}

.product-info-card .pricing-tier-title {
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
}

.product-info-card .tier-list {
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.product-info-card .tier-item {
  padding: 0.6rem 0.65rem;
  text-align: center;
}

.product-info-card .tier-qty {
  font-size: 0.8rem;
}

.product-info-card .tier-price {
  font-size: 1rem;
}

/* ----- CTA actions ----- */
.product-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.35rem;
}

@media (max-width: 575.98px) {
  .product-actions .btn-lg {
    padding: 0.75rem 1.25rem;
    font-size: 0.95rem;
  }
}

/* ----- Trust badges row ----- */
.product-trust-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.6rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--border-color);
  font-size: 0.88rem;
  color: var(--slate-500);
}

@media (min-width: 768px) {
  .product-trust-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

.product-trust-item {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  font-weight: 700;
  color: var(--slate-600);
  line-height: 1.4;
}

/* ----- Below-fold sections ----- */
.product-section-title {
  font-family: var(--font-display);
  font-weight: 900;
  color: var(--slate-900);
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.product-section-title--lg {
  font-size: 1.8rem;
}

.product-section-title--md {
  font-size: 1.5rem;
}

.product-specs-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: 0.95rem;
}

.product-specs-table td {
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--border-color);
  vertical-align: top;
}

.product-specs-table td:first-child {
  background: var(--slate-50);
  font-weight: 800;
  color: var(--slate-700);
  white-space: nowrap;
}

.product-related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.product-related-note {
  font-size: 0.9rem;
  color: var(--slate-500);
  margin-top: 1rem;
}
