/**
 * TheBookNova - Main Theme Stylesheet
 * Responsive, Modern, Clean & High-Converting UI
 */

/* ==========================================================================
   1. HEADER & TOP ANNOUNCEMENT BAR
   ========================================================================== */
.tbn-topbar {
    background-color: var(--tbn-primary-dark);
    color: #e2e8f0;
    font-size: 13px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 7px 0;
}

.tbn-topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.tbn-topbar-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.tbn-topbar-info-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #cbd5e1;
}

.tbn-topbar-info-item a {
    color: #f1f5f9;
}

.tbn-topbar-info-item a:hover {
    color: var(--tbn-secondary);
}

.tbn-topbar-center {
    font-weight: 500;
    color: #fff;
    text-align: center;
    flex-grow: 1;
}

.tbn-topbar-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Currency Switcher */
.tbn-currency-switcher-wrap {
    position: relative;
    user-select: none;
}

.tbn-currency-current {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 4px 10px;
    border-radius: var(--tbn-radius-sm);
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    transition: all 0.2s ease;
}

.tbn-currency-current:hover {
    background: rgba(255, 255, 255, 0.2);
}

.tbn-currency-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 170px;
    background: var(--tbn-white);
    border: 1px solid var(--tbn-border);
    border-radius: var(--tbn-radius-md);
    box-shadow: var(--tbn-shadow-lg);
    list-style: none;
    padding: 6px 0;
    margin: 0;
    z-index: 1000;
    animation: tbnFadeIn 0.2s ease;
}

.tbn-currency-switcher-wrap.is-open .tbn-currency-dropdown {
    display: block;
}

.tbn-currency-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    color: var(--tbn-dark);
    font-size: 13px;
    cursor: pointer;
    transition: background 0.15s ease;
}

.tbn-currency-item:hover {
    background: var(--tbn-primary-light);
    color: var(--tbn-primary);
}

.tbn-currency-item.active {
    background: #f1f5f9;
    font-weight: 700;
    color: var(--tbn-primary);
}

.tbn-curr-tag {
    margin-left: auto;
    font-size: 11px;
    color: var(--tbn-text-muted);
}

/* Main Site Header */
.tbn-main-header {
    background: var(--tbn-white);
    border-bottom: 1px solid var(--tbn-border);
    position: relative;
    z-index: 900;
    transition: box-shadow 0.3s ease;
}

.tbn-main-header.is-sticky {
    position: sticky;
    top: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.tbn-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    gap: 24px;
}

/* Brand Logo */
.tbn-logo-wrap {
    flex-shrink: 0;
    max-height: 55px;
    display: flex;
    align-items: center;
}

.tbn-logo-link {
    display: inline-flex;
    align-items: center;
    max-height: 55px;
}

.tbn-brand-logo-img,
.custom-logo,
.tbn-logo-wrap img,
.tbn-logo-link img,
.site-header .custom-logo,
.tbn-footer-col .custom-logo,
.tbn-footer-col .tbn-brand-logo-img,
.tbn-footer-col .tbn-logo-link img {
    height: 46px !important;
    max-height: 46px !important;
    max-width: 220px !important;
    width: auto !important;
    object-fit: contain !important;
    display: block !important;
}

/* Live Search Bar */
.tbn-search-form-wrap {
    flex-grow: 1;
    max-width: 580px;
    position: relative;
}

.tbn-search-form {
    display: flex;
    align-items: center;
    border: 2px solid var(--tbn-primary);
    border-radius: var(--tbn-radius-full);
    background: #fff;
    overflow: hidden;
    transition: box-shadow 0.2s ease;
}

.tbn-search-form:focus-within {
    box-shadow: 0 0 0 4px rgba(0, 71, 51, 0.15);
}

.tbn-search-cat-select {
    border: none;
    background: #f8fafc;
    border-right: 1px solid var(--tbn-border);
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 500;
    color: var(--tbn-dark);
    outline: none;
    cursor: pointer;
    max-width: 140px;
}

.tbn-search-input {
    flex-grow: 1;
    border: none;
    padding: 11px 16px;
    font-size: 14px;
    outline: none;
    color: var(--tbn-dark);
}

.tbn-search-submit-btn {
    background: var(--tbn-secondary);
    color: #fff;
    border: none;
    padding: 11px 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.tbn-search-submit-btn:hover {
    background: var(--tbn-secondary-dark);
}

/* Live Search Results Dropdown */
.tbn-search-results-popup {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid var(--tbn-border);
    border-radius: var(--tbn-radius-md);
    box-shadow: var(--tbn-shadow-lg);
    z-index: 1100;
    max-height: 420px;
    overflow-y: auto;
    padding: 10px;
}

.tbn-search-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-radius: var(--tbn-radius-sm);
    transition: background 0.15s ease;
}

.tbn-search-item:hover {
    background: var(--tbn-primary-light);
}

.tbn-search-thumb {
    width: 44px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: var(--tbn-shadow-sm);
}

.tbn-search-details {
    flex-grow: 1;
}

.tbn-search-book-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--tbn-dark);
    margin-bottom: 2px;
}

