/*
Theme Name: boogeek Theme
Author: Anton Budantsov
Version: 1.0
Description: A minimalist, Apple.com-inspired theme for WordPress
*/

:root {
    --color-bg: #f5f5f7;
    --color-text: #1d1d1f;
    --color-muted: #6e6e73;
    --color-accent: #0071e3;
    --color-gray-bg: #f5f5f7;
    --radius: 12px;
    --transition: 0.2s ease-in-out
}

* {
    box-sizing: border-box;
}

html {
    margin: 0;
}

body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--color-bg);
    color: var(--color-text);
    font-size: 17px;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    -webkit-font-smoothing: antialiased;
}

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

a:hover {
    text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: var(--color-text);
}

p {
    margin-bottom: 0;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

.hero {
    background-color: var(--color-gray-bg);
    text-align: center;
    padding: 100px 20px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.hero p {
    color: var(--color-muted);
    font-size: 1.25rem;
}

.button {
    background-color: var(--color-accent);
    color: white;
    padding: 12px 28px;
    font-weight: 500;
    border-radius: var(--radius);
    display: inline-block;
    margin-top: 20px;
    transition: background-color var(--transition);
}

.button:hover {
    background-color: #005bb5;
}

main {
    flex: 1
}

/* Footer */
footer {
    background-color: var(--color-gray-bg);
    padding: 20px;
    font-size: 0.9rem;
    color: var(--color-muted);
    text-align: center;
}

.woocommerce ul.products li.product a img {
    margin: 0;
}

.woocommerce ul.products li.product .woocommerce-placeholder {
    border: none;
}

.market-button-container {
    display: flex;
    flex-direction: row;
}

.market-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    font-weight: 500;
    color: white;
    text-align: center;
    text-decoration: none;
    width: 35px;
    height: 35px;
    margin-right: 10px;
}

.market-avito {
    background: #fff;
}

.market-wb img, .market-avito {
    filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.15));
}

.market-wb:hover img, .market-avito:hover {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }
}
