/* ===== Premium B2B Variables ===== */
:root {
    --primary: #347951;    /* Brand Green */
    --primary-hover: #286240;
    --text-main: #111827;  /* High contrast dark slate */
    --text-muted: #6B7280;
    --bg-page: #F9FAFB;    /* Very light cool gray */
    --bg-surface: #FFFFFF;
    
    /* Design System */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 20px 40px -4px rgba(0, 0, 0, 0.08); /* Deep soft shadow */
    --shadow-glass: 0 8px 32px 0 rgba(31, 38, 135, 0.05);
    
    /* Fonts */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ===== Reset & Base ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-sans);
    background: var(--bg-page);
    color: var(--text-main);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 32px;
}

/* ===== Typography ===== */
h1, h2, h3, h4 {
    color: var(--text-main);
    letter-spacing: -0.02em;
    font-weight: 700;
}

/* ===== Header (Glassmorphism + Double Row) ===== */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.header__top {
    border-bottom: 1px solid rgba(0,0,0,0.04);
}

.header__top-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.header__bottom-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    height: 64px;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary);
    padding: 0 24px;
    height: 100%;
    margin-left: -24px; /* Pull to the edge of container */
    text-decoration: none;
    flex-shrink: 0;
    transition: background-color 0.2s;
}

.logo:hover {
    background-color: var(--primary-hover);
}

.logo img {
    max-height: 38px;
    filter: brightness(0) invert(1);
}

.catalog-btn {
    padding: 10px 20px;
    font-size: 14px;
    flex-shrink: 0;
}

.catalog-categories {
    display: flex;
    align-items: center;
    gap: 12px;
    overflow-x: auto;
    white-space: nowrap;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
    padding-right: 20px;
    mask-image: linear-gradient(to right, black 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, black 90%, transparent 100%);
}

.catalog-categories::-webkit-scrollbar {
    display: none;
}

.category-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: transparent;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-main);
    text-decoration: none;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.category-link svg {
    color: var(--primary);
}

.category-link:hover {
    border-color: var(--primary);
    background: rgba(52, 121, 81, 0.05);
    color: var(--primary);
}

.nav {
    display: flex;
    gap: 4px;
    align-items: center;
    flex-wrap: nowrap;
}

.nav__link {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 13px;
    padding: 8px 10px;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
    white-space: nowrap;
}

.nav__link:hover {
    color: var(--text-main);
    background: rgba(0,0,0,0.04);
}

.header__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
}

.header-search {
    display: flex;
    align-items: center;
    background: #F4F5F7;
    border-radius: 20px;
    padding: 6px 12px;
    gap: 8px;
    transition: all 0.2s;
}

.header-search:focus-within {
    background: #fff;
    box-shadow: 0 0 0 2px var(--primary);
}

.header-search svg {
    color: var(--text-muted);
}

.header-search input {
    border: none;
    background: transparent;
    outline: none;
    font-family: inherit;
    font-size: 13px;
    width: 100px;
    transition: width 0.3s;
    color: var(--text-main);
}

.header-search input:focus {
    width: 160px;
}

.icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    transition: all 0.2s;
    position: relative;
}

.icon-btn:hover {
    background: rgba(0,0,0,0.04);
    color: var(--text-main);
}

.cart-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    background: var(--primary);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.burger span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--text-main);
    border-radius: 2px;
    transition: 0.3s;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn--primary {
    background: var(--primary);
    color: #fff;
    border: none;
    box-shadow: 0 4px 12px rgba(52, 121, 81, 0.3);
}

.btn--primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(52, 121, 81, 0.4);
}

.btn--secondary {
    background: var(--bg-surface);
    color: var(--text-main);
    border: 1px solid rgba(0,0,0,0.1);
    box-shadow: var(--shadow-sm);
}

