.rs-book-hero {
    position: relative;
    padding: 120px 0 70px;
    overflow: hidden;
    background:
        radial-gradient(circle at 12% 20%, rgba(13, 110, 253, 0.14), transparent 30%),
        radial-gradient(circle at 88% 22%, rgba(100, 177, 255, 0.22), transparent 34%),
        linear-gradient(135deg, #f8fbff 0%, #edf6ff 48%, #f9fcff 100%);
}

.rs-book-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 68% 44%, rgba(13, 110, 253, 0.16), transparent 32%),
        linear-gradient(120deg, rgba(255, 255, 255, 0.36), transparent 58%);
    pointer-events: none;
}

.rs-book-hero .container {
    position: relative;
    z-index: 2;
    max-width: 1400px;
}

.rs-book-hero-card {
    position: relative;
    min-height: 390px;
    padding: 72px 64px;
    overflow: hidden;
    border-radius: 26px;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.86) 0%, rgba(255, 255, 255, 0.62) 43%, rgba(255, 255, 255, 0.2) 100%),
        rgba(255, 255, 255, 0.58);
    border: 1px solid rgba(255, 255, 255, 0.84);
    box-shadow: 0 28px 80px rgba(31, 88, 160, 0.14);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
}

.rs-book-hero-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(circle at 64% 42%, rgba(13, 110, 253, 0.22), transparent 34%),
        linear-gradient(to right, rgba(255, 255, 255, 0.35), transparent 58%);
    pointer-events: none;
}

.rs-book-hero-content {
    position: relative;
    z-index: 4;
    max-width: 590px;
}

.rs-book-badge {
    width: max-content;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 28px;
    padding: 10px 16px;
    border-radius: 999px;
    color: var(--color2);
    font-size: 14px;
    font-weight: 900;
    background: rgba(255, 255, 255, 0.66);
    border: 1px solid rgba(255, 255, 255, 0.86);
    box-shadow: 0 14px 34px rgba(13, 110, 253, 0.1);
    backdrop-filter: blur(16px);
}

.rs-book-hero-content h1 {
    margin: 0 0 22px;
    color: var(--color1);
    font-size: clamp(38px, 5vw, 52px);
    line-height: 1.08;
    font-weight: 950;
    letter-spacing: -2.5px;
}

.rs-book-hero-content h1 span {
    color: var(--color2);
}

.rs-book-hero-content p {
    max-width: 570px;
    margin: 0;
    color: #243653;
    font-size: 17px;
    line-height: 1.85;
    font-weight: 300;
}

.rs-book-hero-visual {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 2;
    width: 63%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    pointer-events: none;
}

.rs-book-hero-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.36) 28%, transparent 58%),
        linear-gradient(0deg, rgba(255, 255, 255, 0.16), transparent 50%);
    pointer-events: none;
}

.rs-book-hero-visual img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center right;
    filter: saturate(1.08) contrast(1.02);
}

.rs-book-catalog {
    position: relative;
    padding: 10px 0 80px;
    overflow: hidden;
    background:
        radial-gradient(circle at 12% 8%, rgba(13, 110, 253, 0.12), transparent 30%),
        radial-gradient(circle at 92% 28%, rgba(100, 177, 255, 0.18), transparent 34%),
        linear-gradient(135deg, #f9fcff 0%, #eef7ff 50%, #ffffff 100%);
}

.rs-book-catalog::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 46% 82%, rgba(13, 110, 253, 0.08), transparent 34%),
        linear-gradient(120deg, rgba(255, 255, 255, 0.34), transparent 58%);
    pointer-events: none;
}

.rs-book-catalog .container {
    position: relative;
    z-index: 2;
    max-width: 1400px;
}

.rs-book-catalog-panel {
    padding: 34px;
    border-radius: 28px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.58)),
        rgba(255, 255, 255, 0.66);
    border: 1px solid rgba(255, 255, 255, 0.86);
    box-shadow: 0 30px 80px rgba(31, 88, 160, 0.12);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
}

.rs-book-sidebar {
    position: sticky;
    top: 104px;
}

