@import url('https://fonts.googleapis.com/css2?family=Libre+Franklin:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --primary-dark: #000000;
    --primary-brown: #2c2c2c;
    --accent-gold: #cc9933;
    --accent-light: #fafafa;
    --text-dark: #000000;
    --text-light: #666666;
    --bg-light: #ffffff;
    --bg-subtle: #f8f8f8;
    --border-color: #e0e0e0;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
    --shadow: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-lg: 0 4px 16px rgba(0,0,0,0.08);
    --shadow-hover: 0 6px 20px rgba(0,0,0,0.1);
    --radius: 4px;
    --radius-sm: 2px;
}

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

body {
    font-family: 'Libre Franklin', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    background: var(--bg-light);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

html {
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.promo-bar {
    background: var(--accent-gold);
    color: var(--primary-dark);
    padding: 8px 0;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.promo-bar p {
    margin: 0;
    font-size: 12px;
}

header {
    background: #ffffff;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: all 0.3s ease;
    border-bottom: 1px solid #f5f5f5;
}

.header-top {
    background: var(--primary-dark);
    color: var(--accent-light);
    padding: 10px 0;
    font-size: 13px;
    font-weight: 500;
}

.header-top .container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-main {
    padding: 28px 0;
}

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

.logo {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-dark);
    text-decoration: none;
    letter-spacing: -0.5px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.logo:hover {
    opacity: 0.8;
}

.logo span {
    color: var(--accent-gold);
    font-weight: 900;
}

.logo-img {
    height: 50px;
    width: auto;
    display: block;
    object-fit: contain;
    object-position: left center;
    max-width: 200px;
}

.header-contacts {
    display: flex;
    gap: 24px;
    align-items: center;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 8px 12px;
    border-radius: 4px;
}

.contact-link:hover {
    color: var(--accent-gold);
    background: #fafafa;
}

.contact-link svg {
    flex-shrink: 0;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

nav a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    font-size: 14px;
    letter-spacing: 0.3px;
    padding: 8px 0;
}

nav a:hover {
    color: var(--accent-gold);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-gold), var(--primary-brown));
    transition: width 0.3s ease;
    border-radius: 2px;
}

nav a:hover::after {
    width: 100%;
}

.hero.hero-banner {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
    padding: 0;
}

.background-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.background-layer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.2) 100%);
    z-index: 1;
}

.background-layer img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.text-layer {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 30px 0;
}

.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.hero-content-text {
    max-width: 680px;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.65);
    padding: 44px;
    backdrop-filter: blur(12px);
    border-left: 5px solid var(--accent-gold);
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.subtitle {
    display: block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--accent-gold);
    margin-bottom: 16px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-content-text h1 {
    font-size: 38px;
    margin-bottom: 20px;
    font-weight: 900;
    letter-spacing: -1.2px;
    line-height: 1.15;
    color: #ffffff;
    text-shadow: 2px 4px 12px rgba(0,0,0,0.6);
}

.copy {
    font-size: 16px;
    margin-bottom: 28px;
    color: #ffffff;
    font-weight: 400;
    line-height: 1.65;
    text-shadow: 1px 2px 6px rgba(0,0,0,0.5);
    opacity: 0.96;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    align-items: center;
}


.btn {
    display: inline-block;
    padding: 14px 32px;
    background: var(--accent-gold);
    color: var(--primary-dark);
    text-decoration: none;
    border-radius: 0;
    font-weight: 800;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(204, 153, 51, 0.3);
}

.btn:hover {
    background: #d49930;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(204, 153, 51, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid #ffffff;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
}

.btn-outline:hover {
    background: #ffffff;
    color: var(--primary-dark);
    border-color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 255, 255, 0.2);
}

.section {
    padding: 80px 0;
}

.section.categories-section {
    background: #fafafa;
    padding: 70px 0 80px 0;
}

.section.categories-section .container {
    max-width: 80%;
    padding: 0;
}

.section.categories-section .section-title,
.section.categories-section .section-subtitle {
    padding: 0 24px;
}

.section-title {
    text-align: center;
    font-size: 42px;
    margin-bottom: 16px;
    color: var(--primary-dark);
    font-weight: 900;
    letter-spacing: -1.5px;
    text-transform: uppercase;
    line-height: 1.1;
}

.categories-section .section-title {
    color: var(--primary-dark);
}

