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

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button, input, textarea, select { font: inherit; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.25rem; }
.section { padding: 5rem 1.25rem; }
@media(min-width:768px) { .section { padding: 7rem 2rem; } }
.text-muted { color: var(--muted-fg); }

/* ========== NAVBAR ========== */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(248,250,252,.82);
  backdrop-filter: blur(16px) saturate(1.8);
  -webkit-backdrop-filter: blur(16px) saturate(1.8);
  border-bottom: 1px solid var(--border-soft);
  transition: box-shadow var(--transition);
}
.navbar.scrolled { box-shadow: 0 1px 12px rgba(0,0,0,.06); }
.navbar .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.logo {
  font-size: 1.35rem; font-weight: 800; letter-spacing: -.03em;
  transition: opacity var(--transition-fast);
}
.logo:hover { opacity: .8; }
.logo span { color: var(--primary-light); }
.nav-links { display: flex; align-items: center; gap: 2.25rem; }
.nav-links a {
  font-size: .875rem; font-weight: 500; color: var(--muted-fg);
  transition: color var(--transition-fast);
  position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 2px; background: var(--primary-light);
  border-radius: 1px; transition: width var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

/* ========== DROPDOWN SUBMENIU (header) ========== */
.nav-links .nav-item { position: relative; display: inline-flex; align-items: center; }
.nav-links .nav-item > a { display: inline-flex; align-items: center; gap: .25rem; }
.nav-caret { width: 14px; height: 14px; flex-shrink: 0; transition: transform var(--transition-fast); }
.nav-links > .nav-item:hover > a .nav-caret { transform: rotate(180deg); }
.nav-dropdown {
  position: absolute; top: 100%; left: 0; min-width: 210px;
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: 0 12px 32px rgba(12,22,41,.14);
  padding: .5rem; display: flex; flex-direction: column; gap: .125rem;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  z-index: 300;
}
.nav-item:hover > .nav-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown a {
  padding: .5rem .75rem; border-radius: var(--radius);
  font-size: .875rem; font-weight: 500; color: var(--muted-fg); white-space: nowrap;
}
.nav-dropdown a::after { display: none; }
.nav-dropdown a:hover { background: var(--muted); color: var(--primary); }
/* nivel 2 - flyout lateral */
.nav-dropdown .nav-item { display: block; width: 100%; }
.nav-dropdown .nav-item > a { justify-content: space-between; width: 100%; }
.nav-dropdown .nav-item > .nav-dropdown { top: -.5rem; left: 100%; margin-left: .25rem; transform: translateX(6px); }
.nav-dropdown .nav-item:hover > .nav-dropdown { transform: translateX(0); }
.nav-dropdown .nav-caret { transform: rotate(-90deg); }
/* edge-flip: pe rezolutii mici repozitioneaza dropdown-urile ca sa NU iasa din ecran (clase adaugate din JS) */
.nav-links > .nav-item > .nav-dropdown.dropdown-right { left: auto; right: 0; }
.nav-dropdown .nav-item.flip-left > .nav-dropdown { left: auto; right: 100%; margin-left: 0; margin-right: .25rem; transform: translateX(-6px); }
.nav-dropdown .nav-item.flip-left:hover > .nav-dropdown { transform: translateX(0); }
/* mobil - indentare submeniu */
.mobile-nav .mobile-sub-1 { padding-left: 1.25rem; font-size: 1rem; opacity: .9; }
.mobile-nav .mobile-sub-2 { padding-left: 2.5rem; font-size: .9375rem; opacity: .8; }

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .6rem 1.5rem; border-radius: var(--radius);
  font-size: .875rem; font-weight: 600; border: none; cursor: pointer;
  transition: all var(--transition);
  letter-spacing: -.01em;
  position: relative; overflow: hidden;
}
.btn::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.15), transparent);
  opacity: 0; transition: opacity var(--transition-fast);
}
.btn:hover::before { opacity: 1; }
.btn:active { transform: scale(.97); }
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--primary-fg);
  box-shadow: var(--shadow-primary);
}
.btn-primary:hover {
  box-shadow: 0 6px 24px rgba(26,51,82,.28);
  transform: translateY(-1px);
}
.btn-primary:active { transform: translateY(0) scale(.97); }
.btn-outline {
  background: var(--card); border: 1.5px solid var(--border);
  color: var(--fg); box-shadow: var(--shadow-xs);
}
.btn-outline:hover {
  border-color: var(--primary-light); color: var(--primary);
  box-shadow: var(--shadow-sm); background: var(--bg-warm);
}
.btn-lg { padding: .85rem 2.25rem; font-size: 1rem; border-radius: var(--radius-lg); }
.btn-sm { padding: .4rem 1.1rem; font-size: .8125rem; }
.btn-full { width: 100%; }

/* Hamburger */
.hamburger {
  display: none; background: none; border: none; cursor: pointer;
  padding: .5rem; border-radius: var(--radius);
  transition: background var(--transition-fast);
}
.hamburger:hover { background: var(--muted); }
.hamburger svg { width: 22px; height: 22px; stroke: var(--fg); }

/* Mobile menu */
.mobile-menu {
  display: none; position: fixed; inset: 0; z-index: 200;
}
.mobile-menu.open { display: flex; }
.mobile-overlay {
  position: absolute; inset: 0;
  background: rgba(12,22,41,.4);
  backdrop-filter: blur(4px);
}
.mobile-panel {
  position: absolute; right: 0; top: 0; bottom: 0; width: 300px;
  background: var(--card); padding: 2rem 1.75rem;
  transform: translateX(100%); transition: transform .35s cubic-bezier(.32,.72,0,1);
  box-shadow: -8px 0 32px rgba(0,0,0,.1);
}
.mobile-menu.open .mobile-panel { transform: translateX(0); }
.mobile-close {
  background: none; border: none; cursor: pointer; float: right;
  padding: .375rem; border-radius: var(--radius);
  transition: background var(--transition-fast);
}
.mobile-close:hover { background: var(--muted); }
.mobile-close svg { width: 22px; height: 22px; stroke: var(--fg); }
.mobile-nav { margin-top: 3rem; display: flex; flex-direction: column; gap: 1.25rem; }
.mobile-nav a {
  font-size: 1.0625rem; font-weight: 500; color: var(--muted-fg);
  padding: .5rem 0; border-bottom: 1px solid var(--border-soft);
  transition: color var(--transition-fast), padding-left var(--transition);
}
.mobile-nav a:hover { color: var(--primary); padding-left: .5rem; }
.mobile-nav a.active { color: var(--primary); font-weight: 700; }

@media(min-width:768px) {
  .nav-links { margin-left: auto; margin-right: 1.5rem; }
}
@media(max-width:767px) {
  .nav-links { display: none; }
  .hamburger { display: block; }
}

/* ========== HERO ========== */
.hero {
  background: linear-gradient(180deg, var(--bg-warm) 0%, var(--bg) 100%);
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -200px; right: -200px;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, var(--primary-glow), transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; bottom: -100px; left: -100px;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, var(--accent-soft), transparent 70%);
  pointer-events: none;
}
.hero .container {
  display: grid; gap: 3rem; align-items: center;
  position: relative; z-index: 1;
}
@media(min-width:1024px) { .hero .container { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .4rem 1rem; border-radius: 999px;
  background: linear-gradient(135deg, var(--primary-10), var(--accent-soft));
  color: var(--primary); border: 1px solid var(--primary-10);
  font-size: .8125rem; font-weight: 600; margin-bottom: 1.25rem;
}
.hero-badge::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--primary-light); animation: pulse 2s ease infinite;
}
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(1.5)} }

.hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 800;
  line-height: 1.12; letter-spacing: -.035em; margin-bottom: 1.5rem;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p { font-size: 1.125rem; color: var(--muted-fg); margin-bottom: 2rem; max-width: 520px; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-visual { display: flex; justify-content: center; align-items: center; }

.hero-shape {
  position: relative; width: 100%; max-width: 420px; aspect-ratio: 1;
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, var(--primary-10), var(--accent-soft), transparent);
  padding: 2rem;
}
.hero-shape::before {
  content: ''; position: absolute; inset: -1px; border-radius: inherit;
  background: linear-gradient(135deg, var(--border), transparent 60%);
  z-index: -1;
}
.hero-shape-inner {
  position: absolute; inset: 1.25rem; border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  background: rgba(255,255,255,.6);
  backdrop-filter: blur(8px);
}
.hero-shape-accent {
  position: absolute; inset: 2.5rem; border-radius: var(--radius);
  background: linear-gradient(145deg, var(--primary-20), var(--accent-soft));
}
.hero-shape-card {
  position: absolute; bottom: 3rem; left: 3rem; right: 3rem;
  background: var(--card); border-radius: var(--radius);
  padding: 1.25rem; box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-soft);
}
.hero-shape-card .bar {
  height: .6rem; border-radius: 4px;
  background: linear-gradient(90deg, var(--muted), var(--primary-10));
  margin-bottom: .5rem;
}
.hero-shape-card .bar:first-child { width: 80%; }
.hero-shape-card .bar:last-child { width: 55%; margin-bottom: 0; }

/* ========== PARTNERS ========== */
.partners {
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  background: linear-gradient(180deg, var(--muted), rgba(238,242,247,.3));
  overflow: hidden; padding: 3rem 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.partners-label {
  text-align: center; font-size: .7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .14em;
  color: var(--muted-fg); margin-bottom: 1.75rem;
}
.partners-track {
  display: flex; gap: 4rem; width: max-content;
  animation: scrollLeft 35s linear infinite;
}
.partners-track:hover { animation-play-state: paused; }
.partners-track span {
  font-size: 1.125rem; font-weight: 700; color: rgba(90,106,126,.25);
  white-space: nowrap; transition: color var(--transition);
  letter-spacing: -.01em;
}
.partners-track span:hover { color: rgba(90,106,126,.55); }
.partners-track .partner-item { display: inline-flex; align-items: center; }
.partners-track .partner-item img {
  height: 40px; width: auto; max-width: 170px; object-fit: contain;
  filter: grayscale(1); opacity: .55;
  transition: filter var(--transition), opacity var(--transition);
}
.partners-track .partner-item img:hover { filter: grayscale(0); opacity: 1; }
@keyframes scrollLeft { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }
@media (prefers-reduced-motion: reduce) {
  .partners-track { animation: none; }
}

/* ========== GALLERY ========== */
.gallery-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1rem; }
@media(min-width:768px) { .gallery-grid { grid-template-columns: repeat(3,1fr); gap: 1.25rem; } }
.gallery-item {
  position: relative; aspect-ratio: 1; border-radius: var(--radius-lg);
  overflow: hidden; cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: var(--shadow-sm);
}
.gallery-item:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: var(--shadow-lg);
}
.gallery-item .bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--primary-15), var(--muted), var(--accent-soft));
  transition: transform var(--transition-slow);
}
.gallery-item:hover .bg { transform: scale(1.08); }
.gallery-item .overlay {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(26,51,82,.15), rgba(12,22,41,.2));
  backdrop-filter: blur(2px);
  opacity: 0; transition: opacity var(--transition);
  font-size: .875rem; font-weight: 600; color: var(--fg);
}
.gallery-item:hover .overlay { opacity: 1; }
.gallery-item .overlay .zoom-ico {
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.92);
  box-shadow: 0 8px 24px rgba(0,0,0,.35);
  transform: scale(.75); transition: transform var(--transition);
}
.gallery-item:hover .overlay .zoom-ico { transform: scale(1); }
.gallery-item .overlay .zoom-ico svg { width: 26px; height: 26px; stroke: var(--primary); }
.gallery-item.gallery-ph { cursor: default; }
.gallery-item.gallery-ph:hover { transform: none; box-shadow: var(--shadow-sm); }
.gallery-item.gallery-ph:hover .bg { transform: none; }
.gallery-item.gallery-ph:nth-child(3n+2) .bg { background: linear-gradient(135deg, var(--accent-soft), var(--muted), var(--primary-15)); }
.gallery-item.gallery-ph:nth-child(3n) .bg { background: linear-gradient(135deg, var(--muted), var(--primary-15), var(--accent-soft)); }

