/* ============================================
   Consolidated styles for all pages
   ============================================ */

/* ============================================
   1. VARIABLES & GENERAL STYLES
   ============================================ */

:root {
    --primary-color: #303030;
    --secondary-color: #6c757d;
    --dark-color: #212529;
    --light-color: #f8f9fa;
    --accent-color: #f06270;
    --border-color: #e8e8e8;
    --text-color: #1a1a1a;
    --text-muted: #6c757d;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
    color: var(--text-color);
}

a {
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--primary-color) !important;
}

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

.form-control:focus {
  border-color: inherit;
  -webkit-box-shadow: none;
  box-shadow: none;
  outline: 0;
}

/* ============================================
   2. TOP BAR & NAVIGATION
   ============================================ */

.top-bar {
    font-size: 0.9rem;
}

.navbar {
    padding: 1rem 0;
}

.navbar-brand {
    font-weight: 700;
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem;
    position: relative;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 2px;
    background-color: var(--primary-color);
}

/* ============================================
   3. HERO SLIDER
   ============================================ */

.hero-slider {
    position: relative;
}

.hero-item {
    background-size: cover;
    background-position: center;
    height: 600px;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: relative;
    z-index: 1;
    color: white;
}

.hero-content h1,
.hero-content p {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* ============================================
   4. OWL CAROUSEL GLOBAL
   ============================================ */

.owl-carousel .owl-item {
    padding: 10px;
}

.owl-carousel .owl-dots {
    margin-top: 2rem;
}

.owl-carousel .owl-dot span {
    width: 12px;
    height: 12px;
    margin: 5px 7px;
    background: #d6d6d6;
    display: block;
    border-radius: 50%;
}

.owl-carousel .owl-dot.active span {
    background: var(--primary-color);
}

/* ============================================
   5. FEATURE BOXES
   ============================================ */

.feature-box {
    transition: all 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-5px);
}

/* ============================================
   6. PRODUCT CARDS
   ============================================ */

.product-card {
    transition: transform 0.3s ease;
}

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

.product-card .card {
    transition: box-shadow 0.3s ease;
}

.product-card:hover .card {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* ============================================
   7. CATEGORY CARDS
   ============================================ */

.category-card {
    transition: all 0.3s ease;
    cursor: pointer;
}

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

/* ============================================
   8. BUTTONS
   ============================================ */

.btn-danger {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-danger:hover {
    background-color: #c82333;
    border-color: #c82333;
}

.btn-outline-danger {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-danger:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* ============================================
   9. FOOTER
   ============================================ */

footer a:hover {
    color: white !important;
}

.social-links a {
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-color) !important;
    transform: translateY(-3px);
    display: inline-block;
}

/* ============================================
   10. SEARCH BOX
   ============================================ */

.search-box input {
    border-radius: 20px 0 0 20px;
    min-width: 300px
}

.search-box button {
    border-radius: 0 20px 20px 0;
}

/* ============================================
   11. RESPONSIVE BASE
   ============================================ */

@media (max-width: 991px) {
    .hero-item {
        height: 400px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .search-box {
        margin-top: 1rem;
    }
}

@media (max-width: 768px) {
    .hero-item {
        height: 350px;
    }
    
    .hero-content h1 {
        font-size: 1.5rem;
    }
}

/* ============================================
   12. ANIMATIONS
   ============================================ */

.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ============================================
   13. CUSTOM SCROLLBAR
   ============================================ */

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #c82333;
}

/* ============================================
   14. FEATURED BOOKS SECTION (TABS + GRID)
   ============================================ */

.featured-books-section {
    background-color: #ffffff;
    padding: 60px 0;
}

.featured-books-section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 20px;
}

.featured-books-section .nav-tabs {
    border-bottom: none;
    justify-content: center;
    margin-bottom: 40px;
}

.featured-books-section .nav-tabs .nav-link {
    border: none;
    background: transparent;
    color: #6c757d;
    font-weight: 500;
    font-size: 1rem;
    padding: 10px 25px;
    position: relative;
    transition: color 0.3s ease;
}

.featured-books-section .nav-tabs .nav-link:hover {
    color: #000000;
    border: none;
}

.featured-books-section .nav-tabs .nav-link.active {
    color: #000000;
    font-weight: 600;
    border: none;
    background: transparent;
}

.featured-books-section .nav-tabs .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 2px;
    background-color: #000000;
}

.featured-books-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
}

.book-item {
    border-right: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    padding: 25px 15px;
    text-align: center;
    background-color: #ffffff;
    transition: all 0.3s ease;
    cursor: pointer;
}

.book-item:hover {
    background-color: #f8f9fa;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.book-item:nth-child(6n) {
    border-right: none;
}

.book-item:nth-last-child(-n+6) {
    border-bottom: none;
}

.book-image {
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 220px;
}

.book-image img {
    max-width: 100%;
    max-height: 220px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.book-item:hover .book-image img {
    transform: scale(1.05);
}

.book-info {
    text-align: left;
}

.book-format {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    color: #dc3545;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.book-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #000000;
    margin-bottom: 8px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 2.6em;
}

.book-author {
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 10px;
}

.book-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 0;
}

@media (max-width: 1400px) {
    .featured-books-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .book-item:nth-child(6n) {
        border-right: 1px solid #e0e0e0;
    }
    
    .book-item:nth-child(4n) {
        border-right: none;
    }
    
    .book-item:nth-last-child(-n+6) {
        border-bottom: 1px solid #e0e0e0;
    }
    
    .book-item:nth-last-child(-n+4) {
        border-bottom: none;
    }
}

@media (max-width: 992px) {
    .featured-books-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .book-item:nth-child(4n) {
        border-right: 1px solid #e0e0e0;
    }
    
    .book-item:nth-child(3n) {
        border-right: none;
    }
    
    .book-item:nth-last-child(-n+4) {
        border-bottom: 1px solid #e0e0e0;
    }
    
    .book-item:nth-last-child(-n+3) {
        border-bottom: none;
    }
}

@media (max-width: 768px) {
    .featured-books-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .book-item:nth-child(3n) {
        border-right: 1px solid #e0e0e0;
    }
    
    .book-item:nth-child(2n) {
        border-right: none;
    }
    
    .book-item:nth-last-child(-n+3) {
        border-bottom: 1px solid #e0e0e0;
    }
    
    .book-item:nth-last-child(-n+2) {
        border-bottom: none;
    }
    
    .book-image {
        min-height: 180px;
    }
    
    .book-image img {
        max-height: 180px;
    }
}

@media (max-width: 576px) {
    .featured-books-grid {
        grid-template-columns: 1fr;
    }
    
    .book-item {
        border-right: none !important;
    }
    
    .book-item:last-child {
        border-bottom: none;
    }
    
    .book-item:not(:last-child) {
        border-bottom: 1px solid #e0e0e0;
    }
    
    .featured-books-section .nav-tabs .nav-link {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
}

.tab-pane {
    animation: fadeIn 0.5s ease-in-out;
}

/* ============================================
   15. DEALS OF THE WEEK SECTION
   ============================================ */

.deals-of-week-section {
    background-color: #fdf2f4;
    padding: 60px 0;
}

.deals-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a1a1a;
}

.view-all-link {
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.view-all-link:hover {
    color: #f06270;
}

.view-all-link i {
    font-size: 0.75rem;
}

.deals-carousel-wrapper {
    position: relative;
    padding: 0;
    border: 1px solid #e8e8e8;
    border-radius: 4px;
    overflow: hidden;
    background-color: #ffffff;
}

.deals-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    color: #6c757d;
}

.deals-nav:hover {
    background-color: #f8f9fa;
    border-color: #f06270;
    color: #f06270;
}

.deals-nav-prev {
    left: 15px;
}

.deals-nav-next {
    right: 15px;
}

.deal-card {
    background-color: #ffffff;
    border-radius: 0;
    overflow: hidden;
    height: 100%;
    border-right: 1px solid #e8e8e8;
    transition: background-color 0.3s ease;
}

.deal-card:hover {
    background-color: #fafafa;
}

.deal-item {
    padding: 0;
    margin: 0;
}

.deal-image-col {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    background-color: #ffffff;
    min-height: 280px;
}

