/**
 * Homepage Customer CSS
 * Superindo Taiwan - Clean, Minimalist, Elegant
 * Desktop-First Responsive
 * All classes scoped under #homepage-cust
 */

/* === Base Layout === */
#homepage-cust {
    width: 100%;
}

/* === Hero Slider === */
#homepage-cust .section-slider {
    padding: 1.5rem 1rem 0;
}

#homepage-cust .slider-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
}

#homepage-cust .slider-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

#homepage-cust .slider-container::-webkit-scrollbar {
    display: none;
}

#homepage-cust .slide-item {
    flex: 0 0 100%;
    scroll-snap-align: start;
    aspect-ratio: 21/6;
    background: linear-gradient(135deg, var(--primary) 0%, #b8181d 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
    color: white;
}

#homepage-cust .slide-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#homepage-cust .slide-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

#homepage-cust .slide-content p {
    font-size: 1rem;
    opacity: 0.9;
}

#homepage-cust .slider-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
}

#homepage-cust .slider-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s;
}

#homepage-cust .slider-dots .dot.active {
    background: white;
    width: 24px;
    border-radius: 4px;
}

/* === Section Header with Divider === */
#homepage-cust .section-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0 1rem;
    margin: 1.5rem 0 1rem;
}

#homepage-cust .section-header h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--gray-800);
    margin: 0;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

#homepage-cust .section-header .header-icon {
    font-size: 1.25rem;
}

#homepage-cust .section-header .header-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--gray-200) 0%, transparent 100%);
}

#homepage-cust .section-header a {
    font-size: 0.8125rem;
    color: var(--primary);
    font-weight: 600;
    white-space: nowrap;
}

/* === Kategori Scroll (STICKY) === */
#homepage-cust .section-kategori {
    position: sticky;
    top: 88px;
    z-index: 100;
    background: var(--white);
    border-bottom: 1px solid var(--gray-100);
    margin-bottom: 0.5rem;
}

#homepage-cust .kategori-scroll {
    display: flex;
    gap: 1rem;
    padding: 0.75rem 1rem;
    overflow-x: auto;
    scrollbar-width: none;
}

#homepage-cust .kategori-scroll::-webkit-scrollbar {
    display: none;
}

#homepage-cust .kategori-item {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    min-width: 72px;
}

#homepage-cust .kategori-item .icon-box {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-lg);
    transition: all 0.2s;
}

#homepage-cust .kategori-item:hover .icon-box {
    border-color: var(--primary);
    background: var(--primary-light);
}

#homepage-cust .kategori-item .icon-box i {
    font-size: 1.25rem;
    color: var(--primary);
}

#homepage-cust .kategori-item span {
    font-size: 0.6875rem;
    font-weight: 500;
    color: var(--gray-600);
    text-align: center;
    line-height: 1.2;
    white-space: nowrap;
}

/* =============================================
   FLASH SALE SECTION - Soft Red Base
   ============================================= */

#homepage-cust .section-flashsale {
    margin: 1.5rem 0;
}

#homepage-cust .flashsale-wrapper {
    background: linear-gradient(135deg, #fff0f0 0%, #ffe8e8 50%, #fff5f5 100%);
    border-radius: var(--radius-xl);
    margin: 0 1rem;
    padding: 1.25rem;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(227, 30, 36, 0.1);
}

#homepage-cust .flashsale-wrapper::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(227, 30, 36, 0.06) 0%, transparent 70%);
    border-radius: 50%;
}

#homepage-cust .flashsale-wrapper::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: -60px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(227, 30, 36, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

#homepage-cust .flashsale-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

#homepage-cust .flashsale-title {
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

#homepage-cust .flash-icon {
    width: 44px;
    height: 44px;
    background: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(227, 30, 36, 0.25);
}

#homepage-cust .flash-icon i {
    font-size: 1.25rem;
    color: white;
}

#homepage-cust .flash-text h3 {
    color: var(--primary);
    font-size: 1.125rem;
    font-weight: 800;
    margin: 0;
    letter-spacing: 0.05em;
}

#homepage-cust .flash-subtitle {
    font-size: 0.6875rem;
    color: #c41a1f;
    display: block;
    font-weight: 500;
}

#homepage-cust .countdown {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-left: 0.5rem;
}

#homepage-cust .countdown-item {
    background: var(--primary);
    color: white;
    padding: 0.375rem 0.5rem;
    border-radius: 8px;
    font-size: 0.9375rem;
    font-weight: 700;
    min-width: 36px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(227, 30, 36, 0.25);
}