.btn--secondary:hover {
    background: var(--bg-page);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ===== Hero Section ===== */
.hero {
    padding-top: 180px;
    padding-bottom: 64px;
    background: linear-gradient(180deg, #FFFFFF 0%, var(--bg-page) 100%);
}

.hero__inner {
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero__content {
    flex: 1;
    max-width: 580px;
}

.hero__badge {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(52, 121, 81, 0.1);
    color: var(--primary);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero__title {
    font-size: clamp(40px, 5vw, 56px);
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

.hero__subtitle {
    font-size: 18px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 40px;
}

.hero__buttons {
    display: flex;
    gap: 16px;
}

.hero__visual {
    flex: 1.2;
    position: relative;
}

.hero__carousel {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 400px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.carousel__slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    z-index: 1;
}

.carousel__slide.active {
    opacity: 1;
    z-index: 2;
}

.hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.carousel__caption {
    position: absolute;
    bottom: 32px;
    left: 32px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 16px;
    color: var(--text-main);
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--primary);
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s ease 0.3s;
}

.carousel__slide.active .carousel__caption {
    transform: translateY(0);
    opacity: 1;
}

.carousel__controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    z-index: 3;
    padding: 0 16px;
    pointer-events: none;
}

.carousel__btn {
    pointer-events: auto;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: all 0.2s;
    box-shadow: var(--shadow-sm);
}

.carousel__btn:hover {
    background: #fff;
    transform: scale(1.1);
    box-shadow: var(--shadow-md);
}

.carousel__dots {
    position: absolute;
    bottom: 24px;
    right: 32px;
    display: flex;
    gap: 12px;
    z-index: 3;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.dot.active, .dot:hover {
    background: #fff;
    transform: scale(1.3);
}

/* ===== Products Section ===== */
.products {
    padding: 80px 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 48px;
}

.section-title {
    font-size: clamp(28px, 4vw, 36px);
}

.section-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: transform 0.2s;
}

.section-link:hover {
    transform: translateX(4px);
}

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

.product-card {
    background: var(--bg-surface);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.04);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.product-card__image-wrap {
    width: 100%;
    aspect-ratio: 1;
    background: #F4F5F7; /* light backdrop for assets */
    position: relative;
    overflow: hidden;
}

.product-card__image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 24px;
    transition: transform 0.5s ease;
}

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

.product-card__info {
    padding: 24px;
}

.product-card__meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.product-card__category {
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-card__price {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-main);
}

.product-card__title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.3;
}

.product-card__desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}


/* ===== Process Section ===== */
.process {
    padding: 100px 0;
    background: var(--bg-surface);
    border-top: 1px solid rgba(0,0,0,0.05);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.section-title--center {
    text-align: center;
    margin-bottom: 60px;
}

.process__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
}

.process__item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.process__icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: rgba(52, 121, 81, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.process__item h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}

.process__item p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ===== Footer ===== */
.footer {
    padding: 80px 0 40px;
    background: var(--bg-page);
}

