/* What We Create section, cards, buttons, main page content */
/* ==========================================
   GLOBAL OVERFLOW SAFETY FIX
========================================== */
html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}


/* ==========================================
   WHAT WE CREATE
========================================== */

.what-we-create {
    background: #fffaf3;
}

.section-title {
    color: #173b57;
    font-weight: 800;
    font-size: 2.4rem;
}

.section-subtitle {
    color: #5c5c5c;
    font-size: 1rem;
    max-width: 720px;
    margin: 0 auto;
}

/* Card styling */
.what-we-create .create-card {
    border-radius: 1.5rem;
    border: 1px solid rgba(31, 78, 121, 0.08);
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
    transition: all 0.3s ease;
    overflow: hidden;
}

.what-we-create .create-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.10);
}

.what-we-create .card-body {
    padding: 2rem;
}

/* ==========================================
   ICON CIRCLE
========================================== */

.what-we-create .create-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 110px;
    height: 110px;
    margin: 0 auto 1.75rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #eef8fc, #ffffff);
    box-shadow:
        0 12px 30px rgba(15, 23, 42, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

/* Icon styling */
.what-we-create .create-icon i {
    font-size: 4.25rem !important;
    line-height: 1 !important;
    display: block !important;
    background: linear-gradient(135deg, #e94b5a, #f47c5f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent !important;
}

/* ==========================================
   CARD TITLE
========================================== */

.what-we-create .create-card h3 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #e94b5a, #f47c5f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

/* ==========================================
   CARD TEXT
========================================== */

.what-we-create .create-card p {
    color: #5b667a;
    line-height: 1.8;
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
}

/* ==========================================
   LINK
========================================== */

.what-we-create .create-link {
    display: inline-block;
    margin-top: auto;
    color: #0b8f82;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.3s ease;
}

.what-we-create .create-link:hover {
    color: #e94b5a;
    text-decoration: underline;
}

/* ==========================================
   RESPONSIVE
========================================== */

@media (max-width: 991px) {
    .what-we-create .create-card {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .what-we-create .create-icon {
        width: 90px;
        height: 90px;
    }

    .what-we-create .create-icon i {
        font-size: 3.25rem !important;
    }

    .what-we-create .create-card h3 {
        font-size: 1.75rem;
    }

    .what-we-create .create-card p {
        font-size: 1rem;
        line-height: 1.7;
    }
}

/* BOOKS PAGE GRID */

.book-page {
    background: rgba(255, 255, 255, 0.92);
    transition: background 0.3s ease;
}

.book-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.book-card {
    background: #ffffff;
    border: 1px solid rgba(13, 110, 138, 0.12);
    border-radius: 18px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    transition: all 0.3s ease;
}

.book-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.1);
}

.book-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    background: #fff7ef;
}

.book-card-body {
    padding: 1.25rem;
}

.book-card h3 {
    color: #0d4f66;
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.book-card p {
    color: #555;
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 0.35rem;
}

.purchase-btn,
a.purchase-btn,
a.purchase-btn:link,
a.purchase-btn:visited {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin-top: 0.9rem;
    padding: 0.75rem 1.5rem;

    background: linear-gradient(90deg, #f0627e, #ef6f61);
    color: #ffffff !important;

    border-radius: 999px;
    font-weight: 700;
    text-decoration: none !important;

    box-shadow: 0 8px 20px rgba(240, 98, 126, 0.22);
    transition: all 0.3s ease;
}

.purchase-btn:hover,
a.purchase-btn:hover {
    color: #ffffff !important;
    text-decoration: none !important;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 1199px) {
    .book-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .book-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .book-card img {
        height: 210px;
    }
}

@media (max-width: 576px) {
    .book-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================
   BOOK CARDS
========================================== */

.book-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.book-card img {
    width: 100%;
    height: 320px;
    object-fit: contain;
    display: block;
    background: #fff;
    padding: 0.5rem;
}

.book-card .card-body {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Keeps all text sections the same height */
.book-card .book-info {
    min-height: 260px;
}

.book-card .card-body h3,
.book-card .card-body h4,
.book-card .card-body p {
    margin-bottom: 1rem;
}

/* Keeps all buttons aligned */
.book-card .purchase-btn {
    margin-top: auto;
    align-self: center;
}

/* ==========================================
   BOOK CATEGORY BANNERS
========================================== */
.books-hero-banner {
    width: 100%;
    margin: 0;
    padding: 0;
    line-height: 0;
    overflow: hidden;
}

.books-hero-banner img {
    width: 100%;
    height: auto;
    display: block;
}

/* ==========================================
   BOOKS INTRO SECTION
========================================== */
.books-intro {
    position: relative;
    padding: 3rem 0;

    /* Much more transparent */
    background: rgba(255, 255, 255, 0.35);

    /* Light blur for readability */
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);

    border-top: 1px solid rgba(255, 255, 255, 0.45);
    border-bottom: 1px solid rgba(11, 79, 108, 0.08);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.35),
        0 8px 20px rgba(11, 79, 108, 0.04);
}

/* Badge */
.books-badge {
    display: inline-block;
    background: rgba(255, 92, 122, 0.12);
    color: #ff5c7a;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    margin-bottom: 0.75rem;
}

/* Title */
.books-intro .section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #0f4c75;
    margin-bottom: 0.75rem;
}

/* Subtitle */
.books-intro .section-subtitle {
    max-width: 760px;
    margin: 0 auto;
    font-size: 1rem;
    line-height: 1.7;
    color: #5b6470;
}

/* Paw divider */
.books-divider {
    margin-top: 1rem;
    font-size: 1.2rem;
    color: #ff8c42;
}

/* ==========================================
   SCROLL FADE EFFECT
========================================== */
.books-intro {
    position: relative;
    z-index: 1;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.books-intro.scrolled {
    opacity: 0;
    transform: translateY(-20px);
}

/* ==========================================
   PAGE LOAD ANIMATION
========================================== */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================
   PARENTING INTRO SECTION
========================================== */
.parenting-intro {
    position: relative;
    padding: 3rem 0;

    /* Much more transparent */
    background: rgba(255, 255, 255, 0.35);

    /* Light blur for readability */
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);

    border-top: 1px solid rgba(255, 255, 255, 0.45);
    border-bottom: 1px solid rgba(11, 79, 108, 0.08);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.35),
        0 8px 20px rgba(11, 79, 108, 0.04);
}

