/**
 * Content
 */

body {
	background-color: #fff;
	color: #000;
}

a:active {
	opacity: 0.7;
}

.page a.active {
	color: #ff4a00;
}

i,
em {
	font-style: italic;
}

b,
strong {
	font-weight: bolder;
}

sub,
sup {
	position: relative;
	vertical-align: baseline;
}

sub {
	top: 0.3em;
}

sup {
	top: -0.4em;
}

s {
	text-decoration: line-through;
}

img {
	border: 0;
	padding: 0;
}

ul,
ol {
	margin: 0;
	padding: 0 0 0 2.5em;
}

blockquote {
	margin: 0;
	padding: 0 0 0 2em;
}

hr {
	background: rgba(0, 0, 0, 1);
	border: 0;
	height: 1px;
	display: block;
}

.content img {
	float: none;
	margin-bottom: 0em;
}

.gallery_image_caption {
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
	font-weight: 400;
	color: rgba(0, 0, 0, 0.4);
	font-family: "Helvetica Neue", Helvetica, sans-serif, "Helvetica Roman", Icons;
	font-style: normal;
	line-height: 1.3;
}

/**
 * Loading Animation
 */

.loading[data-loading] {
	position: fixed;
	bottom: 8px; 
    left: 8px;
}

/**
 * Editor styles
 */

[data-predefined-style="true"] bodycopy {
	font-size: 1rem;
	font-weight: 400;
	color: rgba(0, 0, 0, 0.85);
	font-family: "Helvetica Neue", Helvetica, sans-serif, "Helvetica Roman", Icons;
	font-style: normal;
	line-height: 1.3;
}

[data-predefined-style="true"] bodycopy a {
	color: rgba(0, 0, 0, 0.85);
	padding-bottom: 0.1em;
	border-bottom: 0.0em solid rgba(127, 127, 127, 0.2);
	text-decoration: none;
}

[data-predefined-style="true"] bodycopy a:hover {

}

bodycopy a.image-link,
bodycopy a.icon-link,
bodycopy a.image-link:hover,
bodycopy a.icon-link:hover {
	border-bottom: 0;
	padding-bottom: 0;
}

[data-predefined-style="true"] h1 {
	font-family: D-DIN, Icons;
	font-style: normal;
	font-weight: 400;
	padding: 0;
	margin: 0;
	font-size: 0.8rem;
	line-height: 1.6;
	color: #949494;
	    
}

[data-predefined-style="true"] h1 a {
	color: rgba(0, 0, 0, 0.85);
}

[data-predefined-style="true"] h2 {
	font-family: Nunito, Icons;
	padding: 0;
	margin: 0;
	color: #000;
	font-size: 1rem;
	line-height: 1.2;
	font-style: normal;
	font-weight: 300;
	}

[data-predefined-style="true"] h2 a {
	color: rgba(0, 0, 0, 1);
}

[data-predefined-style="true"] small {
	display: inline-block;
	font-size: 0.8rem;
	line-height: 1.3;
	font-family: "DM Sans", Icons;
	font-style: normal;
	font-weight: 400;
	color: rgba(0, 0, 0, 0.85);
}

[data-predefined-style="true"] small a {
	color: rgba(0, 0, 0, 0.85);
	border-bottom-width: 0em;
}

/**
 * Breakpoints
 */


[data-css-preset] .page {
    background-color: initial /*!page_bgcolor*/;
}

.mobile .page,
[data-css-preset].mobile .page {
	position: relative;
	min-height: 10px;
	max-width: 100%;
	width: 100%;
	background-color: transparent /*!page_bgcolor*/;
}

[data-css-preset] .container {
	margin-left: auto /*!content_right*/;
	margin-right: 0 /*!content_right*/;
	text-align: left /*!text_left*/;
}

[data-css-preset] body {
	background-color: rgb(236, 236, 236) /*!body_bgcolor*/;
}

[data-css-preset] .container_width {
	width: 100%/*!content_right*/;
}

