/*
Theme Name: Bookio Child
Theme URI: http://wpbingosite.com/wordpress/bookio/
Author: Wpbingo
Author URI: http://wpbingosite.com/
Description: Bookio is a modern, clean and professional WooCommerce WordPress theme. It is built to well suit for any online stores: electronics store, fashion store, jewelry store...
Version: 1.3.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: blog, two-columns, left-sidebar, accessibility-ready, custom-background, custom-colors, custom-header, custom-logo, custom-menu, editor-style, featured-images, microformats, post-formats, rtl-language-support, sticky-post, threaded-comments, translation-ready
Text Domain: bookio-child
Template: bookio
*/

/* Bookio overrides for single-news.php layout */
body.single-news .col-xl-9.col-lg-8.col-md-12.col-sm-12 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
}

body.single-news .col-xl-3.col-lg-4.col-md-12.col-sm-12 {
    display: none !important;
}

/* ==========================================================================
   Allow Right-Click and 'Copy Image' on Book / Product Images
   ========================================================================== */
.zoomContainer {
    width: 0 !important;
    height: 0 !important;
    pointer-events: none !important;
}

.zoomContainer *,
.zoomWindow,
.zoomLens,
.zoomWindowContainer,
.zoomTint {
    pointer-events: none !important;
}

.woocommerce-product-gallery__image img,
.image-additional img,
.product-wapper .products-thumb img,
#image {
    pointer-events: auto !important;
    -webkit-user-select: auto !important;
    user-select: auto !important;
}

.bwp-single-product .view-gallery {
    pointer-events: auto !important;
    z-index: 1000 !important;
}

.image-thumbnail,
.image-thumbnail * {
    pointer-events: auto !important;
}


/* Safe Fix for AJAX Search Results Unclickable */
.bwp-header .header-search-form .result-search-products {
    position: relative !important;
    z-index: 9999 !important;
}
.bwp-header .header-search-form .result-search-products a {
    pointer-events: auto !important;
}

/* Reduce gap between product image and summary on single product pages */
@media (min-width: 992px) {
    .bwp-single-product .bwp-single-image {
        flex: 0 0 40% !important;
        max-width: 40% !important;
    }
    .bwp-single-product .bwp-single-info {
        flex: 0 0 60% !important;
        max-width: 60% !important;
        padding-left: 0px !important;
    }
}
/* Fix related books arrows and spacing */
.related .slick-slider, .related .slick-list, .related .slick-track, .related .slick-slide { min-height: 0 !important; }
.related .slick-slider { height: auto !important; position: relative !important; }
.related .slick-arrow { position: absolute !important; top: 110px !important; transform: translateY(-50%) !important; z-index: 99 !important; }
.related .slick-prev { left: -25px !important; }
.related .slick-next { right: -25px !important; }
.related i.slick-arrow.fa-angle-left { left: -25px !important; }
.related i.slick-arrow.fa-angle-right { right: -25px !important; }
#bwp-footer { margin-top: 0 !important; }
.main-single-product.box .related, .bwp-single-product .related { padding-bottom: 0 !important; margin-bottom: 0 !important; }
.related .slick-list, .related .slick-track, .related .slick-slide { height: auto !important; }
.single-product #bwp-main, .single-product .main-single-product, .single-product .related, .single-product .content-product-list, .single-product .bwp-single-product { padding-bottom: 0 !important; margin-bottom: 0 !important; }
.single-product #bwp-footer { margin-top: 0 !important; }

/* Categories Listing Page Title Styling */
.woocommerce ul.products li.product-category .woocommerce-loop-category__title,
.woocommerce-loop-category__title {
    font-size: 14px !important;
    font-weight: normal !important;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 5px;
    line-height: 1.4;
}

.woocommerce ul.products li.product-category .woocommerce-loop-category__title .count,
.woocommerce-loop-category__title .count {
    font-size: 14px !important;
    font-weight: normal !important;
    color: #777;
    background: transparent;
}

.woocommerce ul.products li.product-category img {
    margin: 0 auto;
    display: block;
}

/* Hide theme default fixed notification */
.bookio-product-added {
    display: none !important;
}

/* Cart Notification below Cart Icon */
#handc-cart-notification {
    display: none;
    position: fixed !important;
    background: #1e2229;
    color: #ffffff;
    padding: 10px 18px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    z-index: 999999 !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
