/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Crimson Text', serif;
    line-height: 1.6;
    color: #2c3e50;
    background-color: #faf8f5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }

/* Navigation */
.navbar {
    background: linear-gradient(135deg, #8b4513 0%, #a0522d 100%);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
    gap: 1.5rem;
}

.nav-actions {
    display: none !important;
    align-items: center;
    gap: 0;
    flex-shrink: 0;
}

.nav-action-btn,
.nav-action-btn:link,
.nav-action-btn:visited {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    min-height: 44px;
    min-width: 44px;
    padding: 0.45rem 0.75rem;
    border-radius: 0;
    background: transparent;
    border: none;
    color: #f4f1eb;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    line-height: 1;
    -webkit-tap-highlight-color: transparent;
    transition: background 0.2s ease, color 0.2s ease;
}

.nav-action-btn:hover,
.nav-action-btn:focus-visible,
.nav-action-btn.active {
    background: rgba(212, 175, 55, 0.2);
    color: #fff;
    outline: none;
}

.nav-action-btn i {
    font-size: 0.95rem;
    color: #d4af37;
}

.nav-action-cart {
    position: relative;
    padding-right: 0.65rem;
}

.nav-action-cart .cart-count {
    top: 4px;
    right: 0;
}

.nav-actions[hidden],
.hamburger[hidden] {
    display: none !important;
}

.nav-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    top: 72px;
    background: rgba(44, 62, 80, 0.45);
    z-index: 999;
}

.nav-backdrop.active {
    display: block;
}

body.nav-open {
    overflow: hidden;
}

.nav-logo {
    flex-shrink: 0;
}

.nav-logo h1 {
    color: #f4f1eb;
    font-size: 1.45rem;
    margin: 0;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}

.nav-logo .tagline {
    color: #d4af37;
    font-size: 1.45rem;
    font-style: italic;
    display: inline;
    margin-left: 0.25rem;
    font-weight: 400;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 0.35rem 1.1rem;
    margin-left: auto;
    flex-wrap: nowrap;
}

.nav-link {
    color: #f4f1eb;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.98rem;
    letter-spacing: 0.01em;
    transition: color 0.3s ease;
    position: relative;
    white-space: nowrap;
    padding: 0.35rem 0.15rem;
}

.nav-link:hover {
    color: #d4af37;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #d4af37;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    min-width: 44px;
    min-height: 44px;
    padding: 8px;
    border-radius: 10px;
    border: 1px solid rgba(244, 241, 235, 0.35);
    background: rgba(244, 241, 235, 0.1);
    flex-shrink: 0;
}

.hamburger.active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #f4f1eb;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f4f1eb 0%, #e8dcc0 100%);
    padding: 120px 0 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    width: 100%;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23d4af37" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    max-width: 800px;
    z-index: 2;
    position: relative;
    text-align: center;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #5a6c7d;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1.1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #8b4513 0%, #a0522d 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(139, 69, 19, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 69, 19, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #8b4513;
    border-color: #8b4513;
}

.btn-secondary:hover {
    background: #8b4513;
    color: white;
    transform: translateY(-2px);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    position: relative;
}

.book-stack {
    position: relative;
    width: 200px;
    height: 300px;
}

.book {
    position: absolute;
    width: 120px;
    height: 180px;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    transform-origin: bottom center;
}

.book-1 {
    background: linear-gradient(135deg, #8b4513 0%, #a0522d 100%);
    transform: rotate(-15deg) translateX(-20px);
    z-index: 1;
}

.book-2 {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    transform: rotate(0deg);
    z-index: 2;
}

.book-3 {
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
    transform: rotate(15deg) translateX(20px);
    z-index: 1;
}

/* Sections */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #8b4513 0%, #d4af37 100%);
    border-radius: 2px;
}

/* About Section */
.about-section {
    background: linear-gradient(180deg, #faf7f0 0%, #f3ebe0 100%);
}

.about-content {
    display: block;
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}

.about-text h2 {
    color: #2c3e50;
    margin-bottom: 1.25rem;
    text-align: center;
}

.about-text {
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

.about-text p {
    font-size: 1.1rem;
    color: #5a6c7d;
    margin-bottom: 1.25rem;
    line-height: 1.75;
}

.about-values {
    font-size: 1.15rem;
    color: #2c3e50;
}

.about-closing {
    font-style: italic;
    color: #2c3e50;
}

.about-byline {
    text-align: right;
    font-weight: 600;
    color: #8b4513;
    margin-bottom: 2.5rem;
}

.about-story-row {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 2.5rem;
    align-items: center;
    margin: 3rem 0;
}

.about-story-row-reverse .about-photo {
    order: 2;
}

.about-story-row-reverse .about-story-text {
    order: 1;
}

.about-story-text h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.about-story-text p {
    font-size: 1.05rem;
    color: #5a6c7d;
    line-height: 1.75;
    margin-bottom: 1rem;
}

.about-photo {
    margin: 0;
}

.about-photo img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(44, 62, 80, 0.12);
}

.about-photo figcaption {
    margin-top: 0.65rem;
    font-size: 0.92rem;
    line-height: 1.45;
    color: #5a6c7d;
    text-align: center;
}

.about-shop-cta {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(139, 69, 19, 0.15);
    text-align: center;
}

.about-shop-cta .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.feature i {
    font-size: 2.5rem;
    color: #8b4513;
    margin-bottom: 1rem;
}

.feature h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.feature p {
    color: #5a6c7d;
    font-size: 0.95rem;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #f4f1eb 0%, #e8dcc0 100%);
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 2px dashed #d4af37;
    color: #8b4513;
}

.image-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.7;
}

.image-placeholder p {
    font-size: 1.2rem;
    font-weight: 500;
}