.parenting-intro .books-badge {
    background: rgba(255, 140, 66, 0.12);
    color: #ff8c42;
}

.parenting-intro .section-title {
    color: #0f4c75;
}

.parenting-intro .section-subtitle {
    max-width: 760px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #5b6470;
}

.parenting-intro .books-divider {
    margin-top: 1rem;
    font-size: 1.4rem;
    color: #ff5c7a;
}

.parenting-page {
    background-image: url("../images/backgrounds/background-page.png");
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* ==========================================
   PARENTING BOOKS BANNER
========================================== */
.parenting-banner {
    width: 100%;
    overflow: hidden;
    margin: 0;
    padding: 0;

}

.parenting-banner img {
    width: 100%;
    height: 220px;
    /* Adjust as needed */
    object-fit: cover;
    object-position: center center;
    display: block;
}


/* ==========================================
   AMARU INTRO SECTION
========================================== */
.amaru-intro {
    position: relative;
    padding: 3rem 0;

    /* Much more transparent */
    background: rgba(255, 255, 255, 0.35);

    /* Light blur for readability */
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);

    border-top: 1px solid rgba(255, 255, 255, 0.45);
    border-bottom: 1px solid rgba(11, 79, 108, 0.08);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.35),
        0 8px 20px rgba(11, 79, 108, 0.04);
}

.amaru-intro .books-badge {
    background: rgba(255, 166, 0, 0.12);
    color: #e67e22;
}

.amaru-intro .section-title {
    color: #0f4c75;
}

.amaru-intro .section-subtitle {
    max-width: 760px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #5b6470;
}

.amaru-intro .books-divider {
    margin-top: 1rem;
    font-size: 1.4rem;
    color: #f39c12;
}

