@charset "UTF-8";

:root {
    --books-primary: #00003c;
    --books-primary-strong: #000080;
    --books-link: #0056b3;
    --books-text: #191c1d;
    --books-muted: #464653;
    --books-line: #e1e3e4;
    --books-line-strong: #c6c5d5;
    --books-surface: #f8f9fa;
    --books-surface-low: #f3f4f5;
    --books-surface-mid: #edeeef;
    --books-white: #ffffff;
    --books-container: 1200px;
    --books-gutter: 24px;
    --books-radius: 8px;
    --books-shadow: 0 8px 30px rgba(25, 28, 29, 0.08);
    --books-font-head: "Libre Franklin", "Pretendard", "Malgun Gothic", sans-serif;
    --books-font-body: "Inter", "Pretendard", "Malgun Gothic", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    letter-spacing: -0.045em;
}

body.books-body {
    margin: 0;
    min-width: 320px;
    background: var(--books-surface);
    color: var(--books-text);
    font-family: var(--books-font-body);
    font-size: 16px;
    line-height: 1.5;
    word-wrap: break-word;
    word-break: keep-all;
}

html:has(body.books-body),
body.books-body {
    scrollbar-width: none;
    -ms-overflow-style: none;
    overflow-x: clip;
}

html:has(body.books-body)::-webkit-scrollbar,
body.books-body::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
}

button,
input {
    font: inherit;
}

button {
    cursor: pointer;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.books-wrap {
    min-height: 100vh;
    background: var(--books-white);
}

.books-container {
    width: min(100% - 96px, var(--books-container));
    margin: 0 auto;
}

.books-site-nav {
    background: var(--books-white);
    border-bottom: 1px solid rgba(198, 197, 213, 0.35);
}

.books-site-nav__inner {
    display: flex;
    justify-content: center;
    align-items: stretch;
    min-height: 40px;
    overflow-x: auto;
    scrollbar-width: none;
}

.books-site-nav__inner::-webkit-scrollbar {
    display: none;
}

.books-site-nav a {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    padding: 0 24px;
    color: var(--books-muted);
    font-size: 12px;
    font-weight: 600;
    border-top: 2px solid transparent;
}

.books-site-nav a:hover,
.books-site-nav a.is-active {
    color: var(--books-primary);
}

.books-site-nav a.is-active {
    background: var(--books-white);
    border-top-color: var(--books-primary);
    border-left: 1px solid rgba(198, 197, 213, 0.35);
    border-right: 1px solid rgba(198, 197, 213, 0.35);
}

.books-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--books-line-strong);
    backdrop-filter: blur(10px);
}

.books-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 80px;
    gap: var(--books-gutter);
}

.books-logo {
    margin: 0;
    line-height: 0;
}

.books-logo img {
    width: 170px;
    height: auto;
}

.books-gnb {
    display: flex;
    align-items: stretch;
    align-self: stretch;
    gap: var(--books-gutter);
}

.books-gnb a {
    display: flex;
    align-items: center;
    border-bottom: 2px solid transparent;
    color: var(--books-muted);
    font-size: 14px;
    font-weight: 700;
}

.books-gnb a:hover,
.books-gnb a.is-active {
    color: var(--books-primary);
    border-bottom-color: var(--books-primary);
}

.books-header__actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.books-auth {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--books-muted);
    font-size: 12px;
    font-weight: 500;
}

.books-auth a:hover {
    color: var(--books-primary);
}

.books-icon-button,
.books-mobile-toggle,
.books-round-button,
.books-slider-button {
    border: 1px solid var(--books-line);
    background: var(--books-white);
    color: var(--books-primary);
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.books-icon-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: 50%;
    font-size: 22px;
    line-height: 1;
}

.books-icon-button > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
    transform: translateY(-2px);
}

.books-icon-button:hover,
.books-round-button:hover,
.books-slider-button:hover {
    background: var(--books-surface-low);
    border-color: var(--books-primary);
}

.books-mobile-toggle {
    display: none;
    width: 40px;
    height: 40px;
    padding: 9px;
    border-radius: 6px;
}

.books-mobile-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    margin: 4px 0;
    background: var(--books-primary);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.books-mobile-toggle.is-open span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.books-mobile-toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.books-mobile-toggle.is-open span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.books-mobile-panel {
    display: none;
    border-top: 1px solid var(--books-line);
    background: var(--books-white);
}

.books-mobile-panel.is-open {
    display: block;
}

.books-mobile-panel__nav {
    display: grid;
    width: min(100% - 32px, var(--books-container));
    margin: 0 auto;
    padding: 12px 0 18px;
}

.books-mobile-panel__nav a {
    padding: 13px 4px;
    border-bottom: 1px solid var(--books-line);
    color: var(--books-muted);
    font-size: 15px;
    font-weight: 700;
}

.books-main {
    overflow: hidden;
}

.books-hero {
    position: relative;
    overflow: hidden;
    background: var(--books-surface);
}

.books-hero__track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.books-hero__slide {
    min-width: 100%;
    position: relative;
    background-color: var(--books-surface);
    background-image:
        linear-gradient(90deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.8) 46%, rgba(255, 255, 255, 0.48) 100%),
        var(--books-hero-bg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.books-hero__slide--coral {
    background-position: center;
}

.books-hero__slide--mint {
    background-position: center;
}

.books-hero__content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
    align-items: center;
    gap: 72px;
    min-height: 470px;
    padding-top: 56px;
    padding-bottom: 56px;
}

.books-hero__copy {
    max-width: 560px;
}

.books-eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 12px;
    margin-bottom: 20px;
    border: 1px solid var(--books-line-strong);
    border-radius: 999px;
    background: var(--books-surface-low);
    color: var(--books-primary);
    font-size: 12px;
    font-weight: 700;
}

.books-hero h2,
.books-section h2,
.books-board h2,
.books-sns h2 {
    font-family: var(--books-font-head);
    letter-spacing: 0;
}

.books-hero h2 {
    margin: 0;
    color: var(--books-text);
    font-size: 40px;
    line-height: 1.2;
    font-weight: 700;
}

.books-hero p {
    max-width: 540px;
    margin: 22px 0 0;
    color: var(--books-muted);
    font-size: 18px;
    line-height: 1.6;
}

.books-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.books-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 26px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
}

.books-button--primary {
    background: var(--books-primary);
    border: 1px solid var(--books-primary);
    color: var(--books-white);
}

.books-button--primary:hover {
    background: var(--books-primary-strong);
}

.books-button--secondary {
    border: 1px solid var(--books-primary);
    color: var(--books-primary);
    background: rgba(255, 255, 255, 0.65);
}

.books-button--secondary:hover {
    background: rgba(0, 0, 128, 0.05);
}

.books-hero__cover {
    position: relative;
    display: flex;
    justify-content: center;
}

.books-hero__cover::before {
    content: "";
    position: absolute;
    inset: 24px;
    background: rgba(255, 255, 255, 0.65);
    filter: blur(24px);
}

.books-hero__cover img {
    position: relative;
    z-index: 1;
    width: min(100%, 320px);
    max-height: 360px;
    object-fit: contain;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--books-radius);
    box-shadow: 0 20px 50px rgba(25, 28, 29, 0.18);
}

.books-slider-button {
    position: absolute;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: var(--books-primary);
    font-size: 32px;
    line-height: 1;
}

.books-hero > .books-slider-button {
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.86);
}

.books-hero > .books-slider-button--prev {
    left: 24px;
}

.books-hero > .books-slider-button--next {
    right: 24px;
}

.books-slider-dots {
    position: absolute;
    z-index: 5;
    left: 50%;
    bottom: 28px;
    display: flex;
    gap: 10px;
    transform: translateX(-50%);
}

.books-slider-dots button {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 60, 0.24);
}

.books-slider-dots button.is-active {
    background: var(--books-primary);
}

.books-section {
    padding: 80px 0;
}

.books-section--white {
    background: var(--books-white);
    border-bottom: 1px solid var(--books-line);
}

.books-section--muted {
    background: var(--books-surface-low);
    border-bottom: 1px solid rgba(198, 197, 213, 0.35);
}

.books-section__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
}

.books-section h2,
.books-section__title-center h2 {
    margin: 0;
    color: var(--books-primary);
    font-size: 32px;
    line-height: 1.25;
    font-weight: 700;
}

.books-section__title-center {
    margin-bottom: 36px;
    text-align: center;
}

.books-section__title-center--with-action {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    text-align: center;
}

.books-section__title-center--with-action h2 {
    grid-column: 2;
}

.books-section__view-all {
    grid-column: 3;
    justify-self: end;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: 36px;
    padding: 0 16px;
    border: 1px solid var(--books-line-strong);
    border-radius: 999px;
    background: var(--books-white);
    box-shadow: 0 2px 8px rgba(25, 28, 29, 0.04);
    color: var(--books-muted);
    font-size: 14px;
    line-height: 1.2;
    font-weight: 600;
    white-space: nowrap;
    transition: border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.books-section__view-all:hover {
    border-color: var(--books-primary);
    color: var(--books-primary);
    box-shadow: 0 4px 12px rgba(0, 0, 60, 0.08);
    opacity: 1;
}

.books-section__controls {
    display: flex;
    gap: 8px;
}

.books-round-button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--books-muted);
    font-size: 26px;
    line-height: 1;
}

