* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --secondary-color: #dc2626;
    --accent-blue: #3b82f6;
    --text-color: #1f2937;
    --text-light: #6b7280;
    --bg-color: #ffffff;
    --bg-light: #f9fafb;
    --border-color: #e5e7eb;
    --success-color: #10b981;
    --error-color: #ef4444;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: var(--bg-color);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-image {
    height: 72px;
    width: auto;
    object-fit: contain;
}

.logo-text-block {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--primary-color);
}

.logo-subtitle {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--secondary-color);
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.cart-icon {
    position: relative;
    cursor: pointer;
    padding: 0.5rem;
    transition: transform 0.3s ease;
    color: var(--primary-color);
}

.cart-icon:hover {
    transform: scale(1.1);
}

.cart-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--secondary-color);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #0ea5e9 0%, #38bdf8 50%, #bfdbfe 100%);
    color: white;
    padding: 8rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* .hero::before — переопределён ниже через display:none; блок удалён */

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top, rgba(255,255,255,0.3), transparent 55%),
                linear-gradient(135deg, rgba(37,99,235,0.55), rgba(239,68,68,0.4));
    opacity: 0.85;
}

@keyframes float {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-100px);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-highlight {
    color: #f97316;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.hero-secondary-btn {
    border-color: rgba(255, 255, 255, 0.6);
    color: white;
}

.hero-secondary-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Categories Section */
.categories-section {
    padding: 2rem 0;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
}

.categories-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.category-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--primary-color);
    background: white;
    color: var(--primary-color);
    border-radius: 2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.category-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.category-btn.active {
    background: var(--primary-color);
    color: white;
    box-shadow: var(--shadow);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
}

.btn-primary {
    background: white;
    color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.btn-secondary {
    background: var(--bg-light);
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--border-color);
}

/* Products Section */
.products-section {
    padding: 4rem 0;
    background: var(--bg-light);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 2rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.section-subtitle {
    color: var(--text-light);
    max-width: 480px;
}

.section-note {
    color: var(--primary-color);
    font-weight: 500;
}

.products-loading {
    text-align: center;
    padding: 2rem;
    color: var(--text-light);
    font-size: 1.1rem;
}

.products-empty {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-light);
    font-size: 1.2rem;
}

/* Advantages */
.advantages-section {
    background: #e0f2fe;
    padding: 3rem 0;
    color: var(--text-color);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.advantage-card {
    background: white;
    border-radius: 1.5rem;
    padding: 1.75rem;
    border: 1px solid rgba(148, 163, 184, 0.6);
    box-shadow: var(--shadow);
}

.advantage-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.advantage-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.advantage-text {
    font-size: 0.95rem;
    color: var(--text-light);
}

/* About */
.about-section {
    padding: 4rem 0;
    background: var(--bg-color);
}

.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 3rem;
    align-items: flex-start;
}

.about-text {
    max-width: 640px;
}

.about-lead {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.about-card {
    background: rgba(37, 99, 235, 0.04);
    border-radius: 1.5rem;
    padding: 1.75rem 2rem;
    border: 1px solid rgba(191, 219, 254, 0.8);
    box-shadow: var(--shadow);
}

.about-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: var(--primary-color);
}

.about-card p + p {
    margin-top: 0.75rem;
}

.about-location-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.about-map-wrapper {
    position: relative;
    /* если используется Leaflet, не делаем padding-top — карту задаём фиксированной высоты */
    padding-top: 0;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-map {
    /* Поддержка и iframe и контейнера Leaflet */
    position: relative;
    width: 100%;
    height: 320px;
    border: 0;
}

.about-contact {
    margin-top: 1rem;
}

.about-address {
    font-weight: 600;
}

.about-schedule,
.about-phone,
.about-telegram {
    color: var(--text-light);
}

.about-phone a,
.about-telegram a {
    color: var(--primary-color);
    text-decoration: none;
}

/* Стили модалки товара */
.product-modal {
    position: fixed;
    inset: 0;
    z-index: 6000;
    display: flex;
    align-items: center;
    justify-content: center;
}
.product-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
}
.product-modal-body {
    position: relative;
    width: 90%;
    max-width: 900px;
    max-height: 85vh;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    z-index: 6010;
    overflow: hidden;
    animation: modalIn 0.35s ease;
    display: flex;
    flex-direction: row;
}
.product-modal-content {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 100%;
}
.product-modal-image { 
    flex-shrink: 0;
    width: 400px;
    height: 100%;
    background: var(--bg-light);
    overflow: hidden;
}
.product-modal-image img { 
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-width: 100%;
    max-height: 100%;
    display: block;
    margin: 0 auto;
}
.product-modal-info { 
    flex: 1;
    padding: 2rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}
