/* VARIÁVEIS */
:root {
    --brand-paper: #071321;
    --brand-wine: #D4AF37;
    --brand-plum: #F7E7CE;
    --brand-gold: #FFD700;
    --brand-berry: #1D3557;
    --brand-text: #E2E8F0;
    --input-bg: #0D1B2A;
    
    --font-sans: 'Inter', sans-serif;
    --font-serif: 'Playfair Display', serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--brand-paper);
    color: var(--brand-text);
    font-family: var(--font-sans);
    -webkit-font-smoothing: antialiased;
}

::selection {
    background-color: var(--brand-berry);
    color: #ffffff;
}

a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea { font-family: inherit; }

/* SCROLLBAR*/
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: #FBF7F5; }
::-webkit-scrollbar-thumb { background: #D99BA8; border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: #8B4568; }

/* ANIMAÇÕES E EFEITOS */
.noise-overlay {
    position: fixed;
    inset: 0;
    background-image: url('data:image/svg+xml,%3Csvg viewBox=%220 0 200 200%22 xmlns=%22http://www.w3.org/2000/svg%22%3E%3Cfilter id=%22noiseFilter%22%3E%3CfeTurbulence type=%22fractalNoise%22 baseFrequency=%220.85%22 numOctaves=%223%22 stitchTiles=%22stitch%22/%3E%3C/filter%3E%3Crect width=%22100%25%22 height=%22100%25%22 filter=%22url(%23noiseFilter)%22 opacity=%220.03%22/%3E%3C/svg%3E');
    pointer-events: none;
    z-index: 50;
}

.fade-in { 
    animation: fadeIn 0.8s ease-out forwards; 
    opacity: 0; 
}

@keyframes fadeIn { 
    from { opacity: 0; transform: translateY(15px); } 
    to { opacity: 1; transform: translateY(0); } 
}

/* HEADER, MAIN, FOOTER */
.app-body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.main-viewport {
    flex: 1;
    padding-top: 5rem;
    transition: opacity 0.6s ease;
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 40;
    background-color: rgba(7, 19, 33, 0.9); 
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgb(246, 247, 247); 
    transition: all 0.3s;
}

.header-content {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    overflow: hidden;
}

.logo-img {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(29, 53, 87, 0.3);
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--brand-plum);
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.desktop-nav {
    display: none;
    align-items: center;
    gap: 2.5rem;
}

.nav-link {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--brand-text);
    transition: color 0.3s;
}

.nav-link:hover { color: var(--brand-wine); }

.mobile-nav {
    display: flex;
    align-items: center;
}

.icon-svg { width: 1.25rem; height: 1.25rem; }
.icon-link:hover { color: var(--brand-wine); }

/* Footer */
.site-footer {
    border-top: 1px solid rgb(246, 247, 247);
    background-color: var(--brand-paper);
    padding: 6rem 0 3rem;
    margin-top: 5rem;
    position: relative;
    z-index: 10;
}

.footer-content {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-title {
    font-family: var(--font-serif);
    font-size: 1.875rem;
    color: var(--brand-plum);
    margin-bottom: 1.5rem;
}

.footer-description {
    font-size: 0.875rem;
    font-weight: 300;
    max-width: 42rem;
    line-height: 1.6;
    margin-bottom: 4rem;
    color: var(--brand-text);
}

.footer-bottom {
    width: 100%;
    border-top: 1px solid rgba(29, 53, 87, 0.4);
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between; 
    align-items: center;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-tag span {
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--brand-wine);
    font-weight: 500;
}

.footer-credits {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
}

.footer-credits p {
    font-size: 0.5625rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: rgba(226, 232, 240, 0.6);
}

.btn-admin {
    font-size: 0.5625rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--brand-wine);
    background-color: rgba(29, 53, 87, 0.1);
    border: 1px solid rgba(29, 53, 87, 0.2);
    padding: 0.375rem 0.75rem;
    font-weight: 700;
    border-radius: 2px;
    transition: background-color 0.3s, color 0.3s;
}

.btn-admin:hover {
    color: var(--brand-plum);
    background-color: rgba(29, 53, 87, 0.2);
}

/* MODAIS E FORM */
.modal { position: fixed; inset: 0; z-index: 50; }
.modal-top { position: fixed; inset: 0; z-index: 60; }
.hidden { display: none !important; }