.books-card-row {
    display: flex;
    justify-content: center;
    gap: var(--books-gutter);
    overflow-x: auto;
    padding: 0 0 8px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.books-card-row::-webkit-scrollbar {
    display: none;
}

.book-card {
    flex: 0 0 264px;
    scroll-snap-align: start;
}

.book-card__cover {
    display: block;
    overflow: hidden;
    aspect-ratio: 0.74;
    border: 1px solid var(--books-line);
    border-radius: var(--books-radius);
    background: var(--books-surface-mid);
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.book-card__cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.book-card:hover .book-card__cover {
    border-color: var(--books-line-strong);
    box-shadow: var(--books-shadow);
}

.book-card:hover .book-card__cover img {
    transform: scale(1.04);
}

.book-card__meta {
    padding-top: 14px;
}

.book-card__badge {
    display: block;
    min-height: 18px;
    color: var(--books-link);
    font-size: 12px;
    font-weight: 700;
}

.book-card__badge--empty {
    visibility: hidden;
}

.book-card h3 {
    margin: 3px 0 0;
    color: var(--books-text);
    font-size: 14px;
    line-height: 1.45;
    font-weight: 700;
}

.book-card h3 a:hover {
    color: var(--books-primary);
}

.book-card__lecture {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(198, 197, 213, 0.45);
}

.book-card__lecture span {
    display: block;
    margin-bottom: 8px;
    color: var(--books-muted);
    font-size: 12px;
    font-weight: 600;
}

.book-card__lecture img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 4px;
    background: var(--books-surface-mid);
}

.book-card__lecture a {
    display: block;
    text-decoration: none;
    color: inherit;
}

.book-card__lecture a:hover p {
    color: var(--books-primary);
}

.book-card__lecture p {
    min-height: 34px;
    margin: 8px 0 0;
    color: var(--books-text);
    font-size: 12px;
    line-height: 1.4;
    font-weight: 600;
}

.mock-tabs {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 52px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
}

.mock-tabs::-webkit-scrollbar {
    display: none;
}

.mock-tabs button {
    display: grid;
    justify-items: center;
    gap: 10px;
    min-width: 92px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--books-muted);
    font-weight: 700;
}

.mock-tabs__thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 92px;
    height: 68px;
    padding: 8px;
    border: 1px solid var(--books-line-strong);
    border-radius: var(--books-radius);
    background: var(--books-white);
    overflow: hidden;
}

.mock-tabs__thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.mock-tabs button:hover,
.mock-tabs button.is-active {
    color: var(--books-primary);
}

.mock-tabs button.is-active .mock-tabs__thumb {
    border-color: var(--books-primary);
    box-shadow: inset 0 0 0 1px var(--books-primary);
}

.mock-slider {
    position: relative;
    width: min(100%, 1000px);
    margin: 0 auto;
}

.mock-slider__viewport {
    overflow: hidden;
    border-radius: var(--books-radius);
    background: var(--books-white);
    box-shadow: var(--books-shadow);
}

.mock-slider__track {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    transition: transform 0.45s ease;
}

.mock-slider__track[hidden] {
    display: none !important;
}

.mock-slide {
    display: grid;
    grid-template-columns: minmax(180px, 280px) minmax(0, 1fr);
    align-items: center;
    gap: 56px;
    flex: 0 0 100%;
    min-width: 100%;
    box-sizing: border-box;
    padding: 44px 64px;
}

.mock-slide__cover {
    display: flex;
    justify-content: center;
}

.mock-slide__cover img {
    width: min(100%, 240px);
    max-height: 300px;
    object-fit: contain;
    border-radius: var(--books-radius);
    box-shadow: 0 18px 40px rgba(25, 28, 29, 0.18);
}

.mock-slide__copy h3 {
    margin: 0;
    color: var(--books-text);
    font-family: var(--books-font-head);
    font-size: 32px;
    line-height: 1.25;
    font-weight: 700;
}

.mock-slide__copy p {
    margin: 12px 0 26px;
    color: var(--books-muted);
    font-size: 16px;
}

.mock-slide__cert {
    width: min(100%, 430px);
    margin-bottom: 14px;
}

.mock-slide__cert .bookshop-cert-button {
    width: 100%;
    min-height: 54px;
    border-radius: 999px;
}

.mock-form {
    position: relative;
    width: min(100%, 430px);
}

.mock-form input {
    width: 100%;
    height: 54px;
    padding: 0 58px 0 20px;
    border: 1px solid var(--books-line-strong);
    border-radius: 999px;
    color: var(--books-text);
    outline: 0;
}

.mock-form input:focus {
    border-color: var(--books-primary);
    box-shadow: 0 0 0 1px var(--books-primary);
}

.mock-form button {
    position: absolute;
    top: 7px;
    right: 7px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: var(--books-primary);
    color: var(--books-white);
    font-size: 20px;
}

.mock-slide__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: min(100%, 430px);
    min-height: 52px;
    margin-top: 14px;
    border-radius: 6px;
    background: var(--books-surface-mid);
    color: var(--books-primary);
    font-size: 14px;
    font-weight: 700;
}

.mock-slide__link:hover {
    background: var(--books-line);
}

.mock-slider .books-slider-button {
    top: 50%;
    transform: translateY(-50%);
}

.mock-slider .books-slider-button--prev {
    left: -56px;
}

.mock-slider .books-slider-button--next {
    right: -56px;
}

.books-board-section {
    padding: 64px 0;
    background: var(--books-white);
    border-bottom: 1px solid rgba(198, 197, 213, 0.35);
}

.books-board-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 72px;
}

.books-board__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.books-board h2 {
    margin: 0;
    color: var(--books-text);
    font-size: 28px;
    line-height: 1.3;
    font-weight: 700;
}

.books-board__head a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: 32px;
    padding: 0 14px;
    border: 1px solid var(--books-line);
    border-radius: 999px;
    color: var(--books-muted);
    font-size: 12px;
    font-weight: 600;
}

.books-board__head a:hover {
    border-color: var(--books-primary);
    color: var(--books-primary);
}

.books-board ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.books-board li + li {
    margin-top: 14px;
}

.books-board li a {
    display: block;
    overflow: hidden;
    color: var(--books-muted);
    font-size: 15px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.books-board li a:hover {
    color: var(--books-primary);
}

.books-service-section {
    padding: 64px 0;
    background: var(--books-white);
}

.books-service-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
    align-items: center;
    gap: 72px;
}

.books-sns h2 {
    margin: 0;
    color: var(--books-primary);
    font-size: 24px;
    line-height: 1.35;
    font-weight: 700;
}

.books-sns p {
    margin: 14px 0 24px;
    color: var(--books-muted);
    font-size: 15px;
}

.books-sns__links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.books-sns__links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 136px;
    min-height: 42px;
    padding: 0 12px;
    border: 1px solid var(--books-line);
    border-radius: 4px;
    color: var(--books-text);
    font-size: 12px;
    font-weight: 600;
}

.books-sns__links a:hover {
    border-color: var(--books-primary);
}

.books-sns__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.books-sns__icon img {
    display: block;
    width: 24px;
    height: 24px;
}

.books-service-links {
    display: flex;
    justify-content: flex-end;
    gap: 24px;
}

.books-service-links a {
    display: grid;
    justify-items: center;
    gap: 10px;
    min-width: 108px;
    color: var(--books-link);
    font-size: 12px;
    font-weight: 700;
}

.books-service-links span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(0, 86, 179, 0.08);
    font-size: 24px;
}

.books-service-links a:last-child {
    color: #138a47;
}

.books-service-links a:last-child span {
    background: rgba(3, 199, 90, 0.12);
}

.books-footer {
    padding: 48px 0;
    background: var(--books-surface-mid);
    border-top: 1px solid var(--books-line);
}

.books-footer__inner {
    color: var(--books-muted);
    font-size: 12px;
}

.books-footer__links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
}

.books-footer__links a:hover,
.books-footer__links .is-strong {
    color: var(--books-text);
    font-weight: 700;
}

.books-footer__company p,
.books-footer__copyright {
    margin: 0;
}

.books-footer__company p + p {
    margin-top: 6px;
}

.books-footer__copyright {
    margin-top: 18px;
}

.books-member {
    background: var(--books-surface);
}