#homepage-cust .countdown-sep {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.875rem;
}

#homepage-cust .btn-see-all {
    color: var(--primary);
    font-size: 0.8125rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 1rem;
    background: rgba(227, 30, 36, 0.08);
    border-radius: var(--radius);
    transition: all 0.2s;
}

#homepage-cust .btn-see-all:hover {
    background: rgba(227, 30, 36, 0.15);
}

#homepage-cust .btn-see-all i {
    font-size: 0.625rem;
}

#homepage-cust .flashsale-scroll {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    scrollbar-width: none;
    position: relative;
    z-index: 1;
    padding-bottom: 0.25rem;
}

#homepage-cust .flashsale-scroll::-webkit-scrollbar {
    display: none;
}

#homepage-cust .flashsale-card {
    flex: 0 0 160px;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 12px rgba(227, 30, 36, 0.08);
}

#homepage-cust .flashsale-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(227, 30, 36, 0.12);
}

#homepage-cust .flashsale-card .image {
    aspect-ratio: 1;
    position: relative;
    background: var(--gray-50);
}

#homepage-cust .flashsale-card .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#homepage-cust .flashsale-card .discount-badge {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    background: var(--primary);
    color: white;
    font-size: 0.6875rem;
    font-weight: 700;
    padding: 0.25rem 0.625rem;
    border-radius: var(--radius-full);
}

#homepage-cust .flashsale-card .info {
    padding: 0.75rem;
}

#homepage-cust .flashsale-card .name {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 0.375rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#homepage-cust .flashsale-card .price-row {
    display: flex;
    align-items: baseline;
    gap: 0.375rem;
    margin-bottom: 0.5rem;
}

#homepage-cust .flashsale-card .price-current {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
}

#homepage-cust .flashsale-card .price-old {
    font-size: 0.6875rem;
    color: var(--gray-400);
    text-decoration: line-through;
}

#homepage-cust .flashsale-card .stock-bar {
    height: 6px;
    background: #fce8e8;
    border-radius: 3px;
    overflow: hidden;
}

#homepage-cust .flashsale-card .stock-bar .fill {
    height: 100%;
    background: var(--primary);
    border-radius: 3px;
    transition: width 0.3s;
}

#homepage-cust .flashsale-card .stock-text {
    font-size: 0.625rem;
    color: var(--gray-500);
    margin-top: 0.375rem;
}

#homepage-cust .flashsale-card .stock-text .sold-out {
    color: var(--gray-400);
    font-weight: 600;
}

#homepage-cust .flashsale-card .stock-text .almost-gone {
    color: var(--primary);
    font-weight: 600;
}

/* =============================================
   DISKON SECTION - Premium Golden Style
   ============================================= */

#homepage-cust .section-diskon {
    margin: 1.5rem 0;
}

#homepage-cust .diskon-wrapper {
    background: linear-gradient(145deg, #fffdf7 0%, #fff8e7 100%);
    border-radius: var(--radius-xl);
    margin: 0 1rem;
    padding: 1.5rem 1.25rem;
    position: relative;
    overflow: hidden;
    border: 1px solid #f5e6c4;
    box-shadow: 
        0 2px 20px rgba(212, 160, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

#homepage-cust .diskon-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle at top right, rgba(255, 215, 0, 0.12) 0%, transparent 60%);
    pointer-events: none;
}

#homepage-cust .diskon-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle at bottom left, rgba(255, 193, 7, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

#homepage-cust .diskon-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    position: relative;
    z-index: 1;
}

#homepage-cust .diskon-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

#homepage-cust .diskon-icon {
    width: 46px;
    height: 46px;
    background: linear-gradient(145deg, #ffca28 0%, #f9a825 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 4px 15px rgba(249, 168, 37, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

#homepage-cust .diskon-icon i {
    font-size: 1.25rem;
    color: white;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

#homepage-cust .diskon-text h3 {
    color: #b8860b;
    font-size: 1.2rem;
    font-weight: 800;
    margin: 0;
    letter-spacing: 0.03em;
    text-shadow: 0 1px 0 rgba(255,255,255,0.5);
}

#homepage-cust .diskon-subtitle {
    font-size: 0.7rem;
    color: #d4a000;
    display: block;
    font-weight: 600;
    margin-top: 2px;
}

