/*
Theme Name: PearlStore Zara Style
Theme URI: https://jewelrystore.uz
Description: Минималистичная тема для интернет-магазина в стиле Zara
Author: PearlStore
Author URI: https://jewelrystore.uz
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.0
Requires PHP: 7.4
License: GPL v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pearlstore-zara
Tags: e-commerce, woocommerce, minimal, modern
*/

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #000;
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2rem;
}

h2 {
    font-size: 1.5rem;
}

h3 {
    font-size: 1.25rem;
}

a {
    color: #000;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

a:hover {
    opacity: 0.7;
}

/* Header */
.site-header {
    border-bottom: 1px solid #e5e5e5;
    padding: 20px 0;
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 100;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    font-size: 1.5rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

.main-navigation a {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Product Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    position: relative;
    background: #fff;
    border: 1px solid #e5e5e5;
    transition: all 0.3s ease;
    overflow: hidden;
}

.product-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.product-image {
    width: 100%;
    padding-top: 125%; /* 4:5 aspect ratio */
    background-size: cover;
    background-position: center;
    background-color: #f5f5f5;
}

.product-info {
    padding: 16px;
}

.product-title {
    font-size: 14px;
    font-weight: 400;
    color: #000;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.4;
}

.product-price {
    font-size: 16px;
    font-weight: 600;
    color: #000;
}

/* Single Product */
.single-product {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.product-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.product-main-image {
    width: 100%;
    padding-top: 125%;
    background-size: cover;
    background-position: center;
    background-color: #f5f5f5;
}

.product-details h1 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.product-price-large {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
}

.product-description {
    margin-bottom: 30px;
    line-height: 1.8;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background: #000;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 12px;
    border: 1px solid #000;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover {
    background: #fff;
    color: #000;
}

.btn-outline {
    background: #fff;
    color: #000;
}

.btn-outline:hover {
    background: #000;
    color: #fff;
}

/* Footer */
.site-footer {
    border-top: 1px solid #e5e5e5;
    padding: 40px 20px;
    text-align: center;
    margin-top: 80px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

/* Responsive */
@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 20px 10px;
    }
    
    .product-gallery {
        grid-template-columns: 1fr;
    }
    
    .main-navigation ul {
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .header-container {
        flex-direction: column;
        gap: 20px;
    }
}

