/* Reset & Variables */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary: #1e293b;
    --primary-light: #334155;
    --accent: #d97706;
    --accent-hover: #b45309;
    --bg-color: #f8fafc;
    --card-bg: #ffffff;
    --text-main: #334155;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    --success: #16a34a;
    --radius: 16px;
    --shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.08);
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif, system-ui;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.site-header {
    padding: 20px 0;
    text-align: center;
}

.badge-pill {
    display: inline-block;
    background-color: #fef3c7;
    color: #92400e;
    font-size: 13px;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 50px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

/* Main Hero Layout */
.main-content {
    padding: 10px 0 80px 0;
}

.hero-container {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 40px;
    align-items: start;
}

.book-column {
    position: static;
}

.book-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    text-align: center;
}

.image-wrapper {
    margin-bottom: 16px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    max-width: 220px;
    margin-left: auto;
    margin-right: auto;
}

.book-cover {
    width: 100%;
    height: auto;
    display: block;
}

.pricing-box {
    text-align: center;
}

.price-tag {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 6px;
}

.old-price {
    font-size: 18px;
    color: var(--text-muted);
    text-decoration: line-through;
    font-weight: 600;
}

.current-price {
    font-size: 30px;
    font-weight: 800;
    color: var(--primary);
}

.discount-badge {
    background-color: #dcfce7;
    color: var(--success);
    font-size: 11px;
    font-weight: 700;
    padding: 3px 6px;
    border-radius: 6px;
}

.format-note {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.btn-purchase {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background-color: var(--accent);
    color: white;
    font-size: 15px;
    font-weight: 700;
    padding: 14px 20px;
    border-radius: 12px;
    text-decoration: none;
    transition: background-color 0.2s, transform 0.1s, box-shadow 0.2s;
    box-shadow: 0 4px 14px rgba(217, 119, 6, 0.3);
}

.btn-purchase:hover {
    background-color: var(--accent-hover);
    box-shadow: 0 6px 20px rgba(217, 119, 6, 0.4);
}

.copy-column {
    background: var(--card-bg);
    padding: 48px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.main-title {
    font-size: 38px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.2;
    margin-bottom: 24px;
    font-family: 'Playfair Display', serif;
}

.main-title .accent {
    color: var(--accent);
}

.hero-quote {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-style: italic;
    color: var(--primary-light);
    border-left: 4px solid var(--accent);
    padding-left: 20px;
    margin-bottom: 30px;
    line-height: 1.6;
}

.prose p {
    font-size: 16px;
    color: var(--text-main);
    margin-bottom: 20px;
}

.prose p.lead {
    font-size: 18px;
    font-weight: 500;
    color: var(--primary);
}

.callout-box {
    background-color: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 12px;
    padding: 20px 24px;
    margin-top: 30px;
}

.callout-box p {
    margin-bottom: 0;
    font-weight: 600;
    color: #92400e;
}

.bottom-cta-wrapper {
    margin-top: 30px;
    text-align: center;
}

.price-inline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.site-footer {
    text-align: center;
    padding: 40px 0;
    color: var(--text-muted);
    font-size: 14px;
    border-top: 1px solid var(--border-color);
    margin-top: 40px;
}

/* Store Index Styles */
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-weight: 800;
    font-size: 18px;
    color: var(--primary);
    text-decoration: none;
}

.store-hero {
    text-align: center;
    max-width: 700px;
    margin: 20px auto 50px auto;
}

.store-title {
    font-size: 42px;
    font-weight: 800;
    color: var(--primary);
    font-family: 'Playfair Display', serif;
    margin-bottom: 16px;
    line-height: 1.2;
}

.store-title .accent {
    color: var(--accent);
}

.store-subtitle {
    font-size: 17px;
    color: var(--text-muted);
    line-height: 1.6;
}

.books-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.book-store-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.book-store-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.card-image-wrapper {
    display: block;
    max-width: 240px;
    margin: 0 auto 24px auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    transition: transform 0.2s ease;
}

.card-image-wrapper:hover {
    transform: scale(1.02);
}

.store-book-cover {
    width: 100%;
    height: auto;
    display: block;
}

.book-card-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
    font-family: 'Playfair Display', serif;
}

.book-card-desc {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.6;
}

.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    margin-top: auto;
}

.price-block {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-shop {
    background-color: var(--accent);
    color: white;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 15px;
    transition: background-color 0.2s;
}

.btn-shop:hover {
    background-color: var(--accent-hover);
}

@media (max-width: 768px) {
    .books-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .book-store-card {
        padding: 16px;
    }
    
    .store-title {
        font-size: 28px;
    }
    
    .book-card-title {
        font-size: 16px;
    }
    
    .book-card-desc {
        font-size: 13px;
        margin-bottom: 16px;
    }

    .current-price {
        font-size: 20px;
    }

    .old-price {
        font-size: 14px;
    }

    .btn-shop {
        padding: 8px 12px;
        font-size: 13px;
    }
}