#homepage-cust .btn-diskon-all {
    color: #b8860b;
    font-size: 0.8125rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(145deg, rgba(255,215,0,0.15) 0%, rgba(255,193,7,0.1) 100%);
    border: 1px solid rgba(255,193,7,0.25);
    border-radius: 20px;
    transition: all 0.25s ease;
    text-decoration: none;
}

#homepage-cust .btn-diskon-all:hover {
    background: linear-gradient(145deg, rgba(255,215,0,0.25) 0%, rgba(255,193,7,0.2) 100%);
    border-color: rgba(255,193,7,0.4);
    transform: translateY(-1px);
}

#homepage-cust .btn-diskon-all i {
    font-size: 0.625rem;
}

#homepage-cust .diskon-scroll {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scrollbar-width: none;
    position: relative;
    z-index: 1;
    padding: 0.25rem 0.25rem 0.5rem;
    margin: 0 -0.25rem;
}

#homepage-cust .diskon-scroll::-webkit-scrollbar {
    display: none;
}

#homepage-cust .diskon-card {
    flex: 0 0 185px;
    background: linear-gradient(180deg, #ffffff 0%, #fffefa 100%);
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 2px 8px rgba(212, 160, 0, 0.08),
        0 4px 20px rgba(212, 160, 0, 0.04);
    border: 1px solid rgba(255, 215, 0, 0.15);
}

#homepage-cust .diskon-card:hover {
    transform: translateY(-6px);
    box-shadow: 
        0 8px 25px rgba(212, 160, 0, 0.15),
        0 4px 10px rgba(212, 160, 0, 0.1);
    border-color: rgba(255, 193, 7, 0.3);
}

#homepage-cust .diskon-card .image {
    aspect-ratio: 1;
    position: relative;
    background: linear-gradient(180deg, #fafafa 0%, #f5f5f5 100%);
    overflow: hidden;
}

#homepage-cust .diskon-card .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

#homepage-cust .diskon-card:hover .image img {
    transform: scale(1.05);
}

#homepage-cust .diskon-card .discount-badge {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    background: linear-gradient(135deg, #ffc107 0%, #ffb300 100%);
    color: white;
    font-size: 0.6875rem;
    font-weight: 700;
    padding: 0.25rem 0.625rem;
    border-radius: var(--radius-full);
    box-shadow: 0 2px 8px rgba(255, 179, 0, 0.4);
    text-shadow: 0 1px 1px rgba(0,0,0,0.1);
}

#homepage-cust .diskon-card .info {
    padding: 0.875rem;
}

#homepage-cust .diskon-card .name {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.3rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#homepage-cust .diskon-card .desc {
    font-size: 0.6875rem;
    color: #888;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
    min-height: calc(0.6875rem * 1.4 * 2);
}

#homepage-cust .diskon-card .rating {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.6875rem;
    color: #666;
    margin-bottom: 0.625rem;
}

#homepage-cust .diskon-card .rating i {
    color: #ffc107;
    font-size: 0.7rem;
    filter: drop-shadow(0 1px 1px rgba(255,193,7,0.3));
}

#homepage-cust .diskon-card .rating .sold {
    color: #aaa;
}

#homepage-cust .diskon-card .price-row {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

#homepage-cust .diskon-card .price-current {
    font-size: 1.0625rem;
    font-weight: 700;
    color: #d4930e;
}

#homepage-cust .diskon-card .price-old {
    font-size: 0.75rem;
    color: #bbb;
    text-decoration: line-through;
}

/* === Product List Section === */
#homepage-cust .section-products {
    margin: 1.5rem 0 0;
    padding-bottom: 1rem;
}

#homepage-cust .products-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
    padding: 0 1rem;
}

#homepage-cust .product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--gray-100);
    text-decoration: none;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
}

#homepage-cust .product-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

#homepage-cust .product-card .image {
    aspect-ratio: 1;
    position: relative;
    background: var(--gray-50);
    overflow: hidden;
}

#homepage-cust .product-card .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

#homepage-cust .product-card:hover .image img {
    transform: scale(1.05);
}

#homepage-cust .product-card .info {
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

#homepage-cust .product-card .name {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#homepage-cust .product-card .desc {
    font-size: 0.6875rem;
    color: var(--gray-500);
    line-height: 1.4;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: calc(0.6875rem * 1.4 * 2);
}

#homepage-cust .product-card .price-row {
    display: flex;
    align-items: baseline;
    margin-top: auto;
}

