@charset "utf-8";

/* ═══════════════════════════════════════════════
Hive UI Core CSS
prefix: hvw-
═══════════════════════════════════════════════ */

/* =========================
   Hive Common Button Hover
   - Sidebar panel menu hover color
========================= */

.hvw-core-hover-menu {
    transition:
        background 0.18s,
        border-color 0.18s,
        color 0.18s,
        transform 0.13s;
}

.hvw-core-hover-menu:hover {
    background: #eceef2;
}


/* [기본 섹션] */
.hvw-gallery-section {
    position: relative;
    width: 100%;
    margin: 0 auto;
    padding: 0px 0;
    overflow: hidden;
    visibility: hidden;
}

/* [갤러리 컨테이너] */
.hvw-gallery-container {
    position: relative;
    width: 100%;
    overflow: visible;
}

.hvw-slider-wrapper {
    display: flex;
    align-items: flex-start;
    touch-action: pan-y;
    transition: transform 0.6s cubic-bezier(0.2, 0, 0.2, 1);
}


/* [기본 헤더] */
.hvw-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}

.hvw-section-header h2 {
    margin: 0;
    min-width: 0;
    line-height: 1.2;
    display: flex;
    align-items: center;
}

.hvw-header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-shrink: 0;
    line-height: 1;
}

.hvw-more-btn {
    height:28px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    margin:0;
    padding:1px 11px 0 11px;
    line-height:1;
    text-decoration:none;
    color:#777;
    font-weight:400;
    font-size:0.86rem;
    border:1px solid #eee;
    border-radius:30px;
    box-sizing:border-box;
    transition:0.3s;
}

.hvw-more-btn:hover {
    background: #fff;
    color: #555;
    border-color: #777;
}

@media (max-width: 1024px) {
    .hvw-section-header {
        padding-left: 0px;
        padding-right: 0px;
        box-sizing: border-box;
    }

    .hvw-page {
        padding-left: 0px;
        padding-right: 0px;
        box-sizing: border-box;
    }
}

@media (max-width: 640px) {
    .hvw-section-header {
        padding-left: 0px;
        padding-right: 0px;
        box-sizing: border-box;
        margin-bottom: 14px;
        gap: 8px;
        flex-wrap: nowrap;
        align-items: center;
    }

    .hvw-section-header h2 {
        margin: 0;
        min-width: 0;
        font-size: 1.1rem;
        line-height: 1.2;
    }

    .hvw-header-actions {
        gap: 6px;
        align-items: center;
        flex-shrink: 0;
    }

.hvw-more-btn {
    height:28px;
    padding:1px 12px 0 12px;
    font-size:0.8rem;
    line-height:1;
}

    .hvw-page {
        padding-left: 0px;
        padding-right: 0px;
    }
}

@media (max-width:640px) and (orientation:portrait){
    .hvw-more-btn{
        height:24px !important;
        padding:0 9px !important;
        font-size:0.74rem !important;
        border-radius:24px !important;
    }
}


/* [카드 기본] */
.hvw-slide {
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    background: transparent;
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
}

.hvw-slide-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.hvw-image-box {
    position: relative;
    z-index: 2;
    width: 100%;
    overflow: hidden;
    background-color: #f4f4f4;
}

.hvw-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

.hvw-image-box video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
    transition: transform 0.35s ease;
}

.hvw-type-gallery:hover .hvw-image-box video {
    transform: scale(1.06);
}

.hvw-type-webzine:hover .hvw-image-box video {
    transform: scale(1.02);
}

.hvw-type-list:hover .hvw-image-box video {
    transform: none;
}

.hvw-no-hover .hvw-image-box video,
.hvw-no-hover:hover .hvw-image-box video {
    transform: none !important;
}

.hvw-slide.hvw-no-hover:hover {
    transform: none;
    box-shadow: none;
}

.hvw-slide.hvw-no-hover:hover .hvw-image-box img {
    transform: none !important;
    filter: none !important;
}

