/* ===== recommended-class & concept-class (공통 카드 스타일) ===== */
.recommended-class-wrapper .item,
.concept-class-wrapper .item {
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}

.recommended-class-wrapper .item .thumbnail,
.concept-class-wrapper .item .thumbnail {
    position: relative;
    height: 0;
    padding-bottom: 66%;
    overflow: hidden;
}

.recommended-class-wrapper .item .thumbnail a img,
.concept-class-wrapper .item .thumbnail a img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.recommended-class-wrapper .item:hover .thumbnail a img,
.concept-class-wrapper .item:hover .thumbnail a img {
    transform: scale(1.03);
}

.recommended-class-wrapper .item .thumbnail .badge-wrap,
.concept-class-wrapper .item .thumbnail .badge-wrap {
    position: absolute;
    left: 10px;
    bottom: 10px;
}

.recommended-class-wrapper .item .thumbnail .badge-wrap .badge-tag,
.concept-class-wrapper .item .thumbnail .badge-wrap .badge-tag {
    color: #fff;
    padding: 3px 10px;
    border-radius: 30px;
    font-size: 12px;
}

.recommended-class-wrapper .item .thumbnail .thumbnail-actions,
.concept-class-wrapper .item .thumbnail .thumbnail-actions {
    position: absolute;
    right: 8px;
    top: 8px;
    display: flex;
    gap: 4px;
    z-index: 2;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(4px);
    border-radius: 20px;
    padding: 4px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.15);
}

.recommended-class-wrapper .item .thumbnail .thumbnail-actions .wishlist-btn,
.concept-class-wrapper .item .thumbnail .thumbnail-actions .wishlist-btn {
    position: static;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: background 0.2s;
}

.recommended-class-wrapper .item .thumbnail .thumbnail-actions .wishlist-btn:hover,
.concept-class-wrapper .item .thumbnail .thumbnail-actions .wishlist-btn:hover {
    background: rgba(0,0,0,0.08);
}

.recommended-class-wrapper .item .thumbnail .thumbnail-actions .wishlist-btn .heart-off,
.concept-class-wrapper .item .thumbnail .thumbnail-actions .wishlist-btn .heart-off {
    display: block;
}

.recommended-class-wrapper .item .thumbnail .thumbnail-actions .wishlist-btn .heart-on,
.concept-class-wrapper .item .thumbnail .thumbnail-actions .wishlist-btn .heart-on {
    display: none;
}

.recommended-class-wrapper .item .thumbnail .thumbnail-actions .wishlist-btn.wishlisted .heart-off,
.concept-class-wrapper .item .thumbnail .thumbnail-actions .wishlist-btn.wishlisted .heart-off {
    display: none;
}

.recommended-class-wrapper .item .thumbnail .thumbnail-actions .wishlist-btn.wishlisted .heart-on,
.concept-class-wrapper .item .thumbnail .thumbnail-actions .wishlist-btn.wishlisted .heart-on {
    display: block;
}

.recommended-class-wrapper .item .thumbnail .thumbnail-actions .wishlist-btn img,
.concept-class-wrapper .item .thumbnail .thumbnail-actions .wishlist-btn img {
    width: 20px;
    height: 20px;
}

.recommended-class-wrapper .item .thumbnail .thumbnail-actions .rc-cart-btn,
.concept-class-wrapper .item .thumbnail .thumbnail-actions .cc-cart-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: transparent;
    color: #532b83;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: background 0.2s;
}

.recommended-class-wrapper .item .thumbnail .thumbnail-actions .rc-cart-btn:hover,
.concept-class-wrapper .item .thumbnail .thumbnail-actions .cc-cart-btn:hover {
    background: rgba(0,0,0,0.08);
}

.recommended-class-wrapper .item .thumbnail .thumbnail-actions .rc-cart-btn svg,
.concept-class-wrapper .item .thumbnail .thumbnail-actions .cc-cart-btn svg {
    flex-shrink: 0;
}

.recommended-class-wrapper .item .info,
.concept-class-wrapper .item .info {
    padding: 12px 2px;
}

.recommended-class-wrapper .item .product-title,
.concept-class-wrapper .item .product-title {
    margin: 0;
}

.recommended-class-wrapper .item .product-title a,
.concept-class-wrapper .item .product-title a {
    color: #1a1a1a;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.recommended-class-wrapper .item .product-tags,
.concept-class-wrapper .item .product-tags {
    margin-bottom: 3px;
}

.recommended-class-wrapper .item .product-tags .class-tag,
.concept-class-wrapper .item .product-tags .class-tag {
    font-size: 13px;
    color: #888;
}

.recommended-class-wrapper .item .product-price,
.concept-class-wrapper .item .product-price {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
}

.recommended-class-wrapper .item .product-price .discount-badge,
.concept-class-wrapper .item .product-price .discount-badge {
    color: #d64a4e;
    font-size: 14px;
    font-weight: 700;
}

.recommended-class-wrapper .item .product-price .sale-price,
.concept-class-wrapper .item .product-price .sale-price {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
}

.recommended-class-wrapper .item .product-price .regular-price,
.concept-class-wrapper .item .product-price .regular-price {
    font-size: 13px;
    color: #aaa;
    text-decoration: line-through;
}


.read-me-wrapper .item a .thumbnail img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.read-me-wrapper .item a .thumbnail {
    padding-bottom: 143%;
    height: 0;
}

.read-me-wrapper .item a .thumbnail:after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, black, transparent 70%);
}

.read-me-wrapper .item a {
    position: relative;
    display: block;
    border-radius: 15px;
    overflow: hidden;
}

.read-me-wrapper .item a .info {
    position: absolute;
    left: 0;
    bottom: 0;
    padding: 20px;
    color: #fff;
}

.read-me-wrapper .item a .info .title {
    font-size: 20px;
    color: #fff;
    line-height: 1.5;
    margin-bottom: 10px;
    overflow: hidden;
    white-space: normal;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    word-break: keep-all;
}

.read-me-wrapper .item a .info .excerpt {
    font-size: 15px;
    color: #fff;
    line-height: 1.5;
    font-weight: 300;
    overflow: hidden;
    white-space: normal;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    word-break: keep-all;
}

.home .course-opened-message {
    padding-left: 0;
    margin: 0;
}

.main-timers-wrapper {
    overflow-x: hidden;
}

.home .main-timers-wrapper .swp-button-wrap {
    top: 26px;
}

@media screen and (max-width:768px) {
    .coming-up-timers-wrapper .swp-button-wrap{
        display: none;
    }
}