/* Lightbox */
.lightbox {
  display: none; position: fixed; inset: 0; z-index: 300;
  background: rgba(12,22,41,.92);
  backdrop-filter: blur(16px);
  align-items: center; justify-content: center; padding: 2rem;
  animation: lightboxIn .25s ease;
}
@keyframes lightboxIn { from { opacity: 0; } to { opacity: 1; } }
.lightbox.open { display: flex; }
.lightbox-close {
  position: absolute; top: 1.25rem; right: 1.25rem;
  background: rgba(255,255,255,.1); border: none; cursor: pointer;
  border-radius: 50%; width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition-fast);
  z-index: 10;
}
.lightbox-close:hover { background: rgba(255,255,255,.25); }
.lightbox-close svg { width: 24px; height: 24px; stroke: #fff; }
.lightbox-content {
  width: 100%; max-width: 760px; aspect-ratio: 4/3;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--primary-20), var(--primary-10));
  box-shadow: var(--shadow-xl);
  transition: transform .3s ease;
  overflow: hidden;
}
.lightbox-content.has-img { background: #0c1629; }
.lightbox-content img { width: 100%; height: 100%; object-fit: contain; display: block; border-radius: inherit; }
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.1); border: none; cursor: pointer;
  border-radius: 50%; width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; transition: background var(--transition-fast);
  z-index: 10;
}
.lightbox-nav:hover { background: rgba(255,255,255,.25); }
.lightbox-prev { left: 1.25rem; }
.lightbox-next { right: 1.25rem; }
.lightbox-counter {
  position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,.7); font-size: .875rem; font-weight: 500;
}
.gallery-slide { cursor: pointer; }
.gallery-slide-img { transition: transform var(--transition-fast); }
.gallery-slide:hover .gallery-slide-img { transform: scale(1.03); }

/* ========== SECTION HEADERS ========== */
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header h2 {
  font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800;
  letter-spacing: -.025em; margin-bottom: .75rem;
}
.section-header p { color: var(--muted-fg); max-width: 520px; margin: 0 auto; }

/* ========== TEXT SECTION (continut liber / CKEditor) ========== */
.text-section .text-content {
  max-width: 820px; margin: 0 auto;
  font-size: 1.0625rem; line-height: 1.8; color: var(--fg);
}
.text-section .text-content > *:first-child { margin-top: 0; }
.text-section .text-content > *:last-child { margin-bottom: 0; }
.text-section .text-content p { margin: 0 0 1.15rem; }
.text-section .text-content h1,
.text-section .text-content h2,
.text-section .text-content h3,
.text-section .text-content h4 {
  font-weight: 800; letter-spacing: -.02em; line-height: 1.3;
  margin: 2rem 0 .85rem; color: var(--fg);
}
.text-section .text-content h1 { font-size: 1.9rem; }
.text-section .text-content h2 { font-size: 1.55rem; }
.text-section .text-content h3 { font-size: 1.3rem; }
.text-section .text-content h4 { font-size: 1.1rem; }
.text-section .text-content ul,
.text-section .text-content ol { margin: 0 0 1.15rem 1.35rem; }
.text-section .text-content ul { list-style: disc; }
.text-section .text-content ol { list-style: decimal; }
.text-section .text-content li { margin-bottom: .45rem; }
.text-section .text-content a { color: var(--primary); text-decoration: underline; text-underline-offset: 2px; }
.text-section .text-content a:hover { color: var(--primary-light); }
.text-section .text-content strong { font-weight: 700; }
.text-section .text-content em { font-style: italic; }
.text-section .text-content blockquote {
  border-left: 3px solid var(--primary); padding: .35rem 0 .35rem 1.15rem;
  margin: 0 0 1.15rem; color: var(--muted-fg); font-style: italic;
}
.text-section .text-content img { border-radius: var(--radius-lg, 12px); margin: 0 0 1.15rem; }
.text-section .text-content table { width: 100%; border-collapse: collapse; margin: 0 0 1.15rem; }
.text-section .text-content th,
.text-section .text-content td { border: 1px solid var(--border, #e2e8f0); padding: .6rem .75rem; text-align: left; }

/* ========== SERVICII (grid cu iconite) ========== */
.services-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: var(--card); border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg); padding: 2rem 1.75rem;
  display: flex; flex-direction: column; align-items: flex-start;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
a.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--primary-light); }
.service-icon {
  width: 56px; height: 56px; border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--primary-10), var(--accent-soft));
  color: var(--primary); margin-bottom: 1.15rem;
}
.service-icon svg { width: 28px; height: 28px; }
.service-icon img { width: 32px; height: 32px; object-fit: contain; }
.service-card h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -.015em; margin-bottom: .55rem; color: var(--fg); }
.service-card p { color: var(--muted-fg); font-size: .95rem; line-height: 1.65; margin: 0; }

/* ========== STATISTICI (countere) ========== */
.stats-section .stats-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem; text-align: center;
}
.stat-item {
  padding: 1.75rem 1rem; border-radius: var(--radius-lg);
  background: var(--card); border: 1px solid var(--border-soft);
}
.stat-value {
  display: flex; align-items: baseline; justify-content: center; gap: .1rem;
  font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 800; letter-spacing: -.03em;
  color: var(--primary); line-height: 1;
}
.stat-suffix { color: var(--primary-light); font-weight: 800; }
.stat-label { margin-top: .6rem; color: var(--muted-fg); font-size: .9rem; font-weight: 500; }

/* ========== TESTIMONIALE / RECENZII ========== */
.reviews-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.review-card {
  background: var(--card); border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg); padding: 1.85rem 1.75rem;
  display: flex; flex-direction: column; gap: 1rem;
  box-shadow: var(--shadow-sm);
}
.review-stars { display: inline-flex; gap: 2px; }
.review-stars .star { width: 18px; height: 18px; color: #d8dee6; }
.review-stars .star.on { color: #f5b50a; }
.review-text { color: var(--fg); font-size: .98rem; line-height: 1.7; margin: 0; flex: 1; }
.review-text::before { content: '\201C'; color: var(--primary-light); font-weight: 800; margin-right: 2px; }
.review-text::after { content: '\201D'; color: var(--primary-light); font-weight: 800; margin-left: 2px; }
.review-author { display: flex; align-items: center; gap: .85rem; margin-top: .25rem; }
.review-avatar {
  width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0;
  background-size: cover; background-position: center;
  display: inline-flex; align-items: center; justify-content: center;
}
.review-avatar-ph {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--primary-fg); font-weight: 700; font-size: 1.1rem;
}
.review-meta { display: flex; flex-direction: column; line-height: 1.3; }
.review-name { font-weight: 700; color: var(--fg); font-size: .95rem; }
.review-role { color: var(--muted-fg); font-size: .82rem; }

/* ========== CTA (banda call-to-action) ========== */
.cta-section {
  position: relative; padding: 5rem 1.25rem; overflow: hidden;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  background-size: cover; background-position: center;
}
@media(min-width:768px) { .cta-section { padding: 6rem 2rem; } }
.cta-section.cta-has-img { background-color: var(--primary); }
.cta-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(0,0,0,.55), rgba(0,0,0,.35)); }
.cta-inner { position: relative; text-align: center; max-width: 720px; }
.cta-inner h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 800; letter-spacing: -.025em;
  color: #fff; margin-bottom: .85rem;
}
.cta-inner p { color: rgba(255,255,255,.9); font-size: 1.05rem; line-height: 1.6; margin-bottom: 1.85rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .85rem; justify-content: center; }
.cta-actions .btn-outline {
  background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.6);
}
.cta-actions .btn-outline:hover { background: rgba(255,255,255,.12); border-color: #fff; }

/* ========== FAQ ========== */
.faq {
  background: linear-gradient(180deg, rgba(238,242,247,.35), rgba(248,250,252,.2));
}
.faq-section {
  margin-top: 3rem;
}
.faq-section h2 {
  font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; margin-bottom: 1.25rem;
}
.faq-section .faq-list,
.faq .faq-list {
  max-width: 100%;
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-md);
}
.faq-item {
  border-bottom: 1px solid var(--border-soft);
  transition: background var(--transition-fast);
}
.faq-item:last-child { border-bottom: none; }
.faq-item:hover { background: var(--primary-10); }
.faq-question {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 1rem 1.25rem; background: none; border: none; cursor: pointer;
  font-size: .9375rem; font-weight: 600; text-align: left; color: var(--fg);
  transition: color var(--transition-fast); gap: 1rem;
}
.faq-question:hover { color: var(--primary); }
.faq-question svg {
  width: 18px; height: 18px; stroke: var(--muted-fg);
  transition: transform .35s cubic-bezier(.4,0,.2,1), stroke var(--transition-fast);
  flex-shrink: 0;
}
.faq-item.open .faq-question svg { transform: rotate(180deg); stroke: var(--primary); }
.faq-item.open .faq-question { color: var(--primary); }
.faq-item.open { background: var(--primary-10); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height .35s cubic-bezier(.4,0,.2,1), padding .35s;
  color: var(--muted-fg); font-size: .9375rem; line-height: 1.75;
  padding: 0 1.25rem;
}
.faq-item.open .faq-answer { max-height: 250px; padding-bottom: 1.25rem; }