[data-css-preset] .content_padding {
	padding-top: 5rem /*!main_margin*/;
	padding-bottom: 5rem /*!main_margin*/;
	padding-left: 5rem /*!main_margin*/;
	padding-right: 5rem /*!main_margin*/;
}


[data-css-preset] text-limit {
	display: inline-block /*!text_width*/;
	max-width: 66rem/*!text_width*/;
}

/**
 * Thumbnails
 */

div[thumbnails] {
	justify-content: flex-start;
}

[data-css-preset] .thumbnails {
   	background-color: rgba(0, 0, 0, 0)/*!thumbnails_bgcolor*/;   
}

[data-css-preset] .thumbnails_width {
    width: 60%/*!thumbnails_width*/;
}

[data-css-preset] [thumbnails-pad] {
    padding: 0.5rem/*!thumbnails_padding*/;
}

[data-css-preset] [thumbnails-gutter] {
    margin: -1rem/*!thumbnails_padding*/;
}

[data-css-preset] [responsive-layout] [thumbnails-pad] {
    padding: 0.5rem/*!responsive_thumbnails_padding*/; 
}

[data-css-preset] [responsive-layout] [thumbnails-gutter] {
    margin: -1rem/*!responsive_thumbnails_padding*/; 
}

.thumbnails .thumb_image {
	outline: 0px solid rgba(0,0,0,.12);
    outline-offset: -1px;
}

.thumbnails .title {
    margin-top: .8rem;
    margin-bottom: .2rem;
    font-size: 1.2rem;
	font-weight: normal;
	color: rgba(0, 0, 0, 0.85);
	font-family: "Helvetica Neue", Helvetica, sans-serif, "Helvetica Roman", Icons;
	font-style: normal;
	line-height: 1.2;
}

.thumbnails .tags {
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
	font-weight: 400;
	color: rgba(0, 0, 0, 0.4);
	font-family: "Helvetica Neue", Helvetica, sans-serif, "Helvetica Roman", Icons;
	font-style: normal;
	line-height: 1.3;
}

.thumbnails .tags a {
	border-bottom: 0;
    color: rgba(0, 0, 0, 0.35);
    text-decoration: none;
}

.thumbnails .has_title .tags {
	margin-top: 0rem;
}

/**
 * Site Menu
 */

[data-css-preset] #site_menu_button {
	color: rgba(0, 0, 0, 0.75);
	line-height: 1;
	font-size: 50px /*!site_menu_button*/;
	padding: 6px;
	line-height: 1;
	background: rgba(33, 32, 46, 0);
	position: fixed;
	top: 1rem /*!site_menu_button*/;
	right: 1rem /*!site_menu_button*/;
}

body.mobile #site_menu_button {
	margin: -6px;
	font-size: 50px;
}

#site_menu_button.custom_icon {
	width: 50px;
	height: auto;
}

#site_menu_button.active {
	display: none;
}

/**
 * Site Menu
 */

#site_menu {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif, "Sans Serif", Icons;
	background: rgba(20, 20, 20, 0.95);
	font-size: 20px;
	font-style: normal;
	font-weight: 400;
	padding: 20px 30px 90px 30px;
	max-width: 400px;
	min-width: 300px;
	text-align: left;
	display: flex;
	justify-content: flex-start;
}

body.mobile #site_menu {
	width: 100%;
}

#site_menu .page-link a {
	color: rgba(255, 255, 255, 0.75);
}

#site_menu .set-link > a {
	color: rgba(255, 255, 255, 0.75);
	font-weight: bold;
}

#site_menu a:active {
	opacity: .7;
}

#site_menu a.active {
	opacity: .4;
}

#site_menu .close {
	display: none;
	color: rgba(255, 255, 255, 0.4);
	line-height: .85em;
	font-size: 45px;
}

body.mobile #site_menu .close {
	display: block;
	font-size: 50px;
	line-height: 1em;
}

