/* ============================
   NailPro Theme - Main Styles
   ============================ */
.hidden{display:none!important}
*,*::before,*::after{box-sizing:border-box}
body{margin:0;font-family:'Inter',sans-serif;color:#1e293b;overflow-x:hidden}
img{max-width:100%;height:auto;display:block}
a{text-decoration:none;color:inherit}
.max-w-7xl{max-width:1280px;margin-left:auto;margin-right:auto}

/* ===== PRELOADER ===== */
#preloader{position:fixed;inset:0;z-index:100;display:flex;align-items:center;justify-content:center;background:#fff}
#preloader.hidden{opacity:0;pointer-events:none}
#preloader.removed{display:none}
.preloader-inner{text-align:center}
.preloader-logo{width:56px;height:56px;margin:0 auto 16px;border-radius:16px;background:linear-gradient(135deg,#ec4899,#db2777);display:flex;align-items:center;justify-content:center;color:#fff;font-size:24px;font-weight:700;animation:pulseLogo 1.2s ease-in-out infinite}
@keyframes pulseLogo{0%,100%{transform:scale(1)}50%{transform:scale(1.1)}}
.preloader-text{font-size:13px;color:#94a3b8;font-weight:500;letter-spacing:2px;text-transform:uppercase}
.preloader-bar{width:160px;height:3px;margin:12px auto 0;background:#f1f5f9;border-radius:2px;overflow:hidden}
.preloader-bar-inner{width:35%;height:100%;background:linear-gradient(90deg,#ec4899,#8b5cf6);border-radius:2px;animation:loaderSlide 1s ease-in-out infinite}
@keyframes loaderSlide{0%{transform:translateX(-100%)}100%{transform:translateX(385%)}}
.preloader-progress{font-size:11px;color:#94a3b8;margin-top:8px;font-weight:600}

/* ===== ANNOUNCEMENT BAR ===== */
.announcement-bar{background:linear-gradient(90deg,#ec4899,#8b5cf6);color:#fff;text-align:center;padding:8px 16px;font-size:13px;font-weight:500;position:relative;overflow:hidden}
.announcement-shimmer{position:absolute;inset:0;background:linear-gradient(90deg,transparent,rgba(255,255,255,.15),transparent);animation:shimmer 2s infinite}
@keyframes shimmer{0%{transform:translateX(-100%)}100%{transform:translateX(100%)}}
.announcement-text{position:relative;z-index:1}
.announcement-text i{margin:0 4px}

/* ===== HEADER ===== */
.site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.95);border-bottom:1px solid rgba(0,0,0,.05);transition:transform .4s ease,box-shadow .3s ease}
.site-header.scrolled{box-shadow:0 4px 30px rgba(0,0,0,.06)}
.site-header.hide{transform:translateY(-100%)}
.nav-link{position:relative;padding:8px 16px;border-radius:10px;font-size:14px;font-weight:500;color:#64748b;transition:color .3s}
.nav-link::before{content:'';position:absolute;inset:0;border-radius:10px;background:linear-gradient(135deg,rgba(236,72,153,.08),rgba(139,92,246,.08));transform:scaleY(0);transition:transform .3s ease;transform-origin:bottom}
.nav-link:hover{color:#1e293b}
.nav-link:hover::before{transform:scaleY(1)}
.nav-link.active{color:#ec4899}
.header-icon-btn{width:40px;height:40px;border-radius:12px;display:flex;align-items:center;justify-content:center;color:#64748b;transition:background .3s,color .3s;background:transparent;border:none;font-size:15px}
.header-icon-btn:hover{background:#f1f5f9;color:#1e293b}
.cart-count{position:absolute;top:-2px;right:-2px;width:18px;height:18px;background:#ec4899;color:#fff;font-size:9px;font-weight:700;border-radius:50%;display:flex;align-items:center;justify-content:center;border:2px solid #fff}

/* ===== HERO ===== */
#hero{position:relative;min-height:90vh;display:flex;align-items:center;overflow:hidden;background:linear-gradient(135deg,#f8fafc 0%,#fff 40%,#fdf2f8 100%)}
.hero-particles{position:absolute;inset:0;overflow:hidden;pointer-events:none}
.particle{position:absolute;border-radius:50%;background:rgba(236,72,153,.15);pointer-events:none}
@keyframes particleFade{0%,100%{opacity:0;transform:translate(0,0)}50%{opacity:1;transform:translate(20px,-20px)}}
.hero-grid{position:absolute;inset:0;background-image:radial-gradient(circle,rgba(236,72,153,.03) 1px,transparent 1px);background-size:40px 40px;pointer-events:none}
.hero-float-el{position:absolute}
.hero-gradient-orb{position:absolute;width:400px;height:400px;border-radius:50%;pointer-events:none}
.hero-gradient-orb:nth-child(1){top:-80px;right:-80px;background:radial-gradient(circle,rgba(236,72,153,.12),transparent 70%);animation:orbFloat 12s ease-in-out infinite}
.hero-gradient-orb:nth-child(2){bottom:-120px;left:-80px;background:radial-gradient(circle,rgba(139,92,246,.1),transparent 70%);animation:orbFloat 15s ease-in-out infinite reverse}
@keyframes orbFloat{0%,100%{transform:translate(0,0)}50%{transform:translate(40px,-40px)}}

.hero-badge{display:inline-flex;align-items:center;gap:8px;padding:6px 16px 6px 6px;border-radius:100px;background:rgba(236,72,153,.08);border:1px solid rgba(236,72,153,.15);font-size:12px;font-weight:600;color:#db2777;margin-bottom:20px}
.hero-badge-dot{width:8px;height:8px;border-radius:50%;background:#ec4899;animation:pulse 2s infinite}
@keyframes pulse{0%,100%{opacity:1}50%{opacity:.4}}

.hero-title{font-size:clamp(2.5rem,6vw,4.5rem);font-weight:800;line-height:1.1;color:#0f172a;margin:0 0 16px}
.hero-title .gradient-text{background:linear-gradient(135deg,#ec4899,#8b5cf6);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}
.hero-subtitle{font-size:clamp(1rem,1.5vw,1.15rem);color:#64748b;line-height:1.7;margin-bottom:32px;max-width:520px}

.hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:32px}
.btn-primary{position:relative;display:inline-flex;align-items:center;gap:10px;padding:14px 32px;border-radius:14px;background:linear-gradient(135deg,#ec4899,#db2777);color:#fff;font-weight:600;font-size:14px;border:none;transition:transform .3s,box-shadow .3s}
.btn-primary:hover{transform:translateY(-2px);box-shadow:0 12px 40px rgba(236,72,153,.35)}
.btn-secondary{display:inline-flex;align-items:center;gap:10px;padding:14px 32px;border-radius:14px;background:transparent;border:2px solid #e2e8f0;color:#475569;font-weight:600;font-size:14px;position:relative;transition:border-color .3s,color .3s}
.btn-secondary:hover{border-color:#ec4899;color:#ec4899}

.hero-stats{display:flex;gap:32px;padding-top:24px;border-top:1px solid rgba(0,0,0,.06)}
.hero-stat{text-align:center}
.hero-stat-value{font-size:28px;font-weight:800;color:#0f172a}
.hero-stat-label{font-size:12px;color:#94a3b8;margin-top:2px}
.hero-stat-divider{width:1px;background:#e2e8f0;align-self:stretch}

/* ===== SECTION HEADINGS ===== */
.section-label{font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:3px;color:#ec4899;display:inline-block;margin-bottom:8px}
.section-title{font-size:clamp(1.75rem,3.5vw,2.75rem);font-weight:800;color:#0f172a;line-height:1.15}
.section-desc{color:#94a3b8;margin-top:12px;max-width:480px;font-size:15px;line-height:1.6}

/* ===== CATEGORY CARDS ===== */
.cat-card{display:block;overflow:hidden;border-radius:20px;background:#fff;border:1px solid #f1f5f9;transition:transform .3s,box-shadow .3s}
.cat-card:hover{transform:translateY(-6px);box-shadow:0 20px 50px rgba(0,0,0,.08)}
.cat-card img{transition:transform .5s;width:100%}
.cat-card:hover img{transform:scale(1.06)}

/* ===== PRODUCT CARDS ===== */
.product-card{background:#fff;border-radius:16px;border:1px solid rgba(0,0,0,.05);overflow:hidden;transition:transform .4s,box-shadow .4s}
.product-card:hover{transform:translateY(-6px);box-shadow:0 20px 50px rgba(0,0,0,.08)}
.product-card .product-img-wrap{position:relative;aspect-ratio:1;background:#f8fafc;overflow:hidden}
.product-card .product-img-wrap img{width:100%;height:100%;object-fit:cover;transition:transform .5s}
.product-card:hover .product-img-wrap img{transform:scale(1.08)}
.product-card .product-img-wrap .product-badge{position:absolute;top:12px;left:12px;z-index:2;padding:4px 10px;border-radius:8px;font-size:11px;font-weight:700}
.product-badge-sale{background:#ef4444;color:#fff}
.product-badge-new{background:#8b5cf6;color:#fff}
.product-card .product-img-wrap .product-actions{position:absolute;bottom:12px;left:12px;right:12px;display:flex;gap:8px;opacity:0;transition:opacity .3s;z-index:2}
.product-card:hover .product-img-wrap .product-actions{opacity:1}
.product-card .product-actions .qv-btn{flex:1;padding:10px;border-radius:10px;background:rgba(255,255,255,.9);border:none;font-size:12px;font-weight:600;color:#475569;transition:background .2s,color .2s}
.product-card .product-actions .qv-btn:hover{background:#fff;color:#ec4899}
.product-card .product-actions .cart-btn{width:38px;border-radius:10px;background:rgba(255,255,255,.9);border:none;color:#ec4899;transition:background .2s,color .2s;display:flex;align-items:center;justify-content:center}
.product-card .product-actions .cart-btn:hover{background:#ec4899;color:#fff}
.product-card .product-info{padding:16px}
.product-card .product-category{font-size:11px;color:#94a3b8;font-weight:500;text-transform:uppercase;letter-spacing:.5px}
.product-card .product-name{font-size:14px;font-weight:600;color:#0f172a;margin:4px 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.product-card .product-price{display:flex;align-items:center;gap:8px}
.product-card .product-price .current{font-size:16px;font-weight:700;color:#0f172a}
.product-card .product-price .sale{font-size:16px;font-weight:700;color:#ec4899}
.product-card .product-price .original{font-size:13px;color:#94a3b8;text-decoration:line-through}

/* ===== QUICK VIEW MODAL ===== */
.qv-overlay{position:fixed;inset:0;z-index:80;display:flex;align-items:center;justify-content:center;padding:20px;background:rgba(0,0,0,.5);opacity:0;transition:opacity .3s}
.qv-overlay.open{opacity:1}
.qv-modal{background:#fff;border-radius:20px;max-width:680px;width:100%;max-height:90vh;overflow-y:auto}
.qv-close{position:absolute;top:16px;right:16px;width:36px;height:36px;border-radius:50%;background:#fff;border:none;display:flex;align-items:center;justify-content:center;color:#64748b;font-size:14px;box-shadow:0 4px 12px rgba(0,0,0,.1);transition:background .3s;z-index:2}
.qv-close:hover{background:#f1f5f9}

/* ===== FEATURES ===== */
.feature-card{padding:32px 16px;border-radius:16px;text-align:center;transition:background .3s,transform .3s}
.feature-card:hover{background:#f8fafc;transform:translateY(-4px)}
.feature-card .feat-icon{width:56px;height:56px;margin:0 auto 16px;border-radius:14px;display:flex;align-items:center;justify-content:center;font-size:20px;transition:transform .3s}
.feature-card:hover .feat-icon{transform:scale(1.1)}
.feature-card h3{font-size:14px;font-weight:700;color:#0f172a;margin:0 0 4px}
.feature-card p{font-size:13px;color:#94a3b8;margin:0}

/* ===== TESTIMONIALS ===== */
.testimonial-card{background:#fff;border-radius:16px;padding:24px;border:1px solid rgba(0,0,0,.05);transition:transform .3s,box-shadow .3s}
.testimonial-card:hover{transform:translateY(-4px);box-shadow:0 15px 40px rgba(0,0,0,.06)}
.testi-stars{display:flex;gap:3px;margin-bottom:12px;color:#f59e0b;font-size:13px}
.testi-text{font-size:14px;color:#475569;line-height:1.7;margin-bottom:16px}
.testi-author{display:flex;align-items:center;gap:12px;padding-top:16px;border-top:1px solid #f1f5f9}
.testi-name{font-size:14px;font-weight:600;color:#0f172a}
.testi-role{font-size:12px;color:#94a3b8}

/* ===== NEWSLETTER ===== */
#newsletter{position:relative;overflow:hidden;padding:80px 0}
#newsletter::before{content:'';position:absolute;inset:0;background:linear-gradient(135deg,#ec4899,#8b5cf6,#6366f1)}
#newsletter .nl-pattern{position:absolute;inset:0;opacity:.06;background-image:radial-gradient(circle,#fff 1px,transparent 1px);background-size:24px 24px}
#newsletter .nl-orb{position:absolute;width:300px;height:300px;border-radius:50%;background:rgba(255,255,255,.05);pointer-events:none}
#newsletter .nl-orb:nth-child(2){top:-80px;right:-80px;animation:orbFloat 10s ease-in-out infinite}
#newsletter .nl-orb:nth-child(3){bottom:-100px;left:-60px;animation:orbFloat 12s ease-in-out infinite reverse}

/* ===== FOOTER ===== */
.site-footer{background:#0f172a;color:#94a3b8;position:relative}
.footer-glow{position:absolute;top:0;left:50%;transform:translateX(-50%);width:500px;height:1px;background:linear-gradient(90deg,transparent,rgba(236,72,153,.4),transparent)}
.footer-title{color:#fff;font-weight:700;font-size:15px;margin-bottom:20px}
.footer-links{list-style:none;padding:0;margin:0}
.footer-links li{margin-bottom:10px}
.footer-links a{font-size:14px;color:#64748b;transition:color .3s}
.footer-links a:hover{color:#ec4899}
.social-link{width:40px;height:40px;border-radius:12px;background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.06);display:inline-flex;align-items:center;justify-content:center;color:#64748b;font-size:14px;transition:background .3s,color .3s}
.social-link:hover{background:rgba(236,72,153,.1);border-color:rgba(236,72,153,.2);color:#ec4899}

/* ===== BACK TO TOP ===== */
#back-to-top{position:fixed;bottom:32px;right:32px;width:48px;height:48px;border-radius:14px;background:linear-gradient(135deg,#ec4899,#8b5cf6);color:#fff;border:none;display:flex;align-items:center;justify-content:center;font-size:16px;box-shadow:0 8px 30px rgba(236,72,153,.3);opacity:0;visibility:hidden;transition:opacity .3s,transform .3s,visibility .3s;z-index:50}
#back-to-top.visible{opacity:1;visibility:visible}
#back-to-top:hover{transform:translateY(-3px)}

/* ===== RIPPLE ===== */
.ripple{position:absolute;border-radius:50%;background:rgba(255,255,255,.35);pointer-events:none;animation:rippleAnim .6s ease-out forwards}
@keyframes rippleAnim{0%{transform:scale(0);opacity:1}100%{transform:scale(4);opacity:0}}

/* ===== TOAST ===== */
.toast-container{position:fixed;top:100px;right:20px;z-index:90;display:flex;flex-direction:column;gap:8px;pointer-events:none}
.toast{background:#1e293b;color:#fff;padding:12px 20px;border-radius:12px;font-size:13px;font-weight:500;box-shadow:0 10px 40px rgba(0,0,0,.15);display:flex;align-items:center;gap:8px;animation:toastIn .35s ease;pointer-events:auto}
.toast.toast-out{animation:toastOut .3s ease forwards}
.toast i{color:#34d399;font-size:14px}
@keyframes toastIn{0%{opacity:0;transform:translateX(100%)}100%{opacity:1;transform:translateX(0)}}
@keyframes toastOut{0%{opacity:1;transform:translateX(0)}100%{opacity:0;transform:translateX(100%)}}

/* ===== SCROLL PROGRESS ===== */
#scroll-progress{position:fixed;top:0;left:0;height:3px;background:linear-gradient(90deg,#ec4899,#8b5cf6);z-index:99995;width:0%}

/* ===== UTILITY CLASSES (replacing Tailwind) ===== */
.flex{display:flex}.inline-flex{display:inline-flex}.grid{display:grid}
.items-center{align-items:center}.justify-between{justify-content:space-between}.justify-center{justify-content:center}
.text-center{text-align:center}.mx-auto{margin-left:auto;margin-right:auto}.flex-wrap{flex-wrap:wrap}.flex-col{flex-direction:column}
.gap-1{gap:4px}.gap-2{gap:8px}.gap-6{gap:24px}.gap-8{gap:32px}.px-4{padding-left:16px;padding-right:16px}
.grid-cols-1{grid-template-columns:repeat(1,1fr)}
@media(min-width:768px){.md\:grid-cols-2{grid-template-columns:repeat(2,1fr)}}
@media(min-width:1024px){.lg\:grid-cols-4{grid-template-columns:repeat(4,1fr)}.lg\:flex{display:flex!important}.lg\:hidden{display:none!important}}

/* ===== RESPONSIVE ===== */
@media(max-width:1023px){
  .hero-title{font-size:2.25rem}
  .hero-stats{gap:20px}
  .hero-stat-value{font-size:22px}
  #hero .max-w-7xl > div{grid-template-columns:1fr!important}
  .hero-visual{display:none!important}
  .cat-grid{grid-template-columns:repeat(2,1fr)!important}
  .product-grid{grid-template-columns:repeat(2,1fr)!important}
  .feat-grid{grid-template-columns:repeat(2,1fr)!important}
  .testi-grid{grid-template-columns:1fr!important}
}
@media(max-width:767px){
  .hero-title{font-size:2rem!important}
  .hero-actions{flex-direction:column}
  .btn-primary,.btn-secondary{width:100%;justify-content:center}
  .cat-grid{grid-template-columns:1fr!important}
  .product-grid{grid-template-columns:1fr!important}
  .feat-grid{grid-template-columns:1fr!important}
  .hero-stats{gap:16px;gap:20px}
  .hero-stat-value{font-size:20px}
}