#handc-cart-notification.success {
    border-left: 4px solid #4CAF50;
}
#handc-cart-notification.removed {
    border-left: 4px solid #ff5252;
}
#handc-cart-notification.show {
    display: flex !important;
    align-items: center;
    gap: 8px;
}
#handc-cart-notification .handc-notify-icon {
    font-size: 14px;
    font-weight: bold;
    display: inline-flex;
}
#handc-cart-notification .handc-notify-text {
    color: #fff;
}

/* ==========================================================================
   Browse by Authors - True Circular Image & Larger Size
   ========================================================================== */
.bwp-author .block_content {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
}

.bwp-author .item {
    margin-bottom: 25px !important;
}

.bwp-author .item-content {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    text-align: center !important;
    padding: 10px 5px !important;
    width: 100% !important;
}

.bwp-author .item-image {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 0 auto 12px auto !important;
    position: relative !important;
    overflow: visible !important;
}

.bwp-author .item-image a {
    position: relative !important;
    display: block !important;
    width: 120px !important;
    height: 120px !important;
    min-width: 120px !important;
    min-height: 120px !important;
    max-width: 120px !important;
    max-height: 120px !important;
    aspect-ratio: 1 / 1 !important;
    border-radius: 50% !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    border: 3px solid #eef0f2 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
    background-color: #f0f2f5 !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    margin: 0 auto !important;
    flex: 0 0 120px !important;
}

.bwp-author .item-image a span {
    position: absolute !important;
    top: 5px !important;
    left: 5px !important;
    z-index: 2 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 24px !important;
    height: 24px !important;
    border-radius: 50% !important;
    background: #064532 !important;
    color: #fff !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
}

.bwp-author .item-image img {
    width: 100% !important;
    height: 100% !important;
    min-width: 100% !important;
    min-height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    aspect-ratio: 1 / 1 !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    object-position: center top !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
    position: static !important;
}

.bwp-author .item:hover .item-image a,
.bwp-author .item-image a:hover {
    transform: scale(1.06) !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14) !important;
}

@media (max-width: 767px) {
    .bwp-author .item {
        flex: 0 0 33.333% !important;
        max-width: 33.333% !important;
    }
    .bwp-author .item-image a {
        width: 95px !important;
        height: 95px !important;
        min-width: 95px !important;
        min-height: 95px !important;
        max-width: 95px !important;
        max-height: 95px !important;
        flex: 0 0 95px !important;
    }
}

@media (max-width: 480px) {
    .bwp-author .item {
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }
    .bwp-author .item-image a {
        width: 105px !important;
        height: 105px !important;
        min-width: 105px !important;
        min-height: 105px !important;
        max-width: 105px !important;
        max-height: 105px !important;
        flex: 0 0 105px !important;
    }
}

.bwp-author .item-title,
.bwp-author .item-title a,
.bwp-author .item-title a span {
    text-align: center;
    margin-top: 6px;
    margin-bottom: 3px;
    font-size: 13px !important;
    font-weight: 500 !important;
    line-height: 1.3 !important;
}

.bwp-author .item-title a {
    color: #222;
}

.bwp-author .item-count {
    text-align: center;
    font-size: 12px !important;
    color: #777;
}

/* Individual Author Heading on Author Page */
.bwp-author-heading .images img {
    width: 180px !important;
    height: 180px !important;
    max-width: 180px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    border: 4px solid #eef0f2;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: block;
    margin: 0 auto;
    background-color: #f0f2f5;
}

/* ==========================================================================
   Sticky Menu Only - Reduced Font Size by 2px & Reduced Gap
   (Does not affect main menu)
   ========================================================================== */
.bwp-header .header-sticky .header-wrapper-stick .content-header {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
}

.bwp-header .header-sticky .content-header-main {
    margin-left: 15px !important;
    flex: 1 1 auto !important;
}

.bwp-header .header-sticky .bwp-navigation ul.menu {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    white-space: nowrap !important;
    gap: 7px !important;
}

