.container::before {
    content: "INTERNET TOYBOX - CATALOG";
    position: absolute;
    top: -10px;
    left: 14px;

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;

    background: #e9e9e9;
    padding: 2px 6px;
    border: 1px solid #c7c7c7;
}


.catalog-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 14px;
    padding:20px;
}

.catalog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.catalog-panel {
    background: #f5f5f5;
    border: 1px solid #cfcfcf;
    padding: 12px;
    text-align: left;
}

.catalog-panel h3 {
    margin-bottom: 10px;
    font-size: 14px;
}

.catalog-filter {
    display: block;
    padding: 8px;
    margin-bottom: 6px;

    text-decoration: none;
    color: #2d5ca8;

    background: #e9e9e9;
    border: 1px solid #cfcfcf;

    font-weight: 700;
}

.catalog-filter:hover {
    background: #dedede;
}

.catalog-filter.active {
    background: #d8e3f4;
}

.catalog-main {
    background: #fff;
    border: 1px solid #cfcfcf;
    padding: 14px;
}

.catalog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.title {
    text-align: left;
    
}
.btn-owned {
    background: #cfcfcf;
    color: #555;
    cursor: default;
}
.btn-disabled {
    background: #e5b5b5;
    color: #7a2f2f;
    cursor: not-allowed;
}

.catalog-controls {
    display: flex;
    gap: 8px;
}

.catalog-controls input,
.catalog-controls select {
    padding: 8px;
    border: 1px solid #cfcfcf;
}

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

.catalog-item {
    border: 1px solid #cfcfcf;
    padding: 10px;
    background: white;

    transition: .15s ease;
}

.catalog-item:hover {
    border-color: #ff4a47;

    box-shadow:
        0 0 0 3px rgba(255,74,71,.12);

    transform: translateY(-2px);
}

.catalog-thumb {
    width: 100%;
    height: 206px;
    background: #bbd1ff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.catalog-thumb img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.catalog-name {
    font-weight: 700;
    margin-top: 10px;
}

.catalog-price {
    color: #1d8c45;
    font-weight: 700;
    margin-top: 4px;
}

.catalog-type {
    font-size: 12px;
    color: #4b72b3;
    margin-top: 4px;
}

.buy-btn {
    display: inline-block;

    margin-top: 8px;
    margin-bottom: 10px;

    padding: 4px 8px;

    border: 1px solid #0b1bf5;
background:linear-gradient(180deg, rgb(178, 161, 255), rgb(92, 77, 224));
    color: #ffffff;
text-decoration: none;
    font-size: 11px;
    font-weight: 700;
}

.buy-btn:hover {
background:linear-gradient(180deg, rgb(187, 172, 255), rgb(109, 94, 248));
    color: #ffffff;
}

.buy-btn:active {
background:linear-gradient(180deg, rgb(155, 139, 224), rgb(92, 78, 211));
    color: #ffffff;
}

@media (max-width: 1000px) {

    .catalog-layout {
        grid-template-columns: 1fr;
    }

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