.books-member-body .pt0.pb0 {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.books-member-body .sub-visual:not(.sub-page-visual) {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 220px !important;
    min-height: 220px !important;
    margin-top: 0 !important;
    overflow: hidden;
    border: 0 !important;
    background: var(--books-primary) !important;
}

.books-member-body .sub-visual:not(.sub-page-visual) > .inner {
    position: relative !important;
    top: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: min(100% - 48px, var(--books-container)) !important;
    height: auto !important;
    margin: 0 auto !important;
    padding: 0 !important;
    transform: none !important;
}

.books-member-body .sub-visual:not(.sub-page-visual) > .inner h2 {
    display: flex !important;
    align-items: center !important;
    flex-direction: column !important;
    gap: 18px;
    margin: 0 !important;
    color: var(--books-white) !important;
    font-family: var(--books-font-head);
    text-align: center;
}

.books-member-body .sub-visual:not(.sub-page-visual) > .inner h2 strong {
    display: block;
    color: var(--books-white) !important;
    font-size: 46px !important;
    font-weight: 800 !important;
    line-height: 1.12 !important;
    letter-spacing: 0;
}

.books-member-body .sub-visual:not(.sub-page-visual) > .inner h2::after {
    content: "성공적인 학습을 위한 최상의 교육 자료를 만나보세요.";
    display: block;
    color: rgba(255, 255, 255, 0.68);
    font-family: var(--books-font-body);
    font-size: 20px;
    font-weight: 500;
    line-height: 1.4;
}

.books-member-hero {
    padding: 64px 0;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.72)),
        url("/skin/books/assets/img/hero-bg-02.png") center / cover no-repeat;
    border-bottom: 1px solid var(--books-line);
    text-align: center;
}

.books-member-eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 12px;
    border: 1px solid var(--books-line-strong);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.76);
    color: var(--books-primary);
    font-size: 12px;
    font-weight: 800;
}

.books-member-hero h2 {
    margin: 14px 0 10px;
    color: var(--books-primary);
    font-family: var(--books-font-head);
    font-size: 40px;
    line-height: 1.2;
}

.books-member-hero p {
    margin: 0;
    color: var(--books-muted);
    font-size: 16px;
}

.books-member-section {
    padding: 64px 16px 80px;
}

.books-member-panel {
    width: min(100%, 520px);
    margin: 0 auto;
    padding: 40px;
    border: 1px solid var(--books-line);
    border-radius: var(--books-radius);
    background: var(--books-white);
    box-shadow: var(--books-shadow);
}

.books-member-panel--wide {
    width: min(100%, 860px);
}

.books-member-panel--center {
    text-align: center;
}

.books-member-panel h3 {
    margin: 0 0 24px;
    color: var(--books-text);
    font-family: var(--books-font-head);
    font-size: 28px;
    line-height: 1.3;
}

.books-member-desc {
    margin: -8px 0 28px;
    color: var(--books-muted);
}

.books-member-form {
    display: grid;
    gap: 18px;
}

.books-member-form label {
    display: grid;
    gap: 8px;
    color: var(--books-text);
    font-size: 14px;
    font-weight: 700;
}

.books-member-form label span em,
.books-field-label em {
    color: var(--books-error, #ba1a1a);
    font-style: normal;
}

.books-member-form input[type="text"],
.books-member-form input[type="password"],
.books-member-form select {
    width: 100%;
    height: 46px;
    padding: 0 14px;
    border: 1px solid var(--books-line-strong);
    border-radius: 6px;
    background: var(--books-white);
    color: var(--books-text);
    outline: 0;
}

.books-member-form input:focus,
.books-member-form select:focus {
    border-color: var(--books-primary);
    box-shadow: 0 0 0 1px var(--books-primary);
}

.books-member-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 800;
    text-align: center;
}

.books-member-button--primary {
    border: 1px solid var(--books-primary);
    background: var(--books-primary);
    color: var(--books-white);
}

.books-member-button--primary:hover {
    background: var(--books-primary-strong);
}

.books-member-button--secondary {
    border: 1px solid var(--books-primary);
    background: var(--books-white);
    color: var(--books-primary);
}

.books-member-button--secondary:hover {
    background: rgba(0, 0, 128, 0.05);
}

.books-member-form > .books-member-button {
    width: 100%;
    margin-top: 6px;
}

.books-member-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 22px;
    color: var(--books-muted);
    font-size: 13px;
}

.books-member-links a:hover {
    color: var(--books-primary);
}

.books-member-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 26px;
}

.books-member-actions .books-member-button {
    min-width: 150px;
}

.books-join-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 0;
    margin: 0 0 32px;
    list-style: none;
}

.books-join-steps li {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--books-line);
    border-radius: 999px;
    color: var(--books-muted);
    font-size: 13px;
    font-weight: 800;
}

.books-join-steps li.is-active {
    border-color: var(--books-primary);
    background: var(--books-primary);
    color: var(--books-white);
}

.books-agree-all {
    padding: 18px;
    border: 1px solid var(--books-primary);
    border-radius: var(--books-radius);
    background: rgba(0, 0, 128, 0.04);
}

.books-agree-all label,
.books-check-row {
    display: flex;
    align-items: center;
    grid-template-columns: none;
    gap: 10px;
    font-size: 15px;
}

.books-terms-card {
    overflow: hidden;
    border: 1px solid var(--books-line);
    border-radius: var(--books-radius);
}

.books-terms-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    border-bottom: 1px solid var(--books-line);
    background: var(--books-surface-low);
}

.books-terms-card__head strong {
    color: var(--books-text);
}

.books-terms-card__head span {
    color: #ba1a1a;
    font-size: 12px;
    font-weight: 800;
}

.books-terms-card__body {
    padding: 18px;
    color: var(--books-muted);
    font-size: 14px;
    line-height: 1.65;
}

.books-check-row {
    padding: 0 18px 18px;
}

.books-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.books-field-with-button {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 10px;
}

.books-field-with-button .books-member-button {
    min-width: 104px;
    padding: 0 14px;
}

.books-form-row {
    display: grid;
    grid-template-columns: 140px minmax(0, 1fr);
    align-items: center;
    gap: 18px;
}

.books-field-label {
    color: var(--books-text);
    font-size: 14px;
    font-weight: 800;
}

.books-phone-fields,
.books-birth-fields,
.books-email-fields,
.books-radio-fields {
    display: flex;
    align-items: center;
    gap: 8px;
}

.books-phone-fields select {
    max-width: 110px;
}

.books-phone-fields input,
.books-birth-fields select {
    max-width: 130px;
}

.books-email-fields input {
    min-width: 0;
}

.books-email-fields select {
    max-width: 160px;
}

.books-radio-fields label {
    display: inline-flex;
    align-items: center;
    grid-template-columns: none;
    gap: 8px;
    font-weight: 600;
}

.bookshop-page {
    background: var(--books-surface);
    letter-spacing: 0;
}

.bookshop-page h1,
.bookshop-page h2,
.bookshop-page h3 {
    font-family: var(--books-font-head);
    letter-spacing: 0;
}

.bookshop-hero {
    padding: 64px 0;
    background: var(--books-primary);
    color: var(--books-white);
    text-align: center;
}

.bookshop-hero h1 {
    margin: 0;
    font-size: 40px;
    line-height: 1.2;
    font-weight: 800;
}

.bookshop-hero p {
    margin: 14px 0 0;
    color: rgba(255, 255, 255, 0.74);
    font-size: 18px;
    line-height: 1.55;
}

.bookshop-category-bar {
    position: sticky;
    top: 80px;
    z-index: 20;
    overflow: hidden;
    background: var(--books-primary-strong);
    color: var(--books-white);
}

.bookshop-category-bar__scroll {
    display: flex;
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.bookshop-category-bar__scroll::-webkit-scrollbar {
    display: none;
}

.bookshop-category-bar a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-height: 54px;
    padding: 0 24px;
    border-bottom: 4px solid transparent;
    color: var(--books-white);
    font-size: 14px;
    font-weight: 800;
}

.bookshop-category-bar a:hover {
    background: rgba(255, 255, 255, 0.1);
}

.bookshop-category-bar a.is-active {
    background: var(--books-white);
    border-bottom-color: var(--books-white);
    color: var(--books-primary-strong);
}

.bookshop-search-section {
    padding: 32px 0;
    background: var(--books-surface);
    border-bottom: 1px solid var(--books-line);
}

.bookshop-search-section__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.bookshop-current-filter {
    display: grid;
    gap: 6px;
}

.bookshop-current-filter strong {
    color: var(--books-primary);
    font-size: 15px;
    font-weight: 900;
}

.bookshop-current-filter span {
    color: var(--books-muted);
    font-size: 14px;
    font-weight: 700;
}

.bookshop-current-filter em {
    color: var(--books-primary-strong);
    font-style: normal;
}

.bookshop-search {
    position: relative;
    width: min(100%, 360px);
}

.bookshop-search input {
    width: 100%;
    height: 48px;
    padding: 0 52px 0 16px;
    border: 1px solid var(--books-line-strong);
    border-radius: 6px;
    background: var(--books-white);
    color: var(--books-text);
    outline: 0;
}

.bookshop-search input:focus {
    border-color: var(--books-primary);
    box-shadow: 0 0 0 1px var(--books-primary);
}

.bookshop-search button {
    position: absolute;
    top: 6px;
    right: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--books-primary);
    font-size: 24px;
}

.bookshop-list-section {
    padding: 72px 0 80px;
    background: var(--books-white);
}

.bookshop-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--books-gutter);
}

