/**
 * SuperClone HQ – Main Stylesheet (generated by SiteForge)
 * Colours/fonts/radius are CSS variables printed from SiteForge → Customize Design.
 */
:root {
    --sf-primary: #7c3aed;
    --sf-secondary: #db2777;
    --sf-dark: #1a1a2e;
    --sf-light: #f6f5fb;
    --sf-text: #333333;
    --sf-text-light: #6b7280;
    --sf-white: #ffffff;
    --sf-border: #e5e7eb;
    --sf-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --sf-shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
    --sf-radius: 12px;
    --sf-radius-lg: 20px;
    --sf-btn-radius: 50px;
    --sf-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --sf-font-primary: 'Inter', system-ui, sans-serif;
    --sf-font-heading: 'Poppins', system-ui, sans-serif;
}

body.sfg-site { font-family: var(--sf-font-primary); color: var(--sf-text); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.sfg-site h1, body.sfg-site h2, body.sfg-site h3, body.sfg-site h4, body.sfg-site h5, body.sfg-site h6,
body.sfg-site .site-title, body.sfg-site .woocommerce-loop-product__title { font-family: var(--sf-font-heading); }

/* ===== Astra: generated pages go edge-to-edge (no manual layout settings needed) ===== */
.sfg-fullpage .site-content > .ast-container,
.sfg-fullpage #primary, .sfg-fullpage .site-main, .sfg-fullpage .ast-article-single,
.sfg-fullpage .entry-content, .sfg-fullpage article.page { max-width: 100% !important; width: 100% !important; padding: 0 !important; margin: 0 !important; border: 0 !important; background: transparent; }
.sfg-fullpage .site-content > .ast-container { display: block; }
.sfg-fullpage .entry-header, .sfg-fullpage .ast-breadcrumbs-wrapper { display: none; }
.sfg-fullpage .entry-content > .sf-scope { margin: 0; }
.sfg-fullpage.ast-separate-container .ast-article-single { padding: 0 !important; }
.sfg-fullpage .entry-content > p:empty { display: none; }

/* ===== Scope reset (only inside SiteForge sections – Astra/Woo are untouched) ===== */
.sf-scope, .sf-scope *, .sf-scope *::before, .sf-scope *::after { box-sizing: border-box; }
.sf-scope h1, .sf-scope h2, .sf-scope h3, .sf-scope h4 { font-family: var(--sf-font-heading); font-weight: 700; line-height: 1.2; color: var(--sf-dark); margin: 0; }
.sf-scope h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
.sf-scope h2 { font-size: clamp(1.8rem, 4vw, 2.75rem); }
.sf-scope h3 { font-size: clamp(1.05rem, 2vw, 1.3rem); }
.sf-scope p { margin: 0; }
.sf-scope img { max-width: 100%; height: auto; display: block; }
.sf-scope a { text-decoration: none; }

.sf-container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.sf-center { text-align: center; margin-top: 40px; }

/* ===== Buttons ===== */
.sf-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 32px; border-radius: var(--sf-btn-radius); font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none !important; transition: var(--sf-transition); cursor: pointer; border: none; position: relative; overflow: hidden; }
.sf-btn::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent); transition: left 0.5s; }
.sf-btn:hover::before { left: 100%; }
.sf-btn-primary, .sf-btn-primary:visited { background: linear-gradient(135deg, var(--sf-primary), var(--sf-secondary)); color: var(--sf-white) !important; box-shadow: 0 4px 15px color-mix(in srgb, var(--sf-primary) 35%, transparent); }
.sf-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 25px color-mix(in srgb, var(--sf-primary) 45%, transparent); color: var(--sf-white); }
.sf-btn-outline { background: transparent; color: var(--sf-primary) !important; border: 2px solid var(--sf-primary); }
.sf-btn-outline:hover { background: var(--sf-primary); color: var(--sf-white) !important; transform: translateY(-2px); }
.sf-btn-light { color: #fff !important; border-color: rgba(255,255,255,.55); }
.sf-btn-light:hover { background: #fff; color: var(--sf-dark) !important; border-color: #fff; }
.sf-btn-sm { padding: 9px 18px; font-size: .875rem; }
.sf-btn.loading { opacity: .7; } .sf-btn.added::after { content: ' ✓'; }
.sf-scope .added_to_cart { display: block; margin-top: 8px; font-size: .85rem; color: var(--sf-primary); }

/* ===== Hero ===== */
.sf-hero { min-height: 92vh; display: flex; align-items: center; position: relative; overflow: hidden; background: linear-gradient(135deg, var(--sf-dark) 0%, var(--sf-secondary) 100%); }
.sf-hero-inner { position: relative; z-index: 2; width: 100%; display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; }
.sf-hero-split .sf-hero-inner { grid-template-columns: 1.1fr 1fr; }
.sf-hero-content { position: relative; z-index: 2; max-width: 680px; padding: 140px 0 100px; }
.sf-hero h1 { color: var(--sf-white); margin-bottom: 24px; animation: fadeInUp 0.8s ease; }
.sf-hero p { color: rgba(255, 255, 255, 0.85); font-size: 1.25rem; margin-bottom: 40px; animation: fadeInUp 0.8s ease 0.2s both; }
.sf-hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; animation: fadeInUp 0.8s ease 0.4s both; }
.sf-hero-media img { border-radius: var(--sf-radius-lg); box-shadow: var(--sf-shadow-lg); animation: float 7s ease-in-out infinite; max-height: 70vh; object-fit: cover; width: 100%; }
.sf-hero-image .sf-hero-shapes, .sf-hero-slider ~ .sf-hero-shapes { display: none; }
.sf-hero > .sf-slider.sf-hero-slider { position: absolute; inset: 0; border-radius: 0; z-index: 0; }
.sf-hero-slider .sf-slider-track { height: 100%; }
.sf-hero-slider .sf-slide { height: 100%; }
.sf-hero-slider .sf-slide img { width: 100%; height: 100%; object-fit: cover; }
.sf-hero-slider::after { content: ''; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(0,0,0,.7), rgba(0,0,0,.2)); z-index: 1; pointer-events: none; }
.sf-hero-slider .sf-slider-nav { z-index: 3; }
.sf-hero-shapes { position: absolute; inset: 0; pointer-events: none; }
.sf-hero-shape { position: absolute; border-radius: 50%; opacity: 0.12; animation: float 6s ease-in-out infinite; }
.sf-hero-shape:nth-child(1) { width: 320px; height: 320px; background: var(--sf-primary); top: 10%; right: 10%; }
.sf-hero-shape:nth-child(2) { width: 200px; height: 200px; background: var(--sf-light); bottom: 18%; right: 30%; animation-delay: 2s; }
.sf-hero-shape:nth-child(3) { width: 150px; height: 150px; background: var(--sf-primary); top: 40%; left: 5%; animation-delay: 4s; }