.tbn-search-book-author {
    font-size: 12px;
    color: var(--tbn-text-muted);
}

.tbn-search-book-price {
    font-weight: 700;
    color: var(--tbn-secondary);
    font-size: 14px;
}

/* Header Actions */
.tbn-header-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.tbn-action-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--tbn-dark);
    font-size: 14px;
    font-weight: 600;
    position: relative;
    padding: 6px 10px;
    border-radius: var(--tbn-radius-md);
    transition: background 0.2s ease, color 0.2s ease;
}

.tbn-action-btn:hover {
    background: var(--tbn-primary-light);
    color: var(--tbn-primary);
}

.tbn-action-icon-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tbn-cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background: var(--tbn-secondary);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    height: 19px;
    min-width: 19px;
    padding: 0 5px;
    border-radius: var(--tbn-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(255, 91, 20, 0.4);
}

.tbn-cart-text-wrap {
    display: flex;
    flex-direction: column;
    text-align: left;
    line-height: 1.2;
}

.tbn-cart-sublabel {
    font-size: 11px;
    color: var(--tbn-text-muted);
    font-weight: 500;
}

.tbn-cart-total-badge {
    font-size: 13px;
    font-weight: 700;
    color: var(--tbn-primary);
}

/* Navigation Bar */
.tbn-nav-bar {
    background: var(--tbn-primary);
    color: #fff;
}

.tbn-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.tbn-browse-categories-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--tbn-primary-dark);
    color: #fff;
    padding: 13px 20px;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    border: none;
}

.tbn-primary-menu {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 5px;
}

.tbn-primary-menu > li > a {
    display: block;
    color: #f1f5f9;
    font-weight: 600;
    font-size: 14px;
    padding: 13px 16px;
    transition: background 0.2s ease, color 0.2s ease;
}

.tbn-primary-menu > li > a:hover,
.tbn-primary-menu > li.current-menu-item > a {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

/* Mega / Dropdown Menus */
.tbn-primary-menu li {
    position: relative;
}

.tbn-primary-menu ul.sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 220px;
    box-shadow: var(--tbn-shadow-lg);
    border-radius: 0 0 var(--tbn-radius-md) var(--tbn-radius-md);
    border: 1px solid var(--tbn-border);
    list-style: none;
    padding: 8px 0;
    margin: 0;
    z-index: 1000;
}

.tbn-primary-menu li:hover > ul.sub-menu {
    display: block;
}

.tbn-primary-menu ul.sub-menu a {
    display: block;
    padding: 8px 18px;
    color: var(--tbn-dark);
    font-size: 13px;
    font-weight: 500;
}

.tbn-primary-menu ul.sub-menu a:hover {
    background: var(--tbn-primary-light);
    color: var(--tbn-primary);
    padding-left: 22px;
}

.tbn-nav-deal-highlight {
    background: var(--tbn-secondary);
    color: #fff;
    padding: 5px 14px;
    border-radius: var(--tbn-radius-full);
    font-size: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    animation: tbnPulse 2s infinite;
}

/* ==========================================================================
   2. HERO SLIDER (SWIPER.JS)
   ========================================================================== */
.tbn-hero-section {
    padding: 24px 0 35px;
}

.tbn-hero-slider {
    border-radius: var(--tbn-radius-lg);
    overflow: hidden;
    box-shadow: var(--tbn-shadow-lg);
    background: #004733;
}

.tbn-hero-slide {
    position: relative;
    padding: 60px 50px;
    min-height: 480px;
    display: flex;
    align-items: center;
    color: #fff;
    background-size: cover;
    background-position: center;
}

.tbn-hero-slide.slide-1 {
    background: linear-gradient(135deg, #004733 0%, #002d20 60%, #0F172A 100%);
}

.tbn-hero-slide.slide-2 {
    background: linear-gradient(135deg, #003d2b 0%, #1e1b4b 60%, #004733 100%);
}

.tbn-hero-slide.slide-3 {
    background: linear-gradient(135deg, #1e293b 0%, #004733 60%, #7c2d12 100%);
}

.tbn-hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 40px;
    width: 100%;
}

.tbn-hero-badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--tbn-secondary);
    color: #fff;
    padding: 6px 14px;
    border-radius: var(--tbn-radius-full);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.tbn-hero-title {
    font-size: 44px;
    line-height: 1.15;
    color: #fff;
    margin-bottom: 16px;
    font-weight: 800;
}

.tbn-hero-desc {
    font-size: 16px;
    color: #e2e8f0;
    margin-bottom: 25px;
    max-width: 500px;
    line-height: 1.6;
}

.tbn-hero-btn-group {
    display: flex;
    align-items: center;
    gap: 15px;
}

.tbn-btn-primary {
    background: var(--tbn-secondary);
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    padding: 13px 28px;
    border-radius: var(--tbn-radius-full);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 6px 20px rgba(255, 91, 20, 0.4);
    transition: all 0.25s ease;
    border: none;
    cursor: pointer;
}

.tbn-btn-primary:hover {
    background: var(--tbn-secondary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 91, 20, 0.5);
    color: #fff;
}

.tbn-btn-outline-white {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.5);
    font-weight: 600;
    font-size: 15px;
    padding: 11px 24px;
    border-radius: var(--tbn-radius-full);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s ease;
}