.bwp-header .header-sticky .bwp-navigation ul.menu > li.level-0 {
    display: inline-flex !important;
    align-items: center !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.bwp-header .header-sticky .bwp-navigation ul.menu > li.level-0 > a {
    font-size: 14px !important;
    padding-left: 8px !important;
    padding-right: 8px !important;
    letter-spacing: 0px !important;
    white-space: nowrap !important;
}

/* ==========================================================================
   Order Pay / Receipt & Thank You Page Redesign (H&C Books)
   ========================================================================== */

/* Main Container Wrapper */
.handc-order-receipt-wrapper {
    max-width: 900px !important;
    margin: 35px auto 60px !important;
    padding: 0 20px !important;
}

/* Receipt Header */
.handc-receipt-header {
    text-align: center !important;
    margin-bottom: 28px !important;
}

.handc-receipt-header .handc-receipt-title {
    font-size: 26px !important;
    font-weight: 700 !important;
    color: #1a202c !important;
    margin: 0 0 8px 0 !important;
    letter-spacing: -0.3px !important;
}

.handc-receipt-header .handc-receipt-subtitle {
    font-size: 15px !important;
    color: #64748b !important;
    margin: 0 !important;
}

/* Order Summary Modern Card */
.handc-order-summary-card {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)) !important;
    gap: 16px !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 22px 26px !important;
    margin-bottom: 30px !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04) !important;
}

.handc-summary-item {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    padding: 8px 12px !important;
    border-right: 1px solid #f1f5f9 !important;
}

.handc-summary-item:last-child {
    border-right: none !important;
}

.handc-summary-item .handc-item-label {
    font-size: 11px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    color: #94a3b8 !important;
    font-weight: 600 !important;
    margin-bottom: 6px !important;
}

.handc-summary-item .handc-item-val {
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #0f172a !important;
}

.handc-summary-item .handc-item-val.total-amount {
    color: #064532 !important;
    font-size: 18px !important;
    font-weight: 700 !important;
}

.handc-summary-item .handc-item-val.payment-method-badge {
    display: inline-block !important;
    background: #eef7f2 !important;
    color: #064532 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    padding: 4px 10px !important;
    border-radius: 6px !important;
    align-self: flex-start !important;
}

/* Payment Gateway Frame Container */
.handc-payment-container {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06) !important;
    margin: 0 auto !important;
}

.handc-payment-security-bar {
    background: #064532 !important;
    color: #ffffff !important;
    padding: 12px 20px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    letter-spacing: 0.4px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
}

.handc-payment-body {
    padding: 20px !important;
    text-align: center !important;
}

/* CCAvenue iframe responsive centering */
#paymentFrame {
    display: block !important;
    margin: 0 auto !important;
    max-width: 100% !important;
    width: 680px !important;
    min-height: 480px !important;
    border: none !important;
    background: #ffffff !important;
    transition: height 0.25s ease !important;
}

/* Fallback & Thankyou Page Global Styling for ul.order_details */
ul.order_details,
ul.woocommerce-order-overview.order_details {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)) !important;
    gap: 16px !important;
    list-style: none !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 22px 26px !important;
    margin: 25px auto 35px !important;
    max-width: 900px !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04) !important;
}

ul.order_details li,
ul.woocommerce-order-overview.order_details li {
    display: flex !important;
    flex-direction: column !important;
    font-size: 12px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    color: #94a3b8 !important;
    font-weight: 600 !important;
    padding: 8px 12px !important;
    border-right: 1px solid #f1f5f9 !important;
    margin: 0 !important;
    list-style: none !important;
}

ul.order_details li:last-child,
ul.woocommerce-order-overview.order_details li:last-child {
    border-right: none !important;
}

ul.order_details li strong,
ul.woocommerce-order-overview.order_details li strong {
    font-size: 16px !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin-top: 6px !important;
}

ul.order_details li.total strong,
ul.woocommerce-order-overview.order_details li.total strong {
    color: #064532 !important;
    font-size: 18px !important;
}

/* Responsive adjustment for Mobile */
@media (max-width: 767px) {
    .handc-order-summary-card,
    ul.order_details,
    ul.woocommerce-order-overview.order_details {
        grid-template-columns: 1fr 1fr !important;
        padding: 16px !important;
    }
    
    .handc-summary-item,
    ul.order_details li,
    ul.woocommerce-order-overview.order_details li {
        border-right: none !important;
        border-bottom: 1px solid #f1f5f9 !important;
        padding: 10px 6px !important;
    }
    
    .handc-summary-item:last-child,
    ul.order_details li:last-child {
        border-bottom: none !important;
    }
    
    #paymentFrame {
        width: 100% !important;
    }
}

/* Checkout Login Form - Remember Me & Forgot Password */
.checkout-top .woocommerce-form .rememberme-lost {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
    margin-top: 14px !important;
    margin-bottom: 14px !important;
    padding: 0 9px !important;
}

