/* Shared "modern" theme for storefront pages (product, home, results) */
:root {
    --book-bg-light: #f8fafc;
    --book-accent: #0f172a;
    --book-gold: #d97706;
    --book-emerald: #059669;
    --book-emerald-hover: #047857;
    --book-border: #e2e8f0;
}

body {
    background-color: #fcfdfd;
    color: #1e293b;
}

.c-hidden {
    display: none !important;
}

/* Page section shell used on home / results */
.c-shop-shell {
    background: #ffffff;
    border: 1px solid var(--book-border);
    border-radius: 20px;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.04);
    padding: 1rem;
}

@media (min-width: 992px) {
    .c-shop-shell {
        padding: 2rem 2.5rem;
    }
}

/* Store info card (home / results sidebar) */
.c-store-card {
    background: #ffffff;
    border: 1px solid var(--book-border);
    border-radius: 16px;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.04);
    padding: 1.5rem;
    height: 100%;
}

.c-store-card .c-store-title {
    color: var(--book-accent);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.c-store-card address {
    color: #475569;
    font-size: 0.9rem;
}

.c-store-card iframe {
    width: 100%;
    height: 180px;
    border-radius: 12px;
    border: 1px solid var(--book-border);
}

.c-store-call {
    font-weight: 700;
    color: var(--book-accent);
    text-decoration: none;
}

.c-store-call:hover {
    color: var(--book-gold);
}

.c-store-wa {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--book-emerald);
    color: #fff !important;
    font-weight: 600;
    padding: 0.6rem 1rem;
    border-radius: 10px;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.c-store-wa:hover {
    background: var(--book-emerald-hover);
    transform: translateY(-1px);
}

/* Book grid cards, shared across home / results / related books */
.c-book-card {
    border: 1px solid var(--book-border);
    border-radius: 14px;
    background: #fff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    overflow: hidden;
}

.c-book-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px -6px rgba(0, 0, 0, 0.08);
}

.c-book-card .img-container {
    height: 150px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
}

@media (min-width: 768px) {
    .c-book-card .img-container {
        height: 200px;
        padding: 1rem;
    }
}

.c-book-card img {
    max-height: 100%;
    width: auto;
    object-fit: contain;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
}

.c-book-card .card-body {
    padding: 0.9rem;
}

.c-book-card .c-book-title {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--book-accent);
    margin-bottom: 0.15rem;
}

.c-book-card .c-book-author {
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 0.5rem;
}

.c-book-card .c-book-price {
    font-weight: 800;
    color: var(--book-accent);
    font-size: 0.95rem;
}

/* Section headings */
.c-section-heading {
    font-weight: 800;
    letter-spacing: -0.01em;
    color: var(--book-accent);
    margin-bottom: 1.25rem;
}

.c-empty-state {
    background: var(--book-bg-light);
    border: 1px dashed var(--book-border);
    border-radius: 16px;
    padding: 3rem 1.5rem;
    text-align: center;
    color: #64748b;
}