/* 하단 컨텐츠 영역 레이어 */
.hvw-slide::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: calc(var(--hvw-img-height, 300px) - var(--hvw-img-btm-radius, 0px));
    bottom: 0;
    background: var(--hvw-content-bg, #fff);
    border: 1px solid var(--hvw-content-border, #eee);
    border-top: 0;
    border-radius: 0 0 var(--hvw-radius, 24px) var(--hvw-radius, 24px);
    box-sizing: border-box;
    z-index: 0;
}

.hvw-content {
    position: relative;
    z-index: 3;
    padding: 20px 24px;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 0 var(--hvw-radius, 24px) var(--hvw-radius, 24px) !important;
}

.hvw-title {
    position: relative;
    z-index: 2;
    margin-bottom: 8px;
    font-size: 1.1rem;
    font-weight: 800;
    color: #111;
    line-height: 1.45;
    white-space: normal;
    word-break: keep-all;
    overflow: hidden;
    transition: color 0.3s ease;
}

.hvw-text {
    position: relative;
    z-index: 2;
    margin-bottom: 10px;
    font-size: 0.92rem;
    line-height: 1.4;
    color: #555;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hvw-author {
    position: relative;
    z-index: 2;
    font-size: 0.82rem;
    line-height: 1.5;
    color: #999;
}



.hvw-meta-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
    margin-top: 0px;
}

.hvw-price {
    display: inline-block;
    text-align: left;
    font-weight: 700;
    line-height: 1.35;
}

.hvw-discount {
    display: inline-block;
    text-align: right;
    font-weight: 700;
    line-height: 1.35;
}


/* 텍스트 없는 순수 갤러리 모드 */
.hvw-slide.hvw-no-content::after {
    display: none;
}

.hvw-slide.hvw-no-content .hvw-content {
    display: none;
}

.hvw-gallery-container.hvw-gallery-only .hvw-nav-btn {
    top: calc(var(--hvw-img-height, 300px) / 2);
}

@media (max-width:640px) and (orientation:portrait){
    .hvw-nav-btn{
        width:26px !important;
        height:26px !important;
        min-width:26px !important;
        min-height:26px !important;
        font-size:0.82rem !important;
    }

    .hvw-prev{
        left:8px !important;
    }

    .hvw-next{
        right:8px !important;
    }
}

/* =========================
   타입별 hover
========================= */
.hvw-type-gallery,
.hvw-type-gallery-overlay,
.hvw-type-webzine,
.hvw-type-list {
    will-change: transform, box-shadow, background-color;
}

.hvw-type-gallery .hvw-image-box img,
.hvw-type-gallery-overlay .hvw-image-box img,
.hvw-type-webzine .hvw-image-box img,
.hvw-type-list .hvw-image-box img {
    transition: transform 0.35s ease;
}

/* 갤러리형 */
.hvw-type-gallery {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hvw-type-gallery:hover {
    transform: translateY(-6px);
    box-shadow:
        0 14px 30px rgba(0, 0, 0, 0),
        0 4px 10px rgba(0, 0, 0, 0);
}

.hvw-type-gallery:hover .hvw-image-box img {
    transform: scale(1.06);
}

/* 웹진형 */
.hvw-type-webzine {
    transition: box-shadow 0.2s ease, background-color 0.2s ease;
}

.hvw-type-webzine:hover {
    transform: none;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.05);
}

.hvw-type-webzine:hover .hvw-image-box img {
    transform: scale(1.02);
}

/* 리스트형 */
.hvw-type-list {
    transition: background-color 0.2s ease;
}

.hvw-type-list:hover {
    transform: none;
    box-shadow: none;
    background-color: rgba(0, 0, 0, 0.02);
}

.hvw-type-list .hvw-title {
    transition: color 0.2s ease;
}

.hvw-type-list:hover .hvw-title {
    color: #000;
}

.hvw-type-list:hover .hvw-image-box img {
    transform: none;
}

/* hover off */
.hvw-no-hover,
.hvw-no-hover:hover {
    transform: none !important;
    box-shadow: none !important;
}

