/*
Theme Name: KGT Catalog
Description: Кастомная тема WordPress для сайта-каталога товаров в стиле Apple
Version: 1.0.0
Author: KGT Team
Text Domain: kgt-catalog
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #007AFF;
    --secondary-color: #5856D6;
    --accent-color: #FF3B30;
    --text-primary: #1D1D1F;
    --text-secondary: #86868B;
    --background-primary: #FFFFFF;
    --background-secondary: #F5F5F7;
    --border-color: #D2D2D7;
    --shadow-light: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 8px 30px rgba(0, 0, 0, 0.12);
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    font-size: 17px;
    line-height: 1.47;
    color: var(--text-primary);
    background-color: var(--background-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

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

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

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

a:hover {
    color: var(--secondary-color);
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section--compact {
    padding: 60px 0;
}

/* Header */
.site-header {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.site-logo {
/*
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
*/
}
.wp-theme-_KGT-theme .site-logo{margin-bottom:0}
.wp-theme-_KGT-theme .site-logo a{height:auto;width:4em}

.search-toggle button.search-toggle__button{border:none;background:none}
.search-toggle button.search-toggle__button:hover{cursor:pointer;background:none}



/* COMING SOON */
.wp-theme-_KGT-theme {
	background-color: none;
}
.wp-block-cover span.wp-block-cover__background {
	background-color: rgba(255, 255, 255, 0.5) !important;
}
.wp-block-woocommerce-coming-soon {
	background-image: url('/img/maddy-baker-b_gAP97t7Is-unsplash.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
.woocommerce-coming-soon-header p.wp-block-site-title,
.woocommerce-coming-soon-header p.wp-block-site-title a	{
	height: 4em;
  width: 7em;
}
.woocommerce-coming-soon-header p.wp-block-site-title {margin-bottom:0}
.woocommerce-coming-soon-header p.wp-block-site-title a,
.wp-theme-_KGT-theme .site-logo a {
		color: transparent;
		text-indent: -9999px;
    background-image: url('/img/_KGT_LOGO_for-white.png');
    background-repeat: no-repeat;
    background-size: contain;
    display: block;
}

/* Navigation */
.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.main-navigation a {
    color: var(--text-primary);
    font-weight: 500;
    transition: var(--transition);
}

.main-navigation a:hover {
    color: var(--primary-color);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn--primary {
    background: var(--primary-color);
    color: white;
}

.btn--primary:hover {
    background: var(--secondary-color);
    color: white;
}

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

.btn--secondary:hover {
    background: var(--primary-color);
    color: white;
}

/* Cards */
.card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    overflow: hidden;
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
}

.card__image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: var(--transition);
}

.card__content {
    padding: 1.5rem;
}

.card__title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.card__description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Grid */
.grid {
    display: grid;
    gap: 2rem;
}

.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }
    
    .grid--2,
    .grid--3,
    .grid--4 {
        grid-template-columns: 1fr;
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 40px 0;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
}
