 @charset "UTF-8"; /* 파일 맨 위에 문자셋을 지정해주면 한글 주석 깨짐을 방지합니다 */
 .aladin_header_wrap {margin-bottom:0;}
 span.br {display:block;}
    span.br2 {display:inline-block;}
    /* =============================================
       CSS Variables & Reset
       ============================================= */
    .nado-bookstore-container {
        /* Color Palette */
        --color-paper: #fdfbf7;
        --color-wood-light: #deb887;
        --color-text-yellow: #FBB142;
        --color-wood-dark: #8b4513;
        --color-deep-brown: #3e2723;
        --color-aladin-blue: #264c87;
        --color-sidebar-bg: #2c241b;
        --color-text-main: #3e2723;
        --color-text-black: #111111;
        --color-stone-400: #a8a29e;
        
        /* Envelope Colors */
        --env-color-main: #e5e5e5;
        --env-color-shadow: #d4d4d4;
        --env-color-dark: #a8a29e;
        
        /* Typography */
        --font-serif: 'Gowun Batang', serif;
        --font-sans: 'Pretendard Variable', 'Pretendard', 'Noto Sans KR', sans-serif;
        
        /* Layout */
        --sidebar-width: 285px;
        --mobile-header-height: 56px;
        
        /* Transitions */
        --transition-base: 0.3s ease;
        --transition-smooth: 0.3s ease-in-out;
        
        /* Container Setup */
        min-height: 100vh;
        width: 100%;
        display: flex;
        flex-direction: column;
        box-sizing: border-box;
        position: relative;
        background-color: #f5f5f0;
        margin: 0;
        padding: 0;
    }

    /* Base Reset - Scoped */
    .nado-bookstore-container *,
    .nado-bookstore-container *::before,
    .nado-bookstore-container *::after {
        box-sizing: border-box;
    }
    
    .nado-bookstore-container a {
        text-decoration: none;
        color: inherit;
        display: flex;
        justify-content: center;
    }
    
    .nado-bookstore-container button {
        cursor: pointer;
        border: none;   
        font-family: inherit;
    }
    
    .nado-bookstore-container ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    /* =============================================
       Utility Classes
       ============================================= */
    .nado-bookstore-container .hidden { display: none !important; }
    .nado-bookstore-container .font-serif { font-family: var(--font-serif); }
    .nado-bookstore-container .font-sans { font-family: var(--font-sans); }
    .nado-bookstore-container .font-bold { font-weight: 700; }
    .nado-bookstore-container .text-center { text-align: center; }
    .nado-bookstore-container .text-left { text-align: left; }

    /* =============================================
       Mobile Header
       ============================================= */
    .nado-bookstore-container .mobile-header {
        height: var(--mobile-header-height);
        background-color: var(--color-sidebar-bg);
        display: flex;
        align-items: center;
        color: white;
        z-index: 60;
        flex-shrink: 0;
        position: sticky;
        top: 0;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
        overflow: hidden;
    }

    .nado-bookstore-container .mobile-brand {
        flex-shrink: 0;
        padding: 0 0.8rem 0 1.2rem;
        font-family: var(--font-serif);
        font-weight: bold;
        font-size: 1.1rem;
        height: 100%;
        display: flex;
        align-items: center;
        background-color: var(--color-sidebar-bg);
        border-right: 1px solid rgba(255, 255, 255, 0.1);
        z-index: 2;
        white-space: nowrap;
    }

    .nado-bookstore-container .mobile-tabs {
        flex: 1;
        display: flex;
        align-items: center;
        height: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .nado-bookstore-container .mobile-tabs::-webkit-scrollbar {
        display: none;
    }

    .nado-bookstore-container .mobile-tab-item {
        padding: 0 1.2rem;
        white-space: nowrap;
        color: var(--color-stone-400);
        font-size: 0.9rem;
        height: 100%;
        display: flex;
        align-items: center;
        transition: color var(--transition-base), background-color var(--transition-base);
        position: relative;
    }

    .nado-bookstore-container .mobile-tab-item.active {
        color: white;
        font-weight: bold;
        background-color: rgba(255, 255, 255, 0.1);
    }

    /* =============================================
       Sidebar (PC)
       ============================================= */
    .nado-bookstore-container .sidebar {
        position: fixed;
        top: 0;
        left: -100%;
        width: var(--sidebar-width);
        height: 100vh;
        background-color: var(--color-sidebar-bg);
        color: #d6d3d1;
        z-index: 9999;
        box-shadow: 4px 0 10px rgba(0, 0, 0, 0.3);
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        transition: left var(--transition-smooth);
    }

    .nado-bookstore-container .sidebar-header {
        padding: 2rem 1.5rem;
    }

    .nado-bookstore-container .brand-text {
        font-size: 0.8rem;
        color: var(--color-wood-light);
        margin-bottom: 2rem;
        display: block;
    }

    .nado-bookstore-container .brand-title-badge {
        font-size: 12px;
        line-height: 1;
        border: 1px solid var(--color-text-yellow);
        color: var(--color-text-yellow);
        padding: 4px 10px;
        border-radius: 20px;
        text-transform: uppercase;
        letter-spacing: 1px;
        font-weight: bold;
        font-family: var(--font-sans);
    }

    .nado-bookstore-container .brand-main-title {
        font-family: var(--font-serif);
        font-size: 2rem;
        font-weight: bold;
        margin-top: 0;
        color: white;
        line-height: 1.1;
    }

    .nado-bookstore-container .info-trigger-btn {
        color: rgba(255, 255, 255, 0.3);
        font-size: 1.2rem;
        transition: color var(--transition-base);
        margin-left: 4px;
        padding: 4px;
        background: transparent;
    }

    .nado-bookstore-container .info-trigger-btn:hover {
        color: var(--color-wood-light);
    }

    /* Navigation Menu */
    .nado-bookstore-container .nav-menu {
        padding: 0 1.5rem;
        flex: 1;
    }

    .nado-bookstore-container .nav-item {
        display: flex;
        align-items: center;
        padding: 0.75rem;
        border-radius: 0.5rem;
        margin-bottom: 0.5rem;
        color: var(--color-stone-400);
        transition: all var(--transition-base);
        font-size: 1rem;
        font-family: var(--font-sans);
        justify-content: flex-start;
        
    }

    .nado-bookstore-container .nav-item:hover,
    .nado-bookstore-container .nav-item.active {
        background-color: rgba(255, 255, 255, 0.1);
        color: white;
        font-weight: 500;
    }

    .nado-bookstore-container .nav-item i {
        margin-right: 0.75rem;
        width: 1.25rem;
        text-align: center;
    }

    /* User Profile */
    .nado-bookstore-container .user-profile {
        padding: 1.5rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        background-color: rgba(0, 0, 0, 0.2);
        display: flex;
        align-items: center;
    }

    .nado-bookstore-container .user-avatar {
        width: 2.5rem;
        height: 2.5rem;
        border-radius: 50%;
        border: 2px solid var(--color-wood-light);
        margin-right: 0.75rem;
        object-fit: cover;
    }

    .nado-bookstore-container .user-profile-name {
        font-size: 0.875rem;
        color: white;
        font-weight: 500;
    }

    .nado-bookstore-container p.user-profile-name {margin:0;}


    .nado-bookstore-container .user-profile-text {
        font-size: 0.75rem;
        color: var(--color-stone-400);
    }
    .nado-bookstore-container p.user-profile-text {margin:0;}

    /* =============================================
       Main Canvas & Panels
       ============================================= */
    .nado-bookstore-container .main-canvas {
        flex: 1;
        height: 100%;
        background-color: #e8e6e1;
        display: flex;
        flex-direction: column;
        position: relative;
        overflow:hidden;
    }

    .nado-bookstore-container .panel {
        width: 100%;
        padding: 3rem 1.5rem;
        position: relative;
    }
.nado-bookstore-container #section-intro.panel {
    /* 배경 이미지 및 그라데이션 오버레이 설정 */
    /* linear-gradient를 먼저 선언하여 이미지 위에 오버레이 효과를 줍니다. */
    background-image:
        linear-gradient(
            to bottom,
            rgba(255, 248, 240, 0.3) 0%,   /* 상단: 밝고 투명하게 시작 */
            rgba(255, 245, 235, 0.75) 30%,  /* 중간: 텍스트 주변을 부드럽게 감쌈 */
            rgba(255, 240, 230, 0.3) 100%    /* 하단: 배경색과 자연스럽게 연결되도록 불투명하게 */
        ),
     
        url('https://image.aladin.co.kr/img/events/book/2026/01/store_bg1.jpg');

    /* 배경 이미지 사이즈 및 위치 설정 */
    background-size: cover;      /* 이미지가 섹션을 꽉 채우도록 설정 */
    background-position: center; /* 이미지가 중앙에 위치하도록 설정 */
    background-repeat: no-repeat; /* 이미지 반복 없음 */

    /* 섹션의 테두리 제거 (디자인 시안 반영) */
    border: none;
    display: flex; flex-direction: column; /* 모바일: 위아래로 쌓임 */  
}

   /* 모바일 기준: 텍스트를 위로(1), 이미지를 아래로(2) */
    .author-img1 {order: 2;}
    .intro-content {order: 1;}

    /* 섹션 상단 뱃지 태그 */
    .section-badge {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--color-deep-brown);
    background: none;
    border: none;
    border-bottom: 2px solid var(--color-deep-brown);
    padding: 2px 0;
    margin-bottom: 12px;
}


    /* =============================================
       Section: Intro
       ============================================= */
    .nado-bookstore-container #section-intro {
        background-color: var(--color-paper);
        border-bottom: 1px solid #e5e7eb;
        min-height: 80vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .nado-bookstore-container .curator-badge {
        display: flex;
        align-items: center;
        gap: 20px;
        min-width: 340px;
        height: 96px;
        padding: 0;
        justify-content: center;
        text-align: left;
    }

    .nado-bookstore-container .badge-month {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        font-size: 1.6rem;
        width: 64px;
        height: 64px;
        border: 1px solid #BA9377;
        background: rgba(222, 184, 135, 0.20);
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.10), 0 4px 6px -4px rgba(0, 0, 0, 0.10);
        border-radius: 100px;
        font-weight: 600;
        font-family: var(--font-serif);
        flex-shrink: 0;
    }

    .nado-bookstore-container .month-number {
        font-size: 1.4rem;
        line-height: 1;
    }

    .nado-bookstore-container .month-text {
        font-size: 1rem;
        padding-top: 5px;
        line-height: 1;
        font-weight: 400;
    }

    .nado-bookstore-container .badge-text {
        text-align: center;
        line-height: 1.2;
    }

    .nado-bookstore-container .badge-text span {
        display: block;
        font-size: 0.875rem;
        font-weight: bold;
        letter-spacing: 1px;
        color: var(--color-deep-brown);
        padding-bottom: 5px;
        text-align: left;
    }

    .nado-bookstore-container .badge-text h2 {
        font-family: var(--font-serif);
        font-size: 1.5rem;
        font-weight: bold;
        color: var(--color-text-black);
        margin:0;
    }

    .nado-bookstore-container .intro-text h3 {
        font-size: 2rem;
        line-height: 1.4;
        color: #1f2937;
        margin-bottom: 1.5rem;
        backdrop-filter: blur(1px);
    }

    .nado-bookstore-container .intro-text h3 b {
        color: var(--color-wood-dark);
    }

    .nado-bookstore-container .intro-text p {
        line-height: 1.6;
        color: #333;
        margin-bottom: 2rem;
        max-width: 650px;
        margin-left: auto;
        margin-right: auto;
        text-align: left;
        font-family: var(--font-sans);
        text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
        backdrop-filter: blur(2px);
        margin:0 0 2rem 0;

    }

    .nado-bookstore-container .highlight {
        background: linear-gradient(120deg, #fef3c7 0%, #fef3c7 100%);
        background-repeat: no-repeat;
        background-size: 100% 40%;
        background-position: 0 90%;
        line-height: 1.6;
    }

/* 컨테이너 및 버튼 그룹 레이아웃 */
.nado-bookstore-container .btn-group {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    align-items: center; /* [추가] 서로 다른 높이의 버튼을 중앙 정렬 */
    font-family: var(--font-sans);
}

/* 알라딘 버튼 감싸는 div 스타일 (필요시 미세 조정) */
.nado-bookstore-container .new_btn a{
padding:13px 25px;
background-color: var(--color-deep-brown);
color: white;
border-radius: 0.5rem;
font-weight: 500;
font-size: 0.9rem;
line-height: 1;
transition: background-color var(--transition-base);
box-sizing:border-box;
 border: 1px solid var(--color-deep-brown);
}

/* --- 아래는 기존 코드 유지 (두 번째 버튼용) --- */
.nado-bookstore-container .btn-outline a{
    /* 기존 btn-primary 스타일을 참고하여 btn-outline 스타일 정의 필요 */
    padding:13px 25px;
    border: 1px solid var(--color-deep-brown);
    background-color: var(--color-paper);
    color: var(--color-deep-brown);
    border-radius: 0.5rem;
    font-weight: 500;
    font-size: 0.9rem;
    line-height: 1;
    transition: all var(--transition-base);
}





    /* =============================================
       Section: Shelf
       ============================================= */
    .nado-bookstore-container #section-shelf {
        background-color: #F6F1EA;
        padding: 3rem 1.5rem 4rem;
    }

    .nado-bookstore-container .shelf-header {
        margin-bottom: 1.5rem;
        text-align: center;
    }

    .nado-bookstore-container .shelf-header span {
        font-size: 0.875rem;
        color: #78716c;
        display: block;
        margin-bottom: 0.5rem;
    }

    .nado-bookstore-container .shelf-header h3 {
        font-family: var(--font-serif);
        font-size: 1.5rem;
        font-weight: bold;
        color: var(--color-text-black);
        line-height:1.4;
    }

    .nado-bookstore-container .shelf-container {
        background: linear-gradient(180deg, #C5B7A5 49.86%, #968970 100%);
        border-radius: 0.5rem;
        padding: 0;
        width: 100%;
        max-width: 1280px;
        margin: 0 auto;
        position: relative;
        overflow: hidden;
        box-shadow: 
            0 20px 40px -10px rgba(0, 0, 0, 0.3),
            inset 0 2px 4px rgba(255, 255, 255, 0.1);
        border: solid 12px #EEE6DC;
    }

    .nado-bookstore-container .books-wrapper {
        min-height: 250px;
        display: flex;
        align-items: flex-end;
        gap: 0.8rem;
        overflow-x: auto;
        padding: 2rem 2rem 0 2rem;
        cursor: grab;
        user-select: none;
        position: relative;
        z-index: 2;
    }

    .nado-bookstore-container .books-wrapper.active {
        cursor: grabbing;
    }

    .nado-bookstore-container .books-wrapper::-webkit-scrollbar {
        height: 0;
        display: none;
    }

    /* 나무 선반 */
    .nado-bookstore-container .wood-shelf {
        height: 20px;
        background: linear-gradient(180deg, 
            #d4c4a8 0%, 
            #c9b896 25%,
            #bfae8a 80%,
            #a89a78 100%
        );
        position: relative;
        z-index: 3;
        box-shadow: 
            0 4px 8px rgba(0, 0, 0, 0.2),
            0 2px 4px rgba(0, 0, 0, 0.1),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }

    .nado-bookstore-container .wood-shelf::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: linear-gradient(90deg, 
            transparent 0%, 
            rgba(255,255,255,0.2) 50%, 
            transparent 100%
        );
    }

    .nado-bookstore-container .wood-shelf::after {
        content: '';
        position: absolute;
        bottom: -8px;
        left: 0;
        right: 0;
        height: 8px;
        background: linear-gradient(180deg, 
            rgba(0,0,0,0.15) 0%, 
            transparent 100%
        );
    }

    /* Book Items - Base */
    .nado-bookstore-container .book-item {
        flex-shrink: 0;
        cursor: pointer;
        transition: transform 0.3s ease, filter 0.3s ease;
        position: relative;
        transform-origin: bottom center;
    }

    .nado-bookstore-container .book-item:hover {
        transform: translateY(-8px);
        z-index: 10;
    }

    /* 책 기본 그림자 */
    .nado-bookstore-container .book-item::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 80%;
        height: 10px;
        background: radial-gradient(ellipse at center, rgba(0,0,0,0.3) 0%, transparent 70%);
        z-index: -1;
    }

    /* 책 표지 - 정면 */
    .nado-bookstore-container .book-cover {
        border-radius: 2px 4px 4px 2px;
        overflow: hidden;
        pointer-events: none;
        position: relative;
        box-shadow: 
            3px 3px 8px rgba(0, 0, 0, 0.3),
            6px 6px 20px rgba(0, 0, 0, 0.15),
            inset -2px 0 4px rgba(0, 0, 0, 0.1);
    }

    .nado-bookstore-container .book-cover img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    /* 책 표지 왼쪽 두께감 */
    .nado-bookstore-container .book-cover::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 4px;
        background: linear-gradient(90deg, 
            rgba(0,0,0,0.2) 0%, 
            rgba(0,0,0,0.05) 100%
        );
    }

    /* 사이즈 변형 */
    .nado-bookstore-container .size-lg {
        width: 170px;
        height: 250px;
    }

    .nado-bookstore-container .size-md {
        width: 150px;
        height: auto;
    }

    .nado-bookstore-container .size-sm {
        width: 138px;
        height: 200px;
    }

    .nado-bookstore-container .size-sq {
        width: 150px;
        height: 150px;
    }

    /* 기울어진 책 - 왼쪽으로 */
    .nado-bookstore-container .book-tilted-left {
        transform: rotate(-4deg);
        margin-right: -14px;
    }

    .nado-bookstore-container .book-tilted-left:hover {
        transform: rotate(-2deg) translateY(-5px);
    }

    /* 기울어진 책 - 오른쪽으로 */
    .nado-bookstore-container .book-tilted-right {
        transform: rotate(-4deg);
        margin-left: 1px;
    }

    .nado-bookstore-container .book-tilted-right:hover {
        transform: rotate(0deg) translateY(-5px);
    }


    /* 책등 사이즈 클래스 - 모바일 기본
       --spine-ar: JS가 img naturalWidth/naturalHeight 비율로 설정 (미설정 시 기존 고정 폭과 동일) */
    .nado-bookstore-container .spine-lg {
        height: 250px;
        width: auto;
        max-width: 76px;
        aspect-ratio: var(--spine-ar, 35 / 250);
    }

    .nado-bookstore-container .spine-md {
        height: 230px;
        width: auto;
        max-width: 64px;
        aspect-ratio: var(--spine-ar, 28 / 230);
    }

    .nado-bookstore-container .spine-sm {
        height: 210px;
        width: auto;
        max-width: 64px;
        aspect-ratio: var(--spine-ar, 28 / 210);
    }


    /* 책등 이미지 타입 */
    .nado-bookstore-container .book-spine-img {
        border-radius: 2px;
        position: relative;
        overflow: hidden;
        pointer-events: none;
        box-shadow: 
            2px 3px 6px rgba(0, 0, 0, 0.25),
            4px 6px 15px rgba(0, 0, 0, 0.15);
    }

    .nado-bookstore-container .book-spine-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center;
        display: block;
    }

    .nado-bookstore-container .book-spine-img::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 2px;
        background: rgba(255,255,255,0.15);
        z-index: 1;
    }

    .nado-bookstore-container .book-spine-img::after {
        content: '';
        position: absolute;
        right: 0;
        top: 0;
        bottom: 0;
        width: 2px;
        background: rgba(0,0,0,0.2);
        z-index: 1;
    }





  /* =============================================
   섹션: 책장
   ============================================= */