.sf-page-hero { background: linear-gradient(135deg, var(--sf-dark) 0%, var(--sf-secondary) 100%); padding: 130px 0 70px; text-align: center; position: relative; overflow: hidden; }
.sf-page-hero h1 { color: #fff; font-size: clamp(2rem, 4.5vw, 3.25rem); }
.sf-page-hero p { color: rgba(255,255,255,.8); margin-top: 12px; font-size: 1.1rem; }

/* ===== Sections ===== */
.sf-section { padding: 90px 0; }
.sf-section:nth-of-type(even) { background: var(--sf-light); }
.sf-section-header { text-align: center; margin-bottom: 52px; }
.sf-section-header h2 { margin-bottom: 14px; }
.sf-section-header p { color: var(--sf-text-light); max-width: 620px; margin: 0 auto; font-size: 1.1rem; }

/* ===== Category cards ===== */
.sf-cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 270px)); justify-content: center; gap: 24px; }
.sf-cat-card { position: relative; display: block; border-radius: var(--sf-radius-lg); overflow: hidden; aspect-ratio: 4 / 5; background: linear-gradient(135deg, var(--sf-primary), var(--sf-secondary)); box-shadow: var(--sf-shadow); transition: var(--sf-transition); }
.sf-cat-card:hover { transform: translateY(-6px); box-shadow: var(--sf-shadow-lg); }
.sf-cat-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.sf-cat-card:hover .sf-cat-img img { transform: scale(1.07); }
.sf-cat-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.75), transparent 60%); }
.sf-cat-name, .sf-cat-count { position: absolute; left: 20px; z-index: 2; color: #fff; }
.sf-cat-name { bottom: 42px; font-family: var(--sf-font-heading); font-weight: 700; font-size: 1.25rem; }
.sf-cat-count { bottom: 18px; font-size: .85rem; opacity: .8; }

/* ===== Product Grid ===== */
.sf-product-grid { display: grid; gap: 28px; }
.sf-columns-6 { grid-template-columns: repeat(6, 1fr); }
.sf-columns-5 { grid-template-columns: repeat(5, 1fr); }
.sf-columns-4 { grid-template-columns: repeat(4, 1fr); }
.sf-columns-3 { grid-template-columns: repeat(3, 1fr); }
.sf-columns-2 { grid-template-columns: repeat(2, 1fr); }

/* ===== Product Card ===== */
.sf-product-card { background: var(--sf-white); border-radius: var(--sf-radius-lg); overflow: hidden; box-shadow: var(--sf-shadow); transition: var(--sf-transition); position: relative; display: flex; flex-direction: column; }
.sf-product-card:hover { transform: translateY(-8px); box-shadow: var(--sf-shadow-lg); }
.sf-product-card-image { position: relative; padding-top: 100%; overflow: hidden; display: block; background: var(--sf-light); }
.sf-product-card-image img { position: absolute; top: 0; left: 0; width: 100%; height: 100% !important; object-fit: cover; transition: transform 0.5s; }
.sf-product-card:hover .sf-product-card-image img { transform: scale(1.05); }
.sf-product-card-badge { position: absolute; top: 12px; left: 12px; background: var(--sf-primary); color: var(--sf-white); padding: 4px 12px; border-radius: 20px; font-size: 0.75rem; font-weight: 600; z-index: 2; }
.sf-badge-out { background: #6b7280; }
.sf-product-card-actions { position: absolute; top: 12px; right: 12px; display: flex; flex-direction: column; gap: 8px; opacity: 0; transform: translateX(10px); transition: var(--sf-transition); z-index: 3; }
.sf-product-card:hover .sf-product-card-actions { opacity: 1; transform: translateX(0); }
.sf-product-card-action { width: 40px; height: 40px; border-radius: 50%; background: var(--sf-white); display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(0,0,0,0.1); cursor: pointer; transition: var(--sf-transition); }
.sf-product-card-action:hover { background: var(--sf-primary); color: var(--sf-white); }
.sf-product-card-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.sf-product-card-category { font-size: 0.75rem; color: var(--sf-text-light); text-transform: uppercase; letter-spacing: 1px; min-height: 1em; }
.sf-product-card-title { font-size: 1.05rem !important; font-weight: 600; }
.sf-product-card-title a { color: var(--sf-dark); }
.sf-product-card-price { font-size: 1.15rem; font-weight: 700; color: var(--sf-primary); margin-bottom: 10px; }
.sf-product-card-price del { color: var(--sf-text-light); font-size: 0.9rem; margin-right: 6px; font-weight: 500; }
.sf-product-card-price ins { text-decoration: none; }
.sf-product-card-body .sf-btn { margin-top: auto; align-self: flex-start; }

/* ===== Carousel (best sellers) ===== */
.sf-carousel { position: relative; }
.sf-carousel-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 24px) / 4); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 6px 4px 24px; scrollbar-width: none; }
.sf-carousel-track::-webkit-scrollbar { display: none; }
.sf-carousel-item { scroll-snap-align: start; }
.sf-carousel-btn { position: absolute; top: 40%; z-index: 4; width: 46px; height: 46px; border-radius: 50%; border: 0; background: #fff; box-shadow: var(--sf-shadow-lg); font-size: 1.6rem; line-height: 1; cursor: pointer; color: var(--sf-dark); transition: var(--sf-transition); }
.sf-carousel-btn:hover { background: var(--sf-primary); color: #fff; }
.sf-carousel-btn.prev { left: -18px; } .sf-carousel-btn.next { right: -18px; }

/* ===== Floating Products ===== */
.sf-floating-products { position: relative; padding: 100px 0 60px; overflow: hidden; background: var(--sf-light); }
.sf-floating-stage { position: relative; min-height: 380px; max-width: 1280px; margin: 0 auto; }
.sf-floating-item { position: absolute; background: var(--sf-white); border-radius: var(--sf-radius); padding: 12px 16px 12px 12px; box-shadow: var(--sf-shadow-lg); display: flex; align-items: center; gap: 12px; animation: floatingBounce 4s ease-in-out infinite; animation-delay: var(--delay, 0s); color: inherit; transition: transform .3s; max-width: 260px; }
.sf-floating-image { width: 56px; height: 56px; border-radius: 10px; overflow: hidden; flex: none; }
.sf-floating-image img { width: 100%; height: 100%; object-fit: cover; }
.sf-floating-name { font-size: 0.85rem; font-weight: 600; display: block; color: var(--sf-dark); }
.sf-floating-price { font-size: 0.8rem; color: var(--sf-primary); font-weight: 700; }

/* ===== Slider ===== */
.sf-slider { position: relative; overflow: hidden; border-radius: var(--sf-radius-lg); }
.sf-slider-track { display: flex; height: 100%; transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1); }
.sf-slide { min-width: 100%; position: relative; }
.sf-slide img { width: 100%; height: 500px; object-fit: cover; }
.sf-slider-nav { position: absolute; bottom: 24px; right: 24px; display: flex; gap: 8px; }
.sf-slider-dot { width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,0.5); cursor: pointer; transition: var(--sf-transition); }
.sf-slider-dot.active { background: var(--sf-white); transform: scale(1.25); }