.categories-section .section-subtitle {
    color: #555555;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 56px;
    font-size: 17px;
    font-weight: 400;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.categories-section .section-subtitle {
    color: var(--text-light);
}

.categories-scroll-wrapper {
    position: relative;
    margin-top: 32px;
}

.categories-scroll-wrapper::before,
.categories-scroll-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 20px;
    width: 60px;
    pointer-events: none;
    z-index: 5;
}

.categories-scroll-wrapper::before {
    left: 0;
    background: linear-gradient(to right, rgb(250 250 250) 0%, rgba(255, 255, 255, 0) 100%);
}

.categories-scroll-wrapper::after {
    right: 0;
    background: linear-gradient(to left, rgb(250 250 250) 0%, rgba(255, 255, 255, 0) 100%);
}

.scroll-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: white;
    border: 2px solid var(--border-color);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    transition: all 0.3s ease;
    color: var(--primary-dark);
}

.scroll-arrow svg {
    flex-shrink: 0;
}

.scroll-arrow:hover {
    background: var(--accent-gold);
    color: white;
    border-color: var(--accent-gold);
    box-shadow: 0 6px 20px rgba(204, 153, 51, 0.4);
    transform: translateY(-50%) scale(1.08);
}

.scroll-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

.scroll-arrow-left {
    left: 8px;
}

.scroll-arrow-right {
    right: 8px;
}

.categories-grid {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding-bottom: 20px;
    padding-left: 24px;
    padding-right: 24px;
    -webkit-overflow-scrolling: touch;
}

.pagination-dots {
    display: none;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 12px 0;
}

.pagination-dot {
    width: 30px;
    height: 12px;
    border-radius: 4px;
    background: #d0d0d0;
    transition: all 0.3s ease;
    cursor: pointer;
}

.pagination-dot:hover {
    background: #999;
    transform: scale(1.05);
}

.pagination-dot.active {
    background: var(--accent-gold);
}

.features-grid {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding-bottom: 20px;
    padding-left: 24px;
    padding-right: 24px;
    -webkit-overflow-scrolling: touch;
}

/* Process grid for about page - grid on desktop, scroll on mobile */
.about-process-section .categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    overflow-x: visible;
    overflow-y: visible;
    scroll-snap-type: none;
    padding: 40px 0 20px 0;
    max-width: 1200px;
    margin: 0 auto;
}

.about-process-section .scroll-arrow {
    display: none;
}

.about-process-section .pagination-dots {
    display: none;
}

.categories-grid::-webkit-scrollbar,
.features-grid::-webkit-scrollbar {
    height: 8px;
}

.categories-grid::-webkit-scrollbar-track,
.features-grid::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.categories-grid::-webkit-scrollbar-thumb,
.features-grid::-webkit-scrollbar-thumb {
    background: var(--accent-gold);
    border-radius: 4px;
}

.categories-grid::-webkit-scrollbar-thumb:hover,
.features-grid::-webkit-scrollbar-thumb:hover {
    background: var(--primary-brown);
}

.category-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
    border: 1px solid #f0f0f0;
    width: 320px;
    min-width: 320px;
    max-width: 320px;
    flex-shrink: 0;
    scroll-snap-align: center;
}

.category-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    transform: translateY(-4px);
    border-color: #e0e0e0;
}

.category-card:hover h3 {
    color: var(--accent-gold);
}

.categories-grid .category-info {
    padding: 20px;
}


.category-image {
    width: 100%;
    height: 240px;
    border-radius: 0;
    background: #fafafa;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 0;
    border-bottom: 1px solid #f0f0f0;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.category-card:hover .category-image img {
    transform: scale(1.05);
}

.category-content {
    padding: 16px;
}

.category-card h3 {
    font-size: 16px;
    margin-bottom: 6px;
    color: var(--primary-dark);
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
    transition: color 0.3s ease;
}

.category-card p {
    color: #888;
    font-size: 13px;
    line-height: 1.4;
    font-weight: 500;
}

/* Product Gallery Mobile Enhancements */
.main-image {
    position: relative;
    cursor: pointer;
    touch-action: pan-y pinch-zoom;
}

.image-dots {
    display: none;
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    gap: 8px;
    padding: 8px 16px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 20px;
    z-index: 2;
}

.image-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.image-dot.active {
    background: white;
    width: 24px;
    border-radius: 4px;
}