.nado-bookstore-container #section-shelf {
    background-color: #F6F1EA;
    padding: 3rem 1.5rem 4rem;
}

/* -----------------------------------------
   책장 헤더
   ----------------------------------------- */
.nado-bookstore-container .shelf-header {
    margin-bottom: 1.5rem;
    text-align: center;
}

.nado-bookstore-container .shelf-header span {
    font-size: 0.875rem;
    color: #78716c;
    display: block;
    margin-bottom: 0.5rem;
}

.nado-bookstore-container .shelf-header h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--color-text-black);
    line-height: 1.4;
}

/* -----------------------------------------
   책장 컨테이너
   ----------------------------------------- */
.nado-bookstore-container .shelf-container {
    background: linear-gradient(180deg, #C5B7A5 49.86%, #968970 100%);
    border-radius: 0.5rem;
    padding: 0;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 20px 40px -10px rgba(0, 0, 0, 0.3),
        inset 0 2px 4px rgba(255, 255, 255, 0.1);
    border: solid 12px #EEE6DC;
}

/* -----------------------------------------
   책 래퍼
   ----------------------------------------- */
.nado-bookstore-container .books-wrapper {
    min-height: 250px;
    display: flex;
    align-items: flex-end;
    gap: 0.8rem;
    overflow-x: auto;
    padding: 2rem 2rem 0 2rem;
    cursor: grab;
    user-select: none;
    position: relative;
    z-index: 2;
}

.nado-bookstore-container .books-wrapper.active {
    cursor: grabbing;
}

.nado-bookstore-container .books-wrapper::-webkit-scrollbar {
    height: 0;
    display: none;
}

/* -----------------------------------------
   나무 선반
   ----------------------------------------- */
.nado-bookstore-container .wood-shelf {
    height: 20px;
    background: linear-gradient(180deg, 
        #d4c4a8 0%, 
        #c9b896 25%,
        #bfae8a 80%,
        #a89a78 100%
    );
    position: relative;
    z-index: 3;
    box-shadow: 
        0 4px 8px rgba(0, 0, 0, 0.2),
        0 2px 4px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.nado-bookstore-container .wood-shelf::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255,255,255,0.2) 50%, 
        transparent 100%
    );
}