.tbn-btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #fff;
    color: #fff;
}

/* 3D Book Presentation in Hero */
.tbn-hero-book-showcase {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tbn-hero-book-card {
    width: 250px;
    height: 360px;
    background: #fff;
    border-radius: 12px;
    padding: 10px;
    box-shadow: -15px 20px 40px rgba(0, 0, 0, 0.45);
    transform: perspective(1000px) rotateY(-12deg) rotateX(4deg);
    transition: transform 0.4s ease;
    position: relative;
}

.tbn-hero-book-card:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) scale(1.03);
}

.tbn-hero-book-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.tbn-hero-float-badge {
    position: absolute;
    bottom: -15px;
    right: -15px;
    background: var(--tbn-gold);
    color: #000;
    padding: 12px 18px;
    border-radius: var(--tbn-radius-lg);
    font-weight: 800;
    font-size: 14px;
    box-shadow: var(--tbn-shadow-md);
    transform: rotate(-4deg);
}

/* Swiper Controls */
.swiper-button-next, .swiper-button-prev {
    color: #fff !important;
    background: rgba(0, 0, 0, 0.4);
    width: 44px !important;
    height: 44px !important;
    border-radius: 50%;
    backdrop-filter: blur(4px);
    transition: all 0.2s ease;
}

.swiper-button-next:hover, .swiper-button-prev:hover {
    background: var(--tbn-secondary);
}

.swiper-button-next::after, .swiper-button-prev::after {
    font-size: 18px !important;
    font-weight: bold;
}

.swiper-pagination-bullet-active {
    background: var(--tbn-secondary) !important;
    width: 24px !important;
    border-radius: 6px !important;
}

/* ==========================================================================
   3. TRUST FEATURES STRIP
   ========================================================================== */
.tbn-trust-features-strip {
    background: #fff;
    border-radius: var(--tbn-radius-lg);
    padding: 24px 30px;
    box-shadow: var(--tbn-shadow-sm);
    border: 1px solid var(--tbn-border);
    margin-bottom: 40px;
}

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

.tbn-trust-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.tbn-trust-icon-box {
    width: 52px;
    height: 52px;
    background: var(--tbn-primary-light);
    color: var(--tbn-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.tbn-trust-info h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 2px;
    color: var(--tbn-dark);
}

.tbn-trust-info p {
    font-size: 12px;
    color: var(--tbn-text-muted);
    margin: 0;
}

/* ==========================================================================
   4. CATEGORIES / GENRE GRID
   ========================================================================== */
.tbn-section-heading-wrap {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 28px;
}

.tbn-section-tag {
    color: var(--tbn-secondary);
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
    display: block;
}

.tbn-section-title {
    font-size: 30px;
    color: var(--tbn-dark);
}

.tbn-section-link {
    font-weight: 700;
    font-size: 14px;
    color: var(--tbn-primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.tbn-section-link:hover {
    color: var(--tbn-secondary);
    transform: translateX(4px);
}

.tbn-genre-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    margin-bottom: 50px;
}

.tbn-genre-card {
    background: #fff;
    border: 1px solid var(--tbn-border);
    border-radius: var(--tbn-radius-lg);
    padding: 24px 16px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--tbn-shadow-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tbn-genre-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--tbn-shadow-md);
    border-color: var(--tbn-primary);
}

.tbn-genre-icon-wrap {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: var(--tbn-light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin-bottom: 14px;
    transition: background 0.3s ease, transform 0.3s ease;
}

.tbn-genre-card:hover .tbn-genre-icon-wrap {
    background: var(--tbn-primary-light);
    transform: scale(1.1);
}

.tbn-genre-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--tbn-dark);
    margin-bottom: 4px;
}

.tbn-genre-count {
    font-size: 12px;
    color: var(--tbn-text-muted);
}

/* ==========================================================================
   5. PRODUCT CARDS & TABS
   ========================================================================== */
.tbn-product-tabs-header {
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 2px solid var(--tbn-border);
    margin-bottom: 30px;
    padding-bottom: 12px;
}

.tbn-tab-btn {
    background: transparent;
    border: none;
    font-size: 16px;
    font-weight: 700;
    color: var(--tbn-text-muted);
    padding: 8px 18px;
    border-radius: var(--tbn-radius-full);
    cursor: pointer;
    transition: all 0.2s ease;
}

.tbn-tab-btn.is-active,
.tbn-tab-btn:hover {
    background: var(--tbn-primary);
    color: #fff;
}

.tbn-book-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 50px;
}

/* Book Product Card */
.tbn-book-card {
    background: #fff;
    border: 1px solid var(--tbn-border);
    border-radius: var(--tbn-radius-lg);
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: var(--tbn-shadow-sm);
}

.tbn-book-card:hover {
    box-shadow: var(--tbn-shadow-md);
    transform: translateY(-5px);
    border-color: rgba(0, 71, 51, 0.3);
}