.deal-image-wrapper {
    width: 100%;
    max-width: 160px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.deal-image-wrapper img {
    max-width: 100%;
    max-height: 260px;
    object-fit: contain;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.deal-item:hover .deal-image-wrapper img {
    transform: scale(1.05);
}

.deal-info-col {
    display: flex;
    align-items: stretch;
}

.deal-info {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 30px 25px !important;
}

.deal-edition {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    color: #f06270;
    letter-spacing: 1px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.deal-book-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
    line-height: 1.3;
}

.deal-author {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 12px;
}

.deal-price {
    margin-bottom: 20px;
}

.current-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-right: 8px;
}

.original-price {
    font-size: 1rem;
    color: #999999;
    text-decoration: line-through;
}

.deal-countdown-section {
    margin-bottom: 20px;
}

.hurry-text {
    font-size: 0.9rem;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.hurry-text strong {
    font-weight: 700;
}

.countdown-timer {
    display: flex;
    gap: 15px;
    align-items: center;
}

.countdown-item {
    display: flex;
    align-items: baseline;
    gap: 5px;
    padding-right: 15px;
    border-right: 1px solid #e0e0e0;
}

.countdown-item:last-child {
    border-right: none;
    padding-right: 0;
}

.countdown-value {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a1a;
    min-width: 30px;
    display: inline-block;
    animation: pulse 2s ease-in-out infinite;
}

.countdown-label {
    font-size: 0.8rem;
    color: #6c757d;
    font-weight: 400;
}

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

.deal-stock-section {
    margin-top: auto;
}

.stock-info {
    font-size: 0.8rem;
    color: #6c757d;
}

.stock-sold strong,
.stock-available strong {
    color: #1a1a1a;
    font-weight: 600;
}

.stock-progress {
    height: 8px;
    background-color: #f5e0e3;
    border-radius: 4px;
    overflow: hidden;
}

.stock-progress .progress-bar {
    background-color: #f06270 !important;
    border-radius: 4px;
    transition: width 1s ease;
}

#dealsCarousel {
    margin: 0;
}

#dealsCarousel .owl-stage-outer {
    overflow: hidden;
}

#dealsCarousel .owl-stage {
    display: flex;
}

#dealsCarousel .owl-item {
    padding: 0;
    margin: 0;
    float: left;
}

#dealsCarousel .owl-item .deal-item {
    margin: 0;
    padding: 0;
}

#dealsCarousel .owl-item:last-child .deal-card {
    border-right: none;
}

#dealsCarousel .owl-dots {
    margin-top: 30px;
    text-align: center;
}

#dealsCarousel .owl-dot {
    margin: 0 4px;
}

#dealsCarousel .owl-dot span {
    width: 10px;
    height: 10px;
    background: #d6d6d6;
    border-radius: 50%;
    display: block;
    transition: all 0.3s ease;
}

#dealsCarousel .owl-dot.active span {
    background: #1a1a1a;
    width: 12px;
    height: 12px;
}

#dealsCarousel .owl-nav {
    display: none;
}

@media (max-width: 992px) {
    .deal-book-title {
        font-size: 1rem;
    }
    
    .countdown-value {
        font-size: 1.1rem;
    }
    
    .deal-image-wrapper img {
        max-height: 220px;
    }
}

@media (max-width: 768px) {
    .deal-card .row {
        flex-direction: column;
    }
    
    .deal-image-col {
        padding: 20px;
        min-height: auto;
    }
    
    .deal-image-wrapper img {
        max-height: 200px;
    }
    
    .deal-info {
        padding: 20px !important;
    }
    
    .countdown-timer {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .countdown-item {
        padding-right: 8px;
    }
    
    .countdown-value {
        font-size: 1rem;
    }
    
    #dealsCarousel .owl-item .deal-card {
        border-right: none;
        border-bottom: 1px solid #e8e8e8;
    }
    
    #dealsCarousel .owl-item:last-child .deal-card {
        border-bottom: none;
    }
}

@media (max-width: 576px) {
    .deals-nav {
        width: 35px;
        height: 35px;
    }
    
    .deals-nav-prev {
        left: 10px;
    }
    
    .deals-nav-next {
        right: 10px;
    }
    
    .deal-book-title {
        font-size: 0.9rem;
    }
    
    .current-price {
        font-size: 1.2rem;
    }
    
    .countdown-item {
        border-right: none;
        padding-right: 0;
    }
}

/* ============================================
   16. NEW RELEASES SECTION
   ============================================ */

.new-releases-section {
    background-color: #ffffff;
    padding: 60px 0;
}

.new-releases-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a1a1a;
}

.category-tabs {
    border-bottom: none;
    gap: 5px;
}

.category-tabs .category-tab {
    border: none;
    background: transparent;
    color: #6c757d;
    font-weight: 400;
    font-size: 0.95rem;
    padding: 8px 20px;
    position: relative;
    transition: color 0.3s ease;
}

.category-tabs .category-tab:hover {
    color: #1a1a1a;
    border: none;
}

.category-tabs .category-tab.active {
    color: #1a1a1a;
    font-weight: 600;
    border: none;
    background: transparent;
}

.category-tabs .category-tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 2px;
    background-color: #1a1a1a;
}

.new-releases-wrapper {
    display: grid;
    grid-template-columns: 380px 1fr;
    border: 1px solid #e8e8e8;
    border-radius: 4px;
    overflow: hidden;
    min-height: 520px;
}

.promo-panel {
    background-color: #fdf2f4;
    border-right: 1px solid #e8e8e8;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 30px;
}

.promo-content {
    text-align: center;
    width: 100%;
}

.promo-image {
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.promo-image img {
    max-width: 100%;
    max-height: 280px;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.15));
    transition: transform 0.3s ease;
}

.promo-image img:hover {
    transform: scale(1.05) rotate(-2deg);
}

.promo-text {
    text-align: left;
    padding: 0 10px;
}

.promo-title {
    font-size: 1.5rem;
    font-weight: 400;
    color: #1a1a1a;
    margin-bottom: 5px;
}

.promo-sale {
    font-size: 2.5rem;
    font-weight: 700;
    color: #f06270;
    margin-bottom: 10px;
    line-height: 1.1;
}

.promo-condition {
    font-size: 1rem;
    font-weight: 600;
    color: #999999;
    letter-spacing: 1px;
    margin-bottom: 25px;
    text-transform: uppercase;
}

.btn-view-more {
    display: inline-block;
    background-color: #f06270;
    color: #ffffff;
    padding: 12px 35px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.btn-view-more:hover {
    background-color: #e55563;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(240, 98, 112, 0.3);
}

.books-grid-panel {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
}

.book-grid-item {
    border-right: 1px solid #e8e8e8;
    border-bottom: 1px solid #e8e8e8;
    padding: 25px 15px;
    text-align: center;
    background-color: #ffffff;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.book-grid-item:hover {
    background-color: #fafafa;
}

.book-grid-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(240, 98, 112, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.book-grid-item:hover::before {
    opacity: 1;
}

.book-grid-item:nth-child(4n) {
    border-right: none;
}

.book-grid-item:nth-child(n+5) {
    border-bottom: none;
}

.book-grid-image {
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 180px;
    flex-shrink: 0;
}

.book-grid-image img {
    max-width: 100%;
    max-height: 180px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.book-grid-item:hover .book-grid-image img {
    transform: scale(1.08);
}

.book-grid-info {
    text-align: left;
    width: 100%;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.book-grid-format {
    display: block;
    font-size: 0.65rem;
    font-weight: 600;
    color: #f06270;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.book-grid-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 6px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 2.2em;
}

.book-grid-author {
    font-size: 0.8rem;
    color: #6c757d;
    margin-bottom: 8px;
}

.book-grid-price {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0;
    margin-top: auto;
}

@media (max-width: 1200px) {
    .new-releases-wrapper {
        grid-template-columns: 320px 1fr;
    }
    
    .promo-sale {
        font-size: 2rem;
    }
}

@media (max-width: 992px) {
    .new-releases-wrapper {
        grid-template-columns: 1fr;
    }
    
    .promo-panel {
        border-right: none;
        border-bottom: 1px solid #e8e8e8;
        padding: 30px 20px;
    }
    
    .promo-content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        align-items: center;
    }
    
    .promo-image {
        margin-bottom: 0;
    }
    
    .promo-text {
        text-align: left;
    }
    
    .books-grid-panel {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .book-grid-item:nth-child(4n) {
        border-right: none;
    }
    
    .book-grid-item:nth-child(n+5) {
        border-bottom: 1px solid #e8e8e8;
    }
    
    .book-grid-item:nth-child(n+9) {
        border-bottom: none;
    }
}

@media (max-width: 768px) {
    .new-releases-title {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }
    
    .category-tabs {
        justify-content: flex-start !important;
        flex-wrap: wrap;
    }
    
    .category-tabs .category-tab {
        padding: 6px 12px;
        font-size: 0.85rem;
    }
    
    .books-grid-panel {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .book-grid-item:nth-child(4n) {
        border-right: 1px solid #e8e8e8;
    }
    
    .book-grid-item:nth-child(2n) {
        border-right: none;
    }
    
    .book-grid-item:nth-child(n+5) {
        border-bottom: 1px solid #e8e8e8;
    }
    
    .book-grid-item:nth-child(n+3) {
        border-bottom: none;
    }
    
    .promo-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .promo-text {
        text-align: center;
    }
    
    .promo-sale {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .books-grid-panel {
        grid-template-columns: 1fr;
    }
    
    .book-grid-item {
        border-right: none !important;
    }
    
    .book-grid-item:not(:last-child) {
        border-bottom: 1px solid #e8e8e8;
    }
    
    .book-grid-item:last-child {
        border-bottom: none;
    }
    
    .promo-sale {
        font-size: 1.75rem;
    }
    
    .btn-view-more {
        padding: 10px 25px;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   17. BIOGRAPHIES BOOKS SECTION
   ============================================ */

.biographies-section {
    background-color: #ffffff;
    padding: 60px 0;
}

.biographies-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a1a1a;
}

.biographies-carousel-wrapper {
    position: relative;
    padding: 0;
    border: 1px solid #e8e8e8;
    border-radius: 4px;
    overflow: hidden;
}

.bio-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    color: #6c757d;
}

.bio-nav:hover {
    background-color: #f8f9fa;
    border-color: #f06270;
    color: #f06270;
}

.bio-nav-prev {
    left: 15px;
}

.bio-nav-next {
    right: 15px;
}

.bio-card {
    background-color: #ffffff;
    border-radius: 0;
    overflow: hidden;
    height: 100%;
    border-right: 1px solid #e8e8e8;
    transition: background-color 0.3s ease;
}

.bio-card:hover {
    background-color: #fafafa;
}

.bio-item {
    padding: 0;
    margin: 0;
}

.bio-image-col {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    background-color: #ffffff;
    min-height: 280px;
}

.bio-image-wrapper {
    width: 100%;
    max-width: 140px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.bio-image-wrapper img {
    max-width: 100%;
    max-height: 220px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.bio-item:hover .bio-image-wrapper img {
    transform: scale(1.05);
}

.bio-info-col {
    display: flex;
    align-items: stretch;
}

.bio-info {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 30px 25px !important;
}

.bio-format {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    color: #f06270;
    letter-spacing: 1px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.bio-book-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 2.8em;
}

.bio-author {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 12px;
}

.bio-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0;
}

#biographiesCarousel {
    margin: 0;
}

#biographiesCarousel .owl-stage-outer {
    overflow: hidden;
}

#biographiesCarousel .owl-stage {
    display: flex;
}

#biographiesCarousel .owl-item {
    padding: 0;
    margin: 0;
    float: left;
}

#biographiesCarousel .owl-item .bio-item {
    margin: 0;
    padding: 0;
}

#biographiesCarousel .owl-item:last-child .bio-card {
    border-right: none;
}

#biographiesCarousel .owl-dots {
    margin-top: 30px;
    text-align: center;
}