.bookshop-card {
    display: grid;
    grid-template-columns: minmax(150px, 34%) minmax(0, 1fr);
    gap: 24px;
    min-height: 262px;
    padding: 24px;
    border: 1px solid var(--books-line);
    border-radius: var(--books-radius);
    background: var(--books-white);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.bookshop-card:hover {
    border-color: var(--books-primary-strong);
    box-shadow: var(--books-shadow);
}

.bookshop-card__cover,
.bookshop-detail__cover,
.bookshop-related-card__cover {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid var(--books-line);
    border-radius: var(--books-radius);
    background: var(--books-surface-mid);
}

.bookshop-card__cover {
    aspect-ratio: 3 / 4;
}

.bookshop-card__cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.bookshop-card:hover .bookshop-card__cover img {
    transform: scale(1.04);
}

.bookshop-cover-placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 180px;
    padding: 20px;
    color: var(--books-primary);
    font-family: var(--books-font-head);
    font-size: 20px;
    font-weight: 800;
    line-height: 1.25;
    text-align: center;
}

.bookshop-card__body {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.bookshop-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    min-height: 26px;
}

.bookshop-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 2px 9px;
    border-radius: 999px;
    background: var(--books-surface-mid);
    color: var(--books-muted);
    font-size: 12px;
    font-weight: 800;
}

.bookshop-tags span:first-child {
    background: var(--books-primary-fixed, #e0e0ff);
    color: var(--books-primary);
}

.bookshop-card h2 {
    margin: 14px 0 8px;
    color: var(--books-text);
    font-size: 23px;
    line-height: 1.32;
    font-weight: 700;
}

.bookshop-card h2 a:hover {
    color: var(--books-primary-strong);
}

.bookshop-card__author {
    margin: 0;
    color: var(--books-muted);
    font-size: 15px;
}

.bookshop-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
    padding-top: 22px;
}

.bookshop-card__actions span,
.bookshop-card__actions a,
.bookshop-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 800;
}

.bookshop-card__actions span {
    border: 1px solid var(--books-primary-strong);
    color: var(--books-primary-strong);
}

.bookshop-card__actions a,
.bookshop-button--primary {
    border: 1px solid var(--books-primary);
    background: var(--books-primary);
    color: var(--books-white);
}

.bookshop-card__actions a:hover,
.bookshop-button--primary:hover {
    background: var(--books-primary-strong);
}

.bookshop-button--secondary {
    border: 1px solid var(--books-primary);
    background: var(--books-white);
    color: var(--books-primary);
}

.bookshop-button--secondary:hover {
    background: rgba(0, 0, 128, 0.05);
}

.bookshop-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 64px;
}

.bookshop-pagination a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid transparent;
    border-radius: 6px;
    color: var(--books-muted);
    font-size: 14px;
    font-weight: 800;
}

.bookshop-pagination a:hover {
    background: var(--books-surface-low);
    border-color: var(--books-line);
}

.bookshop-pagination a.is-active {
    background: var(--books-primary-strong);
    color: var(--books-white);
}

.bookshop-pagination a.is-disabled {
    opacity: 0.38;
    pointer-events: none;
}

.bookshop-empty,
.bookshop-not-found {
    padding: 56px 24px;
    border: 1px solid var(--books-line);
    border-radius: var(--books-radius);
    background: var(--books-white);
    color: var(--books-muted);
    text-align: center;
}

.bookshop-empty strong,
.bookshop-not-found h1 {
    display: block;
    margin: 0;
    color: var(--books-text);
    font-size: 22px;
    font-weight: 800;
}

.bookshop-empty p,
.bookshop-not-found p {
    margin: 10px 0 0;
}

.bookshop-empty--compact {
    padding: 28px;
}

.bookshop-help-section {
    padding: 56px 0;
    background: var(--books-surface-mid);
    border-top: 1px solid var(--books-line);
}

.bookshop-help-section__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.bookshop-help-section h2 {
    margin: 0 0 8px;
    color: var(--books-text);
    font-size: 28px;
    line-height: 1.3;
}

.bookshop-help-section p {
    margin: 0;
    color: var(--books-muted);
}

.bookshop-help-section__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.bookshop-view-page {
    padding: 48px 0 80px;
    background: var(--books-surface);
}

.bookshop-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 32px;
    color: var(--books-muted);
    font-size: 12px;
    font-weight: 700;
}

.bookshop-breadcrumb a:hover,
.bookshop-breadcrumb strong {
    color: var(--books-primary);
}

.bookshop-detail {
    display: grid;
    grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
    gap: 56px;
    margin-bottom: 72px;
}

.bookshop-detail__cover {
    align-self: start;
    padding: 30px;
    background: var(--books-white);
    box-shadow: var(--books-shadow);
}

.bookshop-detail__cover img {
    width: 100%;
    max-height: 560px;
    object-fit: contain;
}

.bookshop-detail__info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.bookshop-detail__info h1 {
    margin: 16px 0 22px;
    color: var(--books-primary-strong);
    font-size: 40px;
    line-height: 1.2;
    font-weight: 800;
}

.bookshop-detail-meta {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 12px 18px;
    margin: 0 0 28px;
    padding: 0 0 28px;
    border-bottom: 1px solid var(--books-line);
}

.bookshop-detail-meta dt {
    color: var(--books-muted);
    font-size: 14px;
    font-weight: 800;
}

.bookshop-detail-meta dd {
    min-width: 0;
    margin: 0;
    color: var(--books-text);
    font-size: 15px;
    font-weight: 700;
}

.bookshop-detail-price {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 24px;
}

.bookshop-detail-price span {
    color: var(--books-muted);
    font-size: 16px;
    text-decoration: line-through;
}

.bookshop-detail-price strong {
    color: var(--books-primary-strong);
    font-size: 32px;
    line-height: 1.2;
    font-weight: 900;
}

.bookshop-detail-actions {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
}

.bookshop-cert-block {
    display: flex;
    flex: 1 1 0;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.bookshop-cert-note {
    margin: 8px 0 0;
    color: #7e8299;
    font-size: 13px;
    line-height: 1.5;
    white-space: nowrap;
}

.bookshop-detail-actions .bookshop-cert-button,
.bookshop-detail-actions .bookshop-buy-button {
    flex: 1 1 0;
    min-width: 0;
    width: auto;
}

.bookshop-cert-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 20px;
    border: 1px solid var(--books-line-strong);
    border-radius: 6px;
    background: var(--books-white);
    color: var(--books-text);
    font-size: 15px;
    font-weight: 900;
    cursor: pointer;
}

.bookshop-cert-button:hover {
    border-color: var(--books-primary-strong);
    color: var(--books-primary-strong);
}

.bookshop-cert-button.is-certified {
    border-color: rgba(15, 118, 110, 0.3);
    background: rgba(15, 118, 110, 0.06);
    color: #0f766e;
}

.bookshop-cert-button.is-certified:hover {
    border-color: #0f766e;
    color: #0f766e;
}

.bookshop-store-links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 24px;
    margin-bottom: 18px;
    padding: 16px 18px;
    border: 1px solid #ba1a1a;
    border-radius: var(--books-radius);
    background: var(--books-white);
}

.bookshop-store-links a {
    position: relative;
    padding-left: 14px;
    color: var(--books-muted);
    font-size: 13px;
    font-weight: 800;
}

.bookshop-store-links a::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--books-line-strong);
    transform: translateY(-50%);
}

.bookshop-store-links a:hover {
    color: var(--books-primary-strong);
}

.bookshop-buy-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 20px;
    border-radius: 6px;
    background: var(--books-primary-strong);
    color: var(--books-white);
    font-size: 15px;
    font-weight: 900;
}

.bookshop-buy-button:hover {
    background: var(--books-primary);
}

.bookshop-resource-section,
.bookshop-content-section,
.bookshop-related-section {
    margin-bottom: 72px;
}

.bookshop-section-tabs,
.bookshop-detail-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    border-bottom: 1px solid var(--books-line);
}

.bookshop-section-tabs span,
.bookshop-section-tabs a,
.bookshop-detail-tabs button {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 0 10px;
    border: 0;
    border-bottom: 2px solid transparent;
    background: transparent;
    color: var(--books-muted);
    font-size: 14px;
    font-weight: 900;
}

.bookshop-section-tabs .is-active,
.bookshop-section-tabs a:hover,
.bookshop-detail-tabs button:hover,
.bookshop-detail-tabs button.is-active {
    border-bottom-color: var(--books-primary-strong);
    color: var(--books-primary-strong);
}

.bookshop-resource-list {
    border-top: 1px solid var(--books-text);
}

.bookshop-resource-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 16px;
    border-bottom: 1px solid var(--books-line);
    background: var(--books-white);
}

.bookshop-resource-row > div {
    display: flex;
    align-items: center;
    gap: 22px;
    min-width: 0;
}

.bookshop-resource-row strong {
    flex: 0 0 auto;
    color: var(--books-text);
    font-size: 14px;
    font-weight: 900;
}

.bookshop-resource-row span {
    min-width: 0;
    color: var(--books-muted);
    font-size: 15px;
    overflow-wrap: anywhere;
}

.bookshop-resource-row time {
    color: var(--books-muted);
    font-size: 14px;
    white-space: nowrap;
}

.bookshop-resource-row a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 36px;
    padding: 0 16px;
    border: 1px solid var(--books-line-strong);
    border-radius: 999px;
    color: var(--books-muted);
    font-size: 12px;
    font-weight: 900;
    white-space: nowrap;
}