/* ========== FOOTER ========== */
.footer {
  border-top: none;
  background: linear-gradient(180deg, #0f1b2d, #0a1220);
  color: #cbd5e1;
}
.footer .container { padding-top: 4rem; padding-bottom: 2rem; }
.footer-grid { display: grid; gap: 2.5rem; }
@media(min-width:768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; } }
.footer h4 {
  font-size: .7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .12em; margin-bottom: 1rem; color: #f1f5f9;
}
.footer ul { display: flex; flex-direction: column; gap: .625rem; }
.footer ul a, .footer ul li { font-size: .875rem; color: #94a3b8; transition: color var(--transition-fast); }
.footer ul a:hover { color: #e2e8f0; }
.footer-bottom {
  margin-top: 0; padding-top: 1.5rem;
  border-top: 1px solid rgba(148,163,184,.15);
  text-align: center; font-size: .8125rem; color: #64748b;
}
.footer .logo-text { font-size: 1.35rem; font-weight: 800; margin-bottom: .75rem; letter-spacing: -.03em; color: #f8fafc; }
.footer .logo-text span { color: #4f8cc9; }
.footer .footer-desc { font-size: .875rem; color: #94a3b8; line-height: 1.65; margin-bottom: 1.25rem; }
.footer-socials { display: flex; gap: .625rem; }
.footer-socials a {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.08); display: flex;
  align-items: center; justify-content: center;
  transition: background var(--transition-fast), transform var(--transition-fast);
}
.footer-socials a:hover { background: rgba(255,255,255,.18); transform: translateY(-2px); }
.footer-socials svg { width: 18px; height: 18px; fill: #cbd5e1; }
.footer-socials a:hover svg { fill: #f1f5f9; }
.footer .logo { color: #f8fafc; }
.footer .logo span { color: #4f8cc9; }
.contact-item { display: flex; align-items: center; gap: .625rem; }
.contact-item svg { width: 16px; height: 16px; stroke: #4f8cc9; flex-shrink: 0; }

/* Footer Content (eProfil promo) */
.footer-content {
  display: flex; flex-wrap: wrap; gap: 2rem;
  width: 100%; padding: 2rem 0;
  margin-top: 0;
  border-top: 1px solid rgba(148,163,184,.12);
}
.footer-section {
  flex: 1 1 0; min-width: 200px;
  display: flex; flex-direction: column; gap: .5rem;
}
.footer-logo { display: flex; flex-direction: column; gap: .5rem; }
.footer-logo-img { height: 50px; width: max-content; }
.footer-logo p { font-size: .875rem; color: #94a3b8; line-height: 1.6; }
.footer-section h4 { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; margin-bottom: .25rem; color: #f1f5f9; }
.footer-section .footer-desc { font-size: .875rem; color: #94a3b8; line-height: 1.6; margin-bottom: .75rem; }
.cta-button {
  display: inline-block; padding: .55rem 1.25rem;
  background: var(--primary); color: #fff;
  border-radius: var(--radius); font-size: .8125rem; font-weight: 600;
  transition: background var(--transition-fast), transform var(--transition-fast);
  width: fit-content;
}
.cta-button:hover { background: var(--primary-light); transform: translateY(-1px); }

/* Footer Actions (ANPC / SOL / report) */
.footer-actions {
  width: 100%; padding: 1.25rem 0;
  margin-top: 1.5rem;
  border-top: 1px solid rgba(148,163,184,.12);
}
.footer-actions-content {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 1.5rem; width: 100%;
}
.action-col {
  flex: 1 1 0; min-width: 140px;
  display: flex; align-items: center; justify-content: center;
}
.action-col img { height: auto; width: auto; opacity: .7; transition: opacity var(--transition-fast); }
.action-col img:hover { opacity: 1; }
.report-problem-btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .5rem 1rem; border-radius: var(--radius);
  font-size: .8125rem; font-weight: 600; color: #94a3b8;
  border: 1px solid rgba(148,163,184,.2);
  transition: all var(--transition-fast);
}
.report-problem-btn:hover { color: #f1f5f9; border-color: rgba(148,163,184,.4); background: rgba(255,255,255,.05); }
.report-problem-btn svg { flex-shrink: 0; }

@media(max-width:767px) {
  .footer-content { flex-direction: column; gap: 1.5rem; }
  .footer-actions-content { flex-direction: column; gap: 1rem; }
  .action-col { justify-content: flex-start; }
}

/* ========== CARDS ========== */
.card {
  background: var(--card); border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: all var(--transition);
  box-shadow: var(--shadow-xs);
}
.card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--border);
  transform: translateY(-3px);
}
.card-img {
  aspect-ratio: 4/3;
  background: linear-gradient(145deg, var(--primary-10), var(--muted), var(--accent-soft));
  position: relative; overflow: hidden;
}
.card-img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,.03));
}
.card-img.video { aspect-ratio: 16/9; }
.card-img-placeholder {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  color: var(--primary-light);
}
.card-img-placeholder svg { width: 48px; height: 48px; opacity: .45; }
.card-body { padding: 1.35rem; }
.card-category {
  font-size: .7rem; font-weight: 700; color: var(--primary-light);
  text-transform: uppercase; letter-spacing: .08em;
}
.card-title {
  font-size: 1rem; font-weight: 700; margin-top: .35rem;
  transition: color var(--transition-fast); letter-spacing: -.01em;
}
.card a:hover .card-title { color: var(--primary-light); }
.card-desc { font-size: .875rem; color: var(--muted-fg); margin-top: .35rem; line-height: 1.6; }
.card-meta { display: flex; align-items: center; gap: .5rem; margin-top: .85rem; }
.card-price { display: inline-flex; align-items: baseline; flex-wrap: wrap; gap: .5rem; font-size: 1.125rem; font-weight: 800; color: var(--primary); }

/* ========== PRICE DISPLAY (showPriceOnHome) ========== */
.amount { font-weight: inherit; }
.currency { font-weight: 700; opacity: .85; }
.original-price {
  color: #94a3b8;
  text-decoration: line-through;
  text-decoration-color: rgba(225,29,72,.7);
  text-decoration-thickness: 2px;
  font-weight: 600;
  font-size: .78em;
  margin-left: 0;
  white-space: nowrap;
}
.price-note {
  display: inline-block;
  font-size: .7em;
  font-weight: 600;
  color: var(--muted-fg);
  margin-left: .4em;
  vertical-align: middle;
}

/* ========== EMPTY STATE (no products) ========== */
.empty-state {
  grid-column: 1 / -1;
  width: 100%;
  text-align: center;
  padding: 4rem 1.5rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--primary-10), var(--muted) 55%, var(--accent-soft));
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.empty-state-anim {
  position: relative;
  width: 130px; height: 130px;
  margin: 0 auto 2rem;
  display: flex; align-items: center; justify-content: center;
}
.empty-state-icon {
  width: 84px; height: 84px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface, #fff);
  color: var(--primary);
  box-shadow: 0 12px 30px rgba(0,0,0,.08);
  animation: emptyFloat 3.5s ease-in-out infinite;
}
.empty-state-icon svg { width: 40px; height: 40px; }
.empty-state-orbit {
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 2px dashed var(--primary-light);
  opacity: .35;
  animation: emptySpin 14s linear infinite;
}
.empty-state-orbit:last-child {
  inset: 18px;
  border-style: solid;
  opacity: .2;
  animation-duration: 9s;
  animation-direction: reverse;
}
.empty-state-title {
  font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em;
  max-width: 620px; margin: 0 auto .75rem;
}
.empty-state-desc {
  color: var(--muted-fg); max-width: 520px; margin: 0 auto 2rem; line-height: 1.7;
}
.empty-state-cta {
  display: inline-flex; flex-direction: column; align-items: center; gap: 1rem;
  padding: 1.75rem 2.25rem;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.6);
  border: 1px solid var(--border);
  backdrop-filter: blur(4px);
}
.empty-state-cta p { font-weight: 600; margin: 0; }
@keyframes emptyFloat { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }
@keyframes emptySpin { to { transform: rotate(360deg); } }

/* ========== PRODUCT VIEW (view.php) ========== */
.breadcrumb .separator-cat { color: var(--muted-fg); font-size: .875rem; }
.pv-wrap { padding-top: 2.5rem; padding-bottom: 4.5rem; }

/* Hero: media + summary */
.pv-hero { display: grid; gap: 2.5rem; align-items: start; }
@media(min-width:900px) { .pv-hero { grid-template-columns: 1fr 1fr; } }
@media(min-width:1100px) { .pv-hero { grid-template-columns: 1.05fr .95fr; gap: 3.5rem; } }

.pv-media { position: relative; }
.pv-media-main {
  position: relative; aspect-ratio: 4/3; overflow: hidden;
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, var(--primary-10), var(--muted), var(--accent-soft));
  border: 1px solid var(--border-soft);
}
.pv-media-main img { width: 100%; height: 100%; object-fit: cover; }
.pv-media-empty { display: flex; align-items: center; justify-content: center; color: var(--primary-light); }
.pv-media-empty svg { width: 72px; height: 72px; opacity: .4; }

.pv-summary { display: flex; flex-direction: column; }
.pv-meta { display: flex; align-items: center; flex-wrap: wrap; gap: .85rem; margin-bottom: 1rem; }
.pv-badge {
  font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--primary); background: var(--primary-10);
  padding: .35rem .8rem; border-radius: 999px;
}
.pv-title { font-size: 2rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; margin-bottom: .75rem; }
@media(min-width:768px) { .pv-title { font-size: 2.4rem; } }
.pv-subtitle { color: var(--muted-fg); font-size: 1.05rem; line-height: 1.7; margin-bottom: 1.5rem; }

.pv-highlights { display: flex; flex-direction: column; gap: .7rem; margin-bottom: 1.75rem; }
.pv-highlights li { display: flex; align-items: flex-start; gap: .6rem; font-size: .95rem; }
.pv-highlights svg { width: 20px; height: 20px; color: var(--primary); flex-shrink: 0; margin-top: 1px; }

/* Buy box */
.pv-buy {
  padding: 1.6rem; border-radius: var(--radius-lg);
  background: var(--card); border: 1px solid var(--border);
  box-shadow: 0 14px 44px rgba(0,0,0,.05);
}
.pv-price { font-size: 1.5rem; font-weight: 800; color: var(--primary); line-height: 1.2; }
.pv-price .advance-note { font-size: .85rem; font-weight: 500; color: var(--muted-fg); margin-top: .4rem; }
.pv-pay-features {
  display: flex; flex-direction: column; gap: .65rem;
  margin: 1.25rem 0; padding-top: 1.25rem; border-top: 1px solid var(--border-soft);
}
.pv-pay-features .feature { display: flex; align-items: center; gap: .6rem; font-size: .9rem; }
.pv-pay-features .feature svg { width: 18px; height: 18px; color: var(--primary); flex-shrink: 0; }
.pv-buy .btn { margin-top: 1.25rem; }
.pv-buy .btn svg { width: 20px; height: 20px; }
.pv-buy .pv-pay-features + .btn { margin-top: 0; }
.pv-portofoliu {
  margin-top: 1.25rem; padding: 1rem 1.15rem; border-radius: var(--radius);
  background: var(--muted); border: 1px solid var(--border-soft);
  font-size: .9rem; color: var(--muted-fg); line-height: 1.6;
}
.availability-note { text-align: center; font-size: .85rem; margin-top: .85rem; color: var(--muted-fg); }
.term-expired { display: block; text-align: center; font-weight: 600; color: #ef4444; margin-top: 1.25rem; }
.contact-precomanda { font-size: .92rem; color: var(--muted-fg); line-height: 1.6; margin-top: 1.25rem; margin-bottom: 0; }
.pv-buy .contact-precomanda + .btn { margin-top: 1rem; }
.guarantee {
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  margin-top: 1.15rem; font-size: .85rem; color: var(--muted-fg);
}
.guarantee svg { width: 16px; height: 16px; color: var(--primary); }

/* Details: content + aside */
.pv-details { display: grid; gap: 2.5rem; margin-top: 3.5rem; align-items: start; }
@media(min-width:900px) { .pv-details.has-aside { grid-template-columns: minmax(0,1fr) 320px; gap: 3rem; } }
.pv-content { display: flex; flex-direction: column; gap: 2.75rem; min-width: 0; }
.pv-section h2 { font-size: 1.4rem; font-weight: 800; letter-spacing: -.01em; margin-bottom: 1.25rem; }
.pv-desc-content { line-height: 1.8; color: var(--muted-fg); }
.pv-desc-content img { max-width: 100%; height: auto; border-radius: var(--radius); }

.pv-includes { display: grid; gap: 1rem; }
@media(min-width:600px) { .pv-includes { grid-template-columns: repeat(2,1fr); } }
.pv-include-item {
  display: flex; gap: 1rem; padding: 1.25rem;
  border-radius: var(--radius-lg); background: var(--card); border: 1px solid var(--border-soft);
  transition: box-shadow var(--transition), transform var(--transition);
}
.pv-include-item:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0,0,0,.06); }
.pv-include-icon {
  width: 44px; height: 44px; flex-shrink: 0; border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  background: var(--primary-10); color: var(--primary);
}
.pv-include-icon svg { width: 22px; height: 22px; }
.pv-include-content h3 { font-size: 1rem; font-weight: 700; margin-bottom: .3rem; }
.pv-include-content p { font-size: .875rem; color: var(--muted-fg); line-height: 1.6; }

.pv-reviews { display: flex; flex-direction: column; gap: 1rem; }
.pv-review { padding: 1.5rem; border-radius: var(--radius-lg); background: var(--card); border: 1px solid var(--border-soft); }
.pv-review-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .85rem; flex-wrap: wrap; }
.pv-reviewer { display: flex; align-items: center; gap: .75rem; }
.pv-reviewer img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.pv-reviewer strong { display: block; font-size: .95rem; }
.pv-reviewer span { font-size: .8rem; color: var(--muted-fg); }
.pv-review p { line-height: 1.7; font-size: .925rem; color: var(--muted-fg); }
.text-no-recenzii { color: var(--muted-fg); }

/* Aside */
.pv-aside { min-width: 0; }
@media(min-width:900px) { .pv-aside { position: sticky; top: 90px; } }
.pv-contact-card {
  padding: 1.75rem; border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--primary-10), var(--accent-soft));
  border: 1px solid var(--border-soft);
}
.pv-contact-card h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: .5rem; }
.pv-contact-card p { font-size: .9rem; color: var(--muted-fg); line-height: 1.6; margin-bottom: 1.25rem; }
.pv-contact-card .btn svg { width: 16px; height: 16px; }