.nado-bookstore-container .wood-shelf::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 8px;
    background: linear-gradient(180deg, 
        rgba(0,0,0,0.15) 0%, 
        transparent 100%
    );
}

/* -----------------------------------------
   책 아이템 - 기본
   ----------------------------------------- */
.nado-bookstore-container .book-item {
    flex-shrink: 0;
    cursor: pointer;
    transition: transform 0.3s ease, filter 0.3s ease;
    position: relative;
    transform-origin: bottom center;
}

.nado-bookstore-container .book-item:hover {
    transform: translateY(-8px);
    z-index: 10;
}

/* 책 기본 그림자 */
.nado-bookstore-container .book-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 10px;
    background: radial-gradient(ellipse at center, rgba(0,0,0,0.3) 0%, transparent 70%);
    z-index: -1;
}

/* -----------------------------------------
   책 표지 - 정면
   ----------------------------------------- */
.nado-bookstore-container .book-cover {
    border-radius: 2px 4px 4px 2px;
    overflow: hidden;
    pointer-events: none;
    position: relative;
    box-shadow: 
        3px 3px 8px rgba(0, 0, 0, 0.3),
        6px 6px 20px rgba(0, 0, 0, 0.15),
        inset -2px 0 4px rgba(0, 0, 0, 0.1);
}

