/*
Theme Name: SHEON Child Theme
Theme URI: https://sheon.space
Description: Custom child theme for SHEON.SPACE WooCommerce store with complete customization
Author: SHEON
Author URI: https://sheon.space
Template: hello-elementor
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sheon-child
*/

/* ============================================
   ROOT VARIABLES - Easy Color Customization
   ============================================ */
:root {
    /* Primary Brand Colors */
    --sheon-primary: #000000;
    --sheon-secondary: #333333;
    --sheon-accent: #ff6b6b;
    
    /* Background Colors */
    --sheon-bg-light: #ffffff;
    --sheon-bg-gray: #f8f9fa;
    --sheon-bg-dark: #1a1a1a;
    
    /* Text Colors */
    --sheon-text-dark: #1a1a1a;
    --sheon-text-light: #666666;
    --sheon-text-white: #ffffff;
    
    /* Border & Divider */
    --sheon-border: #e0e0e0;
    --sheon-border-dark: #cccccc;
    
    /* Shadows */
    --sheon-shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --sheon-shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --sheon-shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
    
    /* Spacing */
    --sheon-spacing-xs: 8px;
    --sheon-spacing-sm: 16px;
    --sheon-spacing-md: 24px;
    --sheon-spacing-lg: 40px;
    --sheon-spacing-xl: 60px;
    
    /* Typography */
    --sheon-font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    --sheon-font-heading: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    
    /* Transitions */
    --sheon-transition: all 0.3s ease;
}

/* ============================================
   GLOBAL RESETS & BASE STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--sheon-font-body);
    color: var(--sheon-text-dark);
    line-height: 1.6;
    font-size: 16px;
    background-color: var(--sheon-bg-light);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--sheon-font-heading);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: var(--sheon-spacing-sm);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

a {
    color: var(--sheon-primary);
    text-decoration: none;
    transition: var(--sheon-transition);
}

a:hover {
    color: var(--sheon-accent);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ============================================
   CONTAINER & LAYOUT
   ============================================ */
.sheon-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--sheon-spacing-md);
}

.sheon-wide-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--sheon-spacing-md);
}

/* ============================================
   BUTTONS
   ============================================ */
.button,
.sheon-button,
.woocommerce button.button,
.woocommerce a.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
    background-color: var(--sheon-primary);
    color: var(--sheon-text-white);
    padding: 14px 32px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--sheon-transition);
    display: inline-block;
    text-align: center;
    font-family: var(--sheon-font-body);
}

.button:hover,
.sheon-button:hover,
.woocommerce button.button:hover,
.woocommerce a.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover {
    background-color: var(--sheon-secondary);
    color: var(--sheon-text-white);
    transform: translateY(-2px);
    box-shadow: var(--sheon-shadow-md);
}

.button.secondary {
    background-color: transparent;
    border: 2px solid var(--sheon-primary);
    color: var(--sheon-primary);
}

.button.secondary:hover {
    background-color: var(--sheon-primary);
    color: var(--sheon-text-white);
}

/* ============================================
   HEADER STYLES
   ============================================ */
.sheon-header {
    background-color: var(--sheon-bg-light);
    border-bottom: 1px solid var(--sheon-border);
    padding: var(--sheon-spacing-sm) 0;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: var(--sheon-shadow-sm);
}

.sheon-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sheon-logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--sheon-primary);
    font-family: var(--sheon-font-heading);
}

.sheon-navigation ul {
    display: flex;
    list-style: none;
    gap: var(--sheon-spacing-md);
    align-items: center;
}

.sheon-navigation a {
    color: var(--sheon-text-dark);
    font-weight: 500;
    padding: 8px 16px;
    transition: var(--sheon-transition);
}

.sheon-navigation a:hover {
    color: var(--sheon-accent);
}

.sheon-cart-icon {
    position: relative;
    font-size: 1.3rem;
}

.sheon-cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--sheon-accent);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
}

/* ============================================
   FOOTER STYLES
   ============================================ */
.sheon-footer {
    background-color: var(--sheon-bg-dark);
    color: var(--sheon-text-white);
    padding: var(--sheon-spacing-xl) 0 var(--sheon-spacing-md);
    margin-top: var(--sheon-spacing-xl);
}

.sheon-footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--sheon-spacing-lg);
    margin-bottom: var(--sheon-spacing-lg);
}

.sheon-footer-section h4 {
    color: var(--sheon-text-white);
    margin-bottom: var(--sheon-spacing-sm);
}

.sheon-footer-section ul {
    list-style: none;
}

.sheon-footer-section ul li {
    margin-bottom: var(--sheon-spacing-xs);
}

.sheon-footer-section a {
    color: rgba(255,255,255,0.7);
    transition: var(--sheon-transition);
}

.sheon-footer-section a:hover {
    color: var(--sheon-text-white);
}

.sheon-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: var(--sheon-spacing-md);
    text-align: center;
    color: rgba(255,255,255,0.6);
    font-size: 14px;
}

/* ============================================
   WOOCOMMERCE SHOP PAGE
   ============================================ */
.woocommerce ul.products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--sheon-spacing-md);
    list-style: none;
    margin: var(--sheon-spacing-lg) 0;
}

.woocommerce ul.products li.product {
    background: var(--sheon-bg-light);
    border: 1px solid var(--sheon-border);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--sheon-transition);
    position: relative;
}