.footer__inner {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.footer__links {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding-bottom: 48px;
}

.footer__brand {
    max-width: 300px;
}

.footer__brand .logo__title {
    display: block;
    margin-bottom: 12px;
}

.footer__subtext {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

.footer__col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer__col h4 {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.footer__col a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 14px;
    transition: color 0.2s;
}

.footer__col a:hover {
    color: var(--primary);
}

.footer__bottom {
    display: flex;
    justify-content: center; /* Center bottom footer */
}

.footer__copy {
    font-size: 13px;
    color: var(--text-muted);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .hero__inner {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    
    .hero__content {
        max-width: 100%;
    }
    
    .hero__buttons {
        justify-content: center;
    }

    .hero__image-wrapper {
        transform: none;
    }
    .hero__image-wrapper:hover {
        transform: translateY(-5px);
    }

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

@media (max-width: 768px) {
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(16px);
        flex-direction: column;
        padding: 24px;
        box-shadow: var(--shadow-md);
        gap: 20px;
    }
    
    .nav--open { display: flex; }
    .burger { display: flex; }
    
    .process__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer__links {
        flex-direction: column;
        gap: 32px;
    }
}

@media (max-width: 480px) {
    .products__grid {
        grid-template-columns: 1fr;
    }
    .hero__buttons {
        flex-direction: column;
    }
}

/* ===== Internal Pages & Catalog ===== */
.inner-page {
    background: var(--bg-page);
}

.page-content {
    padding-top: 120px; /* Offset for new fixed header */
    padding-bottom: 60px;
}

/* Breadcrumbs */
.breadcrumbs {
    margin-bottom: 24px;
}

.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    font-size: 13px;
    color: var(--text-muted);
}

.breadcrumbs li {
    display: flex;
    align-items: center;
}

.breadcrumbs li:not(:last-child)::after {
    content: '/';
    margin-left: 8px;
    color: rgba(0,0,0,0.2);
}

.breadcrumbs a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumbs a:hover {
    color: var(--primary);
}

.breadcrumbs li[aria-current="page"] {
    color: var(--text-main);
    font-weight: 500;
}

/* Page Header */
.page-header {
    margin-bottom: 40px;
    max-width: 800px;
}

.page-title {
    font-size: clamp(32px, 4vw, 40px);
    margin-bottom: 16px;
    line-height: 1.2;
}

.page-description {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Catalog Layout */
.catalog-layout {
    display: flex;
    align-items: flex-start;
    gap: 32px;
}

/* Sidebar */
.catalog-sidebar {
    width: 280px;
    flex-shrink: 0;
    background: var(--bg-surface);
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: var(--radius-md);
    padding: 24px;
    position: sticky;
    top: 160px; /* Stick below header */
}

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

.filter-group:last-child {
    margin-bottom: 0;
}

.filter-title {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-main);
}

.filter-list {
    list-style: none;
}

.filter-list li {
    margin-bottom: 12px;
}

.filter-list a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.2s;
}

.filter-list a:hover {
    color: var(--primary);
}

.filter-list a.active {
    color: var(--primary);
    font-weight: 600;
}

.filter-list a span {
    font-size: 12px;
    color: rgba(0,0,0,0.3);
}

.filter-range {
    display: flex;
    align-items: center;
    gap: 12px;
}

.range-input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}

.range-input:focus {
    border-color: var(--primary);
}

.filter-checkbox {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-main);
    user-select: none;
}

.filter-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 1px solid rgba(0,0,0,0.15);
    border-radius: 4px;
    position: relative;
    transition: all 0.2s;
}

.filter-checkbox:hover input ~ .checkmark {
    border-color: var(--primary);
}

.filter-checkbox input:checked ~ .checkmark {
    background-color: var(--primary);
    border-color: var(--primary);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.filter-checkbox input:checked ~ .checkmark:after {
    display: block;
}

.filter-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.btn--full {
    width: 100%;
    padding: 12px;
}

/* Main Catalog Area */
.catalog-main {
    flex: 1;
    min-width: 0;
}

.catalog-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    background: var(--bg-surface);
    padding: 12px 24px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(0,0,0,0.05);
}

.results-count {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
}

.sort-select {
    border: none;
    background: transparent;
    font-family: inherit;
    font-size: 14px;
    color: var(--text-main);
    font-weight: 500;
    cursor: pointer;
    outline: none;
    padding-right: 8px;
}

/* Redefine grid for main catalog area due to sidebar */
.catalog__grid {
    grid-template-columns: repeat(3, 1fr);
    margin-bottom: 48px;
}

.product-card__title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.product-card__title a:hover {
    color: var(--primary);
}

.mt-3 {
    margin-top: 16px;
}

/* Pagination */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    color: var(--text-main);
    background: var(--bg-surface);
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.2s;
}

.page-link:hover:not([aria-disabled="true"]) {
    background: rgba(0,0,0,0.03);
    border-color: rgba(0,0,0,0.1);
}

.page-link.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.page-link[aria-disabled="true"] {
    opacity: 0.5;
    cursor: not-allowed;
}

.page-dots {
    color: var(--text-muted);
}

@media (max-width: 1024px) {
    .catalog-layout {
        flex-direction: column;
    }
    .catalog-sidebar {
        width: 100%;
        position: static;
    }
    .catalog__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .catalog__grid {
        grid-template-columns: 1fr;
    }
    .catalog-controls {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
}

/* ===== Product Detail Page ===== */
.product-wrapper {
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.05);
    overflow: hidden;
    margin-bottom: 60px;
}