.nado-bookstore-container .book-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 책 표지 왼쪽 두께감 */
.nado-bookstore-container .book-cover::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(90deg, 
        rgba(0,0,0,0.2) 0%, 
        rgba(0,0,0,0.05) 100%
    );
}

/* -----------------------------------------
   책 표지 사이즈 - 모바일 기본
   ----------------------------------------- */
.nado-bookstore-container .size-lg {
    width: 170px;
    height: auto;
}

.nado-bookstore-container .size-md {
    width: 150px;
    height: auto;
}

.nado-bookstore-container .size-sm {
    width: 138px;
    height: auto;
}

.nado-bookstore-container .size-sq {
    width: 150px;
    height: auto;
}

/* 가로형 책 표지 (그림책 등 가로가 넓은 판형) */
.nado-bookstore-container .size-wide {
    width: 220px;
    height: auto;
}

/* -----------------------------------------
   기울어진 책
   ----------------------------------------- */
/* 왼쪽으로 기울어짐 */
.nado-bookstore-container .book-tilted-left {
    transform: rotate(-4deg);
    margin-right: -14px;
}

.nado-bookstore-container .book-tilted-left:hover {
    transform: rotate(-2deg) translateY(-5px);
}

/* 오른쪽으로 기울어짐 */
.nado-bookstore-container .book-tilted-right {
    transform: rotate(-4deg);
    margin-left: 1px;
}

.nado-bookstore-container .book-tilted-right:hover {
    transform: rotate(0deg) translateY(-5px);
}

/* -----------------------------------------
   책등 사이즈 - 모바일 기본 (--spine-ar 는 상단 블록과 동일 규칙)
   ----------------------------------------- */
.nado-bookstore-container .spine-lg {
    height: 250px;
    width: auto;
    max-width: 76px;
    aspect-ratio: var(--spine-ar, 35 / 250);
}

.nado-bookstore-container .spine-md {
    height: 230px;
    width: auto;
    max-width: 64px;
    aspect-ratio: var(--spine-ar, 28 / 230);
}

.nado-bookstore-container .spine-sm {
    height: 210px;
    width: auto;
    max-width: 64px;
    aspect-ratio: var(--spine-ar, 28 / 210);
}

/* -----------------------------------------
   책등 이미지 타입
   ----------------------------------------- */
.nado-bookstore-container .book-spine-img {
    border-radius: 2px;
    position: relative;
    overflow: hidden;
    pointer-events: none;
    box-shadow: 
        2px 3px 6px rgba(0, 0, 0, 0.25),
        4px 6px 15px rgba(0, 0, 0, 0.15);
}

.nado-bookstore-container .book-spine-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.nado-bookstore-container .book-spine-img::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(255,255,255,0.15);
    z-index: 1;
}

.nado-bookstore-container .book-spine-img::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(0,0,0,0.2);
    z-index: 1;
}


/* =============================================
   섹션: 블라인드 북
   ============================================= */
.nado-bookstore-container #section-blind {
    position: relative;
    overflow: hidden;
    background-color: #E3DAC9;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: auto;
    padding: 4rem 1.5rem;
}

/* -----------------------------------------
   블라인드북 헤더
   ----------------------------------------- */
.nado-bookstore-container .blind-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.nado-bookstore-container .blind-badge {
    display: inline-block;
    background-color: #5a4a3a;
    color: white;
    font-size: 0.85rem;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 1rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    font-family: var(--font-sans);
}

.nado-bookstore-container .blind-title {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--color-text-black);
    margin-bottom: 1.4rem;
    line-height: 1;
}

.nado-bookstore-container .blind-subtitle {
    font-size: 0.95rem;
    color: #6b5b4f;
    font-style: italic;
    font-family: var(--font-sans);
    line-height: 1.2;
}

/* -----------------------------------------
   블라인드북 컨텐츠 영역
   ----------------------------------------- */
.nado-bookstore-container .blind-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    width: 100%;
    max-width: 1000px;
    font-family: var(--font-sans);
}

/* -----------------------------------------
   시크릿 이미지
   ----------------------------------------- */
.nado-bookstore-container .secret-image-wrapper {
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.nado-bookstore-container .secret-image-wrapper:hover {
    transform: scale(1.02);
}

.nado-bookstore-container .secret-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 15px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.2),
        0 10px 20px rgba(0, 0, 0, 0.1);
}