/* ==========================================
   AMARU PAGE BACKGROUND
========================================== */
.amaru-page {
    background:
        linear-gradient(rgba(255, 255, 255, 0.50),
            rgba(255, 255, 255, 0.50)),
        url("../images/backgrounds/background-amaru.png");
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* ==========================================
   HERO BANNER SCROLL EFFECT
========================================== */
.books-hero-banner {
    transition: opacity 0.1s linear;
    will-change: opacity, transform;
}

/* ==========================================
   PUG FU PAGE BACKGROUND
========================================== */
.pug-fu-page {
    background-image: url("../images/backgrounds/background-pug-fu.png");
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.pug-fu-page {
    background:
        linear-gradient(rgba(255, 255, 255, 0.75),
            rgba(255, 255, 255, 0.75)),
        url("../images/backgrounds/background-pug-fu.png");
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* ==========================================
   COLORING PAGE BACKGROUND
========================================== */
.coloring-page {
    background:
        linear-gradient(rgba(255, 255, 255, 0.75),
            rgba(255, 255, 255, 0.75)),
        url("../images/backgrounds/background-coloring.png");

    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* ==========================================
   TOOLKITS INTRO SECTION
========================================== */
.toolkits-intro {
    background: linear-gradient(135deg, #fffaf7 0%, #ffffff 100%);
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}

.toolkits-intro .books-badge {
    background: rgba(255, 107, 122, 0.12);
    color: #ff6b7a;
}

.toolkits-intro .section-title {
    color: #0f4c75;
}

.toolkits-intro .section-subtitle {
    max-width: 760px;
    margin: 0 auto;
}

.toolkits-intro .books-divider {
    margin-top: 1.5rem;
    font-size: 1.5rem;
}

/* ==========================================
   TOOLKIT CAROUSEL SECTION
========================================== */
.toolkit-carousel-section {
    padding-top: 2rem;
    padding-bottom: 4rem;
    overflow: hidden;
}

.toolkit-carousel-wrapper {
    position: relative;
}

.toolkit-carousel {
    display: flex;
    gap: 1.5rem;
    overflow-x: hidden;
    scroll-behavior: smooth;
    padding-bottom: 1rem;
}

/* ==========================================
   SIDE ARROWS
========================================== */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 52px;
    height: 52px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6b7a, #ff8e9a);
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(255, 107, 122, 0.30);
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 14px 30px rgba(255, 107, 122, 0.40);
}

.carousel-btn-prev {
    left: -26px;
}

.carousel-btn-next {
    right: -26px;
}


/* ==========================================
   TOOLKITS INTRO SECTION
   Transparent panel that allows the page
   background image to show through clearly.
========================================== */
.toolkits-intro {
    position: relative;
    padding: 3rem 0;

    /* Much more transparent */
    background: rgba(255, 255, 255, 0.35);

    /* Light blur for readability */
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);

    border-top: 1px solid rgba(255, 255, 255, 0.45);
    border-bottom: 1px solid rgba(11, 79, 108, 0.08);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.35),
        0 8px 20px rgba(11, 79, 108, 0.04);
}

.toolkits-intro .container {
    max-width: 860px;
}

.toolkits-intro .books-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    background: rgba(244, 91, 105, 0.14);
    color: #f45b69;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.02em;
    box-shadow: 0 6px 14px rgba(244, 91, 105, 0.10);
}

.toolkits-intro .section-title {
    color: #0b4f6c;
    font-size: clamp(2.4rem, 4vw, 3.6rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
}

.toolkits-intro .section-subtitle {
    max-width: 760px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.85;
    color: #334155;
}

.toolkits-intro .books-divider {
    margin-top: 1.5rem;
    font-size: 1.75rem;
    opacity: 0.9;
}

/* ==========================================
   TOOLKIT CAROUSEL SECTION
========================================== */
.toolkit-carousel-section {
    padding-top: 2rem;
    padding-bottom: 4rem;
    overflow: hidden;
}

.toolkit-carousel-wrapper {
    position: relative;
}

.toolkit-carousel {
    display: flex;
    gap: 1.5rem;
    overflow-x: hidden;
    scroll-behavior: smooth;
    padding-bottom: 1rem;
}

/* ==========================================
   SIDE ARROWS
========================================== */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 52px;
    height: 52px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, #f45b69, #ff7a88);
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(244, 91, 105, 0.32);
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 16px 34px rgba(244, 91, 105, 0.42);
}

.carousel-btn-prev {
    left: -26px;
}

.carousel-btn-next {
    right: -26px;
}

/* ==========================================
   TOOLKIT CARD
========================================== */
.toolkit-card {
    flex: 0 0 560px;
    display: flex;
    background: #ffffff;
    border-radius: 26px;
    overflow: hidden;
    border: 1px solid rgba(11, 79, 108, 0.10);
    box-shadow:
        0 16px 36px rgba(11, 79, 108, 0.13),
        0 6px 14px rgba(244, 91, 105, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.toolkit-card:hover {
    transform: translateY(-7px);
    box-shadow:
        0 26px 56px rgba(11, 79, 108, 0.20),
        0 10px 24px rgba(244, 91, 105, 0.14);
}

/* Toolkit Image Area */
.toolkit-card>a {
    width: 43%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: linear-gradient(135deg, #fff4df 0%, #fde8d3 45%, #eef8f6 100%);
}

/* Toolkit Image */
.toolkit-card>a img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 16px;
    box-shadow: 0 12px 26px rgba(11, 79, 108, 0.14);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.toolkit-card:hover>a img {
    transform: scale(1.025);
    box-shadow: 0 18px 36px rgba(11, 79, 108, 0.20);
}

/* ==========================================
   TOOLKIT CARD CONTENT
========================================== */
.toolkit-card-body {
    width: 57%;
    padding: 1.85rem;
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, #ffffff 0%, #fffaf2 100%);
}

.toolkit-card-body h3 {
    font-size: 1.55rem;
    font-weight: 850;
    line-height: 1.22;
    color: #0b4f6c;
    margin-bottom: 1rem;
    letter-spacing: -0.3px;
}

.toolkit-card-body p {
    color: #334155;
    font-size: 1.02rem;
    line-height: 1.75;
    margin-bottom: 1.6rem;
}

.toolkit-card-body .purchase-btn {
    margin-top: auto;
    align-self: flex-start;
    background: linear-gradient(135deg, #f45b69, #ff7a88);
    color: #ffffff;
    font-weight: 800;
    border-radius: 999px;
    padding: 0.85rem 1.45rem;
    box-shadow: 0 12px 26px rgba(244, 91, 105, 0.30);
    transition: all 0.3s ease;
}

.toolkit-card-body .purchase-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(244, 91, 105, 0.42);
}

/* ==========================================
   TOOLKITS PAGE BACKGROUND
   Visible watercolor background without
   overpowering the page content
========================================== */
.toolkits-page {
    position: relative;
    background:
        linear-gradient(rgba(255, 250, 242, 0.82),
            rgba(255, 255, 255, 0.86)),
        url('../images/backgrounds/toolkits-page-bg.png');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* ==========================================
   TOOLKITS HELP ICONS
========================================== */
.toolkits-help-icon {
    display: block;
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin: 0 auto 1.25rem;
}

/* ==========================================
   TOOLKITS HELP CARD CONTENT
========================================== */
.toolkits-help-card {
    height: 100%;
    text-align: center;
    padding: 2rem 1.5rem;
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 24px;
    border: 1px solid rgba(11, 79, 108, 0.08);
    box-shadow:
        0 12px 30px rgba(11, 79, 108, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.65);
    transition: all 0.3s ease;
}

.toolkits-help-card:hover {
    transform: translateY(-6px);
    box-shadow:
        0 20px 40px rgba(11, 79, 108, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

/* Title */
.toolkits-help-card h3 {
    font-size: 1.45rem;
    font-weight: 800;
    line-height: 1.25;
    color: #0b4f6c;
    margin-bottom: 0.9rem;
    letter-spacing: -0.02em;
}

/* Description */
.toolkits-help-card p {
    font-size: 1rem;
    line-height: 1.8;
    color: #475569;
    margin: 0;
    max-width: 260px;
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================
   TOOLKIT CAROUSEL MOBILE SCROLL FIX
========================================== */
@media (max-width: 768px) {
    .toolkit-carousel {
        overflow-x: auto !important;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding: 0 1rem 1.5rem;
    }

    .toolkit-card {
        flex: 0 0 88% !important;
        max-width: 88% !important;
        scroll-snap-align: center;
    }

    .toolkit-carousel::-webkit-scrollbar {
        height: 6px;
    }

    .toolkit-carousel::-webkit-scrollbar-thumb {
        background: rgba(244, 91, 105, 0.45);
        border-radius: 999px;
    }
}

/* ==========================================
   FEATURED TOOLKIT TOPICS
========================================== */
.featured-topics-section {
    padding: 5rem 0;
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.featured-topics-section .container {
    max-width: 1140px;
}

/* Section Heading */
.featured-topics-section .books-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    background: rgba(244, 91, 105, 0.14);
    color: #f45b69;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.02em;
    box-shadow: 0 6px 14px rgba(244, 91, 105, 0.10);
}

.featured-topics-section .section-title {
    color: #0b4f6c;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.03em;
}

.featured-topics-section .section-subtitle {
    max-width: 760px;
    margin: 0 auto;
    color: #475569;
    font-size: 1.05rem;
    line-height: 1.8;
}

/* Topics Grid */
.featured-topics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

/* Individual Topic Cards */
.featured-topic-card {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px;
    padding: 1rem 1.25rem;
    text-align: center;
    text-decoration: none;
    font-weight: 800;
    font-size: 1rem;
    line-height: 1.4;
    color: #0b4f6c;
    border-radius: 999px;
    background: linear-gradient(135deg, #fffaf2 0%, #eef8f6 100%);
    border: 1px solid rgba(11, 79, 108, 0.08);
    box-shadow:
        0 10px 24px rgba(11, 79, 108, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

/* Hover Effect for Featured Topic Cards
   Matches the "Free Resources" button color */
.featured-topic-card:hover {
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-4px);

    /* Same warm coral gradient */
    background: linear-gradient(135deg, #f36b75, #f58d8f);

    border-color: transparent;

    box-shadow:
        0 14px 28px rgba(243, 107, 117, 0.25),
        0 6px 12px rgba(243, 107, 117, 0.12);
}

.featured-topics-note {
    font-size: 0.95rem;
    color: #64748b;
}

/* Responsive */
@media (max-width: 992px) {
    .featured-topics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .featured-topics-grid {
        grid-template-columns: 1fr;
    }

    .featured-topic-card {
        min-height: 70px;
        font-size: 0.95rem;
    }
}

/* ==========================================
   COMING SOON LABEL
========================================== */
.coming-soon-label {
    display: inline-block;
    padding: 0.55rem 1.25rem;
    border-radius: 999px;

    /* Stronger gradient for better visibility */
    background: linear-gradient(135deg, #f45b69, #ff8a94);

    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;

    box-shadow:
        0 10px 24px rgba(244, 91, 105, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

/* ==========================================
   FADED COMING SOON GRID
========================================== */
.coming-soon-grid {
    opacity: 0.65;
    pointer-events: none;
}

/* ==========================================
   MOBILE RESPONSIVE
========================================== */
@media (max-width: 768px) {
    .toolkit-card {
        flex: 0 0 100%;
        flex-direction: column;
    }

    .toolkit-card>a,
    .toolkit-card-body {
        width: 100%;
    }

    .toolkit-card>a img {
        height: auto;
    }

    .toolkit-card-body {
        padding: 1.5rem;
    }

    .carousel-btn {
        display: none;
    }
}

/* ==========================================
   BOOK SELECTION PAGE
========================================== */
.book-selection-section {
    padding-top: 2rem;
    padding-bottom: 5rem;
}



.book-selection-card {
    height: 100%;
    max-width: 300px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 26px;
    overflow: hidden;
    border: 1px solid rgba(11, 79, 108, 0.10);
    box-shadow:
        0 16px 36px rgba(11, 79, 108, 0.12),
        0 6px 14px rgba(244, 91, 105, 0.08);
    transition: all 0.3s ease;
}

.book-selection-card:hover {
    transform: translateY(-7px);
    box-shadow:
        0 26px 56px rgba(11, 79, 108, 0.18),
        0 10px 24px rgba(244, 91, 105, 0.14);
}

.book-selection-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
}

/* ==========================================
   BOOK SELECTION CARD CONTENT
========================================== */
.book-selection-card-body {
    padding: 1.75rem 1.5rem 2rem;
    background: linear-gradient(135deg, #ffffff 0%, #fffaf2 100%);
    display: flex;
    flex-direction: column;
    min-height: 280px;
    text-align: center;
}

.book-selection-card-body h3 {
    color: #0b4f6c;
    font-size: 1.55rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 0.9rem;
    letter-spacing: -0.02em;
}

.book-selection-card-body p {
    color: #5b6470;
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1.75rem;
    max-width: 240px;
    margin-left: auto;
    margin-right: auto;
}

.book-selection-card-body .purchase-btn {
    margin-top: auto;
    align-self: center;
}

/* ==========================================
   BOOK SELECTION IMAGE HOVER SWAP
========================================== */
.book-selection-image-link {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.book-selection-image-link img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition:
        opacity 0.45s ease,
        transform 0.45s ease;
}

.book-img-default {
    opacity: 1;
    z-index: 1;
}

.book-img-hover {
    opacity: 0;
    z-index: 2;
}

.book-selection-card:hover .book-img-default {
    opacity: 0;
    transform: scale(1.03);
}

.book-selection-card:hover .book-img-hover {
    opacity: 1;
    transform: scale(1.03);
}



/* ==========================================
   BOOK SELECTION INTRO
   More vibrant, warm, and visually rich
========================================== */
.book-selection-intro {
    position: relative;
    padding: 5rem 0 4rem;
    overflow: hidden;

    background:
        /* Warm golden glow (left) */
        radial-gradient(circle at 15% 20%,
            rgba(255, 214, 153, 0.55) 0%,
            rgba(255, 214, 153, 0.18) 22%,
            transparent 50%),

        /* Soft coral glow (right) */
        radial-gradient(circle at 85% 18%,
            rgba(244, 91, 105, 0.22) 0%,
            rgba(244, 91, 105, 0.08) 20%,
            transparent 45%),

        /* Light teal glow (bottom center) */
        radial-gradient(circle at 50% 100%,
            rgba(31, 111, 139, 0.08) 0%,
            transparent 45%),

        /* Main gradient */
        linear-gradient(135deg,
            #fffaf2 0%,
            #ffffff 45%,
            #fff9fb 100%);

    border-top: 1px solid rgba(11, 79, 108, 0.05);
    border-bottom: 1px solid rgba(11, 79, 108, 0.05);
}

/* Optional subtle texture overlay */
.book-selection-intro::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%,
            rgba(255, 255, 255, 0.55),
            transparent 25%),
        radial-gradient(circle at 80% 25%,
            rgba(255, 255, 255, 0.35),
            transparent 20%);
    pointer-events: none;
}

/* Title */
.book-selection-intro .section-title {
    font-size: clamp(2.5rem, 5vw, 4.2rem);
    font-weight: 850;
    color: #0b4f6c;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(11, 79, 108, 0.05);
}

/* Subtitle */
.book-selection-intro .section-subtitle {
    max-width: 760px;
    margin: 0 auto;
    font-size: 1.15rem;
    line-height: 1.9;
    color: #5b6470;
}

/* Divider icon */
.book-selection-intro .books-divider {
    margin-top: 1.75rem;
    font-size: 2rem;
    opacity: 0.95;
}

/* ==========================================
   BOOK SELECTION CARDS SECTION
   Creates visual separation from the intro
========================================== */
.book-selection-section {
    position: relative;
    padding: 4.5rem 0 5rem;

    background:
        radial-gradient(circle at top center,
            rgba(244, 91, 105, 0.06),
            transparent 35%),
        linear-gradient(180deg,
            #ffffff 0%,
            #fffaf7 45%,
            #fff5ef 100%);

    border-top: 1px solid rgba(11, 79, 108, 0.05);
}

/* Optional subtle top fade */
.book-selection-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: linear-gradient(to bottom,
            rgba(255, 255, 255, 0.85),
            rgba(255, 255, 255, 0));
    pointer-events: none;
}

/* Ensure cards appear above pseudo-element */
.book-selection-section .container {
    position: relative;
    z-index: 1;
}

/* ==========================================
   MERCH PAGE
========================================== */

.merch-page {
    background: linear-gradient(180deg, #f8fcff 0%, #ffffff 45%, #fff8f3 100%);
}

/* ==========================================
   MERCH INTRO SECTION
========================================== */

.merch-intro {
    position: relative;
    padding: 5rem 0 4rem;
    background:
        radial-gradient(circle at top right, rgba(239, 93, 115, 0.08), transparent 45%),
        radial-gradient(circle at top left, rgba(31, 111, 139, 0.08), transparent 40%),
        linear-gradient(180deg, #ffffff 0%, #f8fcfe 100%);
}

.merch-intro .books-badge {
    display: inline-block;
    padding: 0.55rem 1.2rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #ef5d73, #f37a5d);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 0 10px 25px rgba(239, 93, 115, 0.25);
}

.merch-intro .section-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
    background: linear-gradient(135deg, #1f6f8b 0%, #ef5d73 55%, #f37a5d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.merch-intro .section-subtitle {
    max-width: 720px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #5f7280;
    margin-top: 1rem;
}

.merch-intro .books-divider {
    margin-top: 1.75rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.merch-intro .books-divider span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    font-size: 1.8rem;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 14px 35px rgba(31, 111, 139, 0.12);
    border: 1px solid rgba(31, 111, 139, 0.08);
    transition: transform 0.3s ease;
}

.merch-intro .books-divider span:hover {
    transform: translateY(-4px) scale(1.05);
}

/* ==========================================
   MERCH SECTION
========================================== */

.merch-section {
    background: transparent;
}

/* ==========================================
   MERCH CARD
========================================== */

.merch-card {
    height: 100%;
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(31, 111, 139, 0.12);
    box-shadow: 0 14px 35px rgba(31, 111, 139, 0.10);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.merch-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(31, 111, 139, 0.18);
}

/* ==========================================
   IMAGE AREA
========================================== */

.merch-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: linear-gradient(135deg, #eaf7fb, #fff3f0);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.merch-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.25s ease;
}

.merch-card:hover .merch-img {
    transform: scale(1.04);
}

/* ==========================================
   COLOR SWATCHES BELOW IMAGE
========================================== */

.merch-colors {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.65rem;
    padding: 0.9rem 1rem 0.25rem;
    background: #ffffff;
}

.color-option {
    position: relative;
    display: inline-flex;
    cursor: pointer;
}

.color-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.color-swatch {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    box-shadow: 0 0 0 1px rgba(31, 111, 139, 0.18);
    transition: all 0.2s ease;
}

.color-option:hover .color-swatch {
    transform: scale(1.08);
}

.color-option input:checked+.color-swatch {
    transform: scale(1.15);
    box-shadow:
        0 0 0 2px #1f6f8b,
        0 0 0 5px rgba(31, 111, 139, 0.10);
}

/* ==========================================
   CARD BODY
========================================== */

.merch-card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    height: calc(100% - 1px);
}

.merch-card-body h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1f6f8b;
    margin-bottom: 0.75rem;
}

.merch-card-body p {
    color: #5f6f73;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

/* ==========================================
   FAVORITE BUTTON
========================================== */

.merch-actions {
    display: flex;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.merch-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    width: 100%;
    max-width: 180px;
    padding: 0.7rem 1rem;
    background: #ffffff;
    border: 1px solid rgba(31, 111, 139, 0.15);
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #1f6f8b;
    cursor: pointer;
    transition: all 0.25s ease;
    text-align: center;
}

.merch-icon-btn span {
    display: inline-block;
    line-height: 1;
}

.merch-icon-btn:hover,
.merch-icon-btn:focus {
    background: #f0f9fc;
    border-color: rgba(31, 111, 139, 0.25);
    color: #e94b5a;
    transform: translateY(-2px);
}

.favorite-btn i {
    margin-right: 0.4rem;
}

/* ==========================================
   SHARE BUTTON / DROPDOWN
========================================== */

.merch-share-toggle {
    position: absolute;
    top: 0.8rem;
    right: 0.8rem;
    z-index: 3;
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 50%;
    background: #ffffff;
    color: #1f6f8b;
    font-size: 1.1rem;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(31, 111, 139, 0.15);
    cursor: pointer;
    transition: all 0.25s ease;
}

.merch-share-toggle:hover,
.merch-share-toggle:focus {
    background: #f0f9fc;
    color: #e94b5a;
    transform: translateY(-2px);
}

.merch-share-toggle i {
    font-size: 1rem;
    line-height: 1;
}

.merch-share-menu {
    position: absolute;
    top: 3.4rem;
    right: 0.8rem;
    z-index: 4;
    width: 165px;
    background: #ffffff;
    border: 1px solid rgba(31, 111, 139, 0.15);
    border-radius: 14px;
    box-shadow: 0 14px 35px rgba(31, 111, 139, 0.18);
    overflow: hidden;
    display: none;
}

.merch-share-menu.is-open {
    display: block;
}

.share-option {
    display: block;
    width: 100%;
    padding: 0.75rem 0.9rem;
    border: none;
    background: #ffffff;
    color: #1f6f8b;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}

.share-option:hover,
.share-option:focus {
    background: #f0f9fc;
    color: #e94b5a;
}

.share-option i {
    width: 18px;
    font-size: 1rem;
    text-align: center;
    flex-shrink: 0;
}

/* ==========================================
   PURCHASE BUTTON
========================================== */

.merch-purchase-btn {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    border-radius: 999px;
    padding: 0.9rem 1.25rem;
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    background: linear-gradient(135deg, #ef5d73, #f37a5d);
    color: #ffffff !important;
    box-shadow: 0 12px 28px rgba(239, 93, 115, 0.25);
    transition: all 0.25s ease;
}

.merch-purchase-btn:hover,
.merch-purchase-btn:focus {
    color: #ffffff !important;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(239, 93, 115, 0.35);
}

.merch-purchase-btn::after {
    content: "→";
    margin-left: 0.55rem;
    font-size: 1.05rem;
    transition: transform 0.25s ease;
}

.merch-purchase-btn:hover::after {
    transform: translateX(3px);
}

/* ==========================================
   COMING SOON SECTION
========================================== */

.merch-coming-soon {
    background: linear-gradient(135deg, #fff3f0, #eaf7fb);
}

/* ==========================================
   MOBILE ADJUSTMENTS
========================================== */

@media (max-width: 768px) {
    .merch-intro {
        padding: 4rem 0 3rem;
    }

    .merch-intro .section-title {
        font-size: 2rem;
    }

    .merch-intro .section-subtitle {
        font-size: 1rem;
        line-height: 1.7;
    }

    .merch-intro .books-divider span {
        width: 56px;
        height: 56px;
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .merch-card-body {
        padding: 1.25rem;
    }

    .merch-icon-btn {
        max-width: 100%;
        font-size: 0.8rem;
    }

    .merch-purchase-btn {
        padding: 0.85rem 1rem;
        font-size: 0.95rem;
    }
}


/* ==========================================
   HEADER
========================================== */

#loginModal .books-badge {
    display: inline-block;
    padding: 0.55rem 1.2rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #ef5d73, #f37a5d);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 0 10px 25px rgba(239, 93, 115, 0.25);
}

#loginModal h2 {
    color: #1f6f8b;
    font-weight: 800;
    letter-spacing: -0.02em;
}

#loginModal .text-muted {
    color: #6c757d !important;
}

/* ==========================================
   CLOSE BUTTON
========================================== */

#loginModal .btn-close {
    opacity: 0.6;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

#loginModal .btn-close:hover {
    opacity: 1;
    transform: rotate(90deg);
}

/* ==========================================
   NAV TABS
========================================== */

#loginModal .nav-pills {
    gap: 0.75rem;
}

#loginModal .nav-pills .nav-link {
    background: #f4f8fb;
    color: #5f7280;
    font-weight: 600;
    padding: 0.75rem 1.25rem;
    border: 1px solid transparent;
    transition: all 0.25s ease;
}

#loginModal .nav-pills .nav-link:hover {
    background: #edf6fa;
    color: #1f6f8b;
}

#loginModal .nav-pills .nav-link.active {
    background: linear-gradient(135deg, #1f6f8b, #2c8cab);
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(31, 111, 139, 0.22);
}

/* ==========================================
   FORM LABELS
========================================== */

#loginModal .form-label {
    color: #1f6f8b;
    font-size: 0.92rem;
    margin-bottom: 0.45rem;
}

/* ==========================================
   FORM INPUTS
========================================== */

#loginModal .form-control {
    border: 1px solid rgba(31, 111, 139, 0.12);
    border-radius: 0.85rem;
    padding: 0.85rem 1rem;
    font-size: 0.95rem;
    box-shadow: none;
    transition: all 0.25s ease;
}

#loginModal .form-control::placeholder {
    color: #9aa7b2;
}

#loginModal .form-control:focus {
    border-color: rgba(31, 111, 139, 0.35);
    box-shadow: 0 0 0 0.25rem rgba(31, 111, 139, 0.10);
}

/* ==========================================
   LINKS
========================================== */

#loginModal a {
    color: #1f6f8b;
    font-weight: 600;
    transition: color 0.2s ease;
}

#loginModal a:hover {
    color: #ef5d73;
}

/* ==========================================
   BUTTONS
========================================== */

#loginModal .merch-purchase-btn {
    margin-top: 0;
}

/* ==========================================
   FOOTER NOTE
========================================== */

#loginModal small {
    font-size: 0.82rem;
    line-height: 1.5;
}

/* ==========================================
   MODAL BACKDROP
========================================== */

.modal-backdrop.show {
    opacity: 0.6;
}

/* ==========================================
   MOBILE ADJUSTMENTS
========================================== */

@media (max-width: 576px) {
    #loginModal .modal-dialog {
        margin: 1rem;
    }

    #loginModal .modal-content {
        border-radius: 1.25rem;
    }

    #loginModal .modal-header,
    #loginModal .modal-body {
        padding-left: 1.25rem !important;
        padding-right: 1.25rem !important;
    }

    #loginModal h2 {
        font-size: 1.35rem;
    }

    #loginModal .nav-pills .nav-link {
        font-size: 0.9rem;
        padding: 0.7rem 1rem;
    }

    #loginModal .form-control {
        padding: 0.8rem 0.95rem;
        font-size: 0.95rem;
    }
}