#biographiesCarousel .owl-dot {
    margin: 0 4px;
}

#biographiesCarousel .owl-dot span {
    width: 10px;
    height: 10px;
    background: #d6d6d6;
    border-radius: 50%;
    display: block;
    transition: all 0.3s ease;
}

#biographiesCarousel .owl-dot.active span {
    background: #1a1a1a;
    width: 12px;
    height: 12px;
}

#biographiesCarousel .owl-nav {
    display: none;
}

@media (max-width: 992px) {
    .bio-image-wrapper img {
        max-height: 200px;
    }
    
    .bio-info {
        padding: 20px !important;
    }
}

@media (max-width: 768px) {
    .bio-card .row {
        flex-direction: column;
    }
    
    .bio-image-col {
        padding: 20px;
        min-height: auto;
    }
    
    .bio-image-wrapper img {
        max-height: 180px;
    }
    
    .bio-info {
        padding: 20px !important;
    }
    
    .bio-book-title {
        font-size: 0.9rem;
    }
    
    #biographiesCarousel .owl-item .bio-card {
        border-right: none;
        border-bottom: 1px solid #e8e8e8;
    }
    
    #biographiesCarousel .owl-item:last-child .bio-card {
        border-bottom: none;
    }
}

@media (max-width: 576px) {
    .bio-nav {
        width: 35px;
        height: 35px;
    }
    
    .bio-nav-prev {
        left: 10px;
    }
    
    .bio-nav-next {
        right: 10px;
    }
    
    .bio-book-title {
        font-size: 0.85rem;
    }
    
    .bio-price {
        font-size: 1rem;
    }
}

/* ============================================
   18. BESTSELLING BOOKS SECTION
   ============================================ */

.bestselling-section {
    background-color: #ffffff;
    padding: 60px 0;
}

.bestselling-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a1a1a;
}

.bestselling-carousel-wrapper {
    padding: 0 50px;
}

.best-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    color: #6c757d;
}

.best-nav:hover {
    background-color: #f8f9fa;
    border-color: #f06270;
    color: #f06270;
}

.best-nav-prev {
    left: 0;
}

.best-nav-next {
    right: 0;
}

.best-card {
    background-color: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 0;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.3s ease;
}

.best-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.best-item {
    padding: 0;
    margin: 0;
}

.best-image-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 25px 20px;
    background-color: #fafafa;
    border-bottom: 1px solid #e8e8e8;
    min-height: 280px;
}

.best-image-wrapper img {
    max-width: 100%;
    max-height: 240px;
    object-fit: contain;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.best-item:hover .best-image-wrapper img {
    transform: scale(1.05);
}

.best-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.best-format {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    color: #f06270;
    letter-spacing: 1px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.best-book-title {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 2.8em;
}

.best-author {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 12px;
}

.best-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0;
    margin-top: auto;
}

#bestsellingCarousel {
    margin: 0;
}

#bestsellingCarousel .owl-stage-outer {
    overflow: hidden;
}

#bestsellingCarousel .owl-stage {
    display: flex;
}

#bestsellingCarousel .owl-item {
    padding: 0;
    margin: 0;
}

#bestsellingCarousel .owl-item .best-item {
    margin: 0;
    padding: 0;
}

#bestsellingCarousel .owl-carousel .owl-item {
    float: left;
    margin: 0;
    padding: 0;
}

#bestsellingCarousel .owl-item .best-card {
    border-radius: 0;
    margin: 0;
    border-left: none;
}

#bestsellingCarousel .owl-item:first-child .best-card {
    border-left: 1px solid #e8e8e8;
}

#bestsellingCarousel .owl-dots {
    margin-top: 30px;
    text-align: center;
}

#bestsellingCarousel .owl-dot {
    margin: 0 4px;
}

#bestsellingCarousel .owl-dot span {
    width: 10px;
    height: 10px;
    background: #d6d6d6;
    border-radius: 50%;
    display: block;
    transition: all 0.3s ease;
}

#bestsellingCarousel .owl-dot.active span {
    background: #1a1a1a;
    width: 12px;
    height: 12px;
}

#bestsellingCarousel .owl-nav {
    display: none;
}

@media (max-width: 1200px) {
    .best-book-title {
        font-size: 0.95rem;
    }
    
    .best-image-wrapper {
        min-height: 250px;
    }
}

@media (max-width: 992px) {
    .bestselling-carousel-wrapper {
        padding: 0 40px;
    }
    
    .best-image-wrapper {
        min-height: 220px;
    }
    
    .best-info {
        padding: 15px;
    }
}

@media (max-width: 768px) {
    .bestselling-carousel-wrapper {
        padding: 0 30px;
    }
    
    .best-image-wrapper {
        min-height: 200px;
    }
    
    .best-book-title {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .bestselling-carousel-wrapper {
        padding: 0 20px;
    }
    
    .best-nav {
        width: 35px;
        height: 35px;
    }
    
    .best-nav-prev {
        left: -5px;
    }
    
    .best-nav-next {
        right: -5px;
    }
    
    .best-book-title {
        font-size: 0.85rem;
    }
    
    .best-price {
        font-size: 1rem;
    }
    
    .best-image-wrapper {
        min-height: 180px;
    }
}

/* ============================================
   19. FEATURED BOOKS SLIDER SECTION
   ============================================ */

.featured-books-slider-section {
    background-color: #fdf2f4;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    min-height: 500px;
}

.featured-books-slider-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(240, 180, 190, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    animation: float 8s ease-in-out infinite;
}

.featured-books-slider-section::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(240, 180, 190, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-20px) scale(1.05); }
}

.featured-books-slider-section .container {
    position: relative;
    z-index: 1;
}

.slider-text-content {
    position: relative;
    z-index: 2;
}

.slider-subtitle {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #999999;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.slider-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.1;
    margin-bottom: 30px;
}

.btn-see-more {
    display: inline-block;
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 16px 40px;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    border: none;
    border-radius: 0;
    transition: all 0.3s ease;
    cursor: pointer;
    letter-spacing: 0.5px;
}