.rs-book-filter-card {
    display: grid;
    gap: 22px;
    padding: 26px;
    border-radius: 28px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.58)),
        rgba(255, 255, 255, 0.66);
    border: 1px solid rgba(255, 255, 255, 0.86);
    box-shadow: 0 30px 80px rgba(31, 88, 160, 0.12);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
}

.rs-book-filter-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.rs-book-filter-head h3 {
    margin: 0;
    color: var(--color1);
    font-size: 21px;
    font-weight: 950;
    letter-spacing: -0.4px;
}

.rs-book-filter-head a {
    color: var(--color2);
    font-size: 12px;
    font-weight: 950;
    text-decoration: none;
}

.rs-book-filter-group {
    display: grid;
    gap: 10px;
}

.rs-book-filter-group > label {
    margin: 0;
    color: var(--color1);
    font-size: 13px;
    font-weight: 950;
}

.rs-book-sidebar-search {
    position: relative;
}

.rs-book-sidebar-search input,
.rs-book-filter-group select,
.rs-book-range input {
    width: 100%;
    min-height: 48px;
    padding: 0 15px;
    border-radius: 16px;
    color: var(--color1);
    font-size: 13px;
    font-weight: 800;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(13, 110, 253, 0.12);
    outline: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.74);
    transition: 0.25s ease;
}

.rs-book-sidebar-search input {
    padding-right: 52px;
}

.rs-book-sidebar-search input:focus,
.rs-book-filter-group select:focus,
.rs-book-range input:focus {
    border-color: rgba(13, 110, 253, 0.34);
    box-shadow: 0 14px 32px rgba(13, 110, 253, 0.1);
}

.rs-book-sidebar-search button {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 13px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--color2), #64b1ff);
    box-shadow: 0 12px 24px rgba(13, 110, 253, 0.22);
}

.rs-book-filter-options {
    display: grid;
    gap: 9px;
}

.rs-book-filter-options label {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 38px;
    margin: 0;
    padding: 8px 10px;
    border-radius: 15px;
    color: #40536f;
    font-size: 13px;
    font-weight: 800;
    background: rgba(13, 110, 253, 0.055);
    border: 1px solid rgba(13, 110, 253, 0.075);
    cursor: pointer;
}

.rs-book-filter-options input {
    accent-color: var(--color2);
}

.rs-book-range {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
}

.rs-book-filter-submit {
    width: 100%;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 0;
    border-radius: 999px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 950;
    background: linear-gradient(135deg, var(--color2), #64b1ff);
    box-shadow: 0 18px 36px rgba(13, 110, 253, 0.22);
    transition: 0.25s ease;
}

.rs-book-filter-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 42px rgba(13, 110, 253, 0.28);
}

.rs-book-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.rs-book-card {
    position: relative;
    min-height: 100%;
    padding: 15px;
    overflow: hidden;
    border-radius: 24px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.62)),
        rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 18px 48px rgba(31, 88, 160, 0.1);
    animation: rsBookCardIn 0.72s ease both;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.rs-book-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 12%, rgba(13, 110, 253, 0.12), transparent 32%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.28), transparent 62%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.rs-book-card:hover {
    transform: translateY(-7px);
    border-color: rgba(13, 110, 253, 0.18);
    box-shadow: 0 28px 70px rgba(31, 88, 160, 0.16);
}

.rs-book-card:hover::before {
    opacity: 1;
}

.rs-book-cover {
    position: relative;
    z-index: 2;
    width: 100%;
    aspect-ratio: 4 / 5;
    margin-bottom: 13px;
    overflow: hidden;
    border-radius: 16px;
    background:
        linear-gradient(135deg, rgba(13, 110, 253, 0.1), rgba(100, 177, 255, 0.12)),
        rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.78);
    box-shadow: 0 18px 42px rgba(31, 88, 160, 0.12);
}

.rs-book-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.24), transparent 48%),
        linear-gradient(0deg, rgba(13, 110, 253, 0.08), transparent 34%);
    opacity: 0.85;
    pointer-events: none;
}