/* ==========================================
   AVATAR PREVIEW
========================================== */

.avatar-preview {
    display: flex;
    justify-content: center;
    align-items: center;
}

.avatar-preview-img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    /* Makes image fill the circle */
    object-position: center;
    display: block;

    /* Optional styling */
    border: 3px solid #d9e6ee;
    box-shadow: 0 8px 20px rgba(31, 111, 139, 0.12);
}

/* ==========================================
   AVATAR DROPDOWN STYLING
========================================== */

#signupAvatar {
    font-family: "Poppins", sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: #1f6f8b;
    background-color: #ffffff;
    border: 2px solid #d9e6ee;
    border-radius: 14px;
    padding: 0.85rem 1rem;
    box-shadow: 0 6px 16px rgba(31, 111, 139, 0.08);
    transition: all 0.3s ease;
}

#signupAvatar:focus {
    border-color: #1f6f8b;
    box-shadow: 0 0 0 0.25rem rgba(31, 111, 139, 0.15);
    outline: none;
}

/* Style dropdown options */
#signupAvatar option {
    font-family: "Poppins", sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: #1f6f8b;
}

/* ==========================================
   PASSWORD TOGGLE
========================================== */

.password-wrapper {
    position: relative;
}

.password-toggle {
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    color: #7a8a99;
    font-size: 1.1rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    z-index: 5;
    transition: color 0.2s ease;
}

