/*
Theme Name: Famory Complete
Author: Famory
Description: Bright, playful Famory bilingual children's book website. WooCommerce ready.
Version: 5.0
*/
:root{--purple:#5d2bd9;--purple2:#8d4de8;--pink:#ff3f91;--blue:#2d7be8;--yellow:#ffc928;--ink:#23204a;--muted:#68677c;--white:#fff;--soft:#fff7fc;--shadow:0 14px 35px rgba(53,36,115,.13);--radius:20px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Poppins,Arial,sans-serif;color:var(--ink);line-height:1.65;background:#fff}a{text-decoration:none;color:inherit}img{max-width:100%;height:auto;display:block}.container{max-width:1180px;margin:auto;padding:0 24px}
.topbar{background:linear-gradient(90deg,#5d2bd9,#347de9);color:#fff;font-size:13px}.topbar-inner{max-width:1180px;margin:auto;padding:7px 24px;display:flex;justify-content:space-between;gap:18px;align-items:center}.topbar a{color:#fff}.socials{display:flex;gap:12px;align-items:center}.site-header{position:sticky;top:0;z-index:100;background:rgba(255,255,255,.97);backdrop-filter:blur(12px);border-bottom:1px solid #eee}.header-inner{max-width:1180px;margin:auto;padding:10px 24px;display:flex;align-items:center;justify-content:space-between;gap:25px}.brand img{width:205px}.nav{display:flex;gap:34px;align-items:center;font-size:15px;font-weight:600}.nav a:hover{color:var(--purple)}
.hero{background:linear-gradient(120deg,#e8f8ff,#fff5fb 50%,#f6edff);overflow:hidden}.hero-inner{max-width:1180px;margin:auto;min-height:365px;padding:34px 24px 0;display:grid;grid-template-columns:.9fr 1.1fr;align-items:center;gap:15px}.hero-copy h1{font-size:clamp(42px,5vw,64px);line-height:1.08;margin:0 0 16px;letter-spacing:-2px;color:#251b78}.hero-copy h1 span{color:var(--pink)}.hero-copy p{font-size:18px;color:#403f5c;max-width:520px}.hero-art{align-self:end}.hero-art img{width:100%;border-radius:35px 35px 0 0}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:12px 22px;border-radius:11px;background:linear-gradient(90deg,#6d32e6,#9448e8);color:#fff;font-weight:700;box-shadow:0 10px 22px rgba(109,50,230,.22);margin:8px 8px 0 0}.btn.outline{background:#fff;color:var(--purple);border:2px solid #8a4cf0;box-shadow:none}.section{padding:58px 0}.section-title{text-align:center;margin:0 auto 32px}.section-title h2{font-size:34px;line-height:1.2;color:#5530ce;margin:0 0 8px}.section-title p{color:var(--muted);margin:0}.stars{color:var(--yellow);font-size:25px;vertical-align:2px;margin:0 10px}
.products{background:linear-gradient(180deg,#fff,#fff9fd)}.product-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px}.product-card{background:#fff;border:1px solid #eee;border-radius:18px;box-shadow:var(--shadow);padding:14px;display:grid;grid-template-columns:42% 58%;gap:22px;align-items:center}.product-image{height:300px;border-radius:14px;overflow:hidden;background:#f8f4ff;display:flex;align-items:center;justify-content:center}.product-image img{width:100%;height:100%;object-fit:contain;background:#fff}.badge{display:inline-block;background:#ffe3f0;color:#ef2d7e;border-radius:999px;padding:4px 10px;font-size:11px;font-weight:700}.product-card h3{color:#6530dc;font-size:22px;margin:9px 0 5px}.product-card p{color:var(--muted);font-size:14px;margin:0 0 10px}.price{font-size:24px;font-weight:800;color:#6332dd}.mrp{text-decoration:line-through;color:#999;margin-left:8px;font-size:13px}
.about{padding-top:10px}.about-panel{border-radius:28px;background:linear-gradient(110deg,#ffeafa,#f9eefe,#e7f7ff);box-shadow:var(--shadow);overflow:hidden;display:grid;grid-template-columns:1fr 1fr;align-items:center}.about-art img{width:100%;height:100%;object-fit:cover}.about-copy{padding:30px 40px}.about-copy h2{font-size:34px;color:#5830ce;margin:0 0 10px}.about-copy p{color:var(--muted);margin:7px 0}
.benefits{padding-top:35px}.benefit-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.benefit{background:#fff;border:1px solid #e9e6f4;border-radius:16px;padding:22px;text-align:center;box-shadow:0 8px 22px rgba(53,36,115,.07)}.benefit .ico{width:52px;height:52px;margin:auto;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:25px;background:#ffe3f1}.benefit:nth-child(2) .ico{background:#fff0c7}.benefit:nth-child(3) .ico{background:#dcf7e6}.benefit:nth-child(4) .ico{background:#e9ddff}.benefit h3{font-size:15px;color:#5430cb;margin:12px 0 4px}.benefit p{font-size:13px;color:var(--muted);margin:0}
.contact{background:linear-gradient(110deg,#fff0f8,#f2edff,#eaf6ff)}.contact-box{text-align:center}.contact-details{display:flex;justify-content:center;flex-wrap:wrap;gap:14px;margin:20px 0}.contact-item{background:#fff;padding:12px 18px;border-radius:12px;box-shadow:var(--shadow)}
.site-footer{background:linear-gradient(110deg,#4e24c9,#276ddc);color:#fff;padding:42px 0 15px}.footer-grid{max-width:1180px;margin:auto;padding:0 24px;display:grid;grid-template-columns:1.2fr 1fr 1fr 1.2fr;gap:30px}.footer-logo{width:190px;filter:brightness(0) invert(1)}.site-footer p,.site-footer a{color:#e9e9ff;font-size:13px}.site-footer h3{margin:0 0 10px}.newsletter{display:flex}.newsletter input{min-width:0;flex:1;border:0;padding:11px;border-radius:8px 0 0 8px}.newsletter button{border:0;background:#ff3f91;color:#fff;font-weight:700;padding:0 14px;border-radius:0 8px 8px 0}.copyright{border-top:1px solid rgba(255,255,255,.2);margin-top:28px;padding-top:14px;text-align:center;font-size:12px;color:#d9ddff}
.page-wrap{max-width:1000px;margin:auto;padding:65px 24px}.page-wrap h1{font-size:45px;color:#5430cb}.page-wrap p{color:var(--muted)}.woocommerce .site-main,.woocommerce-page .site-main{max-width:1180px;margin:auto;padding:50px 24px}
@media(max-width:900px){.hero-inner{grid-template-columns:1fr;padding-top:35px}.hero-art{order:2}.product-grid,.about-panel{grid-template-columns:1fr}.product-card{grid-template-columns:1fr}.product-image{height:390px}.benefit-grid{grid-template-columns:1fr 1fr}.footer-grid{grid-template-columns:1fr 1fr}.nav{gap:15px}}
@media(max-width:600px){.topbar-inner{font-size:11px;flex-direction:column;gap:2px}.header-inner{flex-direction:column}.nav{flex-wrap:wrap;justify-content:center}.brand img{width:180px}.hero-copy h1{font-size:42px}.section{padding:42px 0}.benefit-grid,.footer-grid{grid-template-columns:1fr}.about-copy{padding:28px 22px}.product-image{height:360px}}

/* v5.0 final homepage polish */
.hero-copy{position:relative;z-index:2}.hero-buttons{display:flex;flex-wrap:wrap}.hero-art img{object-fit:cover;object-position:center}.product-info{min-width:0}.details-link{color:var(--purple);font-weight:600;font-size:13px;margin-left:8px}.heart{color:var(--pink);font-size:25px;vertical-align:2px;margin:0 10px}.price-row{display:flex;align-items:center;gap:2px;margin:4px 0}.site-footer a{display:inline-block;margin:2px 0}.site-footer .footer-logo{filter:none;background:rgba(255,255,255,.95);border-radius:20px;padding:6px;width:190px}
@media(max-width:900px){.hero-inner{min-height:auto}.hero-art img{border-radius:24px}.hero-copy{padding-top:10px}.product-card{padding:12px}.product-info{padding:0 4px}}