#site_menu .break {
	height: 28px;
}

#site_menu .indent {
	margin-left: 28px;
}

/*
 * Shop Button
 */

[data-css-preset] #shop_button {
	color: rgba(0, 0, 0, 0.85);
    background: transparent;
	font-size: 32px;
    font-style: normal;
	font-weight: 400;
    line-height: 1;
    position: fixed;
	padding: 6px;
	top: 2rem /*!shop_button*/;
	right: 2rem /*!shop_button*/;
}

#shop_button.text {
    font-family: "Helvetica Neue", Helvetica, sans-serif, "Helvetica Roman", Icons;
	font-size: 2rem;
    padding: 0;
	font-weight: 400;
	color: rgba(0, 0, 0, 0.85);
	font-style: normal;
}

#shop_button.custom_icon {
	width: 40px;
    height: auto;
}

body.mobile #shop_button:not(.text) {
	margin: -6px;
    font-size: 36px;
}

/*
 * Shop Product Widget
 */

.shop_product {
    width: 100%;
	max-width: 22rem;
    position: relative;
    display: block;
}

.shop_product .price {
	font-family: "Helvetica Neue", Helvetica, sans-serif, "Helvetica Roman", Icons;
	font-size: 2.4rem;
	line-height: 1;
	color: rgba(0, 0, 0, 0.85);
    display: block;
    margin-bottom: 1rem;
	font-style: normal;
	font-weight: 400;
}

