/* ========== 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%; }

/* ========== 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; }

@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;
}
.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); }
@keyframes scrollLeft { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }

/* ========== 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; }

/* 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;
}
.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; }

/* ========== 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-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 { font-size: 1.125rem; font-weight: 800; color: var(--primary); }

/* 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); } }

/* ========== 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;
}

.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; }

/* ========== CONTACT ========== */
.contact-grid { display: grid; gap: 3rem; }
@media(min-width:1024px) { .contact-grid { grid-template-columns: 1fr 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); }
.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; }

/* ========== 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; }

/* ========== 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; }
}