.btn-see-more:hover {
    background-color: #333333;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.btn-see-more:active {
    transform: translateY(0);
}

.books-stack-wrapper {
    position: relative;
    z-index: 2;
}

.books-stack {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 400px;
    padding: 20px;
}

.book-card {
    position: absolute;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.5s ease;
}

.book-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.book-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    color: #ffffff;
}

.book-card-text {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.book-card.featured {
    z-index: 5;
}

.book-card.featured .book-card-overlay {
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%);
}

.featured-overlay {
    text-align: center;
}

.book-card-top-text {
    display: block;
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 10px;
    color: #ffffff;
}

.book-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffd700;
    line-height: 1.2;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.book-card-desc {
    font-size: 0.75rem;
    color: #ffffff;
    margin-bottom: 15px;
    font-style: italic;
}

.book-card-bottom-text {
    display: block;
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 10px;
    color: #ffffff;
}

.book-card-awards {
    display: flex;
    justify-content: center;
    gap: 10px;
    font-size: 1.2rem;
}

.book-card-1 {
    width: 140px;
    height: 220px;
    left: 5%;
    top: 50%;
    transform: translateY(-50%) rotate(-15deg);
    z-index: 1;
}

.book-card-2 {
    width: 150px;
    height: 240px;
    left: 18%;
    top: 50%;
    transform: translateY(-50%) rotate(-8deg);
    z-index: 2;
}

.book-card-3.featured {
    width: 180px;
    height: 280px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) rotate(0deg);
    z-index: 5;
}

.book-card-4 {
    width: 150px;
    height: 240px;
    right: 18%;
    top: 50%;
    transform: translateY(-50%) rotate(8deg);
    z-index: 2;
}

.book-card-5 {
    width: 140px;
    height: 220px;
    right: 5%;
    top: 50%;
    transform: translateY(-50%) rotate(15deg);
    z-index: 1;
}

.book-card:hover {
    transform: translateY(-50%) rotate(0deg) scale(1.05);
    z-index: 10;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.book-card-3.featured:hover {
    transform: translate(-50%, -50%) scale(1.05);
}

#featuredBooksSlider {
    margin: 0;
}

#featuredBooksSlider .owl-stage-outer {
    overflow: visible;
}

#featuredBooksSlider .owl-item {
    opacity: 0;
    transition: opacity 0.5s ease;
}

#featuredBooksSlider .owl-item.active {
    opacity: 1;
}

#featuredBooksSlider .owl-dots {
    margin-top: 40px;
    text-align: center;
}

#featuredBooksSlider .owl-dot {
    margin: 0 6px;
    padding: 0;
    background: transparent;
    border: none;
    outline: none;
}

#featuredBooksSlider .owl-dot span {
    width: 8px;
    height: 8px;
    background: #d6d6d6;
    border-radius: 50%;
    display: block;
    transition: all 0.3s ease;
}

#featuredBooksSlider .owl-dot.active span {
    background: #1a1a1a;
    width: 14px;
    height: 14px;
    border: 2px solid #1a1a1a;
    position: relative;
}

#featuredBooksSlider .owl-dot.active span::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 4px;
    height: 4px;
    background: #ffffff;
    border-radius: 50%;
}

#featuredBooksSlider .owl-nav {
    display: none;
}

@media (max-width: 1200px) {
    .slider-title {
        font-size: 3rem;
    }
    
    .books-stack {
        height: 380px;
    }
    
    .book-card-1, .book-card-5 {
        width: 130px;
        height: 200px;
    }
    
    .book-card-2, .book-card-4 {
        width: 140px;
        height: 220px;
    }
    
    .book-card-3.featured {
        width: 170px;
        height: 260px;
    }
}

@media (max-width: 992px) {
    .featured-books-slider-section {
        padding: 60px 0;
    }
    
    .slider-title {
        font-size: 2.5rem;
    }
    
    .books-stack {
        height: 350px;
    }
    
    .book-card-1, .book-card-5 {
        width: 120px;
        height: 190px;
    }
    
    .book-card-2, .book-card-4 {
        width: 130px;
        height: 210px;
    }
    
    .book-card-3.featured {
        width: 160px;
        height: 250px;
    }
    
    .book-card-title {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .slider-title {
        font-size: 2rem;
    }
    
    .btn-see-more {
        padding: 14px 30px;
        font-size: 0.9rem;
    }
    
    .books-stack {
        height: 320px;
    }
    
    .book-card-1, .book-card-5 {
        width: 100px;
        height: 160px;
    }
    
    .book-card-2, .book-card-4 {
        width: 110px;
        height: 180px;
    }
    
    .book-card-3.featured {
        width: 140px;
        height: 220px;
    }
    
    .book-card-title {
        font-size: 1.1rem;
    }
    
    .book-card-top-text, .book-card-bottom-text {
        font-size: 0.5rem;
    }
}

@media (max-width: 576px) {
    .featured-books-slider-section {
        padding: 40px 0;
    }
    
    .slider-subtitle {
        font-size: 0.75rem;
    }
    
    .slider-title {
        font-size: 1.75rem;
    }
    
    .btn-see-more {
        padding: 12px 25px;
        font-size: 0.85rem;
    }
    
    .books-stack {
        height: 280px;
    }
    
    .book-card-1, .book-card-5 {
        width: 80px;
        height: 130px;
    }
    
    .book-card-2, .book-card-4 {
        width: 90px;
        height: 150px;
    }
    
    .book-card-3.featured {
        width: 120px;
        height: 190px;
    }
    
    .book-card-title {
        font-size: 0.95rem;
    }
    
    .book-card-desc {
        font-size: 0.65rem;
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slider-slide.active {
    animation: slideIn 0.6s ease-out;
}

/* ============================================
   20. FEATURED CATEGORIES SECTION
   ============================================ */

.featured-categories-section {
    background-color: #ffffff;
    padding: 60px 0;
}

.categories-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a1a1a;
}

.all-categories-link {
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.all-categories-link:hover {
    color: #f06270;
}

.all-categories-link i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.all-categories-link:hover i {
    transform: translateX(3px);
}

.featured-categories-section .category-card {
    background-color: #f8f4fc;
    border-radius: 8px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.featured-categories-section .category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    animation: categoryHover 0.6s ease;
}

.featured-categories-section .category-icon {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.featured-categories-section .category-icon i {
    font-size: 2.5rem;
    transition: transform 0.3s ease;
}

.featured-categories-section .category-card:hover .category-icon i {
    transform: scale(1.1);
}

.featured-categories-section .category-name {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
    line-height: 1.3;
}

.featured-categories-section .shop-now-link {
    font-size: 0.85rem;
    color: #6c757d;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    margin-top: auto;
}

.featured-categories-section .shop-now-link:hover {
    color: #f06270;
}

.featured-categories-section .category-card-1 {
    background-color: #f8f4fc;
}

.featured-categories-section .category-card-1 .category-icon i {
    color: #9c27b0;
}

.featured-categories-section .category-card-2 {
    background-color: #fdf5e6;
}

.featured-categories-section .category-card-2 .category-icon i {
    color: #ff9800;
}

.featured-categories-section .category-card-3 {
    background-color: #fce4ec;
}

.featured-categories-section .category-card-3 .category-icon i {
    color: #e91e63;
}

.featured-categories-section .category-card-4 {
    background-color: #e0f2f1;
}

.featured-categories-section .category-card-4 .category-icon i {
    color: #00bcd4;
}

.featured-categories-section .category-card-5 {
    background-color: #fff5f5;
}

.featured-categories-section .category-card-5 .category-icon i {
    color: #ef5350;
}

@keyframes categoryHover {
    0% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
    100% { transform: translateY(0); }
}

@media (max-width: 992px) {
    .featured-categories-section .category-card {
        padding: 25px 15px;
    }
    
    .featured-categories-section .category-icon i {
        font-size: 2.2rem;
    }
    
    .featured-categories-section .category-name {
        font-size: 0.95rem;
    }
}

@media (max-width: 768px) {
    .featured-categories-section {
        padding: 40px 0;
    }
    
    .categories-title {
        font-size: 1.5rem;
        margin-bottom: 15px !important;
    }
    
    .all-categories-link {
        font-size: 0.9rem;
    }
    
    .featured-categories-section .category-card {
        padding: 20px 15px;
    }
    
    .featured-categories-section .category-icon i {
        font-size: 2rem;
    }
    
    .featured-categories-section .category-name {
        font-size: 0.9rem;
    }
    
    .featured-categories-section .shop-now-link {
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .featured-categories-section .category-card {
        padding: 25px 15px;
    }
    
    .featured-categories-section .category-icon i {
        font-size: 2.2rem;
    }
    
    .featured-categories-section .category-name {
        font-size: 0.95rem;
    }
}

/* ============================================
   21. PRODUCT DETAIL PAGE STYLES
   ============================================ */

.product-image-wrapper {
    position: relative;
}

.product-image-wrapper img {
    width: 100%;
    transition: transform 0.3s ease;
}

.product-image-wrapper img:hover {
    transform: scale(1.02);
}

.product-image-dots {
    margin-top: 15px;
}

.product-image-dots .dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #d6d6d6;
    margin: 0 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.product-image-dots .dot.active {
    background-color: #1a1a1a;
    width: 12px;
    height: 12px;
}

.product-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
}

.product-rating {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.product-rating .stars i {
    font-size: 0.9rem;
}

.product-price .current-price {
    font-weight: 700;
}

.product-price .original-price {
    opacity: 0.6;
}

.quantity-selector .btn {
    padding: 0.25rem 0.5rem;
}

.quantity-selector input {
    border: 1px solid #dee2e6;
    border-left: none;
    border-right: none;
}

.product-actions .btn {
    flex: 1;
}

.product-tabs .nav-tabs {
    border-bottom: 2px solid #dee2e6;
}

.product-tabs .nav-link {
    border: none;
    color: #6c757d;
    font-weight: 500;
    padding: 12px 24px;
    transition: all 0.3s ease;
}

.product-tabs .nav-link.active {
    color: #1a1a1a;
    border: none;
    border-bottom: 2px solid #1a1a1a;
    margin-bottom: -2px;
    background: transparent;
}

.product-tabs .tab-content {
    border: 1px solid #dee2e6;
    border-top: none;
    border-radius: 0 0 8px 8px;
}

.customers-also-considered .section-title {
    font-size: 1.5rem;
    font-weight: 700;
}

.related-product-item .card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.related-product-item .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.related-product-item img {
    height: 280px;
    object-fit: cover;
}

.sidebar-section {
    background-color: #ffffff;
}

.sidebar-item {
    transition: all 0.3s ease;
}

.sidebar-item:hover {
    background-color: #f8f9fa;
}

.features-section .feature-item {
    transition: all 0.3s ease;
}

.features-section .feature-item:hover {
    background-color: #f8f9fa;
}

@media (max-width: 992px) {
    .product-title {
        font-size: 1.75rem;
    }
    
    .product-tabs .nav-link {
        padding: 10px 16px;
    }
}

@media (max-width: 768px) {
    .product-title {
        font-size: 1.5rem;
    }
    
    .product-image-wrapper {
        margin-bottom: 30px;
    }
    
    .quantity-section .d-flex {
        flex-direction: column;
        align-items: stretch;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .product-actions .btn {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .product-tabs .nav-link {
        padding: 8px 12px;
        font-size: 0.9rem;
    }
    
    .related-product-item img {
        height: 220px;
    }
}

/* ============================================
   22. CUSTOMERS ALSO CONSIDERED SECTION
   ============================================ */

.customers-also-considered {
    margin-top: 60px;
}

.cac-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a1a1a;
}

.cac-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #d6d6d6;
    margin: 0 3px;
}

.cac-dot.active {
    background-color: #00bcd4;
}

.cac-carousel-wrapper {
    position: relative;
    padding: 0;
    border: 1px solid #e8e8e8;
    border-radius: 4px;
    overflow: hidden;
    background-color: #ffffff;
}

.cac-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    color: #6c757d;
}

.cac-nav:hover {
    background-color: #f8f9fa;
    border-color: #00bcd4;
    color: #00bcd4;
}

.cac-nav-prev {
    left: 15px;
}

.cac-nav-next {
    right: 15px;
}

.cac-card {
    background-color: #ffffff;
    border-radius: 0;
    overflow: hidden;
    height: 100%;
    border-right: 1px solid #e8e8e8;
    display: flex;
    flex-direction: column;
    transition: background-color 0.3s ease;
}

.cac-card:hover {
    background-color: #fafafa;
}

.cac-item {
    padding: 0;
    margin: 0;
}

.cac-image-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 25px 20px;
    background-color: #fafafa;
    border-bottom: 1px solid #e8e8e8;
    min-height: 260px;
}

.cac-image-wrapper img {
    max-width: 100%;
    max-height: 220px;
    object-fit: contain;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.cac-item:hover .cac-image-wrapper img {
    transform: scale(1.05);
}

.cac-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.cac-format {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    color: #f06270;
    letter-spacing: 1px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.cac-format.kindle {
    color: #00bcd4;
}

.cac-book-title {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 2.8em;
}

.cac-author {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 12px;
}

.cac-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0;
    margin-top: auto;
}

#relatedProductsCarousel {
    margin: 0;
}

#relatedProductsCarousel .owl-stage-outer {
    overflow: hidden;
}

#relatedProductsCarousel .owl-stage {
    display: flex;
}

#relatedProductsCarousel .owl-item {
    padding: 0;
    margin: 0;
    float: left;
}

