/* ===== SMARTGIFTBOX — RESET & BASE ===== */
*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}
:root{
  --bg:#0a0e17;
  --bg-card:rgba(17,24,39,0.72);
  --bg-card-hover:rgba(30,41,59,0.82);
  --neon-cyan:#00d9ff;
  --neon-purple:#b537f2;
  --neon-green:#00ff88;
  --text:#e2e8f0;
  --text-muted:#aeb8c7;
  --border:rgba(0,217,255,0.15);
  --border-hover:rgba(0,217,255,0.4);
  --radius:14px;
  --transition:.3s cubic-bezier(.4,0,.2,1);
  --font:'Segoe UI',system-ui,-apple-system,sans-serif;
}
html{scroll-behavior:smooth;font-size:16px}
body{
  font-family:var(--font);
  background:var(--bg);
  color:var(--text);
  line-height:1.6;
  overflow-x:hidden;
  min-height:100vh;
}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
ul{list-style:none}

/* ===== ACCESSIBILITY ===== */
a:focus-visible,button:focus-visible{
  outline:2px solid var(--neon-cyan);
  outline-offset:2px;
  border-radius:4px;
}

/* ===== ANIMATED BACKGROUND ===== */
.bg-spheres{position:fixed;top:0;left:0;width:100%;height:100%;z-index:-1;overflow:hidden;pointer-events:none}
.sphere{position:absolute;border-radius:50%;filter:blur(80px);opacity:.35;animation:float 18s ease-in-out infinite;will-change:transform;contain:strict}
.sphere:nth-child(1){width:400px;height:400px;background:var(--neon-cyan);top:-100px;left:-80px;animation-delay:0s}
.sphere:nth-child(2){width:350px;height:350px;background:var(--neon-purple);top:30%;right:-100px;animation-delay:-6s}
.sphere:nth-child(3){width:300px;height:300px;background:var(--neon-green);bottom:-80px;left:30%;animation-delay:-12s}
@keyframes float{
  0%,100%{transform:translate(0,0) scale(1)}
  33%{transform:translate(60px,-40px) scale(1.1)}
  66%{transform:translate(-40px,60px) scale(.95)}
}

/* ===== NAVIGATION ===== */
.nav{
  position:sticky;top:0;z-index:100;
  background:rgba(10,14,23,0.85);
  backdrop-filter:blur(12px);
  border-bottom:1px solid var(--border);
  padding:.8rem 0;
}
.nav-container{max-width:1280px;margin:0 auto;padding:0 1.2rem;display:flex;align-items:center;justify-content:space-between;gap:.6rem}
.nav-logo{display:flex;align-items:center;gap:.6rem;font-size:1.3rem;font-weight:700;letter-spacing:.5px;white-space:nowrap}
.nav-logo .ai-badge{
  display:inline-flex;align-items:center;justify-content:center;
  width:34px;height:34px;border-radius:9px;
  background:linear-gradient(135deg,var(--neon-cyan),var(--neon-purple));
  font-size:.75rem;font-weight:800;color:var(--bg);
  box-shadow:0 0 14px rgba(0,217,255,.4);
}
.nav-links{display:flex;gap:1.6rem;align-items:center}
.nav-links a{
  font-size:.92rem;color:var(--text-muted);
  transition:color var(--transition);position:relative;
  white-space:nowrap;
}
.nav-links a::after{content:'';position:absolute;bottom:-4px;left:0;width:0;height:2px;background:var(--neon-cyan);transition:width var(--transition)}
.nav-links a:hover{color:var(--neon-cyan)}
.nav-links a:hover::after{width:100%}
.nav-links a.active{color:var(--neon-cyan)}
.nav-links a.active::after{width:100%}

/* ===== BURGER TOGGLE ===== */
.nav-toggle{
  display:none;
  background:none;border:1px solid var(--border);color:var(--text);
  font-size:1.3rem;cursor:pointer;padding:.4rem .6rem;border-radius:8px;
  line-height:1;
}

/* ===== LAYOUT ===== */
.container{max-width:1280px;margin:0 auto;padding:0 1.2rem}
.section{padding:3.5rem 0}
.section-title{
  font-size:1.8rem;font-weight:700;text-align:center;margin-bottom:.5rem;
  background:linear-gradient(135deg,var(--neon-cyan),var(--neon-purple));
  -webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;
  text-wrap:balance;
}
h1.section-title{
  font-size:clamp(2rem,5vw,3.4rem);font-weight:800;margin-bottom:1.2rem;
}
.section-subtitle{text-align:center;color:var(--text-muted);margin-bottom:2.5rem;font-size:.95rem}

