/* Featured categories — homepage section */

.ahlmall-categories-section {
    padding: 22px 0 28px;
    background: linear-gradient(180deg, rgba(255, 251, 235, .55) 0%, #fff 42%, rgba(241, 245, 249, .4) 100%);
}

.ahlmall-categories-section__header {
    margin-bottom: 18px;
}

.ahlmall-categories-section__eyebrow {
    display: inline-block;
    margin-bottom: 8px;
    padding: 4px 14px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .04em;
    color: #92400e;
    background: linear-gradient(90deg, rgba(255, 215, 0, .25), rgba(226, 232, 240, .65));
    border: 1px solid rgba(201, 162, 39, .45);
}

.ahlmall-categories-section__header h2 {
    margin: 0 0 8px;
    font-size: clamp(1.35rem, 3vw, 1.75rem);
    font-weight: 800;
    color: #1e293b;
}

.ahlmall-categories-section__desc {
    margin: 0 auto;
    max-width: 520px;
    font-size: 15px;
    line-height: 1.6;
    color: #64748b;
}

/* Gold + silver static frame */
.ahlmall-categories-section__frame {
    border-radius: 18px;
    padding: 4px;
    background: linear-gradient(
        145deg,
        #b8860b 0%,
        #ffd700 12%,
        #f8fafc 22%,
        #c0c5ce 34%,
        #e5e7eb 44%,
        #d4af37 56%,
        #94a3b8 68%,
        #f1f5f9 78%,
        #c9a227 88%,
        #9ca3af 100%
    );
    box-shadow:
        0 12px 32px rgba(15, 23, 42, .1),
        inset 0 1px 0 rgba(255, 255, 255, .55);
}

.ahlmall-categories-section__frame-inner {
    border-radius: 14px;
    padding: 18px 12px 14px;
    background: #fff;
    border: 1px solid rgba(192, 192, 192, .35);
    box-shadow: inset 0 0 0 1px rgba(255, 215, 0, .15);
}

.ahlmall-categories-section .ahlmall-carousel-nav__wrap {
    margin-top: 0 !important;
}

.ahlmall-categories-section .ahlmall-carousel-nav__arrow {
    border: 2px solid #c9a227;
    background: linear-gradient(145deg, #fff, #f8fafc);
    color: var(--color-1st, #fd6a00);
    box-shadow: 0 3px 10px rgba(201, 162, 39, .22);
}

.ahlmall-categories-section .ahlmall-carousel-nav__arrow:hover {
    background: linear-gradient(145deg, var(--color-1st, #fd6a00), #e85d04);
    border-color: var(--color-1st, #fd6a00);
    color: #fff;
}

/* Category cards */
.ahlmall-categories-section .categories_box {
    height: 100%;
}

.ahlmall-categories-section .categories_box a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 148px;
    padding: 14px 10px 12px;
    border-radius: 14px;
    background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 14px rgba(15, 23, 42, .06);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
    text-decoration: none;
}

.ahlmall-categories-section .categories_box a:hover {
    transform: translateY(-4px);
    border-color: rgba(201, 162, 39, .55);
    box-shadow:
        0 12px 24px rgba(15, 23, 42, .12),
        0 0 0 1px rgba(255, 215, 0, .25);
}

.ahlmall-categories-section .categories_box img {
    width: 72px;
    height: 72px;
    object-fit: contain;
    object-position: center;
    border-radius: 12px;
    background: #f1f5f9;
    padding: 6px;
    margin-bottom: 8px;
}

.ahlmall-categories-section .categories_box span {
    margin-top: 0;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    color: #1e293b;
    text-transform: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ahlmall-categories-section .categories_box a:hover span {
    color: var(--color-1st, #fd6a00);
}

/* Center track when few categories */
.ahlmall-categories-section .cat_slider.owl-loaded .owl-stage-outer {
    overflow: visible;
}

.ahlmall-categories-section .cat_slider.owl-loaded .owl-stage {
    margin-left: auto !important;
    margin-right: auto !important;
}

.ahlmall-categories-section .cat_slider .owl-item {
    display: flex;
    justify-content: center;
}

@media (max-width: 767px) {
    .ahlmall-categories-section {
        padding: 16px 0 20px;
    }

    .ahlmall-categories-section__frame-inner {
        padding: 14px 8px 10px;
    }

    .ahlmall-categories-section .categories_box a {
        min-height: 130px;
        padding: 12px 8px 10px;
    }

    .ahlmall-categories-section .categories_box img {
        width: 60px;
        height: 60px;
    }
}