.product-modal-info h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-color);
}
.product-modal-info p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-light);
    flex-grow: 1;
    margin-bottom: 1rem;
}
.product-modal-close { 
    position: absolute; 
    right: 16px; 
    top: 12px; 
    background: transparent; 
    border: none; 
    font-size: 24px; 
    cursor: pointer; 
    z-index: 6020; 
    color: var(--text-color);
    transition: opacity 0.2s;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.product-modal-close:hover {
    opacity: 0.6;
}
.product-modal-price { 
    font-size: 1.5rem; 
    font-weight: 700; 
    color: var(--primary-color); 
    margin-bottom: 1rem; 
}
.product-modal-footer { 
    display: flex; 
    gap: 1rem; 
    align-items: center;
}
.product-modal-footer .btn {
    flex: 1;
    text-align: center;
}
@keyframes modalIn { 
    from { 
        transform: translateY(30px) scale(0.92); 
        opacity: 0 
    } 
    to { 
        transform: translateY(0) scale(1); 
        opacity: 1 
    } 
}

.about-phone a:hover,
.about-telegram a:hover {
    text-decoration: underline;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.product-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    animation: fadeIn 0.5s ease-out;
    animation-fill-mode: both;
    position: relative;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card:hover {
    transform: scale(1.06);
    box-shadow: var(--shadow-lg);
    z-index: 50;
}
.product-card {
    transform-origin: center center;
}

.product-card:nth-child(1) { animation-delay: 0.1s; }
.product-card:nth-child(2) { animation-delay: 0.2s; }
.product-card:nth-child(3) { animation-delay: 0.3s; }
.product-card:nth-child(4) { animation-delay: 0.4s; }
.product-card:nth-child(5) { animation-delay: 0.5s; }
.product-card:nth-child(6) { animation-delay: 0.6s; }

.product-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-blue) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    position: relative;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Скрываем визуальное отображение остатков, но логика остаётся на клиенте */
.product-stock { display: none; }

.product-stock {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--success-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.product-stock.low {
    background: var(--error-color);
}

.product-stock.out {
    background: var(--text-light);
}

.product-info {
    padding: 1.5rem;
}

.product-name {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.product-description {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.5;
    /* скрываем по умолчанию — показываем только на hover карточки */
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease, opacity 0.25s ease;
    opacity: 0;
}

.product-card:hover .product-description {
    max-height: 160px;
    opacity: 1;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.add-to-cart {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 0.5rem;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.add-to-cart:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

.add-to-cart:active {
    transform: scale(0.95);
}

.add-to-cart:disabled {
    background: var(--text-light);
    cursor: not-allowed;
    transform: none;
}

/* Cart Sidebar */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    display: none;
    animation: fadeIn 0.3s ease;
}

.cart-overlay.active {
    display: block;
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: white;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    z-index: 2001;
    display: flex;
    flex-direction: column;
    transition: right 0.3s ease;
}

.cart-sidebar.active {
    right: 0;
}

.cart-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h2 {
    font-size: 1.5rem;
}

.close-cart {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-light);
    transition: color 0.3s ease;
}

.close-cart:hover {
    color: var(--text-color);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
}

.empty-cart {
    text-align: center;
    color: var(--text-light);
    padding: 2rem;
}

.cart-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    animation: slideInRight 0.3s ease;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.cart-item-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 0.5rem;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.5rem;
}

.cart-item-info {
    flex: 1;
}

.cart-item-name {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.cart-item-price {
    color: var(--text-light);
    font-size: 0.9rem;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.quantity-btn {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    width: 30px;
    height: 30px;
    border-radius: 0.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.quantity-btn:hover {
    background: var(--border-color);
}

.quantity-value {
    min-width: 30px;
    text-align: center;
}

.remove-item {
    background: none;
    border: none;
    color: var(--error-color);
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0.5rem;
    transition: transform 0.3s ease;
}

.remove-item:hover {
    transform: scale(1.2);
}

.cart-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.cart-total {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    text-align: right;
}

.btn-checkout {
    width: 100%;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 3000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 1rem;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    animation: slideUp 0.3s ease;
    position: relative;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-light);
    transition: color 0.3s ease;
    z-index: 10;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
}

.close-modal:hover {
    color: var(--text-color);
    background: var(--bg-light);
}

.modal-header {
    padding: 1.5rem;
    padding-top: 3rem;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h2 {
    font-size: 1.5rem;
    margin: 0;
}

.order-form {
    padding: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
    cursor: text;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    cursor: text;
}

.form-group input:hover,
.form-group textarea:hover {
    cursor: text;
}

.delivery-methods {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.delivery-option {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--bg-light);
}

.delivery-option:hover {
    border-color: var(--primary-color);
    background: rgba(37, 99, 235, 0.05);
}

.delivery-option input[type="radio"] {
    margin: 0;
    margin-top: 0.2rem;
    width: 1.25rem;
    height: 1.25rem;
    cursor: pointer;
    accent-color: var(--primary-color);
    flex-shrink: 0;
}

.delivery-option input[type="radio"]:checked + span {
    font-weight: 600;
    color: var(--primary-color);
}

.delivery-option span {
    flex: 1;
    line-height: 1.5;
    user-select: none;
}

.delivery-option:has(input[type="radio"]:checked) {
    border-color: var(--primary-color);
    background: rgba(37, 99, 235, 0.1);
}

.delivery-note {
    margin-top: 0.5rem;
    padding: 0.75rem;
    background: rgba(37, 99, 235, 0.05);
    border-radius: 0.5rem;
    color: var(--text-light);
    font-size: 0.9rem;
    border-left: 3px solid var(--primary-color);
}

.delivery-address-group {
    transition: opacity 0.2s ease;
}

.order-summary {
    background: var(--bg-light);
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
}

.order-summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.order-summary-item:last-child {
    margin-bottom: 0;
    padding-top: 0.5rem;
    border-top: 1px solid var(--border-color);
    font-weight: 600;
    font-size: 1.1rem;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.form-actions .btn {
    flex: 1;
}

/* Loading Spinner */
.loading-spinner {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    z-index: 4000;
    align-items: center;
    justify-content: center;
}

.loading-spinner.active {
    display: flex;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--border-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Footer */
.footer {
    background: linear-gradient(180deg, rgba(37,99,235,0.06) 0%, #f7fbff 24%, #ffffff 100%);
    color: var(--text-color);
    padding: 2.5rem 0 1.5rem;
    border-top: 1px solid rgba(14,45,120,0.06);
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
    gap: 2.5rem;
    align-items: flex-start;
}

.footer-brand {
    max-width: 360px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo-image {
    width: 64px;
    height: 64px;
    border-radius: 999px;
    background: white;
    padding: 2px;
    object-fit: contain;
}

.footer-logo-text {
    display: flex;
    flex-direction: column;
}

.footer-logo-title {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.footer-logo-subtitle {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: #f97316;
}

.footer-description {
    font-size: 0.95rem;
    color: #64748b;
}

.footer-column {
    font-size: 0.95rem;
}

.footer-title {
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.footer-list a {
    color: #e5e7eb;
    text-decoration: none;
}

.footer-list a:hover {
    color: white;
    text-decoration: underline;
}

.footer-bottom {
    margin-top: 2rem;
    border-top: 1px solid rgba(148, 163, 184, 0.4);
    padding-top: 1rem;
    text-align: center;
    font-size: 0.85rem;
    color: #e5e7eb;
}

/* Responsive */
@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .hero-title {
        font-size: 2rem;
    }

    .footer-title {
        font-weight: 600;
        margin-bottom: 0.75rem;
    }
    .footer-list {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 0.4rem;
    }

    .footer-list a {
        color: #1e40af;
        text-decoration: none;
    }

    .footer-list a:hover {
        color: var(--primary-dark);
        text-decoration: underline;
    }
    .about-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .footer-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* ===== Fresh Premium Redesign (non-about/footer) ===== */
body {
    background: linear-gradient(180deg, #f5f9ff 0%, #ffffff 22%, #f8fbff 100%);
}

.header {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(37, 99, 235, 0.08);
    box-shadow: 0 14px 30px -25px rgba(30, 64, 175, 0.6);
}

.header-content {
    padding: 1rem 0;
}

.logo-image {
    height: 68px;
}

.logo-title {
    font-size: 1.3rem;
    letter-spacing: 0.09em;
}

.logo-subtitle {
    font-size: 0.68rem;
    color: #ef4444;
}

.nav {
    gap: 0.7rem;
    background: #f3f7ff;
    border: 1px solid #dbeafe;
    border-radius: 999px;
    padding: 0.35rem;
}

.nav-link {
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    font-size: 0.95rem;
}

.nav-link:hover {
    color: #1e40af;
    background: white;
}

.nav-link::after {
    display: none;
}

.cart-icon {
    background: #eff6ff;
    border: 1px solid #dbeafe;
    border-radius: 14px;
}

.cart-badge {
    box-shadow: 0 6px 18px rgba(220, 38, 38, 0.3);
}

.hero {
    margin: 1.2rem auto 0;
    padding: 4.2rem 0 3.8rem;
    color: #0f172a;
    background: radial-gradient(circle at 16% 16%, rgba(14, 165, 233, 0.2), transparent 40%),
                radial-gradient(circle at 85% 20%, rgba(37, 99, 235, 0.15), transparent 42%),
                linear-gradient(130deg, #f8fbff 5%, #edf5ff 48%, #f8fbff 100%);
}

.hero::before {
    display: none;
}

.hero-overlay {
    background: linear-gradient(115deg, rgba(255, 255, 255, 0.86), rgba(245, 250, 255, 0.88));
    opacity: 1;
}

.hero-shell {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
    align-items: center;
    gap: 2rem;
}

.hero-content {
    animation: none;
    text-align: left;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    background: #dbeafe;
    color: #1e40af;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.73rem;
    border-radius: 999px;
    padding: 0.45rem 0.9rem;
    margin-bottom: 1rem;
}

.hero-title {
    font-size: clamp(2.2rem, 4vw, 3.6rem);
    line-height: 1.08;
    color: #0f172a;
    margin-bottom: 1rem;
}

.hero-highlight {
    color: #2563eb;
}

.hero-subtitle {
    color: #334155;
    max-width: 640px;
    font-size: 1.08rem;
    margin-bottom: 1.5rem;
}

.hero-actions {
    justify-content: flex-start;
    margin-bottom: 1.4rem;
}

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.hero-points span {
    border: 1px solid #dbeafe;
    background: rgba(255, 255, 255, 0.86);
    color: #334155;
    border-radius: 999px;
    padding: 0.42rem 0.82rem;
    font-size: 0.88rem;
}

.hero-preview {
    background: white;
    border: 1px solid #dbeafe;
    border-radius: 22px;
    padding: 1.45rem;
    box-shadow: 0 20px 36px -26px rgba(30, 64, 175, 0.55);
}

.hero-preview-label {
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.74rem;
    margin-bottom: 0.6rem;
}

.hero-preview h3 {
    margin-bottom: 1rem;
    color: #0f172a;
    font-size: 1.3rem;
    line-height: 1.25;
}

.hero-preview ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.65rem;
}

.hero-preview li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 0.62rem 0.8rem;
    background: #f8fbff;
}

.hero-preview li span {
    color: #475569;
    font-size: 0.9rem;
}

.hero-preview li strong {
    color: #1e3a8a;
    font-size: 0.92rem;
}

.trust-strip {
    margin-top: -1.2rem;
    position: relative;
    z-index: 2;
}

.trust-strip-grid {
    background: white;
    border: 1px solid #dbeafe;
    box-shadow: 0 14px 34px -28px rgba(30, 64, 175, 0.55);
    border-radius: 16px;
    padding: 0.95rem 1.2rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.trust-item {
    display: grid;
    gap: 0.12rem;
}

.trust-item strong {
    color: #0f172a;
    font-size: 1.1rem;
}

.trust-item span {
    color: #64748b;
    font-size: 0.9rem;
}

.btn {
    border-radius: 12px;
    padding: 0.78rem 1.15rem;
}

.btn-primary {
    background: linear-gradient(135deg, #2563eb, #1e40af);
    border: none;
    box-shadow: 0 12px 20px -14px rgba(37, 99, 235, 0.9);
}

.btn-primary:hover {
    transform: translateY(-1px);
}

.btn-secondary {
    border: 1px solid #bfd6ff;
    color: #1e3a8a;
    background: white;
}

.categories-section {
    padding: 2.3rem 0 0.8rem;
    background: transparent;
    border: 0;
}

.categories-headline {
    text-align: left;
    margin-bottom: 1.1rem;
}

.categories-headline h2 {
    margin: 0;
    font-size: clamp(1.45rem, 2.4vw, 2rem);
    color: #0f172a;
}

.categories-headline p {
    margin-top: 0.45rem;
    color: #64748b;
}

.categories-filter {
    justify-content: flex-start;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.category-btn {
    border-radius: 999px;
    border: 1px solid #bfdbfe;
    background: #f8fbff;
    color: #1e3a8a;
    font-weight: 600;
    padding: 0.6rem 1rem;
}

.category-btn.active {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(135deg, #2563eb, #1e40af);
}

.products-section {
    padding-top: 1rem;
    background: #f8fbff;
    border-top: 1px solid rgba(219, 234, 254, 0.6);
    border-bottom: 1px solid rgba(219, 234, 254, 0.6);
}

.categories-filter-inline {
    margin-bottom: 1.1rem;
}

.section-header {
    background: white;
    border: 1px solid #dbeafe;
    border-radius: 20px;
    padding: 1.25rem 1.35rem;
    margin-bottom: 1.35rem;
}

.section-title {
    color: #0f172a;
}

.section-subtitle,
.section-note {
    color: #64748b;
}

.products-grid {
    gap: 1.25rem;
}

.product-card {
    border-radius: 18px;
    border: 1px solid #dbeafe;
    box-shadow: 0 18px 32px -30px rgba(30, 64, 175, 0.6);
    background: #ffffff;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    border-color: #93c5fd;
    box-shadow: 0 22px 34px -28px rgba(30, 64, 175, 0.65);
}

.product-image {
    background: linear-gradient(160deg, #eef5ff, #f9fbff);
}

.product-stock {
    border-radius: 999px;
    border: 1px solid rgba(37, 99, 235, 0.16);
    backdrop-filter: blur(3px);
}

.product-info {
    padding: 1.1rem;
}

.product-name {
    color: #0f172a;
}

.product-description {
    color: #64748b;
}

.product-price {
    color: #1e3a8a;
    font-size: 1.18rem;
}

.add-to-cart {
    border-radius: 10px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border: 0;
    box-shadow: 0 10px 18px -14px rgba(29, 78, 216, 0.85);
}

.add-to-cart:hover:not(:disabled) {
    transform: translateY(-1px);
}

.advantages-section {
    background: transparent;
    padding: 2.8rem 0;
}

.advantages-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.1rem;
}

.advantage-card {
    background: #fff;
    border: 1px solid #dbeafe;
    border-radius: 18px;
    box-shadow: 0 14px 24px -22px rgba(30, 64, 175, 0.5);
}

.advantage-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    font-size: 1.25rem;
    background: #e8f0ff;
    color: #1e3a8a;
}

.advantage-title {
    color: #0f172a;
}

.advantage-text {
    color: #64748b;
}

.cart-sidebar {
    border-left: 1px solid #dbeafe;
    box-shadow: -16px 0 36px -30px rgba(30, 64, 175, 0.6);
}

.cart-header,
.cart-footer {
    background: #f8fbff;
}

.cart-item {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    margin-bottom: 0.75rem;
    background: #fff;
}

.modal-content {
    border: 1px solid #dbeafe;
    border-radius: 20px;
    box-shadow: 0 24px 44px -34px rgba(30, 64, 175, 0.65);
}

.product-modal-body {
    border: 1px solid #dbeafe;
    border-radius: 22px;
    box-shadow: 0 24px 40px -26px rgba(30, 64, 175, 0.6);
}

@media (max-width: 1024px) {
    .hero-shell {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-preview {
        max-width: 560px;
    }
}

@media (max-width: 768px) {
    .header-content {
        padding: 0.8rem 0;
    }

    .logo-image {
        height: 56px;
    }

    .hero {
        padding: 3.1rem 0 2.5rem;
    }

    .hero-content {
        text-align: left;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-points {
        gap: 0.5rem;
    }

    .hero-points span {
        font-size: 0.82rem;
    }

    .trust-strip {
        margin-top: -0.6rem;
    }

    .trust-strip-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .categories-headline h2 {
        font-size: 1.45rem;
    }

    .section-header {
        padding: 1rem;
    }

    .advantages-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* ===== Fresh Premium V2 (Behance-inspired) ===== */
.hero-shell-v2 {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.4rem;
}

.hero-shell-v2 .hero-content {
    max-width: 900px;
}



.about-company-section {
    padding: 2.1rem 0 1.2rem;
}

.about-company-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    gap: 1.2rem;
    align-items: stretch;
}

.about-company-content,
.about-company-card {
    background: #ffffff;
    border: 1px solid #dbeafe;
    border-radius: 18px;
    padding: 1.3rem;
    box-shadow: 0 14px 24px -24px rgba(30, 64, 175, 0.52);
}

.about-company-kicker {
    display: inline-flex;
    margin-bottom: 0.6rem;
    color: #1e40af;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.72rem;
    font-weight: 700;
}

.about-company-text {
    color: #475569;
    margin-top: 0.75rem;
}

.about-company-list {
    margin: 1rem 0 0;
    padding-left: 1rem;
    color: #334155;
    display: grid;
    gap: 0.45rem;
}

.about-company-card h3 {
    margin-bottom: 1rem;
    color: #0f172a;
}

.about-company-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.45rem;
    margin-bottom: 1rem;
}

.about-company-metrics div {
    background: #f8fbff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 0.62rem;
    text-align: center;
}

.about-company-metrics strong {
    display: block;
    color: #1e3a8a;
    font-size: 1rem;
}

.about-company-metrics span {
    color: #64748b;
    font-size: 0.8rem;
}

.about-company-contact p {
    color: #334155;
    margin-bottom: 0.42rem;
}

.about-company-contact a {
    color: #1e3a8a;
    text-decoration: none;
}

.about-company-contact a:hover {
    text-decoration: underline;
}

.products-grid {
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 0.9rem;
}

.product-card {
    border-radius: 14px;
}

.product-image {
    height: 180px;
}

.product-info {
    padding: 0.85rem;
}

.product-name {
    font-size: 1.02rem;
    margin-bottom: 0.4rem;
    line-height: 1.3;
}

.product-description {
    max-height: none;
    opacity: 1;
    margin-bottom: 0.7rem;
    font-size: 0.84rem;
    line-height: 1.35;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price-block {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.product-price {
    font-size: 1.12rem;
    line-height: 1.2;
}

.product-footer {
    margin-top: 0.45rem;
}

.product-unit-price {
    font-size: 0.77rem;
    color: #64748b;
}

.add-to-cart {
    padding: 0.45rem 0.82rem;
    font-size: 0.84rem;
    border-radius: 9px;
}

.catalog-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    margin-top: 1.1rem;
}

.catalog-page-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid #bfdbfe;
    background: #fff;
    color: #1e40af;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.catalog-page-btn:hover:not(:disabled) {
    background: #eff6ff;
}

.catalog-page-btn:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

.catalog-page-info {
    min-width: 84px;
    text-align: center;
    color: #334155;
    font-weight: 600;
}

.faq-section {
    padding: 2rem 0 2.8rem;
    background: #f4f8ff;
}

.faq-title {
    margin: 0 0 0.9rem;
    color: #0f172a;
}

.faq-list {
    display: grid;
    gap: 0.65rem;
}

.faq-item {
    background: #ffffff;
    border: 1px solid #dbeafe;
    border-radius: 14px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    border: 0;
    background: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    padding: 0.95rem 1rem;
    font-size: 0.97rem;
    font-weight: 600;
    color: #0f172a;
    cursor: pointer;
}

.faq-icon {
    color: #1e40af;
    font-size: 1.2rem;
    line-height: 1;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease, padding 0.25s ease;
    padding: 0 1rem;
}

.faq-answer p {
    color: #475569;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.faq-item.active .faq-answer {
    max-height: 220px;
    padding: 0 1rem 0.95rem;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

@media (max-width: 1024px) {
    .about-company-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 768px) {

    .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.75rem;
    }

    .product-image {
        height: 145px;
    }

    .product-info {
        padding: 0.72rem;
    }

    .product-footer {
        gap: 0.5rem;
        align-items: flex-end;
    }

    .add-to-cart {
        padding-inline: 0.7rem;
    }

    .about-company-metrics {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* ===== Requested UI Tweaks ===== */
.btn-primary,
.btn.btn-primary,
#checkoutBtn,
.form-actions .btn-primary {
    color: #ffffff;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.hero {
    background: linear-gradient(140deg, #f8fbff 0%, #eef5ff 55%, #f7fbff 100%);
    padding: 3.2rem 0 2.4rem;
}

.hero-overlay {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.65), rgba(255, 255, 255, 0.72));
}

.hero-kicker {
    background: #eaf2ff;
}

.hero-shell-v2 {
    gap: 1rem;
}

.categories-filter-inline {
    background: linear-gradient(180deg, #f8fbff 0%, #f4f7fc 100%);
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 0.65rem;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.6rem;
    margin-bottom: 0.6rem;
}

.category-btn {
    border-radius: 13px;
    padding: 0.5rem 0.72rem;
    border: 1px solid #dbe4f1;
    background: #ffffff;
    color: #1e3a8a;
    min-width: 0;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
}

.category-btn--all {
    justify-content: center;
}

.category-btn--with-image {
    min-height: 58px;
}

.category-thumb {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: transparent;
    border: 0;
    display: grid;
    place-items: center;
    overflow: hidden;
    flex-shrink: 0;
}

.category-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
}

.category-label {
    font-size: 0.84rem;
    font-weight: 700;
    line-height: 1.15;
    text-align: center;
}

.category-btn.active {
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 8px 16px -12px rgba(30, 64, 175, 0.8);
}

.category-btn.active .category-thumb {
    background: rgba(255, 255, 255, 0.92);
    border-radius: 8px;
}

.products-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.95rem;
}

.product-card {
    border: 1px solid #dbeafe;
    box-shadow: 0 16px 32px -28px rgba(30, 64, 175, 0.55);
    border-radius: 16px;
}

.product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 34px -24px rgba(30, 64, 175, 0.46);
}

.product-image {
    height: 230px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eef4ff;
    border-bottom: 1px solid #e2e8f0;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.02);
}

.product-name {
    color: #0f172a;
}

.product-description {
    color: #64748b;
    margin-bottom: 1.2rem;
    font-size: 0.78rem;
    line-height: 1.28;
}

.product-price {
    color: #1e3a8a;
}

.product-unit-price {
    color: #1d4ed8;
    font-weight: 600;
}

.product-footer {
    margin-top: auto;
    padding-top: 0.5rem;
}

.product-card {
    display: flex;
    flex-direction: column;
}

.product-info {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.add-to-cart {
    background: linear-gradient(135deg, #2563eb, #1e40af);
    border: 0;
}

.add-to-cart:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e3a8a);
}

.faq-list {
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
}

.faq-title {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
}

.footer-about-mini {
    padding: 2.5rem 0 0;
}

.footer-about-mini-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 2.5rem;
    margin-bottom: 0;
    align-items: start;
    padding-bottom: 2rem;
}

.footer-about-mini-text,
.footer-map-block {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    padding: 1.25rem 1.4rem;
}

.footer-about-mini-text p {
    color: rgba(219, 234, 254, 0.82);
    margin-bottom: 0.75rem;
    font-size: 0.92rem;
    line-height: 1.7;
}

.footer-map-address {
    margin-top: 0.7rem;
    color: rgba(147, 197, 253, 0.9);
    font-size: 0.88rem;
}

/* Footer — minimalist redesign */
.footer {
    background: #0f172a;
    color: #e2e8f0;
    border-top: none;
}

.footer-brand,
.footer-column {
    background: none;
    border: none;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
}

.footer-brand {
    max-width: none;
}

.footer-grid {
    gap: 2.5rem;
    align-items: start;
    padding-top: 2rem;
    padding-bottom: 2rem;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-title,
.footer-logo-title {
    color: #f8fafc;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.9rem;
}

.footer-logo-subtitle {
    color: rgba(148, 163, 184, 0.85);
    font-size: 0.78rem;
}

.footer-description {
    color: rgba(148, 163, 184, 0.88);
    font-size: 0.88rem;
    line-height: 1.6;
    margin-top: 0.6rem;
}

.footer-list,
.footer-list li {
    color: rgba(148, 163, 184, 0.88);
    font-size: 0.88rem;
    line-height: 1.75;
}

.footer-list a {
    color: #93c5fd;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-list a:hover {
    color: #bfdbfe;
    text-shadow: none;
}

.footer-logo-image {
    filter: none;
    opacity: 1;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(100, 116, 139, 0.8);
    padding-top: 1.2rem;
    padding-bottom: 1.2rem;
    font-size: 0.82rem;
}

@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 1024px) {
    .footer-about-mini-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 768px) {
    .categories-filter-inline {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .category-btn {
        min-width: 0;
    }

    .category-btn--all {
        min-width: 0;
    }

    .category-thumb {
        width: 38px;
        height: 38px;
    }

    .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .faq-list {
        max-width: 100%;
    }
}

/* ===== Subcategory Filter Strip ===== */
.subcategory-filter {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.5rem;
    padding: 0.5rem 0 0.65rem;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    animation: slideDown 0.22s ease;
}

.subcategory-filter::-webkit-scrollbar {
    display: none;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.subcategory-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.38rem 1rem;
    border-radius: 20px;
    border: 1.5px solid #dbeafe;
    background: #fff;
    color: #1e40af;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.18s, color 0.18s, border-color 0.18s, box-shadow 0.18s;
    white-space: nowrap;
}

.subcategory-btn:hover {
    background: #eff6ff;
    border-color: #93c5fd;
}

.subcategory-btn.active {
    background: #2563eb;
    color: #fff;
    border-color: #2563eb;
    box-shadow: 0 4px 10px -6px rgba(37, 99, 235, 0.55);
}

.subcategory-empty {
    text-align: center;
    padding: 2.5rem 1rem;
    color: #64748b;
}

.subcategory-empty strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 0.4rem;
    color: #334155;
}

.subcategory-empty a {
    color: #2563eb;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

.subcategory-empty a:hover {
    text-decoration: underline;
}

/* Footer about/map block title override */
.footer-about-mini-text .footer-title,
.footer-map-block .footer-title {
    font-size: 0.95rem;
    letter-spacing: 0.04em;
    text-transform: none;
    font-weight: 700;
    color: #f1f5f9;
    margin-bottom: 0.75rem;
}

@media (max-width: 768px) {
    .footer-about-mini-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.25rem;
    }
}

/* ===== Burger Button ===== */
.burger-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 32px;
    height: 22px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.burger-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.burger-btn[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}
.burger-btn[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}
.burger-btn[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

@media (max-width: 768px) {
    .burger-btn {
        display: flex;
    }
}

/* ===== Mobile Navigation ===== */
.mobile-nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1500;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav {
    position: absolute;
    top: 0;
    right: 0;
    width: 280px;
    height: 100%;
    background: white;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
}

.mobile-nav-overlay.active .mobile-nav {
    transform: translateX(0);
}

.mobile-nav-close {
    align-self: flex-end;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-light);
    line-height: 1;
    padding: 0;
    transition: color 0.2s;
}

.mobile-nav-close:hover {
    color: var(--text-color);
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.mobile-nav-link {
    display: block;
    padding: 0.85rem 1rem;
    color: var(--text-color);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 10px;
    transition: background 0.2s, color 0.2s;
}

.mobile-nav-link:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

.mobile-nav-contact {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
    margin-top: auto;
}

.mobile-nav-phone {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
}

.mobile-nav-tg {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
}

.mobile-nav-phone:hover,
.mobile-nav-tg:hover {
    text-decoration: underline;
}

/* ===== Order Success Screen ===== */
.order-success-view {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 3rem 2rem;
    gap: 1rem;
}

.order-success-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 24px -12px rgba(16, 185, 129, 0.6);
    margin-bottom: 0.5rem;
}

.order-success-title {
    font-size: 1.6rem;
    color: #0f172a;
    margin: 0;
}

.order-success-text {
    color: #475569;
    font-size: 1rem;
    line-height: 1.6;
    max-width: 380px;
    margin: 0;
}

.order-success-contact {
    color: #64748b;
    font-size: 0.9rem;
    margin: 0;
}

.order-success-contact a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}

.order-success-contact a:hover {
    text-decoration: underline;
}

.order-success-btn {
    margin-top: 0.5rem;
    min-width: 200px;
}

/* ===== Telegram Sticky Button ===== */
.tg-sticky {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 1200;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: white;
    text-decoration: none;
    padding: 0.7rem 1.2rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 8px 20px -8px rgba(37, 99, 235, 0.7);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tg-sticky:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px -8px rgba(37, 99, 235, 0.75);
    color: white;
}

@media (max-width: 768px) {
    .tg-sticky-label {
        display: none;
    }
    .tg-sticky {
        padding: 0.85rem;
        border-radius: 50%;
        bottom: 1rem;
        right: 1rem;
    }
}

/* ===== Product Image Placeholder ===== */
/* ===== Professional Product Image & Card System ===== */

/* Image container: uniform frame with padding so images breathe */
.product-image {
    height: 210px;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f7f9ff;
    border-bottom: 1px solid #e8eef8;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

/* Subtle center glow behind the product photo */
.product-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 40%, rgba(219, 234, 254, 0.7) 0%, transparent 70%);
    pointer-events: none;
}

/* Photo: contain (no cropping) */
.product-image img {
    position: relative;
    z-index: 1;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transform: scale(1);
    transform-origin: center;
    opacity: 1;
    transition: transform 0.35s ease;
    border-radius: 4px;
    filter: drop-shadow(0 3px 10px rgba(15, 23, 42, 0.10));
}

/* Emoji fallback when image fails to load */
.product-img-fallback {
    font-size: 3.2rem;
    opacity: 0.35;
    user-select: none;
    position: relative;
    z-index: 1;
    filter: grayscale(0.25);
}

/* Card: slightly tighter info block */
.product-info {
    padding: 0.9rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-name {
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -0.01em;
    color: #0f172a;
    margin-bottom: 0.3rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-description {
    font-size: 0.77rem;
    line-height: 1.4;
    color: #64748b;
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-height: none;
    opacity: 1;
}

.product-price {
    font-size: 1.08rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.product-unit-price {
    font-size: 0.75rem;
    font-weight: 500;
    color: #475569;
    margin-top: 2px;
}

.product-unit-label {
    font-size: 0.82rem;
    font-weight: 700;
    color: #1e3a8a;
}

.product-footer {
    margin-top: auto;
    padding-top: 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 0.5rem;
}

.add-to-cart {
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: #fff;
    border: 0;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.48rem 0.9rem;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 4px 12px -4px rgba(37, 99, 235, 0.5);
    transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.15s ease;
    flex-shrink: 0;
}

.add-to-cart:hover:not(:disabled) {
    background: linear-gradient(135deg, #1d4ed8, #1e3a8a);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px -4px rgba(37, 99, 235, 0.6);
}

.add-to-cart:active:not(:disabled) {
    transform: translateY(0);
    box-shadow: 0 2px 8px -4px rgba(37, 99, 235, 0.4);
}

/* Card: smoother hover lift */
.product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 36px -24px rgba(30, 64, 175, 0.5);
}

/* Mobile: maintain quality on 2-col grid */
@media (max-width: 768px) {
    .product-image {
        height: 165px;
        padding: 8px;
    }
}

/* ===== Card image & footer overrides ===== */
.product-image {
    height: 270px;
    padding: 0;
    background: #f0f4f8;
    border-bottom: 1px solid #e2eaf6;
    overflow: hidden;
}

.product-image::before {
    display: none;
}

/* No transitions on img — swipe is handled by @keyframes only */
.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 0;
    filter: none;
    opacity: 1;
    transform: none;
    transition: none;
}

.product-card:hover .product-image img {
    transform: none;
}

/* Кета products: show full fish, rotated to landscape */
.product-image--contain {
    background: #e8eff7;
    padding: 0;
}
.product-image--contain img {
    rotate: -90deg;
    object-fit: contain;
    width: 100%;
    height: 100%;
}

/* Swipe animations — full-width slide, no opacity fade */
@keyframes swipeInRight {
    from { transform: translateX(100%); }
    to   { transform: translateX(0); }
}
@keyframes swipeInLeft {
    from { transform: translateX(-100%); }
    to   { transform: translateX(0); }
}
.product-image img.swipe-right {
    animation: swipeInRight 0.22s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}
.product-image img.swipe-left {
    animation: swipeInLeft 0.22s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}
/* Modal uses same swipe classes */

/* Footer: price block left, button right */
.product-footer {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    gap: 0.5rem;
    padding-top: 0.5rem;
    margin-top: auto;
}

/* Price block: price on top, unit label below */
.product-price-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1px;
}

.add-to-cart {
    width: auto;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .product-image {
        height: 195px;
        padding: 6px;
    }
}

/* ===== Slideshow arrows & dots ===== */
.slide-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.88);
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1e40af;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
    opacity: 0;
    transition: opacity 0.2s ease, background 0.15s ease;
    padding: 0;
}

.slide-arrow--prev { left: 8px; }
.slide-arrow--next { right: 8px; }

.product-card:hover .slide-arrow {
    opacity: 1;
}

.slide-arrow:hover {
    background: rgba(255, 255, 255, 1);
}

.slide-dots {
    position: absolute;
    bottom: 7px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 5px;
    z-index: 20;
}

.slide-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.55);
    transition: background 0.2s ease, transform 0.2s ease;
}

.slide-dot.active {
    background: #fff;
    transform: scale(1.35);
}

/* Modal image container needs position for arrows */
.product-modal-image {
    position: relative;
    overflow: hidden;
}

/* Modal arrows always visible (no hover needed) */
.modal-slide-arrow {
    opacity: 1 !important;
}

.modal-slide-dots {
    bottom: 10px;
}

/* ===== Search Bar ===== */
.search-bar {
    position: relative;
    margin-bottom: 0.8rem;
}

.search-input-wrap {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #fff;
    border: 1.5px solid #dbeafe;
    border-radius: 12px;
    padding: 0.55rem 0.85rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.search-input-wrap:focus-within {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.search-icon {
    color: #94a3b8;
    flex-shrink: 0;
}

#searchInput {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: 0.93rem;
    color: #0f172a;
    min-width: 0;
}

#searchInput::placeholder { color: #94a3b8; }

.search-clear {
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    font-size: 0.9rem;
    padding: 0 2px;
    line-height: 1;
    flex-shrink: 0;
    transition: color 0.15s;
}

.search-clear:hover { color: #475569; }

.search-suggestions {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1.5px solid #dbeafe;
    border-radius: 12px;
    box-shadow: 0 8px 24px -8px rgba(30, 64, 175, 0.18);
    z-index: 200;
    overflow: hidden;
    display: none;
}

.search-suggestion {
    padding: 0.65rem 1rem;
    font-size: 0.9rem;
    color: #334155;
    cursor: pointer;
    transition: background 0.13s;
    border-bottom: 1px solid #f1f5f9;
}

.search-suggestion:last-child { border-bottom: none; }

.search-suggestion:hover,
.search-suggestion:focus { background: #eff6ff; color: #1e40af; }

.search-suggestion strong { color: #2563eb; font-weight: 700; }

/* ===== Consent Checkbox ===== */
.consent-group {
    margin: 0.75rem 0;
}

.consent-label {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    cursor: pointer;
}

.consent-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    min-width: 18px;
    margin-top: 2px;
    accent-color: #2563eb;
    cursor: pointer;
}

.consent-text {
    font-size: 0.88rem;
    color: #334155;
    line-height: 1.5;
}

.consent-text a {
    color: #2563eb;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.consent-text a:hover { color: #1d4ed8; }

.consent-note {
    margin-top: 0.4rem;
    margin-left: 1.6rem;
    font-size: 0.79rem;
    color: #94a3b8;
}
