/*
Theme Name: Sima Toy
Theme URI: https://simatoy.store.cv
Author: Sima Toy Development Team
Author URI: https://simatoy.store.cv
Description: Playful, high-converting custom WooCommerce WordPress theme built specially for Sima Toy kids store. Features direct 1-click WhatsApp ordering with auto-formatted messages, full Theme Customizer controls, responsive product grids, and pre-configured Bangladeshi eCommerce shipping and return policies.
Version: 1.0.0
Tested up to: 6.7
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: simatoy
Tags: e-commerce, kids, toys, custom-colors, custom-header, custom-menu, featured-images, theme-options, translation-ready, woocommerce
*/

:root {
    --simatoy-primary: #FFD200;
    --simatoy-secondary: #0284C7;
    --simatoy-whatsapp: #25D366;
    --simatoy-whatsapp-hover: #1EBE5B;
    --simatoy-dark: #1E293B;
    --simatoy-muted: #64748B;
    --simatoy-border: #E2E8F0;
    --simatoy-bg: #F8FAFC;
    --simatoy-font: 'Fredoka', 'Quicksand', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--simatoy-font);
    background-color: var(--simatoy-bg);
    color: var(--simatoy-dark);
    line-height: 1.6;
}

.simatoy-container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Announcement Topbar */
.simatoy-topbar {
    background: #1E293B;
    color: #F8FAFC;
    font-size: 13px;
    padding: 9px 0;
    border-bottom: 2px solid var(--simatoy-primary);
}

.simatoy-topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

/* Header */
.simatoy-header {
    background: #FFFFFF;
    border-bottom: 1px solid var(--simatoy-border);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.simatoy-header-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    gap: 20px;
}

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

.simatoy-logo-badge {
    width: 48px;
    height: 48px;
    background: var(--simatoy-primary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    box-shadow: 0 4px 10px rgba(255, 210, 0, 0.4);
}

.simatoy-site-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--simatoy-dark);
    line-height: 1.1;
}

.simatoy-site-title span {
    color: var(--simatoy-secondary);
}

/* 1-Click WhatsApp Button */
.simatoy-btn-whatsapp-order {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: var(--simatoy-whatsapp);
    color: #FFFFFF;
    font-weight: 700;
    font-size: 14px;
    padding: 10px 16px;
    border-radius: 9999px;
    text-decoration: none;
    transition: transform 0.2s, background-color 0.2s;
    width: 100%;
}

.simatoy-btn-whatsapp-order:hover {
    background-color: var(--simatoy-whatsapp-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
}

.simatoy-btn-add-cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background-color: #F1F5F9;
    color: #1E293B;
    font-weight: 700;
    font-size: 13px;
    padding: 9px 14px;
    border-radius: 9999px;
    border: 1px solid #CBD5E1;
    text-decoration: none;
    width: 100%;
    transition: background 0.2s;
}

.simatoy-btn-add-cart:hover {
    background-color: var(--simatoy-primary);
}

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

.simatoy-product-card {
    background: #FFF;
    border-radius: 20px;
    border: 1px solid var(--simatoy-border);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
    transition: transform 0.2s, box-shadow 0.2s;
}

.simatoy-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.simatoy-product-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.simatoy-product-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: auto;
}

/* Floating WhatsApp Button */
.simatoy-float-whatsapp {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: var(--simatoy-whatsapp);
    color: #FFF;
    padding: 12px 20px;
    border-radius: 9999px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}