/* Image Preview Modal */
.image-preview-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.preview-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 40px;
    color: white;
    cursor: pointer;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.preview-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.preview-image-container {
    max-width: 100%;
    max-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.preview-image-container img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
}

.preview-dots {
    display: flex;
    gap: 12px;
    padding: 16px;
}

.preview-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
}

.preview-dot.active {
    background: var(--accent-gold);
    width: 32px;
    border-radius: 5px;
}

/* Mobile Filter Button */
.mobile-filter-btn {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--accent-gold);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 24px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.mobile-filter-btn:hover {
    background: var(--primary-brown);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

/* Filter Popup */
.filter-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}

.filter-popup.active {
    display: block;
}

.filter-popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
}

.filter-popup-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 24px 24px 0 0;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    animation: slideUp 0.3s ease;
}

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

.filter-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
}

.filter-popup-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-dark);
    margin: 0;
}

.filter-popup-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--text-light);
    transition: color 0.3s ease;
}

.filter-popup-close:hover {
    color: var(--primary-dark);
}

.filter-popup-body {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
}

.filter-popup-body .filter-group {
    margin-bottom: 28px;
}

.filter-popup-body .filter-group h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 12px;
}

.filter-popup-footer {
    padding: 20px 24px;
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 12px;
}

.filter-popup-footer .btn {
    flex: 1;
    margin: 0;
}

.btn-secondary {
    background: #fff;
    color: var(--primary-dark);
    border: 2px solid var(--border-color);
}

.btn-secondary:hover {
    background: #f5f5f5;
}

/* Full-width banner разделител */
.divider-banner {
    position: relative;
    width: 100%;
    height: 350px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    overflow: hidden;
}

.divider-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.75), rgba(0,0,0,0.55));
    z-index: 1;
    backdrop-filter: blur(1px);
}

.divider-banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #ffffff;
    max-width: 800px;
    padding: 0 24px;
}

.divider-banner-content h2 {
    font-size: 56px;
    font-weight: 900;
    margin-bottom: 20px;
    letter-spacing: -1.5px;
    text-transform: uppercase;
    text-shadow: 2px 4px 8px rgba(0,0,0,0.4);
}

.divider-banner-content p {
    font-size: 20px;
    font-weight: 400;
    opacity: 0.95;
    line-height: 1.6;
    text-shadow: 1px 2px 4px rgba(0,0,0,0.3);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.products-grid .product-card {

    padding: 10px;

}


.products-grid-home {
    grid-template-columns: repeat(4, 1fr);
}

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

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
}

.product-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    position: relative;
    border: 1px solid #f0f0f0;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border-color: #e0e0e0;
}

.product-image {
    height: 280px;
    background: #fafafa;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
    position: relative;
    overflow: hidden;
    padding: 24px;
    border-bottom: 1px solid #f0f0f0;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--accent-gold);
    color: var(--primary-dark);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(204, 153, 51, 0.3);
    border: none;
    z-index: 2;
}

.product-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1 1 auto;
    background: #fff;
}

.product-content {
    padding: 22px 22px 26px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1 1 auto;
}

.product-title {
    font-size: 15px;
    margin: 0;
    color: var(--primary-dark);
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-content h3 {
    font-size: 14px;
    margin: 0;
    color: var(--primary-dark);
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    line-height: 1.3;
}

.product-description {
    color: #666;
    font-size: 13px;
    margin: 0;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price {
    font-size: 20px;
    color: var(--primary-dark);
    font-weight: 800;
    letter-spacing: 0;
    margin: 8px 0 0;
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.old-price {
    font-size: 16px;
    font-weight: 500;
    color: #999;
    text-decoration: line-through;
    opacity: 0.8;
}

.current-price {
    color: var(--primary-dark);
}

.discount-badge {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 20px;
    margin-left: auto;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(231, 76, 60, 0.3);
    transition: all 0.3s ease;
}

.discount-badge:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.4);
}

.breadcrumb {
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
}

.breadcrumb ul {
    display: flex;
    list-style: none;
    gap: 12px;
    align-items: center;
}

.breadcrumb li:not(:last-child)::after {
    content: '›';
    margin-left: 12px;
    color: var(--text-light);
}

.breadcrumb a {
    color: var(--text-light);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--accent-gold);
}

.sidebar {
    background: #fff;
    padding: 18px;
    border-radius: 0;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border: none;
    position: sticky;
    top: 100px;
}