.hvw-no-hover .hvw-image-box img,
.hvw-no-hover:hover .hvw-image-box img {
    transform: none !important;
}

/* [네비게이션] */
.hvw-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 1;
    font-size: 1.05rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.25s ease, transform 0.25s ease, background 0.25s ease;
}

.hvw-nav-btn .ripple-clip-area {
    z-index: 1;
}

.hvw-nav-btn > span:not(.ripple-clip-area),
.hvw-nav-btn > i,
.hvw-nav-btn > svg {
    position: relative;
    z-index: 2;
}

.hvw-gallery-container:hover .hvw-nav-btn {
    opacity: 1;
}

.hvw-nav-btn:hover {
    transform: translateY(-50%) scale(1.08);
    background: rgba(255, 255, 255, 0.98);
}

.hvw-prev {
    left: 15px;
}

.hvw-next {
    right: 15px;
}

/* 헤더 붙임형 버튼 */
.hvw-header-nav {
    display: none;
    align-items: center;
    justify-content: center;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    margin: 0;
    line-height: 1;
}

.hvw-header-nav-btn {
    position: relative;
    width: 30px;
    height: 25px;
    flex: 0 0 25px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    line-height: 25px;
    font-size: 0.75rem;
    color: #111;
    background: #fff;
    border: 0;
    cursor: pointer;
    overflow: hidden;
}

.hvw-header-nav-btn > span:not(.ripple-clip-area),
.hvw-header-nav-btn > i,
.hvw-header-nav-btn > svg {
    position: relative;
    z-index: 2;
}

.hvw-header-nav-btn .ripple-clip-area {
    z-index: 1;
}

.hvw-header-nav-btn + .hvw-header-nav-btn {
    border-left: 1px solid #e5e5e5;
}

.hvw-header-nav-btn.hvw-header-prev {
    border-radius: 10px 0 0 10px;
}

.hvw-header-nav-btn.hvw-header-next {
    border-radius: 0 10px 10px 0;
}

.hvw-header-nav-btn:hover {
    background: #f7f7f7;
}


@media (max-width:640px) and (orientation:portrait){
    .hvw-header-nav-btn{
        width:24px !important;
        height:20px !important;
        flex:0 0 20px !important;
        font-size:0.68rem !important;
    }

    .hvw-header-nav{
        border-radius:8px !important;
    }

    .hvw-header-nav-btn.hvw-header-prev{
        border-radius:8px 0 0 8px !important;
    }

    .hvw-header-nav-btn.hvw-header-next{
        border-radius:0 8px 8px 0 !important;
    }
}


/* 유형별 표시 */
.hvw-gallery-section.hvw-nav-overlay .hvw-nav-btn {
    display: flex;
}

.hvw-gallery-section.hvw-nav-overlay .hvw-header-nav {
    display: none;
}

.hvw-gallery-section.hvw-nav-header .hvw-nav-btn {
    display: none !important;
}

.hvw-gallery-section.hvw-nav-header .hvw-header-nav {
    display: inline-flex;
}

.hvw-gallery-section.hvw-more-off .hvw-more-btn {
    display: none !important;
}

.hvw-gallery-section.hvw-nav-off .hvw-nav-btn,
.hvw-gallery-section.hvw-nav-off .hvw-header-nav {
    display: none !important;
}

/* 웹진형 */
.hvw-type-webzine {
    background: #fff;
    border-radius: var(--hvw-radius, 24px);
    overflow: hidden;
}

.hvw-type-webzine::after {
    display: none;
}

.hvw-type-webzine .hvw-slide-link {
    display: block;
}

.hvw-type-webzine .hvw-webzine-inner {
    display: flex;
    align-items: stretch;
    gap: 0;
    min-height: 100%;
}

.hvw-type-webzine.hvw-thumb-right .hvw-webzine-inner {
    flex-direction: row-reverse;
}

.hvw-type-webzine .hvw-image-box {
    width: var(--hvw-thumb-width, 180px);
    flex: 0 0 var(--hvw-thumb-width, 180px);
    border-radius: 0;
}