.shop_product .dropdown {
    font-family: "Helvetica Neue", Helvetica, sans-serif, "Helvetica Roman", Icons;
    font-size: 1.4rem;
    display: inline-block;
	width: 100%;
    border: 1px solid rgba(0,0,0,.2);
    background:  white url(https://static.cargo.site/assets/images/select-arrows.svg) no-repeat right;
    margin-bottom: 1rem;
    line-height: 1.2;
    padding: .7rem 1rem;
	font-style: normal;
	font-weight: 400;
}

.shop_product .button {
    font-family: "Helvetica Neue", Helvetica, sans-serif, "Helvetica Roman", Icons;
	font-size: 1.4rem;
    background: rgba(0, 0, 0, 0.7);
    color: rgba(255,255,255,1);
    flex: 0 0 50%;
    text-align: left;
    display: inline-block;
	line-height: 1;
    padding: .8rem 1rem .9rem;
	font-style: normal;
	font-weight: 400;
}

/*
 * Image Zoom
 */

.content img.image-zoom:active {
  opacity: .7;
}

/**
 * Quick View
 */

[data-css-preset] .quick-view {
    padding-top: 5.3rem /*!quick_view_padding*/;
    padding-bottom: 5.3rem /*!quick_view_padding*/;
    padding-left: 5.3rem /*!quick_view_padding*/;
    padding-right: 5.3rem /*!quick_view_padding*/;
    height: 100% /*!quick_view_height*/;
    width: 100% /*!quick_view_width*/;
}

body.mobile .quick-view {
    width: 100%;
    height: 100%;
    margin: 0;
}


[data-css-preset] .quick-view-background {
	background: rgba(255, 255, 255, 0.76) /*!quick_view_bgcolor*/;
}

.quick-view-caption {
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Open Sans","Helvetica Neue",sans-serif;
    transition: 100ms opacity ease-in-out;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 2rem 0;
    text-align: center;
    font-size: 1.8rem;
}

.quick-view-caption span {
    padding: 0.5rem 1rem;
    display: inline-block;
    background: rgba(0,0,0,0.4);
    color: white;
}


/**
 * Quick View Navigation 
 */

.quick-view-navigation .left-arrow {
    left: 10px;
}

.quick-view-navigation .right-arrow {
    right: 10px;
}

.quick-view-navigation .left-arrow,
.quick-view-navigation .right-arrow {
    /* Change height/width together to scale */
    height: 36px;
    width: 36px;
}

.quick-view-navigation .left-arrow .inner-color,
.quick-view-navigation .right-arrow .inner-color {
    stroke: #fff;
    stroke-width: 1.5px;
}

.quick-view-navigation .left-arrow .outer-color,
.quick-view-navigation .right-arrow .outer-color {
    stroke: #000;
    stroke-width: 2.5px;
    opacity: 0.6;
}

.quick-view-navigation .close-button {  
    top: 10px;
    right: 10px;
    /* Change height/width together to scale */
    width: 36px;
    height: 36px;
}

.quick-view-navigation .close-button .inner-color {
    stroke: #fff;
    stroke-width: 1.5px;
}

.quick-view-navigation .close-button .outer-color {
    stroke: #000;
    stroke-width: 2.5px;
    opacity: 0.6;
}

/** 
 * Image Gallery Navigation Arrows 
 */
 
.image-gallery-navigation .left-arrow,
.image-gallery-navigation .right-arrow {
    /* Change height/width together to scale */
    height: 36px;
    width: 36px;
}

.image-gallery-navigation .left-arrow .inner-color,
.image-gallery-navigation .right-arrow .inner-color {
    stroke: #fff;
    stroke-width: 1.5px;
}

.image-gallery-navigation .left-arrow .outer-color,
.image-gallery-navigation .right-arrow .outer-color {
    stroke: #000;
    stroke-width: 2.5px;
    opacity: 0.6;
}

/**
 * Wallpaper Backdrop Navigation Arrows 
 */

.wallpaper-navigation .left-arrow,
.wallpaper-navigation .right-arrow {
   /* Change height/width together to scale */
   width: 36px;
   height: 36px;
}

.wallpaper-navigation .left-arrow .inner-color,
.wallpaper-navigation .right-arrow .inner-color {
   stroke: #fff;
    stroke-width: 1.5px;
}

.wallpaper-navigation .left-arrow .outer-color,
.wallpaper-navigation .right-arrow .outer-color {
    stroke: #000;
    stroke-width: 2.5px;
    opacity: 0.6;
}


/**
 * Feed
 */

.feed .content_container .page {
    border-top: 0px dashed rgba(0, 0, 0, 0.2);
}

.feed .content_container .page_container:first-child .page {
	border-top: 0;
}


.rotate {
    display: inline-block;
    -webkit-animation: rotate 7s linear infinite;
    animation: rotate 7s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}
/*
 * Audio Player
 */

.audio-player {
    max-width: 36rem;
    height: 3.3rem;
    outline: 1px solid rgba(0,0,0,0.15);
    color: rgba(0, 0, 0, 0.6);
    background: #fff;
    font-size: 1.2rem;
    line-height: 1.3;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif, "Sans Serif", Icons;
    font-style: normal;
    font-weight: 400;
    text-align: left;
    margin: 1px 1px 1em 1px;
}

body.mobile .audio-player {
    max-width: 100%;
}

.audio-player .separator {
    width: 1px;
    background-color: rgba(0,0,0,0.15);
}

.audio-player .button {
    background: transparent;
    cursor: pointer;
    fill: rgba(0, 0, 0, 0.85);
}

.audio-player .icon {
    fill: rgba(0, 0, 0, 0.85);
    padding: 30%;
    width: 100%;
    margin: auto;
}

.audio-player .buffer {
    background: rgba(0,0,0,0.03);
}

.audio-player .progress {
    background: rgba(0,0,0,0.1);
}

.audio-player .progress-indicator {
    border: 1px solid rgba(0, 0, 0, 0.7);
    width: 1px;
    height: 100%;
    right: 0;
    position: absolute;
    cursor: ew-resize;
}

.audio-player .note-icon {
    height: 100%;
    width: 3.8rem;
    padding: 1rem;
    fill: rgba(0, 0, 0, 0.5);
}

.audio-player .current-time {
    padding-left: 1rem;
}

.audio-player .total-time {
    padding-right: 1rem;
}

[data-css-preset] .quick-view {
	width: 92% /*!quick_view_width*/;
}

[data-css-preset] .container {
	text-align: right /*!text_right*/;
}

[data-css-preset] .content_padding {
	padding-top: 3.7rem /*!main_margin*/;
	padding-bottom: 3.7rem /*!main_margin*/;
	padding-left: 3.7rem /*!main_margin*/;
	padding-right: 3.7rem /*!main_margin*/;
}




/* 기존의 모든 CSS 코드는 그대로 유지 */
/* 여기서부터 커스텀 설정 */






/* 기본 페이지 설정 */
.page_container {
    padding-bottom: 0 !important;
    padding-top: 0 !important;
}

.page {
    position: relative;
    padding-left: 10% !important;
    padding-right: 10% !important;
    margin-top: 0 !important;
    padding-top: 7% !important;
    min-height: auto !important;
}

/* 컨텐츠 여백 설정 */
.content_padding,
.page_content,
.bodycopy,
.image-gallery {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* 상단 고정 영역 */
.page::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 12%;
    background-color: rgb(236, 236, 236);
    z-index: 9999;
}

/* 좌측 네비게이션과 컨텐츠 영역 */
.page .sp-overlay-fix,
.page .content_container {
    padding-top: 172px !important;
    position: relative;
    z-index: 1;
}

.sp-overlay-fix .content_container {
    padding-top: 0 !important;
}

/* 이미지 최적화 */
img {
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* 로고 */
.page-logo {
    position: fixed;
    top: 40px;
    left: 180px;
    z-index: 10;
}

/* 갤러리 기본 설정 */
.image-gallery {
    width: 85% !important;
    margin: 0 auto !important;
}

[thumbnails] {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)) !important;
    gap: 2rem !important;
}