#relatedProductsCarousel .owl-item .cac-item {
    margin: 0;
    padding: 0;
}

#relatedProductsCarousel .owl-item:last-child .cac-card {
    border-right: none;
}

#relatedProductsCarousel .owl-dots,
#relatedProductsCarousel .owl-nav {
    display: none;
}

@media (max-width: 1200px) {
    .cac-book-title {
        font-size: 0.95rem;
    }
    
    .cac-image-wrapper {
        min-height: 240px;
    }
}

@media (max-width: 992px) {
    .cac-carousel-wrapper {
        padding: 0;
    }
    
    .cac-image-wrapper {
        min-height: 220px;
    }
    
    .cac-info {
        padding: 15px;
    }
}

@media (max-width: 768px) {
    .cac-title {
        font-size: 1.5rem;
        margin-bottom: 15px !important;
    }
    
    .cac-image-wrapper {
        min-height: 200px;
    }
    
    .cac-book-title {
        font-size: 0.9rem;
    }
    
    .cac-nav {
        width: 35px;
        height: 35px;
    }
    
    .cac-nav-prev {
        left: 10px;
    }
    
    .cac-nav-next {
        right: 10px;
    }
}

@media (max-width: 576px) {
    .cac-image-wrapper {
        min-height: 180px;
    }
    
    .cac-book-title {
        font-size: 0.85rem;
    }
    
    .cac-price {
        font-size: 1rem;
    }
}

/* ============================================
   23. BLOG SINGLE PAGE STYLES
   ============================================ */

.blog-featured-image {
    overflow: hidden;
    border-radius: 8px;
}

.blog-featured-image img {
    transition: transform 0.3s ease;
}

.blog-featured-image:hover img {
    transform: scale(1.02);
}

.blog-category {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #f06270;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.2;
}

.blog-meta {
    font-size: 0.9rem;
}

.blog-meta i {
    color: #6c757d;
}

.blog-content {
    font-size: 1rem;
    line-height: 1.8;
    color: #333333;
}

.blog-content p {
    margin-bottom: 1.5rem;
}

.blog-share-section {
    padding: 25px 0;
    border-top: 1px solid #e8e8e8;
    border-bottom: 1px solid #e8e8e8;
}

.share-count {
    font-size: 1.5rem;
    color: #1a1a1a;
}