/* Product view modal (contact) */
.pv-modal { position: fixed; inset: 0; z-index: 1200; display: none; }
.pv-modal.open { display: block; }
.pv-modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(15,23,42,.55); backdrop-filter: blur(3px);
  animation: pvModalFade .25s ease;
}
.pv-modal-dialog {
  position: relative; z-index: 1; margin: 4vh auto;
  max-width: 560px; width: calc(100% - 2rem);
  max-height: 92vh; overflow-y: auto;
  background: var(--card); border-radius: var(--radius-xl);
  border: 1px solid var(--border-soft);
  box-shadow: 0 30px 80px rgba(0,0,0,.28);
  animation: pvModalUp .3s cubic-bezier(.16,1,.3,1);
}
.pv-modal-header {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem;
  padding: 1.35rem 1.5rem 1rem; border-bottom: 1px solid var(--border-soft);
}
.pv-modal-header h3 { font-size: 1.2rem; font-weight: 800; letter-spacing: -.01em; }
.pv-modal-sub { font-size: .85rem; color: var(--muted-fg); margin-top: .3rem; line-height: 1.45; }
.pv-modal-close {
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--muted); border: 1px solid var(--border-soft); color: var(--muted-fg);
  cursor: pointer; transition: all var(--transition-fast);
}
.pv-modal-close:hover { background: var(--primary-10); color: var(--primary); }
.pv-modal-close svg { width: 17px; height: 17px; }
.pv-modal-body { padding: 1.25rem 1.5rem 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
.pv-modal-body:empty { display: none; }
.pv-modal-info { display: grid; gap: .25rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border-soft); }
@media(min-width:520px) { .pv-modal-info { grid-template-columns: 1fr 1fr; } }
.pv-modal-info .contact-info-item { padding: .5rem; gap: .75rem; }
.pv-modal-info .contact-icon { width: 38px; height: 38px; }
.pv-modal-body .contact-info:empty { display: none; }
.pv-modal-body .contact-form { gap: .6rem; }
.pv-modal-body .form-group { gap: .25rem; margin-bottom: 0; }
.pv-modal-body .form-group label { font-size: .82rem; margin-bottom: 0; }
.pv-modal-body .form-group input,
.pv-modal-body .form-group textarea { padding: .55rem .85rem; }
.pv-modal-body .form-group textarea { min-height: 78px; }
.pv-modal-body .btn { margin-top: .4rem; }
.pv-modal-body .btn svg { width: 18px; height: 18px; }
@keyframes pvModalFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pvModalUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }

/* Product grid */
.product-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(2,1fr); }
@media(min-width:768px) { .product-grid { grid-template-columns: repeat(3,1fr); } }
@media(min-width:1024px) { .product-grid { grid-template-columns: repeat(4,1fr); } }

/* Blog grid */
.blog-grid { display: grid; gap: 1.5rem; }
@media(min-width:640px) { .blog-grid { grid-template-columns: repeat(2,1fr); } }
@media(min-width:1024px) { .blog-grid { grid-template-columns: repeat(3,1fr); } }

/* ========== BLOG (data-driven: blog.php) ========== */
.blog-tags { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: flex-start; margin-bottom: 2rem; }
.blog-tag {
  display: inline-flex; align-items: center; padding: .45rem .95rem;
  border: 1px solid var(--border); border-radius: 999px; background: var(--card);
  color: var(--muted-fg); font-size: .875rem; font-weight: 500; text-decoration: none;
  transition: var(--transition-fast);
}
.blog-tag:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-10); }
.blog-tag.active { background: var(--primary); border-color: var(--primary); color: var(--primary-fg); }

.blog-back { margin-bottom: 1.5rem; }
.blog-back .back-link { display: inline-flex; align-items: center; gap: .5rem; color: var(--muted-fg); text-decoration: none; font-weight: 500; transition: var(--transition-fast); }
.blog-back .back-link:hover { color: var(--primary); }
.blog-back .back-link svg { width: 18px; height: 18px; }

.blog-card { display: flex; flex-direction: column; overflow: hidden; }
.blog-card .card-img { position: relative; aspect-ratio: 16/9; overflow: hidden; }
.blog-card .card-img img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.blog-card:hover .card-img img { transform: scale(1.05); }
.blog-card-noimg {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--primary-10), var(--accent-soft));
  color: var(--primary);
}
.blog-card-noimg svg { width: 46px; height: 46px; opacity: .55; }

.blog-card-meta { display: flex; align-items: center; gap: .4rem; margin-bottom: .6rem; color: var(--muted-fg); font-size: .8rem; }
.blog-card-clock { width: 15px; height: 15px; }
.blog-card-time { font-weight: 500; }
.blog-card-dot { opacity: .5; margin: 0 .1rem; }

.blog-card-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: auto; padding-top: 1rem; }
.blog-card-tag {
  display: inline-flex; align-items: center; padding: .25rem .6rem;
  border-radius: 999px; background: var(--primary-10); color: var(--primary);
  font-size: .75rem; font-weight: 500; cursor: pointer; transition: var(--transition-fast);
}
.blog-card-tag:hover { background: var(--primary-20); }

.blog-empty {
  grid-column: 1/-1; text-align: center; padding: 4rem 1.5rem;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
}
.blog-empty-icon { display: inline-flex; margin-bottom: 1.25rem; color: var(--primary); opacity: .6; }
.blog-empty-icon svg { width: 64px; height: 64px; }
.blog-empty h2 { margin: 0 0 .5rem; font-size: 1.5rem; }
.blog-empty p { margin: 0 auto; max-width: 460px; color: var(--muted-fg); }

/* ========== HERO DINAMIC (home) ========== */
/* Hero tip1 - imagine in shape */
.hero-shape.hero-shape-img { overflow: hidden; }
.hero-shape.hero-shape-img::before,
.hero-shape.hero-shape-img::after { display: none; }

/* Hero tip2 - slider */
.hero-slider-section { padding: 0; }
.hero-slider { position: relative; width: 100%; height: 520px; max-height: 80vh; overflow: hidden; }
@media(max-width:767px){ .hero-slider { height: 420px; } }
.hero-slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity .6s ease; display: flex; align-items: center; }
.hero-slide.active { opacity: 1; }
.hero-slide-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.65), rgba(0,0,0,.25)); }
.hero-slide-content { position: relative; z-index: 2; color: #fff; max-width: 640px; }
.hero-slide-content h2 { font-size: 2.4rem; font-weight: 800; line-height: 1.1; margin-bottom: 1rem; }
@media(max-width:767px){ .hero-slide-content h2 { font-size: 1.7rem; } }
.hero-slide-content p { font-size: 1.1rem; margin-bottom: 1.75rem; opacity: .95; }
.hero-slider-btn { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 46px; height: 46px; border: none; border-radius: 50%; background: rgba(255,255,255,.2); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .2s; }
.hero-slider-btn:hover { background: rgba(255,255,255,.4); }
.hero-slider-btn svg { width: 26px; height: 26px; stroke: #fff; }
.hero-slider-prev { left: 1.25rem; }
.hero-slider-next { right: 1.25rem; }
.hero-slider-dots { position: absolute; bottom: 1.25rem; left: 0; right: 0; z-index: 3; display: flex; justify-content: center; gap: .5rem; }
.hero-slider-dots .hero-dot { width: 10px; height: 10px; border-radius: 50%; border: none; background: rgba(255,255,255,.45); cursor: pointer; padding: 0; transition: background .2s, transform .2s; }
.hero-slider-dots .hero-dot.active { background: #fff; transform: scale(1.25); }

/* Hero tip3 - banner full-width */
.hero-banner { position: relative; min-height: 520px; display: flex; align-items: center; justify-content: center; text-align: center; background-size: cover; background-position: center; overflow: hidden; }
@media(max-width:767px){ .hero-banner { min-height: 440px; } }
.hero-banner-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.45), rgba(0,0,0,.65)); }
.hero-banner-content { position: relative; z-index: 2; color: #fff; max-width: 720px; padding: 2rem 1.25rem; }
.hero-banner-content h1 { font-size: 2.8rem; font-weight: 800; line-height: 1.1; margin-bottom: 1rem; }
@media(max-width:767px){ .hero-banner-content h1 { font-size: 2rem; } }
.hero-banner-content h1 em { color: var(--primary-light); font-style: normal; }
.hero-banner-content p { font-size: 1.15rem; opacity: .95; margin-bottom: 1.75rem; }
.hero-banner .hero-actions { justify-content: center; }
.hero-banner-features { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-top: 1.75rem; }
.hero-banner-features span { background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.25); color: #fff; font-size: .85rem; padding: .35rem .85rem; border-radius: 999px; }

/* Badge pe fundal intunecat (banner tip3 + slider tip2) */
.hero-banner-content .hero-badge,
.hero-slide-content .hero-badge {
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.3);
  color: #fff; backdrop-filter: blur(4px);
  letter-spacing: .02em; text-transform: uppercase; font-size: .75rem;
}
.hero-banner-content .hero-badge::before,
.hero-slide-content .hero-badge::before {
  background: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,.25);
}

.blog-pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .4rem; margin-top: 2.5rem; }
.blog-page-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 42px; height: 42px; padding: 0 .5rem;
  border: 1px solid var(--border); border-radius: var(--radius); background: var(--card);
  color: var(--fg); font-weight: 600; text-decoration: none; transition: var(--transition-fast);
}
.blog-page-btn:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-10); }
.blog-page-btn.active { background: var(--primary); border-color: var(--primary); color: var(--primary-fg); }
.blog-page-arrow svg { width: 18px; height: 18px; }
.blog-page-btn.disabled { opacity: .4; pointer-events: none; }
.blog-page-ellipsis { min-width: 24px; text-align: center; color: var(--muted-fg); }

/* Header search button + modal */
.nav-actions { display: flex; align-items: center; gap: .5rem; }
.nav-search-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--card); color: var(--fg); cursor: pointer; transition: var(--transition-fast);
}
.nav-search-btn:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-10); }
.nav-search-btn svg { width: 20px; height: 20px; }
@media(max-width:767px) {
  .nav-search-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: auto; height: auto; border: none; background: transparent;
    padding: .5rem; border-radius: var(--radius); color: var(--fg);
  }
  .nav-search-btn:hover { border: none; background: var(--muted); color: var(--fg); }
  .nav-search-btn svg { width: 22px; height: 22px; display: block; }
  .hamburger { display: inline-flex; align-items: center; justify-content: center; }
  .hamburger svg { display: block; }
}

