/* assets/css/style.css */

:root {
    --bg-color: #ffffff;
    --text-color: #333333;
    --primary-color: #4a4a4a;
    --secondary-color: #f5f5f5;
    --accent-color: #c5a059;
    --card-bg: #ffffff;
    --border-color: #e0e0e0;
    --input-bg: #ffffff;
    --hover-bg: #f0f0f0;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --text-muted: #666666;
}

body.dark-theme {
    --bg-color: #1a1a1a;
    --text-color: #f0f0f0;
    --primary-color: #bbbbbb;
    --secondary-color: #2d2d2d;
    --card-bg: #2d2d2d;
    --border-color: #404040;
    --input-bg: #2d2d2d;
    --hover-bg: #3d3d3d;
    --shadow: 0 2px 10px rgba(0,0,0,0.5);
    --text-muted: #999999;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    transition: background-color 0.3s, color 0.3s;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Шапка */
header {
    background-color: var(--secondary-color);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo a {
    font-size: 24px;
    font-weight: bold;
    color: var(--accent-color);
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin: 0 15px;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--accent-color);
}

.header-icons {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cart-icon, .user-icon a {
    color: var(--text-color);
    font-size: 20px;
    position: relative;
}

#cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--accent-color);
    color: white;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 50%;
}

.mobile-menu {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Мобільне меню */
.mobile-nav {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: var(--secondary-color);
    box-shadow: var(--shadow);
    z-index: 99;
    padding: 20px 0;
    transform: translateY(-100%);
    transition: transform 0.3s ease-in-out;
}

.mobile-nav.active {
    transform: translateY(0);
}

.mobile-nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mobile-nav-links li {
    margin: 10px 0;
}

.mobile-nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s;
}

.mobile-nav-links a:hover {
    color: var(--accent-color);
}

/* Перемикач теми */
.theme-toggle {
    position: fixed;
    right: 20px;
    top: 100px;
    z-index: 99;
    background-color: var(--secondary-color);
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: var(--shadow);
}

/* Каталог */
.catalog-page h1 {
    margin: 30px 0;
    text-align: center;
}

.catalog-toolbar {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    gap: 20px;
}

.search-input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    background-color: var(--bg-color);
    color: var(--text-color);
}

#sort-select {
    padding: 10px 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    background-color: var(--bg-color);
    color: var(--text-color);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
    padding-bottom: 20px;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sale-badge, .out-of-stock {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: var(--accent-color);
    color: white;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 12px;
}

.out-of-stock {
    background-color: #dc3545;
}

.product-card h3 {
    padding: 15px 15px 5px;
    font-size: 18px;
}

.short-desc {
    padding: 0 15px;
    color: #666;
    font-size: 14px;
    margin-bottom: 10px;
}

.price-block {
    padding: 0 15px 15px;
    display: flex;
    gap: 10px;
    align-items: center;
}

.old-price {
    text-decoration: line-through;
    color: #999;
    font-size: 14px;
}

.price, .sale-price {
    font-size: 20px;
    font-weight: bold;
    color: var(--accent-color);
}

.product-actions {
    padding: 0 15px 15px;
    display: flex;
    gap: 10px;
}

.btn-add-to-cart, .btn-order-telegram, .btn-disabled {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
}

.btn-add-to-cart {
    background-color: var(--primary-color);
    color: white;
}

.btn-order-telegram {
    background-color: #0088cc;
    color: white;
}

.btn-disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.product-rating {
    padding: 0 15px;
    display: flex;
    align-items: center;
    gap: 5px;
    color: #ffc107;
}

.rating-count {
    color: #666;
    font-size: 14px;
}

/* Футер */
footer {
    background-color: var(--secondary-color);
    padding: 30px 0;
    margin-top: 50px;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

/* ===== СТОРІНКА ТОВАРУ ===== */
.product-page {
    margin-top: 40px;
    margin-bottom: 60px;
}

.product-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
    background: var(--card-bg);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow);
}

.product-gallery {
    position: relative;
}

.product-image-large {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.product-image-large img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s;
}

.product-image-large:hover img {
    transform: scale(1.02);
}

.sale-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: linear-gradient(135deg, #ff416c, #ff4b2b);
    color: white;
    padding: 8px 15px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 3px 10px rgba(255,75,43,0.3);
    z-index: 2;
}

.product-title {
    font-size: 32px;
    margin: 0 0 15px 0;
    color: var(--text-color);
}