.nado-bookstore-container .secret-hint {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(90, 74, 58, 0.0);
    color: #393128;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.8rem;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* -----------------------------------------
   블라인드북 팝업
   ----------------------------------------- */
.nado-bookstore-container .blind-popup-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 20000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.nado-bookstore-container .blind-popup-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

.nado-bookstore-container .blind-popup {
    background: white;
    border-radius: 16px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    max-width: 480px;
    width: 100%;
    padding: 2.5rem 2rem;
    text-align: center;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s ease;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.nado-bookstore-container .blind-popup-backdrop.active .blind-popup {
    transform: scale(1) translateY(0);
}

.nado-bookstore-container .blind-popup-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 32px;
    height: 32px;
    border-radius: 50%;   
    color: #666;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
}

.nado-bookstore-container .blind-popup-close:hover {
    background: #e0e0e0;
    color: #333;
}

.nado-bookstore-container .blind-popup-label {
    font-size: 0.8rem;
    color: #a8a29e;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.nado-bookstore-container .blind-popup-text {
    font-size: 1rem;
    line-height: 1.8;
    color: #4a4a4a;
    margin-bottom: 2rem;
    word-break: keep-all;
    font-family: var(--font-sans);
    text-align: left;
}

.nado-bookstore-container .blind-popup-text strong {
    color: #2d2d2d;
    font-weight: 600;
}

/* -----------------------------------------
   블라인드북 팝업 버튼
   ----------------------------------------- */
.nado-bookstore-container .blind-popup-buttons {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-family: var(--font-sans);
}

.nado-bookstore-container .blind-btn-like {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 15px;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    color: #c41e3a;
    transition: background-color var(--transition-base);
    font-size: 0.95rem;
    font-weight: 600;
    transition: background 0.2s;
}

.nado-bookstore-container .blind-btn-like:hover {
    background-color: #fef2f2;
}

.nado-bookstore-container .blind-btn-cart,
.nado-bookstore-container a.cart_btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 28px;
    background-color: var(--color-deep-brown);
    color: white;
    border: 1px solid var(--color-deep-brown);
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    transition: background 0.2s, border-color 0.2s;
    text-decoration: none;
    cursor: pointer;
}

.nado-bookstore-container .blind-btn-cart:hover,
.nado-bookstore-container a.cart_btn:hover {
    background: #f9f9f9;
    border-color: #ccc;
    color: var(--color-deep-brown);
}

.nado-bookstore-container .blind-popup-notice {
    font-size: 0.8rem;
    color: #999;
    line-height: 1.6;
}

/* -----------------------------------------
   블라인드북 PC 버전
   ----------------------------------------- */
@media (min-width: 768px) {
    span.br2 { display: block; }
    span.br { display: inline-block; }

    .nado-bookstore-container #section-blind {
        padding: 5rem 2rem;
    }

    .nado-bookstore-container .blind-title {
        font-size: 2.2rem;
    }

    .nado-bookstore-container .secret-image {
        max-width: 450px;
    }

    .nado-bookstore-container .blind-popup {
        padding: 3rem 2.5rem;
    }

    .nado-bookstore-container .blind-popup-text {
        font-size: 1.05rem;
    }
}


/* =============================================
   섹션: 아카이브 (지난 서점)
   ============================================= */
.nado-bookstore-container #section-archive {
    background-color: var(--color-deep-brown);
    color: var(--color-stone-400);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 4rem 1.5rem;
}

/* -----------------------------------------
   아카이브 타이틀 영역
   ----------------------------------------- */
.nado-bookstore-container .archive-title-area {
    text-align: center;
    margin-bottom: 2rem;
}

.nado-bookstore-container .archive-title {
    color: white;
    font-family: var(--font-serif);
    font-size: 1.25rem;
    border-bottom: 0px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1rem;
    margin-bottom: 0rem;
    display: inline-block;
}

.nado-bookstore-container .archive-desc {
    font-size: 0.875rem;
    color: var(--color-stone-400);
    margin-bottom: 2rem;
}

/* -----------------------------------------
   다른서점 Swiper 슬라이더 래퍼
   ----------------------------------------- */
.nado-bookstore-container .archive-swiper-area {
    width: 100%;
    max-width: 100%;
    position: relative;
    padding: 0 0 1.5rem;
}

.nado-bookstore-container .archive-swiper-area .swiper {
    width: 100%;
    padding-bottom: 2.5rem;
}

.nado-bookstore-container .archive-swiper-area .swiper-slide {
    height: auto;
}

/* Swiper 페이지네이션 */
.nado-bookstore-container .archive-swiper-area .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.4);
    opacity: 1;
}
.nado-bookstore-container .archive-swiper-area .swiper-pagination-bullet-active {
    background: #fff;
}

/* Swiper 네비게이션 화살표 (PC 전용, 모바일 숨김) */
.nado-bookstore-container .archive-nav-btn {
    display: none;
}

/* -----------------------------------------
   다른서점 카드 (podcast-card 스타일)
   ----------------------------------------- */
.nado-bookstore-container .podcast-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid ;
    border-color: var(--color-deep-brown);
    border-radius: 0.5rem;
    overflow: hidden;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
    height: 100%;
}

.nado-bookstore-container .podcast-card:hover {
    transform: translateY(0px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.12);
    border-color: var(--color-wood-light);
}

.nado-bookstore-container .podcast-thumbnail {
    width: 100%;
    aspect-ratio: 16 / 10;
    position: relative;
    overflow: hidden;
    background-color: var(--color-deep-brown);
}

.nado-bookstore-container .podcast-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.nado-bookstore-container .podcast-card:hover .podcast-bg {
    transform: scale(1.05);
}

.nado-bookstore-container .podcast-content {
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    background-color: #ffffff;
    text-align: left;
}

.nado-bookstore-container .podcast-author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.6rem;
}

.nado-bookstore-container .podcast-avatar {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.nado-bookstore-container .podcast-author-name {
    font-size: 0.7rem;
    color: #78716c;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nado-bookstore-container .podcast-title {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: var(--color-deep-brown);
    margin: 0 0 0.5rem;
    line-height: 1.3;
    font-weight: 700;
}

.nado-bookstore-container .podcast-desc {
    font-size: 0.8rem;
    color: #57534e;
    line-height: 1.5;
    margin: 0 0 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.nado-bookstore-container .podcast-action {
    margin-top: auto;
    align-self: flex-start;
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--color-text-main);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color var(--transition-base);
    position: relative;
}

.nado-bookstore-container .podcast-action::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-wood-dark);
    transition: width 0.35s ease;
}

.nado-bookstore-container .podcast-card:hover .podcast-action::after {
    width: 100%;
}

.nado-bookstore-container .podcast-card:hover .podcast-action {
    color: var(--color-wood-dark);
}


.nado-bookstore-container .archive-footer {
    margin-top: 3rem;
    font-size: 0.75rem;
    opacity: 0.4;
}

/* 서점 모두 보기 버튼 */
.nado-bookstore-container .archive-view-all {
    display: inline-block;
    margin-top: 1rem;
    padding: 10px 24px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    color: white;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.nado-bookstore-container .archive-view-all:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}


/* =============================================
   모달 공통
   ============================================= */
.nado-bookstore-container .modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 20000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-base);
}

.nado-bookstore-container .modal-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

.nado-bookstore-container .modal-content {
    transform: scale(0.95);
    transition: transform var(--transition-base);
}

.nado-bookstore-container .modal-backdrop.active .modal-content {
    transform: scale(1);
}

/* -----------------------------------------
   정보 모달
   ----------------------------------------- */
.nado-bookstore-container .info-content {
    max-width: 400px;
    text-align: center;
    background-color: #fffcf5;
    border: 1px solid #e5e5e5;
}

.nado-bookstore-container .info-body {
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.nado-bookstore-container .info-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    color: var(--color-deep-brown);
    display: flex;
    align-items: center;
}

.nado-bookstore-container .info-badge {
    font-size: 0.7rem;
    background: var(--color-wood-light);
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    vertical-align: middle;
    margin-left: 5px;
}