.hvw-type-webzine .hvw-image-box img {
    height: 100%;
    object-fit: cover;
}

.hvw-type-webzine .hvw-content {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    background: var(--hvw-content-bg, #fff);
    border: 1px solid var(--hvw-content-border, #eee);
    border-radius: var(--hvw-radius, 24px);
    min-width: 0;
}

.hvw-type-webzine .hvw-title {
    white-space: normal;
    word-break: keep-all;
    overflow: hidden;
}

.hvw-type-webzine .hvw-text {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hvw-type-webzine .hvw-title,
.hvw-type-webzine .hvw-text,
.hvw-type-webzine .hvw-author,
.hvw-type-list .hvw-title,
.hvw-type-list .hvw-text,
.hvw-type-list .hvw-author {
    margin-top: 0;
    margin-left: 0;
    margin-right: 0;
}

.hvw-type-webzine .hvw-title,
.hvw-type-list .hvw-title {
    margin-bottom: 8px;
}

.hvw-type-webzine .hvw-text,
.hvw-type-list .hvw-text {
    margin-bottom: 8px;
}

.hvw-type-webzine .hvw-author,
.hvw-type-list .hvw-author {
    margin-bottom: 0;
}







/* [빈 상태] */
.hvw-empty {
padding: 60px 0;
font-size: 0.95rem;
text-align: center;
color: #aaa;
}

/* ═══════════════════════════════════════════════
관리자 마스터 버튼 & 위젯 설정 아이콘
═══════════════════════════════════════════════ */

/* 마스터 버튼 */
.hvw-master-btn {
position: fixed;
left: -10px;
bottom: -10px;
z-index: 900;
width: 38px;
height: 38px;
display: flex;
justify-content: center;
align-items: center;
font-size: 1rem;
border: 1px solid rgba(0, 0, 0, 0.1);
border-radius: 50%;
background: rgba(255, 255, 255, 0.5);
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
cursor: pointer;
opacity: 0.25;
transition: opacity 0.3s, background 0.3s, transform 0.3s;
}

.hvw-master-btn:hover {
opacity: 1;
background: #fff;
}

.hvw-master-btn.active {
opacity: 1;
color: #fff;
background: #111;
transform: rotate(45deg);
}


@media (max-width:640px) and (orientation:portrait){
    .hvw-master-global-wrap,
    .hvw-master-btn{
        display:none !important;
    }
}

/* 위젯 아이콘 */
.hvw-widget-wrap {
    position: absolute;
    left: 50%;
    bottom: 0px;
    transform: translateX(-50%);
    z-index: 50;
    margin: 0;
    text-align: center;
    width: auto;
}

.hvw-widget-trigger {
    width: 30px;
    height: 30px;
    display: none;
    justify-content: center;
    align-items: center;
    margin: 0;
    font-size: 0.85rem;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: background 0.2s;
}

.hvw-widget-trigger:hover {
background: #fff;
}

.hvw-widget-wrap.edit-mode .hvw-widget-trigger {
display: flex;
}

/* 설정 패널 */
.hvw-settings-modal {
position: fixed;
top: 30px;
right: 30px;
left: auto;
z-index: 1000;
width: 320px;
max-height: 80vh;
overflow-y: auto;
padding: 22px 22px 20px;
background: rgba(255, 255, 255, 0.92);
border: 1px solid rgba(17, 17, 17, 0.06);
border-radius: 24px;
box-shadow:
0 18px 40px rgba(0, 0, 0, 0.10),
0 4px 12px rgba(0, 0, 0, 0.05);
backdrop-filter: blur(14px);
-webkit-backdrop-filter: blur(14px);
transform: translateY(10px);
opacity: 0;
visibility: hidden;
transition: transform 0.3s, opacity 0.3s, visibility 0.3s;
    scrollbar-width: thin;
    scrollbar-color: rgba(0,0,0,0.14) transparent;	
}

.hvw-settings-modal.active {
transform: translateY(0);
opacity: 1;
visibility: visible;}


.hvw-settings-modal::-webkit-scrollbar {
    width: 6px;
}

.hvw-settings-modal::-webkit-scrollbar-track {
    background: transparent;
}

.hvw-settings-modal::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.12);
    border-radius: 999px;
}

.hvw-settings-modal::-webkit-scrollbar-thumb:hover {
    background: rgba(0,0,0,0.18);
}

.hvw-modal-title {
margin-bottom: 16px;
font-size: 0.72rem;
font-weight: 800;
color: #9d9d9d;
text-transform: uppercase;
letter-spacing: 0.10em;
}

.hvw-control-row {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 12px;
margin-bottom: 12px;
}

.hvw-control-group {
margin-bottom: 12px;
}

.hvw-control-group label {
display: block;
margin-bottom: 4px;
font-size: 0.68rem;
font-weight: 700;
color: #8d8d8d;
text-transform: uppercase;
letter-spacing: 0.08em;
}

/* number input 화살표 제거 */
.hvw-control-group input[type="number"]::-webkit-outer-spin-button,
.hvw-control-group input[type="number"]::-webkit-inner-spin-button {
-webkit-appearance: none;
margin: 0;
}

.hvw-control-group input[type="number"] {
-moz-appearance: textfield;
}

.hvw-control-group input,
.hvw-control-group select {
width: 100%;
font-weight: 600;
outline: none;
color: #111;
background: rgba(248, 248, 248, 0.95);
border: 1px solid rgba(17, 17, 17, 0.08);
border-radius: 8px;
}

.hvw-control-group textarea {
    width: 100%;
    min-height: 120px;
    padding: 10px 12px;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.5;
    color: #111;
    background: rgba(248, 248, 248, 0.95);
    border: 1px solid rgba(17, 17, 17, 0.08);
    border-radius: 8px;
    box-sizing: border-box;
    resize: vertical;
}

.hvw-control-group input[type="number"],
.hvw-control-group input[type="text"] {
height: 35px;
padding: 2px 6px;
font-size: 0.9rem;
}

.hvw-control-group select {
height: 35px;
padding: 2px 6px;
font-size: 0.9rem;
}

.hvw-control-group input,
.hvw-control-group select,
.hvw-control-group textarea {
    outline: none !important;
    -webkit-tap-highlight-color: transparent;
}

.hvw-control-group input[type="text"],
.hvw-control-group input[type="number"],
.hvw-control-group input[type="color"],
.hvw-control-group select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    outline: none !important;
    box-shadow: none;
}

