/*
Theme Name: Theme2 Minimalist
Theme URI: https://example.com/theme2
Author: Your Name
Author URI: https://example.com
Description: A clean, minimalist white WordPress theme with modern design, perfect for e-commerce and professional websites. Features responsive layout, WooCommerce integration, and elegant typography.
Version: 1.0.0
Requires at least: 5.0
Tested up to: 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: theme2-minimalist
Tags: e-commerce, one-column, two-columns, left-sidebar, right-sidebar, custom-colors, custom-menu, featured-images, footer-widgets, full-width-template, translation-ready, blog, custom-logo, custom-background, custom-header, theme-options, threaded-comments

Theme2 Minimalist - Clean White eCommerce Theme
Copyright 2024
*/

:root {
    --theme2-white: #FFFFFF;
    --theme2-light-gray: #F7F7F7;
    --theme2-lighter-gray: #FAFAFA;
    --theme2-medium-gray: #E5E5E5;
    --theme2-dark-gray: #1A1A1A;
    --theme2-text-gray: #666666;
    --theme2-text-light: #999999;
    
    --theme2-primary: #2563EB;
    --theme2-primary-dark: #1D4ED8;
    --theme2-primary-light: #3B82F6;
    
    --theme2-font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    --theme2-font-secondary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    --theme2-font-size-xs: 0.75rem;
    --theme2-font-size-sm: 0.875rem;
    --theme2-font-size-base: 1rem;
    --theme2-font-size-lg: 1.125rem;
    --theme2-font-size-xl: 1.25rem;
    --theme2-font-size-2xl: 1.5rem;
    --theme2-font-size-3xl: 1.875rem;
    --theme2-font-size-4xl: 2.25rem;
    --theme2-font-size-5xl: 3rem;
    
    --theme2-spacing-xs: 0.25rem;
    --theme2-spacing-sm: 0.5rem;
    --theme2-spacing-md: 1rem;
    --theme2-spacing-lg: 1.5rem;
    --theme2-spacing-xl: 2rem;
    --theme2-spacing-2xl: 3rem;
    --theme2-spacing-3xl: 4rem;
    
    --theme2-border-radius: 4px;
    --theme2-border-radius-lg: 8px;
    
    --theme2-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --theme2-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    --theme2-shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --theme2-shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    
    --theme2-transition: all 0.3s ease;
    --theme2-transition-fast: all 0.15s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--theme2-font-primary);
    font-size: var(--theme2-font-size-base);
    line-height: 1.6;
    color: var(--theme2-dark-gray);
    background-color: var(--theme2-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--theme2-primary);
    text-decoration: none;
    transition: var(--theme2-transition-fast);
}

a:hover {
    color: var(--theme2-primary-dark);
}

a:focus {
    outline: 2px solid var(--theme2-primary);
    outline-offset: 2px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--theme2-font-primary);
    font-weight: 600;
    line-height: 1.3;
    color: var(--theme2-dark-gray);
    margin-bottom: var(--theme2-spacing-md);
}

h1 { font-size: var(--theme2-font-size-4xl); }
h2 { font-size: var(--theme2-font-size-3xl); }
h3 { font-size: var(--theme2-font-size-2xl); }
h4 { font-size: var(--theme2-font-size-xl); }
h5 { font-size: var(--theme2-font-size-lg); }
h6 { font-size: var(--theme2-font-size-base); }

p {
    margin-bottom: var(--theme2-spacing-md);
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--theme2-spacing-xl);
}

.container-fluid {
    width: 100%;
    padding: 0 var(--theme2-spacing-xl);
}

.site-content {
    min-height: calc(100vh - 300px);
    /* padding: var(--theme2-spacing-3xl) 0; */
}

.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    font-size: var(--theme2-font-size-sm);
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: var(--theme2-border-radius);
    cursor: pointer;
    transition: var(--theme2-transition);
    font-family: var(--theme2-font-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: var(--theme2-primary);
    color: var(--theme2-white);
}

.btn-primary:hover {
    background-color: var(--theme2-primary-dark);
    color: var(--theme2-white);
    transform: translateY(-2px);
    box-shadow: var(--theme2-shadow-md);
}

