/* ===== 홈(index) 페이지 전용 스타일 ===== */

/* ----- 상품 가로 슬라이드 ----- */
.product-slide-wrap {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 12px;
    -webkit-overflow-scrolling: touch;
    padding: 0 0 12px;
    scrollbar-width: none;
}
.product-slide-wrap::-webkit-scrollbar { display: none; }
.product-slide-wrap > *:first-child { margin-left: 12px; }
.product-slide-wrap > *:last-child  { margin-right: 12px; }
.product-card-slide {
    flex-shrink: 0;
    width: 140px;
    scroll-snap-align: start;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
}
.product-card-more {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 180px;
    background: #f9fafb;
    border-radius: 12px;
    border: 1.5px dashed #e5e7eb;
}

/* ----- 메인 배너 ----- */
.main-banner {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    padding: 24px 20px;
    min-height: 130px;
    background: linear-gradient(135deg, var(--color-primary) 0%, #FF8C5A 40%, #FFA06E 70%, #FFB347 100%);
    box-shadow: 0 4px 16px rgba(255, 107, 53, 0.35);
}
.banner-deco {
    position: absolute;
    font-size: 36px;
    opacity: 0.18;
    user-select: none;
    pointer-events: none;
    animation: floatDeco 6s ease-in-out infinite;
}
.deco-1 { top: -8px;    right: 20px;  font-size: 52px; animation-delay: 0s; }
.deco-2 { top: 10px;    right: 70px;  font-size: 30px; animation-delay: 0.8s; }
.deco-3 { bottom: -5px; right: 10px;  font-size: 44px; animation-delay: 1.2s; }
.deco-4 { top: 5px;     right: 115px; font-size: 28px; animation-delay: 0.4s; }
.deco-5 { bottom: 5px;  right: 80px;  font-size: 32px; animation-delay: 1.8s; }
.deco-6 { top: 40px;    right: 55px;  font-size: 26px; animation-delay: 2.2s; }
@keyframes floatDeco {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33%       { transform: translateY(-4px) rotate(3deg); }
    66%       { transform: translateY(2px) rotate(-2deg); }
}
@media (prefers-reduced-motion: reduce) {
    .banner-deco { animation: none; }
}
.banner-content {
    position: relative;
    z-index: 1;
    max-width: 65%;
}
.banner-sub {
    font-size: 11px;
    color: rgba(255,255,255,0.85);
    margin: 0 0 4px;
    letter-spacing: 0.3px;
}
.banner-title {
    font-size: 18px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 8px;
    line-height: 1.3;
    text-shadow: 0 1px 4px rgba(0,0,0,0.15);
    letter-spacing: -0.3px;
}
.banner-desc {
    font-size: 12px;
    color: rgba(255,255,255,0.9);
    margin: 0;
    line-height: 1.5;
}

/* ----- 입점 신청 배너 ----- */
.seller-banner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: var(--color-primary-light);
    border: 1px solid #FFD4BE;
    border-radius: var(--radius-md);
}
.seller-banner-icon { font-size: 28px; flex-shrink: 0; }
.seller-banner-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.seller-banner-text strong { font-size: 13px; color: var(--color-text-main); font-weight: 700; }
.seller-banner-text span   { font-size: 11px; color: var(--color-text-sub); }
.seller-banner-btn {
    flex-shrink: 0;
    font-size: 12px;
    font-weight: 700;
    color: var(--color-primary);
    white-space: nowrap;
    text-decoration: none;
}
