/*
Theme Name: Kido Toyland Theme
Theme URI: https://kidotoy.shop
Author: Senior WP Developer
Author URI: https://kidotoy.shop
Description: A colorful, responsive, high-converting WooCommerce theme built specifically for Kido Toyland - Kids Toy Store in Bangladesh. Features customizer settings for Bangladeshi store details, custom BDT currency integration, direct WhatsApp ordering, and vibrant kid-friendly design.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: e-commerce, woocommerce, responsive-layout, custom-colors, custom-header, custom-menu, kids, toy-store, bangladesh
Text Domain: kidotoyland
*/

/* Reset & Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary-yellow: #FFCF25;
    --primary-blue: #2BB673;
    --sky-blue: #3EC1D3;
    --soft-pink: #FF1654;
    --whatsapp-green: #25D366;
    --dark-text: #2D3142;
    --light-bg: #F9F9F9;
    --pure-white: #FFFFFF;
    --border-color: #E2E8F0;
}

body {
    font-family: 'Fredoka', 'Nunito', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--dark-text);
    background-color: var(--light-bg);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Header & Topbar */
.top-bar {
    background-color: var(--primary-yellow);
    color: var(--dark-text);
    padding: 8px 0;
    font-size: 14px;
    font-weight: 700;
    border-bottom: 2px dashed #E5B800;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.top-bar-contact span {
    margin-right: 15px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.site-header {
    background: var(--pure-white);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
}

.site-branding {
    display: flex;
    align-items: center;
    gap: 12px;
}

.site-title {
    font-size: 28px;
    font-weight: 900;
    color: #FF1654;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.site-title span {
    color: #3EC1D3;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

.main-navigation a {
    font-weight: 700;
    font-size: 16px;
    color: var(--dark-text);
    padding: 8px 16px;
    border-radius: 20px;
}

.main-navigation a:hover {
    background-color: var(--sky-blue);
    color: white;
}

/* Hero Section */
.hero-banner {
    background: linear-gradient(135deg, #FFF6D6 0%, #E0F7FA 100%);
    padding: 60px 20px;
    text-align: center;
    border-bottom: 4px solid var(--primary-yellow);
}

.hero-banner h1 {
    font-size: 42px;
    color: #FF1654;
    margin-bottom: 15px;
    font-weight: 900;
}

.hero-banner p {
    font-size: 18px;
    color: #4A5568;
    max-width: 600px;
    margin: 0 auto 25px;
    font-weight: 600;
}

.hero-btn {
    display: inline-block;
    background-color: var(--soft-pink);
    color: white;
    font-weight: 800;
    padding: 14px 32px;
    border-radius: 30px;
    box-shadow: 0 4px 12px rgba(255, 22, 84, 0.3);
    font-size: 18px;
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(255, 22, 84, 0.4);
}

/* Layout Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.section-title {
    text-align: center;
    font-size: 32px;
    font-weight: 800;
    color: var(--dark-text);
    margin-bottom: 35px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 5px;
    background: var(--primary-yellow);
    margin: 10px auto 0;
    border-radius: 10px;
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--pure-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 2px solid #F0F4F8;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.12);
}

.product-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    background-color: #F7FAFC;
}

.product-details {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--dark-text);
    margin-bottom: 8px;
}

.product-price {
    font-size: 20px;
    font-weight: 900;
    color: var(--soft-pink);
    margin-bottom: 12px;
}

.product-description {
    font-size: 14px;
    color: #718096;
    margin-bottom: 20px;
    flex-grow: 1;
}

.product-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-add-cart {
    background-color: var(--sky-blue);
    color: white;
    text-align: center;
    padding: 10px 15px;
    border-radius: 8px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.btn-add-cart:hover {
    background-color: #2BAABF;
}

.btn-whatsapp {
    background-color: var(--whatsapp-green);
    color: white;
    text-align: center;
    padding: 10px 15px;
    border-radius: 8px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.btn-whatsapp:hover {
    background-color: #1EBE5D;
}

/* Policies Box */
.policy-section {
    background-color: #FFFFFF;
    border-radius: 16px;
    padding: 30px;
    margin-top: 50px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
    border: 2px dashed var(--sky-blue);
}

.policy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.policy-item h4 {
    color: var(--soft-pink);
    font-size: 18px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.policy-item p {
    font-size: 14px;
    color: #4A5568;
}

/* Footer */
.site-footer {
    background: var(--dark-text);
    color: #E2E8F0;
    padding-top: 50px;
    padding-bottom: 20px;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 35px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 40px;
}

.footer-col h3 {
    color: var(--primary-yellow);
    font-size: 20px;
    margin-bottom: 18px;
}

.footer-col p, .footer-col li {
    font-size: 14px;
    margin-bottom: 10px;
    line-height: 1.8;
}

.footer-col ul {
    list-style: none;
}

.footer-col a:hover {
    color: var(--primary-yellow);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #4A5568;
    font-size: 14px;
    color: #A0AEC0;
}

/* Responsive */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 15px;
    }
    .top-bar .container {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }
    .hero-banner h1 {
        font-size: 30px;
    }
}