.search-modal { position: fixed; inset: 0; z-index: 1200; display: none; }
.search-modal.open { display: block; }
.search-modal-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.55); backdrop-filter: blur(2px); }
.search-modal-box {
  position: relative; z-index: 1; max-width: 520px; margin: 12vh auto 0; padding: 2rem;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg); animation: searchIn .25s ease;
}
@keyframes searchIn { from { opacity: 0; transform: translateY(-16px) scale(.97); } to { opacity: 1; transform: none; } }
.search-modal.shake .search-modal-box { animation: searchShake .4s ease; }
@keyframes searchShake { 0%,100% { transform: translateX(0); } 20%,60% { transform: translateX(-8px); } 40%,80% { transform: translateX(8px); } }
.search-modal-close {
  position: absolute; top: 1rem; right: 1rem; width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  border: none; border-radius: var(--radius); background: transparent; color: var(--muted-fg);
  cursor: pointer; transition: var(--transition-fast);
}
.search-modal-close:hover { background: var(--primary-10); color: var(--primary); }
.search-modal-close svg { width: 20px; height: 20px; stroke: currentColor; }
.search-modal-box h3 { margin: 0 0 1.25rem; font-size: 1.35rem; }
.search-input-wrap { position: relative; margin-bottom: 1rem; }
.search-input-wrap svg { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--muted-fg); pointer-events: none; z-index: 1; }
.search-modal .search-input-wrap input {
  width: 100%; padding: .85rem 1rem .85rem 3rem;
  border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg);
  color: var(--fg); font-size: 1rem; transition: var(--transition-fast);
}
.search-modal .search-input-wrap input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-10); }
.search-hint { margin: .75rem 0 0; text-align: center; font-size: .8rem; color: var(--muted-fg); }

/* ========== FILTERS ========== */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.filters .btn {
  border-radius: 999px; font-size: .8125rem; padding: .4rem 1.1rem;
}
.filters .btn.active,
.filters .btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--primary-fg); box-shadow: var(--shadow-primary);
}

/* ========== BADGES ========== */
.badge {
  display: inline-block; padding: .3rem .85rem; border-radius: 999px;
  font-size: .7rem; font-weight: 600;
  background: linear-gradient(135deg, var(--muted), rgba(238,242,247,.6));
  color: var(--muted-fg); border: 1px solid var(--border-soft);
  letter-spacing: .02em;
}

/* ========== PRODUCT DETAIL ========== */
.product-detail { display: grid; gap: 3rem; }
@media(min-width:1024px) { .product-detail { grid-template-columns: 1fr 1fr; } }
/* Gallery Slider Section */
.product-gallery-section { margin-top: 3rem; }
.product-gallery-section h2 {
  font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; margin-bottom: 1.25rem;
}
.gallery-slider {
  position: relative; border-radius: var(--radius-xl); overflow: hidden;
  background: var(--muted);
}
.gallery-track {
  display: flex; transition: transform .4s cubic-bezier(.4,0,.2,1);
  cursor: grab;
}
.gallery-track.grabbing { cursor: grabbing; }
.gallery-slide {
  min-width: 33.333%; flex-shrink: 0; padding: 0 .375rem;
}
@media(max-width:767px) { .gallery-slide { min-width: 50%; } }
@media(max-width:479px) { .gallery-slide { min-width: 100%; } }
.gallery-slide-img {
  aspect-ratio: 4/3; width: 100%; border-radius: var(--radius);
  background: linear-gradient(145deg, var(--primary-15), var(--muted), var(--accent-soft));
}
.gallery-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.9); border: 1px solid var(--border-soft);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md); transition: all var(--transition-fast);
  color: var(--fg); z-index: 2; backdrop-filter: blur(8px);
}
.gallery-btn:hover { background: #fff; box-shadow: var(--shadow-lg); }
.gallery-btn:disabled { opacity: .3; pointer-events: none; }
.gallery-btn svg { width: 18px; height: 18px; }
.gallery-btn-prev { left: .75rem; }
.gallery-btn-next { right: .75rem; }
.gallery-dots {
  display: flex; justify-content: center; gap: .5rem; margin-top: .75rem;
}
.gallery-dot {
  width: 8px; height: 8px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--border); transition: all var(--transition-fast);
  padding: 0;
}
.gallery-dot.active { background: var(--primary); width: 24px; border-radius: 4px; }

.product-image {
  aspect-ratio: 1; border-radius: var(--radius-xl);
  background: linear-gradient(145deg, var(--primary-15), var(--muted), var(--accent-soft));
  box-shadow: var(--shadow-md);
}
.back-link {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .875rem; font-weight: 500; color: var(--muted-fg);
  margin-bottom: 1.75rem; transition: all var(--transition-fast);
  padding: .35rem .75rem; border-radius: var(--radius);
  margin-left: -.75rem;
}
.back-link:hover { color: var(--primary); background: var(--primary-10); }
.back-link svg { width: 16px; height: 16px; }
.product-info .badge { margin-bottom: .75rem; }
.product-info h1 {
  font-size: 2rem; font-weight: 800; letter-spacing: -.03em;
  margin-bottom: 1rem;
}
.product-info .desc {
  font-size: 1.0625rem; color: var(--muted-fg);
  line-height: 1.75; margin-bottom: 1.75rem;
}
.product-info .price {
  font-size: 2rem; font-weight: 800; margin-bottom: 1.75rem;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
/* original-price/price-note nu trebuie sa mosteneasca text-fill transparent din gradientul de pret */
.product-info .price .original-price {
  -webkit-text-fill-color: #e11d48;
  background: none;
}
.product-info .price .price-note {
  -webkit-text-fill-color: var(--muted-fg);
  background: none;
}

.similar-section { margin-top: 3rem; }
.similar-section h2 { font-size: 1.5rem; font-weight: 800; margin-bottom: 1.25rem; letter-spacing: -.02em; }
.similar-slider {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
}
.similar-track {
  display: flex; transition: transform .4s cubic-bezier(.4,0,.2,1);
  cursor: grab; gap: .75rem;
}
.similar-track.grabbing { cursor: grabbing; }
.similar-slide {
  min-width: calc(33.333% - .5rem); flex-shrink: 0;
}
@media(max-width:767px) { .similar-slide { min-width: calc(50% - .375rem); } }
@media(max-width:479px) { .similar-slide { min-width: 100%; } }
.similar-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(240px,1fr)); }

/* ========== CHECKOUT ========== */
.checkout-layout { display: grid; gap: 2.5rem; }
@media(min-width:1024px) { .checkout-layout { grid-template-columns: 2fr 1fr; } }
.steps {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 2.5rem; padding: 1.25rem 1.5rem;
  background: var(--card); border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft); box-shadow: var(--shadow-xs);
}
.step { display: flex; align-items: center; gap: .5rem; }
.step-circle {
  width: 2.25rem; height: 2.25rem; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .8125rem; font-weight: 700;
  background: var(--muted); color: var(--muted-fg);
  transition: all var(--transition);
}
.step.active .step-circle {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--primary-fg); box-shadow: var(--shadow-primary);
}
.step.done .step-circle {
  background: var(--primary); color: var(--primary-fg);
}
.step-label { font-size: .875rem; font-weight: 600; display: none; }
@media(min-width:640px) { .step-label { display: inline; } }
.step-line { flex: 1; height: 2px; background: var(--border); margin: 0 .75rem; border-radius: 1px; }
.step.done + .step-line { background: var(--primary-light); }

.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block; font-size: .8125rem; font-weight: 600;
  margin-bottom: .4rem; color: var(--fg);
}
.form-row { display: grid; gap: 1.25rem; }
@media(min-width:640px) { .form-row { grid-template-columns: 1fr 1fr; } }
input[type="text"], input[type="email"], input[type="tel"], textarea {
  width: 100%; padding: .7rem .875rem; border: 1.5px solid var(--border);
  border-radius: var(--radius); font-size: .875rem; background: var(--card);
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-xs);
}
input:focus, textarea:focus {
  outline: none; border-color: var(--primary-light);
  box-shadow: 0 0 0 3px var(--primary-glow);
}
input::placeholder, textarea::placeholder { color: rgba(90,106,126,.4); }
textarea { resize: vertical; min-height: 130px; }
.form-actions { display: flex; gap: .75rem; margin-top: 1.75rem; }

.order-summary { position: sticky; top: 5.5rem; }
.order-summary .card { box-shadow: var(--shadow-sm); }
.order-summary .card-body { padding: 1.75rem; }
.order-summary h3 { font-size: 1.125rem; font-weight: 700; margin-bottom: 1.25rem; }
.order-line {
  display: flex; justify-content: space-between;
  font-size: .875rem; padding: .5rem 0; color: var(--muted-fg);
}
.order-total {
  display: flex; justify-content: space-between;
  font-weight: 800; font-size: 1.0625rem; padding-top: 1rem;
  margin-top: 1rem; border-top: 2px solid var(--border);
}

.confirmation { text-align: center; padding: 4rem 0; }
.confirmation-icon {
  width: 5rem; height: 5rem; border-radius: 50%; margin: 0 auto 1.25rem;
  background: linear-gradient(135deg, var(--primary-10), var(--accent-soft));
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 8px rgba(26,51,82,.05);
}
.confirmation-icon svg { width: 2.25rem; height: 2.25rem; stroke: var(--primary); }
.confirmation h2 { font-size: 1.75rem; font-weight: 800; margin-bottom: .5rem; }
.confirmation p { color: var(--muted-fg); font-size: 1.0625rem; }
.confirmation-details {
  max-width: 400px; margin: 2rem auto 0; text-align: left;
  background: var(--card); border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft); padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.confirmation-row {
  display: flex; justify-content: space-between;
  padding: .6rem 0; font-size: .875rem; color: var(--muted-fg);
  border-bottom: 1px solid var(--border-soft);
}
.confirmation-row:last-child { border-bottom: none; }
.confirmation-total { font-weight: 700; color: var(--fg); font-size: .9375rem; padding-top: .75rem; margin-top: .25rem; border-top: 2px solid var(--border); }