[thumbnails-pad] {
    padding: 1rem !important;
}

[thumbnails-gutter] {
    margin: -1rem !important;
}

/* 갤러리 이미지 효과 */
.image-gallery a {
    position: relative !important;
    display: block !important;
}

.image-gallery a img {
    width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
    filter: grayscale(100%) !important;
    transition: all 0.3s ease !important;
}

.image-gallery a:hover img {
    filter: grayscale(0%) !important;
}

/* 텍스트 오버레이 */
.image-gallery a::before {
    content: attr(href) !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: transparent !important;
    color: white !important;
    opacity: 0 !important;
    transition: opacity 0.3s ease !important;
    font-size: 1.2em !important;
    text-transform: capitalize !important;
    z-index: 2 !important;
}

.image-gallery a:hover::before {
    opacity: 1 !important;
}

/* PC 데스크톱 설정 */
@media screen and (min-width: 1441px) {
    .slick-slider,
    .slick-list,
    .slick-track,
    .slick-slide,
    .slick-slide > div {
        height: 70vh !important;
    }

    .slick-list,
    .slick-track,
    .gallery_card.slick-slide {
        height: 100% !important;
    }

    .gallery_card.slick-slide img {
        width: inherit !important;
        height: 100% !important;
        object-fit: contain !important;
        object-position: center !important;
    }
}

/* 태블릿 & 작은 데스크톱 대응 */
@media screen and (min-width: 769px) and (max-width: 1440px) {
    .page {
        padding-left: 5% !important;
        padding-right: 5% !important;
        padding-top: 6% !important;
    }

    .page::before {
        height: 8% !important;
    }

    .page .sp-overlay-fix,
    .page .content_container {
        padding-top: 8% !important;
    }

    .page-logo {
        top: 3%;
        left: 5%;
    }

    .image-gallery {
        width: 90% !important;
    }

    [thumbnails] {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)) !important;
        gap: 1.5rem !important;
    }

    /* 고해상도 태블릿 특별 처리 */
    @media (min-resolution: 192dpi), (-webkit-min-device-pixel-ratio: 2) {
        [thumbnails] {
            grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)) !important;
        }
        
        .image-gallery img {
            width: 100% !important;
            height: auto !important;
        }
    }
}

