/* BASIC css start */
.shopdetail .shopdetailInfo {background-color:#f5f5f5; border-top:1px solid #c7c7c7;}
.shopdetail .shopdetailInfo h2 {font-size:1.333em; font-weight:bold; text-align:center; padding-top:16px;}
.shopdetail h3 {font-weight:bold; color:#fff; padding:10px 15px; margin-bottom:10px; background-color:#dc143c ;}
.shopdetail h3 .fa {float:right; font-size: 1.5em;}
.shopdetail .shopdetailInfo .shopdetailInfoTop figure {padding:16px 15px; border-bottom:1px solid #c7c7c7;}
.shopdetail .shopdetailInfo .shopdetailInfoTop figcaption {text-align:left; margin-top:16px;}
.shopdetail .shopdetailInfo .shopdetailInfoTop figcaption p.hashtag {margin-top: 5px;}
.shopdetail .shopdetailInfo .shopdetailInfoTop figcaption p.hashtag a {

white-space: nowrap; margin-right:5px;
  display: inline-block;
  margin: 0px 4px 5px 0px;
  padding: 3px;
  background: #fff0f5 ;
  border-radius: 2px;
  transition: all 0.3s ease-out;
  box-shadow: inset 0 0 4px 2px rgba(255,5,5,.105);

  /* Font styles */
  text-decoration: none;  color: #333333;
}

.shopdetail .shopdetailInfo .shopdetailInfoBottom {background-color:#fff;}
.shopdetail .shopdetailInfo .shopdetailInfoBottom .shopdetailInfoValue {position: relative; border-bottom:1px solid #c7c7c7; padding:18px 15px;}
.shopdetail .shopdetailInfo .shopdetailInfoBottom .shopdetailInfoValue em {color:#f1191f; font-size:1.333em;}
.shopdetail .shopdetailInfo .shopdetailInfoBottom .shopdetailInfoValue p {margin-bottom:8px;}
.shopdetail .shopdetailInfo .shopdetailInfoBottom .shopdetailInfoValue p:last-child {margin-bottom:0px;}
.shopdetail .shopdetailInfo .shopdetailInfoBottom .shopdetailInfoValue .shopdetailInfoName {width:30%; display:inline-block;}
.shopdetail .shopdetailInfo .shopdetailInfoBottom .shopdetailInfoValue .shopdetailInfoCont {width:70%; display:inline-block; margin-left: -4px;}
.shopdetail .shopdetailInfo .shopdetailInfoBottom .shopdetailInfoValue .region {margin-left: 10px;}
.shopdetail .shopdetailInfo .shopdetailInfoBottom .shopdetailInfoValue .btn_relation {position:absolute; top:50%; right:10px; text-align:center; margin-top: -25px;}
.shopdetail .shopdetailInfo .shopdetailInfoBottom .shopdetailInfoValue .btn_relation a {width:50px; height:50px; color:#ffc0cb ; background-color:#080808; display: inline-block; font-size:0.917em; border-radius: 4px; border:1px solid #A8A8A8;}
.shopdetail .shopdetailInfo .shopdetailInfoBottom .shopdetailInfoValue .btn_relation a:first-child {}
.shopdetail .shopdetailInfo .shopdetailInfoBottom .shopdetailInfoValue .btn_relation a .fa {display:block; margin:6px 0 3px 0;}
.shopdetailInfoDelivery {padding:10px 15px;}
/* 상품옵션 */
.shopdetail .shopdetailInfo .shopdetailInfoBottom .option_area {}
.shopdetail .shopdetailInfo .shopdetailInfoBottom .option_area.fixed {width: 100%; position: fixed; z-index: 101; bottom: 0; left: 0; right: 0;}
.shopdetail .shopdetailInfo .shopdetailInfoBottom .option_area.fixed {-webkit-animation: qbuy 150ms linear 1 normal; animation: qbuy 150ms linear 1 normal;}
@-webkit-keyframes qbuy {
 from {bottom:-65px;}
 to {bottom:0;}
}
@keyframes qbuy {
 from {bottom:-65px;}
 to {bottom:0;}
}
.shopdetail .shopdetailInfo .shopdetailInfoBottom .option_area.fixed .option_tk {height:150px; overflow-y:auto; background-color: #fff;}
.shopdetail .shopdetailInfo .shopdetailInfoBottom .fixed-btn {width:100%; box-sizing: border-box; position:relative; bottom:0; left:0; right:0; background-color:#f6f6f6; border-top:1px solid #dfdfdf; z-index: 101; text-align: center; padding:6px; margin:0 auto; display:none;}
.shopdetail .shopdetailInfo .shopdetailInfoBottom .fixed-btn.fixed {display: block; position: fixed;}
.shopdetail .shopdetailInfo .shopdetailInfoBottom .option_area.fixed .fixed-btn.fixed {display: block; position: relative;}
.shopdetail .shopdetailInfo .shopdetailInfoBottom .fixed-btn .btn_option {position: absolute; top: -16px; left: 50%; margin-left:-33px;}
.shopdetail .shopdetailInfo .shopdetailInfoBottom .shopdetailInfoMultiSelect {background-color: #fff; border-top: 1px dotted #444;}
.shopdetail .shopdetailInfo .shopdetailInfoBottom .buy_on {background-color: #f6f6f6; text-align: center; padding: 10px 15px; display:none;}
.shopdetail .shopdetailInfo .shopdetailInfoBottom .buy_on a {width:48%; color: #3b3b3b; background-color:#fff; border:1px solid #f1191f; display: inline-block; padding:6px 0; margin: 0;}
.shopdetail .shopdetailInfo .shopdetailInfoBottom .buy_on a.buy {background-color:#f1191f; color:#fff;}
.shopdetail .shopdetailInfo .shopdetailInfoBottom .shopdetailInfoSelect {}
.shopdetail .shopdetailInfo .shopdetailInfoBottom .shopdetailInfoSelect p {background-color:#f6f6f6; padding: 5px 15px;}
.shopdetail .shopdetailInfo .shopdetailInfoBottom .shopdetailInfoSelect p:last-child {margin-bottom:0px;}
.shopdetail .shopdetailInfo .shopdetailInfoBottom .shopdetailInfoSelect .shopdetailInfoName {width: 28%; padding-right: 5px; display:inline-block;}
.shopdetail .shopdetailInfo .shopdetailInfoBottom .shopdetailInfoSelect .shopdetailInfoCont {width:70%; display:inline-block; margin-left: -4px;}
.shopdetail .shopdetailInfo .shopdetailInfoBottom .shopdetailInfoSelect .shopdetailInfoCont select {width:100%;}
.shopdetail .shopdetailInfo .shopdetailInfoBottom .shopdetailInfoSelect .shopdetailInfoCount .txt-qnty {text-align:right; padding:0 6px; width: 50px !important;}
.shopdetail .shopdetailInfo .shopdetailInfoBottom .shopdetailInfoSelect .shopdetailInfoCount .fa-plus {background-color: #bbb; width: 35px; height: 35px; text-align: center; vertical-align: middle; line-height: 35px; color: #fff; margin: 0 5px;}
.shopdetail .shopdetailInfo .shopdetailInfoBottom .shopdetailInfoSelect .shopdetailInfoCount .fa-minus {background-color: #bbb; width: 35px; height: 35px; text-align: center; vertical-align: middle; line-height: 35px; color: #fff;}
.shopdetail .shopdetailInfo .shopdetailInfoBottom .shopdetailInfoMultiSelect .MK_optAddWrap #MK_innerOptScroll {background-color: #f6f6f6; padding:0 15px;}
.shopdetail .shopdetailInfo .shopdetailInfoBottom .shopdetailInfoSelect .add-option-sel {font-weight: bold; font-size: 1.1em; padding-top: 10px;}
.shopdetail .shopdetailInfo .shopdetailInfoBottom .shopdetailInfoSelect .add-option select {margin-bottom: 10px;}
.shopdetail .shopdetailInfo .shopdetailInfoBottom .shopdetailInfoSelect .add-option .shopdetailInfoName {vertical-align: top; padding-top: 11px;}
.shopdetail .shopdetailBoard {text-align:center; border-top:5px solid #696969; border-bottom:1px solid #696969; margin-bottom:32px;}
.shopdetail .shopdetailBoard a {width:33.33%; background-color:#faf0e6; border-left:1px solid #696969; display:inline-block; margin-left: -1px; font-weight:bold; padding:20px 0;}
.shopdetail .shopdetailBoardn {text-align:center; border-top:5px solid #696969; border-bottom:1px solid #696969; margin-bottom:32px;}
.shopdetail .shopdetailBoardn a {width:33.33%; background-color:#faf0e6; border-left:1px solid #696969; display:inline-block; margin-left: -1px; font-weight:bold; padding:20px 0;}

.MK_optAddWrap .MK_inner-opt-cm li {position:relative; border-bottom:1px solid #c7c7c7; padding: 12px 0;}
.MK_optAddWrap .MK_inner-opt-cm li:last-child {border-bottom:0px none;}
.MK_optAddWrap .MK_inner-opt-cm .MK_p-name {padding-right: 30px; display: block;}
.MK_optAddWrap .MK_inner-opt-cm .MK_qty-ctrl {margin-top:8px;}
.MK_optAddWrap .MK_inner-opt-cm .MK_qty-ctrl input[type="tel"] {padding:0 6px; width: 50px;}
.MK_optAddWrap .MK_inner-opt-cm .MK_btn-del {position:absolute; top:12px; right:0;}
.MK_optAddWrap .MK_inner-opt-cm .MK_btn-del img {width: 20px;}
.MK_optAddWrap .MK_inner-opt-cm .MK_price {position:absolute; bottom:21px; right:0; font-size: 1.3em;}
.MK_optAddWrap .MK_inner-opt-cm .MK_qty-ctrl .btn-type-02 {background-color: #bbb; width: 35px; height: 35px; text-align: center; vertical-align: middle; line-height: 35px; color: #fff; display: inline-block;}
.MK_optAddWrap .total {text-align:right; padding:10px 15px; font-size: 1.3em;}
.MK_optAddWrap .MK_total {font-size:18px; color:#f1191f; margin-left:15px;}
.MK_optAddWrap .MK_txt-won {font-size:17px;}
/* //상품옵션 */
.shopdetail .shopdetailInfo .shopdetailInfoBottom .shopdetailTotal {background-color:#fff; text-align:right; padding:15px; font-size:1.2em;}
.shopdetail .shopdetailInfo .shopdetailInfoBottom .shopdetailTotal em {color:#f1191f; font-size:1.333em; margin-left:16px;}
.shopdetail .shopdetailInfo .shopdetailInfoBottom .shopdetailButton {text-align:center; padding:15px; border-top:1px solid #4a4a4a;}
.shopdetail .shopdetailInfo .shopdetailInfoBottom .shopdetailButton .shopdetailButtonTop a {padding:15px 14px; display: inline-block; margin:0 2px; font-weight:bold;}
.shopdetail .shopdetailInfo .shopdetailInfoBottom .shopdetailButton .shopdetailButtonTop a.wish {background-color:#FFF; border:1px solid #393939;}
.shopdetail .shopdetailInfo .shopdetailInfoBottom .shopdetailButton .shopdetailButtonTop a.cart {color:#fff; background-color:#393939; border:1px solid #393939;}
.shopdetail .shopdetailInfo .shopdetailInfoBottom .shopdetailButton .shopdetailButtonTop a.buy {color:#fff; background-color:#f1191f; border:1px solid #f1191f; padding:15px 32px;}
.shopdetail .shopdetailInfo .shopdetailInfoBottom .shopdetailButton .shopdetailButtonBottom {margin:20px 0;}
.shopdetail .shopdetailInfo .shopdetailInfoBottom .shopdetailButton .shopdetailButtonBottom img {margin:0 2px; width:45px; height:auto;}
.shopdetail .shopdetailCoupon {margin-top:15px;}
.shopdetail .shopdetailCoupon .shopdetailCouponGet {padding:0 15px;}
.shopdetail .shopdetailCoupon .shopdetailCouponGet li {height:34px; background:url("/images/d3/m_04/bg_coupon@2x.gif") no-repeat left center; padding:10px 0 10px 92px; border-bottom:1px dashed #cbcbcb; position:relative; background-size: 81px auto;}
.shopdetail .shopdetailCoupon .shopdetailCouponGet li:last-child {border-bottom:0px none;}
.shopdetail .shopdetailCoupon .shopdetailCouponGet .MS_coupon dt {width:82px; position:absolute; top:10px; left:0 ; color:#fff; text-align:center;}
.shopdetail .shopdetailCoupon .shopdetailCouponGet .MS_coupon dt strong {font-weight: normal;}
.shopdetail .shopdetailCoupon .shopdetailCouponGet .MS_coupon h4 {font-weight:bold;}
.shopdetail .shopdetailItem .shopdetailItemPopup {text-align:center; padding:0 15px; margin:22px 0;}
.shopdetail .shopdetailItem .shopdetailItemPopup a {font-weight:bold; color:#fff; background-color:#636363; display:block; padding:10px 0;}
.shopdetail .shopdetailItem .shopdetailItemPopup .shopdetailItemZoom {height:60px; padding:0 0 0 75px; margin-top:10px; background:url("/images/d3/m_04/bg_hand@2x.gif") no-repeat 20px center; line-height: 60px; background-size: 50px auto;}
.shopdetail .shopdetailItem .shopdetailImage img {width:100%;}
.shopdetail .shopdetailItem .shopdetailImage table {width:100% !important;}
.shopdetail .shopdetailItem .shopdetailImage object {width:100% !important;}
.shopdetail .shopdetailItem .shopdetailImage iframe {width:100% !important;}
.shopdetail .shopdetailItem .shopdetailImage table {table-layout: auto !important;}
.shopdetail .shopdetailItem .shopdetailImage div {width:100% !important;}
.shopdetail .shopdetailItem .shopdetailNotify {margin-top:24px;}
.shopdetail .shopdetailItem .shopdetailNotify .shopdetailNotifyInfo {padding:0 15px;}
.shopdetail .shopdetailItem .shopdetailNotify .shopdetailNotifyInfo dt {font-weight:bold; margin-bottom:2px;}
.shopdetail .shopdetailItem .shopdetailNotify .shopdetailNotifyInfo dd {margin:0 0 25px 6px;}
.shopdetail .shopdetailRelationItem {padding:0 15px 30px 15px;}
.shopdetail .shopdetailRelationItem .listName input {float:right;}
.shopdetail .shopdetailRelationItem .btn_cart {width:290px; text-align:center; font-weight:bold; color:#fff; background-color:#393939; display:block; padding:10px 0; margin:0 auto;}
/* 관련상품 */
.shopdetailRelation {margin-bottom:30px;}
.shopdetailRelation .list_shoppingRelationItem1x {padding: 0 7px;}
.shopdetailRelation .list_shoppingRelationItem1x ul {width:100%; display:table; table-layout: fixed; box-sizing: border-box;}
.shopdetailRelation .list_shoppingRelationItem1x li {width:100%; display:inline-block; vertical-align: top; border-top:1px solid #d9d9d9; padding:18px 0;}
.shopdetailRelation .list_shoppingRelationItem1x li figure {padding:0 7px;}
.shopdetailRelation .list_shoppingRelationItem1x li:first-child {border:0px none;}
.shopdetailRelation .list_shoppingRelationItem1x li img.listPic {width:40%; float:left;}
.shopdetailRelation .list_shoppingRelationItem1x .list_shoppingInfo {width:57%; float:left; padding-left:3%; position: relative;}
.shopdetailRelation .list_shoppingRelationItem1x .list_shoppingInfo .listName {border-bottom: 1px solid #dedede; padding: 0 15px 2px 0; margin-bottom: 5px;}
.shopdetailRelation .list_shoppingRelationItem1x .list_shoppingInfo .options-select {width:100%;}
.shopdetailRelation .list_shoppingRelationItem1x .MS_related_checkbox {position:absolute; top:0; right:0;}
.shopdetailRelation .list_shoppingRelationItem1x .list_shoppingInfo .listCount {margin: 12px 0;}
.shopdetailRelation .list_shoppingRelationItem1x .list_shoppingInfo .listCount .amount-input {text-align:right;}
.shopdetailRelation .list_shoppingRelationItem1x .list_shoppingInfo .listCount .fa-plus {background-color: #bbb; width: 30px; height: 30px; text-align: center; vertical-align: middle; line-height: 30px; color: #fff;}
.shopdetailRelation .list_shoppingRelationItem1x .list_shoppingInfo .listCount .fa-minus {background-color: #bbb; width: 30px; height: 30px; text-align: center; vertical-align: middle; line-height: 30px; color: #fff;}
.shopdetailRelation .list_shoppingRelationItem1x .btn_Black {width:100%; background-color:#dc143c ; margin: 0 auto;}
/* //관련상품 */

/* 퀵바이 버튼 노출 시 커뮤니티 탭 위치 변경 */
.cs-button {bottom: 53px !important;}
/* //퀵바이 버튼 노출 시 커뮤니티 탭 위치 변경 */

@media screen and (min-width:420px) and (max-width:767px) {
	.shopdetail .shopdetailInfo {position:relative; overflow:hidden; zoom:1; border-bottom:1px solid #c7c7c7; background-color: #fff;}
	.shopdetail .shopdetailInfo h2 {border-bottom:1px solid #c7c7c7; padding-bottom:16px; background-color: #f5f5f5;}
	.shopdetail .shopdetailInfo .shopdetailInfoTop {float:left;}
	.shopdetail .shopdetailInfo .shopdetailInfoTop figure {border-bottom:0px none;}
	.shopdetail .shopdetailInfo .shopdetailInfoTop, .shopdetail .shopdetailInfo .shopdetailInfoBottom {width:50%;}
	.shopdetail .shopdetailInfo .shopdetailInfoBottom {float:right; background-color:#fff;}
	.shopdetailInfoBottom .shopdetailInfoMultiSelect .MK_optAddWrap #MK_innerOptScroll {background-color: #fff;}
	.shopdetail .shopdetailInfo .shopdetailInfoBottom .shopdetailTotal {border-top:1px solid #c7c7c7;}
	.shopdetail .shopdetailCoupon .shopdetailCouponGet {width:335px; margin:0 auto;}
	.shopdetail .shopdetailRelationItem {padding:0 0 30px 0;}
	.shopdetail .shopdetailInfo .shopdetailInfoBottom .shopdetailButton .shopdetailButtonTop a {padding:10px 8px;}
	.shopdetail .shopdetailInfo .shopdetailInfoBottom .shopdetailButton .shopdetailButtonTop a.buy {padding:10px 8px;}
	.shopdetail .shopdetailItem .shopdetailItemPopup {width:335px; margin:22px auto;}
	.shopdetail .shopdetailRelationItem .btn_cart {margin:34px auto;}
	.shopdetailRelation .list_shoppingRelationItem1x li {width:50%;}
	.shopdetailRelation .list_shoppingRelationItem1x li:nth-child(2) {border:0px none;}
}
@media screen and (min-width:768px) {
	.shopdetail .shopdetailInfo {position:relative; overflow:hidden; zoom:1; border-bottom:1px solid #c7c7c7; background-color: #fff;}
	.shopdetail .shopdetailInfo h2 {border-bottom:1px solid #c7c7c7; padding-bottom:16px; background-color: #f5f5f5;}
	.shopdetail .shopdetailInfo .shopdetailInfoTop {float:left;}
	.shopdetail .shopdetailInfo .shopdetailInfoTop figure {border-bottom:0px none;}
	.shopdetail .shopdetailInfo .shopdetailInfoTop, .shopdetail .shopdetailInfo .shopdetailInfoBottom {width:50%;}
	.shopdetailInfoBottom .shopdetailInfoMultiSelect .MK_optAddWrap #MK_innerOptScroll {background-color: #fff;}
	.shopdetail .shopdetailInfo .shopdetailInfoBottom {float:right; background-color:#fff;}
	.shopdetail .shopdetailInfo .shopdetailInfoBottom .shopdetailTotal {border-top:1px solid #c7c7c7;}
	.shopdetail .shopdetailCoupon .shopdetailCouponGet {width:335px; margin:0 auto;}
	.shopdetail .shopdetailRelationItem {padding:0 0 30px 0;}
	.shopdetail .shopdetailItem .shopdetailItemPopup {width:335px; margin:22px auto;}
	.shopdetail .shopdetailItem .shopdetailNotify {margin-top:36px;}
	.shopdetail .shopdetailRelationItem .btn_cart {margin:34px auto;}
	.shopdetailRelation .list_shoppingRelationItem1x li {width:50%;}
	.shopdetailRelation .list_shoppingRelationItem1x li:nth-child(2) {border:0px none;}
}






/*
 * 기존 style.css의 내용들은 이 위에 유지되어야 합니다.
 * 이 주석 아래부터는 플로팅 메뉴 관련 CSS입니다.
 * (예: body { font-family: 'Noto Sans KR', sans-serif; ... })
 * (예: header#header { background-color: #ffffff; ... })
 * 등등
 */


/* ---------------------------------------------------- */
/* --- 토글 버튼 관련 CSS 시작 (이 부분만 새로 추가/병합) --- */
/* ---------------------------------------------------- */


/* 플로팅 토글 메뉴 컨테이너 */
#floatingToggleMenu {
    position: fixed;
    /* 초기 상태는 화면 중앙에 위치하지만 투명하고 숨겨져 있음 */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* 초기 스케일 0.2 제거, 투명도로만 숨김 */
    
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: transparent;
    padding: 0;
    cursor: grab;

    opacity: 0; /* 초기에는 완전히 투명하게 */
    pointer-events: none; /* 초기에는 클릭 불가 */

    /* opacity, top, left만 애니메이션. transform은 스케일 없이 위치 변경만. */
    /* cubic-bezier를 top, left에만 적용하고 opacity는 ease-out으로 유지하여 부드러운 나타남 */
    transition: opacity 0.5s ease-out, /* 투명도 변화 */
                top 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55), /* 위치 변화 */
                left 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55); /* 위치 변화 */
    /* transform은 'visible'에서 'none'으로 갈 때만 애니메이션 되므로 여기서는 필요 없음 */
    
    touch-action: none; /* 터치 이벤트 기본 동작 방지 */
    box-sizing: border-box;
}

/* 스크롤 다운 시 나타나서 좌측 상단으로 이동하는 최종 위치 및 스타일 */
#floatingToggleMenu.visible {
    opacity: 1; /* 보이게 함 */
    /* 최종 위치: 좌측 상단 (요청하신 그림과 같이) */
    top: 20px; /* 상단에서 20px 떨어짐 */
    left: 20px; /* 좌측에서 20px 떨어짐 */
    transform: none; /* translate(-50%, -50%) 제거 */
    pointer-events: auto; /* 나타나면 클릭 가능 */
}

/* 드래그 중에는 transition을 제거하여 즉각적인 움직임 */
#floatingToggleMenu.dragging {
    transition: none !important;
}

/* 관성 효과를 위한 별도 클래스 */
#floatingToggleMenu.fling-active {
    transition: left 0.8s cubic-bezier(0.25, 1, 0.5, 1),
                top 0.8s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

/* 토글 버튼 (동그란 아이콘 부분) */
#toggleButton {
    background-color: #FF1493;
    backdrop-filter: none;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);

    color: white; /* 아이콘 색상 (Font Awesome 아이콘에 적용) */
    padding: 0;
    border-radius: 50%;
    cursor: grab;
    font-size: 24px; /* Font Awesome 아이콘 크기 */
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    box-sizing: border-box;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

#toggleButton:hover {
    background-color: #C71585;
    transform: scale(1.05);
}

/* 드롭다운 메뉴 (토글 버튼 클릭 시 나타나는 목록) */
#dropdownMenu {
    margin-top: 10px;
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.3s ease-out, opacity 0.3s ease-out;
    padding: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    pointer-events: none;
    border: 1px solid #e0e0e0;
    box-sizing: border-box;
}

/* 드롭다운 메뉴가 활성화(열렸을) 때 */
#dropdownMenu.active {
    max-height: 500px;
    opacity: 1;
    padding: 10px 0;
    pointer-events: auto;
}

/* 드롭다운 메뉴 안의 링크 목록 */
#floatingMenuLinks {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 133px;
}

/* 각 메뉴 항목 */
#floatingMenuLinks li {
    padding: 6px 20px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
}

/* 마지막 메뉴 항목은 아래쪽 테두리 제거 */
#floatingMenuLinks li:last-child {
    border-bottom: none;
}

/* 메뉴 링크 스타일 */
#floatingMenuLinks li a {
    text-decoration: none;
    color: #333; /* 글자 색상 (기존 디자인에 맞게 조절) */
    display: block;
    font-size: 1em;
    font-weight: 400;
    transition: background-color 0.2s ease, color 0.2s ease;
}

/* 메뉴 링크에 마우스 오버 시 */
#floatingMenuLinks li a:hover {
    background-color: #f5f5f5;
    color: #333;
}

/* (선택 사항) 고정된 헤더가 있을 경우 스크롤 이동 시 헤더에 가려지지 않도록 */
html {
    scroll-behavior: smooth; /* 부드러운 스크롤 효과를 위해 유지 */
    /* scroll-padding-top: 80px;  헤더 높이에 따라 조절 (예: 60px 헤더 + 20px 여백) */
}







/* 초기 상태: 화면 아래에 숨겨져 있다가 올라오도록 설정 */
/* 초기 상태: 화면 아래에 숨겨져 있다가 올라오도록 설정 */
/* 초기 상태: 화면 아래에 숨겨져 있다가 올라오도록 설정 */
/* 초기 상태: 화면 아래에 숨겨져 있다가 올라오도록 설정 */
.animated-item {
    opacity: 0;
    transform: translateY(140px); /* 화면 하단에서 100px 위로 올라오는 효과 */
    transition: opacity 0.2s ease-in, transform 0.25s ease-out; /* 부드러운 전환 효과 */
    filter: brightness(100%); /* 기본 밝기 */
    position: relative; /* 섬광 효과를 위한 기준점 */
    overflow: hidden; /* 섬광 효과가 밖으로 나가지 않도록 */
    /* ↓↓↓ 이미지를 중앙에 배치하는 코드 ↓↓↓ */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 화면에 나타났을 때 */
.animated-item.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* 섬광 애니메이션 */
.animated-item.is-visible.flash::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9); /* 흰색 섬광 */
    mix-blend-mode: screen; /* 이미지를 밝게 만듦 */
    animation: flash-animation 0.9s ease-out forwards;
}

@keyframes flash-animation {
    0% {
        opacity: 0.8;
        transform: scale(1.1);
        filter: brightness(200%); /* 더 밝게 */
    }
    50% {
        opacity: 0.4;
        transform: scale(1.05);
        filter: brightness(150%);
    }
    100% {
        opacity: 0;
        transform: scale(1);
        filter: brightness(100%);
    }
}

/* 섬광 효과 중 이미지 자체의 밝기를 조정하는 다른 방법 (선택 사항) */
.animated-item.is-visible.flash img {
    animation: image-brightness-flash 1.4s ease-out forwards;
}

@keyframes image-brightness-flash {
    0% { filter: brightness(300%); }
    50% { filter: brightness(150%); }
    70% { filter: brightness(120%); }
    100% { filter: brightness(100%); }
}

/* 이미지들이 너무 다닥다닥 붙지 않도록 간격 조정 (필요시) */
.animated-item {
    margin-bottom: 0px; /* 각 아이템 아래에 40px 여백 추가 */
}
.animated-item img {
    max-width: 100%; /* 이미지가 부모 div를 넘지 않도록 */
    height: auto;
    display: block; /* 이미지 하단의 불필요한 공백 제거 */
}

/* 이븐도즈 카피롤링 텍스트 기본 스타일 및 애니메이션 */
/* 쇼핑몰 기본 폰트 스타일을 그대로 유지하면서 투명도 애니메이션만 적용 */
.evendoz-rolling-text {
    transition: opacity 0.5s ease-in-out; /* 0.5초 동안 부드럽게 변환 */
    opacity: 1; /* 평소에는 글씨가 보이게 설정 */
}

/* JS가 이 클래스를 붙일 때만 글씨가 스르륵 투명해짐 */
.evendoz-rolling-text.fade-out {
    opacity: 0; 
}
/* BASIC css end */

