/* BASIC css start */

.snap_collection_wrap {
    width: 100%;
    margin: 0 auto;
    background: #fff;
    color: #111;
}

/* ==============================
    MAIN TAB
============================== */
.coupon {display:flex; padding:80px 0; justify-content:center; flex-direction:column; gap:16px; text-align:center;}
.snap_main_tab {
    position: sticky;
    top: 175px;
    z-index: 100;
    background: #fff;
    border-bottom: 1px solid #ececf1;
    transform: translateZ(0);
}

.snap_main_tab_inner {
    display: flex;
    align-items: center;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.snap_main_tab_inner::-webkit-scrollbar {
    display: none;
}

.snap_main_tab button {
    flex: 0 0 auto;
    height: 54px;
    padding: 0 28px;
    border: 0;
    background: transparent;
    color: #747891;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: -0.3px;
    cursor: pointer;
    position: relative;
}

.snap_main_tab button.active {
    color: #111;
    font-weight: 700;
}

.snap_main_tab button.active:after {
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: -1px;
    height: 2px;
    background: #111;
}

/* ==============================
    SECTION
============================== */

.snap_section {
    padding: 26px 16px 64px;
    background: #fff;
}

.snap_section + .snap_section {
    border-top: 10px solid #f5f5f7;
}

.snap_section h2 {
    margin: 0 0 18px;
    font-size: 22px;
    line-height: 1.3;
    font-weight: 800;
    color: #111;
    letter-spacing: -0.5px;
}

/* ==============================
    TIMER SECTION
============================== */

.snap_timer_section {
    padding-top: 40px;
}

.snap_timer_head {
    text-align: center;
    padding: 0 0 34px;
}

.snap_timer_head h2 {
    margin: 0 0 10px;
    font-size: 28px;
    line-height: 1.3;
    font-weight: 800;
    letter-spacing: -0.8px;
    color: #111;
}

.snap_timer_head p {
    margin: 0 0 34px;
    color: #68708c;
    font-size: 15px;
    line-height: 1.5;
}

.snap_countdown {
    text-align: center;
}

.snap_countdown .count_label {
    margin-bottom: 16px;
    color: #68708c;
    font-size: 14px;
    font-weight: 500;
}

.count_time {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 13px;
}

.count_time em {
    display: block;
    margin-top: 2px;
    color: #9aa1b7;
    font-size: 34px;
    line-height: 1;
    font-style: normal;
    font-weight: 700;
}

.count_unit {
    min-width: 50px;
    text-align: center;
}

.count_unit strong {
    display: block;
    color: #111;
    font-size: 34px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 1px;
}

.count_unit span {
    display: block;
    margin-top: 9px;
    color: #68708c;
    font-size: 11px;
    font-weight: 600;
}

.snap_main_visual {
    max-width: 760px;
    margin: 0 auto 34px;
    border-radius: 6px;
    overflow: hidden;
    background: #f5f5f7;
}

.snap_main_visual img {
    display: block;
    width: 100%;
    height: auto;
}

.snap_product_block {
    max-width: 1200px;
    margin: 0 auto;
}

.snap_product_block h3 {
    margin: 0 0 18px;
    font-size: 22px;
    line-height: 1.3;
    font-weight: 800;
    color: #111;
    letter-spacing: -0.5px;
}

/* ==============================
    SUB TAB
============================== */

.snap_sub_tab {
    position: sticky;
    top: 229px; /* 175px header + 54px main tab */
    z-index: 90;

    display: flex;
    justify-content: flex-start;
    gap: 6px;

    overflow-x: auto;
    white-space: nowrap;

    margin: -8px -16px 22px;
    padding: 10px 16px;

    background: #fff;

    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;

    transform: translateZ(0);
}

.snap_sub_tab::-webkit-scrollbar {
    display: none;
}

.snap_sub_tab button {
    flex: 0 0 auto;
    height: 40px;
    padding: 0 17px;
    border: 0;
    border-radius: 999px;
    background: #f5f5f8;
    color: #4d5265;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: -0.3px;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, font-weight 0.2s ease;
}

.snap_sub_tab button.active {
    background: #000;
    color: #fff;
    font-weight: 700;
}

/* ==============================
    SUB SECTION
============================== */

.snap_sub_section {
    padding-top: 20px;
}

.snap_sub_section + .snap_sub_section {
    margin-top: 48px;
}

.snap_sub_section h3 {
    margin: 0 0 18px;
    font-size: 22px;
    line-height: 1.3;
    font-weight: 800;
    color: #111;
    letter-spacing: -0.5px;
}

/* ==============================
    PC
============================== */

@media screen and (min-width: 1024px) {
    .snap_collection_wrap {
        max-width: 1200px;
    }

    .snap_main_tab_inner {
        justify-content: center;
    }

    .snap_sub_tab {
        justify-content: center;
        margin-left: 0;
        margin-right: 0;
        padding-left: 0;
        padding-right: 0;
    }
}

@media screen and (max-width: 767px) {
    /* sticky top   JS °¡ ½ÇÁ¦ Çì´õ ³ôÀÌ·Î µ¤¾î¾²±â Àü±îÁöÀÇ fallback */
    .snap_main_tab {
        top: 50px;
    }
    .snap_sub_tab {
        top: 104px; /* 50px header + 54px main tab */
    }

    .snap_main_tab button {
        height: 50px;
        padding: 0 18px;
        font-size: 14px;
    }

    .snap_timer_head h2 {
        font-size: 24px;
    }

    .count_unit strong {
        font-size: 30px;
    }

    .count_time em {
        font-size: 30px;
    }

    .snap_main_visual {
        margin-left: 0;
        margin-right: 0;
    }
}
/* BASIC css end */

