* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    background: linear-gradient(135deg, #f9f9f9 0%, #f0f0f0 100%);
    color: #333;
    line-height: 1.5;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
}

h1 {
    font-size: 28pt;
    margin: 20px 0;
    color: #2c3e50;
    text-align: center;
}

.site-header {
    background: #ffffff;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0 5%;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.logo a {
    display: block;
    line-height: 1;
}

.logo img {
    max-height: 60px;
    width: auto;
    display: block;
    transition: transform 0.2s;
}

.logo img:hover {
    transform: scale(1.02);
}

.main-nav {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.nav-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-list li a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: #2c3e50;
    text-decoration: none;
    border-radius: 40px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.nav-list li a i {
    font-size: 16px;
}

.nav-list li a:hover {
    background-color: #ffd966;
    color: #2c3e50;
    transform: translateY(-2px);
}

.nav-list li a.active {
    background-color: #f39c12;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(243, 156, 18, 0.3);
}

.cata-table {
    max-width: 1400px;
    margin: 0 auto 60px;
    padding: 0 15px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.cata-column {
    background-color: #ffffff;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cata-column:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.cata-column h2 {
    font-size: 20px;
    color: #f39c12;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #ffd966;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
}

.cata-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cata-column li {
    margin-bottom: 8px;
}

.cata-column a {
    color: black;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease, padding-left 0.2s ease;
    display: inline-block;
}

.cata-column a:hover {
    color: #f39c12;
    padding-left: 5px;
}

.cata-image {
    text-align: center;
    margin-bottom: 20px;
}

.cata-image img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 20px;
    background-color: #f9f9f9;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.cata-column:hover .cata-image img {
    transform: scale(1.05);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    align-items: stretch;
}

.product-card {
    background: white;
    border-radius: 20px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: 0.2s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.product-card img {
    width: 100%;
    height: 160px;
    object-fit: contain;
    background: #f9f9f9;
    padding: 10px;
}

.product-card img:hover {
    transform: scale(1.02);
}

.product-card h3 {
    font-size: 18px;
    margin: 0 0 10px;
    height: 54px;
    overflow: hidden;
    line-height: 27px;     
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.product-card .description {
    font-size: 14px;
    color: #666;
    margin: 0 0 15px;
    height: 60px;
    overflow: hidden;
    line-height: 1.4;
}

.price {
    font-size: 20px;
    font-weight: bold;
    color: #f39c12;
    margin: 10px 0;
}

.add-to-cart {
    background: #ffd966;
    border: none;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    max-width: 150px;
    margin: 0 auto;
}

.back-link {
    display: inline-block;
    margin: 20px 0;
    text-align: center;
    width: 100%;
    color: #2c3e50;
    text-decoration: none;
}

.back-link:hover {
    text-decoration: underline;
}

.site-footer {
    background-color: #ffffff;
    padding: 40px 0 20px;
    margin-top: 60px;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.05);
    font-family: 'Open Sans', sans-serif;
}

.footer-cont {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.footer-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.footer-con {
    text-align: left;
}

.footer-title {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: #2c3e50;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 8px;
}

.footer-list {
    list-style: none;
    padding: 0;
}

.footer-list li {
    margin-bottom: 10px;
    color: black;
    font-size: 15px;
    line-height: 1.6;
}

.footer-list a {
    color: black;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-list a:hover {
    color: #f39c12;
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid #eee;
    padding-top: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #777;
}

.footer-bottom p {
    margin: 5px 0;
}

.footer-links a {
    color: #777;
    text-decoration: none;
    transition: color 0.3s ease;
    margin: 0 5px;
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 10px;
    }

    .nav-list {
        justify-content: center;
    }

    .nav-list li a {
        padding: 8px 16px;
        font-size: 14px;
    }

    .footer-row {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 20px;
    }

    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 992px) {
    .cata-table {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .cata-table {
        grid-template-columns: 1fr;
    }

    .cata-column {
        padding: 15px;
    }

    .cata-column h2 {
        font-size: 18px;
    }

    .cata-image img {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .product-card img {
        height: 140px;
    }
    .product-card h3 {
        height: auto;
        min-height: 48px;
        font-size: 16px;
    }
    .product-card .description {
        height: auto;
        min-height: 50px;
        font-size: 13px;
    }
}