.modal-overlay {
    position: fixed; inset: 0;
    background-color: rgba(226, 232, 240, 0.9);
    backdrop-filter: blur(4px);
}

.modal-wrapper {
    position: fixed; inset: 0;
    display: flex; align-items: center; justify-content: center;
    padding: 1rem;
}

.modal-box {
    background-color: var(--brand-paper);
    border: 1px solid rgba(29, 53, 87, 0.2);
    width: 100%; max-width: 24rem;
    padding: 2rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border-radius: 2px;
    position: relative;
    z-index: 10;
}

.btn-close {
    position: absolute; top: 1rem; right: 1rem;
    color: rgba(226, 232, 240, 0.5);
    transition: color 0.3s;
}
.btn-close:hover { color: var(--brand-plum); }

.modal-header-center { text-align: center; margin-bottom: 2rem; }
.modal-header-center h2 { font-family: var(--font-serif); font-size: 1.5rem; color: var(--brand-plum); }
.modal-header-center p { font-size: 0.625rem; color: var(--brand-wine); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 0.25rem; }

.form-container { display: flex; flex-direction: column; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.25rem; }

.form-label {
    font-size: 0.5625rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.1em; color: var(--brand-gold);
}

.form-input {
    background-color: var(--input-bg) !important;
    color: var(--brand-text) !important;
    border: 1px solid rgba(29, 53, 87, 0.3) !important;
    padding: 0.625rem 0.75rem;
    font-size: 0.875rem;
    border-radius: 2px;
    width: 100%;
    outline: none;
}
.form-input:focus { border-color: var(--brand-wine) !important; }

.btn-submit {
    width: 100%; padding: 0.875rem;
    background-color: var(--brand-wine); color: white;
    font-size: 0.625rem; text-transform: uppercase; letter-spacing: 0.2em; font-weight: 700;
    border-radius: 2px; transition: background-color 0.3s;
}
.btn-submit:hover { background-color: var(--brand-plum); }

.modal-wrapper-right {
    position: fixed; inset: 0 0 0 auto; 
    width: 100%; max-width: 36rem;
    background-color: var(--brand-paper);
    border-left: 1px solid rgba(29, 53, 87, 0.2);
    padding: 1.5rem;
    overflow-y: auto;
    box-shadow: -10px 0 25px rgba(0,0,0,0.5);
    z-index: 10;
}

.modal-header-flex {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 1.5rem; padding-bottom: 1rem;
    border-bottom: 1px solid rgb(253, 254, 254);
}
.modal-header-flex h2, .modal-header-flex h3 {
    font-family: var(--font-serif); font-size: 1.5rem; color: var(--brand-plum);
}
.btn-close-large {
    color: rgba(226, 232, 240, 0.5); font-size: 1.125rem; transition: color 0.3s;
}
.btn-close-large:hover { color: var(--brand-plum); }

.panel-section-title {
    margin-bottom: 1.5rem; border-bottom: 1px solid rgb(246, 247, 247); padding-bottom: 0.5rem;
}
.panel-section-title span {
    font-size: 0.625rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; color: var(--brand-wine);
}

.admin-view { display: flex; flex-direction: column; gap: 1.5rem; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }

.section-label { font-size: 0.625rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(226, 232, 240, 0.6); }
.section-label-wine { font-size: 0.625rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--brand-wine); }

.btn-add {
    padding: 0.5rem 1rem; background-color: var(--brand-wine); color: white;
    font-size: 0.5625rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; border-radius: 2px; transition: 0.3s;
}
.btn-add:hover { background-color: var(--brand-plum); }

.btn-add-secondary {
    padding: 0.375rem 0.75rem; background-color: rgba(29, 53, 87, 0.2); color: var(--brand-plum);
    font-size: 0.5625rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; border-radius: 2px; transition: 0.3s;
}
.btn-add-secondary:hover { background-color: rgba(29, 53, 87, 0.4); }

.scroll-list { display: flex; flex-direction: column; gap: 0.75rem; max-height: 60vh; overflow-y: auto; padding-right: 0.5rem; }
.scroll-list-small { display: flex; flex-direction: column; gap: 0.5rem; max-height: 40vh; overflow-y: auto; }