.nado-bookstore-container .info-text {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 2rem;
    word-break: keep-all;
    font-family: var(--font-sans);
}

.nado-bookstore-container .btn-close-info {
    padding: 0.5rem 2rem;
    border: 1px solid var(--color-deep-brown);
    border-radius: 20px;
    font-size: 0.9rem;
    transition: all var(--transition-base);
    color: var(--color-deep-brown);
}

.nado-bookstore-container .btn-close-info:hover {
    background: var(--color-deep-brown);
    color: white;
}

/* -----------------------------------------
   책 상세 모달
   ----------------------------------------- */
.nado-bookstore-container .book-detail-content {
    background-color: white;
    border-radius: 0.75rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.nado-bookstore-container .modal-body {
    display: flex;
    flex-direction: column;
}

/* 모달 이미지 영역 */
.nado-bookstore-container .modal-img-area {
    background-color: #f3f4f6;
    padding: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nado-bookstore-container .modal-img-area img {
    width: 40%;
    box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.4);
}

/* 모달 텍스트 영역 */
.nado-bookstore-container .modal-text-area {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.nado-bookstore-container .modal-header {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 1rem;
    line-height: 1.2;
    align-items: flex-start;
}

.nado-bookstore-container .curator-pick {
    font-size: 0.75rem;
    color: #e0687c;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.nado-bookstore-container .modal-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0.5rem 0;
}

.nado-bookstore-container .modal-author {
    color: #78716c;
    font-size: 0.9rem;
}

.nado-bookstore-container .modal-close-btn {
    font-size: 1.25rem;
    color: #9ca3af;
    transition: color var(--transition-base);
    position: absolute;
    right: 20px;
    top: 25px;
    background: transparent;
}

.nado-bookstore-container .modal-close-btn:hover {
    color: #4b5563;
    background: transparent;
}

/* 코멘트 박스 */
.nado-bookstore-container .comment-box {
    background-color: #fcf8f1;
    padding: 1.5rem;
    border-radius: 0.5rem;
    position: relative;
    margin-bottom: 2rem;
}

.nado-bookstore-container .quote-icon {
    position: absolute;
    top: -10px;
    left: 20px;
    color: #d8c6b3;
    font-size: 1.5rem;
}

.nado-bookstore-container .comment-text {
    color: #444;
    line-height: 1.6;
    font-size: 1rem;
}

/* 모달 액션 버튼 */
.nado-bookstore-container .modal-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: auto;
}

.nado-bookstore-container .modal-btn-cart {
    flex: 1;
    padding: 1rem;
    background-color: var(--color-deep-brown);
    color: white;
    border-radius: 0.5rem;
    font-weight: bold;
    transition: background-color var(--transition-base);
    font-size: 1rem;
}

.nado-bookstore-container .modal-btn-like {
    padding: 1rem 1.5rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    color: #c41e3a;
    transition: background-color var(--transition-base);
}

.nado-bookstore-container .modal-btn-like:hover {
    background-color: #fef2f2;
}



    /* 방명록 남기기 영역  */
    #comment2019 .comment_number {display:none;}
       /* 섹션 컨테이너 스타일 (필요시 조정 가능) */
        .guestbook-input-section {
            background-image: url('https://image.aladin.co.kr/img/events/book/2026/01/0313_store_writebg5.jpg');
            background-size: cover; /* 이미지가 영역을 꽉 채우도록 */
            background-position: center top; 
            background-attachment: fixed; /* ★ 스크롤 시 배경 이미지 고정 효과 ★ */
            background-color: #f4f1ea; /* 이미지 로딩 전 기본 배경색 */
            padding: 4rem 2rem 4rem; /* 배경 이미지가 잘 보이도록 위아래 여백을 넉넉하게 확대 */
            width: 100%;
            box-sizing: border-box;
            position: relative;
        }
         /* iOS Safari 등 일부 모바일 브라우저에서 fixed 속성 충돌 방지용 폴백 */
        @supports (-webkit-overflow-scrolling: touch) {
            .guestbook-input-section {
                background-attachment: scroll;
            }
        }


        /* ★ 추가된 영역: 입력 박스 상단 헤더 (툴팁 우측 정렬용) */
        .guestbook-input-section .guestbook-input-header {
            max-width: 75rem;
            margin: 0 auto 0.5rem auto; 
            display: flex;
            justify-content: flex-end; 
            padding: 0 10px; 
        }

        /* 1. 입력 폼 전체 컨테이너 (따뜻한 카드 형태) */
        .guestbook-input-section #boxInput.box2 {
            background-color: #ffffff;
            border: 1px solid #eadecd;
            border-radius: 16px;
            padding: 24px;
            box-shadow: 0 4px 20px rgba(62, 39, 35, 0.04);
            margin: 0 auto; 
            max-width: 75rem; 
            font-family: 'Pretendard Variable', 'Pretendard', 'Noto Sans KR', sans-serif;
            box-sizing: border-box;
        }

        /* 2. 텍스트 입력창 (종이 질감 & 명조체 감성) */
        .guestbook-input-section #boxInput #txtCommentTextArea {
            width: 100% !important; 
            height: 150px !important; 
            padding: 16px;
            border: 1px solid #e5e7eb;
            border-radius: 8px;
            background-color: #fdfbf7; 
            font-family: 'Gowun Batang', serif!important; 
            font-size: 1.05rem;
            line-height: 1.6;
            color: #3e2723;
            resize: none;
            box-sizing: border-box;
            outline: none;
            transition: border-color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
        }

        /* 텍스트 입력창 클릭(포커스) 시 효과 */
        .guestbook-input-section #boxInput #txtCommentTextArea:focus {
            border-color: #8b4513; 
            background-color: #ffffff;
            box-shadow: 0 0 0 3px rgba(139, 69, 19, 0.1);
        }

        .guestbook-input-section #boxInput #txtCommentTextArea::placeholder {
            color: #a8a29e;
        }

        /* 3. 하단 컨트롤 영역 (글자수 & 버튼) */
        .guestbook-input-section #boxInput #commentReviewMsg {
            text-align: right; 
            padding-top: 16px !important;
            border-top: 1px dashed #eadecd; 
            margin-top: 16px;
            color: #78716c;
            font-size: 0.9rem;
            position: relative;
        }

        /* 글자수 카운팅 텍스트 강조 */
        .guestbook-input-section #boxInput #cnt_commentReview strong {
            color: #c41e3a; 
            font-weight: 800;
        }

        /* ★ 3-1. 안내 툴팁(i 아이콘) 영역 CSS ★ */
        .guestbook-input-section .info-tooltip-wrap {
            display: inline-block;
            position: relative;
            cursor: pointer;
            /* 모바일 탭 하이라이트 제거 */
            -webkit-tap-highlight-color: transparent; 
        }

        .guestbook-input-section .info-icon {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 22px;
            height: 22px;
            background-color: #bfb3ab;
            color: #ffffff;
            border-radius: 50%;
            font-size: 13px;
            font-weight: bold;
            font-style: normal;
            font-family: sans-serif;
            transition: background-color 0.2s;
        }

        /* PC 마우스 오버 OR 모바일 클릭(is-active) 시 아이콘 색상 변경 */
        @media (hover: hover) {
            .guestbook-input-section .info-tooltip-wrap:hover .info-icon {
                background-color: #78716c;
            }
        }
        .guestbook-input-section .info-tooltip-wrap.is-active .info-icon {
            background-color: #bfb3ab;
        }

        .guestbook-input-section .tooltip-box {
            display: none;
            position: absolute;
            bottom: calc(100% + 10px);
            right: -6px; 
            width: max-content;
            max-width: 320px;
            background-color: #ffffff;
            border: 1px solid #e5e7eb;
            box-shadow: 0 4px 20px rgba(0,0,0,0.08);
            padding: 14px 18px;
            border-radius: 8px;
            font-size: 0.85rem;
            color: #57534e;
            text-align: left;
            line-height: 1.5;
            z-index: 100;
            word-break: keep-all;
            font-family: 'Pretendard Variable', 'Pretendard', 'Noto Sans KR', sans-serif;
            /* 터치 시 말풍선 자체 클릭은 무시되도록 처리 */
            cursor: default; 
        }

        /* 툴팁 등장 애니메이션 */
        @keyframes tooltipFadeIn {
            from { opacity: 0; transform: translateY(5px); }
            to { opacity: 1; transform: translateY(0); }
        }

        /* PC 마우스 오버 OR 모바일 클릭(is-active) 시 툴팁 노출 */
        @media (hover: hover) {
            .guestbook-input-section .info-tooltip-wrap:hover .tooltip-box {
                display: block;
                animation: tooltipFadeIn 0.2s ease-out forwards;
            }
        }
        .guestbook-input-section .info-tooltip-wrap.is-active .tooltip-box {
            display: block;
            animation: tooltipFadeIn 0.2s ease-out forwards;
        }

        /* 말풍선 꼬리 */
        .guestbook-input-section .tooltip-box::after,
        .guestbook-input-section .tooltip-box::before {
            content: '';
            position: absolute;
            top: 100%;
            right: 12px; 
            border-style: solid;
        }
        
        .guestbook-input-section .tooltip-box::after {
            border-width: 7px;
            border-color: #ffffff transparent transparent transparent;
            margin-right: 1px;
        }
        
        .guestbook-input-section .tooltip-box::before {
            border-width: 8px;
            border-color: #e5e7eb transparent transparent transparent;
            z-index: -1;
        }

        /* 4. 기존 알라딘 파란색 버튼 디자인 덮어쓰기 */
        .guestbook-input-section #boxInput .comment_btn_blue_s {
            display: inline-block;
            vertical-align: middle;
            margin-left: 12px; 
            background:transparent;
        }

        .guestbook-input-section #boxInput .comment_btn_blue_s a {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 0.6rem 1.8rem;
            background-color: #3e2723; 
            color: #ffffff !important; 
            font-weight: 700;
            font-size: 0.95rem;
            font-family: 'Pretendard Variable', 'Pretendard', 'Noto Sans KR', sans-serif;
            border-radius: 50px; 
            text-decoration: none;
            transition: background-color 0.2s, transform 0.2s, box-shadow 0.2s;
            box-shadow: 0 2px 6px rgba(62, 39, 35, 0.15);
        }

        .guestbook-input-section #boxInput .comment_btn_blue_s a:hover {
            background-color: #8b4513; 
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(62, 39, 35, 0.25);
        }

        /* [수정 모드] 취소 버튼 */
        .guestbook-input-section #boxInput #btnCommentUpdateCancel a {
            background-color: #ffffff;
            color: #3e2723 !important;
            border: 1px solid #d4d4d4;
            box-shadow: none;
        }
        
        .guestbook-input-section #boxInput #btnCommentUpdateCancel a:hover {
            background-color: #fdfbf7;
            border-color: #3e2723;
        }

        /* 플로팅 해제 */
        .guestbook-input-section #boxInput .clear {
            clear: both;
        }

        /* =============================================================
           [★ 신규 추가 ★] 등록 완료 커스텀 모달 (팝업) CSS
           ============================================================= */
        .custom-modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.6);
            backdrop-filter: blur(4px);
            z-index: 9999;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s ease, visibility 0.3s ease;
            font-family: 'Pretendard Variable', 'Pretendard', 'Noto Sans KR', sans-serif;
        }

        /* JS로 팝업을 열 때 사용할 활성화 클래스 */
        .custom-modal-overlay.is-active {
            opacity: 1;
            visibility: visible;
        }

        .custom-modal-box {
            background: #ffffff;
            width: 90%;
            max-width: 400px;
            border-radius: 16px;
            padding: 2.5rem 2rem;
            text-align: center;
            box-shadow: 0 10px 30px rgba(0,0,0,0.2);
            transform: translateY(20px);
            transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }

        .custom-modal-overlay.is-active .custom-modal-box {
            transform: translateY(0);
        }

        .custom-modal-icon {
            font-size: 3rem;
            color: #deb887;
            margin-bottom: 1rem;
        }

        .custom-modal-title {
            font-family: 'Gowun Batang', serif;
            font-size: 1.5rem;
            font-weight: 700;
            color: #3e2723;
            margin: 0 0 0.8rem;
        }

        .custom-modal-desc {
            font-size: 0.95rem;
            color: #57534e;
            line-height: 1.6;
            margin: 0 0 2rem;
            word-break: keep-all;
        }

        .custom-modal-btn-wrap {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }

        .custom-modal-btn {
            padding: 1rem;
            border-radius: 8px;
            font-size: 1rem;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.2s ease;
            border: none;
            width: 100%;       
        }

        .btn-move {
            background-color: #3e2723;
            color: #ffffff;
        }

        .btn-move:hover {
            background-color: #8b4513;
        }

        .btn-stay {
            background-color: #f3f4f6!important;
            color: #57534e;
        }

        .btn-stay:hover {
            background-color: #e5e7eb;
            color: #3e2723;
        }






    /* =============================================       Responsive: Desktop (768px+)       ============================================= */

