/* Flash Deal Timer styling */
.timer-section {
    padding: 15px 0;
}

.timer-section .timer {
    padding: 15px;
    background-color: rgba(236, 137, 81, 0.09);
    border: 1px dashed var(--theme-color);
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

.timer-section .timer span {
    font-size: 18px;
    color: #000000ff;
    margin-bottom: 0;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
}

.timer-section .timer span .timer-cal {
    font-size: 12px;
    color: #777;
    margin-top: 2px;
    display: block;
}

.timer span .padding-l {
    display: inline-flex;
    align-items: flex-start;
    font-size: 18px;
    color: #000000ff;
    margin: 0;
    padding: 0;
    min-width: auto;
    width: auto;
}

@media (max-width: 767px) {
    .timer-section .timer {
        padding: 10px 12px;
        gap: 1px;
    }
    .timer-section .timer span {
        font-size: 16px;
        max-width: 30px;
    }
    .timer-section .timer span .padding-l {
        font-size: 16px;
        padding: 0;
    }
    .timer-section .timer span .timer-cal {
        font-size: 9px;
    }
}

.instagram-box {
    background-size: contain !important;
    background-repeat: no-repeat;
}

/* Category section responsive layout */
.category-section .category-list {
    display: flex;
    flex-wrap: wrap; /* mobile: wrap to create 2+ rows */
    margin: -8px;
}
.category-section .category-item {
    padding: 8px;
    width: 25%; /* 4 per row on most phones */
    text-align: center;
}
.category-section .category-circle {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    overflow: hidden;
    background: #f5f5f5;
    margin: 0 auto 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}
@media (min-width: 300px) {
    .category-section .category-item {
        width: 30%;
    }
    .category-section .category-circle {
        width: 80px;
        height: 80px;
    }
}
@media (min-width: 768px) {
    .category-section .category-item {
        width: 20%;
    }
    .category-section .category-circle {
        width: 90px;
        height: 90px;
    }
}
.category-section .category-link {
    display: block;
    text-decoration: none;
}

.category-section .category-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.category-section .category-name {
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    color: #333;
}
.category-section .category-name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
/* Desktop: single horizontal scroller */
@media (min-width: 992px) {
    .category-section .category-list {
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: thin;
    }
    .category-section .category-item {
        width: auto;
        flex: 0 0 auto;
    }
    .category-section .category-circle {
        width: 170px;
        height: 170px;
    }
}
/* Optional nicer scrollbar */
.category-section .category-list::-webkit-scrollbar {
    height: 6px;
}
.category-section .category-list::-webkit-scrollbar-track {
    background: transparent;
}
.category-section .category-list::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 3px;
}