.btn-back {
    font-size: 0.5625rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em;
    color: var(--brand-wine); margin-bottom: 1rem; text-align: left;
}
.btn-back:hover { color: var(--brand-plum); }

.form-card {
    background-color: var(--input-bg); padding: 1.5rem;
    border: 1px solid rgba(29, 53, 87, 0.4); border-radius: 2px; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    display: flex; flex-direction: column; gap: 1rem;
}
.books-section { padding-top: 1.5rem; border-top: 1px solid rgb(246, 247, 247); display: flex; flex-direction: column; gap: 1rem; }

.modal-wrapper-center {
    position: fixed; inset: 0; display: flex; align-items: center; justify-content: center; padding: 1rem;
}
.modal-box-xl {
    background-color: var(--brand-paper); border: 1px solid rgba(29, 53, 87, 0.2);
    width: 100%; max-width: 36rem; padding: 1.5rem; max-height: 90vh; overflow-y: auto;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5); border-radius: 2px; position: relative; z-index: 10;
}

.form-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.form-section-divider { border-top: 1px solid rgba(29, 53, 87, 0.2); padding-top: 1rem; margin-top: 0.5rem; }
.section-title { display: block; margin-bottom: 0.75rem; }

.checkbox-group { margin-bottom: 1rem; }
.checkbox-label { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: var(--brand-text); margin-bottom: 0.5rem; cursor: pointer; }
.checkbox-input { border-radius: 0.25rem; border-color: rgba(29, 53, 87, 0.3); color: var(--brand-wine); }

.admin-list-item {
    display: flex; align-items: center; justify-content: space-between; padding: 1rem;
    background-color: var(--input-bg); border: 1px solid rgba(29, 53, 87, 0.4); border-radius: 2px; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
}
.admin-list-info .tag { font-size: 0.625rem; color: var(--brand-gold); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; display: block; margin-bottom: 0.25rem; }
.admin-list-info h4 { color: var(--brand-plum); font-size: 1rem; font-weight: 700; font-family: var(--font-serif); }
.admin-list-actions { display: flex; gap: 0.5rem; }