.checkout-top .woocommerce-form .rememberme-lost .rememberme {
    margin-top: 0 !important;
    text-align: left !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
}

.checkout-top .woocommerce-form .rememberme-lost .lost_password {
    margin: 0 !important;
    text-align: right !important;
}

.checkout-top .woocommerce-form .rememberme-lost .lost_password a {
    color: #064532 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    text-decoration: underline !important;
    transition: color 0.2s ease !important;
}

.checkout-top .woocommerce-form .rememberme-lost .lost_password a:hover {
    color: #042f22 !important;
    text-decoration: none !important;
}

/* ==========================================================================
   Book Author Display & Layout (Under Title in Catalog & Detailed Page)
   ========================================================================== */

/* Ensure author is positioned directly under the title in all product cards / loops */
.products-list.grid .product-wapper .products-content .contents,
.products-list.short .product-wapper .products-content .contents,
.products-list.list .product-wapper .products-content,
.bwp-widget-bannerproduct .content,
.bwp-countdown .products-content,
.products-content .contents,
.products-content {
    display: flex !important;
    flex-direction: column !important;
}

.products-content .contents .rating,
.products-content .rating {
    order: 1 !important;
}

.products-content .contents h3.product-title,
.products-content h3.product-title {
    order: 2 !important;
    margin-top: 0 !important;
    margin-bottom: 4px !important;
}

.products-content .contents .list-author,
.products-content .list-author {
    order: 3 !important;
    display: block !important;
    font-size: 12px !important;
    color: #767a79 !important;
    margin-top: 0 !important;
    margin-bottom: 6px !important;
    line-height: 1.4 !important;
    font-weight: 400 !important;
}

