.back-catalog {
    width: 100%;
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5)), url('/static/base/images/cat-back.jpg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover; 
    display: flex;
    justify-content: center; /* O'rtaga olish */
    padding-bottom: 50px;
}

.catalogs {
    width: 90%;
    min-height: calc(100vh - 86.42px - 160px);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    
}

.main-text-catalog {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
  margin-bottom: 50px;
}

.catalogs .main-text-catalog h1 {
    font-family: Unbounded;
    font-size: 28px;
    font-weight: 500;
    line-height: 34.72px;
    text-align: left;
    color: var(--color-primary);
}

.catalogs .main-text-catalog button {
    border-radius: 16px;
    padding: 15px 20px 15px 20px;
    background: var(--color-primary);
    outline: none;
    border: none;
}

.new_item{
    display: flex;
    justify-content: center;

}


.catalog-items {
    display: grid;
    grid-template-columns: repeat(3, minmax(300px, 1fr));
    gap: 20px;
    width: 100%;
    
}

.catalog-box {
 
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.catalogs h1 {
    color: var(--color-primary);
    font-family: Unbounded;
    font-size: 20px !important;
    font-weight: 500;
    line-height: 35.8px;
    text-align: start;
    margin-bottom: 10px;
    text-transform: capitalize;
}

.catalogs .catalog-box a {
    display: block;
    color: white;
    font-family: Unbounded;
    font-size: 16px;
    font-weight: 400;
    line-height: 19.84px;
    text-align: start;
    margin-bottom: 5px;
    text-decoration: underline;
}

.catalogs .catalog-box a:hover {
    color: var(--color-primary);
}
/* 
@media (max-width: 480px) {
    .catalog-box {
        width: 90%;
    }
} */

.product-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.product-item img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 6px;
}

.product-item a {
    color: white;
    font-family: Unbounded;
    font-size: 16px;
    font-weight: 400;
    text-align: start;
    line-height: 1.2;
    text-decoration: none;
}

.product-item a:hover {
    color: var(--color-primary);
}



@media (max-width: 1200px) {
  
    .catalog-items {
        grid-template-columns: repeat(2, 1fr); /* 2 tadan joylashadi */
    }
}

@media (max-width: 600px) {
    .main-text-catalog{
        display: block;
    }
    .catalog-items {
        grid-template-columns: repeat(1, 1fr); /* 1 ta ustun */
    }
}