.password-toggle:hover {
    color: #1f6f8b;
}

.password-toggle:focus {
    outline: none;
    color: #1f6f8b;
}

/* ==========================================
   USER AVATAR IN NAVBAR
========================================== */

.user-avatar-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.user-avatar-nav img {
    width: 42px;
    height: 42px;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
    display: block;

    /* Styling */
    border: 2px solid #ffffff;
    box-shadow:
        0 6px 16px rgba(31, 111, 139, 0.18),
        0 0 0 2px rgba(31, 111, 139, 0.08);

    transition: all 0.3s ease;
}

.user-avatar-nav img:hover {
    transform: scale(1.05);
    box-shadow:
        0 8px 20px rgba(31, 111, 139, 0.22),
        0 0 0 2px rgba(31, 111, 139, 0.12);
}

/* Mobile spacing */
@media (max-width: 1199.98px) {
    .user-avatar-nav {
        margin-top: 0.75rem;
        justify-content: flex-start;
    }
}



/* ==========================================
   FAVORITES PAGE - MATCH MERCH SHARE BUTTON
========================================== */

.favorites-page .merch-img-wrap {
    position: relative;
}

.favorites-page .merch-share-dropdown {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 10;
}

.favorites-page .merch-share-btn {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: none;
    background: #ffffff;
    color: #0b6f8f;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.favorites-page .merch-share-btn::after {
    display: none;
}