.sidebar h3 {
    margin-bottom: 24px;
    color: var(--primary-dark);
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-group {
    margin-bottom: 24px;
}

.filter-group label {
    display: block;
    margin-bottom: 8px;
    cursor: pointer;
    color: var(--text-dark);
}

.filter-group input[type="checkbox"] {
    margin-right: 8px;
}

.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.product-gallery {
    background: #fff;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    border: none;
}

.main-image {
    height: 500px;
    background: #ffffff;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 120px;
    margin-bottom: 20px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 40px;
}

.thumbnail-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.thumbnail {
    height: 100px;
    background: #ffffff;
    border-radius: 0;
    cursor: pointer;
    border: 1px solid var(--border-color);
    transition: all 0.2s ease;
    overflow: hidden;
    padding: 8px;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.thumbnail:hover,
.thumbnail.active {
    border-color: var(--primary-dark);
}

.product-info {
    background: #fff;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    border: none;
}

.product-info h1 {
    font-size: 36px;
    margin-bottom: 16px;
    color: var(--primary-dark);
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.2;
    text-transform: uppercase;
}

.product-info .price {
    font-size: 32px;
    color: var(--primary-dark);
    font-weight: 800;
    margin-bottom: 32px;
    letter-spacing: 0;
}

.product-meta {
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 20px 0;
    margin: 24px 0;
}

.product-meta p {
    margin-bottom: 12px;
    color: var(--text-light);
}

.product-meta strong {
    color: var(--text-dark);
}

.product-description-full {
    margin: 24px 0;
    line-height: 1.8;
    color: var(--text-dark);
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 24px 0;
}

.quantity-selector button {
    width: 36px;
    height: 36px;
    border: 1px solid var(--border-color);
    background: #fff;
    cursor: pointer;
    border-radius: 4px;
    font-size: 18px;
    transition: all 0.3s;
}

.quantity-selector button:hover {
    background: var(--accent-light);
    border-color: var(--accent-gold);
}

.quantity-selector input {
    width: 60px;
    height: 36px;
    text-align: center;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 16px;
}

.about-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.about-image {
    height: 400px;
    background: #f9f9f9;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 120px;
    color: var(--primary-brown);
    overflow: hidden;
    box-shadow: var(--shadow);
}

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

.about-content h2 {
    font-size: 42px;
    margin-bottom: 20px;
    color: var(--primary-dark);
    font-weight: 700;
    letter-spacing: -1.5px;
}

.about-content p {
    margin-bottom: 16px;
    line-height: 1.8;
    color: var(--text-dark);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin-top: 48px;
}

.contact-form {
    background: #fff;
    padding: 36px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 15px;
    transition: all 0.2s ease;
    background: var(--bg-light);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 3px rgba(201, 168, 112, 0.1);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-info {
    background: #fff;
    padding: 36px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.contact-item {
    display: flex;
    align-items: start;
    margin-bottom: 24px;
}

.contact-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--accent-light) 0%, #ede9e3 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 18px;
    flex-shrink: 0;
    font-size: 22px;
}

.contact-item h4 {
    margin-bottom: 4px;
    color: var(--primary-dark);
}

.contact-item p {
    color: var(--text-light);
}

footer {
    background: #1a1a1a;
    color: #ffffff;
    padding: 80px 0 40px;
    margin-top: 50px;
    border-top: 1px solid #2c2c2c;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 32px;
}

.footer-section h3 {
    color: #ffffff;
    margin-bottom: 24px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.2s ease;
    font-size: 14px;
}

.footer-section a:hover {
    color: var(--accent-gold);
}

.footer-bottom {
    border-top: 1px solid #2c2c2c;
    padding-top: 40px;
    margin-top: 60px;
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 13px;
}

.two-column {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 56px;
}

@media (max-width: 968px) {
    .two-column {
        grid-template-columns: 1fr;
    }

    .sidebar {
        order: 2;
    }

    .product-detail {
        grid-template-columns: 1fr;
    }

    /* Show image dots on mobile */
    .image-dots {
        display: flex;
    }

    /* Adapt thumbnail grid for mobile */
    .thumbnail-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
        margin-top: 12px;
    }

    .thumbnail {
        border-radius: 6px;
    }

    .about-section,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

    nav ul {
        gap: 16px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-image {
        height: 400px;
    }

    .hero h1 {
        font-size: 36px;
    }
}

@media (max-width: 640px) {
    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 16px;
    }

    .section-title {
        font-size: 28px;
    }

    .categories-grid {
        grid-template-columns: 1fr;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* Comprehensive Mobile Optimization */
@media (max-width: 768px) {
    /* Header Mobile */
    .header-main {
        padding: 16px 0;
    }

    .header-content {
        flex-wrap: wrap;
        gap: 16px;
    }

    .logo {
        font-size: 20px;
    }

    nav {
        width: 100%;
        order: 3;
    }

    nav ul {
        width: 100%;
        justify-content: space-between;
        gap: 16px;
        flex-wrap: wrap;
    }

    nav a {
        font-size: 12px;
        padding: 6px 8px;
    }

    .header-contacts {
        order: 2;
        gap: 12px;
    }

    .contact-link {
        font-size: 11px;
        padding: 6px 8px;
    }

    .contact-link span {
        display: none;
    }

    .contact-link svg {
        width: 18px;
        height: 18px;
    }

    /* Hero Mobile */
    .hero.hero-banner {
        min-height: 550px;
        display: flex;
        align-items: flex-end;
    }

    .background-layer::after {
        background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.5) 40%, rgba(0,0,0,0.75) 70%, rgba(0,0,0,0.9) 100%);
    }

    .hero-content-text {
        max-width: 100%;
        width: 100%;
        padding: 28px 20px 36px;
        background: rgba(0, 0, 0, 0.40);
        backdrop-filter: blur(2px);
        border: none;
        text-align: center;
        position: relative;
        z-index: 2;
    }

    .hero-content-text h1 {
        font-size: 34px;
        line-height: 1.15;
        margin-bottom: 12px;
        text-shadow: 0 2px 8px rgba(0,0,0,0.5);
    }

    .subtitle {
        font-size: 11px;
        margin-bottom: 12px;
        text-shadow: 0 1px 4px rgba(0,0,0,0.5);
        letter-spacing: 1.5px;
    }

    .copy {
        font-size: 14px;
        margin-bottom: 24px;
        line-height: 1.5;
        text-shadow: 0 1px 4px rgba(0,0,0,0.5);
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 12px;
        max-width: 320px;
        margin: 0 auto;
    }

    .btn {
        width: 100%;
        text-align: center;
        padding: 14px 24px;
        font-size: 13px;
    }

    /* Mobile Filter Button */
    .mobile-filter-btn {
        display: flex;
        width: 100%;
    }

    /* Hide sidebar on mobile */
    .sidebar {
        display: none;
    }

    /* Categories Grid Mobile */
    .categories-section {
        padding: 40px 0 50px;
    }

    .categories-section .container {
        max-width: 100%;
        padding: 0;
    }

    .categories-scroll-wrapper {
        overflow: visible;
    }

    .categories-scroll-wrapper::before,
    .categories-scroll-wrapper::after {
        width: 40px;
    }

    .scroll-arrow {
        width: 36px;
        height: 36px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.2);
        z-index: 6;
    }

    .scroll-arrow svg {
        width: 20px;
        height: 20px;
    }

    /* Scroll Arrows Mobile - по-големи и видими */
    .scroll-arrow {
        width: 44px;
        height: 44px;
        background: var(--accent-gold);
        color: white;
        border: none;
        box-shadow: 0 4px 16px rgba(0,0,0,0.25);
    }

    .scroll-arrow svg {
        width: 20px;
        height: 20px;
    }

    .scroll-arrow:active {
        background: var(--accent-gold);
        transform: translateY(-50%) scale(0.95);
        box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    }

    .scroll-arrow-left {
        left: -25px;
    }

    .scroll-arrow-right {
        right: -25px;
    }

    /* Categories Grid Mobile */
    .categories-grid {
        padding: 20px;
        padding-left: calc(50% - 170px);
        padding-right: calc(50% - 170px);
        gap: 20px;
        scrollbar-width: none;
    }

    .categories-grid::-webkit-scrollbar,
    .features-grid::-webkit-scrollbar {
        display: none;
    }

    .features-grid {
        padding: 20px;
        padding-left: calc(50% - 170px);
        padding-right: calc(50% - 170px);
        gap: 20px;
        scrollbar-width: none;
    }

    /* Process grid mobile - enable scroll */
    .about-process-section .categories-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding: 20px;
        padding-left: calc(50% - 170px);
        padding-right: calc(50% - 170px);
        gap: 20px;
        scrollbar-width: none;
    }

    .about-process-section .categories-grid::-webkit-scrollbar {
        display: none;
    }

    .about-process-section .scroll-arrow {
        display: flex;
    }

    .about-process-section .pagination-dots {
        display: flex !important;
    }

    .pagination-dots {
        display: flex !important;
    }

    .category-card {
        width: 340px;
        min-width: 340px;
        max-width: 340px;
        flex-shrink: 0;
        scroll-snap-align: center;
    }

    .category-card h3 {
        font-size: 18px;
    }

    .category-card p {
        font-size: 14px;
    }

    /* Products Grid Mobile */
    .products-grid {
        gap: 24px;
        margin-top: 32px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .product-card {
        width: 100%;
        max-width: 380px;
        margin: 0;
    }

    /* Banner Mobile */
    .divider-banner {
        height: 250px;
        background-attachment: scroll;
    }

    .divider-banner-content h2 {
        font-size: 32px;
    }

    .divider-banner-content p {
        font-size: 14px;
    }

    /* Container Mobile */
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    /* Section Padding Mobile */
    .section {
        padding: 50px 0;
    }

    /* Breadcrumb Mobile - компактен изглед */
    .breadcrumb {
        padding: 10px 0;
        font-size: 11px;
    }

    .breadcrumb ul {
        gap: 4px;
        flex-wrap: wrap;
    }

    .breadcrumb li {
        white-space: nowrap;
    }

    .breadcrumb li:not(:last-child)::after {
        margin-left: 4px;
        font-size: 10px;
    }

    /* Скрива "Продукти" линка на мобилно за компактност */
    .breadcrumb li:nth-child(2) {
        display: none;
    }
}

