/*
Theme Name: NANA Shop
Author: You
Description: Minimalist theme based on Figma design
Version: 1.0
*/

/* --- 1. FONTS & GLOBALS --- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700;1,600&display=swap');

:root {
    --text-color: #1a1a1a;
    --font-main: 'Montserrat', sans-serif;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    line-height: 1.5;
    background-color: #fff;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; margin: 0; padding: 0; }
img { max-width: 100%; height: auto; display: block; object-fit: cover; }
.container { width: 90%; max-width: 1200px; margin: 0 auto; padding: 0 15px; }

/* --- 2. HEADER --- */
.site-header { padding: 20px 0; border-bottom: 1px solid #eee; position: sticky; top: 0; background: #fff; z-index: 100; }
.header-container { display: flex; justify-content: space-between; align-items: center; }
.logo a { font-size: 24px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: #000; }
.main-nav ul { display: flex; gap: 30px; }
.main-nav a { font-size: 13px; font-weight: 500; text-transform: uppercase; }
.header-actions { display: flex; gap: 20px; align-items: center; }
.cart-count { font-size: 10px; vertical-align: top; font-weight: bold; }

/* --- 3. HERO --- */
.hero-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; height: 85vh; width: 100%; overflow: hidden; }
.hero-item img { width: 100%; height: 100%; object-fit: cover; }

/* --- 4. PRODUCT LOOP (CATALOG) --- */
.catalog-section { padding: 60px 0; }
.section-title { text-align: center; font-size: 32px; font-weight: 600; font-style: italic; margin-bottom: 40px; text-transform: uppercase; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 40px 20px; }
.custom-product-card { text-align: center; }
.product-image-wrapper { height: 400px; overflow: hidden; margin-bottom: 15px; position: relative; }
.product-image-wrapper img { width: 100%; height: 100%; transition: transform 0.5s; }
.custom-product-card:hover .product-image-wrapper img { transform: scale(1.05); }
.product-title { font-size: 14px; text-transform: uppercase; font-weight: 400; margin: 10px 0 5px; }
.price { font-size: 12px; font-weight: 500; color: #000; letter-spacing: 1px; }
.price del { color: #999; margin-right: 8px; }

/* --- 5. PROMO BLOCKS --- */
.promo-section { display: flex; min-height: 400px; }
.promo-block { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px; }
.promo-block.light { background: #f2f2f2; }
.promo-block.dark { background: #0f0f0f; color: #fff; }
.promo-title { font-size: 32px; font-style: italic; margin: 10px 0 30px; }
.btn { padding: 12px 30px; border: 1px solid; text-transform: uppercase; font-size: 12px; display: inline-block; }
.btn-dark { border-color: #000; color: #000; }
.btn-light { border-color: #fff; color: #fff; }

/* --- 6. FOOTER --- */
.site-footer { padding: 60px 0 20px; text-align: center; border-top: 1px solid #eee; margin-top: 60px; }
.footer-nav a { margin: 0 15px; font-size: 11px; text-transform: uppercase; color: #666; }
.footer-copy { margin-top: 30px; font-size: 10px; font-weight: 700; text-transform: uppercase; }

/* MOBILE */
@media (max-width: 768px) {
    .hero-grid { grid-template-columns: 1fr; height: auto; }
    .main-nav { display: none; } /* Тут треба додати JS для мобільного меню */
    .promo-section { flex-direction: column; }
}