.favorites-page .dropdown-menu {
    border: none;
    border-radius: 14px;
    padding: 12px;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.15);
}

.favorites-page .dropdown-item {
    color: #006b8f;
    font-weight: 700;
    padding: 10px 12px;
}

.favorites-page .dropdown-item i {
    width: 20px;
}

/* ==========================================
   CUSTOM TOAST NOTIFICATION
========================================== */

.custom-toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #0b6f8f;
    color: #ffffff;
    padding: 14px 22px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 9999;
}

.custom-toast.show {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================
FAVORITE BUTTON Global default for Merch,
Books,
and Favorites==========================================*/
.favorite-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;

    /* Slightly smaller than Purchase / Download button */
    width: 68%;
    max-width: 240px;

    padding: 0.65rem 1.2rem;
    margin: 0.75rem auto 1.25rem;

    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1;

    border: 1px solid rgba(11, 111, 143, 0.18);
    border-radius: 999px;

    background: #ffffff;
    color: #0b6f8f;
    text-decoration: none;

    transition: all 0.3s ease;
}

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

.favorite-btn:hover {
    background: #f5fbfd;
    border-color: rgba(11, 111, 143, 0.28);
    color: #0b6f8f;
    transform: translateY(-1px);
}

.favorite-btn.is-favorited {
    color: #0b6f8f;
}