@media (max-width: 480px) {
    /* Extra Small Mobile */
    .logo {
        font-size: 18px;
    }

    nav ul {
        gap: 8px;
    }

    nav a {
        font-size: 13px;
        padding: 4px 6px;
    }

    .hero-content-text h1 {
        font-size: 24px;
    }

    .section-title {
        font-size: 24px;
    }

    .category-card {
        width: 300px;
        min-width: 300px;
        max-width: 300px;
    }

    .categories-grid,
    .features-grid {
        padding-left: calc(50% - 150px);
        padding-right: calc(50% - 150px);
    }

    .divider-banner {
        height: 200px;
    }

    .divider-banner-content h2 {
        font-size: 24px;
    }

    .divider-banner-content p {
        font-size: 13px;
    }
}

/* Products Pagination */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 60px;
    gap: 6px;
    flex-wrap: wrap;
}

.pagination-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    background: white;
    color: var(--primary-dark);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.pagination-btn:hover {
    border-color: var(--accent-gold);
    background: #fffbf0;
}

.pagination-btn-active {
    background: var(--accent-gold);
    color: white;
    border-color: var(--accent-gold);
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(184, 134, 11, 0.3);
}

.pagination-btn-active:hover {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
}

.pagination-btn-disabled {
    background: #f5f5f5;
    color: #ccc;
    cursor: not-allowed;
    border-color: #f5f5f5;
}