.tbn-book-card-top {
    position: relative;
    background: #f8fafc;
    padding: 24px 20px 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.tbn-book-cover-img {
    height: 220px;
    width: auto;
    max-width: 160px;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: var(--tbn-shadow-book);
    transition: transform 0.3s ease;
}

.tbn-book-card:hover .tbn-book-cover-img {
    transform: scale(1.04);
}

.tbn-card-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 2;
}

.tbn-quick-actions {
    position: absolute;
    right: 12px;
    top: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.25s ease;
    z-index: 2;
}

.tbn-book-card:hover .tbn-quick-actions {
    opacity: 1;
    transform: translateX(0);
}

.tbn-quick-btn {
    width: 36px;
    height: 36px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--tbn-shadow-sm);
    color: var(--tbn-dark);
    border: none;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.tbn-quick-btn:hover {
    background: var(--tbn-secondary);
    color: #fff;
}

.tbn-book-card-body {
    padding: 16px 20px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.tbn-book-genre-tag {
    font-size: 11px;
    font-weight: 700;
    color: var(--tbn-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.tbn-book-card-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 6px;
    color: var(--tbn-dark);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tbn-book-author {
    font-size: 13px;
    color: var(--tbn-text-muted);
    margin-bottom: 10px;
}

.tbn-star-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 12px;
}

.tbn-stars {
    color: var(--tbn-gold);
    font-size: 14px;
    letter-spacing: 1px;
}

.tbn-review-count {
    font-size: 12px;
    color: var(--tbn-text-muted);
}

.tbn-book-card-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid var(--tbn-border);
}

.tbn-card-price-wrap {
    display: flex;
    flex-direction: column;
}

.tbn-price-sale {
    font-size: 18px;
    font-weight: 800;
    color: var(--tbn-primary);
}

.tbn-price-regular {
    font-size: 13px;
    color: var(--tbn-text-muted);
    text-decoration: line-through;
}

.tbn-add-to-cart-btn {
    background: var(--tbn-primary);
    color: #fff;
    border: none;
    padding: 8px 14px;
    border-radius: var(--tbn-radius-sm);
    font-weight: 700;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.tbn-add-to-cart-btn:hover {
    background: var(--tbn-secondary);
    color: #fff;
}

/* ==========================================================================
   6. DEAL OF THE DAY (FLASH SALE)
   ========================================================================== */
.tbn-deal-section {
    background: linear-gradient(135deg, #004733 0%, #002e21 100%);
    border-radius: var(--tbn-radius-lg);
    color: #fff;
    padding: 50px 45px;
    margin-bottom: 60px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--tbn-shadow-lg);
}

.tbn-deal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
}

.tbn-deal-badge {
    background: var(--tbn-secondary);
    color: #fff;
    padding: 6px 14px;
    border-radius: var(--tbn-radius-full);
    font-weight: 800;
    font-size: 12px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 12px;
}

.tbn-deal-title {
    font-size: 36px;
    color: #fff;
    margin-bottom: 14px;
}

.tbn-deal-desc {
    color: #cbd5e1;
    font-size: 15px;
    margin-bottom: 24px;
}

/* Countdown Clock */
.tbn-countdown-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
}

.tbn-countdown-unit {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--tbn-radius-md);
    padding: 10px 16px;
    text-align: center;
    min-width: 68px;
}

.tbn-count-num {
    font-size: 26px;
    font-weight: 800;
    color: var(--tbn-gold);
    display: block;
    line-height: 1;
}

.tbn-count-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #e2e8f0;
    margin-top: 4px;
    display: block;
}

/* Progress Stock */
.tbn-stock-meter-wrap {
    margin-bottom: 25px;
    max-width: 400px;
}

.tbn-stock-labels {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    margin-bottom: 6px;
    color: #e2e8f0;
}

.tbn-stock-bar-track {
    background: rgba(255, 255, 255, 0.2);
    height: 10px;
    border-radius: var(--tbn-radius-full);
    overflow: hidden;
}

.tbn-stock-bar-fill {
    background: linear-gradient(90deg, var(--tbn-gold), var(--tbn-secondary));
    height: 100%;
    width: 78%;
    border-radius: var(--tbn-radius-full);
}

/* ==========================================================================
   7. ADVANCED SINGLE PRODUCT PAGE & SHIPPING / UPSELLS
   ========================================================================== */
.tbn-single-product-container {
    padding: 40px 0 60px;
}

.tbn-single-product-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 45px;
    margin-bottom: 50px;
}

.tbn-product-gallery-box {
    position: sticky;
    top: 90px;
    max-width: 440px;
    margin: 0 auto;
    width: 100%;
}

.tbn-main-book-cover {
    background: #fff;
    border: 1px solid var(--tbn-border);
    border-radius: var(--tbn-radius-lg);
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--tbn-shadow-md);
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
    position: relative;
    overflow: hidden;
}

.tbn-main-book-cover img,
.tbn-single-cover-img {
    max-height: 380px;
    max-width: 260px;
    width: auto;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: var(--tbn-shadow-book);
    display: block;
    transition: transform 0.3s ease;
}