.hvw-control-group input:focus,
.hvw-control-group input:focus-visible,
.hvw-control-group select:focus,
.hvw-control-group select:focus-visible,
.hvw-control-group textarea:focus,
.hvw-control-group textarea:focus-visible {
    outline: none !important;
    border-color: rgba(17, 17, 17, 0.22) !important;
    box-shadow:
        0 0 0 3px rgba(17, 17, 17, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;
}

.hvw-apply-btn {
width: 100%;
margin-top: 8px;
padding: 14px;
font-size: 0.9rem;
font-weight: 700;
color: #fff;
background: #111;
border: none;
border-radius: 12px;
cursor: pointer;
transition: background 0.2s;
}

.hvw-apply-btn:hover {
background: #333;
}



.hvw-responsive-group {
    margin-top: 18px;
    border-top: 1px solid rgba(17, 17, 17, 0.06);
    padding-top: 16px;
}

.hvw-acc-item {
    margin-bottom: 10px;
    border: 1px solid rgba(17, 17, 17, 0.06);
    border-radius: 12px;
    overflow: hidden;
    background: rgba(250, 250, 250, 0.7);
}

.hvw-acc-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #222;
    background: transparent;
    border: 0;
    cursor: pointer;
    text-align: left;
}

.hvw-acc-toggle::after {
    content: '+';
    font-size: 1rem;
    line-height: 1;
    opacity: 0.6;
}