/* ===== Benefits / testimonials / blog / stats ===== */
.sf-benefit-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.sf-benefit { background: #fff; border-radius: var(--sf-radius-lg); padding: 32px 26px; box-shadow: var(--sf-shadow); text-align: center; transition: var(--sf-transition); }
.sf-benefit:hover { transform: translateY(-4px); }
.sf-benefit-icon { font-size: 2.2rem; display: inline-flex; width: 72px; height: 72px; align-items: center; justify-content: center; border-radius: 50%; background: color-mix(in srgb, var(--sf-primary) 12%, #fff); margin-bottom: 16px; }
.sf-benefit h3 { margin-bottom: 8px; }
.sf-benefit p { color: var(--sf-text-light); font-size: .95rem; }
.sf-testimonial-grid, .sf-blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.sf-testimonial { background: #fff; border-radius: var(--sf-radius-lg); padding: 28px; box-shadow: var(--sf-shadow); margin: 0; border: 0; font-style: normal; }
.sf-stars { color: #f59e0b; letter-spacing: 2px; margin-bottom: 10px; }
.sf-testimonial cite { display: block; margin-top: 14px; font-weight: 600; font-style: normal; color: var(--sf-dark); }
.sf-blog-card { display: block; background: #fff; border-radius: var(--sf-radius-lg); overflow: hidden; box-shadow: var(--sf-shadow); color: inherit; transition: var(--sf-transition); }
.sf-blog-card:hover { transform: translateY(-6px); }
.sf-blog-card img { width: 100%; height: 210px; object-fit: cover; }
.sf-blog-card h3, .sf-blog-card p, .sf-blog-date { padding: 0 22px; }
.sf-blog-date { display: block; margin-top: 18px; font-size: .8rem; color: var(--sf-text-light); }
.sf-blog-card h3 { margin: 6px 0 8px; } .sf-blog-card p { padding-bottom: 22px; color: var(--sf-text-light); }
.sf-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 70px; }
.sf-stat-card { text-align: center; padding: 36px 20px; background: var(--sf-light); border-radius: var(--sf-radius-lg); }
.sf-counter-wrap { font-size: 2.8rem; font-weight: 800; color: var(--sf-primary); font-family: var(--sf-font-heading); }
.sf-stat-card p { margin-top: 8px; color: var(--sf-text-light); }

/* ===== Prose (about / policies / FAQ) ===== */
.sf-prose { max-width: 820px; margin: 0 auto; font-size: 1.05rem; line-height: 1.8; }
.sf-prose > * + * { margin-top: 1.1em; }
.sf-prose h2 { font-size: 1.8rem; margin-top: 1.8em; } .sf-prose h3 { font-size: 1.3rem; margin-top: 1.5em; }
.sf-prose ul, .sf-prose ol { padding-left: 1.4em; } .sf-prose img { border-radius: var(--sf-radius); margin: 1.5em auto; }
.sf-prose a { color: var(--sf-primary); text-decoration: underline; }

/* ===== Contact ===== */
.sf-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; max-width: 1080px; }
.sf-contact-info h2 { font-size: 1.6rem; margin-bottom: 20px; }
.sf-contact-info p { margin-bottom: 12px; }
.sf-contact-info a { color: var(--sf-primary); }
.sf-social { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.sf-contact-form { display: flex; flex-direction: column; gap: 16px; }
.sf-contact-form input, .sf-contact-form textarea { padding: 14px 18px; border: 1px solid var(--sf-border); border-radius: var(--sf-radius); font-size: 1rem; width: 100%; font-family: inherit; background: #fff; }
.sf-contact-form input:focus, .sf-contact-form textarea:focus { outline: 2px solid var(--sf-primary); border-color: transparent; }
.sf-hp { position: absolute !important; left: -9999px !important; }
.sf-notice { padding: 14px 18px; border-radius: var(--sf-radius); margin-bottom: 16px; }
.sf-notice-ok { background: #ecfdf5; color: #065f46; } .sf-notice-err { background: #fef2f2; color: #991b1b; }

/* ===== Newsletter ===== */
.sf-newsletter { background: linear-gradient(135deg, var(--sf-dark), var(--sf-secondary)); border-radius: var(--sf-radius-lg); padding: 80px 40px; text-align: center; }
.sf-newsletter h3 { color: var(--sf-white); margin-bottom: 14px; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.sf-newsletter p { color: rgba(255,255,255,0.75); margin-bottom: 30px; }
.sf-newsletter-form { display: flex; max-width: 520px; margin: 0 auto; gap: 12px; }
.sf-newsletter-form input { flex: 1; padding: 14px 24px; border-radius: var(--sf-btn-radius); border: none; font-size: 1rem; outline: none; }
.sf-newsletter-msg { margin: 14px 0 0 !important; color: #fff !important; min-height: 1.2em; }

/* ===== Footer (used by optional custom footer) ===== */
.sf-footer { background: var(--sf-dark); color: rgba(255,255,255,0.7); padding: 80px 0 30px; }

/* ===== Animations ===== */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-20px) rotate(5deg); } }
@keyframes floatingBounce { 0%, 100% { translate: 0 0; } 50% { translate: 0 -15px; } }
@keyframes slideIn { from { opacity: 0; transform: translateX(-30px); } to { opacity: 1; transform: translateX(0); } }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }

.sf-reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), box-shadow .3s; }
.sf-reveal.visible { opacity: 1; transform: translateY(0); }
.sf-product-card.sf-reveal.visible:hover { transform: translateY(-8px); }
.sfg-no-motion .sf-reveal, .no-js .sf-reveal { opacity: 1; transform: none; }
.sfg-no-motion *, .sfg-no-motion *::before { animation: none !important; }
@media (prefers-reduced-motion: reduce) { .sf-reveal { opacity: 1; transform: none; } .sf-scope * { animation: none !important; } }

/* ===== Quick View Modal ===== */
.sf-modal-overlay { position: fixed; inset: 0; background: rgba(10,10,20,.6); z-index: 99998; display: none; backdrop-filter: blur(3px); }
.sf-modal { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -46%) scale(.97); opacity: 0; width: min(920px, 94vw); max-height: 90vh; overflow: auto; background: #fff; border-radius: var(--sf-radius-lg); z-index: 99999; transition: all .3s; box-shadow: 0 30px 80px rgba(0,0,0,.3); }
.sf-modal.active { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.sf-modal-close { position: absolute; top: 12px; right: 14px; border: 0; background: var(--sf-light); width: 38px; height: 38px; border-radius: 50%; font-size: 1.4rem; cursor: pointer; line-height: 1; color: var(--sf-dark); }
.sf-quick-view-modal { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 40px; }
.sf-qv-image img { width: 100%; height: auto; border-radius: var(--sf-radius); }
.sf-qv-content h2 { margin-bottom: 14px; font-family: var(--sf-font-heading); }
.sf-qv-price { font-size: 1.5rem; font-weight: 700; color: var(--sf-primary); margin-bottom: 18px; }
.sf-qv-description { margin-bottom: 24px; color: var(--sf-text-light); }

/* ===== Age gate ===== */
.sf-age-gate { position: fixed; inset: 0; z-index: 100000; background: rgba(10,10,20,.92); display: flex; align-items: center; justify-content: center; padding: 20px; backdrop-filter: blur(6px); }
.sf-age-box { background: #fff; border-radius: var(--sf-radius-lg); max-width: 440px; width: 100%; padding: 44px 36px; text-align: center; font-family: var(--sf-font-primary); }
.sf-age-box img { max-height: 70px; margin: 0 auto 18px; display: block; }
.sf-age-box h2 { font-family: var(--sf-font-heading); color: var(--sf-dark); margin: 0 0 10px; font-size: 1.6rem; }
.sf-age-box p { color: var(--sf-text-light); margin: 0 0 26px; }
.sf-age-box .sf-age-actions { display: flex; gap: 12px; justify-content: center; }