.bookshop-resource-row a:hover {
    border-color: var(--books-primary);
    color: var(--books-primary);
    background: var(--books-surface-low);
}

.bookshop-tab-panel {
    display: none;
    padding-top: 32px;
}

.bookshop-tab-panel.is-active {
    display: block;
}

.bookshop-tab-panel h2,
.bookshop-related-section h2 {
    margin: 0 0 20px;
    color: var(--books-primary-strong);
    font-size: 28px;
    line-height: 1.3;
}

.bookshop-rich-text {
    min-height: 120px;
    padding: 24px;
    border: 1px solid var(--books-line);
    border-radius: var(--books-radius);
    background: var(--books-white);
    color: var(--books-text);
    font-size: 16px;
    line-height: 1.75;
}

.bookshop-rich-text p:first-child {
    margin-top: 0;
}

.bookshop-rich-text p:last-child {
    margin-bottom: 0;
}

.bookshop-rich-text img {
    height: auto !important;
    max-width: 100% !important;
    margin: 18px auto;
}

.bookshop-rich-text table {
    width: 100% !important;
    max-width: 100%;
    border-collapse: collapse;
}

.bookshop-related-section {
    padding-top: 44px;
    border-top: 1px solid var(--books-line);
}

.bookshop-related-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--books-gutter);
}

.bookshop-related-card {
    display: grid;
    gap: 10px;
}

.bookshop-related-card__cover {
    aspect-ratio: 3 / 4;
    padding: 14px;
    background: var(--books-white);
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.bookshop-related-card:hover .bookshop-related-card__cover {
    border-color: var(--books-primary-strong);
    box-shadow: var(--books-shadow);
}

.bookshop-related-card__cover img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.bookshop-related-card__category {
    color: var(--books-muted);
    font-size: 12px;
    font-weight: 800;
}

.bookshop-related-card strong {
    color: var(--books-text);
    font-size: 14px;
    line-height: 1.4;
}

.bookshop-related-card:hover strong {
    color: var(--books-primary-strong);
}

.bookshop-bottom-actions,
.bookshop-not-found {
    display: flex;
    justify-content: center;
}

.bookshop-not-found {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin: 40px 0;
}

@media (max-width: 1180px) {
    .mock-slider .books-slider-button--prev {
        left: 12px;
    }

    .mock-slider .books-slider-button--next {
        right: 12px;
    }
}

@media (max-width: 960px) {
    .books-container {
        width: min(100% - 32px, var(--books-container));
    }

    .books-auth,
    .books-gnb {
        display: none;
    }

    .books-mobile-toggle {
        display: inline-block;
    }

    .books-header__inner {
        min-height: 68px;
    }

    .books-logo img {
        width: 150px;
    }

    .books-hero__content {
        grid-template-columns: 1fr;
        gap: 36px;
        min-height: 0;
        padding-top: 44px;
        padding-bottom: 72px;
        text-align: center;
    }

    .books-hero__copy,
    .books-hero p {
        margin-left: auto;
        margin-right: auto;
    }

    .books-hero h2 {
        font-size: 32px;
    }

    .books-hero p {
        font-size: 16px;
    }

    .books-hero__actions {
        justify-content: center;
    }

    .books-hero__cover img {
        max-width: 240px;
    }

    .books-section {
        padding: 64px 0;
    }

    .books-card-row {
        justify-content: flex-start;
    }

    .mock-slide {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 36px 28px;
        text-align: center;
    }

    .mock-slide__copy h3 {
        font-size: 26px;
    }

    .mock-slide__cert,
    .mock-form,
    .mock-slide__link {
        margin-left: auto;
        margin-right: auto;
    }

    .books-board-grid,
    .books-service-grid {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .books-service-links {
        justify-content: flex-start;
    }

    .books-member-panel {
        padding: 32px 24px;
    }

    .books-form-grid,
    .books-form-row {
        grid-template-columns: 1fr;
    }

    .books-field-with-button {
        grid-template-columns: 1fr;
    }

    .books-field-with-button .books-member-button {
        width: 100%;
    }

    .books-phone-fields,
    .books-birth-fields,
    .books-email-fields {
        flex-wrap: wrap;
    }

    .books-phone-fields select,
    .books-phone-fields input,
    .books-birth-fields select,
    .books-email-fields select {
        max-width: none;
        flex: 1 1 120px;
    }

    .bookshop-category-bar {
        top: 68px;
    }

    .bookshop-search-section__inner,
    .bookshop-help-section__inner {
        align-items: stretch;
        flex-direction: column;
    }

    .bookshop-search {
        width: 100%;
    }

    .bookshop-card-grid {
        grid-template-columns: 1fr;
    }

    .bookshop-detail {
        grid-template-columns: 1fr;
        gap: 36px;
        margin-bottom: 56px;
    }

    .bookshop-detail__cover {
        width: min(100%, 420px);
        margin: 0 auto;
    }

    .bookshop-detail__info h1 {
        font-size: 32px;
    }

    .bookshop-resource-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .bookshop-resource-row > div {
        width: 100%;
        justify-content: space-between;
    }

    .bookshop-related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .books-site-nav__inner {
        justify-content: flex-start;
    }

    .books-site-nav a {
        padding: 0 18px;
    }

    .books-icon-button {
        display: none;
    }

    .books-hero > .books-slider-button {
        width: 38px;
        height: 38px;
        font-size: 26px;
    }

    .books-hero > .books-slider-button--prev {
        left: 10px;
    }

    .books-hero > .books-slider-button--next {
        right: 10px;
    }

    .books-hero h2 {
        font-size: 28px;
    }

    .books-button {
        width: 100%;
    }

    .books-section__head {
        align-items: flex-start;
        flex-direction: column;
    }

    .books-section h2,
    .books-section__title-center h2 {
        font-size: 28px;
    }

    .books-section__title-center--with-action {
        grid-template-columns: 1fr auto;
        gap: 12px;
    }

    .books-section__title-center--with-action h2 {
        grid-column: 1;
        text-align: left;
    }

    .books-section__view-all {
        grid-column: 2;
        align-self: center;
        min-height: 32px;
        padding: 0 14px;
        font-size: 13px;
    }

    .book-card {
        flex-basis: 236px;
    }

    .mock-tabs {
        justify-content: flex-start;
        gap: 14px;
    }

    .mock-tabs__thumb {
        width: 78px;
        height: 58px;
    }

    .mock-slide {
        padding: 30px 18px;
    }

    .mock-slide__cover img {
        max-width: 190px;
    }

    .mock-slider .books-slider-button {
        display: none;
    }

    .books-board-section,
    .books-service-section {
        padding: 48px 0;
    }

    .books-board h2 {
        font-size: 24px;
    }

    .books-service-links {
        justify-content: center;
    }

    .books-footer {
        padding: 36px 0;
    }

    .books-member-hero {
        padding: 48px 0;
    }

    .books-member-hero h2 {
        font-size: 30px;
    }

    .books-member-body .sub-visual:not(.sub-page-visual) {
        height: 170px !important;
        min-height: 170px !important;
    }

    .books-member-body .sub-visual:not(.sub-page-visual) > .inner {
        width: min(100% - 32px, var(--books-container)) !important;
    }

    .books-member-body .sub-visual:not(.sub-page-visual) > .inner h2 {
        gap: 12px;
    }

    .books-member-body .sub-visual:not(.sub-page-visual) > .inner h2 strong {
        font-size: 32px !important;
    }

    .books-member-body .sub-visual:not(.sub-page-visual) > .inner h2::after {
        font-size: 15px;
    }

    .books-member-section {
        padding: 40px 12px 56px;
    }

    .books-member-panel {
        padding: 26px 18px;
    }

    .books-join-steps {
        grid-template-columns: 1fr;
    }

    .books-member-actions .books-member-button {
        width: 100%;
    }

    .books-email-fields span {
        display: none;
    }

    .bookshop-hero {
        padding: 46px 0;
    }

    .bookshop-hero h1 {
        font-size: 32px;
    }

    .bookshop-hero p {
        font-size: 15px;
    }

    .bookshop-category-bar a {
        min-height: 48px;
        padding: 0 18px;
        font-size: 13px;
    }

    .bookshop-list-section,
    .bookshop-view-page {
        padding-top: 44px;
        padding-bottom: 56px;
    }

    .bookshop-card {
        grid-template-columns: 118px minmax(0, 1fr);
        gap: 16px;
        min-height: 0;
        padding: 16px;
    }

    .bookshop-card h2 {
        font-size: 17px;
        line-height: 1.35;
    }

    .bookshop-tags {
        gap: 6px;
        min-height: 0;
    }

    .bookshop-tags span {
        min-height: 22px;
        padding: 2px 7px;
        font-size: 11px;
    }

    .bookshop-card__actions {
        padding-top: 16px;
    }

    .bookshop-card__actions span,
    .bookshop-card__actions a,
    .bookshop-button {
        min-height: 36px;
        padding: 0 12px;
        font-size: 12px;
    }

    .bookshop-pagination {
        margin-top: 40px;
    }

    .bookshop-help-section__actions {
        width: 100%;
    }

    .bookshop-detail-actions .bookshop-cert-button,
    .bookshop-detail-actions .bookshop-buy-button {
        flex: 1 1 0;
        width: auto;
    }

    .bookshop-help-section__actions .bookshop-button {
        flex: 1 1 150px;
    }

    .bookshop-breadcrumb {
        margin-bottom: 22px;
    }

    .bookshop-detail__cover {
        padding: 18px;
    }

    .bookshop-detail__info h1 {
        font-size: 27px;
    }

    .bookshop-detail-meta {
        grid-template-columns: 76px minmax(0, 1fr);
        gap: 10px 12px;
    }

    .bookshop-detail-price strong {
        font-size: 26px;
    }

    .bookshop-store-links {
        gap: 12px;
    }

    .bookshop-section-tabs,
    .bookshop-detail-tabs {
        gap: 18px;
    }

    .bookshop-resource-row > div {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .bookshop-resource-row a {
        width: 100%;
    }

    .bookshop-rich-text {
        padding: 18px;
        font-size: 15px;
    }

    .bookshop-related-grid {
        gap: 16px;
    }
}

/* Book QNA certification layer */
body.bookshop-qna-open {
    overflow: hidden;
}

.books-search-layer__form {
    width: 100%;
    margin-top: 4px;
}

#books-search-layer {
    align-items: flex-start;
    justify-content: center;
    padding-top: 25vh;
}

#books-search-layer .bookshop-qna-layer__dialog {
    width: min(calc((100vw - 96px) * 0.8), calc(var(--books-container) * 0.8));
    max-width: none;
}

.bookshop-qna-layer {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.bookshop-qna-layer.is-open {
    opacity: 1;
    visibility: visible;
}

.bookshop-qna-layer__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(25, 28, 29, 0.55);
}

.bookshop-qna-layer__dialog {
    position: relative;
    width: min(560px, 100%);
    max-height: calc(100vh - 48px);
    overflow: auto;
    padding: 28px 28px 24px;
    border-radius: calc(var(--books-radius) + 4px);
    background: var(--books-white);
    box-shadow: var(--books-shadow);
}

.bookshop-qna-layer__close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: var(--books-surface-low);
    color: var(--books-muted);
    font-size: 24px;
    line-height: 1;
}