.hvw-acc-toggle.active::after {
    content: '−';
}

.hvw-acc-panel {
    display: none;
    padding: 0 14px 14px;
    border-top: 1px solid rgba(17, 17, 17, 0.05);
}

.hvw-acc-panel.active {
    display: block;
}


.hvw-panel-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 16px;
}

.hvw-panel-topbar .hvw-modal-title {
    margin-bottom: 0;
}

.hvw-panel-close {
    position: relative;
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    font-size: 0.9rem;
    line-height: 1;
    color: #555;
    background: rgba(248, 248, 248, 0.95);
    border: 1px solid rgba(17, 17, 17, 0.08);
    border-radius: 10px;
    cursor: pointer;
    overflow: hidden;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.hvw-panel-close:hover {
    background: #fff;
    color: #111;
    border-color: rgba(17, 17, 17, 0.16);
}

.hvw-panel-close > span:not(.ripple-clip-area) {
    position: relative;
    z-index: 2;
}

.hvw-panel-close .ripple-clip-area {
    z-index: 1;
}




.hvw-master-global-wrap {
    position: fixed;
    left: 30px;
    bottom: 30px;
    z-index: 900;
}

.hvw-board-trigger-wrap {
    position: fixed;
    top: 50px;
    left: 10px;
    z-index: 901;
    display: none;
}

.hvw-board-trigger-wrap.edit-mode {
    display: block;
}

.hvw-board-trigger {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0,0,0,0.12);
    border-radius: 50%;
    background: rgba(255,255,255,0.92);
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    cursor: pointer;
    overflow: hidden;
}

.hvw-layout-panel {
    position: fixed;
    top: 20px;
    left: 20px;
    right: auto;
    z-index: 1001;
    width: 420px;
    max-height: 80vh;
    overflow-y: auto;
    padding: 22px;
    background: rgba(255,255,255,0.94);
    border: 1px solid rgba(17,17,17,0.06);
    border-radius: 24px;
    box-shadow: 0 18px 40px rgba(0,0,0,0.10), 0 4px 12px rgba(0,0,0,0.05);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: transform 0.3s, opacity 0.3s, visibility 0.3s;
}

.hvw-layout-panel.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.hvw-layout-panel-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 16px;
}

.hvw-layout-panel-close {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(17,17,17,0.08);
    border-radius: 10px;
    background: rgba(248,248,248,0.95);
    cursor: pointer;
    overflow: hidden;
}


.hvw-layout-save-btn {
    width: 100%;
    margin-top: 8px;
    padding: 14px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
    background: #111;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    overflow: hidden;
    transition: background 0.2s, transform 0.2s;
}

.hvw-layout-save-btn:hover {
    background: #333;
}

.hvw-layout-save-btn > span:not(.ripple-clip-area) {
    position: relative;
    z-index: 2;
}

.hvw-layout-save-btn .ripple-clip-area {
    z-index: 1;
}



/* 레이아웃 설정 패널 탭 */
.hvw-layout-tabs {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding: 4px;
    background: rgba(248,248,248,0.95);
    border: 1px solid rgba(17,17,17,0.06);
    border-radius: 12px;
}

.hvw-layout-tab {
    flex: 1;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: #777;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.hvw-layout-tab.is-active {
    background: #111;
    color: #fff;
}

/* 확인 버튼: 닫기 X 버튼 계열 디자인 */
.hvw-layout-load-btn {
    position: relative;
    min-width: 54px;
    height: 35px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    border: 1px solid rgba(17,17,17,0.08);
    border-radius: 10px;
    background: rgba(248,248,248,0.95);
    color: #222;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    overflow: hidden;
    white-space: nowrap;
}

.hvw-layout-load-btn:hover {
    background: #fff;
    border-color: rgba(17,17,17,0.16);
}


.ripple-target:not(.hvw-nav-btn) {
    position: relative;
}

.hvw-nav-btn.ripple-target {
    position: absolute;
}



.hvw-layout-section-title {
	margin-top: 20px;
	margin-bottom: 15px;
}