.btn-secondary {
    background-color: var(--theme2-dark-gray);
    color: var(--theme2-white);
}

.btn-secondary:hover {
    background-color: var(--theme2-text-gray);
    color: var(--theme2-white);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--theme2-dark-gray);
    color: var(--theme2-dark-gray);
}

.btn-outline:hover {
    background-color: var(--theme2-dark-gray);
    color: var(--theme2-white);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: var(--theme2-font-size-base);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: var(--theme2-font-size-xs);
}

.btn-block {
    display: block;
    width: 100%;
}

.card {
    background-color: var(--theme2-white);
    border: 1px solid var(--theme2-medium-gray);
    border-radius: var(--theme2-border-radius-lg);
    padding: var(--theme2-spacing-xl);
    box-shadow: var(--theme2-shadow-sm);
    transition: var(--theme2-transition);
}

.card:hover {
    box-shadow: var(--theme2-shadow-md);
    transform: translateY(-4px);
}

.form-control {
    width: 100%;
    padding: 0.875rem;
    font-size: var(--theme2-font-size-base);
    font-family: var(--theme2-font-primary);
    border: 1px solid var(--theme2-medium-gray);
    border-radius: var(--theme2-border-radius);
    background-color: var(--theme2-white);
    transition: var(--theme2-transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--theme2-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-control::placeholder {
    color: var(--theme2-text-light);
}

.label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: var(--theme2-font-size-sm);
    font-weight: 500;
    color: var(--theme2-dark-gray);
}

.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }

.text-white { color: var(--theme2-white); }
.text-gray { color: var(--theme2-text-gray); }
.text-accent { color: var(--theme2-primary); }

.bg-white { background-color: var(--theme2-white); }
.bg-light { background-color: var(--theme2-light-gray); }
.bg-lighter { background-color: var(--theme2-lighter-gray); }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--theme2-spacing-xs); }
.mt-2 { margin-top: var(--theme2-spacing-sm); }
.mt-3 { margin-top: var(--theme2-spacing-md); }
.mt-4 { margin-top: var(--theme2-spacing-lg); }
.mt-5 { margin-top: var(--theme2-spacing-xl); }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--theme2-spacing-xs); }
.mb-2 { margin-bottom: var(--theme2-spacing-sm); }
.mb-3 { margin-bottom: var(--theme2-spacing-md); }
.mb-4 { margin-bottom: var(--theme2-spacing-lg); }
.mb-5 { margin-bottom: var(--theme2-spacing-xl); }

.py-1 { padding-top: var(--theme2-spacing-xs); padding-bottom: var(--theme2-spacing-xs); }
.py-2 { padding-top: var(--theme2-spacing-sm); padding-bottom: var(--theme2-spacing-sm); }
.py-3 { padding-top: var(--theme2-spacing-md); padding-bottom: var(--theme2-spacing-md); }
.py-4 { padding-top: var(--theme2-spacing-lg); padding-bottom: var(--theme2-spacing-lg); }
.py-5 { padding-top: var(--theme2-spacing-xl); padding-bottom: var(--theme2-spacing-xl); }

.px-1 { padding-left: var(--theme2-spacing-xs); padding-right: var(--theme2-spacing-xs); }
.px-2 { padding-left: var(--theme2-spacing-sm); padding-right: var(--theme2-spacing-sm); }
.px-3 { padding-left: var(--theme2-spacing-md); padding-right: var(--theme2-spacing-md); }
.px-4 { padding-left: var(--theme2-spacing-lg); padding-right: var(--theme2-spacing-lg); }
.px-5 { padding-left: var(--theme2-spacing-xl); padding-right: var(--theme2-spacing-xl); }

.d-flex { display: flex; }
.d-block { display: block; }
.d-inline-block { display: inline-block; }
.d-none { display: none; }

.flex-wrap { flex-wrap: wrap; }
.flex-column { flex-direction: column; }
.align-items-center { align-items: center; }
.justify-content-center { justify-content: center; }
.justify-content-between { justify-content: space-between; }
.justify-content-end { justify-content: flex-end; }
.flex-grow-1 { flex-grow: 1; }