/* ========== BLOG ARTICLE ========== */
.article-content { max-width: 720px; margin: 0 auto; }
.article-cover {
  aspect-ratio: 16/9; border-radius: var(--radius-xl); margin-bottom: 2.5rem;
  background: linear-gradient(145deg, var(--primary-15), var(--muted), var(--accent-soft));
  box-shadow: var(--shadow-md);
}
.article-meta {
  display: flex; align-items: center; gap: .75rem;
  margin-bottom: 1.75rem; flex-wrap: wrap;
}
.article-meta span {
  font-size: .8125rem; color: var(--muted-fg); font-weight: 500;
}
.article-content h1 {
  font-size: clamp(1.75rem,4vw,2.5rem); font-weight: 800;
  letter-spacing: -.03em; margin-bottom: 2rem; line-height: 1.2;
}
.article-body h2 {
  font-size: 1.375rem; font-weight: 800; margin: 2.5rem 0 1rem;
  letter-spacing: -.02em;
}
.article-body p { color: var(--muted-fg); line-height: 1.85; margin-bottom: 1.25rem; }
.article-intro {
  display: flex; gap: .85rem; align-items: flex-start;
  background: var(--primary-10); border-left: 3px solid var(--primary);
  border-radius: var(--radius-lg); padding: 1.15rem 1.35rem; margin-bottom: 2rem;
}
.article-intro-icon { width: 22px; height: 22px; color: var(--primary); flex-shrink: 0; margin-top: .15rem; }
.article-intro p { margin: 0; color: var(--fg); font-size: 1.05rem; line-height: 1.7; font-weight: 500; }
.article-draft-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  margin: -1.25rem 0 2rem; padding: .5rem .9rem;
  background: #fff7ed; color: #b45309;
  border: 1px solid #fed7aa; border-radius: 999px;
  font-size: .85rem; font-weight: 700;
}
.article-draft-badge svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ========== CONTACT ========== */
.contact-grid { display: grid; gap: 3rem; }
@media(min-width:1024px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-grid-single { max-width: 640px; margin: 0 auto; }
@media(min-width:1024px) { .contact-grid-single { grid-template-columns: 1fr; } }
.contact-form-wrap {
  background: var(--card); border-radius: var(--radius-xl);
  padding: 2rem; border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-sm);
}
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: .4rem; }
.form-group label { font-size: .875rem; font-weight: 600; color: var(--fg); }
.form-group input,
.form-group textarea {
  padding: .75rem 1rem; border-radius: var(--radius);
  border: 1px solid var(--border); background: var(--bg);
  font-size: .9rem; color: var(--fg); font-family: inherit;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none; border-color: var(--primary-light);
  box-shadow: 0 0 0 3px var(--primary-glow);
}
.form-group textarea { resize: vertical; }
.contact-info-wrap { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-info-card {
  background: var(--card); border-radius: var(--radius-xl);
  padding: 1.5rem; border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: .5rem;
}
.contact-info-item {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem; border-radius: var(--radius-lg);
  transition: background var(--transition-fast);
}
.contact-info-item:hover { background: var(--primary-10); }
.contact-icon {
  width: 44px; height: 44px; border-radius: var(--radius);
  background: var(--primary-10); display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-icon svg { width: 20px; height: 20px; stroke: var(--primary-light); }
.contact-info-item h4 { font-size: .875rem; font-weight: 700; margin-bottom: .15rem; }
.contact-info-item p { font-size: .875rem; color: var(--muted-fg); }
.contact-info-item p a { color: var(--primary); transition: color var(--transition-fast); }
.contact-info-item p a:hover { color: var(--primary-light); }
.contact-socials { display: flex; gap: .625rem; flex-wrap: wrap; }
.contact-socials a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--primary-10); color: var(--primary);
  border: 1px solid var(--border-soft);
  transition: background var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}
.contact-socials a:hover { background: var(--primary); color: var(--primary-fg); transform: translateY(-2px); }
.contact-socials svg { width: 20px; height: 20px; }
.map-placeholder {
  aspect-ratio: 16/9; border-radius: var(--radius-lg);
  background: linear-gradient(145deg, var(--muted), var(--primary-10), var(--accent-soft));
  display: flex; align-items: center; justify-content: center;
  font-size: .875rem; color: var(--muted-fg); font-weight: 500;
  border: 1px solid var(--border-soft);
}

/* ========== ANIMATIONS ========== */
.fade-in {
  opacity: 0; transform: translateY(20px);
  transition: opacity .7s cubic-bezier(.4,0,.2,1), transform .7s cubic-bezier(.4,0,.2,1);
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* Stagger children */
.fade-in:nth-child(2) { transition-delay: .08s; }
.fade-in:nth-child(3) { transition-delay: .16s; }
.fade-in:nth-child(4) { transition-delay: .24s; }
.fade-in:nth-child(5) { transition-delay: .32s; }
.fade-in:nth-child(6) { transition-delay: .4s; }

/* ========== BREADCRUMB ========== */
.breadcrumb-bar {
  background: linear-gradient(180deg, var(--muted), var(--bg));
  border-bottom: 1px solid var(--border-soft);
  padding: 1rem 0;
}
.breadcrumb {
  display: flex; align-items: center; gap: .5rem;
  font-size: .8125rem; color: var(--muted-fg);
  flex-wrap: wrap;
}
.breadcrumb a {
  color: var(--muted-fg); transition: color var(--transition-fast);
  text-decoration: none;
}
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .separator {
  color: var(--border); font-size: .75rem;
}
.breadcrumb .current {
  color: var(--fg); font-weight: 600;
}

/* ========== PAGE HEADER ========== */
.page-header { margin-bottom: 3.5rem; }
.page-header h1 {
  font-size: clamp(1.75rem, 3.5vw, 2.25rem); font-weight: 800;
  letter-spacing: -.025em; margin-bottom: .75rem;
}
.page-header p { color: var(--muted-fg); max-width: 520px; }
.page-header-second p { color: var(--muted-fg); max-width: -webkit-fill-available; }

/* ========== LEGAL CONTENT ========== */
.legal-content h2 {
  font-size: 1.25rem; font-weight: 700; margin-top: 2.75rem;
  margin-bottom: .75rem; color: var(--fg); letter-spacing: -.01em;
}
.legal-content p { color: var(--muted-fg); line-height: 1.85; margin-bottom: 1rem; }
.legal-content ul { margin-bottom: 1rem; padding-left: 1.5rem; list-style: disc; }
.legal-content li { color: var(--muted-fg); line-height: 1.85; margin-bottom: .35rem; }
.legal-content a { color: var(--primary-light); text-decoration: none; text-underline-offset: 3px; }
.legal-content a:hover { color: var(--primary); }

/* ========== SELECTION ========== */
::selection { background: var(--primary-20); color: var(--primary); }

/* ========== SCROLLBAR ========== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--muted-fg); }

/* ========== CHECKOUT EXTRAS ========== */
.checkout-form h2 { font-size: 1.25rem; font-weight: 700; margin-bottom: 1.5rem; }
.step-actions, .form-actions { display: flex; gap: .75rem; margin-top: 1.75rem; }
.payment-options { display: flex; flex-direction: column; gap: .75rem; }
.payment-option {
  display: flex; align-items: center; gap: .75rem;
  padding: 1rem 1.25rem; border-radius: var(--radius-lg);
  border: 1.5px solid var(--border); cursor: pointer;
  transition: all var(--transition-fast);
}
.payment-option:hover { border-color: var(--primary-light); background: var(--primary-10); }
.payment-option input[type="radio"] { accent-color: var(--primary); }
.checkout-grid { display: grid; gap: 2.5rem; }
@media(min-width:1024px) { .checkout-grid { grid-template-columns: 2fr 1fr; } }

/* ========== SITEMAP ========== */
.sitemap-grid { display: grid; gap: 2.5rem; }
@media(min-width:768px) { .sitemap-grid { grid-template-columns: repeat(2, 1fr); } }
@media(min-width:1024px) { .sitemap-grid { grid-template-columns: repeat(4, 1fr); } }
.sitemap-group {
  background: var(--card); border-radius: var(--radius-xl);
  padding: 2rem; border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-sm);
}
.sitemap-group h2 {
  font-size: 1.0625rem; font-weight: 700; margin-bottom: 1.25rem;
  padding-bottom: .75rem; border-bottom: 2px solid var(--primary-10);
}
.sitemap-group ul { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.sitemap-group li a {
  display: block; padding: .5rem .75rem; border-radius: var(--radius);
  font-size: .9rem; color: var(--muted-fg);
  transition: all var(--transition-fast);
}
.sitemap-group li a:hover {
  background: var(--primary-10); color: var(--primary);
  transform: translateX(4px);
}

/* ========== NEWSLETTER ========== */
.newsletter-wrap {
  max-width: 520px; margin: 0 auto; text-align: center;
}
.newsletter-icon {
  width: 5rem; height: 5rem; border-radius: 50%; margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--primary-10), var(--accent-soft));
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 8px rgba(26,51,82,.05);
}
.newsletter-icon svg { width: 2.25rem; height: 2.25rem; stroke: var(--primary); }
.newsletter-wrap h1 { font-size: 2rem; font-weight: 800; margin-bottom: .75rem; }
.newsletter-desc { color: var(--muted-fg); font-size: 1.0625rem; margin-bottom: 2rem; line-height: 1.7; }
.newsletter-form { text-align: left; }
.newsletter-note {
  text-align: center; font-size: .8125rem; color: var(--muted-fg);
  margin-top: 1rem;
}
.newsletter-note a { color: var(--primary-light); text-decoration: underline; text-underline-offset: 3px; }
.newsletter-note a:hover { color: var(--primary); }

/* ========== ALERTS ========== */
.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-lg);
  font-size: .9rem;
  font-weight: 500;
  line-height: 1.6;
  border: 1px solid transparent;
  margin-bottom: 1.25rem;
}
.alert-success {
  background: #f0fdf4;
  color: #166534;
  border-color: #bbf7d0;
}
.alert-danger {
  background: #fef2f2;
  color: #991b1b;
  border-color: #fecaca;
}
.alert-warning {
  background: #fffbeb;
  color: #92400e;
  border-color: #fde68a;
}
.alert-info {
  background: #eff6ff;
  color: #1e40af;
  border-color: #bfdbfe;
}