.pagination-btn-disabled:hover {
    background: #f5f5f5;
    border-color: #f5f5f5;
}

.pagination-nav {
    padding: 0 16px;
}

.pagination-nav-icon {
    display: none;
    font-size: 18px;
    font-weight: 700;
}

.pagination-ellipsis {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: var(--text-light);
    font-size: 14px;
}

/* Mobile Pagination - Compact */
@media (max-width: 768px) {
    .pagination-wrapper {
        margin-top: 40px;
        gap: 4px;
    }

    .pagination-btn {
        min-width: 36px;
        height: 36px;
        font-size: 13px;
        border-radius: 6px;
        border-width: 1px;
    }

    .pagination-nav {
        padding: 0 8px;
        min-width: 36px;
    }

    .pagination-nav-text {
        display: none;
    }

    .pagination-nav-icon {
        display: block;
    }

    .pagination-ellipsis {
        width: 28px;
        height: 36px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .pagination-wrapper {
        margin-top: 32px;
        gap: 3px;
    }

    .pagination-btn {
        min-width: 32px;
        height: 32px;
        font-size: 12px;
        border-radius: 4px;
    }

    .pagination-nav {
        min-width: 32px;
        padding: 0 6px;
    }

    .pagination-ellipsis {
        width: 24px;
        height: 32px;
        font-size: 11px;
    }
}
