/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;
    --emerald-600: #059669;
    --emerald-700: #047857;
    --emerald-500: #10b981;
    --stone-50: #fafaf9;
    --stone-100: #f5f5f4;
    --stone-200: #e7e5e4;
    --stone-300: #d6d3d1;
    --stone-400: #a8a29e;
    --stone-500: #78716c;
    --stone-600: #57534e;
    --stone-700: #44403c;
    --stone-800: #292524;
    --stone-900: #1c1917;
}

body {
    font-family: var(--font-sans);
    color: var(--stone-800);
    background: linear-gradient(to bottom right, var(--stone-50), white, #fef3c7);
    line-height: 1.6;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container { padding: 0 1.5rem; }
}

@media (min-width: 1024px) {
    .container { padding: 0 2rem; }
}

/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(231, 229, 228, 0.5);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: inherit;
}

.logo-icon {
    width: 48px;
    height: 48px;
    background: var(--emerald-600);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 10px 15px -3px rgba(5, 150, 105, 0.2);
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--stone-800);
}

.nav-desktop {
    display: none;
    align-items: center;
    gap: 2rem;
}

@media (min-width: 768px) {
    .nav-desktop { display: flex; }
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--stone-600);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-link:hover, .nav-link.active {
    color: var(--emerald-700);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cart-btn {
    position: relative;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--stone-600);
    cursor: pointer;
    transition: background 0.2s;
}

.cart-btn:hover {
    background: #ecfdf5;
}

.cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--emerald-600);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: none;
    background: transparent;
    color: var(--stone-600);
    cursor: pointer;
}

@media (min-width: 768px) {
    .menu-btn { display: none; }
}

.mobile-menu {
    display: none;
    border-top: 1px solid var(--stone-200);
    background: white;
    padding: 1rem;
}

.mobile-menu.active {
    display: block;
}

.mobile-nav-link {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--stone-600);
    text-decoration: none;
    border-radius: 0.75rem;
    transition: all 0.2s;
}

.mobile-nav-link:hover {
    background: #ecfdf5;
    color: var(--emerald-700);
}

/* Hero Section */
.hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(to bottom right, #065f46, #047857, var(--stone-900));
}

.hero-background {
    position: absolute;
    inset: 0;
    opacity: 0.2;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
    position: relative;
    padding: 6rem 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr 1fr;
        padding: 8rem 0;
    }
}

.hero-text {
    text-align: center;
}

@media (min-width: 1024px) {
    .hero-text { text-align: left; }
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(16, 185, 129, 0.2);
    color: #6ee7b7;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.text-emerald {
    color: #34d399;
}

@media (min-width: 640px) {
    .hero-title { font-size: 3rem; }
}

@media (min-width: 1024px) {
    .hero-title { font-size: 3.75rem; }
}

.hero-description {
    font-size: 1.125rem;
    color: #d1d5db;
    margin-bottom: 2rem;
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 1024px) {
    .hero-description {
        margin-left: 0;
        margin-right: 0;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    font-weight: 600;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
    text-decoration: none;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--emerald-600);
    color: white;
    padding: 0.75rem 1.5rem;
}

.btn-primary:hover {
    background: var(--emerald-700);
}

.btn-large {
    height: 3.5rem;
    padding: 0 2rem;
    font-size: 1.125rem;
}

.btn-dark {
    background: var(--stone-800);
    color: white;
}

.btn-dark:hover {
    background: var(--stone-900);
}

.btn-block {
    width: 100%;
}

/* Book Grid */
.book-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    position: relative;
}

.book-item {
    background: white;
    border-radius: 1rem;
    padding: 0.75rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s;
}

.book-item:hover {
    transform: scale(1.05);
}

.book-item:nth-child(2), .book-item:nth-child(4) {
    margin-top: 2rem;
}

.book-item img {
    width: 100%;
    height: auto;
    border-radius: 0.75rem;
    aspect-ratio: 3/4;
    object-fit: cover;
}

@media (min-width: 1024px) {
    .hero-images { display: block; }
}

/* Features */
.features {
    padding: 4rem 0;
    background: white;
    border-bottom: 1px solid var(--stone-100);
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    border-radius: 1rem;
    background: var(--stone-50);
}

.feature-icon {
    width: 3.5rem;
    height: 3.5rem;
    background: #ecfdf5;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--emerald-600);
    flex-shrink: 0;
}

.feature-title {
    font-weight: 600;
    color: var(--stone-800);
    margin-bottom: 0.25rem;
}

.feature-desc {
    font-size: 0.875rem;
    color: var(--stone-500);
}

/* Featured Books */
.featured-books {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    color: var(--stone-800);
    margin-bottom: 1rem;
}

@media (min-width: 640px) {
    .section-title { font-size: 2.25rem; }
}

.section-description {
    color: var(--stone-600);
    max-width: 42rem;
    margin: 0 auto;
}

.books-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (min-width: 640px) {
    .books-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .books-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.book-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--stone-100);
    transition: all 0.5s;
    text-decoration: none;
    color: inherit;
    display: block;
}