.product-rating-summary {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.product-rating-summary .stars {
    color: #ffc107;
    font-size: 18px;
}

.rating-count {
    color: var(--text-muted);
    font-size: 14px;
}

.product-price-block {
    margin-bottom: 20px;
}

.current-price {
    font-size: 32px;
    font-weight: 700;
    color: var(--accent-color);
}

.old-price {
    font-size: 20px;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-right: 15px;
}

.sale-price {
    font-size: 32px;
    font-weight: 700;
    color: #ff4757;
}

.stock-status {
    margin-bottom: 25px;
}

.in-stock {
    color: #28a745;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.out-of-stock {
    color: #dc3545;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.product-description {
    margin-bottom: 30px;
}

.product-description h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--text-color);
}

.product-description p {
    color: var(--text-muted);
    line-height: 1.7;
}

.product-buttons {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 14px 30px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #333);
    color: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.btn-telegram {
    background: linear-gradient(135deg, #0088cc, #005f8b);
    color: white;
    box-shadow: 0 4px 15px rgba(0,136,204,0.3);
}

.btn-telegram:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,136,204,0.4);
}

/* Секція відгуків */
.reviews-section {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow);
}

.reviews-section h2 {
    font-size: 24px;
    margin-bottom: 30px;
    color: var(--text-color);
}

.add-review-card {
    background: var(--secondary-color);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 40px;
}

.add-review-card h3 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 18px;
}

.review-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background: var(--input-bg);
    color: var(--text-color);
    font-size: 15px;
    margin: 15px 0;
    resize: vertical;
    min-height: 100px;
}

.btn-submit {
    background: var(--accent-color);
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s;
}

.btn-submit:hover {
    background: #b3924a;
}

.rating-select {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.rating-label {
    font-weight: 500;
    color: var(--text-color);
}

.star-rating-group {
    display: flex;
    gap: 5px;
}

.star-rating {
    font-size: 28px;
    cursor: pointer;
    transition: color 0.2s;
    color: #666;
}

.star-rating:hover,
.star-rating.active {
    color: #ffc107;
}

.login-prompt {
    background: var(--secondary-color);
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 30px;
}

.login-prompt a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.review-item {
    background: var(--secondary-color);
    border-radius: 12px;
    padding: 20px;
}

.review-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.review-author {
    font-weight: 600;
    color: var(--text-color);
}

.review-date {
    color: var(--text-muted);
    font-size: 14px;
}

.review-rating {
    color: #ffc107;
    margin-left: auto;
}

.review-content {
    color: var(--text-color);
    line-height: 1.6;
}

.admin-reply {
    margin-top: 15px;
    padding: 15px;
    background: rgba(197, 160, 89, 0.1);
    border-left: 3px solid var(--accent-color);
    border-radius: 5px;
}

.admin-reply strong {
    color: var(--accent-color);
    display: block;
    margin-bottom: 5px;
}

.no-reviews {
    text-align: center;
    color: var(--text-muted);
    padding: 30px;
}

/* ===== СТОРІНКИ ДОСТАВКИ, ЯК ЗАМОВИТИ, ПРО НАС ===== */
.delivery-page, .howto-page, .about-page {
    margin: 60px auto;
    padding: 0 20px;
}

.delivery-page h1, .howto-page h1, .about-page h1 {
    font-size: 42px;
    text-align: center;
    margin-bottom: 30px;
    color: var(--text-color);
    position: relative;
    padding-bottom: 20px;
}

.delivery-page h1:after, .howto-page h1:after, .about-page h1:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 2px;
}

/* Сторінка доставки */
.delivery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.delivery-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 30px 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.delivery-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.delivery-card i {
    font-size: 48px;
    color: var(--accent-color);
    margin-bottom: 20px;
    background: rgba(197, 160, 89, 0.1);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.delivery-card h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--text-color);
    font-weight: 600;
}

.delivery-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.delivery-card li {
    padding: 12px 0;
    border-bottom: 1px dashed var(--border-color);
    color: var(--text-color);
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.delivery-card li:before {
    content: '✓';
    color: var(--accent-color);
    font-weight: bold;
    font-size: 16px;
}

.delivery-note {
    background: linear-gradient(135deg, var(--secondary-color), var(--card-bg));
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    margin-top: 30px;
    border: 1px solid var(--border-color);
}

.delivery-note a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
}

/* Сторінка "Як замовити" */
.steps {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 40px;
}

.step {
    display: flex;
    gap: 25px;
    background: var(--card-bg);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid var(--border-color);
    transition: transform 0.3s;
}

.step:hover {
    transform: translateX(10px);
}

.step-icon {
    position: relative;
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--accent-color), #b3924a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 10px 20px rgba(197, 160, 89, 0.3);
}