.rs-book-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.45s ease, filter 0.45s ease;
}

.rs-book-card:hover .rs-book-cover img {
    transform: scale(1.045);
    filter: saturate(1.06) contrast(1.03);
}

.rs-book-card-body {
    position: relative;
    z-index: 2;
    min-width: 0;
}

.rs-book-category {
    display: inline-flex;
    margin-bottom: 9px;
    padding: 5px 9px;
    border-radius: 999px;
    color: var(--color2);
    font-size: 10px;
    font-weight: 950;
    background: rgba(13, 110, 253, 0.08);
    border: 1px solid rgba(13, 110, 253, 0.1);
}

.rs-book-year {
    display: inline-flex;
    margin: 0 0 9px 6px;
    padding: 5px 9px;
    border-radius: 999px;
    color: #344866;
    font-size: 10px;
    font-weight: 950;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(13, 110, 253, 0.08);
}

.rs-book-card h3 {
    display: -webkit-box;
    min-height: 61px;
    margin: 0 0 0px;
    overflow: hidden;
    color: var(--color1);
    font-size: 15px;
    line-height: 1.35;
    font-weight: 950;
    letter-spacing: -0.45px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    transition: color 0.25s ease;
}

.rs-book-card h3 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.25s ease;
}

.rs-book-card h3 a:hover {
    color: var(--color2);
}

.rs-book-card:hover h3 {
    color: var(--color2);
}

.rs-book-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 15px;
}

.rs-book-show,
.rs-book-cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 950;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.rs-book-show {
    flex: 1 1 auto;
    gap: 8px;
    padding: 9px 14px;
    color: #ffffff;
    background:
        radial-gradient(circle at 90% 20%, rgba(255, 183, 3, 0.42), transparent 30%),
        linear-gradient(135deg, #06194f 0%, var(--color2) 58%, #48b8ff 100%);
    border: 1px solid rgba(255, 255, 255, 0.46);
    box-shadow:
        0 16px 32px rgba(7, 24, 74, 0.16),
        0 0 0 4px rgba(13, 110, 253, 0.06);
}

.rs-book-cart {
    flex: 0 0 auto;
    width: 38px;
    color: #ffffff;
    background:
        radial-gradient(circle at 24% 18%, rgba(255, 255, 255, 0.42), transparent 30%),
        linear-gradient(135deg, #ff8a00 0%, #ffb703 100%);
    border: 1px solid rgba(255, 255, 255, 0.58);
    box-shadow:
        0 14px 28px rgba(255, 138, 0, 0.2),
        0 0 0 4px rgba(255, 183, 3, 0.08);
}

.rs-book-show:hover,
.rs-book-cart:hover {
    transform: translateY(-2px);
}

.rs-book-show:hover {
    color: #ffffff;
    box-shadow:
        0 20px 40px rgba(7, 24, 74, 0.22),
        0 0 0 5px rgba(13, 110, 253, 0.08);
}

.rs-book-cart:hover {
    color: #ffffff;
    background:
        radial-gradient(circle at 24% 18%, rgba(255, 255, 255, 0.48), transparent 30%),
        linear-gradient(135deg, #ff7a00 0%, #ffb703 100%);
    box-shadow:
        0 18px 34px rgba(255, 138, 0, 0.28),
        0 0 0 5px rgba(255, 183, 3, 0.1);
}

.rs-book-card p {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: #52627b;
    font-size: 12px;
    line-height: 1.6;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.rs-book-catalog-panel .rs-pagination {
    margin-top: 34px;
}

.rs-book-detail {
    position: relative;
    padding: 70px 0 95px;
    overflow: hidden;
    background:
        radial-gradient(circle at 14% 12%, rgba(13, 110, 253, 0.12), transparent 30%),
        radial-gradient(circle at 86% 18%, rgba(100, 177, 255, 0.18), transparent 34%),
        linear-gradient(135deg, #f9fcff 0%, #eef7ff 50%, #ffffff 100%);
}

.rs-book-detail::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 48% 86%, rgba(13, 110, 253, 0.08), transparent 36%),
        linear-gradient(120deg, rgba(255, 255, 255, 0.34), transparent 58%);
    pointer-events: none;
}

.rs-book-detail .container {
    position: relative;
    z-index: 2;
    max-width: 1400px;
}

.rs-book-detail-main {
    padding: 34px;
    border-radius: 28px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.58)),
        rgba(255, 255, 255, 0.66);
    border: 1px solid rgba(255, 255, 255, 0.86);
    box-shadow: 0 30px 80px rgba(31, 88, 160, 0.12);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
}

.rs-book-detail-head {
    display: grid;
    grid-template-columns: minmax(220px, 320px) 1fr;
    gap: 34px;
    align-items: center;
    margin-top: 24px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(13, 110, 253, 0.1);
}

.rs-book-detail-cover {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background:
        linear-gradient(135deg, rgba(13, 110, 253, 0.1), rgba(100, 177, 255, 0.12)),
        rgba(255, 255, 255, 0.74);
    border: 1px solid rgba(255, 255, 255, 0.86);
    box-shadow: 0 24px 60px rgba(31, 88, 160, 0.16);
}

.rs-book-detail-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.28), transparent 46%),
        linear-gradient(0deg, rgba(13, 110, 253, 0.08), transparent 34%);
    pointer-events: none;
}