/* ===== HERO ===== */
.hero{text-align:center;padding:5rem 1.2rem 3.5rem}
.hero h1{
  font-size:clamp(2rem,5vw,3.4rem);font-weight:800;line-height:1.15;max-width:800px;margin:0 auto 1.2rem;
  text-wrap:balance;
  background:linear-gradient(135deg,var(--neon-cyan),var(--neon-purple));
  -webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;
}

.hero p{font-size:1.05rem;color:var(--text-muted);max-width:580px;margin:0 auto 2rem}
.hero-cta{display:inline-flex;gap:1rem;flex-wrap:wrap;justify-content:center}
.btn-primary{
  display:inline-block;padding:.85rem 2rem;border-radius:10px;
  background:linear-gradient(135deg,var(--neon-cyan),var(--neon-purple));
  color:var(--bg);font-weight:700;font-size:.95rem;
  transition:transform var(--transition),box-shadow var(--transition);
}
.btn-primary:hover{transform:translateY(-2px);box-shadow:0 8px 30px rgba(0,217,255,.35)}
.btn-ghost{
  display:inline-block;padding:.85rem 2rem;border-radius:10px;
  border:1px solid var(--border-hover);color:var(--text);font-weight:600;font-size:.95rem;
  transition:background var(--transition);
}
.btn-ghost:hover{background:rgba(0,217,255,.08)}

/* ===== CATEGORY GRID ===== */
.cat-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:1.5rem}
.cat-card{
  position:relative;padding:2rem 1.6rem;border-radius:var(--radius);
  background:var(--bg-card);border:1px solid var(--border);
  transition:all var(--transition);overflow:hidden;
}
.cat-card::before{content:'';position:absolute;top:0;left:0;width:100%;height:3px;background:linear-gradient(90deg,var(--neon-cyan),var(--neon-purple));transform:scaleX(0);transform-origin:left;transition:transform var(--transition)}
.cat-card:hover{transform:translateY(-4px);border-color:var(--border-hover);background:var(--bg-card-hover)}
.cat-card:hover::before{transform:scaleX(1)}
.cat-icon{height:160px;margin-bottom:1rem;border-radius:10px;overflow:hidden;display:flex;align-items:center;justify-content:center}
.cat-icon img{width:100%;height:100%;object-fit:cover;border-radius:10px;filter:drop-shadow(0 0 10px rgba(181,55,242,.5));transition:transform .3s ease,filter .3s ease}
.cat-card h3{font-size:1.2rem;margin-bottom:.5rem}
.cat-card p{color:var(--text-muted);font-size:.88rem;margin-bottom:1rem}
.cat-link{font-size:.88rem;color:var(--neon-cyan);font-weight:600;display:inline-flex;align-items:center;gap:.3rem}
.cat-link::after{content:'→';transition:transform var(--transition)}
.cat-card:hover .cat-link::after{transform:translateX(4px)}
.cat-card:hover .cat-icon img{transform:scale(1.06);filter:drop-shadow(0 0 18px rgba(0,217,255,.7))}

/* ===== WHY US ===== */
.why-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:1.5rem}
.why-card{padding:1.8rem 1.4rem;border-radius:var(--radius);background:var(--bg-card);border:1px solid var(--border);transition:all var(--transition)}
.why-card:hover{border-color:var(--border-hover);transform:translateY(-3px)}
.why-icon{font-size:2rem;margin-bottom:.8rem}
.why-card h3{font-size:1.05rem;margin-bottom:.4rem}
.why-card p{color:var(--text-muted);font-size:.86rem}