@media (min-width: 768px) {

    /* -----------------------------------------
       컨테이너 레이아웃
       ----------------------------------------- */
    .nado-bookstore-container {
        flex-direction: row;
    }

    .nado-bookstore-container .mobile-header {
        display: none;
    }

    /* -----------------------------------------
       사이드바 PC
       ----------------------------------------- */
    .nado-bookstore-container .sidebar {
        position: -webkit-sticky;
        position: sticky;
        top: 0;
        left: auto;
        flex-shrink: 0;
        height: 100vh;
        box-shadow: 4px 0 10px rgba(0, 0, 0, 0.1);
    }

    .nado-bookstore-container .scene {
        transform: scale(1);
    }

    /* -----------------------------------------
       인트로 섹션 PC
       ----------------------------------------- */
    .nado-bookstore-container #section-intro.panel {
    /* 배경 이미지 및 그라데이션 오버레이 설정 */
    /* linear-gradient를 먼저 선언하여 이미지 위에 오버레이 효과를 줍니다. */
    background-image:
        linear-gradient(
            to bottom,
            rgba(255, 248, 240, 0.2) 0%,   /* 상단: 밝고 투명하게 시작 */
            rgba(255, 245, 235, 0.75) 50%,  /* 중간: 텍스트 주변을 부드럽게 감쌈 */
            rgba(255, 240, 230, 0.2) 100%    /* 하단: 배경색과 자연스럽게 연결되도록 불투명하게 */
        ),
     
        url('https://image.aladin.co.kr/img/events/book/2026/01/store_bg1.jpg');

    /* 배경 이미지 사이즈 및 위치 설정 */
    background-size: cover;      /* 이미지가 섹션을 꽉 채우도록 설정 */
    background-position: center; /* 이미지가 중앙에 위치하도록 설정 */
    background-repeat: no-repeat; /* 이미지 반복 없음 */
    /* 섹션의 테두리 제거 (디자인 시안 반영) */
    border: none;
    display: flex;
    flex-direction: row;
    
    }

    .author-img1 {order: 1;}
    .intro-content {order: 2;}
 

    .nado-bookstore-container .badge-text {
        text-align: left;
    }

    .nado-bookstore-container #section-intro {
        flex-direction: row;
        text-align: left;
        padding: 4rem;
    }

    .nado-bookstore-container .curator-badge {
        flex-direction: row;
        margin-right: 3rem;
        margin-bottom: 0;
        min-width:340px;
        justify-content: flex-start; text-align: left;
    }

    .nado-bookstore-container .badge-month {
        width: 76px;
        height: 76px;
        color: var(--color-deep-brown);
    }

    .nado-bookstore-container .month-number {
        font-size: 26px;
    }

    .nado-bookstore-container .month-text {
        font-size: 17px;
    }

    .nado-bookstore-container .badge-text span {
        font-size: 1rem;
        line-height: 1.6;
    }

    .nado-bookstore-container .badge-text h2 {
        font-size: 2rem;
        margin:0;
    }

    .nado-bookstore-container .btn-group {
        justify-content: flex-start;
    }

    .nado-bookstore-container .intro-text h3 {
        font-size: 50px;
        margin-top: 0;
    }

    .nado-bookstore-container .intro-text p {
        font-size: 16px;
        margin:0 0 2rem 0;
    }

    .nado-bookstore-container .btn-outline a:hover {
        background-color: var(--color-deep-brown);
        color: white;
    }

    /* -----------------------------------------
       책장 섹션 PC
       ----------------------------------------- */
    .nado-bookstore-container #section-shelf {
        padding: 4rem 1.5rem 4rem;
    }

    .nado-bookstore-container .shelf-header span {
        margin-bottom: 10px;
        font-size: 15px;
    }

    .nado-bookstore-container .shelf-header h3 {
        font-size: 2.2rem;
        margin:0;
    }

    .nado-bookstore-container .books-wrapper {
        min-height: 380px;
        padding: 2.5rem 3rem 0 3.5rem;
        gap: 1.2rem;
    }

    /* 책 표지 사이즈 PC */
    .nado-bookstore-container .size-lg {
        width: 220px;
        height: auto;
    }

    .nado-bookstore-container .size-md {
        width: 200px;
        height: auto;
    }

    .nado-bookstore-container .size-sm {
        width: 180px;
        height: auto;
    }

    .nado-bookstore-container .size-sq {
        width: 200px;
        height: auto;
    }

    /* 가로형 책 표지 PC */
    .nado-bookstore-container .size-wide {
        width: 280px;
        height: auto;
    }

    .nado-bookstore-container .book-spine {
        height: auto;
    }

    /* 책등 사이즈 PC (--spine-ar 동일, 높이만 PC 값) */
    .nado-bookstore-container .spine-lg {
        height: 310px;
        width: auto;
        max-width: 92px;
        aspect-ratio: var(--spine-ar, 42 / 310);
    }

    .nado-bookstore-container .spine-md {
        height: 290px;
        width: auto;
        max-width: 72px;
        aspect-ratio: var(--spine-ar, 30 / 290);
    }

    .nado-bookstore-container .spine-sm {
        height: 270px;
        width: auto;
        max-width: 60px;
        aspect-ratio: var(--spine-ar, 25 / 270);
    }

    /* 눕혀진 책 스택 PC */
    .nado-bookstore-container .book-stack-item {
        width: 170px;
        height: 54px;
        font-size: 10px;
        padding-left: 10px;
    }

    .nado-bookstore-container .book-stack-item:nth-child(2) {
        width: 145px;
    }

    .nado-bookstore-container .book-stack-item:nth-child(3) {
        width: 155px;
    }

    .nado-bookstore-container .book-stack-item:nth-child(4) {
        width: 148px;
    }

    /* -----------------------------------------
       책 모달 PC
       ----------------------------------------- */
    .nado-bookstore-container .modal-body {
        flex-direction: row;
        height: auto;
    }

    .nado-bookstore-container .modal-img-area {
        width: 40%;
        min-height: 400px;
    }

    .nado-bookstore-container .modal-img-area img {
        width: 70%;
        box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.4);
    }

    .nado-bookstore-container .modal-text-area {
        width: 60%;
    }

    .nado-bookstore-container .modal-title {
        margin: 0.8rem 0;
    }

    .nado-bookstore-container .modal-author {
        font-size: 0.8rem;
        margin-bottom: 10px;
    }

    .nado-bookstore-container .modal-btn-cart {
        font-size: 14px;
    }

    .nado-bookstore-container .modal-btn-like {
        font-size: 16px;
        padding: 15px 19px;
    }

    /* -----------------------------------------
       블라인드북 섹션 PC
       ----------------------------------------- */
    .nado-bookstore-container .blind-badge {
        font-size: 16px;
        padding: 8px 16px;
    }

    .nado-bookstore-container .blind-subtitle {
        font-size: 18px;
        padding: 15px 0;
    }

    /* -----------------------------------------
       다른서점 섹션 PC
       ----------------------------------------- */
    .nado-bookstore-container #section-archive {padding:4rem 6rem;}
    .nado-bookstore-container .archive-swiper-area .swiper-slide {
        width: auto;
    }

    .nado-bookstore-container .archive-nav-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 40%;
        transform: translateY(-50%);
        width: 2.5rem;
        height: 2.5rem;
        border-radius: 50%;
        background: rgba(255,255,255,0.15);
        color: rgba(255,255,255,0.7);
        font-size: 1rem;
        z-index: 10;
        cursor: pointer;
        border: none;
        transition: all 0.2s ease;
    }
    .nado-bookstore-container .archive-nav-btn:hover {
        background: rgba(255,255,255,0.3);
        color: #fff;
    }
    .nado-bookstore-container .archive-nav-prev { left: -0.5rem; }
    .nado-bookstore-container .archive-nav-next { right: -0.5rem; }

    .nado-bookstore-container .podcast-title {
        font-size: 1.2rem;
    }

    .nado-bookstore-container .archive-title { font-size: 1.5rem; }

    .nado-bookstore-container .archive-title {font-size:1.5rem;}
    
    /* 방명록 */
    .guestbook-input-section .guestbook-input-header {max-width: 51rem;}
    .guestbook-input-section #boxInput.box2 {max-width: 50rem;}
    .guestbook-input-section { padding: 6rem 2rem 8rem;}

    }

    /* Hidden finish event (기존 호환) */
    .finish-event {
        display: none;
    }