.woocommerce ul.products li.product:hover {
    box-shadow: var(--sheon-shadow-lg);
    transform: translateY(-4px);
}

.woocommerce ul.products li.product img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: var(--sheon-transition);
}

.woocommerce ul.products li.product:hover img {
    transform: scale(1.05);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 1.1rem;
    margin: var(--sheon-spacing-sm);
    font-weight: 600;
}

.woocommerce ul.products li.product .price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--sheon-accent);
    margin: 0 var(--sheon-spacing-sm) var(--sheon-spacing-sm);
}

.woocommerce ul.products li.product .button {
    width: calc(100% - 32px);
    margin: 0 var(--sheon-spacing-sm) var(--sheon-spacing-sm);
}

/* ============================================
   WOOCOMMERCE SINGLE PRODUCT
   ============================================ */
.woocommerce div.product {
    margin: var(--sheon-spacing-xl) 0;
}

.woocommerce div.product .product-images-wrapper {
    margin-bottom: var(--sheon-spacing-lg);
}

.woocommerce div.product .summary {
    margin-bottom: var(--sheon-spacing-lg);
}

.woocommerce div.product .product_title {
    font-size: 2.2rem;
    margin-bottom: var(--sheon-spacing-sm);
}

.woocommerce div.product p.price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--sheon-accent);
    margin-bottom: var(--sheon-spacing-md);
}

.woocommerce div.product .woocommerce-product-details__short-description {
    margin-bottom: var(--sheon-spacing-md);
    color: var(--sheon-text-light);
    line-height: 1.8;
}

.woocommerce div.product form.cart {
    margin-bottom: var(--sheon-spacing-lg);
}

.woocommerce div.product form.cart .quantity {
    margin-right: var(--sheon-spacing-sm);
}

.woocommerce div.product form.cart .quantity input {
    width: 80px;
    padding: 12px;
    border: 1px solid var(--sheon-border);
    border-radius: 4px;
    font-size: 16px;
    text-align: center;
}

/* ============================================
   WOOCOMMERCE CART
   ============================================ */
.woocommerce-cart table.cart {
    border: 1px solid var(--sheon-border);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: var(--sheon-spacing-lg);
}

.woocommerce-cart table.cart th {
    background-color: var(--sheon-bg-gray);
    padding: var(--sheon-spacing-sm);
    font-weight: 600;
}

.woocommerce-cart table.cart td {
    padding: var(--sheon-spacing-sm);
    border-bottom: 1px solid var(--sheon-border);
}

.woocommerce-cart .cart-collaterals {
    margin-top: var(--sheon-spacing-lg);
}

.woocommerce-cart .cart_totals {
    background-color: var(--sheon-bg-gray);
    padding: var(--sheon-spacing-lg);
    border-radius: 8px;
}

/* ============================================
   WOOCOMMERCE CHECKOUT
   ============================================ */
.woocommerce-checkout .woocommerce-billing-fields,
.woocommerce-checkout .woocommerce-shipping-fields {
    background-color: var(--sheon-bg-light);
    padding: var(--sheon-spacing-lg);
    border: 1px solid var(--sheon-border);
    border-radius: 8px;
    margin-bottom: var(--sheon-spacing-md);
}

.woocommerce-checkout input[type="text"],
.woocommerce-checkout input[type="email"],
.woocommerce-checkout input[type="tel"],
.woocommerce-checkout select,
.woocommerce-checkout textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--sheon-border);
    border-radius: 4px;
    font-size: 16px;
    font-family: var(--sheon-font-body);
    margin-bottom: var(--sheon-spacing-sm);
}

.woocommerce-checkout input:focus,
.woocommerce-checkout select:focus,
.woocommerce-checkout textarea:focus {
    outline: none;
    border-color: var(--sheon-primary);
    box-shadow: 0 0 0 3px rgba(0,0,0,0.05);
}

/* ============================================
   RESPONSIVE - MOBILE
   ============================================ */
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.6rem; }
    h3 { font-size: 1.4rem; }
    
    .sheon-header-inner {
        flex-direction: column;
        gap: var(--sheon-spacing-sm);
    }
    
    .sheon-navigation ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--sheon-spacing-sm);
    }
    
    .woocommerce ul.products {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: var(--sheon-spacing-sm);
    }
    
    .sheon-footer-content {
        grid-template-columns: 1fr;
        gap: var(--sheon-spacing-md);
    }
}

@media (max-width: 480px) {
    .woocommerce ul.products {
        grid-template-columns: 1fr;
    }
    
    .button,
    .sheon-button,
    .woocommerce button.button {
        padding: 12px 24px;
        font-size: 14px;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-sm { margin-top: var(--sheon-spacing-sm); }
.mt-md { margin-top: var(--sheon-spacing-md); }
.mt-lg { margin-top: var(--sheon-spacing-lg); }

.mb-sm { margin-bottom: var(--sheon-spacing-sm); }
.mb-md { margin-bottom: var(--sheon-spacing-md); }
.mb-lg { margin-bottom: var(--sheon-spacing-lg); }

.p-sm { padding: var(--sheon-spacing-sm); }
.p-md { padding: var(--sheon-spacing-md); }
.p-lg { padding: var(--sheon-spacing-lg); }