.favorite-btn.is-favorited i {
    color: #0b6f8f;
}

/* ==========================================
   TOOLKIT ACTION BUTTONS
   Compact Favorite + Download side by side
========================================== */

.toolkit-card .toolkit-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 1.25rem;
    flex-wrap: nowrap;
}

/* Favorite button: smaller and compact */
.toolkit-card .toolkit-actions .favorite-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;

    width: 150px;
    min-width: 150px;
    max-width: 150px;

    padding: 0.75rem 1rem;
    margin: 0;

    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1;
}

/* Download button: keep primary button compact */
.toolkit-card .toolkit-actions .purchase-btn {
    width: 220px;
    min-width: 220px;
    max-width: 220px;

    margin: 0;
    padding: 0.85rem 1.5rem;
}

/* Mobile: stack buttons */
@media (max-width: 576px) {
    .toolkit-card .toolkit-actions {
        flex-wrap: wrap;
    }

    .toolkit-card .toolkit-actions .favorite-btn,
    .toolkit-card .toolkit-actions .purchase-btn {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }
}

/* ==========================================
   TOOLKIT BUTTON ROW FINAL FIX
========================================== */

.toolkit-actions {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 12px !important;
    margin-top: 1.25rem !important;
    width: 100% !important;
}

.toolkit-actions .favorite-btn {
    width: 140px !important;
    min-width: 140px !important;
    max-width: 140px !important;
    margin: 0 !important;
    padding: 0.7rem 1rem !important;
}