.btn-facebook {
    background-color: #3b5998;
    color: #ffffff;
    border: none;
    padding: 8px 16px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-facebook:hover {
    background-color: #2d4373;
    color: #ffffff;
    transform: translateY(-2px);
}

.btn-twitter {
    background-color: #1da1f2;
    color: #ffffff;
    border: none;
    padding: 8px 16px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-twitter:hover {
    background-color: #0c85d0;
    color: #ffffff;
    transform: translateY(-2px);
}

.btn-pinterest {
    background-color: #bd081c;
    color: #ffffff;
    border: none;
    padding: 8px 16px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-pinterest:hover {
    background-color: #8c0615;
    color: #ffffff;
    transform: translateY(-2px);
}

.blog-navigation {
    padding: 25px 0;
}

.post-nav-link {
    display: block;
    padding: 15px;
    border: 1px solid #e8e8e8;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.post-nav-link:hover {
    background-color: #f8f9fa;
    border-color: #f06270;
}

.post-nav-link small {
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}

.post-nav-link span {
    font-size: 1rem;
    color: #1a1a1a;
}

.blog-related {
    margin-top: 60px;
}

.related-post-card {
    transition: all 0.3s ease;
}

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

.related-post-image {
    overflow: hidden;
    border-radius: 8px;
}

.related-post-image img {
    transition: transform 0.3s ease;
}

.related-post-card:hover .related-post-image img {
    transform: scale(1.05);
}

.related-post-category {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: #f06270;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.related-post-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-post-excerpt {
    font-size: 0.8rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-post-meta {
    font-size: 0.75rem;
}

/* Blog Sidebar */
.blog-sidebar {
    position: sticky;
    top: 100px;
}

.blog-sidebar .sidebar-widget {
    background-color: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 4px;
    overflow: hidden;
}

.blog-sidebar .widget-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #e8e8e8;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.blog-sidebar .widget-header:hover {
    background-color: #f8f9fa;
}

.blog-sidebar .widget-header h5 {
    font-size: 1rem;
    color: #1a1a1a;
}

.blog-sidebar .widget-toggle {
    background: none;
    border: none;
    color: #6c757d;
    font-size: 1rem;
    padding: 0;
    cursor: pointer;
    transition: color 0.3s ease;
}

.blog-sidebar .widget-toggle:hover {
    color: #f06270;
}

.blog-sidebar .widget-content {
    padding: 20px;
}

.blog-sidebar .search-box-widget {
    position: relative;
}

.blog-sidebar .search-box-widget .search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
}

.blog-sidebar .search-box-widget input {
    padding-left: 40px;
    border: 1px solid #e8e8e8;
    border-radius: 4px;
}

.blog-sidebar .search-box-widget input:focus {
    border-color: #f06270;
    box-shadow: none;
}

.blog-sidebar .widget-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.blog-sidebar .widget-list li {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.blog-sidebar .widget-list li:last-child {
    border-bottom: none;
}

.blog-sidebar .widget-list li a {
    color: #333333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-sidebar .widget-list li a:hover {
    color: #f06270;
}

.blog-sidebar .tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.blog-sidebar .tag-link {
    display: inline-block;
    padding: 6px 12px;
    background-color: #f8f9fa;
    border: 1px solid #e8e8e8;
    border-radius: 4px;
    color: #6c757d;
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.blog-sidebar .tag-link:hover {
    background-color: #f06270;
    border-color: #f06270;
    color: #ffffff;
}

.blog-sidebar .featured-post-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.blog-sidebar .featured-post-item:last-child {
    border-bottom: none;
}

.blog-sidebar .featured-post-img {
    width: 80px;
    height: 100px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}

.blog-sidebar .featured-post-info {
    flex-grow: 1;
}

.blog-sidebar .featured-post-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.3;
    margin-bottom: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-sidebar .featured-post-info small {
    font-size: 0.8rem;
}

.blog-sidebar .sidebar-promo {
    margin-top: 30px;
    overflow: hidden;
    border-radius: 8px;
}

.blog-sidebar .sidebar-promo img {
    transition: transform 0.3s ease;
}

.blog-sidebar .sidebar-promo:hover img {
    transform: scale(1.02);
}

@media (max-width: 992px) {
    .blog-title {
        font-size: 2rem;
    }
    
    .blog-sidebar {
        position: static;
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .blog-title {
        font-size: 1.75rem;
    }
    
    .blog-share-section .row {
        flex-direction: column;
        text-align: center;
    }
    
    .blog-share-section .d-flex {
        justify-content: center;
    }
    
    .blog-navigation .row {
        flex-direction: column;
    }
    
    .post-nav-link {
        margin-bottom: 15px;
    }
    
    .related-post-card {
        margin-bottom: 30px;
    }
}

@media (max-width: 576px) {
    .blog-title {
        font-size: 1.5rem;
    }
    
    .share-count {
        font-size: 1.2rem;
    }
    
    .btn-facebook,
    .btn-twitter,
    .btn-pinterest {
        padding: 6px 12px;
        font-size: 0.7rem;
    }
}

/* ============================================
   24. SHOP PAGE STYLES
   ============================================ */

.shop-sidebar .sidebar-widget {
    background-color: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 4px;
    overflow: hidden;
}

.shop-sidebar .widget-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #e8e8e8;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.shop-sidebar .widget-header:hover {
    background-color: #f8f9fa;
}

.shop-sidebar .widget-header h5 {
    font-size: 1rem;
    color: #1a1a1a;
}

.shop-sidebar .widget-toggle {
    background: none;
    border: none;
    color: #6c757d;
    font-size: 1rem;
    padding: 0;
    cursor: pointer;
    transition: color 0.3s ease;
}

.shop-sidebar .widget-toggle:hover {
    color: #f06270;
}

.shop-sidebar .widget-content {
    padding: 20px;
}

.shop-sidebar .widget-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.shop-sidebar .widget-list li {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.shop-sidebar .widget-list li:last-child {
    border-bottom: none;
}

.shop-sidebar .widget-list li a {
    color: #333333;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.shop-sidebar .widget-list li a:hover,
.shop-sidebar .widget-list li a.active {
    color: #f06270;
}

.shop-sidebar .search-box-widget {
    position: relative;
}

.shop-sidebar .search-box-widget .search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
}

.shop-sidebar .search-box-widget input {
    padding-left: 40px;
    border: 1px solid #e8e8e8;
    border-radius: 4px;
}

.shop-sidebar .search-box-widget input:focus {
    border-color: #f06270;
    box-shadow: none;
}

.featured-book-item {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.featured-book-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.featured-book-item:first-child {
    padding-top: 0;
}

.featured-book-img {
    width: 70px;
    height: 90px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
    background-color: #f0f0f0;
}

.featured-book-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.featured-book-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.4;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.featured-book-title a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.3s ease;
}

.featured-book-title a:hover {
    color: #f06270;
}

.featured-book-price {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0;
}

.shop-sidebar .sidebar-promo {
    margin-top: 20px;
    overflow: hidden;
    border-radius: 8px;
}

.shop-sidebar .sidebar-promo img {
    transition: transform 0.3s ease;
}

.shop-sidebar .sidebar-promo:hover img {
    transform: scale(1.02);
}

/* Shop Slider */
.shop-slider {
    background-color: #f5f5f5;
    border-radius: 8px;
    overflow: hidden;
}

.shop-slide-content {
    padding: 60px 40px;
    background-color: #f5f5f5;
    min-height: 300px;
    display: flex;
    align-items: center;
}

.shop-slide-subtitle {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: #999999;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.shop-slide-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.1;
    margin-bottom: 25px;
}

.btn-shop-now {
    display: inline-block;
    background-color: #f06270;
    color: #ffffff;
    padding: 12px 30px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-shop-now:hover {
    background-color: #e55563;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(240, 98, 112, 0.3);
}

.shop-slide-image {
    max-width: 100%;
    max-height: 250px;
    object-fit: contain;
    transform: rotate(-5deg);
    transition: transform 0.3s ease;
}

.shop-slide:hover .shop-slide-image {
    transform: rotate(0deg) scale(1.05);
}

#shopSlider .owl-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
}

#shopSlider .owl-nav button {
    pointer-events: all;
    width: 40px;
    height: 40px;
    background-color: #ffffff !important;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #6c757d;
}

#shopSlider .owl-nav button:hover {
    background-color: #f8f9fa !important;
    border-color: #f06270;
    color: #f06270;
}

#shopSlider .owl-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
}

#shopSlider .owl-dot span {
    width: 10px;
    height: 10px;
    background: #d6d6d6;
    border-radius: 50%;
    display: block;
    transition: all 0.3s ease;
}

#shopSlider .owl-dot.active span {
    background: #1a1a1a;
    width: 12px;
    height: 12px;
}

/* Shop Toolbar */
.shop-toolbar {
    padding-bottom: 20px;
    border-bottom: 1px solid #e8e8e8;
}

.results-count {
    font-size: 0.95rem;
    color: #6c757d;
}

.view-toggle {
    display: inline-flex;
    gap: 8px;
    background-color: #f5f5f5;
    padding: 4px;
    border-radius: 6px;
}

.view-btn {
    width: 40px;
    height: 40px;
    background-color: transparent;
    border: none;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #6c757d;
    font-size: 1rem;
}

.view-btn:hover {
    background-color: #ffffff;
    color: #1a1a1a;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.view-btn.active {
    background-color: #1a1a1a;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Products Grid */
.products-grid {
    border: 1px solid #e8e8e8;
    border-radius: 4px;
    overflow: hidden;
}

.product-card-shop {
    border-right: 1px solid #e8e8e8;
    border-bottom: 1px solid #e8e8e8;
    background-color: #ffffff;
    transition: all 0.3s ease;
    height: 100%;
}

.product-card-shop:hover {
    background-color: #fafafa;
}

.products-grid .col-lg-3:nth-child(4n) .product-card-shop {
    border-right: none;
}

.products-grid .col-md-4:nth-child(3n) .product-card-shop {
    border-right: none;
}

.products-grid .col-6:nth-child(2n) .product-card-shop {
    border-right: none;
}

.products-grid .row:last-child .product-card-shop {
    border-bottom: none;
}

.product-image-shop {
    padding: 25px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 240px;
    background-color: #fafafa;
}

.product-image-shop img {
    max-width: 100%;
    max-height: 220px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.product-card-shop:hover .product-image-shop img {
    transform: scale(1.05);
}

.product-info-shop {
    padding: 20px;
}

.product-format {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    color: #f06270;
    letter-spacing: 1px;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.product-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 2.6em;
}

.product-author {
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 10px;
}

.product-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0;
}

/* List View - 2 Columns */
.products-grid.list-view-active .col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0;
}