/* 모바일 대응 */
@media screen and (max-width: 768px) {
    /* 기본 레이아웃 */
    .page {
        padding: 2% !important;
        margin: 0 !important;
        touch-action: pan-y pinch-zoom !important;
    }

    /* 상단 요소 제거 */
    .page::before,
    .page::after,
    .page-logo {
        display: none !important;
    }

    /* 컨테이너 여백 제거 */
    .content_container,
    .page_content,
    .content_padding,
    .bodycopy,
    .main_container {
        padding: 0 !important;
        margin: 0 !important;
    }

    /* 갤러리 설정 */
    .image-gallery {
        width: 100% !important;
        padding: 1rem !important;
    }

    .image-gallery a img {
        filter: none !important;
    }

    .image-gallery a::before {
        display: none !important;
    }

    /* 슬라이더 설정 */
    .slick-slider,
    .slick-list,
    .slick-track {
        width: 100% !important;
        height: auto !important;
        padding: 0 !important;
        margin: 0 !important;
        transform: none !important;
        display: block !important;
        touch-action: pan-y pinch-zoom !important;
    }

    .slick-slide {
        width: 100% !important;
        height: auto !important;
        float: none !important;
        display: block !important;
        padding: 0 !important;
        margin: 0 !important;
        position: static !important;
    }

    .gallery_card.slick-slide {
        margin-bottom: 10px !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .gallery_card.slick-slide img {
        width: 100% !important;
        height: auto !important;
        display: block !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* 슬라이더 네비게이션 숨김 */
    .slick-dots,
    .slick-arrow {
        display: none !important;
    }
}

/* 태블릿 환경 슬라이더 이미지 크기 조정 */
@media screen and (min-width: 769px) and (max-width: 1440px) {
    .gallery_card.slick-slide {
        height: auto !important;
        max-height: 60vh !important;
        display: flex !important;
        align-items: flex-end !important;
        justify-content: flex-end !important;
    }

    .gallery_card.slick-slide img {
        max-width: 90% !important;
        max-height: 60vh !important;
        width: auto !important;
        height: auto !important;
        object-fit: contain !important;
        margin: 0 auto !important;
    }
}

/* 상세페이지 갤러리 정렬 수정 */
.page-content {
    padding-right: 0 !important;
}

.page-content .gallery_container {
    width: 100% !important;
    padding-right: 0 !important;
    margin-right: 0 !important;
}

.gallery_card.slick-slide {
    padding-right: 0 !important;
    margin-right: 0 !important;
}

/* 갤러리 이미지 컨테이너 정렬 */
.gallery_card.slick-slide > div {
    padding-right: 0 !important;
    margin-right: 0 !important;
}

/* 슬라이더 컨테이너 정렬 */
.slick-slider {
    padding-right: 0 !important;
    margin-right: 0 !important;
}

/* 태블릿 환경 슬라이더 수정 */
@media screen and (min-width: 769px) and (max-width: 1440px) {
    /* 슬라이더 기본 설정 */
    .slick-slider {
        position: relative !important;
        display: block !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* 슬라이더 컨테이너 */
    .slick-list {
        position: relative !important;
        display: block !important;
        overflow: hidden !important;
        width: 100% !important;
        height: auto !important;
        min-height: 50vh !important;
    }

    /* 슬라이드 트랙 */
    .slick-track {
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        display: flex !important;
        align-items: center !important;
        height: 50vh !important;
    }

    /* 개별 슬라이드 */
    .slick-slide {
        height: auto !important;
        float: left !important;
        min-height: 1px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    /* 슬라이드 이미지 */
    .gallery_card.slick-slide {
        visibility: visible !important;
        position: relative !important;
    }

    .gallery_card.slick-slide img {
        display: block !important;
        max-width: 100% !important;
        max-height: 50vh !important;
        width: auto !important;
        height: auto !important;
        margin: 0 auto !important;
        object-fit: contain !important;
    }
}