/* Books Section */
.books-section {
    background: linear-gradient(135deg, #f8f6f0 0%, #f4f1eb 100%);
}

.book-categories {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.category-btn {
    padding: 12px 24px;
    border: 2px solid #8b4513;
    background: transparent;
    color: #8b4513;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.category-btn:hover,
.category-btn.active {
    background: #8b4513;
    color: white;
    transform: translateY(-2px);
}

.books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.book-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.book-card:hover {
    transform: translateY(-5px);
}

.book-cover {
    height: 300px;
    width: 100%;
    background: linear-gradient(135deg, #8b4513 0%, #a0522d 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    object-fit: cover;
}

.book-cover-image {
    width: 100%;
    height: 300px;
    object-fit: contain;
    border-radius: 0;
    display: block;
    background-color: #f8f6f0;
}

.book-info {
    padding: 1.5rem;
}

.book-title {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.book-author {
    color: #8b4513;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.book-price {
    font-size: 1.2rem;
    color: #2c3e50;
    font-weight: 600;
}

/* Events Section */
.events-section {
    background: white;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.event-card {
    display: flex;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.event-date {
    background: linear-gradient(135deg, #8b4513 0%, #a0522d 100%);
    color: white;
    padding: 1.5rem;
    text-align: center;
    min-width: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.event-date .month {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
}

.event-date .day {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.event-details {
    padding: 1.5rem;
    flex: 1;
}

.event-details h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.event-time {
    color: #8b4513;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.event-description {
    color: #5a6c7d;
    line-height: 1.5;
}

/* Chicago Conference Card */
.chicago-card {
    flex-direction: column;
    text-align: center;
}

.chicago-image,
.event-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 15px 15px 0 0;
}

.chicago-image img,
.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.chicago-card:hover .chicago-image img,
.event-card-featured:hover .event-image img {
    transform: scale(1.05);
}

.event-card-featured {
    flex-direction: column;
}

.event-venue {
    color: #8b4513;
    font-weight: 600;
    margin-top: 0.75rem;
    font-size: 0.95rem;
}

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, #f8f6f0 0%, #f4f1eb 100%);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: #8b4513;
    margin-top: 0.5rem;
}

.contact-item h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.contact-item p {
    color: #5a6c7d;
    line-height: 1.5;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.contact-form h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e8dcc0;
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #8b4513;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: #2c3e50;
    color: #f4f1eb;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: #d4af37;
    margin-bottom: 1rem;
}

.footer-section p {
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #f4f1eb;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #d4af37;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 12px;
    border: 2px solid #5a6c7d;
    border-radius: 25px;
    background: transparent;
    color: #f4f1eb;
    font-family: inherit;
}

.newsletter-form input::placeholder {
    color: #a0a0a0;
}

.newsletter-form button {
    padding: 12px 24px;
    background: #8b4513;
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s ease;
}

.newsletter-form button:hover {
    background: #d4af37;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #5a6c7d;
    color: #a0a0a0;
}

/* Responsive Design */

/* Desktop: original horizontal nav only — no mobile shop/cart toolbar */
@media (min-width: 1101px) {
    .nav-actions {
        display: none !important;
    }

    .hamburger {
        display: none !important;
    }

    .nav-menu .nav-item-shop,
    .nav-menu .nav-item-cart {
        display: list-item;
    }

    .nav-backdrop {
        display: none !important;
    }
}

@media (max-width: 1100px) {
    .nav-logo h1 {
        font-size: 1.15rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 42vw;
    }

    .nav-logo .tagline {
        display: none;
    }

    .nav-actions {
        display: flex !important;
        margin-left: auto;
        margin-right: 0.35rem;
        padding: 3px;
        border-radius: 12px;
        background: rgba(0, 0, 0, 0.14);
        border: 1px solid rgba(244, 241, 235, 0.22);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
    }

    .nav-action-btn {
        border-radius: 9px;
        padding: 0.5rem 0.65rem;
    }

    .nav-action-cart {
        border-left: 1px solid rgba(244, 241, 235, 0.18);
        margin-left: 2px;
        padding-left: 0.75rem;
    }

    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: 0;
        top: 72px;
        flex-direction: column;
        background: linear-gradient(180deg, #8b4513 0%, #7a3d10 100%);
        width: 100%;
        max-height: calc(100dvh - 72px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        text-align: left;
        transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
        transform: translateY(-8px);
        opacity: 0;
        visibility: hidden;
        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
        padding: 0.75rem 0 1.5rem;
        gap: 0;
        margin-left: 0;
        z-index: 1001;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-menu li {
        margin: 0;
        width: 100%;
    }

    .nav-menu .nav-item-shop,
    .nav-menu .nav-item-cart {
        display: none;
    }

    .nav-menu .nav-link {
        display: block;
        padding: 1rem 1.25rem;
        font-size: 1.05rem;
        border-bottom: 1px solid rgba(244, 241, 235, 0.12);
    }

    .nav-menu .nav-link::after {
        display: none;
    }

    .nav-menu .nav-link:active {
        background: rgba(212, 175, 55, 0.15);
    }

    .nav-menu .nav-item-shop .nav-link {
        background: transparent;
        color: #f4f1eb;
        border-radius: 0;
        padding: 1rem 1.25rem;
        font-weight: 500;
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 100px 20px 60px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-story-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .about-story-row-reverse .about-photo {
        order: 0;
    }

    .about-story-row-reverse .about-story-text {
        order: 1;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .book-categories {
        justify-content: center;
    }
    
    .category-btn {
        font-size: 0.9rem;
        padding: 10px 20px;
    }
}

@media (max-width: 768px) {
    .nav-logo h1 {
        font-size: 1.15rem;
        max-width: 42vw;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 12px;
        gap: 0.35rem;
    }

    .nav-logo h1 {
        max-width: 36vw;
        font-size: 0.95rem;
    }

    .nav-action-btn {
        padding: 0.45rem 0.5rem;
        font-size: 0.78rem;
        min-width: 38px;
    }

    .nav-action-btn i {
        font-size: 0.9rem;
    }

    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .shop-bundle-card-title {
        font-size: 2rem;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
}

/* Book Detail Pages */
.book-detail-section {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f4f1eb 0%, #e8dcc0 100%);
    min-height: 100vh;
}

.book-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.book-cover-section {
    display: flex;
    justify-content: center;
    align-items: center;
}

.book-cover-large {
    max-width: 400px;
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    object-fit: contain;
    background-color: #f8f6f0;
}

.book-cover-placeholder {
    width: 400px;
    height: 500px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.placeholder-letter {
    font-size: 8rem;
    font-weight: 700;
    color: white;
    font-family: 'Playfair Display', serif;
}

.book-info-section {
    padding: 2rem 0;
}

.book-title-large {
    font-size: 3rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.book-author-large {
    font-size: 1.5rem;
    color: #8b4513;
    margin-bottom: 2rem;
    font-weight: 500;
}

.book-description {
    margin-bottom: 2rem;
}

.book-description h3 {
    color: #2c3e50;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
}

.book-description p {
    color: #5a6c7d;
    line-height: 1.7;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.description-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.book-actions {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 320px;
}

.book-actions .shop-book-price {
    margin-bottom: 0;
}

.book-actions .shop-book-actions .btn {
    width: 100%;
    justify-content: center;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.book-nav-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.book-nav-actions .btn {
    flex: 1 1 auto;
    text-align: center;
    justify-content: center;
}

/* Friends Section */
.friends-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 4rem 0;
}

.friends-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.friend-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.friend-card:hover {
    transform: translateY(-5px);
}

.friend-image {
    height: 300px;
    width: 100%;
    background: linear-gradient(135deg, #8b4513 0%, #a0522d 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.friend-image-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.friend-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #8b4513 0%, #a0522d 100%);
}

.placeholder-letter {
    font-size: 4rem;
    color: white;
    font-weight: bold;
    font-family: 'Playfair Display', serif;
}

.friend-info {
    padding: 1.5rem;
}

.friend-name {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.friend-description {
    color: #5a6c7d;
    line-height: 1.6;
    font-size: 1rem;
}

/* Coloring Section */
.coloring-section {
    background: linear-gradient(135deg, #f0f8ff 0%, #e6f3ff 100%);
    padding: 4rem 0;
}

.coloring-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.coloring-preview {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.pdf-preview-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.pdf-preview-container .coloring-pdf-frame {
    width: 100%;
    height: min(75vh, 900px);
    min-height: 480px;
    border: 0;
    display: block;
}

.coloring-actions {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    text-align: center;
}

.coloring-actions h3 {
    color: #2c3e50;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.coloring-actions p {
    color: #5a6c7d;
    line-height: 1.6;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.coloring-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.coloring-buttons .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.coloring-buttons .btn i {
    font-size: 1.2rem;
}

/* Responsive coloring section */
@media (max-width: 768px) {
    .coloring-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .coloring-preview {
        display: none;
    }
    
    .coloring-buttons {
        flex-direction: column;
    }
}

/* Responsive book detail pages */
@media (max-width: 768px) {
    .book-detail-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .book-cover-large {
        max-width: 300px;
    }
    
    .book-cover-placeholder {
        width: 300px;
        height: 400px;
    }
    
    .placeholder-letter {
        font-size: 6rem;
    }
    
    .book-title-large {
        font-size: 2.5rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.6s ease-out;
}

/* ==================== */
/* Shop Page Styles     */
/* ==================== */

.shop-hero {
    background: linear-gradient(135deg, #f4f1eb 0%, #e8dcc0 100%);
    padding: 140px 0 60px;
    text-align: center;
}

.shop-hero h1 {
    font-size: 3rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.shop-hero p {
    font-size: 1.2rem;
    color: #5a6c7d;
}

/* Series Bundle Section */
.series-bundle-section {
    background: white;
    padding: 60px 0;
}

/* Full-series bundle cards (title → badges → covers → actions → price) */
.shop-bundle-card {
    background: white;
}

.shop-bundle-info {
    display: flex;
    flex-direction: column;
}

/* Matches "Complete series sets" heading (global h2: 2.5rem); cards use h3 for outline */
.shop-bundle-card-title {
    font-size: 2.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.bundle-badges-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
    justify-content: center;
}

.bundle-badge {
    display: inline-block;
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
    color: #2c3e50;
    padding: 0.45rem 1.1rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 0;
}

.bundle-badge--collector {
    background: linear-gradient(135deg, #c9a227 0%, #e8c547 100%);
}

.bundle-badge--value {
    background: linear-gradient(135deg, #2e7d32 0%, #4caf50 100%);
    color: #fff;
}

.bundle-cover-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
    margin: 0 0 1.25rem;
    padding: 0.65rem;
    background: #f8f6f0;
    border-radius: 12px;
}

.bundle-cover-thumb {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12);
    background: #fff;
    transition: transform 0.25s ease;
}

.bundle-cover-thumb:hover {
    transform: scale(1.03);
}

/* Quantity Selector */
.quantity-selector {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid #e8dcc0;
}

.qty-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: #f4f1eb;
    color: #2c3e50;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.qty-btn:hover {
    background: #e8dcc0;
}

.qty-input {
    width: 50px;
    height: 40px;
    border: none;
    text-align: center;
    font-size: 1rem;
    font-family: inherit;
    -moz-appearance: textfield;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Shop Books Grid */
.shop-books-section {
    background: linear-gradient(135deg, #f8f6f0 0%, #f4f1eb 100%);
}

.section-subtitle {
    text-align: center;
    color: #5a6c7d;
    font-size: 1.1rem;
    margin-top: -1.5rem;
    margin-bottom: 2rem;
}

.shop-books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.shop-book-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.shop-book-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.shop-book-card--link {
    cursor: pointer;
}

.shop-book-card--link:focus-visible {
    outline: 3px solid #d4af37;
    outline-offset: 3px;
}

.sale-ribbon {
    position: absolute;
    top: 18px;
    left: -36px;
    z-index: 2;
    width: 140px;
    padding: 0.4rem 0;
    background: linear-gradient(135deg, #c62828 0%, #e53935 100%);
    color: #fff;
    font-family: 'Playfair Display', serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-align: center;
    text-transform: uppercase;
    transform: rotate(-45deg);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    pointer-events: none;
}

.shop-book-image {
    height: 280px;
    overflow: hidden;
    background: #f8f6f0;
}

.shop-book-image a {
    display: block;
    height: 100%;
    transition: opacity 0.2s ease;
}

.shop-book-image a:hover {
    opacity: 0.9;
}

.shop-book-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.shop-book-title-link {
    color: inherit;
    text-decoration: none;
}

.shop-book-title-link:hover {
    color: #8b4513;
    text-decoration: underline;
}

.shop-book-info {
    padding: 1.5rem;
}

.shop-book-info h3 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 0.3rem;
}

.book-number {
    color: #8b4513;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.shop-book-description {
    color: #5a6c7d;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.shop-book-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #8b4513;
    margin-bottom: 1rem;
}

.shop-bundle-info .shop-book-actions + .shop-book-price {
    margin-bottom: 0;
    margin-top: 0.75rem;
    text-align: center;
}

.shop-book-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.shop-book-actions .quantity-selector {
    align-self: flex-start;
}

.shop-book-actions .btn {
    width: 100%;
    justify-content: center;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Cart CTA */
.cart-cta-section {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1rem 0;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
}

.cart-cta-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.cart-cta-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #2c3e50;
    font-weight: 500;
}

.cart-cta-info i {
    font-size: 1.5rem;
    color: #8b4513;
}

/* Cart Notification */
.cart-notification {
    position: fixed;
    top: 90px;
    right: 20px;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 1001;
    transform: translateX(120%);
    transition: transform 0.3s ease;
}

.cart-notification.show {
    transform: translateX(0);
}

.cart-notification i {
    color: #28a745;
    font-size: 1.3rem;
}

.notification-link {
    color: #8b4513;
    font-weight: 600;
    margin-left: 0.5rem;
}

/* Cart Icon Badge */
.cart-link {
    position: relative;
    display: flex;
    align-items: center;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #d4af37;
    color: #2c3e50;
    font-size: 0.7rem;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s ease;
}

.cart-count.has-items {
    opacity: 1;
    transform: scale(1);
}

/* ==================== */
/* Cart Page Styles     */
/* ==================== */

.cart-section {
    padding: 120px 0 80px;
    min-height: 100vh;
    background: linear-gradient(135deg, #f4f1eb 0%, #e8dcc0 100%);
}

.cart-title {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.cart-title i {
    color: #8b4513;
}

/* Empty Cart */
.empty-cart {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.empty-cart i {
    font-size: 5rem;
    color: #d4af37;
    margin-bottom: 1.5rem;
    opacity: 0.7;
}

.empty-cart h2 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.empty-cart p {
    color: #5a6c7d;
    margin-bottom: 1.5rem;
}

/* Cart Content */
.cart-content {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 2rem;
    align-items: start;
}

.cart-items {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.cart-item {
    display: grid;
    grid-template-columns: 80px 1fr auto auto auto;
    gap: 1rem;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-image {
    width: 80px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    background: #f8f6f0;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cart-item-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #8b4513 0%, #a0522d 100%);
    color: white;
    font-size: 2rem;
}

.cart-item-details {
    flex: 1;
    min-width: 0;
}

.cart-item-name {
    font-size: 1.1rem;
    color: #2c3e50;
    margin-bottom: 0.25rem;
    word-break: break-word;
}

.cart-item-price {
    color: #5a6c7d;
    font-size: 0.9rem;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
}

.cart-item-quantity .qty-btn {
    width: 32px;
    height: 32px;
    font-size: 1rem;
}

.cart-item-quantity .qty-input {
    width: 40px;
    height: 32px;
    font-size: 0.9rem;
}

.cart-item-total {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    min-width: 80px;
    text-align: right;
}

.cart-item-remove {
    background: none;
    border: none;
    color: #dc3545;
    cursor: pointer;
    padding: 0.5rem;
    font-size: 1rem;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.cart-item-remove:hover {
    opacity: 1;
}

/* Cart Summary */
.cart-summary {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    position: sticky;
    top: 100px;
}

.cart-summary h3 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f0f0f0;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 1rem;
    color: #5a6c7d;
}

.summary-row > span:last-child {
    text-align: right;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.summary-shipping-note {
    margin: -0.45rem 0 0.35rem;
    font-size: 0.85rem;
    line-height: 1.4;
    color: #8a96a3;
}

.summary-usa-note {
    margin: 0 0 1rem;
    font-size: 0.85rem;
    line-height: 1.4;
    color: #8a96a3;
}

.summary-row.total {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 2px solid #f0f0f0;
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c3e50;
}

.checkout-btn {
    width: 100%;
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.continue-shopping {
    display: block;
    text-align: center;
    margin-top: 1rem;
    color: #8b4513;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.continue-shopping:hover {
    color: #6d3610;
}

/* ==================== */
/* Checkout Page Styles */
/* ==================== */

.checkout-section {
    padding: 120px 0 80px;
    min-height: 100vh;
    background: linear-gradient(135deg, #f4f1eb 0%, #e8dcc0 100%);
}

.checkout-coming-soon {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.coming-soon-icon {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #8b4513 0%, #a0522d 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
}

.coming-soon-icon i {
    font-size: 3.5rem;
    color: white;
}

.checkout-coming-soon h1 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.coming-soon-subtitle {
    font-size: 1.2rem;
    color: #5a6c7d;
    margin-bottom: 2rem;
}

.checkout-info-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    text-align: left;
}

.checkout-info-card h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f0f0f0;
}

.checkout-info-card h3 i {
    color: #8b4513;
}

.checkout-items {
    margin-bottom: 1rem;
}

.checkout-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    color: #5a6c7d;
}

.checkout-item-name {
    flex: 1;
}

.checkout-item-qty {
    margin: 0 1rem;
    color: #999;
}

.checkout-item-price {
    font-weight: 600;
    color: #2c3e50;
}

.checkout-total {
    display: flex;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 2px solid #f0f0f0;
    font-size: 1.2rem;
    font-weight: 700;
    color: #2c3e50;
}

.no-items {
    color: #5a6c7d;
    text-align: center;
    padding: 1rem;
}

.checkout-alternatives {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.checkout-alternatives h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.alternative-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.alternative-option {
    text-align: center;
    padding: 1.5rem 1rem;
    background: #f8f6f0;
    border-radius: 10px;
}

.alternative-option i {
    font-size: 2rem;
    color: #8b4513;
    margin-bottom: 0.75rem;
}

.alternative-option h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.alternative-option p {
    color: #5a6c7d;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.alternative-option a {
    color: #8b4513;
    font-weight: 600;
    text-decoration: none;
}

.alternative-option a[href^="tel:"] {
    white-space: nowrap;
}

.alternative-option a[href^="mailto:"] {
    word-break: break-word;
}

.alternative-option a:hover {
    text-decoration: underline;
}

.checkout-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.checkout-actions .btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Responsive Styles for Shop/Cart/Checkout */
@media (max-width: 992px) {
    .cart-content {
        grid-template-columns: 1fr;
    }
    
    .cart-summary {
        position: static;
    }
}

@media (max-width: 768px) {
    .shop-hero h1 {
        font-size: 2.5rem;
    }
    
    .cart-item {
        grid-template-columns: 72px minmax(0, 1fr) auto;
        grid-template-areas:
            "image details remove"
            "image quantity quantity"
            "image total total";
        align-items: start;
        gap: 0.6rem 0.75rem;
        position: relative;
    }

    .cart-item-image {
        grid-area: image;
        width: 72px;
        height: 96px;
    }

    .cart-item-details {
        grid-area: details;
    }

    .cart-item-remove {
        grid-area: remove;
        position: static;
        justify-self: end;
        align-self: start;
        padding: 0.25rem;
    }

    .cart-item-quantity {
        grid-area: quantity;
        justify-self: start;
        margin-top: 0.15rem;
    }

    .cart-item-total {
        grid-area: total;
        justify-self: start;
        text-align: left;
        margin-top: 0.2rem;
        min-width: 0;
    }
    
    .alternative-options {
        grid-template-columns: 1fr;
    }
    
    .cart-notification {
        right: 10px;
        left: 10px;
        top: 80px;
    }
}

@media (max-width: 480px) {
    .shop-hero h1 {
        font-size: 2rem;
    }
    
    .cart-item {
        grid-template-columns: 64px minmax(0, 1fr) auto;
    }

    .cart-item-image {
        width: 64px;
        height: 86px;
    }

    .cart-item-name {
        font-size: 1rem;
    }

    .cart-item-price {
        font-size: 0.85rem;
    }

    .checkout-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .checkout-actions .btn {
        width: 100%;
    }
}

.bundles-two-up {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}

.bundles-two-up .shop-bundle-card {
    margin: 0;
}

.checkout-live-inner {
    max-width: 1100px;
    margin: 0 auto;
    text-align: left;
}

.checkout-live-header h1 {
    color: #2c3e50;
    margin-bottom: 0.35rem;
}

.checkout-lead {
    color: #5a6c7d;
    font-size: 1.05rem;
    margin-bottom: 0;
}

.checkout-error-banner {
    background: #fff3f0;
    color: #8b2b1a;
    padding: 1rem 1.25rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    border: 1px solid #f5c4b8;
}

.checkout-layout-split {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) minmax(320px, 1fr);
    gap: 2rem;
    align-items: flex-start;
    margin-top: 1.25rem;
}

.checkout-summary-pane {
    margin-bottom: 0;
}

.embedded-checkout-mount {
    min-height: 480px;
    background: #faf8f4;
    border-radius: 15px;
    box-shadow: inset 0 0 0 1px rgba(139, 69, 19, 0.12);
    padding: 0.75rem;
}

.checkout-embed-loading {
    padding: 2rem;
    text-align: center;
    color: #5a6c7d;
}

.checkout-help-foot {
    margin-top: 2rem;
}

.cart-stripe-warn,
.checkout-stripe-warn {
    font-size: 0.875rem;
    color: #c45c34;
    margin-top: 0.5rem;
}

.checkout-stripe-warn i {
    margin-right: 0.35rem;
}

.checkout-complete-pane {
    max-width: 640px;
}

@media (max-width: 960px) {
    .checkout-layout-split {
        grid-template-columns: 1fr;
    }
}

/* ==================== */
/* Conversion Revamp    */
/* ==================== */

/* Navbar: prominent Shop pill on desktop */
.nav-menu .nav-item-shop {
    margin-left: 0.35rem;
}

.nav-menu .nav-item-shop .nav-link {
    background: #d4af37;
    color: #2c3e50;
    padding: 0.45rem 1.05rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: background 0.2s ease, transform 0.2s ease;
}

.nav-menu .nav-item-shop .nav-link:hover {
    background: #f4d03f;
    color: #2c3e50;
    transform: translateY(-1px);
}

.nav-menu .nav-item-shop .nav-link::after {
    display: none;
}

.nav-menu .nav-item-cart {
    margin-left: 0.15rem;
}

/* Hero badges and CTA row */
.hero-badges {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
    margin: 0 0 2.25rem;
    padding: 0;
}

.hero-badges li {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(139, 69, 19, 0.18);
    color: #2c3e50;
    border-radius: 50px;
    padding: 0.5rem 1rem;
    font-size: 0.95rem;
    font-weight: 600;
}

.hero-badges li i {
    color: #8b4513;
}

.hero-buttons .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* Reading facts strip (home books section) */
.reading-facts {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
    margin: -1.5rem 0 2.5rem;
    padding: 0;
}

.reading-facts li {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: #fff;
    border: 1px solid rgba(139, 69, 19, 0.15);
    color: #5a6c7d;
    border-radius: 50px;
    padding: 0.45rem 1rem;
    font-size: 0.92rem;
    font-weight: 600;
}

.reading-facts li i {
    color: #d4af37;
}

/* Home book cards: equal height with CTA footer */
.book-card {
    display: flex;
    flex-direction: column;
}

.book-card:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.14);
}

.book-card .book-info {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.book-card-footer {
    margin-top: auto;
    padding-top: 1rem;
}

.book-card-price {
    display: block;
    font-size: 1.3rem;
    font-weight: 700;
    color: #8b4513;
    margin-bottom: 0.65rem;
}

.book-card-buttons {
    display: flex;
    gap: 0.6rem;
}

.book-card-buttons .btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 10px 12px;
    font-size: 0.95rem;
    border-radius: 10px;
    white-space: nowrap;
}

/* Section CTA under books grid */
.section-cta {
    text-align: center;
    margin-top: 3rem;
}

.section-cta .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.section-cta-note {
    margin-top: 0.85rem;
    color: #5a6c7d;
    font-size: 0.95rem;
}

/* Book facts strip on detail pages */
.book-facts {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.6rem;
    margin: 0 0 1.5rem;
    padding: 0;
    max-width: 420px;
}

.book-facts li {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(139, 69, 19, 0.15);
    border-radius: 10px;
    padding: 0.65rem 0.85rem;
    color: #2c3e50;
    font-size: 0.95rem;
    line-height: 1.35;
}

.book-facts li i {
    color: #8b4513;
    flex-shrink: 0;
}

/* Shop trust row */
.trust-row {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem 1.75rem;
    margin: 1.5rem 0 0;
    padding: 0;
}

.trust-row li {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #5a6c7d;
    font-size: 0.95rem;
    font-weight: 600;
}

.trust-row li i {
    color: #2e7d32;
}

/* Mobile refinements */
@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding: 110px 20px 56px;
    }

    .hero-badges li {
        font-size: 0.85rem;
        padding: 0.45rem 0.85rem;
    }

    .reading-facts {
        margin-top: -1rem;
    }

    .book-facts {
        max-width: none;
        text-align: left;
    }

    .book-detail-section .book-actions {
        max-width: 360px;
        margin-left: auto;
        margin-right: auto;
    }

    .book-detail-section .shop-book-actions .quantity-selector {
        align-self: center;
    }

    .section-cta .btn,
    .book-card-buttons .btn {
        width: 100%;
    }

    .book-card-buttons {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero-buttons .btn {
        width: 100%;
        max-width: 320px;
    }

    .trust-row {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
}

/* ============================== */
/* Conversion Redesign (gg-*)     */
/* ============================== */

.gg-hero {
    background:
        radial-gradient(ellipse at 75% 20%, rgba(212, 175, 55, 0.16) 0%, transparent 45%),
        linear-gradient(150deg, #1d2b22 0%, #24352a 45%, #2c2420 100%);
    padding: 130px 0 70px;
    color: #f4f1eb;
    overflow: clip;
}

.gg-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 1.05fr);
    gap: 2rem;
    align-items: start;
}

.gg-hero-copy {
    position: relative;
    z-index: 2;
    padding-top: 0.35rem;
}

.gg-eyebrow {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #d4af37;
    margin-bottom: 1.25rem;
}

.gg-hero-headline {
    font-family: 'Playfair Display', serif;
    font-size: 3.4rem;
    line-height: 1.08;
    color: #fff;
    margin-bottom: 1.5rem;
}

.gg-hero-lead {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-size: 1.15rem;
    font-weight: 500;
    color: #ece5d8;
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.gg-hero-body {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-size: 1.05rem;
    font-weight: 400;
    color: #cfc8ba;
    margin: 1.15rem 0 1.9rem;
    line-height: 1.65;
    max-width: 560px;
}

.gg-hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-bottom: 1.6rem;
}

.gg-btn-gold,
.gg-btn-gold:link,
.gg-btn-gold:visited {
    background: linear-gradient(135deg, #d4af37 0%, #e8c547 100%);
    color: #241d10;
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-weight: 700;
    border: 2px solid transparent;
    box-shadow: 0 4px 16px rgba(212, 175, 55, 0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.gg-btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.42);
    color: #241d10;
}

.gg-btn-outline,
.gg-btn-outline:link,
.gg-btn-outline:visited {
    background: transparent;
    color: #f4f1eb;
    border: 2px solid rgba(244, 241, 235, 0.55);
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.gg-btn-outline:hover {
    background: rgba(244, 241, 235, 0.12);
    border-color: #f4f1eb;
    transform: translateY(-2px);
    color: #fff;
}

.gg-btn-outline-dark,
.gg-btn-outline-dark:link,
.gg-btn-outline-dark:visited {
    background: transparent;
    color: #2c3e50;
    border: 2px solid #8b4513;
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.gg-btn-outline-dark:hover {
    background: #8b4513;
    color: #fff;
}

.gg-hero-facts {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 1.4rem;
    margin: 0;
    padding: 0;
}

.gg-hero-facts li {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: #cfc8ba;
    position: relative;
    padding-left: 1.1rem;
}

.gg-hero-facts li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #d4af37;
    font-weight: 700;
}

.gg-hero-book {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 100%;
    max-width: 540px;
    margin-left: auto;
    margin-right: -0.75rem;
    margin-top: -0.75rem;
    transform: translateX(1.25rem);
    aspect-ratio: 1 / 1.08;
}

.gg-hero-fan {
    position: absolute;
    inset: 16% 20%;
    pointer-events: none;
}

.gg-hero-behind {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4);
    opacity: 0.8;
    filter: brightness(0.84) saturate(0.94);
    transform-origin: center center;
}

.gg-hero-behind-lampy {
    transform: translateX(34%) scale(0.86) rotate(10deg);
    z-index: 2;
}

.gg-hero-behind-compost {
    transform: translateX(-32%) scale(0.86) rotate(-9deg);
    z-index: 2;
}

.gg-hero-behind-pests {
    transform: translateX(-56%) scale(0.82) rotate(-18deg);
    z-index: 1;
    opacity: 0.7;
}

.gg-hero-cover-link {
    position: relative;
    z-index: 4;
    display: block;
    width: min(68%, 310px);
    transition: transform 0.25s ease;
}

.gg-hero-cover-link:hover {
    transform: translateY(-4px) scale(1.015);
}

.gg-hero-cover {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 4px 16px rgba(0, 0, 0, 0.35);
}

/* Reviews */
.gg-reviews-section {
    background: #fff;
}

.gg-reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    max-width: 1020px;
    margin: 0 auto;
}

.gg-review-card {
    margin: 0;
    background: #faf8f5;
    border: 1px solid rgba(139, 69, 19, 0.14);
    border-radius: 14px;
    padding: 1.9rem 1.6rem 1.5rem;
    position: relative;
    display: flex;
    flex-direction: column;
}

.gg-review-card::before {
    content: '\201C';
    font-family: 'Playfair Display', serif;
    font-size: 3.2rem;
    line-height: 1;
    color: #d4af37;
    position: absolute;
    top: 0.6rem;
    left: 1.1rem;
}

.gg-review-quote {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    line-height: 1.55;
    color: #2c3e50;
    margin: 0.9rem 0 1rem;
    flex: 1;
}

.gg-review-source {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    color: #8b4513;
}

/* Continue the adventure (book pages) */
.gg-next-book {
    background: #faf8f5;
    border-top: 1px solid rgba(139, 69, 19, 0.12);
    padding: 3.5rem 0;
}

.gg-next-book-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.25rem;
    flex-wrap: wrap;
    max-width: 760px;
    margin: 0 auto;
    text-align: left;
}

.gg-next-book img {
    width: 150px;
    border-radius: 6px;
    box-shadow: 0 10px 26px rgba(44, 62, 80, 0.2);
    flex-shrink: 0;
}

.gg-next-book-copy h2 {
    font-size: 1.6rem;
    color: #2c3e50;
    margin-bottom: 0.4rem;
}

.gg-next-book-copy p {
    color: #5a6c7d;
    line-height: 1.6;
    margin-bottom: 1.1rem;
    max-width: 440px;
}

.gg-next-book-copy .gg-next-book-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

/* Strengths */
.gg-strengths-section {
    background: linear-gradient(180deg, #f3ebe0 0%, #faf8f5 100%);
}

.gg-strengths-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
}

.gg-strength-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-decoration: none;
    color: inherit;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
}

.gg-strength-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.14);
}

.gg-strength-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.gg-strength-info {
    padding: 1.25rem 1.25rem 1.5rem;
}

.gg-strength-label {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #8b4513;
    margin-bottom: 0.4rem;
}

.gg-strength-info h3 {
    font-size: 1.25rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.gg-strength-info p {
    font-size: 0.95rem;
    color: #5a6c7d;
    line-height: 1.55;
}

.gg-strengths-note {
    text-align: center;
    margin-top: 2rem;
    font-size: 1.05rem;
    color: #5a6c7d;
}

.gg-strengths-note a {
    color: #8b4513;
    font-weight: 600;
}

/* Reader fit */
.gg-fit-section {
    background: #fff;
}

.gg-fit-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    max-width: 860px;
    margin: 0 auto;
}

.gg-fit-card {
    background: #faf8f5;
    border: 1px solid rgba(139, 69, 19, 0.14);
    border-radius: 14px;
    padding: 2rem;
    text-align: center;
}

.gg-fit-age {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #8b4513;
    margin-bottom: 0.5rem;
}

.gg-fit-card h3 {
    color: #2c3e50;
    margin-bottom: 0.75rem;
}

.gg-fit-card p {
    color: #5a6c7d;
    line-height: 1.6;
}

.gg-fit-facts {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 2rem;
    margin: 2rem 0 0;
    padding: 0;
}

.gg-fit-facts li {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: #5a6c7d;
    position: relative;
    padding-left: 1.2rem;
}

.gg-fit-facts li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #d4af37;
    font-weight: 700;
}

/* Book One sales section */
.gg-bookone-section {
    background: linear-gradient(180deg, #f3ebe0 0%, #ede2d2 100%);
}

.gg-bookone-grid {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 3rem;
    align-items: center;
    max-width: 1020px;
    margin: 0 auto;
}

.gg-bookone-image img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 16px 44px rgba(44, 62, 80, 0.24);
    display: block;
    margin: 0 auto;
}

.gg-bookone-title {
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 0.25rem;
}

.gg-bookone-subtitle {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: #8b4513;
    margin-bottom: 1rem;
}

.gg-bookone-hook {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: #2c3e50;
    font-style: italic;
    margin-bottom: 1rem;
}

.gg-bookone-summary {
    font-size: 1.05rem;
    color: #5a6c7d;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.gg-bookone-buy {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 340px;
}

.gg-bookone-buy .shop-book-price {
    margin-bottom: 0;
}

.gg-bookone-buy .shop-book-actions .btn {
    width: 100%;
    justify-content: center;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.gg-bookone-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 1.4rem;
}

.gg-bookone-links a {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: #8b4513;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Series continues */
.gg-series-section {
    background: #faf8f5;
}

.gg-series-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.gg-series-card {
    background: #fff;
    border-radius: 14px;
    padding: 1.5rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-decoration: none;
    color: inherit;
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gg-series-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.14);
}

.gg-series-card img {
    width: 100%;
    max-width: 190px;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 8px 20px rgba(44, 62, 80, 0.18);
    margin-bottom: 1rem;
}

.gg-series-number {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #8b4513;
    margin-bottom: 0.35rem;
}

.gg-series-card h3 {
    font-size: 1.2rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.gg-series-card p {
    font-size: 0.93rem;
    color: #5a6c7d;
    line-height: 1.55;
}

/* Bundle callout */
.gg-bundle-callout {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 2.5rem;
    align-items: center;
    background: linear-gradient(150deg, #1d2b22 0%, #2c2420 100%);
    border-radius: 18px;
    padding: 2.5rem;
    color: #f4f1eb;
}

.gg-bundle-covers {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
}

.gg-bundle-covers img {
    width: 100%;
    border-radius: 5px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.gg-bundle-info h3 {
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.gg-bundle-savings {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-weight: 600;
    color: #d4af37;
    margin-bottom: 0.75rem;
}

.gg-bundle-info .dynamic-price-chip {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.4rem;
}

.gg-bundle-shipping {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-size: 0.9rem;
    color: #cfc8ba;
    margin-bottom: 1.25rem;
}

.gg-bundle-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.gg-bundle-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.gg-bundle-actions .gg-btn-outline-dark {
    color: #f4f1eb;
    border-color: rgba(244, 241, 235, 0.55);
}

.gg-bundle-actions .gg-btn-outline-dark:hover {
    background: rgba(244, 241, 235, 0.12);
    color: #fff;
}

/* Final CTA */
.gg-final-cta {
    background: linear-gradient(150deg, #24352a 0%, #1d2b22 100%);
    text-align: center;
    color: #f4f1eb;
}

.gg-final-cta h2 {
    color: #fff;
    margin-bottom: 2rem;
}

.gg-final-covers {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2.25rem;
    flex-wrap: wrap;
}

.gg-final-covers img {
    width: 120px;
    border-radius: 5px;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.45);
}

.gg-final-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Past events */
.gg-past-events-title {
    margin-top: 4rem;
}

/* Sticky mobile buy bar */
.gg-sticky-buy {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: #fff;
    border-top: 1px solid rgba(139, 69, 19, 0.18);
    box-shadow: 0 -6px 24px rgba(44, 62, 80, 0.16);
    padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
}

.gg-sticky-buy[hidden] {
    display: none;
}

.gg-sticky-buy-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.gg-sticky-buy-title {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-weight: 600;
    font-size: 0.92rem;
    color: #2c3e50;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gg-sticky-buy-price {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    color: #8b4513;
}

.gg-sticky-buy-btn {
    flex-shrink: 0;
    padding: 12px 22px;
    font-size: 1rem;
}

@media (min-width: 769px) {
    .gg-sticky-buy {
        display: none;
    }
}

/* Responsive */
@media (max-width: 900px) {
    .gg-reviews-grid {
        grid-template-columns: 1fr;
        max-width: 520px;
    }

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

    .gg-series-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    .gg-hero {
        padding: 104px 0 48px;
    }

    .gg-hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .gg-hero-copy {
        order: 1;
    }

    .gg-hero-book {
        order: 0;
        max-width: 400px;
        margin: 0 auto;
        transform: none;
        aspect-ratio: 1 / 1.08;
    }

    .gg-hero-fan {
        inset: 18% 20%;
    }

    .gg-hero-cover-link {
        width: min(66%, 260px);
    }

    .gg-hero-behind-lampy {
        transform: translateX(32%) scale(0.84) rotate(9deg);
    }

    .gg-hero-behind-compost {
        transform: translateX(-30%) scale(0.84) rotate(-8deg);
    }

    .gg-hero-behind-pests {
        transform: translateX(-50%) scale(0.8) rotate(-16deg);
    }

    .gg-hero-headline {
        font-size: 2.3rem;
    }

    .gg-hero-lead {
        font-size: 1.05rem;
    }

    .gg-hero-body {
        margin-left: auto;
        margin-right: auto;
    }

    .gg-hero-ctas {
        justify-content: center;
    }

    .gg-hero-ctas .btn {
        width: 100%;
        max-width: 340px;
    }

    .gg-hero-facts {
        justify-content: center;
        gap: 0.35rem 1.1rem;
    }

    .gg-strength-card img {
        height: auto;
        aspect-ratio: auto;
        object-fit: contain;
        object-position: center top;
        background: transparent;
    }

    .gg-bookone-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .gg-bookone-image img {
        max-width: 260px;
    }

    .gg-bookone-buy {
        margin: 0 auto;
        max-width: 360px;
    }

    .gg-bookone-buy .quantity-selector {
        align-self: center;
    }

    .gg-bookone-links {
        justify-content: center;
    }

    .gg-fit-grid {
        grid-template-columns: 1fr;
    }

    .gg-bundle-callout {
        grid-template-columns: 1fr;
        padding: 1.75rem;
        text-align: center;
    }

    .gg-bundle-covers {
        max-width: 300px;
        margin: 0 auto;
    }

    .gg-bundle-actions {
        justify-content: center;
    }

    .gg-bundle-actions .btn {
        width: 100%;
    }

    .gg-final-covers img {
        width: 76px;
    }

    .gg-final-buttons .btn {
        width: 100%;
        max-width: 340px;
    }
}

@media (max-width: 540px) {
    .gg-strengths-grid {
        grid-template-columns: 1fr;
    }

    .gg-hero-book {
        max-width: 280px;
        aspect-ratio: auto;
        min-height: 0;
    }

    .gg-hero-fan {
        display: none;
    }

    .gg-hero-cover-link {
        width: min(62vw, 240px);
    }
}


/* Printed in the USA stamp */
.gg-usa-stamp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0.42rem 0.78rem;
    border: 2px solid #3f6b45;
    outline: 1px solid #3f6b45;
    outline-offset: -5px;
    border-radius: 3px;
    color: #3f6b45;
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    line-height: 1.25;
    background: rgba(255, 255, 255, 0.55);
    box-shadow: 0 1px 0 rgba(63, 107, 69, 0.12);
}

.gg-usa-stamp--light {
    border-color: #d4af37;
    outline-color: #d4af37;
    color: #e8c547;
    background: rgba(29, 43, 34, 0.35);
    box-shadow: none;
}

.gg-usa-stamp-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 1rem;
}

.gg-hero .gg-usa-stamp-wrap {
    margin-top: 1.15rem;
}

.shop-hero-stamp,
.gg-final-stamp {
    justify-content: center;
    width: 100%;
}

.shop-hero-stamp {
    margin-top: 1.35rem;
}

.gg-bundle-stamp {
    justify-content: flex-start;
    width: 100%;
    margin-top: 1.35rem;
}

.gg-final-stamp {
    margin-top: 1.35rem;
}

.book-facts + .gg-usa-stamp-wrap {
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .gg-hero .gg-usa-stamp-wrap {
        justify-content: center;
    }

    .gg-bookone-panel .gg-usa-stamp-wrap {
        justify-content: center;
    }
}
