.custom-margin-search {
    margin-left: 1rem !important;
    margin-right: 1rem !important;
    margin-top: 1rem !important;
    margin-bottom: 1rem !important;
}

/* Responsive Main Category Grid */
.responsive-icon-box {
    width: 100% !important;
    max-width: 50px;
    height: auto !important;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.responsive-icon-img {
    width: 100%;
    height: auto;
}
.responsive-icon-title {
    font-size: 11px;
    line-height: 1.25;
}
@media (max-width: 380px) {
    .responsive-icon-title { font-size: 9.5px; }
}
@media (min-width: 768px) {
    .responsive-icon-title { font-size: 13px; }
    .responsive-icon-box { max-width: 100px; }
}

/* Skeleton loading (placeholder shimmer sebelum konten AJAX masuk) */
.skeleton {
    position: relative;
    overflow: hidden;
    background: #e9ecef;
    border-radius: 8px;
}
.skeleton::after {
    content: "";
    position: absolute;
    inset: 0;
    transform: translateX(-100%);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
    animation: skeleton-shimmer 1.4s infinite;
}
.theme-dark .skeleton {
    background: #2a2f36;
}
.theme-dark .skeleton::after {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
}
@keyframes skeleton-shimmer {
    100% { transform: translateX(100%); }
}