.step-number {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 30px;
    height: 30px;
    background: white;
    color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
    border: 2px solid var(--accent-color);
}

.step-content h2 {
    font-size: 24px;
    margin-bottom: 10px;
    color: var(--text-color);
}

.step-content p {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 16px;
}

.howto-note {
    background: linear-gradient(135deg, var(--secondary-color), var(--card-bg));
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid var(--border-color);
}

/* Сторінка "Про нас" */
.about-content {
    background: var(--card-bg);
    border-radius: 24px;
    padding: 50px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border: 1px solid var(--border-color);
}

.about-intro {
    font-size: 20px;
    line-height: 1.7;
    color: var(--text-color);
    margin-bottom: 40px;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.feature-item {
    text-align: center;
    padding: 25px 20px;
    background: var(--secondary-color);
    border-radius: 16px;
    transition: transform 0.3s;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-item i {
    font-size: 40px;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.feature-item h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: var(--text-color);
}

.feature-item p {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 15px;
}

.about-section {
    margin-bottom: 40px;
}

.about-section h2 {
    font-size: 28px;
    color: var(--text-color);
    margin-bottom: 20px;
    font-weight: 600;
    border-left: 4px solid var(--accent-color);
    padding-left: 15px;
}

.about-section p {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.about-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.about-list li {
    font-size: 18px;
    color: var(--text-muted);
    padding: 12px 0;
    border-bottom: 1px dashed var(--border-color);
    display: flex;
    align-items: center;
    gap: 15px;
}

.about-list i {
    color: var(--accent-color);
    font-size: 24px;
    width: 30px;
    text-align: center;
}

.about-social {
    text-align: center;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid var(--border-color);
}

.about-social h3 {
    font-size: 24px;
    color: var(--text-color);
    margin-bottom: 20px;
}

.about-social .social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 15px;
}

.about-social .social-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
    transition: transform 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.about-social .social-icon:hover {
    transform: translateY(-5px);
}

.about-social .instagram {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.about-social .tiktok {
    background: #000000;
}

.about-social .tiktok i {
    text-shadow: 2px 2px 0 #ff0050, -2px -2px 0 #00f2ea;
}

.about-social .telegram {
    background: #0088cc;
}

/* ===== СОЦІАЛЬНІ ІКОНКИ ===== */
.social-floating {
    position: fixed;
    right: 20px;
    bottom: 100px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 99;
}

.social-floating a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background-color: var(--accent-color);
    color: white;
    border-radius: 50%;
    font-size: 24px;
    transition: transform 0.3s;
    box-shadow: var(--shadow);
}

.social-floating a:hover {
    transform: scale(1.1);
}

.mobile-social-icons {
    display: none;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.mobile-social-icons a {
    width: 44px;
    height: 44px;
    background-color: var(--accent-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    transition: transform 0.3s;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    text-decoration: none;
    border: none;
}

.mobile-social-icons a:hover {
    transform: scale(1.1);
    background: #b3924a;
}

/* ===== ФОРМИ ТА АВТОДОПОВНЕННЯ ===== */
input, select, textarea {
    background-color: var(--input-bg);
    color: var(--text-color);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    font-family: inherit;
}

input:focus, select:focus, textarea:focus {
    border-color: var(--accent-color);
    outline: none;
    box-shadow: 0 0 0 2px rgba(197, 160, 89, 0.2);
}

select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23333'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 20px;
    padding-right: 40px;
    cursor: pointer;
}

/* Виправлення для темної теми на сторінці відгуків */
body.dark-theme #product-filter,
body.dark-theme select {
    background-color: #2d2d2d !important;
    color: #f0f0f0 !important;
    border-color: #404040 !important;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23f0f0f0'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 10px center !important;
    background-size: 20px !important;
}

/* Для опцій всередині списку */
body.dark-theme select option {
    background-color: #2d2d2d !important;
    color: #f0f0f0 !important;
}

.autocomplete-suggestions {
    position: absolute;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    max-height: 250px;
    overflow-y: auto;
    width: 100%;
    z-index: 1000;
    display: none;
    box-shadow: var(--shadow);
}

.autocomplete-suggestions div {
    padding: 10px 15px;
    cursor: pointer;
    color: var(--text-color);
    border-bottom: 1px solid var(--border-color);
    transition: background 0.2s;
}

.autocomplete-suggestions div:last-child {
    border-bottom: none;
}

.autocomplete-suggestions div:hover {
    background: var(--hover-bg);
}

body.dark-theme .autocomplete-suggestions {
    background: #2d2d2d;
    border-color: #404040;
}

body.dark-theme .autocomplete-suggestions div {
    color: #f0f0f0;
    border-bottom-color: #404040;
}

body.dark-theme .autocomplete-suggestions div:hover {
    background: #3d3d3d;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    user-select: none;
    color: var(--text-color);
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--accent-color);
    cursor: pointer;
}

/* ===== АДАПТАЦІЯ ДЛЯ МОБІЛЬНИХ ===== */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .mobile-menu {
        display: block;
    }
    .mobile-nav {
        display: block;
    }
    .catalog-toolbar {
        flex-direction: column;
    }
    .product-details {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 20px;
    }
    .product-buttons {
        flex-direction: column;
    }
    .rating-select {
        flex-direction: column;
        align-items: flex-start;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .step {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
    }
    .step-icon {
        width: 70px;
        height: 70px;
    }
    .step-icon i {
        font-size: 30px;
    }
    .step-number {
        width: 25px;
        height: 25px;
        font-size: 14px;
    }
    .step-content h2 {
        font-size: 20px;
    }
    .about-content {
        padding: 30px 20px;
    }

    /* Соціальні іконки на мобільних */
    .social-floating {
        display: none !important;
    }
    .mobile-social-icons {
        display: flex;
    }
    .container {
        padding-right: 20px;
    }
}

@media (min-width: 769px) {
    .mobile-nav {
        display: none !important;
    }
    .mobile-social-icons {
        display: none !important;
    }
}

/* Для дуже маленьких екранів */
@media (max-width: 480px) {
    .mobile-social-icons a {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
}

/* ===== КІНЦЕВЕ РІШЕННЯ ДЛЯ ФОРМ ===== */
/* Базові стилі для всіх полів вводу та вибору */
.customer-info input,
.customer-info select,
.form-group input,
.form-group select,
#delivery_method,
#payment_method,
#city,
#warehouse {
    width: 100%;
    padding: 14px 18px !important;
    margin-bottom: 12px;
    border: 2px solid var(--border-color) !important;
    border-radius: 30px !important; /* Сильне заокруглення */
    background-color: var(--input-bg) !important;
    color: var(--text-color) !important;
    font-size: 15px !important;
    font-family: inherit;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

/* Спеціально для select - заокруглення і стрілка */
.customer-info select,
.form-group select,
#delivery_method,
#payment_method {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23333'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 18px center !important;
    background-size: 18px !important;
    padding-right: 45px !important;
}

/* Фокус для всіх полів */
.customer-info input:focus,
.customer-info select:focus,
.form-group input:focus,
.form-group select:focus,
#delivery_method:focus,
#payment_method:focus,
#city:focus,
#warehouse:focus {
    border-color: var(--accent-color) !important;
    outline: none;
    box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.2);
}

