/* BASIC css start */

/* 1. ÀüÃ¼ ÄÁÅ×ÀÌ³Ê ¹× Çì´õ ½ºÅ¸ÀÏ */
.fw-shorts-container {
    max-width: 1780px !important;
    margin: 80px auto !important;
    padding: 0 20px !important;
    box-sizing: border-box !important;
    font-family: 'Pretendard', sans-serif;
}

.fw-shorts-header {
    text-align: center;
    margin-bottom: 60px;
}

.fw-headline {
    font-size: 34px !important;
    font-weight: 800 !important;
    color: #111 !important;
    letter-spacing: 2px !important;
    margin-bottom: 15px !important;
    text-transform: uppercase;
}

.fw-subcopy {
    font-size: 16px;
    font-weight: 300;
    color: #888;
    letter-spacing: -0.5px;
}

/* 2. 4´Ü ±×¸®µå ·¹ÀÌ¾Æ¿ô */
.fw-shorts-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 30px !important;
}

.fw-shorts-item {
    width: 100%;
    cursor: pointer;
}

/* 3. ½æ³×ÀÏ ¿µ¿ª (9:16 ºñÀ²) */
.fw-thumb-box {
    position: relative !important;
    width: 100% !important;
    padding-bottom: 177.78% !important;
    height: 0 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    background: #000;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.fw-thumb-img {
    position: absolute !important;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover !important;
    transition: transform 0.4s ease;
}

.fw-shorts-item:hover .fw-thumb-img {
    transform: scale(1.05);
}

/* 4. À¯Æ©ºê ¼îÃ÷ ¹èÁö */
.fw-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50px;
    backdrop-filter: blur(4px);
    transition: 0.3s;
}

.fw-badge i { color: #fff; font-size: 14px; }
.fw-badge span { color: #fff; font-size: 11px; font-weight: 700; text-transform: uppercase; }

.fw-shorts-item:hover .fw-badge { background: #fff; }
.fw-shorts-item:hover .fw-badge i { color: #ff0000; }
.fw-shorts-item:hover .fw-badge span { color: #111; }

/* 5. È£¹ö ½Ã ÇÃ·¹ÀÌ ¿À¹ö·¹ÀÌ */
.fw-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    background: rgba(0,0,0,0.25); opacity: 0; transition: 0.3s; z-index: 4;
}

.fw-overlay i { color: #fff; font-size: 45px; }
.fw-shorts-item:hover .fw-overlay { opacity: 1; }

/* 6. ¸ñ·ÏÀÇ ÅØ½ºÆ® ½ºÅ¸ÀÏ */
.fw-text-box { padding: 20px 10px; text-align: center; }
.fw-item-title { font-size: 17px !important; font-weight: 700 !important; color: #111 !important; margin: 0 0 8px 0 !important; }
.fw-item-desc { font-size: 14px !important; color: #666 !important; font-weight: 300; line-height: 1.5; margin: 0 !important; }

/* 7. ¸ð´Þ ÆË¾÷ ·¹ÀÌ¾î */
.fw-modal {
    display: none; position: fixed; z-index: 100000; top: 0; left: 0;
    width: 100%; height: 100%; background: rgba(0,0,0,0.9);
    align-items: center; justify-content: center; backdrop-filter: blur(5px); z-index:999999999;
}

.fw-modal-content {
    position: relative; width: 90%; max-width: 420px;
    animation: fwFadeUp 0.3s ease-out;
}

@keyframes fwFadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fw-video-container {
    position: relative; padding-bottom: 177.78%; height: 0;
    background: #000; border-radius: 15px 15px 0 0; overflow: hidden;
}

.fw-video-container iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

.fw-modal-close {
    position: absolute; top: -50px; right: 0; color: #fff;
    font-size: 45px; cursor: pointer; font-weight: 100;
}

/* 8. [½Å±Ô] ¸ð´Þ ³» Á¦Ç° Á¤º¸ Ä«µå */
.fw-product-card {
    display: flex; align-items: center; gap: 15px;
    background: #fff; padding: 15px; border-radius: 0 0 15px 15px;
    margin-top: -1px;
}

.fw-prod-img {
    width: 60px; height: 60px; border-radius: 8px;
    overflow: hidden; flex-shrink: 0; border: 1px solid #eee;
}

.fw-prod-img img { width: 100%; height: 100%; object-fit: cover; }

.fw-prod-info { flex-grow: 1; }

.fw-prod-info h4 {
    font-size: 15px !important; font-weight: 700 !important;
    color: #111 !important; margin: 0 0 8px 0 !important;
}

.fw-view-btn {
    display: inline-block; background: #333; color: #fff !important;
    padding: 6px 15px; border-radius: 6px; font-size: 13px;
    text-decoration: none !important; transition: 0.2s;
}

.fw-view-btn:hover { background: #000; }

/* 9. ÇÏ´Ü Ã¤³Î ¹öÆ° */
.fw-footer-btn { text-align: center; margin-top: 60px; }
.fw-btn-link {
    display: inline-flex; padding: 18px 45px; border: 1px solid #111;
    background: #fff; color: #111 !important; text-decoration: none !important;
    font-size: 14px; font-weight: 700; letter-spacing: 1.5px; transition: 0.3s;
}

.fw-btn-link:hover { background: #111; color: #fff !important; }

/* 10. ¹ÝÀÀÇü ´ëÀÀ */
@media (max-width: 1200px) { .fw-shorts-grid { grid-template-columns: repeat(3, 1fr) !important; } }
@media (max-width: 768px) {
    .fw-shorts-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 15px !important; }
    .fw-headline { font-size: 26px !important; }
    .fw-modal-content { max-width: 85%; }
    .fw-btn-link { width: 100%; justify-content: center; }
}


/* BASIC css end */