.bookshop-qna-layer__header {
    padding-right: 40px;
    margin-bottom: 20px;
}

.bookshop-qna-layer__badge {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(0, 0, 128, 0.08);
    color: var(--books-primary-strong);
    font-size: 12px;
    font-weight: 700;
}

.bookshop-qna-layer__header h2 {
    margin: 10px 0 6px;
    font-family: var(--books-font-head);
    font-size: 24px;
    line-height: 1.3;
}

.bookshop-qna-layer__subtitle {
    margin: 0;
    color: var(--books-muted);
    font-size: 14px;
}

.bookshop-qna-layer__loading,
.bookshop-qna-layer__error {
    padding: 24px 0;
    text-align: center;
    color: var(--books-muted);
}

.bookshop-qna-layer__error {
    color: #c0392b;
}

.bookshop-qna-form__guide {
    margin: 0 0 18px;
    padding: 14px 16px;
    border-radius: var(--books-radius);
    background: var(--books-surface-low);
    color: var(--books-muted);
    font-size: 14px;
}

.bookshop-qna-form__items {
    display: grid;
    gap: 18px;
}

.bookshop-qna-item label {
    display: block;
    margin-bottom: 8px;
    font-size: 15px;
    line-height: 1.5;
}

.bookshop-qna-item__q {
    color: #ef3f3f;
    font-weight: 800;
}

.bookshop-qna-item__input {
    width: 100%;
    min-height: 46px;
    padding: 0 14px;
    border: 1px solid var(--books-line-strong);
    border-radius: var(--books-radius);
    color: var(--books-primary-strong);
    font-weight: 700;
}

.bookshop-qna-item__input:focus {
    outline: none;
    border-color: var(--books-primary-strong);
    box-shadow: 0 0 0 3px rgba(0, 0, 128, 0.12);
}

.bookshop-qna-form__actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 24px;
}

.bookshop-qna-layer__success {
    padding: 12px 0 8px;
    text-align: center;
}

.bookshop-qna-success__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin-bottom: 12px;
    border-radius: 50%;
    background: rgba(0, 0, 128, 0.08);
    color: var(--books-primary-strong);
    font-size: 28px;
    font-weight: 800;
}

.bookshop-qna-layer__success h3 {
    margin: 0 0 8px;
    font-size: 22px;
}

.bookshop-qna-layer__success p {
    margin: 0 0 20px;
    color: var(--books-muted);
}

@media (max-width: 960px) {
    #books-search-layer .bookshop-qna-layer__dialog {
        width: min(calc((100vw - 32px) * 0.8), calc(var(--books-container) * 0.8));
    }
}

@media (max-width: 640px) {
    .bookshop-qna-layer {
        padding: 12px;
    }

    #books-search-layer {
        padding-top: 18vh;
    }

    .bookshop-qna-layer__dialog {
        padding: 22px 18px 18px;
    }

    .bookshop-qna-form__actions {
        flex-direction: column-reverse;
    }

    .bookshop-qna-form__actions .bookshop-button {
        width: 100%;
    }
}

/* MP3 / 자료실 */
.books-resource-page h1,
.books-resource-page h2 {
    font-family: var(--books-font-head);
    letter-spacing: 0;
}

.books-resource-hero {
    padding: 56px 0;
    background: linear-gradient(135deg, var(--books-surface) 0%, var(--books-white) 55%, rgba(0, 0, 128, 0.06) 100%);
    border-bottom: 1px solid var(--books-line);
}

.books-resource-hero__inner {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
}

.books-resource-hero__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 52px;
    min-height: 28px;
    margin-bottom: 14px;
    padding: 0 12px;
    border-radius: 999px;
    background: var(--books-primary-strong);
    color: var(--books-white);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.books-resource-hero h1 {
    margin: 0;
    color: var(--books-primary);
    font-size: 36px;
    line-height: 1.2;
    font-weight: 800;
}

.books-resource-hero p {
    margin: 12px 0 0;
    max-width: 520px;
    color: var(--books-muted);
    font-size: 16px;
    line-height: 1.6;
}

.books-resource-hero__stats {
    display: flex;
    gap: 16px;
    flex-shrink: 0;
}

.books-resource-hero__stats > div {
    display: grid;
    gap: 4px;
    min-width: 108px;
    padding: 18px 20px;
    border: 1px solid var(--books-line);
    border-radius: var(--books-radius);
    background: var(--books-white);
    text-align: center;
}

.books-resource-hero__stats strong {
    color: var(--books-primary-strong);
    font-size: 28px;
    line-height: 1;
    font-weight: 900;
}

.books-resource-hero__stats span {
    color: var(--books-muted);
    font-size: 13px;
    font-weight: 700;
}

.books-resource-toolbar {
    position: sticky;
    top: 80px;
    z-index: 18;
    padding: 20px 0;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--books-line);
    backdrop-filter: blur(8px);
}

.books-resource-toolbar__inner {
    display: grid;
    gap: 18px;
}

.books-resource-toolbar__filter {
    display: grid;
    gap: 10px;
    min-width: 0;
}

.books-resource-toolbar__label {
    color: var(--books-muted);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.books-resource-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.books-resource-pills a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 16px;
    border: 1px solid var(--books-line-strong);
    border-radius: 999px;
    background: var(--books-white);
    color: var(--books-muted);
    font-size: 13px;
    font-weight: 800;
}

.books-resource-pills a:hover {
    border-color: var(--books-primary);
    color: var(--books-primary);
}

.books-resource-pills a.is-active {
    border-color: var(--books-primary-strong);
    background: var(--books-primary-strong);
    color: var(--books-white);
}

.books-resource-search {
    width: min(100%, 420px);
    justify-self: end;
}

.books-resource-list-section {
    padding: 40px 0 72px;
}

.books-resource-summary {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 10px 16px;
    margin-bottom: 18px;
}

.books-resource-summary strong {
    color: var(--books-primary);
    font-size: 18px;
    font-weight: 900;
}

.books-resource-summary span {
    color: var(--books-muted);
    font-size: 14px;
    font-weight: 700;
}

.books-resource-summary em {
    color: var(--books-primary-strong);
    font-style: normal;
}

.books-resource-list {
    display: grid;
    gap: 12px;
}

.books-resource-item {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) auto;
    gap: 20px;
    align-items: center;
    padding: 18px 20px;
    border: 1px solid var(--books-line);
    border-radius: var(--books-radius);
    background: var(--books-white);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.books-resource-item:hover {
    border-color: rgba(0, 0, 128, 0.28);
    box-shadow: 0 4px 18px rgba(25, 28, 29, 0.05);
}

.books-resource-item__thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    width: 72px;
    height: 96px;
    border: 1px solid var(--books-line);
    border-radius: 6px;
    background: var(--books-surface-mid);
}

.books-resource-item__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.books-resource-item__placeholder {
    color: var(--books-muted);
    font-size: 10px;
    line-height: 1.35;
    font-weight: 900;
    text-align: center;
}