.tbn-main-book-cover:hover img,
.tbn-main-book-cover:hover .tbn-3d-book-cover {
    transform: scale(1.03) translateY(-4px);
}

.tbn-single-author-meta {
    font-size: 16px;
    color: var(--tbn-primary);
    font-weight: 600;
    margin-bottom: 10px;
}

.tbn-single-title {
    font-size: 32px;
    margin-bottom: 12px;
    color: var(--tbn-dark);
}

/* Format Selector (Hardcover, Paperback, etc.) */
.tbn-format-selector-wrap {
    margin: 20px 0;
}

.tbn-format-label {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: block;
    color: var(--tbn-dark);
}

.tbn-format-options-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 10px;
    width: 100%;
}

.tbn-format-chip {
    border: 2px solid var(--tbn-border);
    border-radius: var(--tbn-radius-md);
    padding: 10px 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #fff;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 4px;
    user-select: none;
}

.tbn-format-chip.is-active {
    border-color: var(--tbn-primary) !important;
    background: var(--tbn-primary-light) !important;
    box-shadow: 0 0 0 1px var(--tbn-primary);
}

.tbn-format-chip:hover {
    border-color: var(--tbn-primary);
}

.tbn-format-chip-name {
    font-weight: 700;
    font-size: 13px;
    color: var(--tbn-dark);
    display: block;
}

.tbn-format-chip-price {
    font-size: 13px;
    color: var(--tbn-primary);
    font-weight: 700;
    display: block;
}

.tbn-format-chip-price del {
    font-size: 11px;
    color: var(--tbn-text-muted);
    margin-right: 4px;
}

.tbn-format-chip-price ins {
    text-decoration: none;
}

.tbn-format-chip-price .screen-reader-text {
    display: none !important;
}

.tbn-main-price-val {
    font-size: 30px;
    font-weight: 800;
    color: var(--tbn-primary);
    line-height: 1.2;
}

.tbn-main-price-val del {
    font-size: 18px;
    color: var(--tbn-text-muted);
    font-weight: 500;
    margin-right: 8px;
}

.tbn-main-price-val ins {
    text-decoration: none;
    color: var(--tbn-primary);
    font-weight: 800;
}

.tbn-main-price-val .screen-reader-text {
    display: none !important;
}

/* Dynamic Shipping Estimator UI */
.tbn-shipping-estimator-box {
    background: #fff;
    border: 1.5px solid #d1fae5;
    border-radius: var(--tbn-radius-lg);
    padding: 20px;
    margin: 24px 0;
    box-shadow: 0 4px 15px rgba(0, 71, 51, 0.05);
}

.tbn-shipping-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--tbn-border);
    margin-bottom: 14px;
}

.tbn-shipping-title-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.tbn-shipping-badge-icon {
    font-size: 26px;
}

.tbn-shipping-heading {
    font-size: 16px;
    font-weight: 700;
    color: var(--tbn-dark);
    margin: 0;
}

.tbn-shipping-subtext {
    font-size: 12px;
    color: var(--tbn-primary);
    font-weight: 600;
    margin: 0;
}

.tbn-shipping-live-est {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    padding: 6px 12px;
    border-radius: var(--tbn-radius-sm);
    text-align: right;
}

.tbn-est-tag {
    font-size: 11px;
    color: #166534;
    display: block;
}

.tbn-est-date {
    font-size: 13px;
    color: #15803d;
    font-weight: 800;
}

.tbn-shipping-options-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 14px;
}

.tbn-shipping-option-card {
    border: 1.5px solid var(--tbn-border);
    border-radius: var(--tbn-radius-md);
    padding: 12px 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #fff;
    position: relative;
}

.tbn-shipping-option-card:hover {
    border-color: var(--tbn-primary);
}

.tbn-shipping-option-card.is-selected {
    border-color: var(--tbn-primary);
    background: #f0fdf4;
}

.tbn-shipping-option-card input[type="radio"] {
    display: none;
}

.tbn-ship-radio-circle {
    width: 16px;
    height: 16px;
    border: 2px solid #cbd5e1;
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
}

.tbn-shipping-option-card.is-selected .tbn-ship-radio-circle {
    border-color: var(--tbn-primary);
}

.tbn-shipping-option-card.is-selected .tbn-ship-radio-circle::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 6px;
    height: 6px;
    background: var(--tbn-primary);
    border-radius: 50%;
}

.tbn-ship-info {
    flex-grow: 1;
    line-height: 1.2;
}

.tbn-ship-name {
    font-size: 12px;
    color: var(--tbn-dark);
    display: block;
}

.tbn-ship-days {
    font-size: 11px;
    color: var(--tbn-text-muted);
}

.tbn-ship-cost {
    font-size: 13px;
    color: var(--tbn-primary);
    font-weight: 700;
}

.tbn-shipping-footer-note {
    font-size: 12px;
    color: #4b5563;
    display: flex;
    align-items: center;
    gap: 6px;
    background: #f9fafb;
    padding: 8px 12px;
    border-radius: var(--tbn-radius-sm);
}

