/* === COLLECTIONS (kitawa.vn style) === */
.awe-section-collections.custom-spacing {
    padding-top: calc(var(--spacing-top-section) * 1px);
    padding-bottom: calc(var(--spacing-bottom-section) * 1px);
}

.section_collections .item {
    padding: 10px 15px 0;
    margin: 0 auto;
    text-align: center;
}

.section_collections .item > a {
    --deg: 100deg;
    --start-color: #fff;
    display: block;
    position: relative;
    margin: 0 auto;
    transition: all 0.3s ease-out;
}

.section_collections .item:hover > a {
    color: var(--primary-color);
}

.section_collections img {
    z-index: 1;
    position: relative;
    margin: auto;
}

.section_collections .item:hover img {
    filter: brightness(1.05);
    animation: tada 2s infinite;
}

@keyframes tada {
    0% { transform: scaleX(1); }
    10%, 20% { transform: scale3d(0.9, 0.9, 0.9) rotate(-3deg); }
    30%, 50%, 70%, 90% { transform: scale3d(1.1, 1.1, 1.1) rotate(3deg); }
    40%, 60%, 80% { transform: scale3d(1.1, 1.1, 1.1) rotate(-3deg); }
    to { transform: scaleX(1); }
}

.section_collections .item h3 a {
    text-align: center;
    margin: 12px 0 0;
    padding: 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: 14px;
    line-height: 1.2;
    color: var(--text-color);
}

.section_collections .item:hover h3 a {
    color: var(--primary-color);
}

.section_collections .row {
    overflow: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.section_collections .row::-webkit-scrollbar {
    display: none;
}

.section_collections .item {
    width: 10%;
    flex: 0 0 10%;
}

@media (max-width: 991px) {
    .section_collections .item {
        flex: 0 0 140px;
        max-width: 140px;
    }
    .section_collections .row {
        overflow-x: auto;
        overflow-y: hidden;
        flex-wrap: nowrap;
    }
    .section_collections .item {
        padding-bottom: 40px;
    }
}

@media (max-width: 767px) {
    .section_collections .item {
        flex: 0 0 30%;
        max-width: 30%;
    }
    .section_collections .item h3 a {
        font-size: 12px;
    }
}

@media (max-width: 575px) {
    .awe-section-collections.custom-spacing {
        padding-top: calc(var(--spacing-top-section-mb) * 1px);
        padding-bottom: calc(var(--spacing-bottom-section-mb) * 1px);
    }
}