.product-header-layout {
    display: flex;
    padding: 48px;
    gap: 48px;
}

.product-gallery {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.product-gallery__main {
    width: 100%;
    aspect-ratio: 4/3;
    background: var(--bg-page);
    border-radius: var(--radius-md);
    position: relative;
    padding: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-gallery__main img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-badge {
    position: absolute;
    top: 24px;
    left: 24px;
    background: #E8F5E9;
    color: var(--primary);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.product-gallery__thumbs {
    display: flex;
    gap: 12px;
}

.thumb {
    width: 80px;
    height: 80px;
    background: var(--bg-page);
    border-radius: var(--radius-sm);
    padding: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s;
}

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

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

.product-info {
    flex: 1.2;
    min-width: 0;
}

.product-brand {
    font-size: 13px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    margin-bottom: 8px;
}

.product-title-detail {
    font-size: clamp(24px, 3vw, 32px);
    line-height: 1.2;
    margin-bottom: 12px;
    color: var(--text-main);
}

.product-sku {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 32px;
}

.product-price-block {
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.product-price-current {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 4px;
}

.product-credit {
    font-size: 15px;
    color: var(--primary);
    font-weight: 500;
}

.product-short-specs {
    margin-bottom: 40px;
}

.product-short-specs ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.product-short-specs li {
    font-size: 15px;
    color: var(--text-main);
    display: flex;
    align-items: flex-start;
}

.product-short-specs li strong {
    color: var(--text-muted);
    font-weight: 400;
    min-width: 160px;
    display: inline-block;
}

.product-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
}

.btn--lg {
    padding: 16px 32px;
    font-size: 16px;
}

.btn--flex {
    flex: 1;
}

.product-advantages {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.adv-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-page);
    padding: 16px;
    border-radius: var(--radius-sm);
}

.adv-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(52, 121, 81, 0.1);
    border-radius: 50%;
    color: var(--primary);
    flex-shrink: 0;
}

.adv-text {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-main);
}

/* Tabs Section */
.product-tabs-section {
    border-top: 1px solid rgba(0,0,0,0.05);
}

.tabs-header {
    display: flex;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    background: #FCFDFD;
    padding: 0 48px;
}

.tab-btn {
    padding: 24px 32px;
    background: transparent;
    border: none;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    position: relative;
    transition: color 0.2s;
}

.tab-btn:hover {
    color: var(--text-main);
}

.tab-btn.active {
    color: var(--primary);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary);
}

.tab-content {
    display: none;
    padding: 48px;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

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

.tab-content h3 {
    margin-bottom: 24px;
    font-size: 20px;
}

.tab-content p {
    margin-bottom: 16px;
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 15px;
    max-width: 800px;
}

/* Specifications Table */
.specs-table {
    width: 100%;
    max-width: 800px;
    border-collapse: collapse;
}

.specs-table th, .specs-table td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    font-size: 15px;
}

.specs-table th {
    background: var(--bg-page);
    font-weight: 600;
    color: var(--text-main);
}

.specs-table td:first-child {
    color: var(--text-muted);
    width: 40%;
}

.specs-table tr:hover td {
    background: rgba(0,0,0,0.01);
}

/* Documents List */
.docs-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 800px;
}

.doc-item {
    display: flex;
    align-items: center;
    padding: 16px 24px;
    background: var(--bg-page);
    border-radius: var(--radius-sm);
    gap: 16px;
}

.doc-icon {
    color: #ef4444; /* PDF Red */
}

.doc-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.doc-link {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-main);
    text-decoration: none;
}

.doc-link:hover {
    color: var(--primary);
    text-decoration: underline;
}

.doc-meta {
    font-size: 13px;
    color: var(--text-muted);
}

@media (max-width: 1024px) {
    .product-header-layout {
        flex-direction: column;
        padding: 32px;
    }
    .tabs-header {
        padding: 0 32px;
        overflow-x: auto;
    }
    .tab-btn {
        padding: 16px 24px;
        white-space: nowrap;
    }
    .tab-content {
        padding: 32px;
    }
}