/* Frequently Bought Together (3-Product Bundle) */
.tbn-fbt-bundle-wrap {
    background: #fff;
    border: 2px solid var(--tbn-border);
    border-radius: var(--tbn-radius-lg);
    padding: 30px;
    margin: 45px 0;
    box-shadow: var(--tbn-shadow-md);
}

.tbn-fbt-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--tbn-border);
}

.tbn-fbt-badge {
    background: var(--tbn-secondary);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: var(--tbn-radius-full);
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 6px;
}

.tbn-fbt-title {
    font-size: 22px;
    color: var(--tbn-dark);
    margin: 0 0 4px;
}

.tbn-fbt-subtitle {
    font-size: 13px;
    color: var(--tbn-text-muted);
    margin: 0;
}

.tbn-fbt-save-pill {
    background: #fef3c7;
    color: #92400e;
    font-weight: 800;
    font-size: 13px;
    padding: 6px 14px;
    border-radius: var(--tbn-radius-full);
    border: 1px solid #fde68a;
}

.tbn-fbt-container {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr;
    gap: 30px;
    align-items: center;
    margin-bottom: 25px;
}

.tbn-fbt-covers-row {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 10px 0;
}

.tbn-fbt-plus-symbol {
    font-size: 22px;
    font-weight: 900;
    color: var(--tbn-primary);
}

.tbn-fbt-cover-card {
    flex-shrink: 0;
    width: 100px;
}

.tbn-fbt-img-box {
    position: relative;
    background: #f8fafc;
    border-radius: 8px;
    padding: 6px;
    border: 1px solid var(--tbn-border);
    transition: all 0.2s ease;
}

.tbn-fbt-cover-card:hover .tbn-fbt-img-box {
    border-color: var(--tbn-primary);
    transform: translateY(-4px);
}

.tbn-fbt-img-box img {
    height: 130px;
    width: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.tbn-fbt-tag-this {
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--tbn-primary);
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: var(--tbn-radius-full);
    white-space: nowrap;
}

/* FBT Action Box */
.tbn-fbt-action-box {
    background: #f8fafc;
    border: 1px solid var(--tbn-border);
    border-radius: var(--tbn-radius-md);
    padding: 20px;
    text-align: center;
}

.tbn-fbt-total-label {
    font-size: 13px;
    color: var(--tbn-text-muted);
    margin-bottom: 4px;
}

.tbn-fbt-price-display {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
    margin-bottom: 4px;
}

.tbn-fbt-final-price {
    font-size: 24px;
    font-weight: 800;
    color: var(--tbn-primary);
}

.tbn-fbt-regular-price {
    font-size: 14px;
    color: var(--tbn-text-muted);
    text-decoration: line-through;
}

.tbn-fbt-savings-text {
    font-size: 12px;
    color: var(--tbn-secondary);
    font-weight: 700;
    margin-bottom: 16px;
}

.tbn-fbt-add-all-btn {
    width: 100%;
    background: var(--tbn-secondary);
    color: #fff;
    border: none;
    padding: 13px 20px;
    border-radius: var(--tbn-radius-full);
    font-weight: 800;
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(255, 91, 20, 0.35);
    transition: all 0.2s ease;
}

.tbn-fbt-add-all-btn:hover {
    background: var(--tbn-secondary-dark);
    transform: translateY(-2px);
}

.tbn-fbt-checklist {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 15px;
    border-top: 1px solid var(--tbn-border);
}

.tbn-fbt-check-item {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 13px;
}

.tbn-fbt-check-item input[type="checkbox"] {
    width: 17px;
    height: 17px;
    accent-color: var(--tbn-primary);
    cursor: pointer;
}

.tbn-fbt-item-details {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.tbn-fbt-item-title {
    color: var(--tbn-dark);
    font-weight: 600;
}

.tbn-fbt-item-title:hover {
    color: var(--tbn-primary);
}

.tbn-fbt-item-price {
    color: var(--tbn-primary);
}

/* Book Specification Table */
.tbn-book-specs-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.tbn-book-specs-table th, .tbn-book-specs-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--tbn-border);
    font-size: 14px;
}

.tbn-book-specs-table th {
    width: 30%;
    color: var(--tbn-text-muted);
    font-weight: 600;
    text-align: left;
    background: #f8fafc;
}

.tbn-book-specs-table td {
    color: var(--tbn-dark);
    font-weight: 600;
}

/* ==========================================================================
   8. CHECKOUT & PAYMENT GATEWAYS UI
   ========================================================================== */
.tbn-checkout-trust-box {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: var(--tbn-radius-md);
    padding: 16px 20px;
    margin-top: 25px;
}

.tbn-trust-row-badge {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}

.tbn-trust-shield {
    font-size: 24px;
}

.tbn-trust-row-badge strong {
    font-size: 14px;
    color: #166534;
    display: block;
}

.tbn-trust-row-badge p {
    font-size: 12px;
    color: #15803d;
    margin: 0;
}

