/* style.css - Spring Luxury Edition */
:root {
    --bg: #ffffff;                /* Чистий білий фон */
    --surface: #f9fbf9;           /* Дуже світлий зеленуватий фон карток */
    --border: #e8eee8;            /* Світлі межі */
    --text: #1a1a1a;              /* Майже чорний текст */
    --text-muted: #7f8c8d;        /* Сірий текст */
    --accent: #2ecc71;            /* Свіжий весняний зелений */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Roboto', sans-serif;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

body { font-family: var(--font-body); background: var(--bg); color: var(--text); margin: 0; line-height: 1.7; overflow-x: hidden; }
.container { width: 90%; max-width: 1440px; margin: 0 auto; }
a { text-decoration: none; color: inherit; transition: var(--transition); }

/* Header - Modern Sticky */
header { background: rgba(255,255,255,0.95); position: fixed; top: 0; width: 100%; z-index: 2000; border-bottom: 1px solid var(--border); backdrop-filter: blur(10px); }
.nav-wrapper { display: flex; justify-content: space-between; align-items: center; padding: 20px 0; }
.logo { font-family: var(--font-heading); font-size: 1.8em; font-weight: 900; text-transform: uppercase; letter-spacing: -1px; color: var(--text);}
.logo .dot { color: var(--accent); }
nav { display: flex; gap: 25px; align-items: center; font-weight: 500; font-size: 0.85em; text-transform: uppercase; letter-spacing: 1.5px; }
nav a:hover { color: var(--accent); }
.btn-cabinet { background: var(--text); color: var(--bg); padding: 12px 26px; border-radius: 4px; font-weight: 700; font-size: 0.8em; }
.btn-cabinet:hover { background: var(--accent); color: white; box-shadow: 0 10px 25px rgba(46,204,113,0.2); }

/* Hero - Cinematic */
.hero-section { padding: 220px 0 120px 0; text-align: center; position: relative;}
.hero-title { font-family: var(--font-heading); font-size: 5.5em; line-height: 0.9; margin: 0; text-transform: uppercase; font-weight: 900; letter-spacing: -2px;}
.hero-title span { color: var(--accent); }
.hero-subtitle { font-size: 1.3em; color: var(--text-muted); max-width: 600px; margin: 30px auto; font-weight: 300;}

/* Grid - Hover Effects */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 40px; padding: 60px 0; }
.product-card { background: var(--surface); border: 1px solid var(--border); border-radius: 4px; padding: 30px; transition: var(--transition); position: relative; display: flex; flex-direction: column;}
.product-card:hover { border-color: var(--accent); transform: translateY(-5px); box-shadow: 0 15px 40px rgba(0,0,0,0.05); }
.image-box { height: 320px; background: #f0f0f0; border-radius: 2px; margin-bottom: 25px; overflow: hidden; }
.image-box img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.product-card:hover .image-box img { transform: scale(1.03); }

.product-title { font-family: var(--font-heading); font-size: 1.4em; margin: 0 0 10px 0; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px;}
.desc { color: var(--text-muted); font-size: 0.9em; margin: 0 0 25px 0; height: 45px; overflow: hidden; font-weight: 300;}
.price-row { display: flex; justify-content: space-between; align-items: center; margin-top: auto; }
.price { font-weight: 800; font-size: 1.6em; color: var(--text); }
.btn-buy { background: var(--text); color: var(--bg); border: none; padding: 14px 28px; border-radius: 4px; cursor: pointer; font-weight: 700; text-transform: uppercase; font-size: 0.8em; letter-spacing: 1.5px;}
.btn-buy:hover { background: var(--accent); color: white; }

/* Reviews - Centered */
.reviews-section { padding: 100px 0; background: var(--surface); border-radius: 4px; margin: 50px 0; border: 1px solid var(--border);}
#reviews-container { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 25px; margin-top: 40px; }
.review-card { background: var(--bg); padding: 30px; border-radius: 4px; border: 1px solid var(--border); animation: fadeIn 0.5s; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.reviewer { font-weight: 700; color: var(--accent); margin-bottom: 10px; display: block; font-family: var(--font-heading); text-transform: uppercase; font-size: 0.85em; letter-spacing: 1px;}
#review-form { display: flex; gap: 15px; margin-top: 50px; flex-wrap: wrap; justify-content: center;}
#review-form input { flex-grow: 1; background: var(--bg); border: 1px solid var(--border); padding: 18px; border-radius: 4px; color: var(--text); min-width: 200px; font-family: var(--font-body); }
#review-form button { background: var(--accent); color: white; border: none; padding: 0 35px; border-radius: 4px; cursor: pointer; font-weight: 700; height: 55px; text-transform: uppercase; letter-spacing: 1px;}

footer { padding: 40px 0; text-align: center; color: var(--text-muted); font-size: 0.9em; border-top: 1px solid var(--border); margin-top: 50px;}
.badge-in_stock { background: #e8f5e9 !important; color: #2e7d32 !important; }
.badge-low_stock { background: #fff3e0 !important; color: #ef6c00 !important; }
.badge-out_of_stock { background: #ffebee !important; color: #c62828 !important; }
.image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Це зробить так, щоб картинки не розтягувалися */
}