/*
Theme Name: Maisha Toy
Theme URI: https://maishatoy.shop
Author: Senior WordPress Developer
Description: A fully responsive, colorful, and playful custom WordPress theme designed specifically for Maisha Toy - an Indian kids' toy shop based in Goalpara, Assam. Features WooCommerce integration, customizer settings, INR currency formatting, and one-click WhatsApp ordering.
Version: 1.0.0
Text Domain: maishatoy-in-theme
*/

:root {
    --primary-yellow: #FFD166;
    --secondary-blue: #118AB2;
    --whatsapp-green: #25D366;
    --whatsapp-hover: #1EBE5D;
    --pure-white: #FFFFFF;
    --dark-text: #2B2D42;
    --light-bg: #F8F9FA;
    --accent-pink: #EF476F;
}

body {
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--light-bg);
    color: var(--dark-text);
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Header & Top Bar */
.site-header {
    background-color: var(--pure-white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.top-bar {
    background-color: var(--secondary-blue);
    color: var(--pure-white);
    padding: 8px 5%;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}
.top-bar a {
    color: var(--pure-white);
    text-decoration: none;
}
.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    flex-wrap: wrap;
    gap: 15px;
}
.site-branding h1 {
    margin: 0;
    font-size: 28px;
    color: var(--secondary-blue);
    font-weight: 800;
}
.site-branding h1 a {
    color: inherit;
    text-decoration: none;
}
.nav-links a {
    margin-left: 20px;
    text-decoration: none;
    color: var(--dark-text);
    font-weight: 600;
    transition: color 0.2s;
}
.nav-links a:hover {
    color: var(--secondary-blue);
}

/* Hero Banner */
.hero-banner {
    background: linear-gradient(135deg, var(--primary-yellow) 0%, #FFE899 100%);
    padding: 60px 5%;
    text-align: center;
    border-bottom: 5px solid var(--secondary-blue);
}
.hero-banner h2 {
    font-size: 42px;
    color: var(--dark-text);
    margin-bottom: 15px;
}
.hero-banner p {
    font-size: 18px;
    color: #4A4E69;
    max-width: 700px;
    margin: 0 auto;
}

/* Product Grid */
.container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}
.section-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 30px;
    color: var(--dark-text);
}
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}
.product-card {
    background: var(--pure-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}
.product-thumb img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}
.product-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.product-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 10px 0;
    color: var(--dark-text);
}
.product-title a {
    color: inherit;
    text-decoration: none;
}
.product-price {
    font-size: 22px;
    font-weight: 800;
    color: var(--secondary-blue);
    margin-bottom: 12px;
}
.product-desc {
    font-size: 14px;
    color: #6C757D;
    margin-bottom: 15px;
}
.product-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.btn {
    display: inline-block;
    text-align: center;
    padding: 12px 20px;
    border-radius: 6px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s;
}
.btn-cart {
    background-color: var(--secondary-blue);
    color: var(--pure-white);
}
.btn-cart:hover {
    background-color: #0E6D8D;
    color: var(--pure-white);
}
.btn-whatsapp {
    background-color: var(--whatsapp-green);
    color: var(--pure-white);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.btn-whatsapp:hover {
    background-color: var(--whatsapp-hover);
    color: var(--pure-white);
}

/* Footer */
.site-footer {
    background-color: #1F2937;
    color: var(--pure-white);
    padding: 50px 5% 20px 5%;
    margin-top: 60px;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 40px auto;
}
.footer-col h3 {
    color: var(--primary-yellow);
    font-size: 18px;
    margin-bottom: 20px;
}
.footer-col p, .footer-col ul {
    font-size: 14px;
    color: #9CA3AF;
    line-height: 1.6;
}
.footer-col ul {
    list-style: none;
    padding: 0;
}
.footer-col ul li {
    margin-bottom: 10px;
}
.footer-col ul li a {
    color: #9CA3AF;
    text-decoration: none;
    transition: color 0.2s;
}
.footer-col ul li a:hover {
    color: var(--pure-white);
}
.footer-bottom {
    text-align: center;
    border-top: 1px solid #374151;
    padding-top: 20px;
    font-size: 13px;
    color: #9CA3AF;
}
