/*
Theme Name: ShopGlut Default
Description: Clean and simple WooCommerce theme perfect for any store. Minimal design with focus on content and usability.
Version: 1.0
Author: ShopGlut
Author URI: https://shopglut.com
Text Domain: shopglut-default
Tags: woocommerce, minimal, clean, simple, two-columns, custom-header, custom-menu, featured-images, threaded-comments
Requires at least: 5.0
Tested up to: 6.8
Requires PHP: 7.4
*/

/* Default Theme Styles */

/* Reset and Base Styles */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    margin: 0;
    padding: 0;
    background: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.site-header {
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid #e9ecef;
    position: sticky;
    top: 0;
    z-index: 999;
    padding: 15px 0;
}

.site-branding h1 {
    margin: 0;
}

.site-branding h1 a {
    color: #333333;
    text-decoration: none;
    font-size: 28px;
    font-weight: 600;
}

.site-description {
    color: #666666;
    font-size: 14px;
    margin: 5px 0 0 0;
}

/* Navigation */
.main-navigation {
    margin-top: 15px;
    border-top: 1px solid #f8f9fa;
    padding-top: 15px;
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}

.main-navigation li a {
    display: block;
    padding: 10px 20px;
    color: #333333;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.main-navigation li a:hover {
    color: #0073aa;
    background: #f8f9fa;
}

/* Content Area */
.site-content {
    padding: 40px 0;
    min-height: 60vh;
    background: #ffffff;
    margin: 20px 0;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.content-area {
    width: 70%;
    float: left;
    padding-right: 30px;
}

.widget-area {
    width: 30%;
    float: right;
}

/* Posts and Pages */
.entry-title {
    color: #333;
    font-size: 32px;
    margin-bottom: 20px;
    font-weight: 600;
}

.entry-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.entry-title a:hover {
    color: #0073aa;
}

.entry-content {
    line-height: 1.7;
    margin-bottom: 30px;
}

.entry-meta {
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

/* WooCommerce Styles */
.woocommerce ul.products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.woocommerce ul.products li.product {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.woocommerce ul.products li.product a img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.woocommerce ul.products li.product .price {
    color: #0073aa;
    font-weight: 600;
    font-size: 18px;
}

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
    background: #0073aa;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
    background: #005a87;
    transform: translateY(-1px);
}

/* Sidebar Widgets */
.widget {
    background: #fff;
    padding: 25px;
    margin-bottom: 25px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    border-left: 3px solid #0073aa;
}

.widget-title {
    color: #333;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f8f9fa;
}

/* Footer */
.site-footer {
    background: #6c757d;
    color: #ffffff;
    padding: 50px 0 20px;
    margin-top: 40px;
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-widget h3 {
    color: #fff;
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 18px;
}

.footer-widget a {
    color: #adb5bd;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-widget a:hover {
    color: #ffffff;
}

.site-info {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: #adb5bd;
    background: rgba(0, 0, 0, 0.2);
    margin: 30px -20px 0;
    padding: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .content-area,
    .widget-area {
        width: 100%;
        float: none;
        padding-right: 0;
    }
    
    .main-navigation ul {
        flex-direction: column;
    }
    
    .site-branding h1 a {
        font-size: 24px;
    }
    
    .container {
        padding: 0 15px;
    }
}

/* Utility Classes */
.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

.text-center {
    text-align: center;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background: #0073aa;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: #005a87;
    transform: translateY(-1px);
}