.tbn-trust-icons-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.tbn-pay-badge {
    display: inline-flex;
    align-items: center;
    box-shadow: var(--tbn-shadow-sm);
    border-radius: 4px;
}

.tbn-checkout-speed-badge {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    padding: 10px 14px;
    border-radius: var(--tbn-radius-sm);
    display: flex;
    align-items: center;
    gap: 8px;
    color: #1e40af;
    font-size: 13px;
    font-weight: 600;
}

/* Free Shipping Meter */
.tbn-free-shipping-meter {
    background: #fff;
    border: 1px solid var(--tbn-border);
    border-radius: var(--tbn-radius-md);
    padding: 14px 18px;
    margin-bottom: 20px;
    box-shadow: var(--tbn-shadow-sm);
}

.tbn-meter-text {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--tbn-dark);
}

.tbn-meter-bar-track {
    background: #e2e8f0;
    height: 8px;
    border-radius: var(--tbn-radius-full);
    overflow: hidden;
}

.tbn-meter-bar-fill {
    background: linear-gradient(90deg, var(--tbn-primary), var(--tbn-secondary));
    height: 100%;
    transition: width 0.4s ease;
}

/* ==========================================================================
   9. FOOTER & TRUST STRIP
   ========================================================================== */
.tbn-site-footer {
    background: var(--tbn-dark);
    color: #94a3b8;
    padding-top: 60px;
    font-size: 14px;
    position: relative;
}

.tbn-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
    gap: 40px;
    margin-bottom: 50px;
}

.tbn-footer-widget-title {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.tbn-footer-widget-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 36px;
    height: 2px;
    background: var(--tbn-secondary);
}

.tbn-footer-about-text {
    line-height: 1.7;
    margin-bottom: 20px;
    color: #cbd5e1;
}

.tbn-footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tbn-footer-links-list li {
    margin-bottom: 10px;
}