#homepage-cust .product-card .price-old {
    font-size: 0.6875rem;
    color: var(--gray-400);
    text-decoration: line-through;
}

#homepage-cust .product-card .price-current {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    margin-left: auto;
}

/* === Load More Button === */
#homepage-cust .section-loadmore {
    padding: 1rem 1rem 2rem;
}

#homepage-cust .btn-loadmore {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    display: flex;
    padding: 0.875rem;
    background: var(--white);
    color: var(--primary);
    border: 1.5px solid var(--primary);
    border-radius: var(--radius);
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.2s;
}

#homepage-cust .btn-loadmore:hover {
    background: var(--primary);
    color: white;
}

/* ============================================
   RESPONSIVE - Desktop First
   ============================================ */

/* < 1280px (5 columns) */
@media (max-width: 1279px) {
    #homepage-cust .products-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* < 1024px (4 columns) */
@media (max-width: 1023px) {
    #homepage-cust .slide-item {
        aspect-ratio: 21/7;
    }
    
    #homepage-cust .slide-content h2 {
        font-size: 1.75rem;
    }
    
    #homepage-cust .flashsale-card {
        flex: 0 0 145px;
    }
    
    #homepage-cust .diskon-card {
        flex: 0 0 180px;
    }
    
    #homepage-cust .products-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* < 768px Tablet (3 columns) */
@media (max-width: 767px) {
    #homepage-cust .section-slider {
        padding: 1rem 0.75rem 0;
    }
    
    #homepage-cust .slide-item {
        aspect-ratio: 21/8;
        padding: 1.5rem;
    }
    
    #homepage-cust .slide-content h2 {
        font-size: 1.375rem;
    }
    
    #homepage-cust .slide-content p {
        font-size: 0.875rem;
    }
    
    #homepage-cust .slider-dots {
        bottom: 0.75rem;
        gap: 0.375rem;
    }
    
    #homepage-cust .slider-dots .dot {
        width: 6px;
        height: 6px;
    }
    
    #homepage-cust .slider-dots .dot.active {
        width: 18px;
    }
    
    /* Kategori sticky adjustment */
    #homepage-cust .section-kategori {
        top: 60px;
    }
    
    #homepage-cust .kategori-scroll {
        padding: 0.625rem 0.75rem;
        gap: 0.75rem;
    }
    
    #homepage-cust .kategori-item {
        min-width: 64px;
        gap: 0.375rem;
    }
    
    #homepage-cust .kategori-item .icon-box {
        width: 48px;
        height: 48px;
    }
    
    #homepage-cust .kategori-item .icon-box i {
        font-size: 1.125rem;
    }
    
    #homepage-cust .kategori-item span {
        font-size: 0.625rem;
    }
    
    #homepage-cust .section-header {
        padding: 0 0.75rem;
        margin: 1.25rem 0 0.75rem;
        gap: 0.75rem;
    }
    
    #homepage-cust .section-header h3 {
        font-size: 1rem;
    }
    
    #homepage-cust .section-header a {
        font-size: 0.75rem;
    }
    
    /* Flash Sale Responsive */
    #homepage-cust .flashsale-wrapper {
        margin: 0 0.75rem;
        padding: 1rem;
    }
    
    #homepage-cust .flash-icon {
        width: 38px;
        height: 38px;
    }
    
    #homepage-cust .flash-icon i {
        font-size: 1rem;
    }
    
    #homepage-cust .flash-text h3 {
        font-size: 1rem;
    }
    
    #homepage-cust .flash-subtitle {
        font-size: 0.625rem;
    }
    
    #homepage-cust .countdown-item {
        padding: 0.25rem 0.375rem;
        font-size: 0.8125rem;
        min-width: 30px;
    }
    
    #homepage-cust .btn-see-all {
        padding: 0.375rem 0.75rem;
        font-size: 0.75rem;
    }
    
    #homepage-cust .flashsale-scroll {
        gap: 0.625rem;
    }
    
    #homepage-cust .flashsale-card {
        flex: 0 0 130px;
    }
    
    #homepage-cust .flashsale-card .info {
        padding: 0.625rem;
    }
    
    #homepage-cust .flashsale-card .name {
        font-size: 0.6875rem;
    }
    
    #homepage-cust .flashsale-card .price-current {
        font-size: 0.875rem;
    }
    
    #homepage-cust .flashsale-card .price-old {
        font-size: 0.625rem;
    }
    
    /* Diskon Responsive */
    #homepage-cust .diskon-wrapper {
        margin: 0 0.75rem;
        padding: 1.25rem 1rem;
    }
    
    #homepage-cust .diskon-icon {
        width: 40px;
        height: 40px;
        border-radius: 12px;
    }
    
    #homepage-cust .diskon-icon i {
        font-size: 1rem;
    }
    
    #homepage-cust .diskon-text h3 {
        font-size: 1.05rem;
    }
    
    #homepage-cust .diskon-subtitle {
        font-size: 0.625rem;
    }
    
    #homepage-cust .btn-diskon-all {
        padding: 0.4rem 0.85rem;
        font-size: 0.75rem;
    }
    
    #homepage-cust .diskon-scroll {
        gap: 0.75rem;
    }
    
    #homepage-cust .diskon-card {
        flex: 0 0 160px;
        border-radius: 14px;
    }
    
    #homepage-cust .diskon-card .info {
        padding: 0.75rem;
    }
    
    #homepage-cust .diskon-card .name {
        font-size: 0.75rem;
    }
    
    #homepage-cust .diskon-card .desc {
        font-size: 0.625rem;
        min-height: calc(0.625rem * 1.4 * 2);
    }
    
    #homepage-cust .diskon-card .price-current {
        font-size: 0.9375rem;
    }
    
    #homepage-cust .diskon-card .discount-badge {
        padding: 0.25rem 0.5rem;
        font-size: 0.625rem;
    }
    
    /* Products */
    #homepage-cust .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
        padding: 0 0.75rem;
    }
    
    #homepage-cust .product-card .info {
        padding: 0.625rem;
    }
    
    #homepage-cust .product-card .name {
        font-size: 0.75rem;
    }
    
    #homepage-cust .product-card .desc {
        font-size: 0.625rem;
        min-height: calc(0.625rem * 1.4 * 2);
    }
    
    #homepage-cust .product-card .price-current {
        font-size: 0.9375rem;
    }
    
    #homepage-cust .product-card .price-old {
        font-size: 0.625rem;
    }
    
    #homepage-cust .section-loadmore {
        padding: 0.75rem 0.75rem 2rem;
    }
    
    #homepage-cust .btn-loadmore {
        font-size: 0.875rem;
    }
}