.rs-book-detail-cover img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center;
    display: block;
}

.rs-book-detail-category {
    display: inline-flex;
    width: max-content;
    margin-bottom: 16px;
    padding: 8px 13px;
    border-radius: 999px;
    color: var(--color2);
    font-size: 12px;
    font-weight: 950;
    background: rgba(13, 110, 253, 0.08);
    border: 1px solid rgba(13, 110, 253, 0.12);
}

.rs-book-detail-intro h2 {
    max-width: 880px;
    margin: 0 0 14px;
    color: var(--color1);
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.14;
    font-weight: 950;
    letter-spacing: -1.7px;
}

.rs-book-detail-subtitle,
.rs-book-detail-authors {
    margin: 0 0 10px;
    color: #52627b;
    font-size: 15px;
    line-height: 1.7;
}

.rs-book-detail-authors {
    color: #344866;
    font-weight: 850;
}

.rs-book-detail-actions {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 16px 18px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.rs-book-detail-actions .rs-share-buttons {
    margin-left: 2px;
    margin-right: auto;
}

.rs-book-detail-cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 48px;
    padding: 12px 22px;
    color: #ffffff;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.58);
    background:
        radial-gradient(circle at 24% 18%, rgba(255, 255, 255, 0.42), transparent 30%),
        linear-gradient(135deg, #ff8a00 0%, #ffb703 100%);
    box-shadow:
        0 16px 32px rgba(255, 138, 0, 0.22),
        0 0 0 4px rgba(255, 183, 3, 0.08);
    font-size: 13px;
    font-weight: 950;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.rs-book-detail-cart:hover {
    color: #ffffff;
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.74);
    background:
        radial-gradient(circle at 24% 18%, rgba(255, 255, 255, 0.48), transparent 30%),
        linear-gradient(135deg, #ff7a00 0%, #ffb703 100%);
    box-shadow:
        0 20px 40px rgba(255, 138, 0, 0.3),
        0 0 0 5px rgba(255, 183, 3, 0.1);
}

.rs-book-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
    gap: 22px;
    margin-top: 28px;
}

.rs-book-detail-panel,
.rs-book-synopsis,
.rs-book-citation,
.rs-book-detail-share-bottom {
    padding: 24px;
    border-radius: 24px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.58)),
        rgba(255, 255, 255, 0.62);
    border: 1px solid rgba(255, 255, 255, 0.86);
    box-shadow: 0 18px 48px rgba(31, 88, 160, 0.1);
}

.rs-book-detail-panel h3,
.rs-book-synopsis h3,
.rs-book-citation h3 {
    margin: 0 0 18px;
    color: var(--color1);
    font-size: 20px;
    font-weight: 950;
    letter-spacing: -0.4px;
}