@media (max-width: 768px) {
    .product-actions, .product-advantages {
        flex-direction: column;
    }
    .product-header-layout {
        padding: 24px;
    }
    .tab-content {
        padding: 24px;
    }
    .specs-table td, .specs-table th {
        padding: 12px;
        font-size: 14px;
    }
}

/* ===== About Page ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.about-text-block h2 {
    font-size: clamp(28px, 3vw, 36px);
    margin-bottom: 24px;
    line-height: 1.2;
}

.about-lead {
    font-size: 20px;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 24px;
    line-height: 1.5;
}

.about-text-block p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.about-img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    object-fit: cover;
}

.stats-row {
    display: flex;
    gap: 40px;
    padding-top: 32px;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
    max-width: 120px;
    line-height: 1.4;
}

.certificates-section {
    padding: 80px 0;
    margin-top: 80px;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.certs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.cert-card {
    background: var(--bg-surface);
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s;
}

.cert-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.cert-img-wrap {
    position: relative;
    aspect-ratio: 3/4;
    background: var(--bg-page);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.cert-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cert-icon {
    position: absolute;
    color: var(--primary);
    opacity: 0.8;
}

.cert-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(5px);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main);
    text-align: center;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.mt-4 { margin-top: 24px; }
.mt-5 { margin-top: 40px; }

@media (max-width: 1024px) {
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .certs-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-row { flex-wrap: wrap; }
}

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



/* DNS Style Header Overrides */
.header__top {
    font-size: 13px;
}
.header__top-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.header__top-city { display: flex; align-items: center; gap: 6px; color: var(--text-muted); }
.header__top-phone { font-weight: 600; color: var(--text-main); font-size: 14px; }

.header__main {
    padding: 16px 0;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}
.header__main-inner {
    display: flex;
    align-items: center;
    gap: 24px;
}
.logo img { max-width: 140px; height: auto; }
.btn-catalog {
    flex-shrink: 0;
    background: var(--primary);
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s;
}
.btn-catalog:hover { background: var(--primary-hover); color: white;}
.header-search-wide {
    flex-grow: 1;
    display: flex;
    background: #F4F5F7;
    border-radius: 8px;
    padding: 2px 4px;
    border: 1px solid transparent;
    transition: all 0.2s;
}
.header-search-wide:focus-within {
    background: #fff;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(37,99,235, 0.1);
}
.header-search-wide input {
    width: 100%;
    border: none;
    background: transparent;
    padding: 10px 16px;
    font-size: 15px;
    outline: none;
    color: var(--text-main);
}
.header-search-wide button {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0 16px;
    color: var(--primary);
}
.header__actions-labeled {
    display: flex;
    gap: 24px;
    align-items: center;
    flex-shrink: 0;
}
.action-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 500;
    transition: color 0.2s;
    position: relative;
}
.action-item:hover { color: var(--primary); }
.action-item .badge {
    position: absolute;
    top: -6px;
    right: 0px;
    background: #ff5252;
    color: #fff;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: 700;
}

/* Quick Categories (DNS style) */
.quick-cats-wrapper {
    margin-top: 24px;
    margin-bottom: 24px;
}
.quick-cats {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: none;
}
.quick-cats::-webkit-scrollbar { display: none; }

.quick-cat {
    flex: 0 0 220px;
    min-height: 120px;
    padding: 20px;
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-main);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s;
}
.quick-cat:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}
.quick-cat h3 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 6px;
    line-height: 1.3;
}
.quick-cat p {
    font-size: 13px;
    color: rgba(0,0,0,0.5);
    line-height: 1.4;
}

/* FIX for unclickable top nav links */
.header__top {
    position: relative;
    z-index: 1005 !important;
}
.header__top-inner {
    position: relative;
    z-index: 1006 !important;
}
.nav {
    position: relative;
    z-index: 1007 !important;
    pointer-events: auto !important;
}
.nav__link {
    position: relative;
    z-index: 1008 !important;
    pointer-events: auto !important;
    cursor: pointer !important;
    display: inline-block;
}