.product-card-shop.list-view {
    border-right: 1px solid #e8e8e8;
    border-bottom: 1px solid #e8e8e8;
}

.products-grid.list-view-active .col-md-6:nth-child(2n) .product-card-shop {
    border-right: none;
}

.products-grid.list-view-active .row:last-child .product-card-shop {
    border-bottom: none;
}

.product-card-shop.list-view .product-image-shop {
    min-height: 320px;
    padding: 30px 25px;
}

.product-card-shop.list-view .product-image-shop img {
    max-height: 300px;
}

.product-card-shop.list-view .product-info-shop {
    padding: 25px;
}

.product-card-shop.list-view .product-title {
    font-size: 1.05rem;
    -webkit-line-clamp: 2;
    min-height: 2.8em;
}

.product-card-shop.list-view .product-author {
    font-size: 0.9rem;
}

.product-card-shop.list-view .product-price {
    font-size: 1.2rem;
}

.product-card-shop.list-view .product-format {
    font-size: 0.75rem;
    margin-bottom: 10px;
}

/* Pagination - Global */
.shop-pagination .pagination,
.pagination {
    gap: 5px;
}

.shop-pagination .page-item .page-link,
.page-item .page-link {
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    color: #1a1a1a;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 8px 14px;
    margin: 0 2px;
    transition: all 0.3s ease;
    background-color: #ffffff;
}

.shop-pagination .page-item .page-link:hover,
.page-item .page-link:hover {
    background-color: #f8f9fa;
    border-color: #f06270;
    color: #f06270;
}

.shop-pagination .page-item.active .page-link,
.page-item.active .page-link {
    background-color: #1a1a1a;
    border-color: #1a1a1a;
    color: #ffffff;
}

.shop-pagination .page-item:first-child .page-link,
.page-item:first-child .page-link {
    border-radius: 4px;
}

.shop-pagination .page-item:last-child .page-link,
.page-item:last-child .page-link {
    border-radius: 4px;
}

/* Responsive Shop */
@media (max-width: 992px) {
    .shop-slide-title {
        font-size: 2rem;
    }
    
    .shop-slide-content {
        padding: 40px 30px;
    }
    
    .shop-sidebar {
        margin-bottom: 30px;
    }
    
    .featured-book-item {
        gap: 12px;
        padding: 12px 0;
    }
    
    .featured-book-img {
        width: 60px;
        height: 80px;
    }
    
    .featured-book-title {
        font-size: 0.8rem;
    }
    
    .featured-book-price {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .shop-slide-title {
        font-size: 1.75rem;
    }
    
    .shop-slide-content {
        padding: 30px 20px;
    }
    
    .shop-slide-image {
        max-height: 200px;
        margin-top: 20px;
    }
    
    .products-grid:not(.list-view-active) .col-lg-3,
    .products-grid:not(.list-view-active) .col-md-4 {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    .products-grid:not(.list-view-active) .col-lg-3:nth-child(4n) .product-card-shop,
    .products-grid:not(.list-view-active) .col-md-4:nth-child(3n) .product-card-shop {
        border-right: 1px solid #e8e8e8;
    }
    
    .products-grid:not(.list-view-active) .col-lg-3:nth-child(2n) .product-card-shop,
    .products-grid:not(.list-view-active) .col-md-4:nth-child(2n) .product-card-shop {
        border-right: none;
    }
    
    .products-grid.list-view-active .col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 576px) {
    .shop-slide-title {
        font-size: 1.5rem;
    }
    
    .shop-toolbar .row {
        flex-direction: column;
        gap: 15px;
    }
    
    .view-toggle {
        justify-content: flex-start;
    }
    
    .products-grid:not(.list-view-active) .col-lg-3,
    .products-grid:not(.list-view-active) .col-md-4,
    .products-grid:not(.list-view-active) .col-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .products-grid:not(.list-view-active) .col-lg-3 .product-card-shop,
    .products-grid:not(.list-view-active) .col-md-4 .product-card-shop,
    .products-grid:not(.list-view-active) .col-6 .product-card-shop {
        border-right: none !important;
    }
    
    .products-grid.list-view-active .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .products-grid.list-view-active .col-md-6 .product-card-shop {
        border-right: none !important;
    }
    
    .product-card-shop.list-view .product-image-shop {
        min-height: 250px;
    }
    
    .product-card-shop.list-view .product-image-shop img {
        max-height: 230px;
    }
    
    .shop-pagination .page-item .page-link {
        padding: 6px 10px;
        font-size: 0.85rem;
    }
    
    .featured-book-item {
        gap: 10px;
        padding: 10px 0;
    }
    
    .featured-book-img {
        width: 55px;
        height: 70px;
    }
    
    .featured-book-title {
        font-size: 0.78rem;
        -webkit-line-clamp: 2;
    }
}

/* ============================================
   25. EDITORIAL PAGE - RECOMMENDED BOOKS
   ============================================ */

.recommended-books-section {
    background-color: #ffffff;
}

.recommended-title {
    font-size: 1.5rem;
    color: #1a1a1a;
}

.recommended-nav {
    display: inline-flex;
    gap: 10px;
}

.rec-nav-btn {
    width: 36px;
    height: 36px;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #6c757d;
}

.rec-nav-btn:hover {
    background-color: #f8f9fa;
    border-color: #f06270;
    color: #f06270;
}

.recommended-carousel-wrapper {
    border: 1px solid #e8e8e8;
    border-radius: 4px;
    overflow: hidden;
    background-color: #ffffff;
}

.rec-card {
    background-color: #ffffff;
    border-radius: 0;
    overflow: hidden;
    height: 100%;
    border-right: 1px solid #e8e8e8;
    display: flex;
    flex-direction: column;
}

.rec-item {
    padding: 0;
    margin: 0;
}

.rec-image-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 25px 20px;
    background-color: #fafafa;
    border-bottom: 1px solid #e8e8e8;
    min-height: 260px;
}

.rec-image-wrapper img {
    max-width: 100%;
    max-height: 220px;
    object-fit: contain;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.rec-item:hover .rec-image-wrapper img {
    transform: scale(1.05);
}

.rec-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.rec-format {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    color: #f06270;
    letter-spacing: 1px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.rec-format.kindle {
    color: #00bcd4;
}

.rec-book-title {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 2.8em;
}

.rec-author {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 12px;
}

.rec-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0;
    margin-top: auto;
}

#recommendedCarousel {
    margin: 0;
}

#recommendedCarousel .owl-stage-outer {
    overflow: hidden;
}

#recommendedCarousel .owl-stage {
    display: flex;
}

#recommendedCarousel .owl-item {
    padding: 0;
    margin: 0;
    float: left;
}

#recommendedCarousel .owl-item .rec-item {
    margin: 0;
    padding: 0;
}

#recommendedCarousel .owl-item:last-child .rec-card {
    border-right: none;
}

#recommendedCarousel .owl-dots,
#recommendedCarousel .owl-nav {
    display: none;
}

/* Promo Card (Sidebar) */
.sidebar-promo .promo-card {
    background-color: #fdf2f4;
    border-radius: 8px;
    overflow: hidden;
    padding: 30px 25px;
    text-align: center;
}

.sidebar-promo .promo-image {
    max-width: 100%;
    max-height: 200px;
    object-fit: contain;
    margin-bottom: 20px;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.15));
}

.sidebar-promo .promo-content {
    text-align: left;
}

.sidebar-promo .promo-title {
    font-size: 1.5rem;
    font-weight: 400;
    color: #1a1a1a;
    margin-bottom: 5px;
}

.sidebar-promo .promo-sale {
    font-size: 2.5rem;
    font-weight: 700;
    color: #f06270;
    margin-bottom: 10px;
    line-height: 1.1;
}

.sidebar-promo .promo-condition {
    font-size: 1rem;
    font-weight: 600;
    color: #999999;
    letter-spacing: 1px;
    margin-bottom: 25px;
    text-transform: uppercase;
}

@media (max-width: 992px) {
    .rec-book-title {
        font-size: 0.95rem;
    }
    
    .rec-image-wrapper {
        min-height: 240px;
    }
}

