/*
Theme Name: ShopGlut Classic Shop
Description: Classic and elegant WooCommerce theme suitable for any type of store. Features traditional typography with gold accents.
Version: 1.0
Author: ShopGlut
Author URI: https://shopglut.com
Text Domain: shopglut-classic-shop
Tags: woocommerce, classic, elegant, traditional, gold, two-columns, custom-header, custom-menu, featured-images, threaded-comments
Requires at least: 5.0
Tested up to: 6.8
Requires PHP: 7.4
*/

/* Classic Shop Theme Styles */

/* Reset and Base Styles */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Georgia', serif;
    line-height: 1.7;
    color: #2c3e50;
    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 2px 10px rgba(0, 0, 0, 0.1);
    border-bottom: 3px solid #d4a574;
    position: sticky;
    top: 0;
    z-index: 999;
    padding: 20px 0;
}

.site-branding h1 {
    margin: 0;
}

.site-branding h1 a {
    color: #2c3e50;
    text-decoration: none;
    font-size: 32px;
    font-weight: 700;
    font-family: 'Georgia', serif;
    letter-spacing: 1px;
}

.site-description {
    color: #7f8c8d;
    font-size: 16px;
    font-style: italic;
    margin: 8px 0 0 0;
}

/* Navigation */
.main-navigation {
    margin-top: 20px;
    border-top: 1px solid #dee2e6;
    padding-top: 15px;
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.main-navigation li a {
    display: block;
    padding: 12px 25px;
    color: #2c3e50;
    text-decoration: none;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
    font-size: 14px;
}

.main-navigation li a:hover,
.main-navigation li.current-menu-item a {
    color: #d4a574;
    border-bottom-color: #d4a574;
}

/* Content Area */
.site-content {
    padding: 50px 0;
    min-height: 60vh;
    background: #ffffff;
    margin: 30px 0;
    border-radius: 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.content-area {
    width: 70%;
    float: left;
    padding-right: 40px;
}

.widget-area {
    width: 30%;
    float: right;
}

/* Posts and Pages */
.entry-title {
    color: #2c3e50;
    font-size: 36px;
    margin-bottom: 25px;
    font-weight: 700;
    font-family: 'Georgia', serif;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.entry-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #d4a574;
}

.entry-title a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.entry-title a:hover {
    color: #d4a574;
}

.entry-content {
    line-height: 1.8;
    margin-bottom: 40px;
    font-size: 16px;
    text-align: justify;
}

.entry-meta {
    color: #7f8c8d;
    font-size: 14px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f8f9fa;
    text-align: center;
    font-style: italic;
}

/* WooCommerce Styles */
.woocommerce ul.products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.woocommerce ul.products li.product {
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(212, 165, 116, 0.2);
    border-color: #d4a574;
}

.woocommerce ul.products li.product a img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.woocommerce ul.products li.product .price {
    color: #d4a574;
    font-weight: 700;
    font-size: 20px;
    font-family: 'Georgia', serif;
}

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
    background: #d4a574;
    color: #fff;
    border: 2px solid #d4a574;
    padding: 12px 30px;
    border-radius: 0;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    font-family: 'Georgia', serif;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
    background: #ffffff;
    color: #d4a574;
    border-color: #d4a574;
    transform: translateY(-2px);
}

/* Sidebar Widgets */
.widget {
    background: #fff;
    padding: 30px;
    margin-bottom: 35px;
    border: 1px solid #dee2e6;
    border-left: 4px solid #d4a574;
}

.widget-title {
    color: #2c3e50;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Georgia', serif;
    position: relative;
    padding-bottom: 15px;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: #d4a574;
}

/* Footer */
.site-footer {
    background: #2c3e50;
    color: #ecf0f1;
    padding: 80px 0 30px;
    border-top: 5px solid #d4a574;
    margin-top: 50px;
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}

.footer-widget h3 {
    color: #d4a574;
    font-weight: 700;
    margin-bottom: 25px;
    font-size: 22px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Georgia', serif;
    position: relative;
    padding-bottom: 15px;
}

.footer-widget h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: #d4a574;
}

.footer-widget a {
    color: #bdc3c7;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-widget a:hover {
    color: #d4a574;
    padding-left: 5px;
}

.footer-widget ul {
    list-style: none;
    padding: 0;
}

.footer-widget ul li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-widget ul li:last-child {
    border-bottom: none;
}

.site-info {
    text-align: center;
    padding-top: 30px;
    border-top: 2px solid rgba(212, 165, 116, 0.3);
    color: #95a5a6;
    background: rgba(0, 0, 0, 0.3);
    margin: 50px -20px 0;
    padding: 25px 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .content-area,
    .widget-area {
        width: 100%;
        float: none;
        padding-right: 0;
    }
    
    .main-navigation ul {
        flex-direction: column;
        align-items: center;
    }
    
    .site-branding h1 a {
        font-size: 28px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .entry-title {
        font-size: 28px;
    }
}

/* Utility Classes */
.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

.text-center {
    text-align: center;
}

/* Classic Typography Elements */
.dropcap {
    float: left;
    font-size: 75px;
    line-height: 60px;
    padding-top: 4px;
    padding-right: 8px;
    color: #d4a574;
    font-family: Georgia, serif;
}

.highlight {
    background: #d4a574;
    color: #fff;
    padding: 2px 6px;
    border-radius: 3px;
}