:root {
    --primary: #cba688; /* Колір Кемел/Беж */
    --primary-dark: #a67f62;
    --bg-light: #f9f5f0; /* Молочний фон */
    --dark: #2c2520; /* Темно-кавовий */
    --white: #ffffff;
    --accent: #d32f2f;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Montserrat', sans-serif; color: var(--dark); background: var(--white); line-height: 1.5; overflow-x: hidden; }

/* Layout */
.container { max-width: 1100px; margin: 0 auto; padding: 0 15px; }
.section { padding: 50px 0; }
.bg-beige { background-color: var(--bg-light); }
.section-title { text-align: center; font-size: 28px; margin-bottom: 30px; text-transform: uppercase; font-weight: 800; color: #d38650; letter-spacing: 1px; }

/* Header */
.header { background: var(--white); padding: 15px 0; position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
.header-wrap { display: flex; justify-content: space-between; align-items: center; }
.logo { font-weight: 900; font-size: 22px; color: var(--dark); }
.logo span { color: var(--primary); }
.btn-small { background: var(--dark); color: var(--white); padding: 8px 18px; border-radius: 20px; text-decoration: none; font-weight: 600; font-size: 14px; }

/* Hero */
.hero { background: radial-gradient(circle at center, #fdfbf7 0%, #ece0d1 100%); padding: 40px 0; }
.hero-container { display: flex; flex-direction: column-reverse; gap: 30px; align-items: center; }
.hero-content { text-align: center; }
.hero h1 { font-size: 34px; line-height: 1.1; margin-bottom: 15px; font-weight: 900; }
.hero h1 span { color: var(--primary-dark); }
.subtitle { font-size: 16px; margin-bottom: 20px; color: #555; }
.hero-image { position: relative; width: 100%; max-width: 400px; }
.hero-image img { width: 100%; border-radius: 20px; box-shadow: 0 10px 30px rgba(44, 37, 32, 0.15); }
.badge { position: absolute; top: 20px; left: -10px; background: var(--accent); color: white; padding: 8px 15px; font-weight: 800; transform: rotate(-10deg); border-radius: 5px; box-shadow: 0 5px 15px rgba(211,47,47,0.3); }

.price-block { background: rgba(255,255,255,0.8); padding: 10px 20px; border-radius: 10px; display: inline-block; margin-bottom: 20px; border: 1px solid rgba(0,0,0,0.05); }
.old-price { text-decoration: line-through; color: #999; margin-right: 10px; font-size: 18px; }
.new-price { color: var(--accent); font-size: 32px; font-weight: 800; }
.timer-text { font-size: 13px; margin-top: 15px; color: #777; font-weight: 600; }

.btn-main { display: block; background: var(--dark); color: var(--white); padding: 16px 30px; font-size: 18px; font-weight: 700; text-decoration: none; border-radius: 50px; border: none; cursor: pointer; text-transform: uppercase; width: 100%; box-shadow: 0 8px 20px rgba(44, 37, 32, 0.2); transition: 0.3s; }
.btn-main:hover { background: var(--primary-dark); }
.pulse-btn { animation: pulse 2s infinite; }
@keyframes pulse { 0% { transform: scale(1); } 50% { transform: scale(1.03); } 100% { transform: scale(1); } }

/* Description & Details */
.main-desc { max-width: 800px; margin: 0 auto 40px; text-align: center; font-size: 17px; line-height: 1.6; color: #444; }
.details-grid { display: grid; gap: 20px; }
.detail-item { background: var(--white); padding: 20px; border-radius: 15px; text-align: center; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.img-wrap { width: 100%; aspect-ratio: 2/3; overflow: hidden; border-radius: 10px; margin-bottom: 15px; background: #eee; }
.img-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.detail-item h3 { color: var(--primary-dark); margin-bottom: 8px; font-size: 18px; }

/* --- SIZE CHART TABLE (Новий стиль) --- */
.size-subtitle { text-align: center; margin-top: -20px; margin-bottom: 30px; color: #666; font-style: italic; }
.size-chart-wrapper { max-width: 600px; margin: 0 auto; background: var(--white); padding: 20px; border-radius: 15px; box-shadow: 0 5px 20px rgba(0,0,0,0.05); }
.size-table { width: 100%; border-collapse: collapse; text-align: center; }
.size-table th { background: var(--dark); color: var(--white); padding: 12px; font-size: 14px; text-transform: uppercase; }
.size-table th:first-child { border-top-left-radius: 10px; }
.size-table th:last-child { border-top-right-radius: 10px; }
.size-table td { padding: 15px 10px; border-bottom: 1px solid #eee; font-size: 16px; color: #555; }
.size-table .size-label { font-weight: 800; color: var(--dark); background: #fdfbf7; }
.size-note { font-size: 12px; color: #999; margin-top: 15px; text-align: center; }

/* Catalog */
.catalog-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
.product-card { background: var(--white); border-radius: 15px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.product-card img { width: 100%; height: 350px; object-fit: cover; object-position: top; }
.card-body { padding: 20px; text-align: center; }
.card-body h3 { margin-bottom: 5px; font-size: 18px; }
.price-mini { color: var(--accent); font-weight: 800; font-size: 20px; margin-bottom: 15px; }
.btn-select { width: 100%; padding: 12px; border: 2px solid var(--dark); background: transparent; color: var(--dark); font-weight: 700; border-radius: 30px; cursor: pointer; transition: 0.2s; }
.btn-select:hover { background: var(--dark); color: var(--white); }

/* Reviews */
.reviews-grid { display: grid; gap: 15px; }
.review-card { background: var(--white); padding: 20px; border-radius: 12px; box-shadow: 0 2px 10px rgba(0,0,0,0.03); }
.r-head { display: flex; justify-content: space-between; margin-bottom: 10px; font-weight: 700; }
.stars { color: #ffc107; }
.r-text { font-size: 14px; font-style: italic; color: #555; }
.r-date { display: block; text-align: right; font-size: 12px; color: #aaa; margin-top: 10px; }

/* Form */
.order-section { background: var(--dark); color: var(--white); padding: 60px 0; }
.form-wrapper { background: var(--white); color: var(--dark); padding: 30px 20px; border-radius: 15px; max-width: 500px; margin: 0 auto; border: 4px solid var(--primary); }
.form-wrapper h2 { text-align: center; margin-bottom: 10px; font-size: 24px; }
.form-wrapper > p { text-align: center; margin-bottom: 20px; color: #777; }
.spam-warning { display: none; background: #fff3cd; color: #856404; padding: 10px; border-radius: 5px; margin-bottom: 15px; font-size: 13px; text-align: center; border: 1px solid #ffeeba; }

.input-group { margin-bottom: 15px; }
.input-group label { display: block; margin-bottom: 5px; font-weight: 600; font-size: 14px; }
.input-group input, .input-group select { width: 100%; padding: 14px; border: 1px solid #ddd; border-radius: 8px; font-size: 16px; background: #fff; -webkit-appearance: none; }
.price-final { font-size: 20px; text-align: center; font-weight: 700; margin: 20px 0; border-top: 1px solid #eee; padding-top: 20px; }
.price-final span { color: var(--accent); font-size: 26px; }
.secure-text { text-align: center; margin-top: 15px; font-size: 12px; color: #aaa; }

/* Footer */
footer { background: #221c19; color: #777; text-align: center; padding: 30px 0; font-size: 12px; }
footer a { color: #777; }

/* Desktop */
@media (min-width: 768px) {
    .hero { padding: 80px 0; }
    .hero-container { flex-direction: row; text-align: left; min-height: 600px; align-items: stretch; }
    .hero-content { flex: 1; padding-right: 50px; display: flex; flex-direction: column; justify-content: center; text-align: left; }
    .hero-image { flex: 1; max-width: none; }
    .hero-image img { height: 100%; object-fit: cover; object-position: center top; border-radius: 20px; }
    .hero h1 { font-size: 52px; }
    .btn-main { width: auto; min-width: 450px; display: inline-block; }

    .details-grid { grid-template-columns: repeat(3, 1fr); }
    .catalog-grid { grid-template-columns: repeat(2, 1fr); }
    .reviews-grid { grid-template-columns: repeat(2, 1fr); }
}
/* --- СТИЛІ ДЛЯ СЛАЙДЕРА (ВИПРАВЛЕНО ДЛЯ ПК) --- */
.slider-container {
    position: relative;
    width: 100%;
    /* Прибираємо height: 400px і ставимо пропорцію */
    aspect-ratio: 3 / 4; /* Робить блок вертикальним (портретним) */
    background: #f4f4f4;
    overflow: hidden;
    border-radius: 15px 15px 0 0;
}

.slider-container img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Заповнює весь блок красиво */
    object-position: top center; /* 🔥 ГОЛОВНЕ: Фіксує верх фото (голову), щоб не обрізало */
    transition: opacity 0.2s ease-in-out;
}
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.3);
    color: white;
    border: none;
    padding: 15px 10px;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    z-index: 10;
    transition: 0.2s;
}
.slider-btn:hover { background: rgba(0,0,0,0.6); }
.prev { left: 0; border-radius: 0 5px 5px 0; }
.next { right: 0; border-radius: 5px 0 0 5px; }
.photo-counter {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0,0,0,0.5);
    color: white;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 12px;
}

/* --- СТИЛІ ДЛЯ GOOGLE ВІДГУКІВ --- */
.bg-black { background: #111; color: #fff; }
.google-review-header {
    background: #1a1a1a;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 25px;
    border: 1px solid #333;
}
.g-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 5px; }
.g-logo { font-family: sans-serif; font-weight: bold; font-size: 18px; letter-spacing: -1px; }
.g-shopping { color: #fff; font-weight: 400; margin-left: 5px; }
.g-rating { color: #fff; font-weight: bold; font-size: 20px; }
.g-rating span { font-size: 24px; }
.g-verified { color: #ccc; font-size: 11px; margin-bottom: 15px; display: flex; align-items: center; gap: 5px; text-transform: uppercase; font-weight: 600; }
.g-progress-wrap { background: #333; height: 6px; border-radius: 3px; overflow: hidden; margin-bottom: 8px; }
.g-progress-bar { background: #00c853; height: 100%; border-radius: 3px; }
.g-stats { display: flex; justify-content: space-between; font-size: 12px; color: #888; }
.g-green { color: #00c853; font-weight: bold; }

.btn-write-review {
    display: block; width: 100%; background: transparent; 
    border: 1px solid #cba688; color: #cba688; 
    padding: 12px; border-radius: 30px; font-weight: 700; margin-bottom: 30px; cursor: pointer; transition: 0.2s;
}
.btn-write-review:hover { background: #cba688; color: white; }

.reviews-list { display: grid; gap: 15px; grid-template-columns: 1fr; }
.review-item { background: #1a1a1a; padding: 15px; border-radius: 12px; border: 1px solid #333; text-align: left; }
.ri-header { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.ri-avatar { width: 35px; height: 35px; color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 14px; }
.ri-info { flex: 1; }
.ri-name { font-size: 14px; font-weight: 700; color: white; text-align: left; }
.ri-stars { color: #ffc107; font-size: 12px; text-align: left; }
.ri-badge { background: rgba(0, 200, 83, 0.2); color: #00c853; font-size: 10px; padding: 2px 6px; border-radius: 4px; text-transform: uppercase; border: 1px solid #00c853; }
.ri-text { color: #ccc; font-size: 13px; line-height: 1.4; margin-bottom: 10px; text-align: left; font-style: normal; }
.ri-footer { display: flex; justify-content: space-between; font-size: 11px; color: #666; }
.ri-likes { color: #888; }

@media (min-width: 768px) {
    .reviews-list { grid-template-columns: repeat(3, 1fr); }
}