.btn-edit { padding: 0.5rem 0.75rem; background-color: var(--brand-wine); color: white; font-size: 0.5625rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; border-radius: 2px; }
.btn-edit:hover { background-color: var(--brand-plum); }
.btn-delete { padding: 0.5rem 0.75rem; background-color: rgba(220, 38, 38, 0.2); color: #FCA5A5; font-size: 0.5625rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; border-radius: 2px; }
.btn-delete:hover { background-color: rgba(220, 38, 38, 0.4); }

.admin-list-item-small {
    display: flex; align-items: center; justify-content: space-between; padding: 0.75rem;
    background-color: var(--input-bg); border: 1px solid rgba(29, 53, 87, 0.4); border-radius: 2px;
}
.admin-list-item-small span { font-size: 0.75rem; font-weight: 600; color: var(--brand-plum); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 60%; }
.admin-list-item-small span .light { font-weight: 400; color: rgb(250, 251, 253); }
.btn-text-edit { color: var(--brand-gold); font-size: 0.625rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; }
.btn-text-edit:hover { color: var(--brand-plum); }
.btn-text-delete { color: #F87171; font-size: 0.625rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; }
.btn-text-delete:hover { color: #FCA5A5; }

/* CLASSES DINÂMICAS */
.hero-section { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 6rem 1rem; position: relative; z-index: 10; }
.hero-tag { font-size: 0.5625rem; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase; color: var(--brand-gold); margin-bottom: 1.5rem; }
.hero-title { font-family: var(--font-serif); font-size: clamp(2.25rem, 10vw, 3rem); color: var(--brand-plum); margin-bottom: 1.5rem; max-width: 56rem; line-height: 1.1; font-weight: 700; text-transform: uppercase; letter-spacing: -0.025em; }
.hero-subtitle-container { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; margin-bottom: 3rem; margin-top: 0.5rem; }
.hero-subtitle { font-family: var(--font-serif); font-size: 1.5rem; color: var(--brand-wine); font-style: italic; font-weight: 400; }
.hero-text { font-size: 0.625rem; color: rgb(250, 251, 253); text-transform: uppercase; letter-spacing: 0.2em; font-weight: 700; margin-top: 0.5rem; line-height: 1.6; }

.catalog-section { max-width: 80rem; margin: 0 auto; padding: 0 1.5rem 8rem; position: relative; z-index: 10; }
.edition-container { padding: 6rem 0 8rem; border-top: 1px solid rgb(246, 247, 247); position: relative; }
.edition-header { display: flex; flex-direction: column; align-items: center; text-align: center; margin-bottom: 5rem; }
.edition-num-container { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-bottom: 1.5rem; }
.edition-num { font-size: 0.6875rem; color: var(--brand-plum); letter-spacing: 0.3em; text-transform: uppercase; font-weight: 700; }
.edition-title-container { display: flex; flex-direction: column; align-items: center; width: 100%; line-height: 0.95; user-select: none; text-align: center; padding: 0 0.75rem; }
.edition-title { font-family: var(--font-serif); font-size: clamp(1.75rem, 8vw, 2.5rem); font-weight: 700; color: var(--brand-plum); text-transform: uppercase; letter-spacing: normal; word-break: break-word; max-width: 100%; }

.books-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; }
.empty-msg { color: rgba(212, 175, 55, 0.6); font-style: italic; font-family: var(--font-serif); font-size: 1.25rem; text-align: center; width: 100%; margin-top: 1rem; }

.book-details-section { max-width: 80rem; margin: 0 auto; padding: 3rem 1.5rem 5rem; }
.btn-back-link { font-size: 0.625rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--brand-wine); margin-bottom: 4rem; display: flex; align-items: center; gap: 0.5rem; transition: 0.3s; }
.btn-back-link:hover { color: var(--brand-plum); }

.book-details-layout { display: flex; flex-direction: column; gap: 3rem; align-items: center; }
.book-cover-wrapper { width: 100%; display: flex; justify-content: center; }
.book-cover-large { width: 100% !important; max-width: 320px !important; }

.book-info-wrapper { width: 100%; display: flex; flex-direction: column; gap: 2rem; }
.book-header-info { border-bottom: 1px solid rgb(246, 247, 247); padding-bottom: 1.5rem; text-align: center; }
.book-main-title { font-family: var(--font-serif); font-size: clamp(1.75rem, 7vw, 2.25rem); margin-bottom: 0.75rem; color: var(--brand-plum); line-height: 1.2; font-weight: 700; }
.book-author-text { font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 0.2em; color: rgb(250, 251, 253); margin-bottom: 0.5rem; }
.book-author-name { color: var(--brand-wine); font-weight: 600; }
.book-pages-text { font-size: 0.625rem; text-transform: uppercase; letter-spacing: 0.2em; color: var(--brand-gold); font-weight: 700; }

.book-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.btn-rainbow-link { display: inline-block; padding: 0.875rem 2.5rem; font-size: 0.625rem; text-transform: uppercase; letter-spacing: 0.2em; font-weight: 700; border-radius: 2px; text-align: center; }
.btn-physical-link { display: inline-block; padding: 0.875rem 2.5rem; background: linear-gradient(to right, #d97706, #eab308, #b45309); color: white; font-size: 0.625rem; text-transform: uppercase; letter-spacing: 0.2em; font-weight: 700; transition: 0.3s; box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); border-radius: 2px; text-align: center; }
.btn-physical-link:hover { opacity: 0.9; }
.btn-disabled-link { display: inline-block; padding: 0.875rem 2.5rem; background-color: rgba(29, 53, 87, 0.1); color: rgba(226, 232, 240, 0.5); font-size: 0.625rem; text-transform: uppercase; letter-spacing: 0.2em; font-weight: 700; text-align: center; border-radius: 2px; }

.synopsis-container { padding-top: 0.5rem; }
.synopsis-title { font-size: 0.5625rem; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase; color: var(--brand-gold); margin-bottom: 1rem; text-align: center; }
.synopsis-text { font-size: 0.875rem; line-height: 1.6; color: rgba(226, 232, 240, 0.9); font-weight: 300; max-width: 42rem; text-align: justify; }
.synopsis-dropcap { float: left; font-size: 3rem; color: var(--brand-wine); margin-right: 0.75rem; line-height: 1; margin-top: 0.25rem; font-family: var(--font-serif); }

.notes-container { padding-top: 0.5rem; background-color: rgba(29, 53, 87, 0.1); padding: 1rem; border-radius: 2px; border: 1px solid rgb(246, 247, 247); max-width: 42rem; margin-top: 1rem; }
.notes-title { font-size: 0.5625rem; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase; color: var(--brand-gold); margin-bottom: 0.25rem; }
.notes-text { font-size: 0.75rem; color: rgba(226, 232, 240, 0.8); font-weight: 300; }

/* BOTÃO ARCO-ÍRIS & LIVRO 3D */
.btn-rainbow {
    background: linear-gradient(90deg, #E53935, #FB8C00, #FDD835, #43A047, #1E88E5, #8E24AA);
    background-size: 300% 300%;
    animation: gradientFlow 4s ease infinite;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(139, 69, 104, 0.25);
    transition: transform 0.3s ease;
}
.btn-rainbow:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 69, 104, 0.4);
}
@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.book-container {
    cursor: pointer; display: flex; flex-direction: column; align-items: center;
    width: 40vw; 
}
.book-premium {
    width: 100%; aspect-ratio: 2/3; position: relative; background-color: var(--brand-wine);
    margin-bottom: 1rem;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    transform-style: preserve-3d;
    box-shadow: 8px 8px 20px rgba(94, 42, 70, 0.1), -1px 0 2px rgba(255,255,255,0.6);
    border-radius: 2px 5px 5px 2px;
}
.book-premium img {
    width: 100%; height: 100%; object-fit: cover; border-top-right-radius: 2px; border-bottom-right-radius: 2px;
}
.book-container:hover .book-premium {
    transform: translateY(-6px) rotateY(-4deg);
    box-shadow: 15px 15px 30px rgba(94, 42, 70, 0.15), -2px 0 4px rgba(255,255,255,0.8);
}
.book-spine-overlay {
    background: linear-gradient(to right, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0) 4%, rgba(0,0,0,0.05) 8%, rgba(0,0,0,0.1) 100%);
    mix-blend-mode: multiply;
    position: absolute; inset: 0; pointer-events: none;
}

.book-info { text-align: center; padding: 0 0.25rem; width: 100%; }
.book-title {
    font-family: var(--font-serif); font-size: 1.125rem; margin-bottom: 0.25rem;
    color: var(--brand-plum); transition: color 0.3s; line-height: 1.2;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.book-container:hover .book-title { color: var(--brand-wine); }
.book-author {
    font-size: 0.5625rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
    color: rgba(226, 232, 240, 0.6); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

@media (min-width: 640px) { /* sm */
    .logo-img { width: 2.5rem; height: 2.5rem; }
    .logo-text { font-size: 1.5rem; letter-spacing: 0.1em; }
    .form-grid { grid-template-columns: 1fr 1fr; }
    .book-container { width: 140px; }
    .book-title { font-size: 1.25rem; }
    .edition-title { font-size: 3.5rem; letter-spacing: 0.1em; }
    .modal-box-xl { padding: 2rem; }
    .book-main-title { font-size: 3rem; }
}

@media (min-width: 768px) { /* md */
    .desktop-nav { display: flex; }
    .mobile-nav { display: none; }
    .hero-title { font-size: 4.5rem; }
    .hero-subtitle { font-size: 1.875rem; }
    .hero-text { font-size: 0.75rem; }
    .hero-section { padding-top: 8rem; }
    .edition-title { font-size: 4.5rem; }
    .books-grid { gap: 2.5rem; }
    .book-container { width: 160px; }
    
    .book-details-layout { flex-direction: row; align-items: flex-start; }
    .book-cover-wrapper { width: 41.666%; justify-content: flex-end; }
    .book-info-wrapper { width: 58.333%; }
    .book-header-info, .synopsis-title, .book-actions { justify-content: flex-start; text-align: left; }
    .synopsis-text { text-align: left; font-size: 1rem; }
}

@media (min-width: 1024px) { /* lg */
    .header-content { padding: 0 3rem; }
    .hero-title { font-size: 6rem; }
    .edition-title { font-size: 5.5rem; }
    .books-grid { gap: 3.5rem; }
    
    .book-cover-wrapper { width: 33.333%; }
    .book-info-wrapper { width: 66.666%; }
    .book-details-layout { gap: 5rem; }
}

.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }