.box.item {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.box.item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    border-color: rgba(0, 0, 0, 0.1);
}

.box-item-image-container {
    display: block;
    overflow: hidden;
    width: 100%;
    height: auto;
}

.box-item-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.box.item:hover .box-item-image {
    transform: scale(1.05);
}

.box.item .text {
    padding: 20px 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.box.item h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    text-align: center;
}

.box.item h3 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.box.item h3 a:hover {
    color: #aa8318;
}

.sold_out {
    background-color: #f8d7da;
    color: #721c24;
    padding: 5px 10px;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 500;
    border-top: 1px solid #f5c6cb;
}

.dark_mode .box.item {
    background: #2d3748;
    border-color: #4a5568;
}

.dark_mode .box.item h3,
.dark_mode .box.item h3 a {
    color: #e2e8f0;
}

.dark_mode .box.item h3 a:hover {
    color: #ecc94b;
}

.dark_mode .sold_out {
    background-color: #4a1c24;
    color: #f8d7da;
    border-top-color: #5c2a35;
}

@media (max-width: 768px) {
    .box.item {
        margin-bottom: 20px;
    }

    .box-item-image-container {
        height: auto;
    }

    .box.item h3 {
        font-size: 1rem;
    }

    .box.item .text {
        padding: 15px 10px;
    }
}

@media (max-width: 576px) {
    .box-item-image-container {
        height: auto;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.img-cat-card {
    width: 100% !important;
    height: auto !important;
}
.box.item {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.box.item:nth-child(1) {
    animation-delay: 0.1s;
}

.box.item:nth-child(2) {
    animation-delay: 0.2s;
}

.box.item:nth-child(3) {
    animation-delay: 0.3s;
}

.box.item:nth-child(4) {
    animation-delay: 0.4s;
}

.box.item:nth-child(5) {
    animation-delay: 0.5s;
}

.box.item:nth-child(6) {
    animation-delay: 0.6s;
}
