@charset "UTF-8";
/* 기획전 상세 페이지 스타일 파일입니다. */
.event-category-nav {
margin-inline: -20px;
}
.event-category-nav:has(.swiper-wrapper) {
padding:20px;
background-color: transparent;
}
.event-category-nav .swiper-slide {
width: auto;
}
.event-category-nav__btn {
padding: 0.7142857143em 1.1428571429em;
border-radius: 28px;
border: 1px solid #ECECEC;
color: #000;
background:#ECECEC;
margin-right:-4px;
font-size:1em;
}
.event-category-nav__btn.is-active {
background-color: var(--color-base-black);
border-color: var(--color-base-black);
color: var(--color-base-white);
}
@supports not selector(:has(.swiper-wrapper)) {
.event-category-nav {
padding: 12px 20px;
background-color: var(--gray100);
}
}
.event-detail button {
cursor: pointer;
}
.event-detail em {
font-weight: 700;
}
.event-detail__top img {
width: fit-content;
height: auto ;
max-height: none ;
aspect-ratio:auto;
object-fit: cover
}
.event-detail .total-sort {
position: static;
padding:0;
padding-bottom:10px;
}
.event-detail .total-sort__count {
width: 100%;
}
.event-detail .product-link {
text-decoration: unset;
}
.event-detail__nav {
position: sticky;
top: 70px;
z-index:4;
}
.event-detail__coupon-button {
padding-block: 12px;
}
.event-detail__download {
background-size: 364px 335px;
background-position: -168px -111px;
width: 12px;
height: 12px;
}
.event-detail__list {
display: grid;
justify-content: space-between;
grid-template-columns: repeat(2, calc(100% / 2 - 5px)) !important;
}
.event-detail__list .thumb-item {
width: auto;
}
.event-detail__list .thumb-item__info {
padding: 12px 0 20px;
}
.event-detail__list .thumb-item__info-name {
font-family: "Noto Sans KR";
font-weight: 500;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
max-height: 2.8em;
line-height: 1.4;
margin-bottom:0;
}
.thumb-item__info-name {
margin-bottom: 4px;
}
.event-detail__list .thumb-item__info .current-price em {
font-family: "Montserrat";
}
.event-detail__list .thumb-item__like-btn svg {
width: 40px;
height: 40px;
}
.event-detail__list .rate {
margin-right: 4px;
}
.event-detail__list--1row .thumb-item__overlay {
font-size: 20px;
}
.event-detail__list--1row .thumb-item .no-img {
background-size: 64px;
}
.event-detail__list--2row .thumb-item .rate {
display: block;
}
.event-detail__list--2row .thumb-item__like-btn svg {
left: 8px;
bottom: 8px;
}
.event-detail__list--3row .thumb-item__overlay, .event-detail__list--3row .thumb-item__status-label, .event-detail__list--3row .thumb-item__info-name, .event-detail__list--3row .thumb-item__info-price {
font-size: 12px;
}
.event-detail__list--3row .thumb-item .origin-price {
display: block;
margin-block: 0 4px;
}
.event-detail__list--3row .thumb-item__like-btn svg {
width: 38px;
height: 38px;
right: 4px;
bottom: 4px;
}
.event-detail__list--3row .thumb-item__info-name {
font-size: 12px;
}
.event-detail__list--3row .thumb-item__info-price {
font-size: 12px;
}
.event-detail__list--4row .thumb-item__info-name, .event-detail__list--4row .thumb-item__info-price {
font-size: 10px;
}
.event-detail__list--4row .thumb-item__status-label {
padding: 2px 4px;
font-size: 10px;
}
.event-detail__list--4row .thumb-item__overlay {
font-size: 10px;
}
.event-detail__list--4row .thumb-item__like-btn svg {
width: 32px;
height: 32px;
right: 1px;
bottom: 1px;
}
.event-detail__list--4row .thumb-item .no-img {
background-size: 32px;
}
.event-detail__list--5row .thumb-item {
margin-block-end: 12px;
}
.event-detail__list--5row .thumb-item__overlay, .event-detail__list--5row .thumb-item__status-label, .event-detail__list--5row .thumb-item__info-name, .event-detail__list--5row .thumb-item__info-price {
font-size: 8px;
}
.event-detail__list--5row .thumb-item__like-btn svg {
width: 20px;
height: 20px;
right: 0px;
bottom: 1px;
}
.event-detail__list--5row .thumb-item__status-label {
padding: 2px 4px;
}
.event-detail__list--5row .no-img {
background-size: 32px;
}
.event-detail .thumb-item__like-btn svg {
fill: var(--color-base-white);
}
.event-detail .thumb-item__like-btn path {
stroke-width: 1;
fill: rgb(255, 255, 255, 0.5);
stroke:#777;
}
.event-detail .thumb-item__like-btn:where(.is-active) svg {
fill: #FF2C2E;
}
.event-detail .thumb-item__like-btn:where(.is-active) path {
stroke-width: 1;
fill: #FF2C2E;
stroke: #FF2C2E;
}
.event-detail .list-banner {
width: 100%;
aspect-ratio: 365 / 145;
background:#FFEEEE;
// margin-bottom삭제
}
.event-detail .list-banner img {
width: 100%;
height: 100%;
object-fit: cover;
display:block;
}
// 기획전GNB밀림
.tab-menu {
position: sticky;
top: 0;
z-index: 100;
background: #fff;
}
.l-header {
min-height: 119px; /* 실제 헤더 높이로 조정 */
}
.header__title,
.header__back{
visibility: hidden;
}
.header__title {
visibility: hidden;
display: flex ;
align-items: center ;
justify-content: center ;
}
.logo-main {margin-left:-22px;}
// 온딜혜택가
.thumb-item__info-price {
margin-bottom: 4px;
margin-top:-2px;
display: flex;
flex-wrap: wrap;
align-items: center;
}
.thumb-item__info-price .price-row {
flex-basis: 100%;
display: flex;
align-items: center;
gap: 6px;
}
.thumb-item__info-price .product-thumb-price-ondeal {
flex-basis: 100%;
}
.thumb-item__info-price .product-thumb-price-ondeal .price-label {
color: #FF2C2E;
font-weight: bold;
font-size: 15px;
line-height: 24px;
}