@media (max-width: 768px) {
    .recommended-title {
        font-size: 1.25rem;
        margin-bottom: 15px !important;
    }
    
    .recommended-nav {
        text-align: left !important;
    }
    
    .rec-image-wrapper {
        min-height: 220px;
    }
    
    .rec-info {
        padding: 15px;
    }
}

@media (max-width: 576px) {
    .rec-image-wrapper {
        min-height: 200px;
    }
    
    .rec-book-title {
        font-size: 0.9rem;
    }
    
    .rec-price {
        font-size: 1rem;
    }
    
    .sidebar-promo .promo-sale {
        font-size: 2rem;
    }
    
    .btn-view-more {
        padding: 10px 25px;
    }
}

/* ============================================
   26. CATEGORIES PAGE STYLES
   ============================================ */

.categories-hero {
    background: linear-gradient(135deg, #fdf2f4 0%, #ffffff 100%);
}

.search-categories {
    max-width: 400px;
}

.search-categories .form-control {
    border-radius: 8px 0 0 8px;
    border: 2px solid #e8e8e8;
    padding: 12px 20px;
}

.search-categories .btn {
    border-radius: 0 8px 8px 0;
    padding: 12px 24px;
}

.category-filters {
    gap: 10px;
}

.category-filters .nav-link {
    background-color: #ffffff;
    color: #6c757d;
    border-radius: 30px;
    padding: 10px 25px;
    font-weight: 500;
    border: 2px solid #e8e8e8;
    transition: all 0.3s ease;
}

.category-filters .nav-link:hover {
    background-color: #f8f9fa;
    border-color: #f06270;
    color: #f06270;
}

.category-filters .nav-link.active {
    background-color: #f06270;
    border-color: #f06270;
    color: #ffffff;
}

.categories-stats {
    padding: 30px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.stat-number {
    font-size: 2.5rem;
}

.stat-label {
    font-size: 0.95rem;
}

.category-card-large {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    height: 100%;
    min-height: 350px;
    transition: all 0.4s ease;
}

.category-card-large:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.category-card-large::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
    z-index: 1;
}

.category-card-large:hover::before {
    left: 100%;
}

.category-card-image {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.category-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.category-card-large:hover .category-card-image img {
    transform: scale(1.1);
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.7) 100%);
    transition: background 0.3s ease;
}

.category-card-large:hover .category-overlay {
    background: linear-gradient(to bottom, rgba(240, 98, 112, 0.3) 0%, rgba(0, 0, 0, 0.8) 100%);
}

.category-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    color: #ffffff;
    z-index: 2;
}

.category-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.category-icon i {
    font-size: 1.8rem;
}

.category-card-large:hover .category-icon {
    background-color: #f06270;
    transform: scale(1.1) rotate(5deg);
}

.category-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 8px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.category-count {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 20px;
}

.category-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    padding: 10px 20px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.category-link:hover {
    background-color: #f06270;
    transform: translateX(5px);
}

.category-link i {
    transition: transform 0.3s ease;
}

.category-link:hover i {
    transform: translateX(5px);
}

#loadMoreBtn {
    border-radius: 30px;
    padding: 15px 40px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

#loadMoreBtn:hover {
    background-color: #f06270;
    border-color: #f06270;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(240, 98, 112, 0.3);
}

@media (max-width: 992px) {
    .stat-number {
        font-size: 2rem;
    }
    
    .category-title {
        font-size: 1.5rem;
    }
    
    .category-card-large {
        min-height: 300px;
    }
}

@media (max-width: 768px) {
    .categories-hero h1 {
        font-size: 2rem;
    }
    
    .category-filters {
        flex-wrap: wrap;
    }
    
    .category-filters .nav-link {
        padding: 8px 18px;
        font-size: 0.9rem;
    }
    
    .categories-stats {
        padding: 20px;
    }
    
    .stat-number {
        font-size: 1.75rem;
    }
    
    .category-card-large {
        min-height: 280px;
    }
    
    .category-content {
        padding: 20px;
    }
    
    .category-title {
        font-size: 1.3rem;
    }
    
    .category-icon {
        width: 50px;
        height: 50px;
    }
    
    .category-icon i {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .search-categories {
        max-width: 100%;
    }
    
    .category-card-large {
        min-height: 250px;
    }
    
    .category-title {
        font-size: 1.2rem;
    }
    
    .category-count {
        font-size: 0.9rem;
    }
}

.category-item {
    animation: fadeInUp 0.6s ease-out;
}

/* ============================================
   27. TOAST NOTIFICATION
   ============================================ */

.toast-notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #f06270;
    color: #ffffff;
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    z-index: 9999;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

/* ============================================
   28. UTILITY CLASSES
   ============================================ */

.text-danger-custom {
    color: #f06270 !important;
}

.bg-danger-custom {
    background-color: #f06270 !important;
}

.border-custom {
    border-color: #e8e8e8 !important;
}

/* ============================================
   END OF STYLESHEET
   ============================================ */
/* ============================================
   PUBLISHERS CAROUSEL SECTION - CORREGIDO
   ============================================ */

.publishers-section {
    background-color: #ffffff;
    padding: 40px 0;
}

/* Carousel Wrapper with Borders */
.publishers-carousel-wrapper {
    position: relative;
    padding: 0 50px;
    border-top: 1px solid #e8e8e8;
    border-bottom: 1px solid #e8e8e8;
    background-color: #ffffff;
}

/* Navigation Arrows - FontAwesome Icons */
.pub-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    color: #b0b0b0;
    font-size: 14px;
    padding: 0;
    outline: none;
}

.pub-nav:hover {
    color: #1a1a1a;
    background-color: #f8f9fa;
    border-color: #1a1a1a;
}

.pub-nav:active {
    transform: translateY(-50%) scale(0.95);
}

.pub-nav-prev {
    left: 0;
}

.pub-nav-next {
    right: 0;
}

.pub-nav i {
    font-size: 14px;
    font-weight: 900;
    line-height: 1;
}

/* Publisher Card */
.pub-card {
    background-color: #ffffff;
    border-radius: 0;
    overflow: hidden;
    height: 100%;
    border-right: 1px solid #e8e8e8;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
    min-height: 200px;
}

.pub-card:hover {
    background-color: #fafafa;
}

.pub-item {
    padding: 0;
    margin: 0;
}

/* Publisher Image Wrapper */
.pub-image-wrapper {
    width: 100%;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 20px;
}

.pub-image-wrapper img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.pub-item:hover .pub-image-wrapper img {
    transform: scale(1.05);
}

/* Owl Carousel Customization - ZERO GAP */
#publishersCarousel {
    margin: 0;
}

#publishersCarousel .owl-stage-outer {
    overflow: hidden;
}

#publishersCarousel .owl-stage {
    display: flex;
}

#publishersCarousel .owl-item {
    padding: 0;
    margin: 0;
    float: left;
}

#publishersCarousel .owl-item .pub-item {
    margin: 0;
    padding: 0;
}

#publishersCarousel .owl-item:last-child .pub-card {
    border-right: none;
}

#publishersCarousel .owl-dots,
#publishersCarousel .owl-nav {
    display: none;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .pub-image-wrapper {
        height: 180px;
        padding: 25px 35px;
    }
}

@media (max-width: 992px) {
    .pub-image-wrapper {
        height: 160px;
        padding: 20px 30px;
    }
    
    .publishers-carousel-wrapper {
        padding: 0 45px;
    }
}

@media (max-width: 768px) {
    .pub-image-wrapper {
        height: 140px;
        padding: 20px 25px;
    }
    
    .pub-nav {
        width: 35px;
        height: 35px;
    }
    
    .pub-nav i {
        font-size: 12px;
    }
    
    .publishers-carousel-wrapper {
        padding: 0 40px;
    }
}

@media (max-width: 576px) {
    .pub-image-wrapper {
        height: 120px;
        padding: 15px 20px;
    }
    
    .pub-nav {
        width: 32px;
        height: 32px;
    }
    
    .pub-nav i {
        font-size: 11px;
    }
    
    .publishers-carousel-wrapper {
        padding: 0 35px;
    }
}


.text-theme{color: #303030 !important;}
.btn-theme-outline {
color: var(--primary-color);
border-color: var(--primary-color);
}

.btn-theme-outline:hover {
color: #ffffff;
border-color: var(--primary-color);
background: var(--primary-color);
}
.product-carousel{position: relative;}
.product-carousel .owl-nav{position: absolute; top:-40px; right: 10px}
.product-carousel .owl-nav button.owl-next, .owl-carousel .owl-nav button.owl-prev, .owl-carousel button.owl-dot {
    background: #ffffff;
    color: inherit;
    border: 1px solid #e0e0e0;
    padding: 6px 8px !important;
    font: inherit;
}