.gap-1 { gap: var(--theme2-spacing-xs); }
.gap-2 { gap: var(--theme2-spacing-sm); }
.gap-3 { gap: var(--theme2-spacing-md); }
.gap-4 { gap: var(--theme2-spacing-lg); }
.gap-5 { gap: var(--theme2-spacing-xl); }

.w-100 { width: 100%; }
.max-w-100 { max-width: 100%; }

.relative { position: relative; }
.absolute { position: absolute; }

.section {
    padding: var(--theme2-spacing-3xl) 0;
}

.section-light {
    background-color: var(--theme2-light-gray);
}

.section-white {
    background-color: var(--theme2-white);
}

.section-dark {
    background-color: var(--theme2-dark-gray);
    color: var(--theme2-white);
}

.section-title {
    font-size: var(--theme2-font-size-3xl);
    font-weight: 700;
    text-align: center;
    margin-bottom: var(--theme2-spacing-lg);
    color: var(--theme2-dark-gray);
}

.section-subtitle {
    font-size: var(--theme2-font-size-lg);
    color: var(--theme2-text-gray);
    text-align: center;
    margin-top: calc(var(--theme2-spacing-sm) * -1);
    margin-bottom: var(--theme2-spacing-2xl);
}

.grid {
    display: grid;
    gap: var(--theme2-spacing-xl);
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }

.row {
    display: flex;
    flex-wrap: wrap;
    margin-left: calc(var(--theme2-spacing-xl) * -0.5);
    margin-right: calc(var(--theme2-spacing-xl) * -0.5);
}

.col {
    flex: 1 0 0%;
    padding-left: calc(var(--theme2-spacing-xl) * 0.5);
    padding-right: calc(var(--theme2-spacing-xl) * 0.5);
}

.col-12 { flex: 0 0 100%; max-width: 100%; }
.col-6 { flex: 0 0 50%; max-width: 50%; }
.col-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
.col-3 { flex: 0 0 25%; max-width: 25%; }

.visually-hidden,
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 1200px) {
    .container {
        max-width: 1140px;
    }
    
    .grid-5 {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1024px) {
    .container {
        max-width: 960px;
    }
    
    .grid-4,
    .grid-5 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --theme2-font-size-4xl: 2rem;
        --theme2-font-size-3xl: 1.75rem;
        --theme2-font-size-2xl: 1.5rem;
    }
    
    .container,
    .container-fluid {
        max-width: 720px;
        padding: 0 var(--theme2-spacing-lg);
    }
    
    .grid-3,
    .grid-4,
    .grid-5 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .col-6,
    .col-4,
    .col-3 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .section {
        padding: var(--theme2-spacing-2xl) 0;
    }
    
    h1 { font-size: 1.875rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }
}

@media (max-width: 480px) {
    :root {
        --theme2-font-size-4xl: 1.75rem;
        --theme2-font-size-3xl: 1.5rem;
    }
    
    .container,
    .container-fluid {
        max-width: 100%;
        padding: 0 var(--theme2-spacing-md);
    }
    
    .grid-2,
    .grid-3,
    .grid-4,
    .grid-5 {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: var(--theme2-font-size-2xl);
    }
}

@media print {
    body {
        background: white;
        color: black;
        font-size: 12pt;
    }
    
    .btn,
    .no-print {
        display: none !important;
    }
    
    a {
        color: black;
        text-decoration: underline;
    }
}

.text-price {
    font-size: var(--theme2-font-size-xl);
    font-weight: 700;
    color: var(--theme2-dark-gray);
}

.text-price-old {
    text-decoration: line-through;
    color: var(--theme2-text-light);
    font-size: var(--theme2-font-size-base);
    margin-right: 0.75rem;
}

.text-price-new {
    color: #DC2626;
    font-weight: 700;
}

.theme2-rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: #F59E0B;
    font-size: var(--theme2-font-size-sm);
}

.theme2-rating-empty {
    color: var(--theme2-medium-gray);
}