.book-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.book-card-image {
    position: relative;
    aspect-ratio: 3/4;
    background: linear-gradient(to bottom right, var(--stone-100), var(--stone-200));
    overflow: hidden;
}

.book-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s;
}

.book-card:hover .book-card-image img {
    transform: scale(1.05);
}

.book-card-content {
    padding: 1.25rem;
}

.book-card-title {
    font-weight: 600;
    color: var(--stone-800);
    font-size: 1.125rem;
    line-height: 1.4;
    margin-bottom: 0.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.book-card:hover .book-card-title {
    color: var(--emerald-700);
}

.book-card-author {
    font-size: 0.875rem;
    color: var(--stone-500);
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.book-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.75rem;
    border-top: 1px solid var(--stone-100);
}

.book-card-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--emerald-700);
}

.text-center {
    text-align: center;
}

/* CTA */
.cta {
    padding: 5rem 0;
    background: linear-gradient(to bottom right, var(--stone-100), #fef3c7);
}

.cta-content {
    max-width: 56rem;
    margin: 0 auto;
    text-align: center;
}

.cta-icon {
    width: 4rem;
    height: 4rem;
    color: var(--emerald-600);
    margin: 0 auto 1.5rem;
}

.cta-title {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    color: var(--stone-800);
    margin-bottom: 1rem;
}

@media (min-width: 640px) {
    .cta-title { font-size: 2.25rem; }
}

.cta-description {
    font-size: 1.125rem;
    color: var(--stone-600);
    margin-bottom: 2rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
.footer {
    background: var(--stone-900);
    color: var(--stone-400);
    margin-top: 5rem;
    padding: 4rem 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

.footer-col-large {
    grid-column: 1 / -1;
}

@media (min-width: 768px) {
    .footer-col-large {
        grid-column: span 2;
    }
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo-text {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
}

.footer-description {
    color: var(--stone-500);
    line-height: 1.7;
    max-width: 28rem;
}

.footer-title {
    font-weight: 600;
    color: white;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    color: var(--stone-400);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #34d399;
}

.footer-bottom {
    border-top: 1px solid var(--stone-800);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.875rem;
}

/* Cart Drawer */
.cart-drawer {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 100;
}

.cart-drawer.active {
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

@media (min-width: 640px) {
    .cart-drawer.active {
        align-items: center;
    }
}

.cart-drawer-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.cart-drawer-content {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 32rem;
    background: var(--stone-50);
    display: flex;
    flex-direction: column;
    max-height: 90vh;
    border-radius: 1rem 1rem 0 0;
}

@media (min-width: 640px) {
    .cart-drawer-content {
        border-radius: 1rem;
        max-height: 80vh;
    }
}

.cart-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 1px solid var(--stone-200);
}

.cart-drawer-header h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--stone-800);
}

.cart-close {
    width: 2rem;
    height: 2rem;
    border: none;
    background: transparent;
    font-size: 1.5rem;
    color: var(--stone-500);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
}

.cart-drawer-footer {
    border-top: 1px solid var(--stone-200);
    padding: 1rem;
    margin-top: auto;
}

.cart-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.cart-total span:last-child {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--stone-800);
}

.cart-item {
    background: white;
    border-radius: 0.75rem;
    padding: 1rem;
    margin-bottom: 0.75rem;
    display: flex;
    gap: 1rem;
}

.cart-item-image {
    width: 4rem;
    height: 5rem;
    background: var(--stone-100);
    border-radius: 0.5rem;
    overflow: hidden;
    flex-shrink: 0;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-content {
    flex: 1;
    min-width: 0;
}

.cart-item-title {
    font-weight: 600;
    color: var(--stone-800);
    margin-bottom: 0.25rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cart-item-author {
    font-size: 0.875rem;
    color: var(--stone-500);
    margin-bottom: 0.25rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cart-item-price {
    color: var(--emerald-700);
    font-weight: 700;
    margin-top: 0.25rem;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--stone-100);
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quantity-btn {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    border: 1px solid var(--stone-200);
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.875rem;
}

.quantity-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.quantity-value {
    width: 2rem;
    text-align: center;
    font-weight: 600;
}

.remove-btn {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: #ef4444;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.remove-btn:hover {
    background: #fee2e2;
}

/* Search Bar */
.search-section {
    padding: 4rem 0;
    background: linear-gradient(to bottom right, var(--emerald-800), var(--stone-900));
}

.search-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.search-title {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

@media (min-width: 640px) {
    .search-title { font-size: 3rem; }
}

.search-subtitle {
    font-size: 1.125rem;
    color: #d1d5db;
    max-width: 42rem;
    margin: 0 auto;
}

.search-bar-container {
    position: relative;
    max-width: 42rem;
    margin: 0 auto;
}

.search-input-wrapper {
    position: relative;
}

.search-input {
    width: 100%;
    height: 3.5rem;
    padding-left: 3.5rem;
    padding-right: 8rem;
    font-size: 1.125rem;
    border-radius: 9999px;
    border: 2px solid var(--stone-200);
    background: white;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.search-input:focus {
    outline: none;
    border-color: var(--emerald-500);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.search-icon {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1.25rem;
    height: 1.25rem;
    color: var(--stone-400);
}

.search-btn {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    height: 2.5rem;
    padding: 0 1.5rem;
    border-radius: 9999px;
    background: var(--emerald-600);
    color: white;
    border: none;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}

.search-btn:hover {
    background: var(--emerald-700);
}

/* Loading */
.loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 5rem 0;
}

.spinner {
    width: 3rem;
    height: 3rem;
    border: 4px solid var(--emerald-600);
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 5rem 0;
    text-align: center;
}

.empty-icon {
    width: 5rem;
    height: 5rem;
    background: var(--stone-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--stone-400);
}

.empty-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--stone-800);
    margin-bottom: 0.5rem;
}

.empty-description {
    color: var(--stone-500);
    max-width: 28rem;
}

/* Book Detail Page */
.book-detail {
    padding: 2rem 0;
}

.breadcrumb {
    background: var(--stone-50);
    border-bottom: 1px solid var(--stone-200);
    padding: 1rem 0;
}

.breadcrumb-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--stone-600);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.breadcrumb-link:hover {
    color: var(--emerald-600);
}

.book-detail-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 2rem 0;
    align-items: start;
}

@media (min-width: 1024px) {
    .book-detail-content {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

.book-cover-container {
    position: sticky;
    top: 6rem;
    align-self: start;
    z-index: 10;
    height: fit-content;
}

.book-cover-wrapper {
    position: relative;
    max-width: 28rem;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .book-cover-wrapper {
        margin: 0;
    }
}

.book-cover-glow {
    position: absolute;
    inset: -1rem;
    background: linear-gradient(to bottom right, rgba(16, 185, 129, 0.2), rgba(245, 158, 11, 0.2));
    border-radius: 1.5rem;
    filter: blur(32px);
    z-index: -1;
}

.book-cover {
    position: relative;
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.book-cover-image {
    aspect-ratio: 3/4;
    border-radius: 0.75rem;
    overflow: hidden;
    background: var(--stone-100);
}

.book-cover-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.book-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.book-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.category-badge {
    background: #ecfdf5;
    color: var(--emerald-700);
    padding: 0.25rem 0.625rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
}

.book-title {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    color: var(--stone-800);
    margin-bottom: 1rem;
}

@media (min-width: 640px) {
    .book-title { font-size: 2.5rem; }
}

@media (min-width: 1024px) {
    .book-title { font-size: 3rem; }
}

.book-author {
    font-size: 1.25rem;
    color: var(--stone-600);
}

.book-author strong {
    color: var(--emerald-700);
    font-weight: 600;
}

.book-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.star {
    width: 1.25rem;
    height: 1.25rem;
    color: #fbbf24;
}

.star.empty {
    color: var(--stone-200);
}

.book-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    font-size: 0.875rem;
    color: var(--stone-500);
}

.book-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.divider {
    height: 1px;
    background: var(--stone-200);
    margin: 1.5rem 0;
}

.price-section {
    background: var(--stone-50);
    border-radius: 1rem;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.price-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.price-label {
    font-size: 0.875rem;
    color: var(--stone-500);
    margin-bottom: 0.25rem;
}

.price-value {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--emerald-700);
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    border-radius: 9999px;
    padding: 0.25rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.book-description {
    margin-top: 1.5rem;
}

.book-description h2 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--stone-800);
    margin-bottom: 1rem;
}

.book-description p {
    color: var(--stone-600);
    line-height: 1.7;
    margin-bottom: 1rem;
}

/* Cart Page */
.cart-page {
    padding: 2rem 0 5rem;
}

.cart-header {
    text-align: center;
    margin-bottom: 3rem;
}

.cart-title {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--stone-800);
    margin-bottom: 0.5rem;
}

.cart-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .cart-content {
        grid-template-columns: 2fr 1fr;
    }
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cart-item-large {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--stone-100);
    display: flex;
    gap: 1.5rem;
}

.cart-item-large-image {
    width: 6rem;
    height: 8rem;
    background: var(--stone-100);
    border-radius: 0.5rem;
    overflow: hidden;
    flex-shrink: 0;
}

.cart-item-large-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-large-content {
    flex: 1;
    min-width: 0;
}

.cart-item-large-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--stone-800);
    margin-bottom: 0.5rem;
}

.cart-item-large-title a {
    color: inherit;
    text-decoration: none;
}

.cart-item-large-title a:hover {
    color: var(--emerald-700);
}

.cart-summary {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--stone-100);
    height: fit-content;
    position: sticky;
    top: 6rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--stone-100);
}

.summary-row:last-of-type {
    border-bottom: none;
    font-size: 1.125rem;
    font-weight: 600;
}

.summary-total {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--stone-800);
}

.summary-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin: 1rem 0;
    padding: 1rem;
    background: var(--stone-50);
    border-radius: 0.5rem;
    font-size: 0.875rem;
    color: var(--stone-600);
}

.summary-info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