/* < 576px Mobile (2 columns) */
@media (max-width: 575px) {
    #homepage-cust .section-slider {
        padding: 0.75rem 0.5rem 0;
    }
    
    #homepage-cust .slide-item {
        aspect-ratio: 16/9;
        padding: 1rem;
    }
    
    #homepage-cust .slide-content h2 {
        font-size: 1.125rem;
        margin-bottom: 0.25rem;
    }
    
    #homepage-cust .slide-content p {
        font-size: 0.75rem;
    }
    
    /* Kategori */
    #homepage-cust .section-kategori {
        top: 56px;
    }
    
    #homepage-cust .kategori-scroll {
        padding: 0.5rem;
        gap: 0.5rem;
    }
    
    #homepage-cust .kategori-item {
        min-width: 56px;
        gap: 0.25rem;
    }
    
    #homepage-cust .kategori-item .icon-box {
        width: 42px;
        height: 42px;
    }
    
    #homepage-cust .kategori-item .icon-box i {
        font-size: 1rem;
    }
    
    #homepage-cust .kategori-item span {
        font-size: 0.5625rem;
    }
    
    #homepage-cust .section-header {
        padding: 0 0.5rem;
        margin: 1rem 0 0.625rem;
        gap: 0.5rem;
    }
    
    #homepage-cust .section-header h3 {
        font-size: 0.875rem;
    }
    
    #homepage-cust .section-header .header-icon {
        font-size: 1rem;
    }
    
    /* Flash Sale Mobile */
    #homepage-cust .flashsale-wrapper {
        margin: 0 0.5rem;
        padding: 0.875rem;
    }
    
    #homepage-cust .flashsale-title {
        gap: 0.5rem;
    }
    
    #homepage-cust .flash-icon {
        width: 32px;
        height: 32px;
        border-radius: 8px;
    }
    
    #homepage-cust .flash-icon i {
        font-size: 0.875rem;
    }
    
    #homepage-cust .flash-text h3 {
        font-size: 0.875rem;
    }
    
    #homepage-cust .flash-subtitle {
        display: none;
    }
    
    #homepage-cust .countdown {
        margin-left: 0.25rem;
    }
    
    #homepage-cust .countdown-item {
        padding: 0.1875rem 0.3125rem;
        font-size: 0.6875rem;
        min-width: 24px;
    }
    
    #homepage-cust .countdown-sep {
        font-size: 0.6875rem;
    }
    
    #homepage-cust .btn-see-all {
        padding: 0.3125rem 0.5rem;
        font-size: 0.6875rem;
    }
    
    #homepage-cust .flashsale-scroll {
        gap: 0.5rem;
    }
    
    #homepage-cust .flashsale-card {
        flex: 0 0 115px;
    }
    
    #homepage-cust .flashsale-card .discount-badge {
        font-size: 0.5625rem;
        padding: 0.1875rem 0.5rem;
    }
    
    #homepage-cust .flashsale-card .info {
        padding: 0.5rem;
    }
    
    #homepage-cust .flashsale-card .name {
        font-size: 0.625rem;
        margin-bottom: 0.25rem;
    }
    
    #homepage-cust .flashsale-card .price-row {
        margin-bottom: 0.375rem;
    }
    
    #homepage-cust .flashsale-card .price-current {
        font-size: 0.8125rem;
    }
    
    #homepage-cust .flashsale-card .price-old {
        font-size: 0.5625rem;
    }
    
    #homepage-cust .flashsale-card .stock-bar {
        height: 4px;
    }
    
    #homepage-cust .flashsale-card .stock-text {
        font-size: 0.5625rem;
        margin-top: 0.25rem;
    }
    
    /* Diskon Mobile */
    #homepage-cust .diskon-wrapper {
        margin: 0 0.5rem;
        padding: 1rem 0.875rem;
    }
    
    #homepage-cust .diskon-title {
        gap: 0.5rem;
    }
    
    #homepage-cust .diskon-icon {
        width: 34px;
        height: 34px;
        border-radius: 10px;
    }
    
    #homepage-cust .diskon-icon i {
        font-size: 0.875rem;
    }
    
    #homepage-cust .diskon-text h3 {
        font-size: 0.9rem;
    }
    
    #homepage-cust .diskon-subtitle {
        display: none;
    }
    
    #homepage-cust .btn-diskon-all {
        padding: 0.35rem 0.6rem;
        font-size: 0.6875rem;
        border-radius: 15px;
    }
    
    #homepage-cust .diskon-scroll {
        gap: 0.625rem;
        padding: 0.25rem 0.125rem 0.375rem;
        margin: 0 -0.125rem;
    }
    
    #homepage-cust .diskon-card {
        flex: 0 0 140px;
        border-radius: 12px;
    }
    
    #homepage-cust .diskon-card .discount-badge {
        font-size: 0.5625rem;
        padding: 0.1875rem 0.5rem;
    }
    
    #homepage-cust .diskon-card .info {
        padding: 0.625rem;
    }
    
    #homepage-cust .diskon-card .name {
        font-size: 0.6875rem;
    }
    
    #homepage-cust .diskon-card .desc {
        font-size: 0.5625rem;
        min-height: calc(0.5625rem * 1.4 * 2);
        margin-bottom: 0.375rem;
    }
    
    #homepage-cust .diskon-card .rating {
        font-size: 0.5625rem;
        margin-bottom: 0.5rem;
    }
    
    #homepage-cust .diskon-card .rating i {
        font-size: 0.6rem;
    }
    
    #homepage-cust .diskon-card .price-current {
        font-size: 0.85rem;
    }
    
    #homepage-cust .diskon-card .price-old {
        font-size: 0.625rem;
    }
    
    /* Products */
    #homepage-cust .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
        padding: 0 0.5rem;
    }
    
    #homepage-cust .product-card .info {
        padding: 0.5rem;
    }
    
    #homepage-cust .product-card .name {
        font-size: 0.6875rem;
        margin-bottom: 0.1875rem;
    }
    
    #homepage-cust .product-card .desc {
        font-size: 0.5625rem;
        min-height: calc(0.5625rem * 1.4 * 2);
        margin-bottom: 0.375rem;
    }
    
    #homepage-cust .product-card .price-old {
        font-size: 0.5625rem;
    }
    
    #homepage-cust .product-card .price-current {
        font-size: 0.8125rem;
    }
    
    #homepage-cust .section-loadmore {
        padding: 0.5rem 0.5rem 1.5rem;
    }
    
    #homepage-cust .btn-loadmore {
        padding: 0.75rem;
        font-size: 0.8125rem;
    }
}