/* Стилі для опцій всередині select */
select option {
    background-color: var(--bg-color) !important;
    color: var(--text-color) !important;
    padding: 12px !important;
}

/* ===== ТЕМНА ТЕМА ===== */
body.dark-theme .customer-info input,
body.dark-theme .customer-info select,
body.dark-theme .form-group input,
body.dark-theme .form-group select,
body.dark-theme #delivery_method,
body.dark-theme #payment_method,
body.dark-theme #city,
body.dark-theme #warehouse {
    background-color: #2d2d2d !important;
    color: #f0f0f0 !important;
    border-color: #404040 !important;
}

body.dark-theme .customer-info select,
body.dark-theme .form-group select,
body.dark-theme #delivery_method,
body.dark-theme #payment_method {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23f0f0f0'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e") !important;
}

body.dark-theme select option {
    background-color: #2d2d2d !important;
    color: #f0f0f0 !important;
}

/* ===== СТИЛІ ДЛЯ ПІДКАЗОК АВТОДОПОВНЕННЯ ===== */
.autocomplete-suggestions {
    background-color: var(--card-bg) !important;
    border: 2px solid var(--border-color) !important;
    border-radius: 20px !important;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.autocomplete-suggestions div {
    padding: 12px 18px !important;
    color: var(--text-color) !important;
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
    transition: background 0.2s;
}

.autocomplete-suggestions div:last-child {
    border-bottom: none;
}

.autocomplete-suggestions div:hover {
    background-color: var(--hover-bg) !important;
}

/* Темна тема для підказок */
body.dark-theme .autocomplete-suggestions {
    background-color: #2d2d2d !important;
    border-color: #404040 !important;
}

body.dark-theme .autocomplete-suggestions div {
    color: #f0f0f0 !important;
    border-bottom-color: #404040;
}

body.dark-theme .autocomplete-suggestions div:hover {
    background-color: #3d3d3d !important;
}