.toolkit-actions .purchase-btn {
    width: 190px !important;
    min-width: 190px !important;
    max-width: 190px !important;
    margin: 0 !important;
    padding: 0.85rem 1rem !important;
    white-space: nowrap !important;
}

@media (max-width: 576px) {
    .toolkit-actions {
        flex-direction: column !important;
    }

    .toolkit-actions .favorite-btn,
    .toolkit-actions .purchase-btn {
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* ==========================================
   TOOLKIT FAVORITE BUTTON CLEAN STYLE
========================================== */

.toolkit-card .favorite-btn {
    width: auto !important;
    min-width: auto !important;
    max-width: none !important;

    padding: 0 !important;
    margin: 0 0 1rem 0 !important;

    border: none !important;
    background: transparent !important;
    box-shadow: none !important;

    color: #0b6f8f !important;
    font-weight: 700;
}

.toolkit-card .favorite-btn:hover {
    background: transparent !important;
    transform: none !important;
    text-decoration: underline;
}

.toolkit-card .purchase-btn {
    margin-top: 0 !important;
}

/* ==========================================
   TOOLKIT FAVORITE + DOWNLOAD FINAL STYLE
========================================== */

.toolkit-card .toolkit-actions {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 14px !important;
    margin-top: 1.5rem !important;
}

.toolkit-card .toolkit-actions .favorite-btn {
    width: auto !important;
    min-width: auto !important;
    max-width: none !important;

    padding: 0 !important;
    margin: 0 !important;

    border: none !important;
    background: transparent !important;
    box-shadow: none !important;

    color: #0b6f8f !important;
    font-weight: 700;
}

.toolkit-card .toolkit-actions .favorite-btn:hover {
    background: transparent !important;
    transform: none !important;
    text-decoration: underline;
}

.toolkit-card .toolkit-actions .purchase-btn {
    margin: 0 !important;
}

/* ==========================================
   TOOLKIT FAVORITE + DOWNLOAD FINAL STYLE
========================================== */

.toolkit-card .toolkit-actions {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 14px !important;
    margin-top: 1.5rem !important;
}

/* ==========================================
   TOOLKIT FAVORITE BUTTON
   Ultra-compact, centered, pill style
========================================== */
.toolkit-card .toolkit-actions .favorite-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    gap: 0.25rem !important;

    width: 90px !important;
    min-width: 90px !important;
    max-width: 90px !important;

    height: 36px !important;
    padding: 0 !important;
    margin: 0 !important;

    border: 1px solid rgba(11, 111, 143, 0.18) !important;
    border-radius: 999px !important;
    background: #ffffff !important;
    box-shadow: none !important;

    color: #0b6f8f !important;
    font-size: 0.78rem !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    text-decoration: none !important;

    transition: all 0.3s ease !important;
}

/* Remove any spacing that may offset the text */
.toolkit-card .toolkit-actions .favorite-btn i,
.toolkit-card .toolkit-actions .favorite-btn span {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.toolkit-card .toolkit-actions .favorite-btn i {
    font-size: 0.72rem !important;
}

/* Hover State */
.toolkit-card .toolkit-actions .favorite-btn:hover {
    background: linear-gradient(135deg, #e94b5a, #ff6f81) !important;
    color: #ffffff !important;
    border-color: transparent !important;
    text-decoration: none !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 8px 18px rgba(233, 75, 90, 0.28) !important;
}

.toolkit-card .toolkit-actions .favorite-btn:hover i,
.toolkit-card .toolkit-actions .favorite-btn:hover span {
    color: #ffffff !important;
}

/* ==========================================
   ABOUT PAGE IMAGE FIXES
========================================== */

.about-page .card img,
.about-page .img-fluid {
    display: block;
    width: 100%;
    height: auto;
}

/* Disable hover animation on About page cards */
.about-page .card,
.about-page .card:hover {
    transform: none !important;
    transition: none !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08) !important;
}

/* ==========================================
   ABOUT HERO IMAGE SPACING
========================================== */

.about-page .about-hero-section {
    padding-top: 2rem;
    padding-bottom: 3rem;
}

.about-page .about-hero-card {
    border: 0;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.about-page .about-hero-card img {
    display: block;
    width: 100%;
    height: auto;
}

/* Prevent hover movement */
.about-page .about-hero-card,
.about-page .about-hero-card:hover {
    transform: none !important;
    transition: none !important;
}

/* ==========================================
   ABOUT HERO IMAGE SPACING FIX
========================================== */

.about-page .about-hero-image-section {
    margin-top: 3rem;
    margin-bottom: 4rem;
}

.about-page .about-hero-card {
    overflow: hidden;
    border-radius: 1.5rem;
}

.about-page .about-hero-card img {
    display: block;
    width: 100%;
    height: auto;
}

/* ==========================================
   ABOUT PAGE FEATURE ICONS
========================================== */

.about-page .create-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 110px;
    height: 110px;
    margin: 0 auto 1.75rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #eef8fc, #ffffff);
    box-shadow:
        0 12px 30px rgba(15, 23, 42, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

/* Icon gradient */
.about-page .create-icon .fa-solid,
.about-page .create-icon .fa-regular,
.about-page .create-icon .fa-brands,
.about-page .create-icon i {
    font-size: 4.25rem !important;
    line-height: 1 !important;
    display: block !important;
    background: linear-gradient(135deg, #e94b5a, #f47c5f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent !important;
}

/* Card styling */
.about-page .create-card {
    background: #ffffff;
    border: 1px solid rgba(31, 78, 121, 0.08);
    border-radius: 1.5rem;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
    transition: all 0.3s ease;
}

.about-page .create-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.10);
}

/* Title gradient */
.about-page .create-card h3 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #e94b5a, #f47c5f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.about-page .create-card p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #5b667a;
    margin-bottom: 0;
}