.rs-book-detail-table {
    display: grid;
    gap: 0;
    margin: 0;
}

.rs-book-detail-table div {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 18px;
    padding: 13px 0;
    border-bottom: 1px solid rgba(13, 110, 253, 0.08);
}

.rs-book-detail-table div:last-child {
    border-bottom: 0;
}

.rs-book-detail-table dt {
    color: #52627b;
    font-size: 13px;
    font-weight: 900;
}

.rs-book-detail-table dd {
    margin: 0;
    color: var(--color1);
    font-size: 14px;
    line-height: 1.55;
    font-weight: 800;
}

.rs-book-author-list {
    display: grid;
    gap: 14px;
}

.rs-book-author-list div {
    padding: 16px;
    border-radius: 18px;
    background: rgba(13, 110, 253, 0.06);
    border: 1px solid rgba(13, 110, 253, 0.09);
}

.rs-book-author-list strong,
.rs-book-author-list span {
    display: block;
}

.rs-book-author-list strong {
    margin-bottom: 6px;
    color: var(--color1);
    font-size: 14px;
    font-weight: 950;
}

.rs-book-author-list span {
    color: #52627b;
    font-size: 13px;
    line-height: 1.55;
}

.rs-book-synopsis,
.rs-book-keywords-panel,
.rs-book-citation,
.rs-book-detail-share-bottom {
    margin-top: 22px;
}

.rs-book-synopsis p {
    margin: 0;
    color: #40536f;
    font-size: 15px;
    line-height: 1.85;
}

.rs-book-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.rs-book-chip-list span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    color: #344866;
    font-size: 12px;
    font-weight: 900;
    background: rgba(13, 110, 253, 0.07);
    border: 1px solid rgba(13, 110, 253, 0.09);
}

.rs-book-chip-list i {
    color: var(--color2);
}

.rs-book-citation-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.rs-book-citation-head h3 {
    margin: 0;
}

.rs-book-downloads {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.rs-book-downloads a {
    display: inline-flex;
    padding: 8px 12px;
    border-radius: 999px;
    color: var(--color2);
    font-size: 12px;
    font-weight: 950;
    text-decoration: none;
    background: rgba(13, 110, 253, 0.08);
    border: 1px solid rgba(13, 110, 253, 0.1);
    transition: 0.25s ease;
}

.rs-book-downloads a:hover {
    color: #ffffff;
    background: var(--color2);
}

.rs-book-citation-list {
    display: grid;
    gap: 14px;
}

.rs-book-citation-list > div {
    display: grid;
    grid-template-columns: 90px 1fr auto;
    gap: 14px;
    align-items: start;
    padding: 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.58);
    border: 1px solid rgba(13, 110, 253, 0.08);
}

.rs-book-citation-list span {
    color: var(--color2);
    font-size: 12px;
    font-weight: 950;
}

.rs-book-citation-list p {
    margin: 0;
    color: #40536f;
    font-size: 13px;
    line-height: 1.65;
}

.rs-book-citation-list button {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 36px;
    padding: 8px 12px;
    border: 0;
    border-radius: 999px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 950;
    background: linear-gradient(135deg, var(--color2), #64b1ff);
    box-shadow: 0 12px 24px rgba(13, 110, 253, 0.18);
    cursor: pointer;
}

.rs-book-detail-share-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
}