/* Contact response */
.contact-response { margin-bottom: 1rem; }
.contact-response .alert-content { padding: 1rem 1.25rem; border-radius: var(--radius-lg); font-size: .9rem; font-weight: 500; line-height: 1.6; }
.contact-response.alert-success .alert-content { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
.contact-response.alert-error .alert-content { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.contact-response.alert-warning .alert-content { background: #fffbeb; color: #92400e; border: 1px solid #fde68a; }

/* ========== GALLERY PAGE ========== */
.gallery-filters {
  display: flex; gap: .5rem; flex-wrap: wrap;
  justify-content: center; margin-bottom: 2.5rem;
}
.gallery-page-grid {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(2, 1fr);
}
@media(min-width:768px) { .gallery-page-grid { grid-template-columns: repeat(3, 1fr); } }
@media(min-width:1024px) { .gallery-page-grid { grid-template-columns: repeat(4, 1fr); } }
.gallery-page-grid .gallery-item {
  aspect-ratio: 1; border-radius: var(--radius-lg); overflow: hidden;
  position: relative; cursor: pointer;
}
.gallery-page-grid .gallery-item .bg {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--primary-10), var(--muted));
  transition: transform var(--transition);
}
.gallery-page-grid .gallery-item:hover .bg { transform: scale(1.05); }
.gallery-page-grid .gallery-item .overlay {
  position: absolute; inset: 0;
  background: rgba(12,22,41,.6);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  opacity: 0; transition: opacity var(--transition);
}
.gallery-page-grid .gallery-item:hover .overlay { opacity: 1; }
.overlay-title { color: #fff; font-weight: 700; font-size: 1rem; margin-bottom: .25rem; }
.overlay-cat { color: rgba(255,255,255,.7); font-size: .8125rem; }

/* ========== GALERIE (data-driven: galerie.php) ========== */
.gal-empty { grid-column: 1 / -1; width: 100%; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1rem; padding: 4rem 1.5rem; border-radius: var(--radius-xl); border: 1px solid var(--border-soft); background: linear-gradient(160deg, var(--bg-warm), var(--card)); box-shadow: var(--shadow-sm); }
.gal-empty-icon { display: flex; align-items: center; justify-content: center; width: 88px; height: 88px; border-radius: 50%; background: linear-gradient(135deg, var(--primary-10), var(--accent-soft)); color: var(--primary); box-shadow: inset 0 0 0 1px var(--border-soft); }
.gal-empty-icon svg { width: 44px; height: 44px; }
.gal-empty h2 { font-size: 1.4rem; font-weight: 800; letter-spacing: -.02em; color: var(--fg); }
.gal-empty p { max-width: 460px; color: var(--muted-fg); font-size: 1rem; line-height: 1.7; }
.gal-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1rem; }@media(min-width:768px){ .gal-grid { grid-template-columns: repeat(3,1fr); gap: 1.25rem; } }
@media(min-width:1024px){ .gal-grid { grid-template-columns: repeat(4,1fr); } }
.gal-item { position: relative; aspect-ratio: 1; border-radius: var(--radius-lg); overflow: hidden; cursor: pointer; box-shadow: var(--shadow-sm); border: 1px solid var(--border-soft); background: var(--muted); transition: transform var(--transition), box-shadow var(--transition); }
.gal-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.gal-item:focus-visible { outline: 2px solid var(--primary-light); outline-offset: 2px; }
.gal-thumb { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform var(--transition); }
.gal-item:hover .gal-thumb { transform: scale(1.06); }
.gal-thumb-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5rem; background: linear-gradient(135deg, var(--primary-10), var(--muted)); color: var(--primary); }
.gal-thumb-empty svg { width: 42px; height: 42px; }
.gal-thumb-empty span { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.gal-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 54px; height: 54px; border-radius: 50%; background: rgba(12,22,41,.55); backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; pointer-events: none; transition: background var(--transition), transform var(--transition); }
.gal-item:hover .gal-play { background: var(--primary); transform: translate(-50%,-50%) scale(1.08); }
.gal-play svg { width: 24px; height: 24px; color: #fff; margin-left: 3px; }
.gal-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: .15rem; padding: 1rem; background: linear-gradient(to top, rgba(12,22,41,.72), rgba(12,22,41,0) 55%); opacity: 0; transition: opacity var(--transition); }
.gal-item:hover .gal-overlay, .gal-item:focus-visible .gal-overlay { opacity: 1; }
.gal-title { color: #fff; font-weight: 700; font-size: .95rem; line-height: 1.25; }
.gal-cat { color: rgba(255,255,255,.75); font-size: .8rem; }

.gal-lightbox { display: none; position: fixed; inset: 0; z-index: 300; background: rgba(8,15,28,.92); backdrop-filter: blur(6px); align-items: center; justify-content: center; padding: 2rem; animation: galLbIn .2s ease; }
.gal-lightbox.open { display: flex; }
@keyframes galLbIn { from { opacity: 0; } to { opacity: 1; } }
.gal-lb-stage { position: relative; width: 100%; max-width: 1000px; max-height: 82vh; display: flex; align-items: center; justify-content: center; }
.gal-lb-img { max-width: 100%; max-height: 82vh; width: auto; height: auto; border-radius: var(--radius-lg); box-shadow: 0 20px 60px rgba(0,0,0,.5); object-fit: contain; }
.gal-lb-video { position: relative; width: 100%; max-width: 1000px; aspect-ratio: 16/9; max-height: 82vh; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,.5); background: #000; }
.gal-lb-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.gal-lb-close { position: absolute; top: 1.25rem; right: 1.25rem; width: 44px; height: 44px; border-radius: 50%; border: none; cursor: pointer; background: rgba(255,255,255,.12); display: flex; align-items: center; justify-content: center; transition: background var(--transition-fast); }
.gal-lb-close:hover { background: rgba(255,255,255,.25); }
.gal-lb-close svg { width: 22px; height: 22px; stroke: #fff; }
.gal-lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: none; cursor: pointer; background: rgba(255,255,255,.12); display: flex; align-items: center; justify-content: center; transition: background var(--transition-fast); z-index: 2; }
.gal-lb-nav:hover { background: rgba(255,255,255,.25); }
.gal-lb-nav svg { width: 24px; height: 24px; stroke: #fff; }
.gal-lb-prev { left: 1.25rem; }
.gal-lb-next { right: 1.25rem; }
.gal-lb-counter { position: absolute; bottom: 1.25rem; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.8); font-size: .875rem; font-weight: 600; letter-spacing: .04em; }

/* ========== TERMS & CONDITIONS ========== */
.simple-profile { margin: 0 auto; }
.profile-header {
  display: flex; align-items: center; gap: 1.25rem;
  padding-bottom: 1.75rem; margin-bottom: 2rem;
  border-bottom: 1px solid var(--border-soft);
}
.profile-avatar { flex-shrink: 0; }
.profile-avatar img {
  width: 72px; height: 72px; border-radius: 50%;
  object-fit: cover; border: 2px solid var(--border-soft);
  box-shadow: var(--shadow-sm);
}
.profile-info { display: flex; flex-direction: column; gap: .2rem; }
.profile-info h1 {
  font-size: 1.35rem; font-weight: 800; letter-spacing: -.02em;
  line-height: 1.3; margin: 0;
}
.profile-info h1:hover { color: var(--primary); }
.profile-info p { font-size: .9rem; color: var(--muted-fg); margin: 0; }
.profile-info .contact-info {
  display: flex; flex-wrap: wrap; gap: .5rem .75rem;
  margin-top: 0; font-size: .8125rem; color: var(--muted-fg);
}

.terms-container { margin-bottom: 2rem; }
.terms-section .section-header { text-align: left; margin-bottom: 1.5rem; }
.terms-section .section-header h2 { font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; }
.terms-content { display: flex; flex-direction: column; gap: 2rem; }
.custom-terms-content {
  font-size: .9rem; color: var(--muted-fg); line-height: 1.85;
}

/* Not published message */
.not-published-message {
  background: var(--bg-warm); border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg); padding: 2.5rem; text-align: center;
}
.message-header {
  display: flex; flex-direction: column; align-items: center; gap: .75rem;
  margin-bottom: 1rem;
}
.message-header .message-icon { stroke: var(--muted-fg); opacity: .5; }
.message-header h3 { font-size: 1.125rem; font-weight: 700; }
.message-content p {
  font-size: .9rem; color: var(--muted-fg); line-height: 1.7;
  margin-bottom: .35rem;
}

/* Contact & Support sections */
.contact-section,
.support-section,
.platform-terms-section {
  background: var(--card); border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg); padding: 1.5rem;
}
.contact-section h4,
.support-section h4,
.platform-terms-section h4 {
  font-size: .9375rem; font-weight: 700; margin-bottom: .5rem;
}
.contact-section p,
.support-section p,
.platform-terms-section p {
  font-size: .875rem; color: var(--muted-fg); line-height: 1.7;
  margin-bottom: .75rem;
}
.merchant-contact { display: flex; flex-direction: column; gap: .3rem; }
.merchant-contact p {
  font-size: .875rem; color: var(--muted-fg); line-height: 1.6; margin: 0;
}
.merchant-contact a { color: var(--primary-light); text-decoration: underline; text-underline-offset: 3px; }
.merchant-contact a:hover { color: var(--primary); }

.support-links { display: flex; flex-wrap: wrap; gap: .75rem; }
.support-link {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .6rem 1.15rem; border-radius: var(--radius);
  font-size: .8125rem; font-weight: 600;
  background: var(--primary-10); color: var(--primary);
  border: 1px solid var(--primary-10);
  transition: all var(--transition-fast);
}
.support-link:hover {
  background: var(--primary); color: var(--primary-fg) !important;
  box-shadow: var(--shadow-primary) !important;
}
.support-link:hover svg { stroke: var(--primary-fg) !important; }
.support-link svg { flex-shrink: 0; width: 18px; height: 18px; stroke: var(--primary); transition: stroke var(--transition-fast); }

@media(max-width:767px) {
  .profile-header { flex-direction: column; text-align: center; align-items: center; }
  .profile-info .contact-info { justify-content: center; }
  .support-links { flex-direction: column; }
}

/* ========== ORDER / CHECKOUT MODAL (view) ========== */
.modal { position: fixed; inset: 0; z-index: 1200; display: none; }
.modal.active { display: block; }
.modal .modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(15,23,42,.55); backdrop-filter: blur(3px);
  animation: pvModalFade .25s ease;
}
.modal .modal-content {
  position: relative; z-index: 1; margin: 4vh auto;
  max-width: 560px; width: calc(100% - 2rem);
  max-height: 92vh; overflow-y: auto;
  background: var(--card); border-radius: var(--radius-xl);
  border: 1px solid var(--border-soft);
  box-shadow: 0 30px 80px rgba(0,0,0,.28);
  animation: pvModalUp .3s cubic-bezier(.16,1,.3,1);
}
.modal .purchase-modal-content { max-width: 560px; }
.modal .modal-header {
  position: sticky; top: 0; z-index: 3;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.2rem 1.5rem; border-bottom: 1px solid var(--border-soft);
  background: var(--card); border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}
.modal .modal-header h3 { font-size: 1.2rem; font-weight: 800; letter-spacing: -.01em; }
.modal .modal-close {
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--muted); border: 1px solid var(--border-soft); color: var(--muted-fg);
  font-size: 1.4rem; line-height: 1; cursor: pointer; transition: all var(--transition-fast);
}
.modal .modal-close:hover { background: var(--primary-10); color: var(--primary); }
.modal .modal-body { padding: 1.5rem; }

/* Progress stepper */
.purchase-progress {
  display: flex; align-items: flex-start; gap: .25rem;
  padding: 1.25rem 1.5rem; background: var(--muted);
  border-bottom: 1px solid var(--border-soft);
}
.progress-step {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: .4rem;
  position: relative; text-align: center; color: var(--muted-fg);
}
.progress-step:not(:last-child)::after {
  content: ''; position: absolute; top: 15px;
  left: calc(50% + 20px); right: calc(-50% + 20px);
  height: 2px; background: var(--border);
}
.progress-step.done:not(:last-child)::after { background: var(--primary); }
.step-number {
  width: 32px; height: 32px; border-radius: 50%; position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: center;
  background: var(--card); border: 2px solid var(--border);
  font-size: .85rem; font-weight: 700; color: var(--muted-fg);
  transition: all var(--transition-fast);
}
.progress-step.active .step-number {
  border-color: var(--primary); background: var(--primary); color: var(--primary-fg);
  box-shadow: 0 0 0 4px var(--primary-glow);
}
.progress-step.done .step-number { border-color: var(--primary); background: var(--primary); color: var(--primary-fg); }
.step-label { font-size: .72rem; font-weight: 600; }
.progress-step.active .step-label { color: var(--primary); }