.books-resource-item__main {
    min-width: 0;
}

.books-resource-item__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 8px;
}

.books-resource-item__meta span {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 8px;
    border-radius: 4px;
    background: var(--books-surface-low);
    color: var(--books-muted);
    font-size: 11px;
    font-weight: 800;
}

.books-resource-item__type {
    background: rgba(0, 0, 128, 0.08) !important;
    color: var(--books-primary-strong) !important;
}

.books-resource-item h2 {
    margin: 0;
    font-size: 17px;
    line-height: 1.45;
    font-weight: 800;
}

.books-resource-item h2 a:hover {
    color: var(--books-primary-strong);
}

.books-resource-item__author {
    margin: 4px 0 0;
    color: var(--books-muted);
    font-size: 13px;
}

.books-resource-item__file {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin: 8px 0 0;
    color: var(--books-muted);
    font-size: 12px;
}

.books-resource-item__filename {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 700;
}

.books-resource-item__filename.is-pending {
    color: #9a6700;
}

.books-resource-item__extra {
    font-style: normal;
    font-weight: 800;
    color: var(--books-primary-strong);
    white-space: nowrap;
}

.books-resource-item__publish-label {
    font-weight: 800;
    color: #7a7a88;
    white-space: nowrap;
}

.books-resource-item__file time {
    color: #7a7a88;
    white-space: nowrap;
}

.books-resource-item__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    justify-content: flex-end;
}

.books-resource-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 118px;
    min-height: 40px;
    padding: 0 18px;
    border-radius: 999px;
    background: var(--books-primary-strong);
    color: var(--books-white);
    font-size: 13px;
    font-weight: 900;
    white-space: nowrap;
}

button.books-resource-download {
    border: 0;
    cursor: pointer;
    font-family: inherit;
}

.books-resource-download:hover {
    background: var(--books-primary);
}

.books-resource-download.is-disabled {
    background: var(--books-surface-mid);
    color: var(--books-muted);
    cursor: not-allowed;
}

.books-resource-detail {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 118px;
    min-height: 40px;
    padding: 0 18px;
    border: 1px solid var(--books-line-strong);
    border-radius: 999px;
    background: var(--books-white);
    color: var(--books-text);
    font-size: 13px;
    font-weight: 900;
    white-space: nowrap;
}

.books-resource-detail:hover {
    border-color: rgba(0, 0, 128, 0.28);
    background: var(--books-surface);
    color: var(--books-primary-strong);
}

.books-resource-empty {
    display: grid;
    gap: 12px;
    justify-items: center;
    padding: 72px 24px;
    border: 1px dashed var(--books-line-strong);
    border-radius: var(--books-radius);
    background: var(--books-surface);
    text-align: center;
}

.books-resource-empty strong {
    font-size: 18px;
    font-weight: 900;
}

.books-resource-empty p {
    margin: 0;
    color: var(--books-muted);
    font-size: 14px;
}

.books-resource-guide {
    padding: 0 0 80px;
}

.books-resource-guide__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 28px 32px;
    border: 1px solid var(--books-line);
    border-radius: var(--books-radius);
    background: var(--books-surface);
}

.books-resource-guide h2 {
    margin: 0 0 12px;
    font-size: 18px;
    font-weight: 900;
}

.books-resource-guide ul {
    margin: 0;
    padding-left: 18px;
    color: var(--books-muted);
    font-size: 14px;
    line-height: 1.7;
}

.books-resource-guide ul strong {
    color: var(--books-text);
}

.books-resource-guide__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    flex-shrink: 0;
}

#booksResourceLayer .books-resource-layer__dialog {
    width: min(760px, 100%);
}

#booksResourceLayer .books-resource-layer__section {
    margin-bottom: 0;
}

#booksResourceLayer .bookshop-resource-list {
    margin-top: 8px;
}

@media (max-width: 1024px) {
    .books-resource-hero__inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .books-resource-hero__stats {
        width: 100%;
    }

    .books-resource-hero__stats > div {
        flex: 1;
    }

    .books-resource-search {
        width: 100%;
        justify-self: stretch;
    }

    .books-resource-item {
        grid-template-columns: 64px minmax(0, 1fr);
    }

    .books-resource-item__actions {
        grid-column: 1 / -1;
        justify-content: stretch;
    }

    .books-resource-download,
    .books-resource-detail {
        flex: 1;
        justify-content: center;
        text-align: center;
    }

    .books-resource-guide__inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 640px) {
    .books-resource-hero {
        padding: 40px 0;
    }

    .books-resource-hero h1 {
        font-size: 28px;
    }

    .books-resource-hero__stats {
        flex-direction: column;
    }

    .books-resource-hero__stats > div {
        width: 100%;
    }

    .books-resource-toolbar {
        top: 72px;
    }

    .books-resource-item {
        grid-template-columns: 56px minmax(0, 1fr);
        gap: 14px;
        padding: 16px;
    }

    .books-resource-item__thumb {
        width: 56px;
        height: 74px;
    }

    .books-resource-item h2 {
        font-size: 15px;
    }

    .books-resource-item__actions {
        flex-direction: column;
    }

    .books-resource-guide__actions {
        width: 100%;
    }

    .books-resource-guide__actions .bookshop-button {
        flex: 1;
        text-align: center;
    }
}

/* 고객센터 */
.books-customer-page h1,
.books-customer-page h2 {
    font-family: var(--books-font-head);
    letter-spacing: 0;
}

.books-customer-hero {
    padding: 56px 0;
    background: linear-gradient(135deg, var(--books-surface) 0%, var(--books-white) 55%, rgba(0, 0, 128, 0.06) 100%);
    border-bottom: 1px solid var(--books-line);
}

.books-customer-hero--compact {
    padding: 40px 0;
}

.books-customer-hero__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 52px;
    min-height: 28px;
    margin-bottom: 14px;
    padding: 0 12px;
    border-radius: 999px;
    background: var(--books-primary-strong);
    color: var(--books-white);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.books-customer-hero h1 {
    margin: 0;
    color: var(--books-primary);
    font-size: 36px;
    line-height: 1.2;
    font-weight: 800;
}

.books-customer-hero p {
    margin: 12px 0 0;
    max-width: 560px;
    color: var(--books-muted);
    font-size: 16px;
    line-height: 1.6;
}

.books-customer-content {
    padding: 40px 0 80px;
}

.books-customer-tabs {
    margin-bottom: 28px;
}

.books-customer-panel {
    padding-top: 8px;
}

.books-customer-panel__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.books-customer-panel__head h2 {
    margin: 0;
    color: var(--books-primary-strong);
    font-size: 28px;
    line-height: 1.3;
}

.books-customer-panel__head p {
    margin: 0;
    color: var(--books-muted);
    font-size: 14px;
}

.books-customer-panel__head em {
    color: var(--books-primary-strong);
    font-style: normal;
    font-weight: 900;
}

.books-customer-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.books-customer-filters a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid var(--books-line);
    background: var(--books-white);
    color: var(--books-muted);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.books-customer-filters a:hover,
.books-customer-filters a.is-active {
    border-color: var(--books-primary);
    background: rgba(0, 0, 128, 0.05);
    color: var(--books-primary-strong);
}

.books-customer-board {
    border-top: 1px solid var(--books-text);
}

.books-customer-board__head,
.books-customer-board__row {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr) 120px;
    align-items: center;
    gap: 16px;
    padding: 16px 12px;
    border-bottom: 1px solid var(--books-line);
}

.books-customer-board__head {
    background: var(--books-surface-low);
    color: var(--books-muted);
    font-size: 13px;
    font-weight: 900;
}

.books-customer-board__row.is-pin {
    background: rgba(0, 0, 128, 0.03);
}

.books-customer-board__number {
    text-align: center;
    color: var(--books-muted);
    font-size: 14px;
    font-weight: 800;
}

.books-customer-board__row.is-pin .books-customer-board__number {
    color: var(--books-primary-strong);
}

.books-customer-board__title a {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    color: var(--books-text);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    line-height: 1.5;
}

.books-customer-board__title a:hover {
    color: var(--books-primary-strong);
}

