@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700;900&display=swap');

:root {
    --apple-bg: #ffffff;
    --apple-secondary: #f5f5f7;
    --apple-blue: #0071e3;
    --apple-text: #1d1d1f;
    --apple-gray: #86868b;
}

body {
    font-family: 'Inter', -apple-system, sans-serif;
    color: var(--apple-text);
    background-color: var(--apple-bg);
    letter-spacing: -0.02em;
    -webkit-font-smoothing: antialiased;
}

/* Glassmorphism Header */
.glass-header {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: saturate(180%) blur(20px);
    position: sticky;
    top: 0;
    z-index: 9999;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

/* Apple Style Card */
.p-card {
    background: white;
    border-radius: 22px;
    transition: all 0.5s cubic-bezier(0, 0, 0.5, 1);
}

.p-card:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.hero-gradient {
    background: linear-gradient(180deg, #ffffff 0%, #f5f5f7 100%);
}

.btn-buy {
    background-color: var(--apple-blue);
    color: white;
    border-radius: 980px;
    padding: 8px 18px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.btn-buy:hover {
    background-color: #0077ed;
    opacity: 0.9;
}
/* Swiper Custom 스타일 */
.swiper-pagination-bullet-active {
    background: var(--apple-text) !important;
}

.banner-zoom:hover img {
    transform: scale(1.05);
}

.strip-banner {
    background: linear-gradient(90deg, #000000 0%, #1d1d1f 100%);
    position: relative;
    overflow: hidden;
}

.strip-banner::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
}
.no-scrollbar::-webkit-scrollbar { display: none; }
        .no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }
		/* 카테고리 필터 버튼 기본 스타일 */
/* 1. 카테고리 영역 전체 컨테이너 */
.category-grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 모바일 기본 2단 */
    gap: 12px;
    padding: 30px 20px !important; /* 상단 여백을 충분히 주어 잘림 방지 */
    max-width: 900px;
    margin: 0 auto;
}

/* 2. PC 환경 (640px 이상) 대응 */
@media (min-width: 640px) {
    .category-grid-container {
        display: flex; /* PC에서는 다시 가로 한 줄로 세련되게 */
        flex-wrap: wrap;
        justify-content: center;
        gap: 14px;
        padding: 50px 20px !important;
    }
}

/* 3. 필터 버튼 프리미엄 스타일 */
.filter-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 20px;
    font-size: 0.95rem;
    font-weight: 700;
    color: #424245; /* 애플 다크 그레이 */
    background-color: #ffffff;
    border: 1px solid #d2d2d7;
    border-radius: 18px; /* 최신 iOS 위젯 느낌의 곡률 */
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

/* 4. 마우스를 올렸을 때 (Hover) - 세련된 블루 포인트 */
@media (min-width: 1024px) {
    .filter-btn:hover {
        background-color: #f5faff; /* 연한 블루 화이트 */
        color: #0071e3; /* 애플 시그니처 블루 */
        border-color: #0071e3;
        transform: translateY(-8px); /* 시원하게 위로 부상 */
        box-shadow: 0 15px 30px rgba(0, 113, 227, 0.12); /* 은은한 블루 그림자 */
    }
}

/* 5. 선택된 상태 (Active) - 블루 테마 통일 */
.filter-btn.active {
    background-color: #0071e3 !important;
    color: #ffffff !important;
    border-color: #0071e3 !important;
    box-shadow: 0 10px 20px rgba(0, 113, 227, 0.25);
    z-index: 10;
}

/* 6. 클릭 시 눌리는 손맛 (Active State) */
.filter-btn:active {
    transform: scale(0.95) translateY(-2px);
    transition: all 0.1s;
}

/* 모바일 폰트 최적화 */
@media (max-width: 640px) {
    .filter-btn {
        padding: 18px 10px;
        font-size: 0.9rem;
        letter-spacing: -0.03em;
    }
}