
/* December sections only: isolated layout adjustments */
#cus-dec26-promo .cus-posters {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 14px;
    align-items: start
}

#cus-dec26-promo .cus-poster-link {
    display: block;
    min-width: 0
}

    #cus-dec26-promo .cus-poster-link img {
        display: block;
        width: 100%;
        height: auto;
        object-fit: contain;
        border-radius: 12px
    }

#cus-dec26-promo .cus-offers {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 12px
}

#cus-dec26-promo .cus-offer {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center
}

#cus-dec26-promo .cus-dec-images {
    height: 132px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    overflow: hidden
}

    #cus-dec26-promo .cus-dec-images .cus-thumb {
        display: block;
        max-width: 90%;
        max-height: 124px;
        width: auto;
        height: auto;
        object-fit: contain;
        margin: 0
    }

    #cus-dec26-promo .cus-dec-images.cus-combo-images .cus-thumb {
        max-width: 46%;
        max-height: 120px
    }

#cus-dec26-promo .cus-offer h3 {
    min-height: 2.6em
}

#cw-popular-2026 .cw-pop-card:first-child .cw-pop-photo img {
    object-fit: contain
}

@media(max-width:767px) {
    #cus-dec26-promo .cus-posters {
        gap: 8px
    }

    #cus-dec26-promo .cus-poster-link img {
        border-radius: 8px
    }

    #cus-dec26-promo .cus-offers {
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 10px
    }

    #cus-dec26-promo .cus-dec-images {
        height: 110px
    }

        #cus-dec26-promo .cus-dec-images .cus-thumb {
            max-height: 104px
        }

        #cus-dec26-promo .cus-dec-images.cus-combo-images .cus-thumb {
            max-height: 98px
        }
}

@media(max-width:360px) {
    #cus-dec26-promo .cus-offers {
        grid-template-columns: 1fr
    }
}


/* Mobile-only overflow correction. Desktop and original HTML remain unchanged. */
@media (max-width: 767px) {
    #cw-home-addon-2026 {
        box-sizing: border-box;
        width: 100%;
        max-width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }

        #cw-home-addon-2026 *, #cw-home-addon-2026 *::before, #cw-home-addon-2026 *::after {
            box-sizing: border-box;
        }

    #cus-dec26-promo .cus-wrap, #cw-popular-2026 .cw-pop-wrap {
        max-width: 100%;
        min-width: 0;
    }

    #cus-dec26-promo .cus-offers {
        display: grid !important;
        grid-template-columns: repeat(2,minmax(0,1fr)) !important;
        gap: 10px !important;
    }

    #cus-dec26-promo .cus-offer {
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        padding: 12px 8px !important;
        overflow-wrap: normal;
        word-break: keep-all;
    }

        #cus-dec26-promo .cus-offer h3, #cus-dec26-promo .cus-offer p, #cus-dec26-promo .cus-offer strong {
            width: 100%;
            max-width: 100%;
            word-break: keep-all;
            overflow-wrap: break-word;
            line-height: 1.4;
        }

    #cus-dec26-promo .cus-dec-images {
        width: 100%;
        min-width: 0;
    }

    #cw-popular-2026 .cw-pop-grid {
        display: grid !important;
        grid-template-columns: repeat(2,minmax(0,1fr)) !important;
        gap: 12px !important;
    }

    #cw-popular-2026 .cw-pop-card {
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 12px 9px !important;
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }

    #cw-popular-2026 .cw-pop-photo {
        width: 100%;
        max-width: 100%;
    }

        #cw-popular-2026 .cw-pop-photo img {
            max-width: 100%;
            object-fit: contain;
        }

    #cw-popular-2026 .cw-pop-card p, #cw-popular-2026 .cw-pop-card span {
        word-break: keep-all;
        overflow-wrap: break-word;
    }

    #cw-popular-2026 .cw-pop-name {
        line-height: 1.45;
        min-height: 0;
    }

    #cw-popular-2026 .cw-pop-rental {
        margin-top: auto;
    }

    #cw-popular-2026 .cw-pop-view {
        display: block !important;
        width: 100% !important;
        max-width: 100%;
        min-width: 0 !important;
        white-space: nowrap !important;
        text-align: center;
        padding: 9px 4px !important;
    }

    #cw-popular-2026 .cw-pop-promo-price {
        font-size: 1.05em;
    }
}

/* 12월 인기제품 가격 표시만 수정 — 기존 카드 레이아웃 유지 */
#cw-popular-2026 .cw-pop-old-price {
    text-decoration: line-through;
    text-decoration-thickness: 1.5px;
    opacity: .65;
}

#cw-popular-2026 .cw-pop-promo-price {
    display: block;
    color: #d71920;
    font-weight: 800;
    font-size: 1.2em;
    line-height: 1.3;
    margin-top: 4px;
}

#cw-popular-2026 .cw-pop-promo-term {
    display: block;
    font-size: 12px;
    line-height: 1.4;
    margin-top: 3px;
}

/* Requested button corrections only; all other sections unchanged. */
#cw-popular-2026 .cw-pop-view,
#cw-popular-2026 .cw-pop-view:link,
#cw-popular-2026 .cw-pop-view:visited {
    background-color: #0075c9 !important;
    border-color: #0075c9 !important;
    color: #fff !important;
}

    #cw-popular-2026 .cw-pop-view:hover,
    #cw-popular-2026 .cw-pop-view:focus {
        background-color: #005c9e !important;
        border-color: #005c9e !important;
        color: #fff !important;
    }

#cus-dec26-promo .cus-phone-number {
    display: none !important;
}

#cus-dec26-promo .cus-contacts {
    display: grid !important;
    grid-template-columns: repeat(4,minmax(0,1fr)) !important;
    gap: 8px !important;
    align-items: stretch;
}

    #cus-dec26-promo .cus-contacts > .cus-contact {
        display: flex !important;
        align-items: center;
        justify-content: center;
        min-width: 0;
        margin: 0 !important;
        text-align: center;
        white-space: nowrap;
    }

    #cus-dec26-promo .cus-contacts > .cus-mobile-only {
        display: none !important;
    }

    #cus-dec26-promo .cus-contacts > .cus-desktop-only {
        display: flex !important;
    }

@media(max-width:767px) {
    #cus-dec26-promo .cus-contacts {
        gap: 5px !important;
    }

        #cus-dec26-promo .cus-contacts > .cus-contact {
            font-size: clamp(9px,2.5vw,12px) !important;
            padding: 9px 2px !important;
            gap: 3px;
        }

        #cus-dec26-promo .cus-contacts svg {
            width: 14px;
            height: 14px;
            flex-shrink: 0;
        }

        #cus-dec26-promo .cus-contacts > .cus-desktop-only {
            display: none !important;
        }

        #cus-dec26-promo .cus-contacts > .cus-mobile-only {
            display: flex !important;
        }
}