.books-customer-board__category {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 26px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid var(--books-line);
    background: var(--books-surface);
    color: var(--books-primary-strong);
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.books-customer-board__date {
    text-align: center;
    color: var(--books-muted);
    font-size: 14px;
}

.books-customer-view {
    border: 1px solid var(--books-line);
    border-radius: var(--books-radius);
    background: var(--books-white);
    overflow: hidden;
}

.books-customer-view__head {
    padding: 28px 28px 20px;
    border-bottom: 1px solid var(--books-line);
}

.books-customer-view__head h2 {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    color: var(--books-text);
    font-size: 24px;
    line-height: 1.45;
}

.books-customer-view__category {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid var(--books-line);
    background: var(--books-surface);
    color: var(--books-primary-strong);
    font-size: 12px;
    font-weight: 800;
}

.books-customer-view__head p {
    margin: 12px 0 0;
    color: var(--books-muted);
    font-size: 14px;
}

.books-customer-view__body {
    margin: 0;
    border: 0;
    border-radius: 0;
}

.books-customer-view__file {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0 28px 24px;
    color: var(--books-muted);
    font-size: 14px;
}

.books-customer-view__file a {
    color: var(--books-primary-strong);
    font-weight: 800;
    text-decoration: underline;
}

.books-customer-view__nav {
    border-top: 1px solid var(--books-line);
}

.books-customer-view__nav > div {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 16px;
    padding: 16px 28px;
    border-bottom: 1px solid var(--books-line);
}

.books-customer-view__nav > div > span:first-child {
    color: var(--books-muted);
    font-size: 13px;
    font-weight: 900;
}

.books-customer-view__nav a {
    color: var(--books-text);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.books-customer-view__nav a:hover {
    color: var(--books-primary-strong);
}

.books-customer-view__nav .is-empty {
    color: var(--books-muted);
    font-size: 14px;
}

.books-customer-view__actions {
    display: flex;
    justify-content: center;
    padding: 24px 28px 28px;
}

@media (max-width: 767px) {
    .books-customer-hero {
        padding: 40px 0;
    }

    .books-customer-hero h1 {
        font-size: 28px;
    }

    .books-customer-panel__head {
        flex-direction: column;
        align-items: flex-start;
    }

    .books-customer-board__head {
        display: none;
    }

    .books-customer-board__row {
        grid-template-columns: auto minmax(0, 1fr);
        gap: 10px 12px;
        padding: 16px 14px;
        border-radius: 16px;
        margin-bottom: 10px;
        border: 1px solid var(--books-line);
        background: var(--books-white);
        box-shadow: 0 6px 18px rgba(0, 0, 128, 0.06);
    }

    .books-customer-board {
        border-top: 0;
    }

    .books-customer-board__number {
        min-width: 36px;
        min-height: 36px;
        padding: 0 10px;
        border-radius: 999px;
        background: var(--books-primary-strong);
        color: var(--books-white);
        line-height: 36px;
    }

    .books-customer-board__row.is-pin .books-customer-board__number {
        color: var(--books-white);
    }

    .books-customer-board__date {
        grid-column: 2;
        text-align: left;
        font-size: 12px;
    }

    .books-customer-view__head,
    .books-customer-view__file,
    .books-customer-view__nav > div,
    .books-customer-view__actions {
        padding-left: 18px;
        padding-right: 18px;
    }

    .books-customer-view__head h2 {
        font-size: 20px;
    }

    .books-customer-view__nav > div {
        grid-template-columns: 72px minmax(0, 1fr);
    }
}

/* 마이페이지 */
.books-mypage-page h1,
.books-mypage-page h2 {
    font-family: var(--books-font-head);
    letter-spacing: 0;
}

.books-mypage-panel__head {
    align-items: center;
}

.books-customer-board--1to1 .books-customer-board__head,
.books-customer-board--1to1 .books-customer-board__row {
    grid-template-columns: 72px minmax(0, 1fr) 110px 110px;
}

.books-customer-view__reply {
    padding: 24px 28px;
    border-top: 1px solid var(--books-line);
    background: var(--books-surface-low);
}

.books-customer-view__reply header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.books-customer-view__reply header strong {
    color: var(--books-primary-strong);
    font-size: 16px;
}

.books-customer-view__reply header time {
    color: var(--books-muted);
    font-size: 14px;
}

.books-customer-view__pending {
    padding: 24px 28px;
    border-top: 1px solid var(--books-line);
    background: rgba(0, 0, 128, 0.03);
    color: var(--books-muted);
    font-size: 14px;
    font-weight: 700;
}

.books-mypage-info-form {
    display: grid;
    gap: 24px;
}

.books-mypage-question-form__items {
    display: grid;
    gap: 18px;
}

.books-mypage-question-form__item label {
    display: block;
    margin-bottom: 8px;
    color: var(--books-text);
    font-size: 14px;
    font-weight: 800;
}

.books-mypage-info-form__section {
    display: grid;
    gap: 18px;
    margin: 0;
    padding: 24px 28px;
    border: 1px solid var(--books-line);
    border-radius: var(--books-radius);
    background: var(--books-white);
}

.books-mypage-info-form__section legend {
    grid-column: 1 / -1;
    margin: 0 0 2px;
    padding: 0;
    color: var(--books-primary-strong);
    font-size: 18px;
    font-weight: 900;
}

.books-mypage-info-form__section legend span {
    color: var(--books-muted);
    font-size: 13px;
    font-weight: 700;
}

.books-mypage-question-form__item input,
.books-mypage-question-form__item textarea,
.books-mypage-info-form__controls input[type="text"],
.books-mypage-info-form__controls input[type="password"],
.books-mypage-info-form__controls select {
    width: 100%;
    min-height: 46px;
    padding: 0 14px;
    border: 1px solid var(--books-line-strong);
    border-radius: var(--books-radius);
    color: var(--books-text);
    font-size: 14px;
    box-sizing: border-box;
}

.books-mypage-question-form__item textarea {
    min-height: 220px;
    padding: 14px;
    resize: vertical;
    line-height: 1.6;
}

.books-mypage-question-form__item--editor textarea {
    display: none;
}

.books-mypage-question-form__editor iframe {
    max-width: 100%;
    width: 100% !important;
}

.books-mypage-question-form__item input:focus,
.books-mypage-question-form__item textarea:focus,
.books-mypage-info-form__controls input:focus,
.books-mypage-info-form__controls select:focus {
    outline: none;
    border-color: var(--books-primary-strong);
    box-shadow: 0 0 0 3px rgba(0, 0, 128, 0.12);
}

.books-mypage-info-form__row {
    display: grid;
    grid-template-columns: minmax(148px, 180px) minmax(0, 1fr);
    gap: 12px 20px;
    align-items: center;
}

.books-mypage-info-form__row > label,
.books-mypage-info-form__label {
    display: flex;
    align-items: center;
    margin: 0;
    padding-left: 4px;
    color: var(--books-text);
    font-size: 14px;
    font-weight: 800;
    line-height: 1.4;
}

.books-mypage-info-form__row--top {
    align-items: start;
}

.books-mypage-info-form__row--top > label,
.books-mypage-info-form__row--top > .books-mypage-info-form__label {
    min-height: 46px;
}

.books-mypage-info-form__static {
    min-height: 46px;
    display: flex;
    align-items: center;
    color: var(--books-text);
    font-size: 14px;
    font-weight: 700;
}

.books-mypage-info-form__controls {
    display: grid;
    gap: 10px;
}

.books-mypage-info-form__controls.books-mypage-info-form__controls--inline {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.books-mypage-info-form__controls--phone,
.books-mypage-info-form__controls--birth,
.books-mypage-info-form__controls--email {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.books-mypage-info-form__controls.books-mypage-info-form__controls--phone select {
    width: 96px;
    flex: 0 0 96px;
}

.books-mypage-info-form__controls.books-mypage-info-form__controls--phone input[type="text"] {
    width: 112px;
    flex: 0 0 112px;
}

.books-mypage-info-form__controls.books-mypage-info-form__controls--birth select {
    width: auto;
    min-width: 88px;
    flex: 0 0 auto;
}

.books-mypage-info-form__controls.books-mypage-info-form__controls--email input[type="text"] {
    width: auto;
    min-width: 0;
    flex: 1 1 160px;
    max-width: 240px;
}

.books-mypage-info-form__controls--birth > span {
    flex: 0 0 auto;
    color: var(--books-muted);
    font-size: 14px;
    font-weight: 700;
}

.books-mypage-info-form__controls--email > span {
    flex: 0 0 auto;
    color: var(--books-muted);
    font-size: 14px;
    font-weight: 700;
    line-height: 46px;
}

.books-mypage-info-form__controls--address {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.books-mypage-info-form__controls--address input[type="text"] {
    width: 140px;
    flex: 0 0 140px;
}

.books-mypage-info-form__controls--address .bookshop-button {
    flex: 0 0 auto;
    white-space: nowrap;
}

.books-mypage-info-form__radio {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--books-text);
    font-size: 14px;
    font-weight: 700;
}

.books-mypage-info-form__hint {
    margin: 0;
    color: var(--books-muted);
    font-size: 12px;
    line-height: 1.5;
}

.books-mypage-info-form__actions,
.books-mypage-question-form__actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.books-mypage-info-form .is-required {
    color: #ef3f3f;
}

@media (max-width: 767px) {
    .books-customer-board--1to1 .books-customer-board__head {
        display: none;
    }

    .books-customer-board--1to1 .books-customer-board__row {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .books-customer-board--1to1 .books-customer-board__date:last-child {
        grid-column: 1 / -1;
        text-align: left;
    }

    .books-mypage-panel__head {
        flex-direction: column;
        align-items: stretch;
    }

    .books-mypage-info-form__row {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .books-mypage-info-form__row > label,
    .books-mypage-info-form__row > .books-mypage-info-form__label {
        min-height: 0;
        padding-left: 0;
    }

    .books-mypage-info-form__row--top > label,
    .books-mypage-info-form__row--top > .books-mypage-info-form__label {
        min-height: 0;
    }

    .books-mypage-info-form__section {
        padding: 20px 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
