/*
Theme Name: The7 Child
Theme URI: https://the7.com/
Description: Child theme for the The7 theme
Author: Dream-Theme
Author URI: https://dream-theme.com/
Template: dt-the7
Version: 1.0.0
*/
html {
	    word-break: keep-all;
}
.logged-in .acc-page {
	display: block;
}
.acc-page {
	display: none;
}
.shop-btn a:hover {
	border-color: #08193F !important;
}
.view-btn a:hover {
	border-color: #FFFFFF !important;
}
.btn-bg {
  filter: grayscale(100%);
  transition: filter 0.5s ease;
}

.btn-bg:hover {
  filter: grayscale(0%);
}
.kboard-default-poweredby {
	opacity: 0 !important;
}
#kboard-default-list .kboard-list table td.kboard-list-user {
    width: 150px !important;
}
.woocommerce-MyAccount-navigation-link br {
    display: none;
}
.news1 thead, .news2 thead {
	display: none !important;
}
.news1 td, .news2 td, .news1 table, .news2 table {
	border: none !important;
}
.news1 .kboard-default-cut-strings {
    color: #fff;
    font-size: 28px;
	line-height: 1.4em;
    overflow: hidden;
display: -webkit-box;
-webkit-line-clamp: 2; /* ← вот ключ! */
-webkit-box-orient: vertical;
text-overflow: ellipsis;
	    white-space: normal;
}
.news1 .kboard-default-new-notify, .news2 .kboard-default-new-notify {
	display: none;
}
.news1 td {
	width: 100% !important;
	display: block;
	word-break: break-all;
}
.news1 td.kboard-latest-date, .news2 td.kboard-latest-date {
    color: #d0d0d0;
    text-align: left !important;
}
.news1 td.kboard-latest-title {
	padding: 0 30px 0 0 !important;
	margin: 20px 0;
	border-right: 2px solid #fff !important;
}
.news2 td.kboard-latest-title {
	margin: 20px 0;
	display: block;
	padding: 0 !important;
}
.news2 .kboard-default-cut-strings {
	color: #fff;
	font-size: 18px;
	padding-right: 20px;
}
/* Контейнер под ховер */
.rcy-hover-bg {
  position: relative;
  overflow: hidden;
}

/* Оверлей у контейнера сделаем управляемым */
.rcy-hover-bg::before {
  /* у контейнера и так есть background-image через Elementor,
     мы только управляем его видимостью */
  opacity: 0;
  transition: opacity 0.4s ease;
}

/* DESKTOP: показать второе изображение при hover */
.rcy-hover-bg:hover::before {
  opacity: 1;
}

/* MOBILE/CLICK: показать второе изображение при активном классе */
.rcy-hover-bg.is-active::before {
  opacity: 1;
}
.wlicon a {
	width: 20px !important;
	height: 20px !important;
}
.wlicon a::before {
margin: 0 !important;
	font-size: 24px !important;
	top: -1px !important;
	left: 0 !important;
	color: #000;
}
.ic-overlay {
	opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.product-l:hover .ic-overlay {
opacity: 1;
    transform: translateY(0);
}
.ic-overlay .elementor-widget-the7-woocommerce-loop-add-to-cart .box-button>span:not(.filter-popup):not(.popup-icon) {
	display: none !important;
}
.sprice span {
	    color: #d75241;
    font-size: 2em;
}
.rprice .wc-price-sale bdi {
	font-size: 26px;
    color: #000;
    font-weight: 500;
}
.rprice .woocommerce-Price-currencySymbol {
	font-size: 18px;
}
.oprice bdi {
	font-size: 16px;
    text-decoration: line-through;
    color: #bebebe;
}
.product-l {
	font-family: "Nanum Myeongjo", sans-serif;
	font-weight: 600;
}
.product-l .sprice span {
	color: #000;
    font-size: 1em;
}
.product-l .rprice .wc-price-sale bdi {
	font-size: 20px;
    color: #d75241;
	font-weight: 600;
}
.hbtn .tinv-wishlist .tinvwl_add_to_wishlist_button.tinvwl-icon-heart.no-txt {
    width: 40px;
    height: 40px;
	}
.hbtn .tinv-wishlist .tinvwl_add_to_wishlist_button.tinvwl-icon-heart.no-txt:before {
    font-size: 30px;
}
.recimg:hover .wp-caption-text {
	background: #fff !important;
	color: #000 !important;
}
.recimg {
	overflow: hidden;
}
.recimg img {
	transition: all 1s ease;
	transform: scale(1);
}
.recimg:hover img {
	transform: scale(1.1);
}
.recimg .wp-caption-text {
    position: absolute;
    justify-self: anchor-center;
    align-self: anchor-center;
    color: #fff;
    padding: 5px 20px;
    border: 1px solid #fff;
    border-radius: 30px;
		transition: all 0.5s ease;
}
.comment_container {
    background: #fff !important;
    padding: 30px !important;
    border: 1px solid #eee !important;
}
#reviews .cr-summaryBox-wrap {
    margin: 2em 0 2em 0 !important;
    background-color: #ffffff !important;
    padding: 30px !important;
    border: 1px solid #eee;
}
.the7-e-woo-cart-wrapper .elementor-widget-container {
	height: 100vh;
    min-height: unset !important;
}


/**
 * 결제
 */
.theme-dt-the7 .select2-container {
    max-width: 100%;
}
.wf-container-main .woocommerce-products-header h2 {
    text-align: center;
}
.wf-container-main .woocommerce-products-header .page-description form {
    display: none;
}
.wc-order-review .wc-coupon-wrap .woocommerce-info-text {
    display: none;
}
.wc-order-review .wc-coupon-wrap .checkout_coupon {
    display: block !important;
}
.wc-order-review .wc-coupon-wrap .checkout_coupon .form-coupon-wrap {
    padding: 0;
    margin: 0;
}
.woocommerce-products-header .page-description a {
    display: none;
}

.product-category-nav {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding: 20px 0;
    justify-content: center;
    }

.product-category-nav .cat-item {
    flex: 0 0 auto;
    margin: 0;
    padding: 0;
    font-size: 16px;
    color: #333;
    text-decoration: none;
    text-align: center;
}

.product-category-nav .cat-item .cat-thumb {
    margin: 0 auto 6px;
    width: 80px;
    height: 80px;
    aspect-ratio: 1 / 1;
    background-color: #fafafa;
    border: 1px solid #eee;
    border-radius: 50%;
    overflow: hidden;
}
.product-category-nav .cat-item .cat-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.product-category-nav .cat-item span {
    color: #727272;
}

.product-category-nav .cat-item.active span {
    color: #333;
    font-weight: 500;
}
.woocommerce-Addresses {
    overflow: hidden;
}
.the7-woocommerce-checkout .woocommerce-shipping-fields {
    display: none;
}

@media all and ( max-width: 767px ){
    .product-category-nav {
        justify-content: flex-start;
        gap: 8px;
    }
    .product-category-nav .cat-item .cat-thumb {
        width: 60px;
        height: 60px;
    }
    .product-category-nav .cat-item span {
        font-size: 12px;
    }
}