.tbn-footer-links-list a {
    color: #cbd5e1;
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.tbn-footer-links-list a:hover {
    color: var(--tbn-secondary);
    padding-left: 6px;
}

.tbn-newsletter-box p {
    color: #cbd5e1;
    margin-bottom: 15px;
}

.tbn-newsletter-form {
    display: flex;
    border-radius: var(--tbn-radius-full);
    overflow: hidden;
    background: #fff;
}

.tbn-newsletter-input {
    flex-grow: 1;
    border: none;
    padding: 12px 18px;
    outline: none;
    font-size: 13px;
}

.tbn-newsletter-btn {
    background: var(--tbn-secondary);
    color: #fff;
    border: none;
    padding: 12px 20px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease;
}

.tbn-newsletter-btn:hover {
    background: var(--tbn-secondary-dark);
}

.tbn-footer-socials {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.tbn-social-circle {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.2s ease;
}

.tbn-social-circle:hover {
    background: var(--tbn-secondary);
    transform: translateY(-3px);
}

.tbn-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    font-size: 13px;
}

/* ==========================================================================
   10. MOBILE BOTTOM NAVIGATION & RESPONSIVENESS
   ========================================================================== */
.tbn-mobile-bottom-nav {
    display: none;
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100vw !important;
    max-width: 100% !important;
    background: #ffffff !important;
    border-top: 1px solid var(--tbn-border) !important;
    box-shadow: 0 -3px 12px rgba(0, 0, 0, 0.08) !important;
    z-index: 999999 !important;
    padding: 6px 0 8px !important;
    box-sizing: border-box !important;
}

.tbn-mobile-nav-grid {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-evenly !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

.tbn-mob-nav-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 1 1 20% !important;
    width: 20% !important;
    max-width: 20% !important;
    min-width: 0 !important;
    padding: 2px 0 !important;
    color: var(--tbn-text-muted) !important;
    font-size: 10px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    text-align: center !important;
    box-sizing: border-box !important;
    position: relative !important;
}

.tbn-mob-nav-item.is-active,
.tbn-mob-nav-item:hover {
    color: var(--tbn-primary) !important;
}

.tbn-mob-icon-wrap {
    font-size: 18px !important;
    line-height: 1 !important;
    margin-bottom: 2px !important;
    position: relative !important;
    display: inline-block !important;
}

.tbn-mob-nav-item span {
    font-size: 10px !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: block !important;
    max-width: 100% !important;
}

.tbn-mob-icon-wrap .tbn-cart-count {
    position: absolute !important;
    top: -5px !important;
    right: -8px !important;
    background: var(--tbn-secondary) !important;
    color: #fff !important;
    font-size: 9px !important;
    font-weight: 800 !important;
    width: 16px !important;
    height: 16px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
}

/* Media Queries */
@media (max-width: 1024px) {
    .tbn-genre-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .tbn-book-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .tbn-footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .tbn-trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .tbn-topbar {
        display: none;
    }
    .tbn-nav-bar {
        display: none;
    }
    .tbn-mobile-bottom-nav {
        display: block;
    }

    /* Mobile Header Layout: Row 1 = Logo + Actions, Row 2 = Search */
    .tbn-header-inner {
        flex-wrap: wrap;
        gap: 10px;
        padding: 10px 0;
    }
    .tbn-logo-wrap {
        order: 1;
        max-width: 55%;
        flex: 1 1 auto;
    }
    .tbn-header-actions {
        order: 2;
        gap: 8px;
        margin-left: auto;
        flex-shrink: 0;
    }
    .tbn-cart-text-wrap {
        display: none !important;
    }
    .tbn-action-btn {
        padding: 6px 8px;
    }
    .tbn-search-form-wrap {
        order: 3;
        width: 100%;
        max-width: 100%;
        flex-basis: 100%;
    }
    .tbn-search-cat-select {
        display: none !important;
    }
    .tbn-brand-logo-img,
    .custom-logo,
    .tbn-logo-wrap img,
    .tbn-logo-link img {
        height: 38px !important;
        max-height: 38px !important;
        max-width: 160px !important;
    }
    body {
        padding-bottom: 65px;
    }
    .tbn-hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .tbn-hero-title {
        font-size: 32px;
    }
    .tbn-hero-btn-group {
        justify-content: center;
    }
    .tbn-hero-book-showcase {
        display: none;
    }
    .tbn-genre-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .tbn-deal-grid {
        grid-template-columns: 1fr;
    }

    /* Mobile Single Product Optimizations */
    .tbn-single-product-container {
        padding: 15px 0 40px !important;
    }
    .tbn-single-product-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        display: flex !important;
        flex-direction: column !important;
        margin-bottom: 30px !important;
    }
    .tbn-product-gallery-box {
        position: static !important;
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 !important;
    }
    .tbn-main-book-cover {
        min-height: 320px !important;
        padding: 20px 15px !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }
    .tbn-main-book-cover .tbn-3d-book-cover {
        max-width: 100% !important;
        width: 220px !important;
        height: 330px !important;
    }
    .tbn-single-title {
        font-size: 22px !important;
        line-height: 1.3 !important;
        margin-bottom: 10px !important;
    }
    .tbn-single-price-box div {
        font-size: 26px !important;
    }
    .tbn-format-options-row {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 8px !important;
        width: 100% !important;
    }
    .tbn-format-chip {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 10px 14px !important;
        text-align: left !important;
    }
    .tbn-shipping-options-grid {
        grid-template-columns: 1fr !important;
        gap: 8px !important;
    }
    .tbn-shipping-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 8px !important;
    }
    .tbn-shipping-live-est {
        width: 100% !important;
        box-sizing: border-box !important;
        text-align: left !important;
    }
    .tbn-single-add-to-cart-wrap {
        margin: 15px 0 !important;
    }
    .single-product div.product form.cart {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
    }
    .single-product div.product form.cart .quantity {
        width: 100% !important;
    }
    .single-product div.product form.cart .quantity input.qty {
        width: 100% !important;
        height: 48px !important;
        font-size: 16px !important;
    }
    .single-product div.product form.cart button.single_add_to_cart_button {
        width: 100% !important;
        height: 50px !important;
        font-size: 16px !important;
        justify-content: center !important;
    }
    .tbn-custom-product-tabs {
        padding: 18px 14px !important;
        margin-bottom: 30px !important;
    }
    .tbn-tab-nav {
        display: flex !important;
        overflow-x: auto !important;
        white-space: nowrap !important;
        gap: 8px !important;
        padding-bottom: 10px !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
    }
    .tbn-tab-nav::-webkit-scrollbar {
        display: none !important;
    }
    .tbn-tab-link {
        font-size: 13px !important;
        padding: 8px 12px !important;
        flex-shrink: 0 !important;
    }
    .tbn-book-specs-table {
        display: block !important;
        width: 100% !important;
    }
    .tbn-book-specs-table tbody {
        display: block !important;
        width: 100% !important;
    }
    .tbn-book-specs-table tr {
        display: flex !important;
        flex-direction: column !important;
        padding: 8px 0 !important;
        border-bottom: 1px solid var(--tbn-border) !important;
    }
    .tbn-book-specs-table th {
        width: 100% !important;
        padding: 2px 0 !important;
        font-size: 12px !important;
    }
    .tbn-book-specs-table td {
        width: 100% !important;
        padding: 2px 0 !important;
        font-size: 14px !important;
        font-weight: 600 !important;
    }
    .tbn-fbt-bundle-wrap {
        padding: 20px 14px !important;
        margin-bottom: 30px !important;
    }
    .tbn-fbt-container {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    .tbn-fbt-covers-row {
        gap: 6px !important;
        justify-content: center !important;
        flex-wrap: wrap !important;
    }
    .tbn-fbt-cover-card {
        flex: 0 0 auto !important;
    }
    .tbn-fbt-action-box {
        width: 100% !important;
    }
    .tbn-fbt-add-all-btn {
        width: 100% !important;
        justify-content: center !important;
    }
    .tbn-related-books-section {
        margin-top: 30px !important;
    }
    .tbn-book-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
    .tbn-book-card {
        padding: 10px !important;
    }
    .tbn-footer-grid {
        grid-template-columns: 1fr;
    }
    .tbn-footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* Animations */
@keyframes tbnFadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes tbnPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}