/* Steps + form */
.purchase-step h4 { font-size: 1rem; font-weight: 800; margin: 0 0 .9rem; }
#onePageForm .purchase-step { padding-bottom: 1.15rem; margin-bottom: 1.15rem; border-bottom: 1px solid var(--border-soft); }
#onePageForm .purchase-step:last-of-type { border-bottom: 0; padding-bottom: 0; margin-bottom: 0; }
.modal .modal-body .form-group { margin-bottom: .2rem; }
.modal .modal-body .form-group label { display: block; font-size: .8rem; font-weight: 600; margin-bottom: .0px; color: var(--fg); }
.modal .modal-body .form-group label.checkbox-label,
.modal .modal-body .form-group label.radio-label { margin-bottom: 0; }
.modal .modal-body .form-group label sub,
.modal .modal-body .form-group label small { font-weight: 400; color: var(--muted-fg); }
.modal .modal-body .form-group input:not([type="checkbox"]):not([type="radio"]),
.modal .modal-body .form-group select,
.modal .modal-body .form-group textarea {
  width: 100%; padding: .5rem .75rem; border-radius: var(--radius);
  border: 1px solid var(--border); background: var(--bg);
  font-size: .875rem; line-height: 1.35; color: var(--fg); font-family: inherit;
  box-shadow: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.modal .modal-body .form-group input:not([type="checkbox"]):not([type="radio"]):focus,
.modal .modal-body .form-group select:focus,
.modal .modal-body .form-group textarea:focus { outline: none; border-color: var(--primary-light); box-shadow: 0 0 0 3px var(--primary-glow); }
.modal .modal-body .form-group textarea { resize: vertical; min-height: 78px; }

/* Validation message */
.purchase-validation-message {
  padding: .85rem 1.1rem; border-radius: var(--radius-lg);
  background: #fef2f2; color: #991b1b; border: 1px solid #fecaca;
  font-size: .875rem; font-weight: 500; margin-bottom: 1.25rem;
}

/* CIF field */
.cif-input-container { position: relative; }
.cif-loading { position: absolute; right: .75rem; top: .7rem; color: var(--primary); }
.cif-result {
  margin-top: .5rem; padding: .65rem .85rem; border-radius: var(--radius);
  font-size: .82rem; line-height: 1.5;
  background: var(--primary-10); color: var(--primary); border: 1px solid var(--border-soft);
}

/* Checkbox / radio */
.checkbox-label, .radio-label {
  display: flex; align-items: flex-start; gap: .6rem; cursor: pointer;
  font-size: .875rem; line-height: 1.5;
}
.checkbox-label .checkbox-input, .radio-label input[type="radio"] {
  width: 18px; height: 18px; min-width: 18px; accent-color: var(--primary); flex-shrink: 0; margin: .1rem 0 0;
}
.checkbox-text, .radio-text { color: var(--fg); }
.checkbox-text a { color: var(--primary); text-decoration: underline; text-underline-offset: 2px; }
.radio-label { padding: .35rem 0; }

/* Payment methods */
.payment-intro { font-size: .9rem; color: var(--muted-fg); margin-bottom: 1rem; }
.payment-methods-list { display: flex; flex-direction: column; gap: .75rem; }
.payment-methods-list .payment-label { display: block; cursor: pointer; margin: 0; position: relative; }
.payment-methods-list .payment-radio { position: absolute; opacity: 0; pointer-events: none; }
.payment-methods-list .payment-option {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem 1.15rem; border-radius: var(--radius-lg);
  border: 1.5px solid var(--border); background: var(--card);
  transition: all var(--transition-fast); cursor: pointer;
}
.payment-methods-list .payment-label:hover .payment-option { border-color: var(--primary-light); background: var(--primary-10); }
.payment-methods-list .payment-radio:checked + .payment-option {
  border-color: var(--primary); background: var(--primary-10);
  box-shadow: 0 0 0 3px var(--primary-glow);
}
.payment-icon {
  width: 44px; height: 44px; flex-shrink: 0; border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  background: var(--primary-10); color: var(--primary);
}
.payment-icon svg { width: 22px; height: 22px; }
.payment-info h5 { font-size: .95rem; font-weight: 700; margin-bottom: .15rem; }
.payment-info p { font-size: .82rem; color: var(--muted-fg); line-height: 1.4; }

/* Order summary / subtotal */
.order-subtotal {
  margin-top: 1rem; padding: 1rem 1.25rem; border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--primary-10), var(--accent-soft));
  border: 1px solid var(--border-soft); font-size: 1rem; line-height: 1.6;
}
.order-subtotal strong { color: var(--primary); }
.order-subtotal p { font-size: .82rem; color: var(--muted-fg); margin-top: .5rem; }
.order-summary-final p { font-size: .9rem; color: var(--muted-fg); margin-bottom: 1rem; }
#finalSummary { font-size: .875rem; }
#finalSummary .summary-section + .summary-section { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--border-soft); }
#finalSummary .summary-section h6 {
  font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
  color: var(--primary); margin: 0 0 .5rem;
}
#finalSummary .summary-section p { font-size: .875rem; line-height: 1.5; margin: 0 0 .3rem; color: var(--muted-fg); }
#finalSummary .summary-section p:last-child { margin-bottom: 0; }
#finalSummary .summary-section p strong { color: var(--fg); font-weight: 600; }

/* Navigation buttons */
.purchase-navigation {
  display: flex; gap: .75rem; margin-top: 1.5rem;
  padding-top: 1.25rem; border-top: 1px solid var(--border-soft);
}
.purchase-navigation .btn { flex: 1; justify-content: center; }
.purchase-navigation #prevStep { flex: 0 0 auto; min-width: 110px; }

/* Select2 inside modal */
.modal .select2-container { width: 100% !important; }
.modal .select2-container--default .select2-selection--single {
  height: auto; min-height: 0; padding: .5rem .4rem; border: 1px solid var(--border);
  border-radius: var(--radius); background: var(--bg);
}
.modal .select2-container--default .select2-selection--single .select2-selection__rendered { line-height: 1.35; color: var(--fg); padding-left: .35rem; }
.modal .select2-container--default .select2-selection--single .select2-selection__placeholder { color: var(--fg); }
.modal .select2-container--default .select2-selection--single .select2-selection__arrow { height: 100%; }

@media(max-width:600px) {
  .step-label { display: none; }
  .purchase-progress { padding: 1rem; }
  .modal .modal-content, .modal .purchase-modal-content {
    margin: 0 auto; min-height: 100vh; max-height: 100vh; border-radius: 0; width: 100%;
  }
  .modal .modal-header { border-radius: 0; }
  .purchase-navigation { flex-direction: column-reverse; }
  .purchase-navigation .btn, .purchase-navigation #prevStep { flex: 1 1 auto; }
}

/* ========== ORDER PAY PAGE (order-pay.php) ========== */
.op-page { max-width: 960px; margin: 0 auto; padding: 2.5rem 1.25rem 3rem; }

.op-brand {
  display: flex; align-items: center; gap: 1rem;
  padding-bottom: 1.5rem; margin-bottom: 1.75rem;
  border-bottom: 1px solid var(--border-soft);
}
.op-brand-avatar img {
  width: 60px; height: 60px; border-radius: 50%;
  object-fit: cover; border: 2px solid var(--border-soft); box-shadow: var(--shadow-sm);
}
.op-brand-info h1 { font-size: 1.2rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.25; margin: 0; }
.op-brand-info h1:hover { color: var(--primary); }
.op-brand-info p { font-size: .85rem; color: var(--muted-fg); margin: .15rem 0 0; }

.op-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media(min-width:860px){ .op-grid { grid-template-columns: 1.6fr 1fr; align-items: start; } }
.op-main { display: flex; flex-direction: column; gap: 1.25rem; }
.op-side { display: flex; flex-direction: column; gap: 1.25rem; }

.op-hero {
  position: relative; overflow: hidden;
  border-radius: var(--radius-xl); border: 1px solid var(--border-soft);
  background: linear-gradient(160deg, var(--primary-10), var(--accent-soft));
  padding: 1.75rem 1.75rem 1.6rem;
}
.op-hero::after {
  content: ''; position: absolute; top: -60px; right: -60px;
  width: 180px; height: 180px; border-radius: 50%;
  background: radial-gradient(circle, var(--primary-glow), transparent 70%);
  pointer-events: none;
}
.op-hero-top {
  display: flex; align-items: center; justify-content: space-between;
  gap: .75rem; flex-wrap: wrap; margin-bottom: 1.1rem;
}
.op-order-no { font-size: .95rem; font-weight: 700; color: var(--fg); letter-spacing: -.01em; }
.op-amount { font-size: 2.4rem; font-weight: 900; letter-spacing: -.03em; color: var(--fg); line-height: 1; }
.op-amount span { font-size: 1.1rem; font-weight: 700; color: var(--muted-fg); margin-left: .35rem; }
.op-date { margin-top: .55rem; font-size: .85rem; color: var(--muted-fg); }

.op-badge {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .4rem .85rem; border-radius: 999px;
  font-size: .78rem; font-weight: 700; letter-spacing: .01em;
  border: 1px solid transparent; white-space: nowrap;
}
.op-badge::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.op-badge-wait    { background: #fffbeb; color: #92400e; border-color: #fde68a; }
.op-badge-process { background: #eff6ff; color: #1e40af; border-color: #bfdbfe; }
.op-badge-paid    { background: #f0fdf4; color: #166534; border-color: #bbf7d0; }
.op-badge-cancel  { background: #fef2f2; color: #991b1b; border-color: #fecaca; }
.op-badge-refund  { background: #f5f3ff; color: #5b21b6; border-color: #ddd6fe; }

.op-action { display: flex; flex-direction: column; gap: 1rem; }
.op-action:empty { display: none; }
.op-action .purchase-validation-message { margin-bottom: 0; }
.op-action .purchase-validation-message.alert-warning { background: #fffbeb; color: #92400e; border-color: #fde68a; }
.op-action .purchase-validation-message.alert-info { background: #eff6ff; color: #1e40af; border-color: #bfdbfe; }
.op-action .purchase-validation-message.alert-success { background: #f0fdf4; color: #166534; border-color: #bbf7d0; }
.op-action .purchase-validation-message.alert-error { background: #fef2f2; color: #991b1b; border-color: #fecaca; }
.op-action .alert-content { line-height: 1.6; }
.op-action form { margin: 0; }
.op-action .btn-primary { width: 100%; justify-content: center; }

.op-redirect-note {
  display: flex; align-items: flex-start; gap: .75rem;
  padding: 1rem 1.15rem; border-radius: var(--radius-lg);
  background: var(--card); border: 1px solid var(--border-soft);
  font-size: .875rem; color: var(--muted-fg); line-height: 1.6;
}
.op-redirect-note svg { flex-shrink: 0; width: 20px; height: 20px; stroke: var(--primary); margin-top: 1px; }

.op-proforma-link {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .7rem 1.15rem; border-radius: var(--radius-lg);
  background: var(--primary-10); border: 1px solid var(--primary-light);
  color: var(--primary); font-size: .9rem; font-weight: 700;
  text-decoration: none; transition: var(--transition-fast);
}
.op-proforma-link:hover { background: var(--primary); color: var(--primary-fg); }
.op-proforma-link svg { flex-shrink: 0; width: 18px; height: 18px; stroke: currentColor; }

.op-proforma-bar { margin: 0 0 1.5rem; }
.op-proforma-bar .op-proforma-link { width: 100%; justify-content: center; padding: .95rem 1.15rem; }

.op-card {
  background: var(--card); border: 1px solid var(--border-soft);
  border-radius: var(--radius-xl); padding: 1.35rem 1.5rem;
}
.op-card h3 {
  display: flex; align-items: center; gap: .55rem;
  font-size: .95rem; font-weight: 800; letter-spacing: -.01em; margin: 0 0 1rem;
}
.op-card h3 svg { width: 18px; height: 18px; stroke: var(--primary); flex-shrink: 0; }

.op-rows { display: flex; flex-direction: column; gap: 0; }
.op-row {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 1rem; padding: .6rem 0; border-bottom: 1px dashed var(--border-soft);
}
.op-row:last-child { border-bottom: 0; padding-bottom: 0; }
.op-row:first-child { padding-top: 0; }
.op-row .op-k { font-size: .82rem; color: var(--muted-fg); font-weight: 500; }
.op-row .op-v { font-size: .875rem; color: var(--fg); font-weight: 700; text-align: right; }
.op-row .op-v.op-total { color: var(--primary); font-size: 1rem; }

.op-contact { display: flex; flex-direction: column; gap: .45rem; }
.op-contact p { font-size: .85rem; color: var(--muted-fg); line-height: 1.5; margin: 0; }
.op-contact strong { color: var(--fg); font-weight: 600; }
.op-contact a { color: var(--primary-light); text-decoration: underline; text-underline-offset: 3px; }
.op-contact a:hover { color: var(--primary); }

.op-address { font-size: .85rem; color: var(--fg); line-height: 1.6; }

@media(max-width:600px){
  .op-brand { flex-direction: column; text-align: center; }
  .op-amount { font-size: 2rem; }
}