/* ===== BLOG PREVIEW ===== */
.blog-preview-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:1.5rem}
.blog-card{
  border-radius:var(--radius);background:var(--bg-card);border:1px solid var(--border);
  overflow:hidden;transition:all var(--transition);display:flex;flex-direction:column;
}
.blog-card:hover{border-color:var(--border-hover);transform:translateY(-3px)}
.blog-card-img{height:190px;background:linear-gradient(135deg,#161b28,#1e293b);display:flex;align-items:center;justify-content:center;overflow:hidden;position:relative}
.blog-card-body{padding:1.3rem;flex:1;display:flex;flex-direction:column}
.blog-card-date{font-size:.78rem;color:var(--neon-cyan);margin-bottom:.4rem}
.blog-card h3{font-size:1.05rem;margin-bottom:.5rem}
.blog-card p{color:var(--text-muted);font-size:.85rem;margin-bottom:1rem;flex:1}
.blog-card a{color:var(--neon-cyan);font-size:.85rem;font-weight:600}

/* ===== CATALOG TABS ===== */
.catalog-tabs{display:flex;gap:.5rem;overflow-x:auto;padding-bottom:.5rem;margin-bottom:2rem;-webkit-overflow-scrolling:touch;scroll-snap-type:x mandatory}
.catalog-tabs button{
  flex-shrink:0;padding:.7rem 1.4rem;border-radius:10px;
  background:var(--bg-card);border:1px solid var(--border);
  color:var(--text-muted);font-size:.88rem;font-weight:600;cursor:pointer;
  transition:all var(--transition);white-space:nowrap;scroll-snap-align:start;
}
.catalog-tabs button:hover{border-color:var(--border-hover);color:var(--text)}
.catalog-tabs button.active{background:linear-gradient(135deg,var(--neon-cyan),var(--neon-purple));color:var(--bg);border-color:transparent}

/* ===== PRODUCT CARDS ===== */
.product-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1.5rem}
.product-card{
  border-radius:var(--radius);background:var(--bg-card);border:1px solid var(--border);
  overflow:hidden;transition:all var(--transition);display:flex;flex-direction:column;
}
.product-card:hover{border-color:var(--border-hover);transform:translateY(-4px)}
.product-img{height:170px;background:linear-gradient(135deg,#161b28,#1e293b);display:flex;align-items:center;justify-content:center;font-size:3.5rem;position:relative;overflow:hidden}.product-img img{width:100%;height:100%;object-fit:contain;border-radius:0;position:absolute;top:0;left:0;z-index:1;padding:12px;box-sizing:border-box}
.product-emoji{position:absolute;top:0;left:0;width:100%;height:100%;display:flex;align-items:center;justify-content:center;font-size:3.5rem;z-index:0;line-height:1;filter:drop-shadow(0 0 10px rgba(0,217,255,.3))}
.product-badge{position:absolute;top:.8rem;left:.8rem;font-size:.72rem;padding:.2rem .6rem;border-radius:6px;background:rgba(0,217,255,.15);color:var(--neon-cyan);font-weight:600;border:1px solid rgba(0,217,255,.3)}
.product-body{padding:1rem;display:flex;flex-direction:column;flex:1}
.product-body h3{font-size:.95rem;margin-bottom:.4rem}
.product-cat{font-size:.78rem;color:var(--neon-purple);margin-bottom:.4rem;font-weight:600}
.product-desc{color:var(--text-muted);font-size:.8rem;margin-bottom:1rem;flex:1}
.product-price{font-size:.95rem;font-weight:700;color:var(--neon-cyan);margin:.5rem 0 1rem;letter-spacing:.02em}

/* ===== PRODUCT BUTTONS — COMPACT 2x2 GRID ===== */
.product-buttons{display:grid;grid-template-columns:1fr 1fr;gap:.5rem}
.product-buttons a{
  display:flex;align-items:center;justify-content:center;
  padding:.55rem .5rem;border-radius:8px;font-size:.75rem;font-weight:600;
  transition:all var(--transition);
  background:rgba(30,41,59,0.6);
  border:1px solid rgba(0,217,255,0.12);
  color:var(--text);
  position:relative;
  overflow:hidden;
  text-align:center;
}
/* Brand accent strip on left */
.product-buttons a::before{
  content:'';position:absolute;left:0;top:0;bottom:0;width:3px;
}
.product-buttons a.btn-ym::before{background:#ffcc00}
.product-buttons a.btn-ozon::before{background:#005bff}
.product-buttons a.btn-wb::before{background:#cb11ab}
.product-buttons a.btn-ali::before{background:#ff4717}
.product-buttons a:hover{
  background:rgba(30,41,59,0.9);
  border-color:rgba(0,217,255,0.25);
  transform:translateY(-1px);
}
/* Hide "Перейти →" text, show only marketplace name */
.product-buttons a span:last-child{display:none}

/* ===== BLOG PAGE ===== */
.blog-nav{display:flex;gap:.5rem;flex-wrap:wrap;justify-content:center;margin-bottom:2.5rem}
.blog-nav button{
  padding:.6rem 1.2rem;border-radius:10px;background:var(--bg-card);
  border:1px solid var(--border);color:var(--text-muted);font-size:.85rem;
  cursor:pointer;transition:all var(--transition);
}
.blog-nav button:hover{border-color:var(--border-hover);color:var(--text)}
.blog-nav button.active{background:linear-gradient(135deg,var(--neon-cyan),var(--neon-purple));color:var(--bg);border-color:transparent}
.blog-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:1.5rem}
.blog-item{
  border-radius:var(--radius);background:var(--bg-card);border:1px solid var(--border);
  overflow:hidden;transition:all var(--transition);display:flex;flex-direction:column;
}
.blog-item:hover{border-color:var(--border-hover);transform:translateY(-3px)}
.blog-item-img{height:200px;background:linear-gradient(135deg,#161b28,#1e293b);display:flex;align-items:center;justify-content:center;overflow:hidden;position:relative}
.blog-item-body{padding:1.3rem;flex:1;display:flex;flex-direction:column}
.blog-item-date{font-size:.76rem;color:var(--neon-cyan);margin-bottom:.4rem}
.blog-item h3{font-size:1.05rem;margin-bottom:.5rem}
.blog-item p{color:var(--text-muted);font-size:.85rem;margin-bottom:1rem;flex:1}
.blog-item a{color:var(--neon-cyan);font-size:.85rem;font-weight:600}

/* ===== ARTICLE PAGE ===== */
.article-header{padding:2.5rem 1.2rem 1.5rem;text-align:center}
.article-header h1{font-size:clamp(1.6rem,4vw,2.4rem);font-weight:700;max-width:760px;margin:0 auto 1rem;line-height:1.25;text-wrap:balance;background:linear-gradient(135deg,var(--neon-cyan),var(--neon-purple));-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}
.article-meta{color:var(--text-muted);font-size:.85rem}
.article-content{max-width:760px;margin:0 auto;padding:0 1.2rem 3rem;content-visibility:auto;contain-intrinsic-size:auto 1200px}
.article-content h2{font-size:1.5rem;margin:2rem 0 .8rem;color:var(--neon-cyan);text-wrap:balance}
.article-content h3{font-size:1.2rem;margin:1.5rem 0 .6rem;text-wrap:balance}
.article-content h4{font-size:1.05rem;margin:1.2rem 0 .5rem;color:var(--text-muted)}
.article-content p{margin-bottom:1rem;color:var(--text);font-size:.95rem}
.article-content ul{margin:1rem 0;padding-left:1.5rem;list-style:disc}
.article-content ul li{margin-bottom:.5rem;color:var(--text-muted);font-size:.92rem}
.article-back{display:inline-flex;align-items:center;gap:.4rem;color:var(--neon-cyan);font-size:.88rem;margin-bottom:1.5rem;font-weight:600}

/* Drop cap */
.article-content > p:first-of-type::first-letter{
  font-size:3.2rem;font-weight:800;float:left;line-height:.85;
  margin:.2rem .6rem 0 0;
  background:linear-gradient(135deg,var(--neon-cyan),var(--neon-purple));
  -webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;
}

/* Blockquote */
.article-content blockquote{
  border-left:3px solid var(--neon-cyan);
  padding:1rem 1.5rem;margin:1.5rem 0;
  background:rgba(0,217,255,0.04);
  border-radius:0 10px 10px 0;
  font-style:italic;color:var(--text-muted);
}

/* ===== NATIVE AD BLOCK ===== */
.native-ad{
  margin:2rem 0;padding:1.6rem;border-radius:var(--radius);
  background:linear-gradient(135deg,rgba(0,217,255,.06),rgba(181,55,242,.06));
  border:1px solid var(--border-hover);
  display:flex;gap:1.5rem;align-items:flex-start;flex-wrap:wrap;
}
.native-ad-label{font-size:.72rem;color:var(--text-muted);text-transform:uppercase;letter-spacing:1px;margin-bottom:.6rem}
.native-ad-img{width:120px;height:120px;border-radius:12px;background:linear-gradient(135deg,#161b28,#1e293b);display:flex;align-items:center;justify-content:center;font-size:3rem;flex-shrink:0}
.native-ad-body{flex:1;min-width:200px}
.native-ad-body h4{font-size:1.1rem;margin-bottom:.4rem;color:var(--text)}
.native-ad-body p{font-size:.86rem;color:var(--text-muted);margin-bottom:1rem}
.native-ad-btn{display:inline-block;padding:.6rem 1.4rem;border-radius:8px;background:linear-gradient(135deg,var(--neon-cyan),var(--neon-purple));color:var(--bg);font-weight:700;font-size:.85rem}

/* ===== FOOTER ===== */
.footer{
  border-top:1px solid var(--border);
  background:rgba(10,14,23,0.6);
  padding:2.5rem 1.2rem 1.5rem;
  margin-top:3rem;
}
.footer-container{max-width:1280px;margin:0 auto;text-align:center}
.footer-logo{font-size:1.2rem;font-weight:700;margin-bottom:.8rem;display:flex;align-items:center;justify-content:center;gap:.5rem}
.footer-logo .ai-badge{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:7px;background:linear-gradient(135deg,var(--neon-cyan),var(--neon-purple));font-size:.65rem;font-weight:800;color:var(--bg)}
.footer-logo-img{height:28px;width:auto;object-fit:contain;display:inline-block;border-radius:6px}
.footer-email{color:var(--neon-cyan);font-size:.9rem;margin-bottom:1rem;display:inline-block}
.footer-disclaimer{font-size:.8rem;color:var(--text-muted);max-width:700px;margin:0 auto 1rem;line-height:1.5}
.footer-copy{font-size:.78rem;color:var(--text-muted);opacity:.6}

/* ===== SCROLL TOP BUTTON ===== */
.scroll-top{
  position:fixed;bottom:1.5rem;right:1.5rem;width:44px;height:44px;
  border-radius:50%;
  background:linear-gradient(135deg,var(--neon-cyan),var(--neon-purple));
  color:var(--bg);font-size:1.2rem;
  display:flex;align-items:center;justify-content:center;
  opacity:0;pointer-events:none;
  transition:opacity var(--transition),transform var(--transition);
  z-index:50;cursor:pointer;border:none;
}
.scroll-top.visible{opacity:1;pointer-events:auto}

/* ===== READING PROGRESS BAR ===== */
.reading-progress{
  position:fixed;top:0;left:0;height:3px;width:0;
  background:linear-gradient(90deg,var(--neon-cyan),var(--neon-purple));
  z-index:101;transition:width .1s linear;
}

/* ===== SKELETON LOADER ===== */
.skeleton{
  background:linear-gradient(90deg,rgba(30,41,59,0.4) 25%,rgba(30,41,59,0.7) 50%,rgba(30,41,59,0.4) 75%);
  background-size:200% 100%;
  animation:shimmer 1.5s infinite;
  border-radius:8px;
}
@keyframes shimmer{
  0%{background-position:200% 0}
  100%{background-position:-200% 0}
}

/* ===== HOVER ONLY FOR MOUSE ===== */
@media(hover:hover){
  .product-card:hover{border-color:var(--border-hover);transform:translateY(-4px)}
  .cat-card:hover{transform:translateY(-4px);border-color:var(--border-hover);background:var(--bg-card-hover)}
  .cat-card:hover::before{transform:scaleX(1)}
  .cat-card:hover .cat-link::after{transform:translateX(4px)}
.cat-card:hover .cat-icon img{transform:scale(1.06);filter:drop-shadow(0 0 18px rgba(0,217,255,.7))}
  .blog-card:hover{border-color:var(--border-hover);transform:translateY(-3px)}
  .blog-item:hover{border-color:var(--border-hover);transform:translateY(-3px)}
  .why-card:hover{border-color:var(--border-hover);transform:translateY(-3px)}
  .btn-primary:hover{transform:translateY(-2px);box-shadow:0 8px 30px rgba(0,217,255,.35)}
  .btn-ghost:hover{background:rgba(0,217,255,.08)}
  .nav-links a:hover{color:var(--neon-cyan)}
  .nav-links a:hover::after{width:100%}
  .product-buttons a:hover{background:rgba(30,41,59,0.9);border-color:rgba(0,217,255,0.25);transform:translateY(-1px)}
  .catalog-tabs button:hover{border-color:var(--border-hover);color:var(--text)}
  .blog-nav button:hover{border-color:var(--border-hover);color:var(--text)}
}

/* ===== RESPONSIVE ===== */
@media(min-width:480px) and (max-width:768px){
  .product-grid{grid-template-columns:repeat(2,1fr)}
  .cat-grid{grid-template-columns:repeat(2,1fr)}
  .blog-grid,.blog-preview-grid{grid-template-columns:repeat(2,1fr)}
  .why-grid{grid-template-columns:repeat(2,1fr)}
}

@media(max-width:768px){
  .nav-container{flex-wrap:wrap}
  .nav-toggle{display:inline-flex}
  .nav-links{
    display:none;flex-direction:column;width:100%;gap:0;
    position:absolute;top:100%;left:0;
    background:rgba(10,14,23,0.96);
    border-bottom:1px solid var(--border);
    padding:1rem 1.2rem;
  }
  .nav-links.open{display:flex}
  .nav-links a{padding:.7rem 0;border-bottom:1px solid var(--border)}
  .nav-links a:last-child{border-bottom:none}
  .nav{position:sticky}
  .nav-container{position:relative}
  .product-grid{grid-template-columns:1fr}
  .blog-preview-grid,.blog-grid{grid-template-columns:1fr}
  .cat-grid,.why-grid{grid-template-columns:1fr}
  .product-buttons{grid-template-columns:1fr 1fr}
  .product-buttons a{padding:.8rem .5rem;font-size:.78rem}
  .section{padding:2.5rem 0}
  .hero{padding:3rem 1rem 2.5rem}
  .native-ad{flex-direction:column;text-align:center}
  .native-ad-img{margin:0 auto}
  .sphere{animation:none;opacity:.2}
  .nav{background:rgba(10,14,23,0.96);backdrop-filter:none}
}

@media(max-width:380px){
  .product-img{height:140px;font-size:2.5rem}.product-emoji{font-size:2.5rem}
  .product-body{padding:1rem}
}

@media(min-width:769px) and (max-width:1024px){
  .product-grid{grid-template-columns:repeat(2,1fr)}
  .cat-grid{grid-template-columns:repeat(2,1fr)}
}

@media(min-width:1025px){
  .product-grid{grid-template-columns:repeat(4,1fr)}
  .blog-preview-grid{grid-template-columns:repeat(4,1fr)}
  .blog-grid{grid-template-columns:repeat(4,1fr)}
}



/* ===== ARTICLE BUY BLOCK ===== */
.article-content + section .product-buttons {
  max-width: 500px;
  margin: 1rem 0;
}
.article-content + section .product-price {
  margin-top: 1rem;
}
.article-page main > section:last-child {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 1.2rem 3rem;
}
.article-page main > section:last-child h2 {
  font-size: 1.5rem;
  margin: 2rem 0 .8rem;
  color: var(--neon-cyan);
  text-wrap: balance;
}
.article-page main > section:last-child > p {
  color: var(--text-muted);
  font-size: .95rem;
  margin-bottom: 1rem;
}

/* ===== PRINT ===== */
@media print {
  .nav, .footer, .bg-spheres, .product-buttons, .scroll-top, .reading-progress, .catalog-tabs, .blog-nav {
    display: none !important;
  }
  body {
    background: #fff;
    color: #000;
  }
  .product-card, .cat-card, .blog-item {
    border: 1px solid #ccc;
    break-inside: avoid;
  }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ===== CUSTOM LOGO STYLES ===== */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.nav-logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
  display: block;
}


/* ===== LAZY LOAD ===== */
.lazy-img{
  opacity:0;
  filter:blur(8px);
  transition:opacity .6s ease,filter .6s ease;
}
.lazy-img.loaded{
  opacity:1;
  filter:blur(0);
}

/* Respect reduced motion */
@media(prefers-reduced-motion:reduce){
  .lazy-img{transition:none;filter:none;opacity:1}
}

/* ===== BLOG CARD IMAGES ===== */
.blog-item-img{
  height:200px;
  background:linear-gradient(135deg,#161b28,#1e293b);
  display:flex;align-items:center;justify-content:center;
  overflow:hidden;position:relative;
}
.blog-card-img{
  height:190px;
  background:linear-gradient(135deg,#161b28,#1e293b);
  display:flex;align-items:center;justify-content:center;
  overflow:hidden;position:relative;
}
.blog-item-photo,.blog-card-photo{
  width:100%;height:100%;object-fit:contain;object-position:center;
  padding:12px;box-sizing:border-box;
  position:absolute;top:0;left:0;z-index:1;
  transition:transform .4s ease;
}
.blog-item:hover .blog-item-photo,.blog-card:hover .blog-card-photo{
  transform:scale(1.05);
}




/* ===== HITS GRID (4 columns on desktop) ===== */
.hits-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:1.2rem}
.hits-grid .product-img{height:160px}
.hits-grid .product-body{padding:1rem}
.hits-grid .product-desc{font-size:.8rem;margin-bottom:.8rem}
.hits-grid .product-price{font-size:.95rem;margin:.3rem 0 .8rem}
.hits-grid .product-buttons a{padding:.55rem .5rem;font-size:.75rem}
.hits-grid .product-disclaimer{font-size:.68rem}

@media(min-width:480px) and (max-width:768px){
  .hits-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:768px){
  .hits-grid{grid-template-columns:1fr}
}
@media(min-width:769px) and (max-width:1024px){
  .hits-grid{grid-template-columns:repeat(2,1fr)}
}
@media(min-width:1025px){
  .hits-grid{grid-template-columns:repeat(4,1fr)}
}

/* ===== PRODUCT DISCLAIMER ===== */
.product-disclaimer{
  font-size:.68rem;color:var(--text-muted);opacity:.6;
  margin-top:.6rem;padding-top:.6rem;
  border-top:1px solid rgba(0,217,255,0.08);
  line-height:1.4;
}

/* ===== ABOUT PAGE ===== */
.about-hero{text-align:center;padding:4rem 1.2rem 2.5rem}
.about-hero h1{
  font-size:clamp(2rem,5vw,3.4rem);font-weight:800;line-height:1.15;
  max-width:700px;margin:0 auto 1rem;
  background:linear-gradient(135deg,var(--neon-cyan),var(--neon-purple));
  -webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;
}
.about-hero p{font-size:1.05rem;color:var(--text-muted);max-width:560px;margin:0 auto}

.about-section{max-width:760px;margin:0 auto;padding:0 1.2rem 2.5rem}
.about-section h2{
  font-size:1.4rem;margin-bottom:1rem;color:var(--neon-cyan);
}
.about-section p{font-size:.95rem;color:var(--text);margin-bottom:1rem;line-height:1.7}
.about-section p:last-child{margin-bottom:0}

.about-contact{
  text-align:center;max-width:600px;margin:0 auto;padding:2rem 1.2rem;
  border-radius:var(--radius);background:var(--bg-card);border:1px solid var(--border);
}
.about-contact h3{font-size:1.2rem;margin-bottom:.8rem;color:var(--neon-cyan)}
.about-contact a{color:var(--neon-cyan);font-size:1.1rem;font-weight:600}

.about-cta{text-align:center;padding:1rem 1.2rem 3rem}

/* ===== ARTICLE NAVIGATION (PREV/NEXT) ===== */
.article-nav{max-width:760px;margin:0 auto;padding:0 1.2rem 2.5rem}
.article-nav-inner{display:flex;align-items:stretch;gap:1rem;flex-wrap:wrap}
.article-nav a,.article-nav .nav-disabled{
  display:flex;flex-direction:column;gap:.3rem;
  padding:1rem 1.2rem;border-radius:var(--radius);
  background:var(--bg-card);border:1px solid var(--border);
  transition:var(--transition);text-decoration:none;
}
.article-nav a:hover{background:var(--bg-card-hover);border-color:var(--border-hover)}
.nav-prev{flex:1;min-width:180px}
.nav-next{flex:1;min-width:180px;text-align:right}
.nav-all{flex:0 0 auto;align-self:center;white-space:nowrap;font-weight:600;color:var(--neon-cyan)}
.nav-direction{font-size:.78rem;color:var(--text-muted);font-weight:600}
.nav-title{font-size:.92rem;color:var(--text);font-weight:500}
.nav-disabled{visibility:hidden}
@media(max-width:640px){
  .article-nav-inner{flex-direction:column}
  .nav-prev,.nav-next{text-align:left}
  .nav-all{order:-1;align-self:flex-start}
}