.rs-book-coffee-btn {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 11px 16px;
    border: 0;
    border-radius: 999px;
    color: #7c4a03;
    font-size: 13px;
    font-weight: 950;
    background:
        radial-gradient(circle at 22% 18%, rgba(255, 255, 255, 0.5), transparent 30%),
        linear-gradient(135deg, #fde047 0%, #facc15 100%);
    box-shadow:
        0 14px 28px rgba(245, 158, 11, 0.18),
        0 0 0 4px rgba(255, 183, 3, 0.08);
    transition: 0.3s ease;
}

.rs-book-coffee-btn:hover {
    transform: translateY(-2px);
    box-shadow:
        0 18px 34px rgba(245, 158, 11, 0.25),
        0 0 0 5px rgba(255, 183, 3, 0.1);
}

.rs-book-card:nth-child(1) { animation-delay: 0.04s; }
.rs-book-card:nth-child(2) { animation-delay: 0.09s; }
.rs-book-card:nth-child(3) { animation-delay: 0.14s; }
.rs-book-card:nth-child(4) { animation-delay: 0.19s; }
.rs-book-card:nth-child(5) { animation-delay: 0.24s; }
.rs-book-card:nth-child(6) { animation-delay: 0.29s; }
.rs-book-card:nth-child(7) { animation-delay: 0.34s; }
.rs-book-card:nth-child(8) { animation-delay: 0.39s; }

@keyframes rsBookCardIn {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1199.98px) {
    .rs-book-hero-card {
        padding: 62px 48px;
    }

    .rs-book-hero-visual {
        width: 66%;
    }

    .rs-book-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .rs-book-hero {
        padding: 110px 0 60px;
    }

    .rs-book-hero-card {
        min-height: auto;
        padding: 48px 38px min(100%, 420px);
    }

    .rs-book-hero-content {
        max-width: 100%;
    }

    .rs-book-hero-visual {
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
        max-height: 420px;
    }

    .rs-book-hero-visual::after {
        background:
            linear-gradient(180deg, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.36) 38%, transparent 74%),
            linear-gradient(90deg, rgba(255, 255, 255, 0.28), transparent 55%);
    }

    .rs-book-catalog {
        padding: 60px 0 82px;
    }

    .rs-book-sidebar {
        position: relative;
        top: auto;
    }

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

    .rs-book-detail-head,
    .rs-book-detail-grid {
        grid-template-columns: 1fr;
    }

    .rs-book-detail-cover {
        max-width: 320px;
    }
}

@media (max-width: 767.98px) {
    .rs-book-hero {
        padding: 100px 0 52px;
    }

    .rs-book-hero-card {
        padding: 36px 26px calc(100% - 52px);
        border-radius: 22px;
    }

    .rs-book-hero-content h1 {
        letter-spacing: -1.4px;
    }

    .rs-book-hero-content p {
        font-size: 15px;
        line-height: 1.75;
    }

    .rs-book-hero-visual {
        left: 0;
        right: 0;
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
        max-height: none;
    }

    .rs-book-hero-visual img {
        width: 100%;
        max-width: none;
        object-fit: cover;
        object-position: center top;
    }

    .rs-book-catalog-panel {
        padding: 24px;
        border-radius: 24px;
    }

    .rs-book-grid {
        grid-template-columns: 1fr;
    }

    .rs-book-detail-main {
        padding: 24px;
        border-radius: 24px;
    }

    .rs-book-detail-head {
        gap: 24px;
    }

    .rs-book-detail-actions,
    .rs-book-detail-share-bottom {
        width: 100%;
        align-items: flex-start;
        flex-direction: column;
    }

    .rs-book-detail-cart,
    .rs-book-detail-actions .rs-share-buttons {
        width: 100%;
        margin-left: 0;
    }

    .rs-book-detail-table div,
    .rs-book-citation-list > div {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}

@media (max-width: 575.98px) {
    .rs-book-hero-card {
        padding: 32px 22px calc(100% - 44px);
    }

    .rs-book-badge {
        font-size: 13px;
    }

    .rs-book-hero-visual {
        left: 0;
        right: 0;
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
    }

    .rs-book-catalog {
        padding: 52px 0 72px;
    }

    .rs-book-catalog-panel {
        padding: 20px;
    }

    .rs-book-card h3 {
        font-size: 15px;
    }

    .rs-book-card p {
        font-size: 12px;
    }

    .rs-book-detail {
        padding: 52px 0 72px;
    }

    .rs-book-detail-main,
    .rs-book-detail-panel,
    .rs-book-synopsis,
    .rs-book-citation,
    .rs-book-detail-share-bottom {
        padding: 20px;
    }

    .rs-book-detail-intro h2 {
        letter-spacing: -1px;
    }

    .rs-book-detail-cover {
        max-width: none;
    }

}