.hvw-layout-tab-panel {
    display: none;
}

.hvw-layout-tab-panel.is-active {
    display: block;
}


.hvw-shop-key-row {
    display: flex;
    gap: 8px;
    align-items: center;
}

.hvw-shop-key-row .hvw-input {
    flex: 1;
}

.hvw-shop-key-row .hvw-layout-load-btn {
    flex: 0 0 auto;
}

.hvw-check-line {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 38px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    cursor: pointer;
    box-sizing: border-box;
    font-size: 13px;
    color: #222;
}

.hvw-check-line input[type="checkbox"] {
    appearance: auto;
    -webkit-appearance: checkbox;
    width: 16px;
    height: 16px;
    margin: 0;
    flex: 0 0 auto;
}

.hvw-check-line span {
    line-height: 1.2;
}


.hvw-control-row.hvw-control-row-2 {
    display: flex;
    gap: 20px;
    align-items: center;
}


.hvw-check-line input[type="checkbox"],
.hvw-layout-panel input[type="checkbox"] {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: static !important;
    appearance: auto !important;
    -webkit-appearance: checkbox !important;
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
    margin: 0 !important;
    padding: 0 !important;
    pointer-events: auto !important;
}





/* 갤러리형 오버레이 */
.hvw-type-gallery-overlay {
    position: relative;
    overflow: hidden;
    border-radius: var(--hvw-radius, 24px);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hvw-type-gallery-overlay::after {
    display: none !important;
}

.hvw-type-gallery-overlay .hvw-slide-link {
    position: relative;
    display: block;
    height: 100%;
}

.hvw-type-gallery-overlay .hvw-image-box {
    position: relative;
    z-index: 1;
}

.hvw-type-gallery-overlay .hvw-image-box::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    background: rgba(0,0,0,var(--hvw-overlay-opacity, 0.28));
    pointer-events: none;
}

.hvw-type-gallery-overlay .hvw-content {
    position: absolute !important;
    left: 0;
    right: 0;
    z-index: 5;
    background: transparent !important;
    border: 0 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-sizing: border-box;
    text-align: left;
}

.hvw-type-gallery-overlay.hvw-overlay-top .hvw-content {
    top: 0;
    bottom: auto;
}

.hvw-type-gallery-overlay.hvw-overlay-bottom .hvw-content {
    top: auto;
    bottom: 0;
}

.hvw-type-gallery-overlay .hvw-title,
.hvw-type-gallery-overlay .hvw-text,
.hvw-type-gallery-overlay .hvw-author {
    color: #fff !important;
    text-align: left;
}

.hvw-type-gallery-overlay:hover {
    transform: translateY(-6px);
}

.hvw-type-gallery-overlay:hover .hvw-image-box img {
    transform: scale(1.06);
}


/* 레이아웃 설정패널 스크롤바 */
.hvw-layout-panel,
.hvw-layout-panel-inner,
.hvw-layout-panel-body {
    scrollbar-width: thin;
    scrollbar-color: rgba(0,0,0,0.14) transparent;
}

.hvw-layout-panel::-webkit-scrollbar,
.hvw-layout-panel-inner::-webkit-scrollbar,
.hvw-layout-panel-body::-webkit-scrollbar {
    width: 6px;
}

.hvw-layout-panel::-webkit-scrollbar-track,
.hvw-layout-panel-inner::-webkit-scrollbar-track,
.hvw-layout-panel-body::-webkit-scrollbar-track {
    background: transparent;
}

.hvw-layout-panel::-webkit-scrollbar-thumb,
.hvw-layout-panel-inner::-webkit-scrollbar-thumb,
.hvw-layout-panel-body::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.12);
    border-radius: 999px;
}

.hvw-layout-panel::-webkit-scrollbar-thumb:hover,
.hvw-layout-panel-inner::-webkit-scrollbar-thumb:hover,
.hvw-layout-panel-body::-webkit-scrollbar-thumb:hover {
    background: rgba(0,0,0,0.18);
}