.products-content .contents .list-author a,
.products-content .list-author a,
.products-content .contents .list-author .item-author,
.products-content .list-author .item-author {
    color: #767a79 !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

.products-content .contents .list-author a:hover,
.products-content .list-author a:hover {
    color: #064532 !important;
    text-decoration: underline !important;
}

.products-content .contents .price,
.products-content .price,
.products-content .contents .product-price,
.products-content .product-price,
.products-content .contents .description,
.products-content .description,
.products-content .contents .available-box,
.products-content .available-box,
.products-content .contents .item-countdown,
.products-content .item-countdown,
.products-content .contents .product-button,
.products-content .product-button {
    order: 4 !important;
}

/* Author on Detailed Single Product Page & Quickview */
.single-product .bwp-single-info .handc-single-product-author,
.quickview-container .bwp-single-info .handc-single-product-author {
    display: block !important;
    width: 100% !important;
    font-size: 16px !important;
    color: #475569 !important;
    margin-top: 4px !important;
    margin-bottom: 15px !important;
    line-height: 1.5 !important;
}

.single-product .bwp-single-info .handc-single-product-author .author-label,
.quickview-container .bwp-single-info .handc-single-product-author .author-label {
    font-weight: 600 !important;
    color: #1e293b !important;
}

.single-product .bwp-single-info .handc-single-product-author .item-author a,
.quickview-container .bwp-single-info .handc-single-product-author .item-author a {
    color: #064532 !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

.single-product .bwp-single-info .handc-single-product-author .item-author a:hover,
.quickview-container .bwp-single-info .handc-single-product-author .item-author a:hover {
    color: #042f22 !important;
    text-decoration: underline !important;
}

.single-product .bwp-single-info .handc-single-product-author .author-name,
.quickview-container .bwp-single-info .handc-single-product-author .author-name {
    color: #064532 !important;
    font-weight: 600 !important;
}

/* Live Search Autocomplete - Author Display */
.bwp-header .header-search-form .result-search-products .item-search .item-content .author,
.result-search-products .item-search .item-content .author {
    font-size: 12px !important;
    color: #767a79 !important;
    margin-top: 3px !important;
    margin-bottom: 4px !important;
    line-height: 1.3 !important;
    font-weight: 400 !important;
}

.bwp-header .header-search-form .result-search-products .item-search .item-content .author b,
.result-search-products .item-search .item-content .author b {
    color: #064532 !important;
    font-weight: 700 !important;
}

/* ==========================================================================
   Browse By Authors Directory Page
   ========================================================================== */
body.product-author .bwp-main .page-title,
body.page-template-page-product-author .bwp-main .page-title {
    margin-bottom: 18px !important;
}

body.product-author #bwp-main > .container,
body.product-author #bwp-main > .container.author-browse-container,
.elementor-page #bwp-main > .container.author-browse-container,
.author-browse-container {
    max-width: none !important;
    width: auto !important;
    margin-left: 20px !important;
    margin-right: 20px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-top: 5px !important;
    padding-bottom: 50px !important;
    box-sizing: border-box !important;
}

body.product-author #bwp-main > .container.author-browse-container > .row,
.elementor-page #bwp-main > .container.author-browse-container > .row,
.author-browse-container > .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

body.product-author #bwp-main > .container.author-browse-container > .row > .col-lg-12,
.elementor-page #bwp-main > .container.author-browse-container > .row > .col-lg-12,
.author-browse-container .col-lg-12 {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Total Authors Count Banner */
.author-total-count-banner {
    margin-bottom: 12px;
    display: flex;
    justify-content: flex-end;
    text-align: right;
}

.author-total-count-text {
    font-size: 15px;
    font-weight: 700;
    color: #222222;
    letter-spacing: 0.2px;
}

/* Alphabet Bar */
.author-alphabet-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    background: #ffffff;
    border: 1px solid #e8ece9;
    border-radius: 6px;
    padding: 10px 16px;
    margin-bottom: 30px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.author-letter-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    font-size: 14px;
    font-weight: 700;
    color: #555555;
    text-decoration: none !important;
    border-radius: 4px;
    transition: all 0.2s ease;
    line-height: 1;
}

.author-letter-btn:hover {
    color: #4ba84e;
    background-color: #f2f8f1;
}

.author-letter-btn.active {
    background-color: #4ba84e !important;
    color: #ffffff !important;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(75, 168, 78, 0.35);
}

/* Heading & Count Row */
.author-browse-header {
    margin-top: 10px;
    margin-bottom: 25px;
}

.author-letter-title-row {
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.author-selected-letter {
    font-size: 32px;
    font-weight: 800;
    color: #4ba84e;
    line-height: 1;
}

.author-count-text {
    font-size: 14px;
    font-weight: 500;
    color: #666666;
}

.author-browse-divider {
    height: 1px;
    background: #e8e8e8;
    margin: 12px 0 28px 0;
    width: 100%;
}

/* Author Grid - 3 Columns */
.author-browse-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px 24px;
    margin-bottom: 40px;
}

.author-browse-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 6px 8px;
    border-radius: 6px;
    text-decoration: none !important;
    transition: background-color 0.2s ease;
}

.author-browse-card:hover {
    background-color: #f7faf5;
}

.author-avatar-wrap {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eef7ec;
    border: 1.5px solid #d2e8cb;
    flex-shrink: 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.author-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.author-initials {
    font-size: 14px;
    font-weight: 700;
    color: #438f2b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1;
}

.author-name-wrap {
    flex: 1;
    min-width: 0;
}

.author-name {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #222222;
    line-height: 1.35;
    word-break: break-word;
    transition: color 0.2s ease;
}

.author-browse-card:hover .author-name {
    color: #4ba84e;
}

/* Empty State */
.author-browse-empty {
    padding: 40px 20px;
    text-align: center;
    color: #777777;
    font-size: 16px;
}

/* Pagination */
.author-browse-pagination-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin: 35px 0 50px 0;
    flex-wrap: wrap;
}

.author-browse-pagination-wrap .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    border: 1px solid #dcdcdc;
    border-radius: 4px;
    color: #444444;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    background: #ffffff;
    transition: all 0.2s ease;
}

.author-browse-pagination-wrap .page-numbers:hover {
    border-color: #4ba84e;
    color: #4ba84e;
    background-color: #f6faf5;
}

.author-browse-pagination-wrap .page-numbers.current {
    background: #4ba84e !important;
    border-color: #4ba84e !important;
    color: #ffffff !important;
    box-shadow: 0 2px 5px rgba(75, 168, 78, 0.3);
}

.author-browse-pagination-wrap .page-numbers.dots {
    border: none;
    background: transparent;
    color: #888888;
}

/* Responsive */
@media (max-width: 991px) {
    .author-browse-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
    .author-alphabet-bar {
        justify-content: center;
        gap: 6px;
    }
    .author-letter-btn {
        padding: 5px 9px;
        font-size: 13px;
    }
}

@media (max-width: 600px) {
    .author-browse-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .author-letter-title-row {
        flex-direction: column;
        gap: 4px;
    }
    .author-selected-letter {
        font-size: 28px;
    }
}



