Venkat โ Premium Children's Fashion
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Nunito', sans-serif; background: #FFF8F0; color: #4A4A4A; overflow-x: hidden; }
:root {
--primary: #FF7E67;
--secondary: #5EC4B7;
--accent: #FFD166;
--bg: #FFF8F0;
--dark: #2D4059;
--text: #4A4A4A;
--pink: #FFE0E6;
--soft-blue: #D4F1F9;
--soft-green: #D4EDDA;
--shadow: 0 8px 32px rgba(0,0,0,0.08);
--radius: 20px;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 10px; }
/* Animations */
@keyframes fadeUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.05); } }
@keyframes slideIn { from { transform: translateX(100%); } to { transform: translateX(0); } }
@keyframes slideOut { from { transform: translateX(0); } to { transform: translateX(100%); } }
@keyframes scaleIn { from { transform: scale(0.8); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }
.animate-on-scroll { opacity: 0; transform: translateY(40px); transition: all 0.8s ease; }
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }
/* Header */
.header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; background: rgba(255,248,240,0.95); backdrop-filter: blur(20px); border-bottom: 2px solid rgba(255,126,103,0.15); transition: all 0.3s; }
.header.scrolled { box-shadow: var(--shadow); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { font-family: 'Fredoka One', cursive; font-size: 28px; color: var(--primary); display: flex; align-items: center; gap: 8px; }
.logo span { color: var(--dark); }
.logo-icon { font-size: 32px; }
.nav { display: flex; align-items: center; gap: 32px; }
.nav a { font-weight: 600; font-size: 15px; color: var(--text); position: relative; padding: 4px 0; transition: color 0.3s; }
.nav a::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 2px; background: var(--primary); transition: width 0.3s; }
.nav a:hover { color: var(--primary); }
.nav a:hover::after { width: 100%; }
.header-actions { display: flex; align-items: center; gap: 16px; }
.header-actions button { background: none; border: none; cursor: pointer; font-size: 20px; color: var(--dark); position: relative; padding: 8px; border-radius: 50%; transition: background 0.3s; }
.header-actions button:hover { background: var(--pink); }
.cart-count { position: absolute; top: 0; right: 0; background: var(--primary); color: #fff; font-size: 10px; font-weight: 700; width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.hamburger span { width: 24px; height: 2.5px; background: var(--dark); border-radius: 2px; transition: all 0.3s; }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }
.mobile-nav { display: none; position: fixed; top: 72px; left: 0; width: 100%; background: #fff; padding: 24px; box-shadow: var(--shadow); z-index: 999; border-top: 2px solid var(--pink); }
.mobile-nav.active { display: block; animation: fadeIn 0.3s ease; }
.mobile-nav a { display: block; padding: 12px 0; font-weight: 600; font-size: 16px; color: var(--text); border-bottom: 1px solid #f0f0f0; }
.mobile-nav a:last-child { border-bottom: none; }
/* Hero */
.hero { min-height: 100vh; display: flex; align-items: center; padding-top: 72px; background: linear-gradient(135deg, #FFF8F0 0%, #FFE0E6 50%, #D4F1F9 100%); position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: -50%; right: -20%; width: 600px; height: 600px; background: radial-gradient(circle, rgba(255,126,103,0.12) 0%, transparent 70%); border-radius: 50%; }
.hero::after { content: ''; position: absolute; bottom: -30%; left: -10%; width: 400px; height: 400px; background: radial-gradient(circle, rgba(94,196,183,0.1) 0%, transparent 70%); border-radius: 50%; }
.hero-content { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 1; }
.hero-text h1 { font-family: 'Fredoka One', cursive; font-size: 56px; line-height: 1.15; color: var(--dark); margin-bottom: 16px; }
.hero-text h1 span { color: var(--primary); position: relative; }
.hero-text h1 span::after { content: 'โจ'; position: absolute; top: -10px; right: -30px; font-size: 24px; }
.hero-text p { font-size: 18px; line-height: 1.7; color: #666; margin-bottom: 32px; max-width: 480px; }
.hero-badges { display: flex; gap: 24px; margin-bottom: 32px; }
.hero-badge { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--dark); }
.hero-badge .icon { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 16px; }
.hero-badge .icon.green { background: var(--soft-green); }
.hero-badge .icon.pink { background: var(--pink); }
.hero-badge .icon.blue { background: var(--soft-blue); }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 16px 36px; border-radius: 50px; font-weight: 700; font-size: 16px; border: none; cursor: pointer; transition: all 0.3s; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 4px 20px rgba(255,126,103,0.4); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(255,126,103,0.5); }
.btn-secondary { background: #fff; color: var(--dark); border: 2px solid var(--primary); }
.btn-secondary:hover { background: var(--primary); color: #fff; transform: translateY(-3px); }
.btn-accent { background: var(--accent); color: var(--dark); box-shadow: 0 4px 20px rgba(255,209,102,0.4); }
.btn-accent:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(255,209,102,0.5); }
.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; }
.hero-circle { width: 420px; height: 420px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--accent)); display: flex; align-items: center; justify-content: center; animation: float 4s ease-in-out infinite; box-shadow: 0 20px 60px rgba(255,126,103,0.3); }
.hero-circle-inner { width: 340px; height: 340px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; font-size: 120px; }
.hero-float-item { position: absolute; width: 64px; height: 64px; border-radius: 16px; background: #fff; display: flex; align-items: center; justify-content: center; font-size: 28px; box-shadow: var(--shadow); animation: float 3s ease-in-out infinite; }
.hero-float-item:nth-child(2) { top: 30px; right: 40px; animation-delay: 0.5s; background: var(--pink); }
.hero-float-item:nth-child(3) { bottom: 50px; left: 20px; animation-delay: 1s; background: var(--soft-blue); }
.hero-float-item:nth-child(4) { bottom: 20px; right: 60px; animation-delay: 1.5s; background: var(--soft-green); }
/* Sections common */
.section { padding: 100px 0; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-tag { display: inline-block; background: var(--pink); color: var(--primary); padding: 8px 20px; border-radius: 50px; font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; }
.section-title { font-family: 'Fredoka One', cursive; font-size: 40px; color: var(--dark); margin-bottom: 12px; }
.section-sub { font-size: 17px; color: #888; max-width: 560px; margin: 0 auto; line-height: 1.6; }
/* About */
.about { background: #fff; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-visual { position: relative; }
.about-image { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.about-image img { width: 100%; height: 400px; object-fit: cover; background: linear-gradient(135deg, var(--soft-green), var(--soft-blue)); display: flex; align-items: center; justify-content: center; font-size: 80px; }
.about-exp { position: absolute; bottom: -24px; right: -24px; background: var(--primary); color: #fff; padding: 20px 28px; border-radius: 16px; text-align: center; box-shadow: 0 8px 30px rgba(255,126,103,0.3); }
.about-exp .num { font-family: 'Fredoka One', cursive; font-size: 32px; }
.about-exp .label { font-size: 12px; opacity: 0.9; }
.about-text h2 { font-family: 'Fredoka One', cursive; font-size: 36px; color: var(--dark); margin-bottom: 20px; }
.about-text p { font-size: 16px; line-height: 1.8; color: #666; margin-bottom: 24px; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.about-feature { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: var(--bg); border-radius: 12px; font-weight: 600; font-size: 14px; }
.about-feature .icon { font-size: 20px; }
/* Categories */
.categories { background: var(--bg); }
.cats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.cat-card { background: #fff; border-radius: var(--radius); padding: 40px 24px; text-align: center; transition: all 0.4s; cursor: pointer; box-shadow: var(--shadow); }
.cat-card:hover { transform: translateY(-8px); box-shadow: 0 16px 48px rgba(0,0,0,0.1); }
.cat-icon { width: 72px; height: 72px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; font-size: 32px; }
.cat-card h3 { font-size: 18px; color: var(--dark); margin-bottom: 6px; }
.cat-card p { font-size: 13px; color: #999; }
/* Products */
.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.product-card { background: #fff; border-radius: var(--radius); overflow: hidden; transition: all 0.4s; box-shadow: var(--shadow); position: relative; }
.product-card:hover { transform: translateY(-8px); box-shadow: 0 16px 48px rgba(0,0,0,0.1); }
.product-badge { position: absolute; top: 12px; left: 12px; z-index: 2; padding: 4px 14px; border-radius: 50px; font-size: 11px; font-weight: 700; text-transform: uppercase; }
.product-badge.new { background: var(--secondary); color: #fff; }
.product-badge.bestseller { background: var(--accent); color: var(--dark); }
.product-badge.sale { background: var(--primary); color: #fff; }
.product-image { height: 260px; display: flex; align-items: center; justify-content: center; font-size: 80px; position: relative; overflow: hidden; transition: background 0.3s; }
.product-card:hover .product-image { background: var(--pink); }
.product-image .emoji { transition: transform 0.4s; }
.product-card:hover .product-image .emoji { transform: scale(1.15) rotate(-5deg); }
.product-quick { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%) translateY(60px); background: var(--dark); color: #fff; padding: 8px 20px; border-radius: 50px; font-size: 12px; font-weight: 700; border: none; cursor: pointer; transition: all 0.3s; opacity: 0; }
.product-card:hover .product-quick { transform: translateX(-50%) translateY(0); opacity: 1; }
.product-info { padding: 20px; }
.product-category { font-size: 11px; text-transform: uppercase; color: #aaa; letter-spacing: 1px; font-weight: 700; margin-bottom: 4px; }
.product-name { font-size: 16px; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.product-rating { display: flex; align-items: center; gap: 4px; margin-bottom: 8px; font-size: 13px; color: var(--accent); }
.product-rating span { color: #aaa; font-size: 12px; margin-left: 4px; }
.product-price { display: flex; align-items: center; gap: 8px; }
.product-price .current { font-size: 20px; font-weight: 800; color: var(--primary); }
.product-price .old { font-size: 14px; color: #bbb; text-decoration: line-through; }
.product-add { width: 100%; padding: 10px; border: 2px solid var(--pink); background: transparent; border-radius: 12px; font-weight: 700; font-size: 14px; color: var(--primary); cursor: pointer; transition: all 0.3s; margin-top: 12px; }
.product-add:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
/* Promo Banner */
.promo { background: linear-gradient(135deg, var(--dark) 0%, #1a2a3a 100%); color: #fff; position: relative; overflow: hidden; }
.promo::before { content: '๐'; position: absolute; top: -20px; right: 10%; font-size: 120px; opacity: 0.1; }
.promo::after { content: '๐งธ'; position: absolute; bottom: -20px; left: 10%; font-size: 100px; opacity: 0.1; }
.promo-content { text-align: center; position: relative; z-index: 1; }
.promo-content h2 { font-family: 'Fredoka One', cursive; font-size: 42px; margin-bottom: 12px; }
.promo-content p { font-size: 18px; opacity: 0.8; margin-bottom: 28px; }
/* Reviews */
.reviews { background: #fff; }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review-card { background: var(--bg); border-radius: var(--radius); padding: 32px; transition: all 0.4s; }
.review-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.review-stars { color: var(--accent); font-size: 16px; margin-bottom: 12px; }
.review-text { font-size: 15px; line-height: 1.7; color: #666; margin-bottom: 20px; font-style: italic; }
.review-author { display: flex; align-items: center; gap: 12px; }
.review-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--pink); display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--primary); }
.review-name { font-weight: 700; font-size: 14px; color: var(--dark); }
.review-role { font-size: 12px; color: #aaa; }
/* Size Guide */
.size-guide { background: var(--bg); }
.size-table-wrap { overflow-x: auto; }
.size-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.size-table th { background: var(--dark); color: #fff; padding: 16px 20px; font-size: 14px; font-weight: 700; text-align: left; }
.size-table td { padding: 14px 20px; font-size: 14px; border-bottom: 1px solid #f0f0f0; }
.size-table tr:hover td { background: var(--pink); }
.size-tip { display: flex; align-items: center; gap: 12px; background: #fff; padding: 20px 24px; border-radius: 12px; margin-top: 24px; box-shadow: var(--shadow); }
/* FAQs */
.faqs { background: #fff; }
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item { background: var(--bg); border-radius: 16px; margin-bottom: 12px; overflow: hidden; transition: all 0.3s; }
.faq-item.active { box-shadow: var(--shadow); }
.faq-question { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; background: none; border: none; cursor: pointer; font-size: 16px; font-weight: 700; color: var(--dark); text-align: left; }
.faq-question .icon { font-size: 20px; transition: transform 0.3s; }
.faq-item.active .faq-question .icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; padding: 0 24px; overflow: hidden; transition: all 0.3s; font-size: 15px; line-height: 1.7; color: #666; }
.faq-item.active .faq-answer { max-height: 200px; padding: 0 24px 20px; }
/* Contact */
.contact { background: var(--bg); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.contact-info h3 { font-family: 'Fredoka One', cursive; font-size: 28px; color: var(--dark); margin-bottom: 16px; }
.contact-info p { font-size: 16px; line-height: 1.8; color: #666; margin-bottom: 32px; }
.contact-detail { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.contact-detail .icon { width: 48px; height: 48px; border-radius: 12px; background: var(--pink); display: flex; align-items: center; justify-content: center; font-size: 20px; }
.contact-detail .label { font-size: 12px; color: #aaa; text-transform: uppercase; letter-spacing: 1px; }
.contact-detail .value { font-size: 16px; font-weight: 700; color: var(--dark); }
.contact-form { background: #fff; padding: 40px; border-radius: var(--radius); box-shadow: var(--shadow); }
.contact-form h3 { font-size: 22px; margin-bottom: 24px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-weight: 600; font-size: 14px; color: var(--dark); margin-bottom: 6px; }
.form-group input,.form-group textarea,.form-group select { width: 100%; padding: 12px 16px; border: 2px solid #eee; border-radius: 12px; font-family: 'Nunito', sans-serif; font-size: 15px; transition: border 0.3s; outline: none; }
.form-group input:focus,.form-group textarea:focus,.form-group select:focus { border-color: var(--primary); }
.form-group textarea { height: 120px; resize: vertical; }
/* Newsletter */
.newsletter { background: linear-gradient(135deg, var(--secondary) 0%, #4db8ab 100%); color: #fff; text-align: center; position: relative; overflow: hidden; }
.newsletter::before { content: 'โ๏ธ'; position: absolute; top: 50%; left: 5%; font-size: 100px; opacity: 0.1; transform: translateY(-50%); }
.newsletter::after { content: '๐'; position: absolute; top: 50%; right: 5%; font-size: 100px; opacity: 0.1; transform: translateY(-50%); }
.newsletter h2 { font-family: 'Fredoka One', cursive; font-size: 36px; margin-bottom: 12px; }
.newsletter p { font-size: 17px; opacity: 0.9; margin-bottom: 28px; }
.newsletter-form { display: flex; max-width: 500px; margin: 0 auto; gap: 12px; }
.newsletter-form input { flex: 1; padding: 16px 24px; border: none; border-radius: 50px; font-family: 'Nunito', sans-serif; font-size: 15px; outline: none; }
.newsletter-form button { padding: 16px 32px; background: var(--dark); color: #fff; border: none; border-radius: 50px; font-weight: 700; font-size: 15px; cursor: pointer; transition: all 0.3s; white-space: nowrap; }
.newsletter-form button:hover { background: #1a2a3a; transform: translateY(-2px); }
/* Footer */
.footer { background: var(--dark); color: rgba(255,255,255,0.8); padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand .logo span { color: #fff; }
.footer-brand p { font-size: 14px; line-height: 1.8; max-width: 300px; }
.footer h4 { color: #fff; font-size: 16px; margin-bottom: 20px; }
.footer a { display: block; font-size: 14px; margin-bottom: 10px; transition: color 0.3s; }
.footer a:hover { color: var(--primary); }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; font-size: 18px; margin: 0; transition: all 0.3s; }
.footer-social a:hover { background: var(--primary); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 40px; padding: 20px 0; display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
/* Cart Sidebar */
.cart-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.4); z-index: 2000; backdrop-filter: blur(4px); }
.cart-overlay.active { display: block; }
.cart-sidebar { position: fixed; top: 0; right: 0; width: 420px; max-width: 90vw; height: 100%; background: #fff; z-index: 2001; padding: 28px; display: flex; flex-direction: column; transform: translateX(100%); transition: transform 0.4s ease; box-shadow: -10px 0 40px rgba(0,0,0,0.1); }
.cart-sidebar.active { transform: translateX(0); }
.cart-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 2px solid var(--bg); }
.cart-header h2 { font-family: 'Fredoka One', cursive; font-size: 22px; color: var(--dark); }
.cart-close { background: none; border: none; font-size: 28px; cursor: pointer; color: #aaa; transition: color 0.3s; }
.cart-close:hover { color: var(--primary); }
.cart-items { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 16px; }
.cart-item { display: flex; gap: 16px; padding: 16px; background: var(--bg); border-radius: 12px; }
.cart-item-img { width: 64px; height: 64px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 32px; }
.cart-item-info { flex: 1; }
.cart-item-name { font-weight: 700; font-size: 14px; color: var(--dark); }
.cart-item-price { font-size: 14px; color: var(--primary); font-weight: 700; }
.cart-item-qty { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.cart-item-qty button { width: 28px; height: 28px; border-radius: 50%; border: none; background: #fff; font-weight: 700; cursor: pointer; transition: all 0.2s; }
.cart-item-qty button:hover { background: var(--primary); color: #fff; }
.cart-item-qty span { font-weight: 700; font-size: 14px; min-width: 20px; text-align: center; }
.cart-item-remove { background: none; border: none; color: #ccc; cursor: pointer; font-size: 18px; align-self: flex-start; transition: color 0.3s; }
.cart-item-remove:hover { color: var(--primary); }
.cart-empty { text-align: center; padding: 40px 0; color: #aaa; }
.cart-empty .icon { font-size: 56px; margin-bottom: 12px; }
.cart-footer { border-top: 2px solid var(--bg); padding-top: 16px; margin-top: 16px; }
.cart-total { display: flex; justify-content: space-between; font-size: 18px; font-weight: 700; color: var(--dark); margin-bottom: 16px; }
.cart-total .amount { color: var(--primary); }
.btn-checkout { width: 100%; padding: 16px; background: var(--primary); color: #fff; border: none; border-radius: 12px; font-weight: 700; font-size: 16px; cursor: pointer; transition: all 0.3s; }
.btn-checkout:hover { background: #e86a54; }
.btn-checkout:disabled { opacity: 0.5; cursor: not-allowed; }
/* Checkout Modal */
.checkout-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 3000; backdrop-filter: blur(4px); }
.checkout-overlay.active { display: block; }
.checkout-modal { position: fixed; top: 50%; left: 50%; transform: translate(-50%,-50%) scale(0.8); width: 560px; max-width: 92vw; max-height: 90vh; background: #fff; border-radius: 24px; padding: 40px; z-index: 3001; opacity: 0; transition: all 0.4s; overflow-y: auto; }
.checkout-overlay.active .checkout-modal { transform: translate(-50%,-50%) scale(1); opacity: 1; }
.checkout-modal h2 { font-family: 'Fredoka One', cursive; font-size: 26px; color: var(--dark); margin-bottom: 24px; }
.checkout-modal .close { position: absolute; top: 20px; right: 24px; background: none; border: none; font-size: 28px; color: #aaa; cursor: pointer; }
.checkout-modal .close:hover { color: var(--primary); }
/* Notification Toast */
.toast { position: fixed; bottom: 24px; right: 24px; background: var(--dark); color: #fff; padding: 16px 24px; border-radius: 12px; font-weight: 700; font-size: 14px; z-index: 5000; transform: translateY(120px); opacity: 0; transition: all 0.4s; box-shadow: 0 8px 30px rgba(0,0,0,0.2); }
.toast.show { transform: translateY(0); opacity: 1; }
/* Back to top */
.back-top { position: fixed; bottom: 24px; left: 24px; width: 48px; height: 48px; border-radius: 50%; background: var(--primary); color: #fff; border: none; font-size: 20px; cursor: pointer; z-index: 500; opacity: 0; transform: translateY(20px); transition: all 0.3s; box-shadow: 0 4px 20px rgba(255,126,103,0.4); }
.back-top.show { opacity: 1; transform: translateY(0); }
.back-top:hover { transform: translateY(-4px); }
/* Responsive */
@media (max-width: 1024px) {
.hero-content { grid-template-columns: 1fr; gap: 40px; text-align: center; }
.hero-text p { margin: 0 auto 32px; }
.hero-badges { justify-content: center; }
.hero-circle { width: 320px; height: 320px; }
.hero-circle-inner { width: 260px; height: 260px; font-size: 80px; }
.hero-text h1 { font-size: 40px; }
.products-grid { grid-template-columns: repeat(2, 1fr); }
.cats-grid { grid-template-columns: repeat(2, 1fr); }
.reviews-grid { grid-template-columns: 1fr; }
.footer-grid { grid-template-columns: 1fr 1fr; }
.about-grid { grid-template-columns: 1fr; }
.contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
.nav { display: none; }
.hamburger { display: flex; }
.section { padding: 60px 0; }
.section-title { font-size: 30px; }
.hero-text h1 { font-size: 32px; }
.hero-circle { width: 240px; height: 240px; }
.hero-circle-inner { width: 190px; height: 190px; font-size: 60px; }
.hero-float-item { width: 48px; height: 48px; font-size: 20px; }
.hero-float-item:nth-child(2) { top: 10px; right: 20px; }
.products-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
.cats-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
.newsletter-form { flex-direction: column; }
.footer-grid { grid-template-columns: 1fr; }
.about-features { grid-template-columns: 1fr; }
.promo-content h2 { font-size: 28px; }
.cart-sidebar { width: 100%; max-width: 100%; }
.checkout-modal { padding: 24px; }
.size-table th,.size-table td { padding: 10px 12px; font-size: 13px; }
.contact-form { padding: 24px; }
}
@media (max-width: 480px) {
.hero-text h1 { font-size: 26px; }
.products-grid { grid-template-columns: 1fr; }
.cats-grid { grid-template-columns: 1fr; }
.btn { padding: 14px 24px; font-size: 14px; }
.hero-badges { flex-direction: column; align-items: center; gap: 12px; }
}
โจ New Collection
๐ฅ Free Shipping
Where Style Meets Childhood Dreams
Premium children's fashion designed for comfort, durability, and joy. Every piece tells a story โ let your little ones shine.
ร
๐ Checkout
Full Name
Email Address
Phone Number
Shipping Address
Order Notes (Optional)
Place Order ๐
โ
// Product Data
const products = [
{ id: 'p1', name: 'Cotton Blossom Dress', price: 1599, oldPrice: 2199, emoji: '๐', category: 'Dresses', tag: 'sale', rating: 5, reviews: 42 },
{ id: 'p2', name: 'Stripe Polo Tee', price: 899, oldPrice: null, emoji: '๐', category: 'Tops', tag: 'bestseller', rating: 4, reviews: 28 },
{ id: 'p3', name: 'Denim Dungaree Set', price: 2199, oldPrice: null, emoji: '๐', category: 'Bottoms', tag: 'bestseller', rating: 5, reviews: 36 },
{ id: 'p4', name: 'Cloud Soft Hoodie', price: 1899, oldPrice: 2499, emoji: '๐งฅ', category: 'Outerwear', tag: 'sale', rating: 4, reviews: 19 },
{ id: 'p5', name: 'Rainbow Tutu Skirt', price: 1299, oldPrice: null, emoji: '๐', category: 'Dresses', tag: 'new', rating: 5, reviews: 15 },
{ id: 'p6', name: 'Animal Print Tee', price: 799, oldPrice: null, emoji: '๐', category: 'Tops', tag: null, rating: 4, reviews: 22 },
{ id: 'p7', name: 'Cuffed Jogger Pants', price: 1499, oldPrice: null, emoji: '๐', category: 'Bottoms', tag: 'bestseller', rating: 5, reviews: 44 },
{ id: 'p8', name: 'Knitted Cardigan', price: 2299, oldPrice: 2999, emoji: '๐งฅ', category: 'Outerwear', tag: 'sale', rating: 4, reviews: 11 }
];
// Render Products
function renderProducts() {
const grid = document.getElementById('productsGrid');
grid.innerHTML = products.map(p => {
const badge = p.tag ? `
${p.tag === 'new' ? 'New' : p.tag === 'sale' ? 'Sale' : 'Best Seller'}
` : '';
const stars = 'โ
'.repeat(p.rating) + 'โ'.repeat(5-p.rating);
const old = p.oldPrice ? `
โน${p.oldPrice} ` : '';
return `
`;
}).join('');
}
function getBgColor(id) {
const colors = ['#FFE0E6','#D4F1F9','#D4EDDA','#FFF3CD','#E8DAEF','#F5CBA7','#AED6F1','#FADBD8'];
const idx = id.split('')[1] - 1;
return colors[idx % colors.length];
}
// Cart
let cart = [];
function addToCart(product) {
const existing = cart.find(item => item.id === product.id);
if (existing) { existing.qty++; }
else { cart.push({ ...product, qty: 1 }); }
updateCart();
showToast(`${product.name} added to cart! ๐`);
}
function updateCart() {
const count = cart.reduce((sum, item) => sum + item.qty, 0);
document.getElementById('cartCount').textContent = count;
const container = document.getElementById('cartItems');
const footer = document.getElementById('cartFooter');
if (cart.length === 0) {
container.innerHTML = '
๐๏ธ
Your cart is empty
Add some cute outfits for your little one!
';
footer.style.display = 'none';
return;
}
footer.style.display = 'block';
let total = 0;
container.innerHTML = cart.map(item => {
total += item.price * item.qty;
return `
${item.emoji}
${item.name}
โน${item.price}
โ
${item.qty}
+
ร
`;
}).join('');
document.getElementById('cartTotal').textContent = `โน${total}`;
document.getElementById('checkoutTotal').textContent = `โน${total}`;
}
function changeQty(id, delta) {
const item = cart.find(i => i.id === id);
if (!item) return;
item.qty += delta;
if (item.qty i.id !== id);
updateCart();
}
function toggleCart() {
document.getElementById('cartOverlay').classList.toggle('active');
document.getElementById('cartSidebar').classList.toggle('active');
document.body.style.overflow = document.getElementById('cartOverlay').classList.contains('active') ? 'hidden' : '';
}
function openCheckout() {
if (cart.length === 0) return;
document.getElementById('checkoutTotal').textContent = `โน${cart.reduce((s,i) => s + i.price * i.qty, 0)}`;
document.getElementById('checkoutOverlay').classList.add('active');
}
function closeCheckout() {
document.getElementById('checkoutOverlay').classList.remove('active');
}
function handleCheckout(e) {
e.preventDefault();
closeCheckout();
toggleCart();
cart = [];
updateCart();
showToast('๐ Order placed successfully! Thank you for shopping with Venkat!');
}
// Toast
function showToast(msg) {
const t = document.getElementById('toast');
t.textContent = msg;
t.classList.add('show');
clearTimeout(t._timer);
t._timer = setTimeout(() => t.classList.remove('show'), 3000);
}
// FAQs
function toggleFaq(btn) {
btn.parentElement.classList.toggle('active');
}
// Contact form
function handleContact(e) {
e.preventDefault();
showToast('๐ง Message sent! We\'ll get back to you within 24 hours.');
e.target.reset();
}
// Newsletter
function handleNewsletter(e) {
e.preventDefault();
showToast('๐ Subscribed! Check your inbox for your 10% off coupon!');
e.target.reset();
}
// Mobile nav
function toggleMobileNav() {
document.getElementById('mobileNav').classList.toggle('active');
document.querySelector('.hamburger').classList.toggle('active');
}
// Scroll animations
function handleScrollAnimations() {
const els = document.querySelectorAll('.animate-on-scroll');
els.forEach(el => {
const rect = el.getBoundingClientRect();
if (rect.top {
document.getElementById('backTop').classList.toggle('show', window.scrollY > 400);
document.querySelector('.header').classList.toggle('scrolled', window.scrollY > 50);
handleScrollAnimations();
});
// Init
document.addEventListener('DOMContentLoaded', () => {
renderProducts();
handleScrollAnimations();
});
// Close cart on escape
document.addEventListener('keydown', (e) => {
if (e.key === 'Escape') {
if (document.getElementById('cartOverlay').classList.contains('active')) toggleCart();
if (document.getElementById('checkoutOverlay').classList.contains('active')) closeCheckout();
}
});