/* Small quick-link tiles inside category sidebar (orange aside column) */
.wd-dropdown-menu.wd-design-aside .wd-sub-menu-wrapp > .wd-sub-menu {
    display: flex;
    flex-direction: column;
}

.wd-sub-menu > li.ch-menu-tiles-item {
    list-style: none !important;
    margin-top: auto !important;
    width: 100%;
    padding: 0 !important;
}

.wd-sub-menu > li.ch-menu-tiles-item::before,
.wd-sub-menu > li.ch-menu-tiles-item::after {
    content: none !important;
    display: none !important;
}

.wd-sub-menu > li.ch-menu-tiles-item > a.woodmart-nav-link {
    display: none !important;
}

.ch-menu-tiles {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px;
    width: 100%;
    box-sizing: border-box;
    pointer-events: auto;
}

.ch-menu-tiles--home {
    max-width: none;
    margin-top: 8px;
    padding: 10px 0 0;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

/* Higher specificity than .wd-sub-menu li>a from base.css */
.wd-sub-menu > li.ch-menu-tiles-item .ch-menu-tile,
.ch-menu-tiles .ch-menu-tile {
    flex: 1 1 0;
    min-width: 72px;
    /* max-width: 120px; */
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px;
    padding: 10px 6px !important;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 10px;
    background: #ffffff60 !important;
    text-align: center;
    text-decoration: none !important;
    color: #1a1a1a !important;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
    box-sizing: border-box;
}

.wd-sub-menu > li.ch-menu-tiles-item .ch-menu-tile:hover,
.ch-menu-tiles .ch-menu-tile:hover {
    border-color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    transform: translateY(-0px);
    color: #1a1a1a !important;
    background: #ffffff90 !important;
}

.wd-sub-menu > li.ch-menu-tiles-item .ch-menu-tile img,
.ch-menu-tiles .ch-menu-tile img {
    width: 28px !important;
    height: 28px !important;
    max-height: none !important;
    margin-inline-end: 0 !important;
    object-fit: contain;
    display: block;
}

.wd-sub-menu > li.ch-menu-tiles-item .ch-menu-tile span,
.ch-menu-tiles .ch-menu-tile span {
    font-size: 14px;
    line-height: 1.25;
    font-weight: bold;
    color: inherit;
}

/* Home sidebar (light background) */
.ch-menu-tiles--home .ch-menu-tile {
    border-color: #e5e5e5;
    background: #00000008 !important;
    /* background:linear-gradient(135deg, rgba(0, 0, 0, 0.007) 1%, rgb(255, 255, 255) 98%) !important; */
}

.ch-menu-tiles--home .ch-menu-tile:hover {
    border-color: #00000010;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    background: #00000010 !important;
    /* background:linear-gradient(135deg, rgb(255, 255, 255) 1%, rgba(0, 0, 0, 0.007) 98%) !important; */
}

.ch-menu-tiles-mobile {
    list-style: none !important;
    padding: 8px 12px 12px !important;
    margin: 0 !important;
}

.ch-menu-tiles-mobile > .ch-menu-tiles {
    max-width: none;
    padding: 0;
    border-top: 0;
    margin-top: 0;
}

.ch-menu-tiles-mobile .ch-menu-tile {
    /* max-width: 140px; */
    border-color: #e5e5e5;
    background: #fff !important;
}
