/* ==========================================================================
   CSS VARIABLES
   ========================================================================== */

:root {
  --primary-color: #663795;
  --primary-dark: #555;
  --primary-light: #996ac8;
  --secondary-color: #829cd0;
  --accent-color: #0073aa;
  --text-color: #000;
  --text-secondary: #666;
  --text-muted: #999;
  --bg-white: #fff;
  --bg-light: #f8f9fa;
  --bg-overlay: rgba(0, 0, 0, 0.1);
  --border-color: #ccc;
  --border-light: #e6e6e6;
  --shadow-light: 0 4px 15px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.15);
  --border-radius: 8px;
  --transition: all 0.3s ease;
  --font-primary: "Georgia", sans-serif;
  --font-heading: "Playfair Display", serif;
  --font-secondary: "Georgia", sans-serif;
}

/* ==========================================================================
   BASE STYLES
   ========================================================================== */
html {
  font-size: 62.5%;
  box-sizing: border-box;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

body {
  font-family: var(--font-primary);
  background-color: var(--bg-white);
  color: var(--text-color);
  line-height: 1.5;
  padding: 0;
  margin: 0;
}

.container {
  max-width: 120rem;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */
.section-title {
  font-size: 6.4rem;
  font-weight: 700;
  font-family: var(--font-heading);
  color: var(--text-color);
  margin-bottom: 4rem;
  text-align: left;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 2.4rem;
  font-weight: 500;
  font-family: var(--font-primary);
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-block;
  padding: 1.2rem 3.2rem;
  border: none;
  border-radius: var(--border-radius);
  font-size: 1.8rem;
  font-weight: 500;
  font-family: var(--font-primary);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  text-align: center;
}

.btn-primary {
  background: var(--primary-color);
  color: var(--bg-white);
}

.btn-primary:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--secondary-color);
  color: var(--bg-white);
}

.btn-secondary:hover {
  background: var(--primary-color);
}

.btn-large {
  padding: 2.2rem 6.4rem;
  font-size: 2.4rem;
}

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

.custom-header-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4rem;
  padding-right: 0;
  background-color: var(--bg-white);
  height: 6.6rem;
  border-bottom: 1px solid var(--border-color);
  position: relative;
}

.custom-header-container .logo img {
  height: 5.4rem;
  width: 17rem;
  margin-right: 27rem;
  margin-left: 2rem;
  margin-bottom: 1rem;
}

.custom-nav .nav-items {
  list-style: none;
  display: flex;
  gap: 4.8rem;
  margin: 0;
  padding: 0;
  margin-left: 1.5rem;
}

.custom-nav .nav-items li a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  font-size: 2.2rem;
  letter-spacing: 0;
  transition: color 0.3s ease;
  font-family: var(--font-secondary);
}

.custom-nav .nav-items li a:hover {
  color: var(--accent-color);
}

.nav-right {
  margin: 0 0 0 auto;
}

.nav-icons {
  display: flex;
  list-style: none;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  color: var(--text-color);
}

.nav-icons .search-icon {
  margin-top: 0.3rem;
  height: 3.8em;
  width: 3.8rem;
}

.nav-icons .cart-icon {
  height: 5.2rem;
  width: 5.2rem;
  color: var(--text-color);
  position: relative;
}


.cart-icon {
  position: relative !important;
}

.nav-icons .language-switcher {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 2.2rem;
  margin-top: 0.5rem;
  
}

.nav-icons .language-switcher img {
  width: 3.8rem;
  height: 3.8rem;
}

/* Language Selector Styling */
.nav-icons .language-selector {
  display: flex;
  align-items: center;
  margin: 0 10px;
}

.nav-icons .language-selector .language-dropdown {
  background: transparent;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 8px 12px;
  font-size: 14px;
  color: #333;
  cursor: pointer;
  outline: none;
  transition: border-color 0.3s ease;
}

.nav-icons .language-selector .language-dropdown:hover {
  border-color: #663795;
}

.nav-icons .language-selector .language-dropdown:focus {
  border-color: #663795;
  box-shadow: 0 0 0 2px rgba(102, 55, 149, 0.2);
}

.header-widgets{
  height: 50px;
   
}


.home.blog .site-header, 
.home.page:not(.page-template-template-homepage) .site-header, 
.home.post-type-archive-product .site-header {
    margin-bottom: 0 !important;
    
}




/* Mobile menu */
.hamburger-menu {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.hamburger-menu span {
  width: 2.5rem;
  height: 0.3rem;
  background: var(--text-color);
  margin: 0.3rem 0;
  transition: 0.6s all;
  border-radius: 0.2rem;
}

.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 999;
}

.mobile-menu-overlay.active {
  display: block;
}

.mobile-menu {
  position: fixed;
  top: -100%;
  left: 0;
  width: 100%;
  background: var(--bg-white);
  box-shadow: var(--shadow-light);
  z-index: 1000;
  transition: top 1.1s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
  opacity: 0;
  visibility: hidden;
}

.mobile-menu.active {
  top: 6.6rem;
  opacity: 1;
  visibility: visible;
}

.mobile-menu .mobile-nav-items {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-menu .mobile-nav-items li {
  margin: 0;
  position: relative;
  text-align: center;
}

.mobile-menu .mobile-nav-items li::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 40%;
  transform: translateX(-50%);
  width: 90vw;
  height: 0.1rem;
  background-color: #eee;
}

.mobile-menu .mobile-nav-items li a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 600;
  font-family: var(--font-heading);
  font-size: 3.2rem;
  display: block;
  padding: 2rem;
  transition: color 0.3s ease;
}

/* Mobile Language Selector */
.mobile-language-selector {
  padding: 2rem;
  border-top: 1px solid #e0e0e0;
  margin-top: 1rem;
}

.mobile-language-selector label {
  display: block;
  font-size: 1.4rem;
  color: var(--text-color);
  font-weight: 600;
  margin-bottom: 1rem;
}

.mobile-language-selector .language-dropdown,
.mobile-language-selector .gt_selector {
  width: 100% !important;
  padding: 1.2rem !important;
  font-size: 1.6rem !important;
  border: 1px solid #ddd !important;
  border-radius: 6px !important;
  background: white !important;
  color: #333 !important;
}

.mobile-language-selector .gt_switcher {
  width: 100% !important;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  background-image: url(/wp-content/themes/osenity-theme/images/hero-woman.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 72rem;
  display: flex;
  justify-content: left;
  align-items: center;
  position: relative;
  color: var(--text-color);
}

.hero-section .hero-content {
  margin-left: 8.5rem;
  max-width: 64.2rem;
  border-radius: var(--border-radius);
}

.hero-section .hero-content h1 {
  font-size: 6.4rem;
  font-weight: 700;
  letter-spacing: -1.28px;
  font-family: var(--font-heading);
}

.hero-section .hero-content .subheading {
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: 2.4rem;
  line-height: 1.5;
  letter-spacing: 0;
  max-width: 55rem;
  text-align: justify;
  color: rgba(0, 0, 0, 0.749);
}

/* ==========4================================================================
   BOOK SECTIONS (TRENDING, GENRES, ETC.)
   ========================================================================== */
.books-section {
  max-width: 90vw;
  margin: 0 auto;
  border-radius: var(--border-radius);
  padding: 6rem 8rem;
  position: relative;
}

/* Books Grid */
.books-container {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.books-grid {
  display: flex;
  transition: transform 0.3s ease;
  gap: 3rem;
  margin-bottom: 4rem;
  width: 100%;
}

.books-grid .book-card {
  flex: 0 0 calc(20% - 2.4rem);
  min-width: 230px;
  max-width: calc(20% - 2.4rem);
}

.book-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease;
  width: 100%;
}

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

.book-cover {
  width: 100%;
  aspect-ratio: 2/3;
  border-radius: var(--border-radius);
  position: relative;
  overflow: hidden;
  margin-bottom: 1.5rem;
  cursor: pointer;
  box-shadow: var(--shadow-light);
}

.book-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

/* Discount Badge */
.discount-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #e74c3c;
  color: white;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: bold;
  z-index: 2;
}

/* Book Info Styling for Promo */
.book-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
  width: 100%;
}

.book-title a {
  color: #333;
  text-decoration: none;
  
  font-weight: 600;
  line-height: 1.3;
}

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

.book-author {
  font-size: 12px;
  color: #666;
  margin: 0;
}

.book-rating {
  display: flex;
  align-items: center;
  gap: 5px;
}

.book-rating .star-rating {
  font-size: 14px;
  position: relative;
  display: inline-block;
  color: #ddd;
  font-family: star;
}

.book-rating .star-rating::before {
  content: "\73\73\73\73\73";
  color: #ddd;
}

.book-rating .star-rating span {
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  color: #663795;
}

.book-rating .star-rating span::before {
  content: "\73\73\73\73\73";
  color: #663795;
}

.book-rating .rating-text {
  font-size: 12px;
  color: #666;
}

.book-price {
  font-weight: 600;
  font-size: 14px;
}

.book-price .price del {
  color: #999;
  font-size: 12px;
}

.book-price .price ins {
  color: #e74c3c;
  text-decoration: none;
  font-weight: bold;
}

.book-description {
  font-size: 12px;
  color: #666;
  line-height: 1.4;
  margin: 0;
}

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

.book-info {
  flex: 1;
  width: 100%;
}

.book-title {
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--text-color);
  margin-bottom: 0.8rem;
  line-height: 1.5;
  text-align: left;
}

.book-description {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.4;
  text-align: left;
}

/* Trending Books Section */
.trending-books {
  padding: 6rem 8rem;
  background: var(--bg-white);
}

.trending-books .books-slider-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.trending-books .books-slider {
  display: flex;
  transition: transform 0.5s ease;
  width: 100%;
}

/* When slider is active */
.trending-books .books-slider.slider-active {
  width: auto;
}

.trending-books .books-slider .book-card {
  flex: 0 0 20%; 
  min-width: 0;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s ease;
  padding: 0 1.5rem;
  box-sizing: border-box;
}


.trending-books .books-slider:not(.slider-active) {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
}

.trending-books .books-slider:not(.slider-active) .book-card {
  flex: none;
  padding: 0;
}

/* Slider dots */
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.slider-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #d1d5db;
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-dots .dot.active {
  background: var(--primary-color, #8b4cb8);
  transform: scale(1.2);
}

.slider-dots .dot:hover {
  background: #9ca3af;
}

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

.book-cover-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius);
  margin-bottom: 1.5rem;
  aspect-ratio: 2/3;
  box-shadow: var(--shadow-light);
}

.book-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.book-cover-wrapper:hover .book-cover-img {
  transform: scale(1.05);
}

.book-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.book-cover-wrapper:hover .book-overlay {
  opacity: 1;
}

.book-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.view-details-btn {
  background: var(--bg-white);
  color: var(--text-color);
  padding: 0.8rem 2rem;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 500;
  font-size: 1.4rem;
  transition: var(--transition);
}

.view-details-btn:hover {
  background: var(--primary-color);
  color: var(--bg-white);
}

.quick-add-btn {
  background: var(--primary-color);
  color: var(--bg-white);
  padding: 0.8rem 2rem;
  border: none;
  border-radius: var(--border-radius);
  font-weight: 500;
  font-size: 1.4rem;
  cursor: pointer;
  transition: var(--transition);
}

.quick-add-btn:hover {
  background: var(--primary-dark);
}

.quick-add-btn.loading {
  opacity: 0.7;
  cursor: not-allowed;
}

.quick-add-btn.added {
  background: #28a745;
}

.trending-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: #ff4757;
  color: var(--bg-white);
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: 1.2rem;
  font-weight: 600;
  z-index: 2;
}

.book-info {
  flex: 1;
  text-align: center;
}

.book-title {
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--text-color);
  margin-bottom: 0.8rem;
  line-height: 1.4;
  text-align: center;
}

.book-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.book-title a:hover {
  color: var(--primary-color);
}

.book-author {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  font-style: italic;
}

.book-description {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 1rem;
  text-align: justify;
}

.book-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.stars {
  display: flex;
  gap: 0.2rem;
}

.star {
  font-size: 1.4rem;
  color: #ddd;
  transition: color 0.2s ease;
}

.star.filled {
  color: #ffc107;
}

.rating-count {
  font-size: 1.2rem;
  color: var(--text-muted);
}

.book-stats {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.sales-info {
  color: var(--text-secondary);
  font-weight: 500;
}

.price-info {
  color: var(--primary-color);
  font-weight: 700;
  font-size: 1.4rem;
}

.book-excerpt {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.4;
  text-align: center;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-clamp: 2;
  overflow: hidden;
}

/* CTA Button */
.cta-button-wrapper {
  text-align: center;
}



.cta-button-wrapper .catalog-btn {
  background: var(--primary-color);
  color: var(--bg-white);
  border: none;
  padding: 2.2rem 6.4rem;
  border-radius: var(--border-radius);
  font-size: 2.4rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.cta-button-wrapper .catalog-btn:hover {
  background: var(--primary-dark);
}

/* ==========================================================================
   MOCKUP SECTION
   ========================================================================== */

.image-section {
  width: 100%;
  height: 100vh;
  background-image: url(/wp-content/themes/osenity-theme/images/mockup1.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-top: #000 solid 2px;
  border-bottom: #000 solid 2px;
}

/* ==========================================================================
   SINGLE BOOK PAGE
   ========================================================================== */
.book-page-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem 8rem;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}


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

.book-title-large {
  font-family: var(--font-heading);
  font-size: 4.2rem;
  font-weight: 700;
  color: #000;
  margin-bottom: 1.2rem;
}

.book-author {
  font-size: 1.6rem;
  color: #888;
  font-style: italic;
  margin-bottom: 1.2rem;
}

.book-rating {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1.5rem;
  color: #663795;
  margin-bottom: 1.2rem;
}

.rating-text {
  color: #666;
  font-size: 1.3rem;
}

.book-description {
  background: #fafafa;
  border-radius: 8px;
  padding: 2rem;
  font-size: 1.6rem;
  color: #333;
  margin-bottom: 2rem;
}

.payment-section {
  background: #f5f5f5;
  border-radius: 8px;
  padding: 2rem;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  
}

.book-price {
  font-size: 2.4rem;
  font-weight: 700;
  color: #663795;
  margin-bottom: 1rem;
}

.payment-methods {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  margin-bottom: 1.5rem;
}

.payment-methods img {
  height: 32px;
  width: auto;
  filter: grayscale(0.2);
  opacity: 0.85;
  transition: opacity 0.2s;
}

.payment-methods img:hover {
  opacity: 1;
}

.cart .single_add_to_cart_button {
  width: 100%;
  background: #663795;
  color: #fff;
  border: none;
  padding: 1.2rem;
  border-radius: 8px;
  font-size: 1.7rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.cart .single_add_to_cart_button:hover {
  background: #555;
  transform: translateY(-2px);
}

.start-reading-btn {
  display: block;
  background: #829cd0;
  color: #fff;
  border-radius: 8px;
  padding: 1.2rem;
  font-size: 1.7rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  transition: var(--transition);
}

.start-reading-btn:hover {
  background: #663795;
}

/* Reviews Section */
.reviews-section {
  margin-bottom: 5rem;
}
.commentlist {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.comment {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
  padding: 2.2rem 2rem 1.5rem;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.comment .avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  margin-bottom: 0.8rem;
}
.comment .fn {
  font-weight: 600;
  font-size: 1.4rem;
  color: #663795;
}
.comment .comment-meta {
  font-size: 1.2rem;
  color: #999;
}
.comment .description {
  font-size: 1.5rem;
  color: #333;
}
.comment .star-rating {
  margin-bottom: 0.5rem;
}

.meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  border-radius: 50%;
}

.comment-author .fn {
  font-size: 14px;
  font-weight: 600;
  color: #333;
}

.comment-meta {
  font-size: 12px;
  color: #666;
}

.leave-review-btn {
  display: block;
  margin: 2.5rem auto 0 auto;
  background: #663795;
  color: #fff;
  border-radius: 8px;
  padding: 1.2rem 3.2rem;
  font-size: 1.6rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  transition: var(--transition);
}
.leave-review-btn:hover {
  background: #555;
}

#review_form_wrapper {
    display: none !important;
}

/* About Author Section */
.about-section {
  margin-bottom: 5rem;
}

.about-content {
  display: flex;
  gap: 4rem;
  align-items: flex-start;
  margin-bottom: 3rem;
}

.profile-section {
  flex: 0 0 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}

.profile-image {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.09);
}

.profile-name {
  font-size: 2rem;
  font-weight: 700;
  color: #663795;
  margin: 0;
}

.about-text {
  flex: 1;
}

.about-heading {
  font-size: 2.4rem;
  font-family: var(--font-heading);
  color: #000;
  margin-bottom: 1.2rem;
}

.about-paragraph {
  font-size: 1.5rem;
  color: #555;
  line-height: 1.6;
  text-align: justify;
}



@media (max-width: 968px) {
  .book-details-section {
    flex-direction: column;
    gap: 3rem;
  }
  .book-image-container {
    justify-content: center !important;
    position: static !important;
    transform: none !important;
  }

  .faq-list{
    width: 100%;
  }

  
  .book-cover-large img {
    width: 220px;
    height: 330px;
  }

  .commentlist {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
    
    .comment {
        padding: 1.5rem 1.2rem 1rem;
    }
}
@media (max-width: 768px) {
  .book-page-container {
    padding: 2rem 0.5rem 4rem;
  }
  .about-content {
    flex-direction: column;
    gap: 2rem;
  }

  .commentlist {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
    
    .comment {
        padding: 1.5rem 1.2rem 1rem;
    }
    
    
    .comment:nth-child(n+3) {
        display: none;
    }
}
@media (max-width: 480px) {
  .book-title-large {
    font-size: 2.2rem;
  }
  .book-cover-large img {
    width: 100%;
    height: auto;
  }
  .faq-list {
    grid-template-columns: 1fr;
  }

    .commentlist {
        gap: 1rem;
    }
    
    .comment {
        padding: 1.2rem 1rem 0.8rem;
        font-size: 0.9em;
    }
  
}

/* ==========================================================================
   OTHER SECTIONS
   ========================================================================== */
.why-osenity {
  padding: 4rem 2rem;
}

.why-osenity .container {
  margin: 0 6rem;
}

.why-osenity .why-content h3.why-subtitle {
  font-size: 2.4rem;
  font-weight: 500;
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-family: var(--font-primary);
}

.why-osenity .why-content .why-text {
  font-weight: 400;
  font-size: 1.8rem;
  line-height: 1.6;
  font-family: var(--font-primary);
  color: #333;
  margin-bottom: 2rem;
}

.join-team {
  padding: 4rem 2rem;
  text-align: center;
  background-color: var(--bg-white);
}

.join-team .container {
  max-width: 120rem;
  margin: 0 auto;
}

.join-team .team-title {
  font-family: var(--font-heading);
  font-size: 4.8rem;
  font-weight: 600;
  margin-bottom: 6rem;
  color: var(--text-color);
  line-height: 1;
}

.join-team .team-buttons {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.join-team .team-buttons .team-btn {
  display: inline-block;
  padding: 1.2rem 3.2rem;
  background-color: var(--primary-color);
  color: var(--bg-white);
  font-size: 1.8rem;
  border-radius: var(--border-radius);
  text-decoration: none;
  transition: background-color 0.3s ease;
  font-family: var(--font-secondary);
  font-weight: 300;
}

.join-team .team-buttons .team-btn:hover {
  background-color: #333;
}

.join-team .team-buttons .team-btn.writer {
  background-color: var(--secondary-color);
  color: var(--bg-white);
  transition: var(--transition);
}

.join-team .team-buttons .team-btn.writer:hover {
  background-color: var(--primary-color);
  color: var(--bg-white);
}



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


@media screen and (max-width: 1300px) {
  .custom-header-container .logo img {
    margin-right: 10rem;
  }
}

@media screen and (max-width: 1140px) {
  .custom-header-container .logo img {
    margin-right: 6rem;
  }

  .custom-nav .nav-items {
    gap: 2.4rem;
  }

  .custom-nav .nav-items li a {
    font-size: 1.8rem;
  }
}

@media screen and (max-width: 1200px) {
  .books-grid .book-card {
    flex: 0 0 calc(25% - 2.25rem);
    max-width: calc(25% - 2.25rem);
  }
}

/* Tablet */
@media screen and (max-width: 1024px) {
  .hero-section {
    height: 60rem;
    justify-content: center;
    padding: 0 4rem;
  }

  .hero-section .hero-content {
    margin-left: 0;
    max-width: 90%;
    text-align: justify;
  }

  .hero-section .hero-content h1 {
    font-size: 4.2rem;
    margin-left: -1rem;
  }

  .hero-section .hero-content .subheading {
    font-size: 1.8rem;
    max-width: 70%;
    text-align: justify;
    margin-top: 2rem;
  }

  .books-grid {
    gap: 2rem;
  }

  .books-grid .book-card {
    flex: 0 0 calc(33.333% - 1.33rem);
    max-width: calc(33.333% - 1.33rem);
  }

 

}

@media screen and (max-width: 980px) {
  .custom-header-container {
    padding: 2rem;
    height: auto;
    justify-content: space-between;
    position: relative;
  }

  .custom-header-container .logo img {
    height: 4rem;
    width: auto;
    margin-right: 0;
    margin-left: 0;
  }

  .custom-nav {
    display: none;
  }

  .nav-right {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 1.5rem;
  }

  .nav-right .nav-icons {
    gap: 1.5rem;
  }

  .nav-right .nav-icons .cart-icon,
  .nav-right .nav-icons .search-icon {
    height: 3rem;
    width: 3rem;
  }

  

  .nav-right .nav-icons .language-switcher img {
    width: 3rem;
    height: 3rem;
  }

  .hamburger-menu {
    display: flex;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }

  .mobile-menu-overlay.active {
    display: block;
  }

  .mobile-menu.active {
    top: 13rem;
  }
}

/* Mobile */
@media screen and (max-width: 767px) {


  .site-header {
    padding-bottom: 0 !important;
  }
  .hero-section {
    height: 50rem;
    justify-content: center;
    padding: 0 2rem;
    background-position: center right;
  }

  .hero-section .hero-content {
    margin-left: 0;
    max-width: 100%;
    text-align: center !important;
  }

  .hero-section .hero-content h1 {
    font-size: 3.6rem;
    letter-spacing: -0.72px;
    line-height: 1.2;
  }

  .hero-section .hero-content .subheading {
    font-size: 1.6rem;
    max-width: 100%;
    text-align: center;
    margin-top: 1.5rem;
    line-height: 1.4;
  }

  .books-grid {
    gap: 1.5rem;
  }

  .books-grid .book-card {
    flex: 0 0 calc(50% - 0.75rem);
    max-width: calc(50% - 0.75rem);
  }

  .section-title {
    font-size: 4rem;
  }

  .books-section {
    padding: 4rem 2rem;
  }

  .trending-books {
    padding: 3rem 2rem;
  }

  .trending-books .section-title {
    font-size: 2.8rem;
    margin-bottom: 2.5rem;
    text-align: center;
  }

  .trending-books .books-slider {
    margin-right: -1.5rem;
  }

  .trending-books .books-slider .book-card {
    flex: 0 0 30%;
    max-width: 50%;
    padding-right: 1.5rem;
  }

  .trending-books .books-slider .book-card h3 {
    font-size: 1.2rem;
    text-align: center;
  }

  .trending-books .books-slider .book-card p {
    font-size: 0.8rem;
    text-align: center;
  }

  .trending-books .slider-dots {
    display: flex;
  }

  .trending-books .slider-dots .dot {
    width: 1rem;
    height: 1rem;
  }

  .trending-books .cta-button-wrapper .catalog-btn {
    font-size: 1.8rem;
    padding: 1rem 2rem;
  }

  .book-details-section {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .book-title-large {
    font-size: 2.4rem;
  }

  .book-author {
    font-size: 1.4rem;
  }

  .book-page-container {
    padding: 2rem;
  }

  .custom-header-container {

    padding-right: 0 !important;
  }

  .mobile-menu.active {
    top: 11rem;
  }
}

@media screen and (max-width: 480px) {
  .custom-header-container {
    padding: 1.5rem;
    padding-right: 0 !important;
  }

  .custom-header-container .logo img {
    height: 3.5rem;
  }

  .nav-right .nav-icons {
    gap: 1rem;
  }

  .nav-right .nav-icons .cart-icon,
  .nav-right .nav-icons .search-icon {
    height: 2.5rem;
    width: 2.5rem;
  }

  .nav-right .nav-icons .language-switcher img {
    width: 2.5rem;
    height: 2.5rem;
  }

  .hamburger-menu span {
    width: 2rem;
    height: 0.25rem;
  }

  .mobile-menu .mobile-nav-items li a {
    font-size: 1.8rem;
    padding: 1.5rem;
  }

  .mobile-menu.active {
    top: 8rem;
  }

  .hero-section {
    height: 45rem;
    padding: 0 1.5rem;
  }

  .hero-section .hero-content h1 {
    font-size: 3rem;
    letter-spacing: -0.6px;
  }

  .hero-section .hero-content .subheading {
    font-size: 1.4rem;
    margin-top: 1rem;
  }

  

  .section-title {
    font-size: 3rem;
  }

  .trending-books {
    padding: 2.5rem 1.5rem;
  }

  .trending-books .section-title {
    font-size: 2.4rem;
    margin-bottom: 2rem;
  }

  
}

/* Mobile - 480px */
@media screen and (max-width: 480px) {
  .custom-header-container {
    padding: 1.5rem;
  }
  
  .custom-header-container .logo img {
    height: 3.5rem;
  }
  
  .nav-right .nav-icons {
    gap: 1rem;
  }
  
  .nav-right .nav-icons .cart-icon,
  .nav-right .nav-icons .search-icon {
    height: 2.5rem;
    width: 2.5rem;
  }
  
  .nav-right .nav-icons .language-switcher img {
    width: 2.5rem;
    height: 2.5rem;
  }
  
  
  
  .mobile-menu .mobile-nav-items li a {
    font-size: 1.8rem;
    padding: 1.5rem;
  }
  
  .mobile-menu.active {
    top: 9.5rem;
  }
  
  .hero-section {
    height: 45rem;
    padding: 0 1.5rem;
  }
  
  .hero-section .hero-content h1 {
    font-size: 3rem;
    letter-spacing: -0.6px;
  }
  
  .hero-section .hero-content .subheading {
    font-size: 1.4rem;
    margin-top: 1rem;
  }
  
  .section-title {
    font-size: 3rem;
  }
  
  .trending-books {
    padding: 2.5rem 1.5rem;
  }
  
  .trending-books .section-title {
    font-size: 2.4rem;
    margin-bottom: 2rem;
  }
}


@media screen and (max-width: 360px) {
  .custom-header-container {
    padding: clamp(0.8rem, 4vw, 1.2rem);
  }

  

  .hamburger-menu span {
    width: 2rem !important;
    height: 0.25rem !important;
  }
  
  
  .custom-header-container .logo img {
    height: clamp(2.8rem, 8vw, 3.2rem);
  }
  
  .nav-right .nav-icons {
    gap: clamp(0.6rem, 3vw, 0.8rem);
  }
  
  .nav-right .nav-icons .cart-icon,
  .nav-right .nav-icons .search-icon {
    height: clamp(2rem, 6vw, 2.3rem);
    width: clamp(2rem, 6vw, 2.3rem);
  }
  
  .nav-right .nav-icons .language-switcher img {
    width: clamp(2rem, 6vw, 2.3rem);
    height: clamp(2rem, 6vw, 2.3rem);
  }
  
  
  
  .mobile-menu .mobile-nav-items li a {
    font-size: clamp(1.4rem, 5vw, 1.6rem);
    padding: clamp(1rem, 4vw, 1.3rem);
  }
  
  .mobile-menu.active {
    top: 10rem;
  }
  
  .hero-section {
    height: clamp(35rem, 100vw, 42rem);
    padding: 0 clamp(1rem, 4vw, 1.3rem);
  }
  
  .hero-section .hero-content h1 {
    font-size: clamp(2.2rem, 8vw, 2.8rem);
    letter-spacing: clamp(-0.4px, -0.1vw, -0.5px);
    line-height: 1.2;
  }
  
  .hero-section .hero-content .subheading {
    font-size: clamp(1.1rem, 4vw, 1.3rem);
    margin-top: clamp(0.8rem, 3vw, 1rem);
    line-height: 1.3;
  }
  
  .section-title {
    font-size: clamp(2.2rem, 7vw, 2.8rem);
  }
  
  .trending-books {
    padding: clamp(1.8rem, 6vw, 2.2rem) clamp(1rem, 4vw, 1.3rem);
  }
  
  .trending-books .section-title {
    font-size: clamp(1.8rem, 6vw, 2.2rem);
    margin-bottom: clamp(1.5rem, 5vw, 1.8rem);
  }
}


@media screen and (max-width: 320px) {
  .custom-header-container {
    padding: clamp(0.6rem, 5vw, 1rem);
  }
  
  .custom-header-container .logo img {
    height: clamp(2.5rem, 9vw, 3rem);
  }
  
  .nav-right .nav-icons {
    gap: clamp(0.4rem, 2vw, 0.6rem);
  }
  
  .nav-right .nav-icons .cart-icon,
  .nav-right .nav-icons .search-icon {
    height: clamp(1.8rem, 7vw, 2.1rem);
    width: clamp(1.8rem, 7vw, 2.1rem);
  }
  
  .nav-right .nav-icons .language-switcher img {
    width: clamp(1.8rem, 7vw, 2.1rem);
    height: clamp(1.8rem, 7vw, 2.1rem);
  }
  
  .hamburger-menu span {
    width: clamp(1.4rem, 6vw, 1.6rem);
    height: clamp(0.18rem, 1vw, 0.2rem);
  }
  
  .mobile-menu .mobile-nav-items li a {
    font-size: clamp(1.2rem, 6vw, 1.4rem);
    padding: clamp(0.8rem, 4vw, 1.1rem);
  }
  
  .mobile-menu.active {
    top: clamp(10rem, 32vw, 11.5rem);
  }
  
  .hero-section {
    height: clamp(30rem, 110vw, 38rem);
    padding: 0 clamp(0.8rem, 4vw, 1.2rem);
  }
  
  .hero-section .hero-content h1 {
    font-size: clamp(1.8rem, 9vw, 2.4rem);
    letter-spacing: clamp(-0.3px, -0.08vw, -0.4px);
    line-height: 1.1;
  }
  
  .hero-section .hero-content .subheading {
    font-size: clamp(1rem, 5vw, 1.2rem);
    margin-top: clamp(0.6rem, 3vw, 0.8rem);
    line-height: 1.25;
  }
  
  .section-title {
    font-size: clamp(1.9rem, 8vw, 2.4rem);
  }
  
  .trending-books {
    padding: clamp(1.5rem, 7vw, 2rem) clamp(0.8rem, 4vw, 1.2rem);
  }
  
  .trending-books .section-title {
    font-size: clamp(1.6rem, 7vw, 2rem);
    margin-bottom: clamp(1.2rem, 5vw, 1.5rem);
  }
}

.book-genres{
  font-size: 1.4rem;
  color: var(--font-secondary);
  display: flex;
  
}



/* ==========================================================================
   HEADER FUNCTIONALITY (SEARCH & CART)
   ========================================================================== */





/* Search Overlay */
.search-overlay {
  position: fixed;
  top: 113px;
  left: 400px;
  width: 400px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.search-overlay.active {
  opacity: 1;
  visibility: visible;
}

.search-container {
  background: var(--bg-white);
  padding: 2rem;
  border-radius: var(--border-radius);
  width: 320px;
  max-width: 60rem;
  height: 50px;
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  border: solid #777 1px;
}

.search-form {
  display: flex;
  align-items: center;
  margin: 0;
  width: 100%;
  margin-left: -20px;
}

.search-input {
  height: 3rem;
  width: 112%;
  padding: 0.8rem 1.2rem;
  border: none;
  background: transparent;
  font-size: 1.4rem;
  outline: none;
  color: #333;
  background: #d9d9d9 !important;
  border-radius: 20px;
}

.search-input:focus {
  outline: none;
  border-color: var(--primary-color);
  border-radius: 20px;
}

.search-btn {
  padding: 1.2rem 2.4rem;
  background: var(--primary-color);
  color: var(--bg-white);
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
  display: none;
}

.search-btn:hover {
  background: var(--primary-dark);
  display: none;
}

.search-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 2.4rem;
  cursor: pointer;
  color: var(--text-secondary);
  display: none;
}

.search-results {
  max-height: 40rem;
  overflow-y: auto;
}

.search-results .search-result-item {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem;
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
}

.search-results .search-result-item:hover {
  background: var(--bg-light);
}

.search-results .search-result-item img {
  width: 6rem;
  height: 8rem;
  object-fit: cover;
  border-radius: var(--border-radius);
}

.search-results .search-result-info h4 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.search-results .search-result-info p {
  font-size: 1.2rem;
  color: var(--text-secondary);
}

/* Search Overlay */
.search-overlay {
  position: fixed;
  right: 0;
  width: 400px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.search-overlay.active {
  opacity: 1;
  visibility: visible;
}

.search-container {
  background: var(--bg-white);
  padding: 2rem;
  border-radius: var(--border-radius);
  width: 320px;
  max-width: 60rem;
  height: 50px;
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  border: solid #777 1px;
}

.search-form {
  display: flex;
  align-items: center;
  margin: 0;
  width: 100%;
  margin-left: -20px;
}

.search-input {
  height: 3rem;
  width: 112%;
  padding: 0.8rem 1.2rem;
  border: none;
  background: transparent;
  font-size: 1.4rem;
  outline: none;
  color: #333;
  background: #d9d9d9 !important;
  border-radius: 20px;
}

.search-input:focus {
  outline: none;
  border-color: var(--primary-color);
  border-radius: 20px;
}

.search-btn {
  padding: 1.2rem 2.4rem;
  background: var(--primary-color);
  color: var(--bg-white);
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
  display: none;
}

.search-btn:hover {
  background: var(--primary-dark);
  display: none;
}

.search-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 2.4rem;
  cursor: pointer;
  color: var(--text-secondary);
  display: none;
}

.search-results {
  max-height: 40rem;
  overflow-y: auto;
}

.search-results .search-result-item {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem;
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
}

.search-results .search-result-item:hover {
  background: var(--bg-light);
}

.search-results .search-result-item img {
  width: 6rem;
  height: 8rem;
  object-fit: cover;
  border-radius: var(--border-radius);
}

.search-results .search-result-info h4 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.search-results .search-result-info p {
  font-size: 1.2rem;
  color: var(--text-secondary);
}




@media screen and (min-width: 1440px) {
  .search-overlay {
    top: 82px;
    left: 1000px;
    width: 400px;
  }
  
  .search-container {
    width: 320px;
    padding: 2rem;
  }
  
  .search-input {
    font-size: 1.4rem;
  }
}

@media screen and (max-width: 1300px) {
.search-overlay {
    top: 82px;
    left: 800px;
    width: 400px;
  }

  }
  

@media screen and (max-width: 1199px) and (min-width: 992px) {
  .search-overlay {
    top: 82px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 500px;
  }
  
  .search-container {
    width: 100%;
    max-width: 350px;
    padding: 1.8rem;
  }
}


@media screen and (max-width: 991px) and (min-width: 768px) {
  .search-overlay {
    top: 103px !important;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 450px;
  }
  
  .search-container {
    width: 100%;
    max-width: 300px;
    padding: 1.5rem;
    height: 45px;
  }
  
  .search-input {
    font-size: 1.3rem;
    height: 2.8rem;
    padding: 0.7rem 1rem;
  }
  
  .search-form {
    margin-left: -15px;
  }
}


@media screen and (max-width: 767px) and (min-width: 576px) {
  .search-overlay {
    top: 90px !important;
    left: 50%;
    transform: translateX(-50%);
    width: 98%;
    max-width: 400px;
  }
  
  .search-container {
    width: 100%;
    max-width: 300px;
    padding: 1.2rem;
    height: 40px;
  }
  
  .search-input {
    font-size: 1.2rem;
    height: 2.5rem;
    padding: 0.6rem 0.8rem;
    width: 105%;
  }
  
  .search-form {
    margin-left: -10px;
  }
  
  .search-results .search-result-item {
    gap: 1rem;
    padding: 1.2rem;
  }
  
  .search-results .search-result-item img {
    width: 5rem;
    height: 6rem;
  }
  
  .search-results .search-result-info h4 {
    font-size: 1.3rem;
  }
  
  .search-results .search-result-info p {
    font-size: 1.1rem;
  }
}


@media screen and (max-width: 575px) {
  .search-overlay {
    top: 98px !important;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    height: auto;
    min-height: 80px;
  }
  
  .search-container {
    width: 100%;
    max-width: 280px;
    padding: 1rem;
    height: 35px;
    border-radius: 25px;
  }
  
  .search-input {
    font-size: 1.1rem;
    height: 2.2rem;
    padding: 0.5rem 0.7rem;
    width: 100%;
    border-radius: 15px;
  }
  
  .search-form {
    margin-left: -8px;
  }
  
  .search-results {
    max-height: 30rem;
  }
  
  .search-results .search-result-item {
    flex-direction: column;
    gap: 0.8rem;
    padding: 1rem;
  }
  
  .search-results .search-result-item img {
    width: 100%;
    height: 4rem;
    align-self: center;
  }
  
  .search-results .search-result-info h4 {
    font-size: 1.2rem;
  }
  
  .search-results .search-result-info p {
    font-size: 1rem;
  }
  .genre-search-icon.header{
    width: 45px;
    height: 45px;
  }
}


@media screen and (max-width: 480px) {
  .search-overlay {
    top: 87px !important;
    width: 98%;
  }
  
  .search-container {
    max-width: 250px;
    padding: 0.8rem;
    height: 30px;
  }
  
  .search-input {
    font-size: 1rem;
    height: 2rem;
    padding: 0.4rem 0.6rem;
  }
  
  .search-form {
    margin-left: -5px;
  }

  .genre-search-icon.header{
    width: 35px;
    height: 35px;
  }
}

@media screen and (max-width: 360px) {
   .search-overlay {
    top: 80px !important;
    width: 100%;
  }  }


@media screen and (max-width: 320px) {
  .search-overlay {
    top: 120px !important;
    width: 100%;
  }
  
  .search-container {
    max-width: 220px;
    padding: 0.6rem;
    height: 28px;
    border-radius: 20px;
  }
  
  .search-input {
    font-size: 0.9rem;
    height: 1.8rem;
    padding: 0.3rem 0.5rem;
    border-radius: 12px;
  }
}




.mini-cart-item .item-details h4 {
  font-size: 1.6rem;
  font-weight: 600;
  margin: 0 0 0.5rem 0;
  line-height: 1.3;
  color: var(--text-color);
}

.mini-cart-item .item-author {
  font-size: 1.4rem;
  color: var(--text-secondary);
  margin-bottom: 0.8rem;
}

.mini-cart-item .item-rating {
  margin-bottom: 1rem;
}

.mini-cart-item .item-price {
  font-size: 2rem;
  font-weight: 600;
  color: var(--text-color);
}

.mini-cart-footer {
  margin-top: 2rem;
  text-align: center;
}

.view-cart-btn {
  width: 100%;
  background: var(--primary-color);
  color: var(--bg-white);
  padding: 1.2rem 2rem;
  border: none;
  border-radius: var(--border-radius);
  font-size: 1.6rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  display: inline-block;
  margin-bottom: 1.5rem;
}

.view-cart-btn:hover {
  background: var(--primary-dark);
  color: var(--bg-white);
}

.continue-shopping {
  font-size: 1.4rem;
  color: var(--text-color);
  text-decoration: none;
  font-weight: 500;
}

.continue-shopping:hover {
  color: var(--primary-color);
}

.checkout-btn {
  background: var(--primary-color);
  color: var(--bg-white);
}

.checkout-btn:hover {
  background: var(--primary-dark);
}

.cart-count {
  position: absolute;
  top: -0.5rem;
  right: -0.5rem;
  background: var(--primary-color);
  color: var(--bg-white);
  border-radius: 50%;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 600;
}

.cart-notification {
  position: fixed;
  top: 2rem;
  right: 2rem;
  padding: 1.2rem 2rem;
  border-radius: var(--border-radius);
  color: var(--bg-white);
  font-weight: 500;
  z-index: 10000;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

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

.cart-notification.success {
  background: #28a745;
}

.cart-notification.error {
  background: #dc3545;
}

/* ==========================================================================
   UTILITY CLASSES
   ========================================================================== */
.text-center {
  text-align: center;
}
.text-left {
  text-align: left;
}
.text-right {
  text-align: right;
}

.mb-1 {
  margin-bottom: 1rem;
}
.mb-2 {
  margin-bottom: 2rem;
}
.mb-3 {
  margin-bottom: 3rem;
}
.mb-4 {
  margin-bottom: 4rem;
}

.mt-1 {
  margin-top: 1rem;
}
.mt-2 {
  margin-top: 2rem;
}
.mt-3 {
  margin-top: 3rem;
}
.mt-4 {
  margin-top: 4rem;
}

.hidden {
  display: none;
}
.visible {
  display: block;
}

.loading {
  opacity: 0.7;
  pointer-events: none;
}

.position-relative {
  position: relative;
}
.position-absolute {
  position: absolute;
}
.position-fixed {
  position: fixed;
}

/* ==========================================================================
   NOTIFICATIONS
   ========================================================================== */
.cart-notification {
  position: fixed;
  top: 2rem;
  right: 2rem;
  padding: 1.2rem 2rem;
  border-radius: var(--border-radius);
  color: var(--bg-white);
  font-weight: 500;
  z-index: 10000;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  font-family: var(--font-primary);
  font-size: 1.4rem;
}

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

.cart-notification.success {
  background: #28a745;
}

.cart-notification.error {
  background: #dc3545;
}

/* ==========================================================================
   GENRES PAGE STYLES  
   ========================================================================== */

.genres-page {
  padding: 2rem 0 6rem;
  background: #fff;
  min-height: 100vh;
}

.live-stats {
  position: fixed;
  top: 100px;
  right: 20px;
  background: #fff;
  padding: 12px 16px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid #e6e6e6;
  z-index: 100;
  font-size: 14px;
  font-weight: 500;
  color: #666;
}

.live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #28a745;
  border-radius: 50%;
  margin-right: 8px;
  animation: pulse 2s infinite;
}

.genres-container {
  max-width: 1278px;
  margin: 0 auto;
  padding: 0 2rem;
}

.category-section {
  margin-bottom: 5rem;
}

.category-title {
  font-family: "Playfair Display", serif;
  font-size: 3.2rem;
  font-weight: 700;
  color: #000;
  margin: 0;
}

.category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.view-more-button {
  background: #663795;
  color: #fff;
  border: none;
  padding: 1.5rem 4rem;
  border-radius: 8px;
  font-size: 1.6rem;
  cursor: pointer;
}

.view-more-wrapper {
  text-align: center;
  margin-top: 3rem;
}

.loading-spinner {
  text-align: center;
  padding: 4rem;
}

.spinner {
  width: 4rem;
  height: 4rem;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #663795;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 1.5rem;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

/* ==========================================================================
   ABOUT US PAGE
   ========================================================================== */

.about-page {
  padding: 0 6rem;
  margin-top: 4rem;
  margin-bottom: 6rem;
}

.about-heading {
  font-size: 6.4rem;
  font-weight: 700;
  font-family: "Playfair Display", serif;
  margin: 0;
  margin-bottom: 4.8rem;
  line-height: 1.5;
}

.about-subheading{
  font-size: 2.4rem;
  font-weight: 600;
  
}

.about-content1 {
  font-size: 1.8rem;
  line-height: 1.6;
  font-family: var(--font-primary), sans-serif;
  color: #222;
  text-align: justify;
}

@media (max-width: 1300px) {
  .about-page h1 {
    font-size: 4.8rem;
  }
  .about-page .subtitle {
    font-size: 2rem;
  }
  .about-page .about-content,
  .about-page .description {
    font-size: 1.8rem;
  }
}

@media (max-width: 800px) {
  .about-page h1 {
    font-size: 3.2rem;
  }
  .about-page .subtitle {
    font-size: 1.8rem;
  }
  .about-page .about-content,
  .about-page .description {
    font-size: 1.6rem;
  }
}

/* ==========================================================================
   PRIVACY POLICY PAGE
   ========================================================================== */

.privacy-page {
  padding: 0 6rem;
  margin-top: 4rem;
  margin-bottom: 8rem;
  
}

.privacy-heading {
  font-size: 6.4rem;
  font-weight: 700;
  font-family: "Playfair Display", serif;
  margin: 0;
  margin-bottom: 4.8rem;
  line-height: 1.5;
}
.privacy-subtitle {
  font-size: 2.2rem;
  font-weight: 500;
  font-family: var(--font-primary), sans-serif;
  color: #555;
  margin-bottom: 2.4rem;
}

.privacy-description {
  font-size: 2rem;
  line-height: 1.5;
  max-width: 85vw;
  text-align: justify;
  color: #000;
  font-family: var(--font-primary), sans-serif;
  font-weight: 500;
  
}

.privacy-content h2{
  font-size: 3rem;
  text-align: left;
}

.privacy-content {
  font-size: 1.8rem;
  line-height: 1.6;
  font-family: var(--font-primary), sans-serif;
  color: #222;
  text-align: justify !important;
}

@media (max-width: 1300px) {
  .privacy-page h1 {
    font-size: 4.8rem;
  }
  .privacy-page .subtitle {
    font-size: 2rem;
  }
  .privacy-page .privacy-content,
  .privacy-page .privacy-description {
    font-size: 1.8rem;
  }
}

@media (max-width: 800px) {
  .privacy-page h1 {
    font-size: 3.2rem;
  }
  .privacy-page .subtitle {
    font-size: 1.8rem;
  }
  .privacy-page .privacy-content,
  .privacy-page .privacy-description {
    font-size: 1.6rem;
  }
}

/* ==========================================================================
   REFUND PAGE
   ========================================================================== */

.refund-page {
  padding: 0 6rem;
  margin-top: 4rem;
  margin-bottom: 8rem;
}

.refund-heading {
  font-size: 6.4rem;
  font-weight: 700;
  font-family: "Playfair Display", serif;
  margin: 0;
  margin-bottom: 4.8rem;
  line-height: 1.5;
}
.refund-subtitle {
  font-size: 2.6rem;
  font-weight: 500;
  font-family: var(--font-primary), sans-serif;
  color: #555;
  margin-bottom: 2.4rem;
}

.refund-description {
  font-size: 2rem;
  line-height: 1.5;
  max-width: 85vw;
  text-align: right;
  color: #000;
  font-family: var(--font-primary), sans-serif;
  font-weight: 500;
  margin-bottom: 5rem;
}

.refund-content h2{
  font-size: 3rem;
}

.refund-content {
  font-size: 1.8rem;
  line-height: 1.6;
  font-family: var(--font-primary), sans-serif;
  color: #222;
  
}

.refund-content p strong{
  text-align: justify;
}

@media (max-width: 1300px) {
  .refund-page h1 {
    font-size: 4.8rem;
  }
  .refund-page .subtitle {
    font-size: 2rem;
  }
  .refund-page .refund-content,
  .refund-page .refund-description {
    font-size: 1.8rem;
  }
}

@media (max-width: 800px) {
  .refund-page h1 {
    font-size: 3.2rem;
  }
  .refund-page .subtitle {
    font-size: 1.8rem;
  }
  .refund-page .refund-content,
  .refund-page .refund-description {
    font-size: 1.6rem;
  }
}

/* ==========================================================================
   CONTACT-US PAGE
   ========================================================================== */

.contact-section {
  padding: 0rem 6rem;
  margin-top: 4rem;
  background-color: var(--background-color);
  font-family: var(--font-primary), sans-serif;
}

.contact-section .contact-section-title {
  font-size: 3.2rem;
  font-weight: 600;
  font-family: var(--font-primary);
  margin-bottom: 4rem;
  text-align: center;
}

.contact-section .contact-container {
  text-align: justify;
  margin-bottom: 12rem;
}

.contact-section .contact-container .contact-title {
  font-size: 6.4rem;
  font-weight: 700;
  font-family: "Playfair Display", serif;
  margin: 0;
  margin-bottom: 4.8rem;
  line-height: 1.5;
}

.contact-section .contact-container .contact-subtitle {
  font-size: 2.6rem;
  font-weight: 500;
  font-family: var(--font-primary), sans-serif;
  color: #555;
  margin-bottom: 2.4rem;
}

.contact-title-smaller {
  font-size: 4.8rem;
  font-weight: 700;
  font-family: "Playfair Display", serif;
  margin: 0;
  margin-bottom: 4.8rem;
  line-height: 1.5;
}

.contact-section .contact-container .contact-description {
  font-size: 2rem;
  line-height: 1.5;
  max-width: 85vw;
  text-align: justify;
  color: #000;
  font-family: var(--font-primary), sans-serif;
  font-weight: 500;
}

.contact-section .contact-form {
  max-width: 70rem;
  margin: 0 auto;
}

.contact-section .contact-form .form-row {
  display: flex;
  gap: 2rem;
  margin-bottom: 2.4rem;
}

.contact-section .contact-form .form-row .form-group {
  flex: 1;
}

.contact-section .contact-form .form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 2.4rem;
}

.contact-section .contact-form .form-group label {
  font-size: 1.6rem;
  font-weight: 500;
  margin-bottom: 0.8rem;
  color: #000;
}

.contact-section .contact-form .form-group input,
.contact-section .contact-form .form-group textarea {
  padding: 1.2rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1.6rem;
  transition: border-color 0.3s ease;
}

.contact-section .contact-form .form-group input:focus,
.contact-section .contact-form .form-group textarea:focus {
  outline: none;
  border-color: #000;
}

.contact-section .contact-form .form-group textarea {
  resize: vertical;
}

.contact-section .contact-form .submit-btn {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--bg-white);
  font-size: 1.8rem;
  padding: 1.2rem 3.2rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  width: 100%;
}

.contact-section .contact-form .submit-btn:hover {
  background-color: var(--primary-light);
}

@media screen and (max-width: 1024px) and (min-width: 768px) {
  .contact-section {
    padding: 3rem 4rem;
  }
}

@media screen and (max-width: 1024px) and (min-width: 768px) {
  .contact-section {
    padding: 3rem 4rem;
  }

  .contact-section .contact-container {
    margin-bottom: 6rem;
  }
  
  .contact-section .contact-container:first-child {
    margin-bottom: 4rem;
  }
  
  .contact-section .contact-container .contact-title, .contact-title-smaller {
    font-size: 5.2rem;
    margin-bottom: 1.4rem;
  }
  
  .contact-section .contact-container .contact-subtitle {
    font-size: 1.8rem;
    margin-bottom: 2rem;
  }
  
  .contact-section .contact-container .contact-description {
    font-size: 1.8rem;
    max-width: 100%;
    text-align: justify;
  }
  
  .contact-section .contact-section-title {
    font-size: 4.8rem;
    margin-bottom: 3rem;
  }
  
  .contact-section .contact-form {
    max-width: 60rem;
  }
  
  .contact-section .contact-form .form-row {
    gap: 1.5rem;
    margin-bottom: 2rem;
  }
  
  .contact-section .contact-form .form-group {
    margin-bottom: 2rem;
  }
  
  .contact-section .contact-form .form-group label {
    font-size: 1.5rem;
  }
  
  .contact-section .contact-form .form-group input,
  .contact-section .contact-form .form-group textarea {
    padding: 1rem;
    font-size: 1.5rem;
  }
  
  .contact-section .contact-form .submit-btn {
    font-size: 1.6rem;
    padding: 1rem 2.5rem;
  }
}

@media screen and (max-width: 767px) {
  .contact-section {
    padding: 2rem;
  }

  .contact-section .contact-container {
    margin-bottom: 4rem;
  }
  
  .contact-section .contact-container:first-child {
    margin-bottom: 3rem;
  }
  
  .contact-section .contact-container .contact-title, .contact-title-smaller {
    font-size: 3.6rem;
    margin-bottom: 1.2rem;
    line-height: 1.3;
  }
  
  .contact-section .contact-container .contact-subtitle {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
  }
  
  .contact-section .contact-container .contact-description {
    font-size: 1.6rem;
    max-width: 100%;
    line-height: 1.6;
  }
  
  .contact-section .contact-section-title {
    font-size: 2.4rem;
    margin-bottom: 2.5rem;
  }
  
  .contact-section .contact-form {
    max-width: 100%;
  }
  
  .contact-section .contact-form .form-row {
    flex-direction: column;
    gap: 0;
    margin-bottom: 0;
  }
  
  .contact-section .contact-form .form-group {
    margin-bottom: 2rem;
  }
  
  .contact-section .contact-form .form-group label {
    font-size: 1.4rem;
    margin-bottom: 0.6rem;
  }
  
  .contact-section .contact-form .form-group input,
  .contact-section .contact-form .form-group textarea {
    padding: 1rem;
    font-size: 1.4rem;
  }
  
  .contact-section .contact-form .form-group textarea {
    min-height: 10rem;
  }
  
  .contact-section .contact-form .submit-btn {
    font-size: 1.6rem;
    padding: 1.2rem 2rem;
    margin-top: 1rem;
  }
}

@media screen and (max-width: 480px) {
  .contact-section {
    padding: 1.5rem;
  }

  .contact-section .contact-container {
    margin-bottom: 3rem;
  }
  
  .contact-section .contact-container:first-child {
    margin-bottom: 2rem;
  }
  
  .contact-section .contact-container .contact-title, .contact-title-smaller {
    font-size: 3rem;
    margin-bottom: 1rem;
    line-height: 1.2;
  }
  
  .contact-section .contact-container .contact-subtitle {
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
  }
  
  .contact-section .contact-container .contact-description {
    font-size: 1.4rem;
    line-height: 1.5;
  }
  
  .contact-section .contact-section-title {
    font-size: 2.2rem;
    margin-bottom: 2rem;
  }
  
  .contact-section .contact-form .form-group {
    margin-bottom: 1.5rem;
  }
  
  .contact-section .contact-form .form-group label {
    font-size: 1.3rem;
  }
  
  .contact-section .contact-form .form-group input,
  .contact-section .contact-form .form-group textarea {
    padding: 0.8rem;
    font-size: 1.3rem;
  }
  
  .contact-section .contact-form .submit-btn {
    font-size: 1.4rem;
    padding: 1rem 1.5rem;
  }
}

/* ==========================================================================
   WRITER PAGE
   ========================================================================== */

.writer-section {
  padding: 0rem 6rem;
  margin-top: 4rem;
  background-color: var(--background-color);
  font-family: var(--font-primary), sans-serif;
}

.writer-section .writer-section-title {
  font-size: 3.2rem;
  font-weight: 600;
  font-family: var(--font-primary);
  margin-bottom: 4rem;
  text-align: center;
}

.writer-section .writer-container {
  text-align: justify;
  margin-bottom: 12rem;
}

.writer-section .writer-container .writer-title {
  font-size: 6.4rem;
  font-weight: 700;
  font-family: "Playfair Display", serif;
  margin: 0;
  margin-bottom: 4.8rem;
  line-height: 1.5;
}

.writer-section .writer-container .writer-subtitle {
  font-size: 2.6rem;
  font-weight: 500;
  font-family: var(--font-primary), sans-serif;
  color: #555;
  margin-bottom: 2.4rem;
}

.writer-title-smaller {
  font-size: 4.8rem;
  font-weight: 700;
  font-family: "Playfair Display", serif;
  margin: 0;
  margin-bottom: 4.8rem;
  line-height: 1.5;
}

.writer-section .writer-container .writer-description {
  font-size: 2rem;
  line-height: 1.5;
  max-width: 85vw;
  text-align: justify;
  color: #000;
  font-family: var(--font-primary), sans-serif;
  font-weight: 500;
}

.writer-section .contact-form {
  max-width: 70rem;
  margin: 0 auto;
}

.writer-section .contact-form .form-row {
  display: flex;
  gap: 2rem;
  margin-bottom: 2.4rem;
}

.writer-section .contact-form .form-row .form-group {
  flex: 1;
}

.writer-section .contact-form .form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 2.4rem;
}

.writer-section .contact-form .form-group label {
  font-size: 1.6rem;
  font-weight: 500;
  margin-bottom: 0.8rem;
  color: #000;
}

.writer-section .contact-form .form-group input,
.writer-section .contact-form .form-group textarea {
  padding: 1.2rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1.6rem;
  transition: border-color 0.3s ease;
}

.writer-section .contact-form .form-group input:focus,
.writer-section .contact-form .form-group textarea:focus {
  outline: none;
  border-color: #000;
}

.writer-section .contact-form .form-group textarea {
  resize: vertical;
}

.writer-section .contact-form .submit-btn {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--bg-white);
  font-size: 1.8rem;
  padding: 1.2rem 3.2rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  width: 100%;
}

.writer-section .contact-form .submit-btn:hover {
  background-color: var(--primary-light);
}

@media screen and (max-width: 1024px) and (min-width: 768px) {
  .writer-section {
    padding: 3rem 4rem;
  }
}

@media screen and (max-width: 1024px) and (min-width: 768px) {
  .writer-container {
    margin-bottom: 6rem;
  }
  .writer-container:first-child {
    margin-bottom: 4rem;
  }
  .writer-container h1 {
    font-size: 5.2rem;
    margin-bottom: 1.4rem;
  }
  .writer-container .writer-subtitle {
    font-size: 1.8rem;
    margin-bottom: 2rem;
  }
  .writer-container .writer-description {
    font-size: 1.8rem;
    max-width: 100%;
    text-align: justify;
  }
  .section-title {
    font-size: 2.8rem;
    margin-bottom: 3rem;
  }
  .contact-form {
    max-width: 60rem;
  }
  .contact-form .form-row {
    gap: 1.5rem;
    margin-bottom: 2rem;
  }
  .contact-form .form-group {
    margin-bottom: 2rem;
  }
  .contact-form .form-group label {
    font-size: 1.5rem;
  }
  .contact-form .form-group input,
  .contact-form .form-group textarea {
    padding: 1rem;
    font-size: 1.5rem;
  }
  .contact-form .submit-btn {
    font-size: 1.6rem;
    padding: 1rem 2.5rem;
  }
}

@media screen and (max-width: 767px) {
  .writer-section {
    padding: 2rem;
  }
}

@media screen and (max-width: 767px) {
  .writer-container {
    margin-bottom: 4rem;
  }
  .writer-container:first-child {
    margin-bottom: 3rem;
  }
  .writer-container h1 {
    font-size: 3.6rem;
    margin-bottom: 1.2rem;
    line-height: 1.3;
  }
  .writer-container .writer-subtitle {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
  }
  .writer-container .writer-description {
    font-size: 1.6rem;
    max-width: 100%;
    line-height: 1.6;
  }
  .section-title {
    font-size: 2.4rem;
    margin-bottom: 2.5rem;
  }
  .contact-form {
    max-width: 100%;
  }
  .contact-form .form-row {
    flex-direction: column;
    gap: 0;
    margin-bottom: 0;
  }
  .contact-form .form-group {
    margin-bottom: 2rem;
  }
  .contact-form .form-group label {
    font-size: 1.4rem;
    margin-bottom: 0.6rem;
  }
  .contact-form .form-group input,
  .contact-form .form-group textarea {
    padding: 1rem;
    font-size: 1.4rem;
  }
  .contact-form .form-group textarea {
    min-height: 10rem;
  }
  .contact-form .submit-btn {
    font-size: 1.6rem;
    padding: 1.2rem 2rem;
    margin-top: 1rem;
  }
}

@media screen and (max-width: 480px) {
  .writer-section {
    padding: 1.5rem;
  }
}

@media screen and (max-width: 480px) {
  .writer-container {
    margin-bottom: 3rem;
  }
  .writer-container:first-child {
    margin-bottom: 2rem;
  }
  .writer-container h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    line-height: 1.2;
  }
  .writer-container .writer-subtitle {
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
  }
  .writer-container .writer-description {
    font-size: 1.4rem;
    line-height: 1.5;
  }
  .section-title {
    font-size: 2.2rem;
    margin-bottom: 2rem;
  }
  .contact-form .form-group {
    margin-bottom: 1.5rem;
  }
  .contact-form .form-group label {
    font-size: 1.3rem;
  }
  .contact-form .form-group input,
  .contact-form .form-group textarea {
    padding: 0.8rem;
    font-size: 1.3rem;
  }
  .contact-form .submit-btn {
    font-size: 1.4rem;
    padding: 1rem 1.5rem;
  }
}

/* ==========================================================================
   TERMS-OF-SERVICE PAGE
   ========================================================================== */

.terms-page {
  padding: 0 6rem;
  margin-top: 4rem;
  margin-bottom: 8rem;
}

.terms-heading {
  font-size: 6.4rem;
  font-weight: 700;
  font-family: "Playfair Display", serif;
  margin: 0;
  margin-bottom: 4.8rem;
  line-height: 1.5;
}
.terms-subtitle {
  font-size: 2.6rem;
  font-weight: 500;
  font-family: var(--font-primary), sans-serif;
  color: #555;
  margin-bottom: 2.4rem;
}

.terms-description {
  font-size: 2rem;
  line-height: 1.5;
  max-width: 85vw;
  text-align: justify;
  color: #000;
  font-family: var(--font-primary), sans-serif;
  font-weight: 500;
}

.terms-content h2{
  font-size: 3rem;
}

.terms-content {
  font-size: 1.8rem;
  line-height: 1.6;
  font-family: var(--font-primary), sans-serif;
  color: #222;
  text-align: justify;
}

@media (max-width: 1300px) {
  .terms-page h1 {
    font-size: 4.8rem;
  }
  .terms-page .subtitle {
    font-size: 2rem;
  }
  .terms-page .terms-content,
  .terms-page .terms-description {
    font-size: 1.8rem;
  }
}

@media (max-width: 800px) {
  .terms-page h1 {
    font-size: 3.2rem;
  }
  .terms-page .subtitle {
    font-size: 1.8rem;
  }
  .terms-page .terms-content,
  .terms-page .terms-description {
    font-size: 1.6rem;
  }
}

/* ==========================================================================
   AFFILIATE PAGE
   ========================================================================== */

.affiliate-section {
  padding: 0rem 6rem;
  margin-top: 4rem;
  background-color: var(--background-color);
  font-family: var(--font-primary), sans-serif;
}

.affiliate-section .affiliate-section-title {
  font-size: 3.2rem;
  font-weight: 600;
  font-family: var(--font-primary);
  margin-bottom: 4rem;
  text-align: center;
}

.affiliate-section .affiliate-container {
  text-align: justify;
  margin-bottom: 12rem;
}

.affiliate-section .affiliate-container h1 {
  font-size: 6.4rem;
  font-weight: 700;
  font-family: "Playfair Display", serif;
  margin: 0;
  margin-bottom: 4.8rem;
  line-height: 1.5;
}

.affiliate-section .affiliate-container .affiliate-subtitle {
  font-size: 2.6rem;
  font-weight: 500;
  font-family: var(--font-primary), sans-serif;
  color: #555;
  margin-bottom: 2.4rem;
}

.affiliate-section .affiliate-container .affiliate-description {
  font-size: 2rem;
  line-height: 1.5;
  max-width: 85vw;
  text-align: justify;
  color: #000;
  font-family: var(--font-primary), sans-serif;
  font-weight: 500;
}

.affiliate-section .contact-form {
  max-width: 70rem;
  margin: 0 auto;
}

.affiliate-section .contact-form .form-row {
  display: flex;
  gap: 2rem;
  margin-bottom: 2.4rem;
}

.affiliate-section .contact-form .form-row .form-group {
  flex: 1;
}

.affiliate-section .contact-form .form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 2.4rem;
}

.affiliate-section .contact-form .form-group label {
  font-size: 1.6rem;
  font-weight: 500;
  margin-bottom: 0.8rem;
  color: #000;
}

.affiliate-section .contact-form .form-group input,
.affiliate-section .contact-form .form-group textarea {
  padding: 1.2rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1.6rem;
  transition: border-color 0.3s ease;
}

.affiliate-section .contact-form .form-group input:focus,
.affiliate-section .contact-form .form-group textarea:focus {
  outline: none;
  border-color: #000;
}

.affiliate-section .contact-form .form-group textarea {
  resize: vertical;
}

.affiliate-section .contact-form .submit-btn {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--bg-white);
  font-size: 1.8rem;
  padding: 1.2rem 3.2rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  width: 100%;
}

.affiliate-section .contact-form .submit-btn:hover {
  background-color: var(--primary-light);
}

@media screen and (max-width: 1024px) and (min-width: 768px) {
  .affiliate-section {
    padding: 3rem 4rem;
  }
}

@media screen and (max-width: 1024px) and (min-width: 768px) {
  .affiliate-container {
    margin-bottom: 6rem;
  }
  .affiliate-container:first-child {
    margin-bottom: 4rem;
  }
  .affiliate-container h1 {
    font-size: 5.2rem;
    margin-bottom: 1.4rem;
  }
  .affiliate-container .affiliate-subtitle {
    font-size: 1.8rem;
    margin-bottom: 2rem;
  }
  .affiliate-container .affiliate-description {
    font-size: 1.8rem;
    max-width: 100%;
    text-align: justify;
  }
  .section-title {
    font-size: 2.8rem;
    margin-bottom: 3rem;
  }
  .contact-form {
    max-width: 60rem;
  }
  .contact-form .form-row {
    gap: 1.5rem;
    margin-bottom: 2rem;
  }
  .contact-form .form-group {
    margin-bottom: 2rem;
  }
  .contact-form .form-group label {
    font-size: 1.5rem;
  }
  .contact-form .form-group input,
  .contact-form .form-group textarea {
    padding: 1rem;
    font-size: 1.5rem;
  }
  .contact-form .submit-btn {
    font-size: 1.6rem;
    padding: 1rem 2.5rem;
  }
}


@media screen and (max-width: 767px) {
  .affiliate-section {
    padding: 2rem;
  }
}

@media screen and (max-width: 767px) {
  .affiliate-container {
    margin-bottom: 4rem;
  }
  .affiliate-container:first-child {
    margin-bottom: 3rem;
  }
  .affiliate-container h1 {
    font-size: 3.6rem;
    margin-bottom: 1.2rem;
    line-height: 1.3;
  }
  .affiliate-container .affiliate-subtitle {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
  }
  .affiliate-container .affiliate-description {
    font-size: 1.6rem;
    max-width: 100%;
    line-height: 1.6;
  }
  .section-title {
    font-size: 2.4rem;
    margin-bottom: 2.5rem;
  }
  .contact-form {
    max-width: 100%;
  }
  .contact-form .form-row {
    flex-direction: column;
    gap: 0;
    margin-bottom: 0;
  }
  .contact-form .form-group {
    margin-bottom: 2rem;
  }
  .contact-form .form-group label {
    font-size: 1.4rem;
    margin-bottom: 0.6rem;
  }
  .contact-form .form-group input,
  .contact-form .form-group textarea {
    padding: 1rem;
    font-size: 1.4rem;
  }
  .contact-form .form-group textarea {
    min-height: 10rem;
  }
  .contact-form .submit-btn {
    font-size: 1.6rem;
    padding: 1.2rem 2rem;
    margin-top: 1rem;
  }
}


@media screen and (max-width: 480px) {
  .affiliate-section {
    padding: 1.5rem;
  }
}

@media screen and (max-width: 480px) {
  .affiliate-container {
    margin-bottom: 3rem;
  }
  .affiliate-container:first-child {
    margin-bottom: 2rem;
  }
  .affiliate-container h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    line-height: 1.2;
  }
  .affiliate-container .affiliate-subtitle {
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
  }
  .affiliate-container .affiliate-description {
    font-size: 1.4rem;
    line-height: 1.5;
  }
  .section-title {
    font-size: 2.2rem;
    margin-bottom: 2rem;
  }
  .contact-form .form-group {
    margin-bottom: 1.5rem;
  }
  .contact-form .form-group label {
    font-size: 1.3rem;
  }
  .contact-form .form-group input,
  F .contact-form .form-group textarea {
    padding: 0.8rem;
    font-size: 1.3rem;
  }
  .contact-form .submit-btn {
    font-size: 1.4rem;
    padding: 1rem 1.5rem;
  }
}

/* ==========================================================================
   GENRES PAGE SPECIFIC STYLES
   ========================================================================== */

.genres-page {
  padding: 2rem 0 6rem;
  background: #fff;
  min-height: 100vh;
}

.live-stats {
  position: fixed;
  top: 100px;
  right: 20px;
  background: #fff;
  padding: 12px 16px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid #e6e6e6;
  z-index: 100;
  font-size: 14px;
  font-weight: 500;
  color: #666;
}

.live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #28a745;
  border-radius: 50%;
  margin-right: 8px;
  animation: pulse 2s infinite;
}

.genres-container {
  max-width: 1278px;
  margin: 0 auto;
  padding: 0 2rem;
}

.genres-filters {
  border: 2px dashed var(--primary-color);
  border-radius: 8px;
  padding: 2rem;
  margin-bottom: 4rem;
  background: #fafafa;
}

.filters-title {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 2rem;
  color: #333;
}

.filters-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem;
}

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

.filter-option {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  cursor: pointer;
  font-size: 1.4rem;
  color: #555;
}

.genre-checkbox {
  width: 1.6rem;
  height: 1.6rem;
  accent-color: #663795;
}

.checkbox-label {
  user-select: none;
}

.filter-option:hover .checkbox-label {
  color: #663795;
}

.current-genre-section {
  margin-bottom: 3rem;
}

.genre-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
}

.current-genre-title {
  font-family: "Playfair Display", serif;
  font-size: 4.8rem;
  font-weight: 700;
  color: #000;
  margin: 0;
  line-height: 1.1;
}

.genre-search {
  flex-shrink: 0;
  max-width: 500px;
  width: 32rem;
}

.genre-search-form {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 25px;
  padding: 0.3rem;
  border: 1px solid #e0e0e0;
}

.genre-search-icon {
  padding: 0.5rem 0.5rem 0rem 1rem;
  color: #666;
  display: flex;
  align-items: center;
  justify-content: center;
}

.genre-search-input-container {
  height: 3rem;
  width: 80%;
  background: #d9d9d9;
  background-color: #fff;
  border-radius: 20px;
  margin-left: 0rem;
  border: none;
  position: relative;
}

.genre-search-input {
  height: 3rem;
  width: 100%;
  padding: 0.8rem 1.2rem;
  border: none;
  background: transparent;
  font-size: 1.4rem;
  outline: none;
  color: #333;
  background: #d9d9d9 !important;
  border-radius: 20px;
}

.genre-search-input::placeholder {
  color: #999;
}

/* HEADER SEARCH */




.header-search-icon {
  padding: 0.5rem 0.5rem 0rem 1rem;
  color: #666;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-search-input-container {
  height: 3rem;
  width: 80%;
  background: #d9d9d9;
  background-color: #fff;
  border-radius: 20px;
  margin-left: 0rem;
  border: none;
  position: relative;
}

.header-search-input {
  height: 2rem;
  width: 100%;
  padding: 0.8rem 1.2rem;
  border: none;
  background: transparent;
  font-size: 1.4rem;
  outline: none;
  color: #333;
  background: #d9d9d9 !important;
  border-radius: 20px;
}

.header-search-input::placeholder {
  color: #999;
}

/* Search Suggestions Dropdown */
.search-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #e1e5e9;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  max-height: 400px;
  overflow-y: auto;
}

.suggestions-list {
  padding: 0;
  margin: 0;
}

.suggestion-item {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid #f1f3f4;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

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

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

.suggestion-image {
  width: 40px;
  height: 50px;
  object-fit: cover;
  border-radius: 4px;
  margin-right: 12px;
  flex-shrink: 0;
}

/* Header Search Wrapper */
.header-search-wrapper {
  position: relative;
  width: 100%;
}


.search-overlay .search-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #e1e5e9;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  z-index: 1001; 
  max-height: 300px;
  overflow-y: auto;
  margin-top: 1px;
}

.search-overlay .search-suggestions .suggestion-item {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid #f1f3f4;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.search-overlay .search-suggestions .suggestion-item:hover {
  background-color: #f8f9fa;
}

.search-overlay .search-suggestions .suggestion-item:last-child {
  border-bottom: none;
}

.search-overlay .search-suggestions .suggestion-content {
  display: flex;
  align-items: center;
  width: 100%;
}

.search-overlay .search-suggestions .suggestion-image {
  width: 40px;
  height: 50px;
  object-fit: cover;
  border-radius: 4px;
  margin-right: 12px;
  flex-shrink: 0;
}

.search-overlay .search-suggestions .suggestion-image-placeholder {
  width: 40px;
  height: 50px;
  background: #f1f3f4;
  border-radius: 4px;
  margin-right: 12px;
  flex-shrink: 0;
}

.search-overlay .search-suggestions .suggestion-details {
  flex: 1;
  min-width: 0;
}

.search-overlay .search-suggestions .suggestion-title {
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 4px;
  font-size: 14px;
  line-height: 1.3;
}

.search-overlay .search-suggestions .suggestion-author {
  color: #666;
  font-size: 12px;
  margin-bottom: 2px;
}

.search-overlay .search-suggestions .suggestion-price {
  color: #e74c3c;
  font-weight: 600;
  font-size: 13px;
}

.suggestion-image-placeholder {
  width: 40px;
  height: 50px;
  background: #e9ecef;
  border-radius: 4px;
  margin-right: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: #6c757d;
  flex-shrink: 0;
}

.suggestion-content {
  flex: 1;
  min-width: 0;
}

.suggestion-title {
  font-size: 14px;
  font-weight: 500;
  color: #333;
  margin: 0 0 4px 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.suggestion-meta {
  font-size: 12px;
  color: #6c757d;
  display: flex;
  gap: 8px;
}

.suggestion-author {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.suggestion-price {
  color: #8b4cb8;
  font-weight: 500;
}

.search-loading {
  padding: 16px;
  text-align: center;
  color: #6c757d;
  font-size: 14px;
}

.no-suggestions {
  padding: 16px;
  text-align: center;
  color: #6c757d;
  font-size: 14px;
}

.genre-search-form:focus-within {
  box-shadow: 0 2px 12px rgba(102, 55, 149, 0.2);
}

.category-section {
  margin-bottom: 5rem;
}

.category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.category-title {
  font-family: "Playfair Display", serif;
  font-size: 3.2rem;
  font-weight: 700;
  color: #000;
  margin: 0;
}


.genres-page .books-grid {
  display: grid;
  grid-template-columns: repeat(5, 230px);
  gap: 2rem;
  margin-bottom: 4rem;
  justify-content: space-between;
  width: auto;
}

.genres-page .book-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  width: 230px;
  text-align: left;
}

.genres-page .book-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.book-cover-container {
  position: relative;
  overflow: hidden;
  aspect-ratio: 2/3;
}

.book-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.genres-page .book-card:hover .book-cover-img {
  transform: scale(1.05);
}

.book-cover-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #f0f0f0, #e0e0e0);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 1.4rem;
}

.genres-page .book-info {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.genres-page .book-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  line-height: 1.3;
  color: #000;
  text-align: left;
}

.genres-page .book-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.genres-page .book-title a:hover {
  color: #663795;
}

.genres-page .book-description {
  font-size: 1.2rem;
  color: #666;
  line-height: 1.4;
  margin-bottom: 1rem;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-clamp: 3;
}

.book-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.book-author {
  font-size: 1.1rem;
  color: #888;
  font-style: italic;
}

.book-price {
  font-size: 1.4rem;
  font-weight: 700;
  color: #663795;
}

.add-to-cart-container {
  margin-top: auto;
}

.genres-page .add-to-cart-btn {
  width: 100%;
  background: #663795;
  color: #fff;
  border: none;
  padding: 1rem;
  border-radius: 6px;
  font-size: 1.3rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.genres-page .add-to-cart-btn:hover {
  background: #555;
  transform: translateY(-2px);
}

.genres-page .add-to-cart-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
  transform: none;
}

.view-more-wrapper {
  text-align: center;
  margin-top: 3rem;
}

.view-more-button {
  background: #663795;
  color: #fff;
  border: none;
  padding: 1.5rem 4rem;
  border-radius: 8px;
  font-size: 1.6rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.view-more-button:hover {
  background: #555;
  transform: translateY(-2px);
}

.no-results {
  text-align: center;
  padding: 4rem 2rem;
}

.no-results-content h3 {
  font-family: "Playfair Display", serif;
  font-size: 2.8rem;
  color: #000;
  margin-bottom: 1rem;
}

.no-results-content p {
  font-size: 1.6rem;
  color: #666;
}

/* Genres page responsive styles */
@media (max-width: 1200px) {
  .filters-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .genres-page .books-grid {
    grid-template-columns: repeat(4, 230px);
    justify-content: space-around;
  }

  .current-genre-title {
    font-size: 4rem;
  }
}

@media (max-width: 968px) {
  .filters-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .genres-page .books-grid {
    grid-template-columns: repeat(3, 230px);
    justify-content: space-around;
  }


  .books-grid .book-card:nth-child(n+4) {
    display: none;
  }


  .genres-container.show-all-books .books-grid .book-card {
    display: block;
  }

  .genre-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
  }

  .current-genre-title {
    font-size: 3.6rem;
  }

  .genre-search-input {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .genres-container {
    padding: 0 1.5rem;
  }

  .filters-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .genres-page .books-grid {
    grid-template-columns: repeat(2, 230px);
    gap: 1.5rem;
    justify-content: space-around;
  }

  .current-genre-title {
    font-size: 3rem;
  }

  .genres-filters {
    padding: 1.5rem;
  }

  .book-meta {
  flex-direction: column;
  gap: 1rem;
}
}

@media (max-width: 480px) {
  

  .genres-page .books-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .genres-page .book-card {
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
  }

  .current-genre-title {
    font-size: 2.4rem;
  }

  .genre-search-input {
    width: 100%;
  }
  
  .genre-search-form {
    width: 100%;
  }
}

@media (max-width: 360px) {
  .genre-search-form {
    width: 90%;
  }
  .genre-search-input {
    width: 95%;
  }
}

/* ==========================================================================
   CUSTOM SHOPPING CART CARD STYLES - REMOVED (using default WooCommerce)
   ========================================================================== */
.custom-cart-card {
  max-width: 400px;
  margin: 4rem auto;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  padding: 3rem 2.5rem 2.5rem 2.5rem;
  text-align: center;
}
.cart-book-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 2.5rem;
}
.cart-book-cover img {
  width: 120px;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 2rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}
.cart-book-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #000;
  margin-bottom: 0.8rem;
  text-align: center;
  line-height: 1.3;
}
.cart-book-author {
  font-size: 1.6rem;
  color: #666;
  margin-bottom: 1.2rem;
  text-align: center;
  font-weight: 500;
}
.cart-book-rating {
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}
.cart-book-rating .star-rating {
  font-size: 2rem;
}
.cart-book-price {
  font-size: 3.2rem;
  font-weight: 700;
  color: #000;
  margin-bottom: 2.5rem;
}
.cart-checkout-btn {
  width: 100%;
  background: #663795;
  color: #fff;
  border: none;
  padding: 1.8rem 0;
  border-radius: 12px;
  font-size: 1.8rem;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 2rem;
  transition: background 0.3s;
  text-decoration: none;
  display: block;
  text-align: center;
}
.cart-checkout-btn:hover {
  background: #555;
  transform: translateY(-2px);
}
.cart-catalog-link {
  display: block;
  margin-top: 1.5rem;
  font-size: 1.4rem;
  color: #000;
  text-align: center;
  text-decoration: none;
  font-weight: 600;
  border-top: 1px solid #eee;
  padding-top: 1.5rem;
}
.cart-catalog-link:hover {
  color: #663795;
}

/* 
//////////////////// ADDED FROM ADDITIONAL CSS///////////////////
*/

.genres-container .book-cover-container {
  width: 100%;
  height: 400px;
  overflow: hidden;
  border-radius: 8px;
}

.genres-container .book-cover-container a {
  display: block;
  width: 100%;
  height: 100%;
}

.genres-container .book-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.genres-container .book-cover-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f0f0f0;
  color: #666;
  font-size: 14px;
}

.genres-container .books-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(5, 1fr);
}

.show-all-books .book-card {
    display: block !important;
    visibility: visible !important;
    position: static !important;
    height: auto !important;
    overflow: visible !important;
}


@media (max-width: 1200px) and (min-width: 1025px) {
  .genres-container .books-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
  }

  .genres-container .books-grid .book-card:nth-child(n + 5) {
    display: none;
  }

  .show-all-books .genres-container .books-grid .book-card:nth-child(n + 5) {
    display: block !important;
  }

  .genres-container .books-grid .book-card {
    flex: none;
    min-width: auto;
    max-width: none;
    width: 100%;
  }

  .genres-container .book-cover-container,
  .genres-container .book-cover {
    height: 350px;
    width: 100%;
    max-width: none;
    aspect-ratio: none;
  }
}

@media (max-width: 1024px) and (min-width: 950px) {
  .genres-container .books-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }

  .genres-container .books-grid .book-card:nth-child(n + 5) {
    display: none;
  }

  .genres-container .books-grid .book-card {
    flex: none;
    min-width: auto;
    max-width: none;
    width: 100%;
  }

  .genres-container .book-cover-container,
  .genres-container .book-cover {
    height: 320px;
    width: 100%;
    max-width: none;
    aspect-ratio: none;
  }
}

@media (max-width: 949px) and (min-width: 850px) {
  .genres-container .books-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
  }

  .genres-container .books-grid .book-card:nth-child(n + 4) {
    display: none;
  }

  .genres-container .books-grid .book-card {
    flex: none;
    min-width: auto;
    max-width: none;
    width: 100%;
  }

  .genres-container .book-cover-container,
  .genres-container .book-cover {
    height: 380px;
    width: 100%;
    max-width: none;
    aspect-ratio: none;
  }
}

@media (max-width: 849px) and (min-width: 800px) {
  .genres-container .books-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
  }

  .genres-container .books-grid .book-card:nth-child(n + 4) {
    display: none;
  }

  .genres-container .books-grid .book-card {
    flex: none;
    min-width: auto;
    max-width: none;
    width: 100%;
  }

  .genres-container .book-cover-container,
  .genres-container .book-cover {
    height: 360px;
    width: 100%;
    max-width: none;
    aspect-ratio: none;
  }
}

@media screen and (max-width: 799px) and (min-width: 650px) {
  .genres-container .books-grid,
  #filtered-books-grid .books-grid {  
    display: grid;
    grid-template-columns: repeat(3, 180px);
    gap: 20px;
    justify-content: center;
    width: auto;
    max-width: 580px;
    margin: 0 auto;
    transform: none;
  }

  .genres-container .books-grid .book-card,
  #filtered-books-grid .books-grid .book-card {  
    flex: none;
    min-width: 180px;
    max-width: 180px;
    width: 180px;
  }

  .genres-container .book-cover-container,
  .genres-container .book-cover,
  #filtered-books-grid .book-cover-container,  
  #filtered-books-grid .book-cover {  
    height: 270px;
    width: 180px;
    max-width: 180px;
    aspect-ratio: none;
  }

  .genres-container .book-title,
  #filtered-books-grid .book-title {  
    font-size: 12px;
    line-height: 1.2;
  }

  .genres-container .book-author,
  .genres-container .book-price,
  #filtered-books-grid .book-author,  
  #filtered-books-grid .book-price {  
    font-size: 14px;
  }
}

@media screen and (max-width: 649px) and (min-width: 610px) {
  .genres-container .books-grid {
    display: grid;
    grid-template-columns: repeat(3, 160px);
    gap: 15px;
    justify-content: center;
    width: auto;
    max-width: 510px;
    margin: 0 auto;
    transform: none;
  }

  .genres-container .books-grid .book-card {
    flex: none;
    min-width: 160px;
    max-width: 160px;
    width: 160px;
  }

  

  .show-all-books .genres-container .books-grid {
    grid-template-columns: repeat(3, 160px) !important;
  }

  .show-all-books .genres-container .books-grid .book-card:nth-child(n + 4) {
    display: block !important;
  }

  .genres-container .book-cover-container,
  .genres-container .book-cover {
    height: 240px;
    width: 160px;
    max-width: 160px;
    aspect-ratio: none;
  }

  .genres-container .book-title {
    font-size: 11px;
    line-height: 1.2;
  }

  .genres-container .book-author,
  .genres-container .book-price {
    font-size: 14px;
  }
}

@media screen and (max-width: 609px) and (min-width: 570px) {
  .genres-container .books-grid {
    display: grid;
    grid-template-columns: repeat(3, 140px);
    gap: 12px;
    justify-content: center;
    width: auto;
    max-width: 444px;
    margin: 0 auto;
    transform: none;
  }

  .genres-container .books-grid .book-card {
    flex: none;
    min-width: 140px;
    max-width: 140px;
    width: 140px;
  }

  

  .show-all-books .genres-container .books-grid {
    grid-template-columns: repeat(3, 140px) !important;
  }

  .show-all-books .genres-container .books-grid .book-card:nth-child(n + 4) {
    display: block !important;
  }

  .genres-container .book-cover-container,
  .genres-container .book-cover {
    height: 210px;
    width: 140px;
    max-width: 140px;
    aspect-ratio: none;
  }

  .genres-container .book-title {
    font-size: 11px;
    line-height: 1.1;
  }

  
}

@media screen and (max-width: 569px) and (min-width: 520px) {
  .genres-container .books-grid {
    display: grid;
    grid-template-columns: repeat(3, 150px);
    gap: 12px;
    justify-content: center;
    width: auto;
    max-width: 474px;
    margin: 0 auto;
    transform: none;
  }

  .genres-container .books-grid .book-card {
    flex: none;
    min-width: 150px;
    max-width: 150px;
    width: 150px;
  }

  

  .show-all-books .genres-container .books-grid {
    grid-template-columns: repeat(3, 150px) !important;
  }

  .show-all-books .genres-container .books-grid .book-card:nth-child(n + 4) {
    display: block !important;
  }

  .genres-container .book-cover-container,
  .genres-container .book-cover {
    height: 225px;
    width: 150px;
    max-width: 150px;
    aspect-ratio: none;
  }

  .genres-container .book-title {
    font-size: 11px;
    line-height: 1.2;
  }

  .genres-container .book-author,
  .genres-container .book-price {
    font-size: 12px;
  }
}

@media screen and (max-width: 519px) and (min-width: 480px) {
  .genres-container .books-grid {
    display: grid;
    grid-template-columns: repeat(3, 140px);
    gap: 10px;
    justify-content: center;
    width: auto;
    max-width: 440px;
    margin: 0 auto;
    transform: none;
  }

  .genres-container .books-grid .book-card {
    flex: none;
    min-width: 140px;
    max-width: 140px;
    width: 140px;
  }

  

  .show-all-books .genres-container .books-grid {
    grid-template-columns: repeat(3, 140px) !important;
  }

  .show-all-books .genres-container .books-grid .book-card:nth-child(n + 4) {
    display: block !important;
  }

  .genres-container .book-cover-container,
  .genres-container .book-cover {
    height: 210px;
    width: 140px;
    max-width: 140px;
    aspect-ratio: none;
  }

  .genres-container .book-title {
    font-size: 11px;
    line-height: 1.2;
  }

  .genres-container .book-author,
  .genres-container .book-price {
    font-size: 12px;
  }
}

@media (max-width: 479px) and (min-width: 380px) {
  .genres-container .books-grid {
    display: grid;
    grid-template-columns: repeat(3, 110px);
    gap: 12px;
    justify-content: center;
    width: auto;
    max-width: 354px;
    margin: 0 auto;
    transform: none;
  }

 

  .show-all-books .genres-container .books-grid {
    grid-template-columns: repeat(3, 110px) !important;
  }

  .show-all-books .genres-container .books-grid .book-card:nth-child(n + 4) {
    display: block !important;
  }

  .genres-container .books-grid .book-card {
    flex: none;
    min-width: 110px;
    max-width: 110px;
    width: 110px;
  }

  .genres-container .book-cover-container,
  .genres-container .book-cover {
    height: 165px;
    width: 110px;
    max-width: 110px;
    aspect-ratio: none;
  }

  .genres-container .book-title {
    font-size: 10px;
    line-height: 1.2;
  }

  .genres-container .book-author,
  .genres-container .book-price {
    font-size: 12px;
  }
}

@media (max-width: 379px) {
  .genres-container .books-grid {
    display: grid;
    grid-template-columns: repeat(3, 90px);
    gap: 8px;
    justify-content: center;
    width: auto;
    max-width: 286px;
    margin: 0 auto;
    transform: none;
  }

 

  

  .show-all-books .genres-container .books-grid {
    grid-template-columns: repeat(3, 90px) !important;
  }

  .show-all-books .genres-container .books-grid .book-card:nth-child(n + 4) {
    display: block !important;
  }

  .genres-container .books-grid .book-card {
    flex: none;
    min-width: 90px;
    max-width: 90px;
    width: 90px;
  }

  .genres-container .book-cover-container,
  .genres-container .book-cover {
    height: 135px;
    width: 90px;
    max-width: 90px;
    aspect-ratio: none;
  }

  .genres-container .book-title {
    font-size: 9px;
    line-height: 1.1;
  }

  .genres-container .book-author,
  .genres-container .book-price {
    font-size: 10px;
  }
}

/* ///////////////////////////// PROMO PAGE ///////////////////// */

.promo-page {
  padding-left: clamp(1rem, 5vw, 5rem);
  padding-right: clamp(1rem, 5vw, 5rem);
}

.promo-page .section-title{
  margin-top: 6rem;
  margin-bottom: 12rem;
  
}
.promo-page .books-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(15px, 2vw, 30px);
  width: 100%;
  max-width: 1800px;
  margin: 0 auto;
  padding: 0;
}
.promo-page .books-grid .book-card {
  display: block;
  visibility: visible;
  width: 100%;
  min-width: auto;
  max-width: none;
  flex: none;
}
.promo-page .book-cover {
  width: 100%;
  aspect-ratio: 2/3;
  overflow: hidden;
  border-radius: 8px;
}
.promo-page .book-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.promo-page .discount-badge {
  font-size: clamp(8px, 1.2vw, 14px);
  padding: clamp(2px, 0.5vw, 6px) clamp(3px, 0.8vw, 8px);
  top: clamp(3px, 1vw, 8px);
  right: clamp(3px, 1vw, 8px);
}
.promo-page .book-title {
  font-size: clamp(14px, 1.8vw, 16px);
  line-height: 1.2;
}
.promo-page .book-author {
  font-size: clamp(8px, 1.4vw, 14px);
}

@media screen and (max-width: 1400px) {
  .promo-page .books-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(20px, 2.5vw, 35px);
  }
}
@media screen and (max-width: 1100px) {
  .promo-page .books-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(15px, 2vw, 25px);
  }

  .promo-page .section-title{
    font-size: 4.8rem !important;
    margin-bottom: 80px;
  }
}
@media screen and (max-width: 900px) {
  .promo-page .books-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(20px, 3vw, 40px);
  }

}
@media screen and (max-width: 700px) {
  .promo-page .books-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(15px, 2.5vw, 25px);
  }
  .promo-page .section-title{
    font-size: 3.6rem !important;
  }
}
@media screen and (max-width: 500px) {
  .promo-page .books-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(8px, 2vw, 15px);
  }

  .promo-page .discount-badge {
    font-size: clamp(6px, 1.5vw, 10px);
    padding: clamp(1px, 0.3vw, 3px) clamp(2px, 0.5vw, 5px);
    top: clamp(2px, 0.8vw, 5px);
    right: clamp(2px, 0.8vw, 5px);
  }
}

@media screen and (max-width: 550px) {
  .promo-page .book-title a{
    font-size: 12px;
  }
}

@media screen and (max-width: 380px) {
  .promo-page .book-title a{
    font-size: 11px;
  }
}
@media screen and (max-width: 350px) {
  .promo-page .books-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(3px, 1vw, 8px);
  }

  .promo-page .discount-badge {
    font-size: 5px;
    padding: 1px 2px;
    top: 2px;
    right: 2px;
  }

  .promo-page .section-title{
    font-size: 3rem !important;
  }

  .promo-page .book-title {
    line-height: 0.7 !important;
  }
}

/* HERO SECTION RESPONSIVE */

@media screen and (max-width: 1024px) {
  .hero-section {
    height: 60rem;
    justify-content: center;
    padding: 0 4rem;
  }
  .hero-section .hero-content {
    margin-left: 0;
    max-width: 90%;
    text-align: left;
  }
  .hero-section .hero-content h1 {
    font-size: 4.2rem;
    margin-left: -1rem;
  }
  .hero-section .hero-content .subheading {
    font-size: 1.8rem;
    max-width: 70%;
    text-align: left;
    margin-top: 2rem;
  }
}

@media screen and (max-width: 770px) {
  .hero-section {
    height: 55rem;
    justify-content: flex-start;
    align-items: center;
    padding: 0 2rem;
    background-position: 85% center;
    background-size: auto 100%;
  }
  .hero-section .hero-content {
    margin-left: 0;
    max-width: 55%;
    text-align: left;
    z-index: 2;
  }
  .hero-section .hero-content h1 {
    font-size: 3.8rem;
    letter-spacing: -0.5px;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-align: left;
    margin-left: 0;
  }
  .hero-section .hero-content .subheading {
    font-size: 1.7rem;
    max-width: 90%;
    text-align: left;
    margin-top: 1.5rem;
    line-height: 1.3;
    margin-left: 0;
  }
}

@media screen and (max-width: 1024px) {
  .hero-section {
    height: 60rem;
    justify-content: center;
    padding: 0 4rem;
  }
  .hero-section .hero-content {
    margin-left: 0;
    max-width: 90%;
    text-align: left;
  }
  .hero-section .hero-content h1 {
    font-size: 4.2rem;
    margin-left: -1rem;
  }
  .hero-section .hero-content .subheading {
    font-size: 1.8rem;
    max-width: 70%;
    text-align: left;
    margin-top: 2rem;
  }
}

@media screen and (max-width: 770px) {
  .hero-section {
    height: 55rem;
    justify-content: flex-start;
    align-items: center;
    padding: 0 2rem;
    background-position: 85% center;
    background-size: auto 100%;
  }
  .hero-section .hero-content {
    margin-left: 0;
    max-width: 55%;
    text-align: left;
    z-index: 2;
  }
  .hero-section .hero-content h1 {
    font-size: 3.4rem;
    letter-spacing: -0.5px;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-align: left;
    margin-left: 0;
  }
  .hero-section .hero-content .subheading {
    font-size: 1.7rem;
    max-width: 90%;
    text-align: lefft;
    margin-top: 1.5rem;
    line-height: 1.3;
    margin-left: 0;
  }
}

@media screen and (max-width: 770px) {
  .hero-section .hero-content {
    margin-left: 0;
    max-width: 45%;
    text-align: left;
    z-index: 2;
  }
}

@media screen and (max-width: 600px) {
  .hero-section {
    background-image: url("https://dev-osenity.pantheonsite.io/wp-content/uploads/2025/08/hero-telefon.png");
    background-size: cover;
    background-position: center;
    height: 50rem;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
  }
  .hero-section .hero-content {
    max-width: 55%;
    text-align: left;
  }
  .hero-section .hero-content h1 {
    font-size: 3.2rem;
    line-height: 1.2;
    text-align: left;
    margin-bottom: 1.5rem;
    margin-left: 0;
  }
  .hero-section .hero-content .subheading {
    font-size: 1.5rem;
    max-width: 100%;
    line-height: 1.4;
    text-align: left;
    margin-left: 0;
  }
}

@media screen and (max-width: 480px) {

  body{
    padding: 0 !important;
  }
  .hero-section {
    height: 45rem;
    padding: 0 1rem;
  }
  .hero-section .hero-content {
    max-width: 60%;
    margin-top: 6rem;
  }
  .hero-section .hero-content h1 {
    font-size: 2.8rem;
    line-height: 1.1;
    text-align: left;
    margin-left: 0;
  }
  .hero-section .hero-content .subheading {
    font-size: 1.4rem;
    max-width: 100%;
    text-align: left;
    margin-left: 0;
  }
}

@media screen and (max-width: 360px) {
  .hero-section {
    height: 42rem;
  }
  .hero-section .hero-content {
    max-width: 65%;
  }
  .hero-section .hero-content h1 {
    font-size: 2.4rem;
    text-align: left;
    margin-left: 0;
  }
  .hero-section .hero-content .subheading {
    font-size: 1.3rem;
    max-width: 100%;
    text-align: left;
    margin-left: 0;
  }
}

/* //////////////////// MOCKUP SECTION /////////////////// */

.image-section {
  width: 100%;
  height: 80vh;
  background-image: url(/wp-content/themes/osenity-theme/images/mockup.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-top: #000 solid 2px;
  border-bottom: #000 solid 2px;
}

@media (max-width: 1024px) {
  .image-section {
    height: 70vh;
    background-size: contain;
    background-color: #f5f5f5;
  }
}

@media (max-width: 768px) {
  .image-section {
    height: 40vh;
    background-size: contain;
    background-position: center top;
    border-top: #000 solid 1px;
    border-bottom: #000 solid 1px;
  }
}

@media (max-width: 480px) {
  .image-section {
    height: 30vh;
    background-size: contain;
    background-position: center top;
  }
}

body section.why-osenity {
  padding: 4rem 2rem;
}

body section.why-osenity .container {
  margin: 0 6rem;
}

body section.why-osenity .why-content h3.why-subtitle {
  font-size: 2.4rem;
  font-weight: 500;
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-family: var(--font-primary);
}

body section.why-osenity .why-content p.why-text {
  font-weight: 400;
  font-size: 1.8rem;
  line-height: 1.6;
  font-family: var(--font-primary);
  color: #333;
  margin-bottom: 2rem;
  text-align: justify;
}

@media (max-width: 1024px) {
  body section.why-osenity {
    padding: 3rem 1.5rem !important;
  }

  body section.why-osenity .container {
    margin: 0 3rem !important;
  }

  body section.why-osenity .why-content h3.why-subtitle {
    font-size: 2.2rem !important;
  }

  body section.why-osenity .why-content p.why-text {
    font-size: 1.7rem !important;
  }
}

@media (max-width: 768px) {
  body section.why-osenity {
    padding: 2.5rem 1rem !important;
  }

  body section.why-osenity .container {
    margin: 0 1rem !important;
  }

  body section.why-osenity .why-content h3.why-subtitle {
    font-size: 2rem !important;
    margin-top: 1.5rem !important;
    margin-bottom: 0.8rem !important;
  }

  body section.why-osenity .why-content p.why-text {
    font-size: 1.6rem !important;
    line-height: 1.5 !important;
    margin-bottom: 1.5rem !important;
  }
}

@media (max-width: 480px) {
  body section.why-osenity {
    padding: 2rem 0.8rem !important;
  }

  body section.why-osenity .container {
    margin: 0 0.5rem !important;
  }

  body section.why-osenity .why-content h3.why-subtitle {
    font-size: 1.8rem !important;
    margin-top: 1rem !important;
    margin-bottom: 0.6rem !important;
  }

  body section.why-osenity .why-content p.why-text {
    font-size: 1.4rem !important;
    line-height: 1.4 !important;
    margin-bottom: 1rem !important;
  }
}

@media (max-width: 320px) {
  body section.why-osenity {
    padding: 1.5rem 0.5rem !important;
  }

  body section.why-osenity .container {
    margin: 0 !important;
  }

  body section.why-osenity .why-content h3.why-subtitle {
    font-size: 1.6rem !important;
  }

  body section.why-osenity .why-content p.why-text {
    font-size: 1.3rem !important;
    line-height: 1.3 !important;
  }
}

body section.join-team {
  padding: 4rem 2rem;
  text-align: center;
  background-color: var(--bg-white);
}

body section.join-team .container {
  max-width: 120rem;
  margin: 0 auto;
}

body section.join-team .team-title {
  font-family: var(--font-heading);
  font-size: 4.8rem;
  font-weight: 600;
  margin-bottom: 6rem;
  color: var(--text-color);
  line-height: 1;
}

body section.join-team .team-buttons {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

body section.join-team .team-buttons .team-btn {
  display: inline-block;
  padding: 1.2rem 3.2rem;
  background-color: var(--primary-color);
  color: var(--bg-white);
  font-size: 1.8rem;
  border-radius: var(--border-radius);
  text-decoration: none;
  transition: background-color 0.3s ease;
  font-family: "Georgia", serif;
  font-weight: 500;
}

body section.join-team .team-buttons .team-btn:hover {
  background-color: #333;
}

body section.join-team .team-buttons .team-btn.writer {
  background-color: var(--secondary-color);
  color: var(--bg-white);
  transition: var(--transition);
}

body section.join-team .team-buttons .team-btn.writer:hover {
  background-color: var(--primary-color);
  color: var(--bg-white);
}

/* RESPONSIVE */

@media (max-width: 1024px) {
  body section.join-team {
    padding: 3rem 1.5rem;
  }

  body section.join-team .team-title {
    font-size: 4rem;
    margin-bottom: 4rem;
  }

  body section.join-team .team-buttons {
    gap: 1.5rem;
  }

  body section.join-team .team-buttons .team-btn {
    font-size: 1.7rem;
    padding: 1.1rem 2.8rem;
  }
}

@media (max-width: 768px) {
  body section.join-team {
    padding: 2.5rem 1rem ;
  }

  body section.join-team .team-title {
    font-size: 3.2rem ;
    margin-bottom: 3rem ;
    line-height: 1.1 ;
  }

  body section.join-team .team-buttons {
    flex-direction: column ;
    align-items: center ;
    gap: 1.2rem ;
  }

  body section.join-team .team-buttons .team-btn {
    font-size: 1.6rem ;
    padding: 1rem 2.5rem ;
    width: 100% ;
    max-width: 280px ;
  }
}

@media (max-width: 480px) {
  body section.join-team {
    padding: 2rem 0.8rem ;
  }

  body section.join-team .team-title {
    font-size: 2.8rem ;
    margin-bottom: 2.5rem ;
  }

  body section.join-team .team-buttons .team-btn {
    font-size: 1.5rem ;
    padding: 0.9rem 2rem ;
    max-width: 250px ;
  }
}

@media (max-width: 320px) {
  body section.join-team {
    padding: 1.5rem 0.5rem ;
  }

  body section.join-team .team-title {
    font-size: 2.4rem ;
    margin-bottom: 2rem ;
  }

  body section.join-team .team-buttons .team-btn {
    font-size: 1.4rem ;
    padding: 0.8rem 1.5rem ;
    max-width: 220px ;
  }
}

.site-footer {
  border-top: 1px solid var(--border-color);
  background-color: var(--bg-white) !important;
  padding: 4rem 2rem;
  font-family: var(--font-primary);
  font-size: 1.6rem;
  color: var(--text-color);
  width: 90vw;
  margin: 0 auto;
  margin-top: 6rem;
}

.site-footer .footer-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.site-footer .footer-top .footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.site-footer .footer-top .footer-nav ul a {
  text-decoration: none;
  color: var(--text-color);
  transition: color 0.3s ease;
}

.site-footer .footer-top .footer-nav ul a:hover {
  color: var(--accent-color);
}

.site-footer .footer-top .footer-nav ul li.secondary a {
  color: #454545;
}

.site-footer .footer-top .footer-center {
  text-align: center;
}

.site-footer .footer-top .footer-center .logo img {
  margin-top: 2rem;
  margin-left: 3rem;
  width: 14rem;
  height: 12.5rem;
}

.site-footer .footer-top .footer-right {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.site-footer .footer-top .footer-right p {
  margin: 0.4rem 0;
}

.site-footer .footer-bottom {
  padding-top: 0;
  display: flex;
  justify-content: center;
  margin-top: -4.5rem;
}

.site-footer .footer-bottom .social-icons {
  list-style: none;
  display: flex;
  gap: 2rem;
  padding: 0;
  margin: 0;
}

.site-footer .footer-bottom .social-icons a {
  color: #828282;
  font-size: 2rem;
  transition: color 0.3s ease;
}

.site-footer .footer-bottom .social-icons a:hover {
  color: var(--accent-color);
}

.secondary {
  color: #454545;
}

/* RESPONSIVE */

@media (max-width: 1024px) {
  .site-footer {
    padding: 3rem 1.5rem;
    margin-top: 4rem;
    width: 95vw;
  }

  .site-footer .footer-top .footer-nav ul {
    gap: 2.5rem;
  }

  .site-footer .footer-top .footer-center .logo img {
    width: 13rem;
    height: 9.8rem;
    margin-left: 0;
  }

  .site-footer .footer-bottom {
    margin-top: -3.5rem;
  }

  .site-footer .footer-bottom .social-icons {
    gap: 1.8rem;
  }

  .site-footer .footer-bottom .social-icons a {
    font-size: 1.8rem;
  }
}

@media (max-width: 768px) {
  .site-footer {
    padding: 2.5rem 1rem;
    margin-top: 3rem;
    width: 100vw;
    font-size: 1.5rem;
  }

  .site-footer .footer-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 3rem;
    margin-bottom: 3rem;
  }

  .site-footer .footer-top .footer-nav ul {
    gap: 2rem;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .site-footer .footer-top .footer-center {
    order: -1;
  }

  .site-footer .footer-top .footer-center .logo img {
    margin-top: 0;
    width: 10rem;
    height: 8.2rem;
  }

  .site-footer .footer-top .footer-right {
    text-align: center;
    gap: 1.5rem;
  }

  .site-footer .footer-bottom {
    margin-top: -2rem;
  }

  .site-footer .footer-bottom .social-icons {
    gap: 1.5rem;
  }

  .site-footer .footer-bottom .social-icons a {
    font-size: 1.6rem;
  }
}

@media (max-width: 480px) {
  .site-footer {
    padding: 2rem 0.8rem;
    margin-top: 2rem;
    font-size: 1.4rem;
  }

  .site-footer .footer-top {
    gap: 2.5rem;
  }

  .site-footer .footer-top .footer-nav ul {
    gap: 1.5rem;
    font-size: 1.4rem;
  }

  .site-footer .footer-top .footer-center .logo img {
    width: 8rem;
    height: 7.5rem;
  }

  .site-footer .footer-top .footer-right {
    gap: 1rem;
  }

  .site-footer .footer-bottom .social-icons {
    gap: 1.2rem;
  }

  .site-footer .footer-bottom .social-icons a {
    font-size: 1.5rem;
  }
}

@media (max-width: 320px) {
  .site-footer {
    padding: 1.5rem 0.5rem;
    margin-top: 1.5rem;
    font-size: 1.3rem;
  }

  .site-footer .footer-top {
    gap: 2rem;
  }

  .site-footer .footer-top .footer-nav ul {
    gap: 1rem;
    font-size: 1.3rem;
  }

  .site-footer .footer-top .footer-center .logo img {
    width: 6rem;
    height: 6.9rem;
  }

  .site-footer .footer-bottom .social-icons {
    gap: 1rem;
  }

  .site-footer .footer-bottom .social-icons a {
    font-size: 1.4rem;
  }
}

/* ===== BASE STYLES ===== */
.book-page-container {
  max-width: 80vw;
  box-shadow: none;
  margin-top: 4rem;
}

/* ===== BOOK DETAILS SECTION ===== */
.book-details-section {
    display: flex;
    gap: 5rem;
    margin-bottom: 6rem;
    align-items: flex-start;
    position: relative;
}

.book-image-container {
    flex: 0 0 clamp(200px, 40vw, 440px);
    height: auto;
    align-self: flex-start;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    transition: transform 0.1s ease-out, box-shadow 0.2s ease-out;
    background-color: transparent;
    border-radius: 26px;
    
}


.book-image-container.sticky {
    z-index: 10;
    
    
}

.book-info-container {
    flex: 1;
     }

.book-cover-large img {
    width: clamp(20rem, 40vw, 54rem) !important;
    height: auto;
    object-fit: cover;
    border-radius: 26px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
    transition: box-shadow 0.2s ease-out;
    background-color: transparent;
}

.preview-btn {
  display: block;
  margin: 2.5rem auto 0 auto;
  background: #663795;
  color: #fff;
  border-radius: 8px;
  padding: 1.2rem 3.2rem;
  font-size: 1.6rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  transition: var(--transition);
  width: 100%;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(102, 55, 149, 0.2);
  position: relative;
  overflow: hidden;
}

.preview-btn:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 55, 149, 0.3);
  color: white;
}

.preview-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(102, 55, 149, 0.2);
}

.preview-btn:disabled {
  background: #ccc;
  color: #666;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.preview-btn:disabled:hover {
  background: #ccc;
  transform: none;
  box-shadow: none;
}

.book-image-container {
    position: relative;
}

.pdf-modal {
    position: absolute; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pdf-modal-content {
    background: white;
    border-radius: 8px;
    width: 95%;
    height: 90%;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
}

.pdf-modal-header {
    padding: 10px 15px;
    border-bottom: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f8f9fa;
    flex-shrink: 0; 
}

.pdf-modal-header h3 {
    margin: 0;
    color: #333;
    font-size: 16px;
}

.pdf-modal-close {
    font-size: 20px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
    line-height: 1;
    padding: 5px;
}

.pdf-modal-close:hover {
    color: #000;
    background-color: #e9ecef;
    border-radius: 3px;
}

.pdf-modal-body {
    flex: 1; 
    padding: 0;
    overflow: hidden;
}

.pdf-modal-body iframe {
    border: none;
    width: 100%;
    height: 100%;
    display: block;
}


.pdf-modal.full-container {
    border-radius: inherit; 
    background-color: rgba(255, 255, 255, 0.95);
}

.pdf-modal.full-container .pdf-modal-content {
    width: 100%;
    height: 100%;
    border-radius: inherit;
}

@media (max-width: 1160px) {
  .book-info-container{
   width: 40vw;
  }
}


@media (max-width: 970px) {
    .pdf-modal {
        position: fixed !important; 
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.95);
        z-index: 9999;
    }
    
    .pdf-modal-content {
        width: 100%;
        height: 100%;
        border-radius: 0;
        max-width: none;
        max-height: none;
    }
    
    .pdf-modal-header {
        padding: 15px 20px;
        background-color: #333;
        color: white;
        border-bottom: 1px solid #555;
    }
    
    .pdf-modal-header h3 {
        color: white;
        font-size: 18px;
    }
    
    .pdf-modal-close {
        color: white;
        font-size: 24px;
    }
    
    .pdf-modal-close:hover {
        color: #ccc;
        background-color: rgba(255, 255, 255, 0.1);
    }
    .book-info-container{
      width: auto;
    }
}


@media (max-width: 768px) {
    .pdf-modal {
        position: fixed !important; 
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.95);
        z-index: 9999;
    }
    
    .pdf-modal-content {
        width: 100%;
        height: 100%;
        border-radius: 0;
        max-width: none;
        max-height: none;
    }
    
    .pdf-modal-header {
        padding: 15px 20px;
        background-color: #333;
        color: white;
        border-bottom: 1px solid #555;
    }
    
    .pdf-modal-header h3 {
        color: white;
        font-size: 18px;
    }
    
    .pdf-modal-close {
        color: white;
        font-size: 24px;
    }
    
    .pdf-modal-close:hover {
        color: #ccc;
        background-color: rgba(255, 255, 255, 0.1);
    }
}


@media (max-height: 400px) and (min-width: 769px) {
    .pdf-modal-header {
        padding: 5px 10px;
    }
    
    .pdf-modal-header h3 {
        font-size: 14px;
    }
    
    .pdf-modal-close {
        font-size: 18px;
    }
}


@media (max-width: 768px) {
  .preview-btn {
    margin: 2rem auto 0 auto;
    padding: 1rem 2.5rem;
    font-size: 1.4rem;
    max-width: 280px;
    border-radius: 6px;
  }
}


@media (max-width: 480px) {
  .preview-btn {
    margin: 1.5rem auto 0 auto;
    padding: 1rem 2rem;
    font-size: 1.3rem;
    max-width: 100%;
    width: calc(100% - 2rem); 
    border-radius: 6px;
  }
}


@media (max-width: 320px) {
  .preview-btn {
    margin: 1rem auto 0 auto;
    padding: 0.8rem 1.5rem;
    font-size: 1.2rem;
    width: calc(100% - 1rem);
  }
}


@media (max-width: 768px) {
    .book-image-container {
        transform: none !important;
    }
    
    .book-details-section {
        flex-direction: column;
        gap: 2rem;
    }

    
}

.book-title-large {
  font-size: clamp(2rem, 5vw, 4.2rem) !important;
}

.book-author {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem) !important;
}

.book-rating {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem) !important;
}

.rating-text {
  font-size: clamp(1.1rem, 2.2vw, 1.3rem) !important;
}

.book-description {
  padding: clamp(1.2rem, 2.5vw, 1.5rem);
  font-size: clamp(1.3rem, 2.5vw, 1.6rem) !important;
}

.book-description h3 {
  font-weight: 600;
}

/* ===== PAYMENT SECTION ===== */
.payment-section {
  padding: clamp(1.2rem, 2.5vw, 1.5rem);
  
}

.payment-section .book-price {
  font-size: clamp(1.8rem, 4vw, 2.6rem) !important;
}

.payment-methods {
  display: flex;
  gap: 30px !important;
  align-items: center;
  justify-content: space-between !important;
  flex-wrap: nowrap !important;
  margin-bottom: clamp(1rem, 2vw, 1.5rem);
  padding: clamp(0.5rem, 1vw, 1rem) 0;
  width: 100% !important;
}

.payment-methods img {
  width: calc((100% - 40px) / var(--payment-images-count, 4)) !important;
  min-width: 50px !important;
  max-width: 120px !important;
  height: auto !important;
  filter: grayscale(0.2);
  opacity: 0.85;
  transition: all 0.3s ease;
  border-radius: clamp(3px, 0.5vw, 5px);
  object-fit: contain !important;
}

/* ===== BUTTONS ===== */
.single_add_to_cart_button {
  background-color: #829cd0 !important;
}

.cart .single_add_to_cart_button:hover {
  background-color: #663795 !important;
  cursor: pointer !important;
  transform: translateY(-4px);
}

.start-reading-btn {
  background-color: #663795;
}

.start-reading-btn:hover {
  background: #829cd0;
  transform: translateY(-4px);
}

.leave-review-btn {
  width: 40%;
}

.leave-review-btn:hover {
  background: #829cd0;
}

/* ===== HIDDEN ELEMENTS ===== */
.input-text,
.woocommerce-Reviews-title,
.woocommerce-noreviews,
.profile-name {
  display: none;
}

.about-content {
  display: block;
  gap: 0;
}

/* ===== COMMENT STYLING ===== */
.comment_container {
  background: #fff;
  border-radius: 12px;
  padding: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: clamp(1.5rem, 3vw, 2rem);
  border: 1px solid #e6e6e6;
  transition: all 0.3s ease;
}

.comment_container:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.comment {
  box-shadow: none;
}

.comment-text {
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 2vw, 1.5rem);
}

.comment-text .description {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-style: italic;
  color: #333;
  line-height: 1.5;
  margin: 0;
  font-weight: 400;
  quotes: "" " " "" "'" "'";
  order: 1;
}

.comment-text .description::before {
  content: open-quote;
}

.comment-text .description::after {
  content: close-quote;
}

.star-rating {
  display: inline-block;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1;
  margin-bottom: 0;
  order: 2;
}

.star-rating span {
  color: #663795;
}

.meta {
  display: flex;
  align-items: center;
  gap: clamp(0.8rem, 1.5vw, 1.2rem);
  margin-top: 0;
  order: 3;
}

.meta .avatar {
  display: none !important;
}

.comment-author {
  display: flex;
  flex-direction: column;
  gap: clamp(0.2rem, 0.5vw, 0.4rem);
}

.comment-author .fn {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 600;
  color: #333;
  margin: 0;
}

.comment-author .comment-meta {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: #888;
  font-style: italic;
  font-weight: 400;
}

/* ===== STAR RATING INTERACTIVE ===== */
.stars {
  margin: 0 ;
  padding: 0 ;
}

.stars span[role="group"] {
  display: flex;
  gap: clamp(0.3rem, 0.5vw, 0.5rem);
  align-items: center;
}

.stars a {
  font-size: clamp(1.8rem, 3vw, 2.4rem) ;
  color: #e0e0e0 ;
  text-decoration: none ;
  transition: color 0.3s ease ;
  cursor: pointer ;
  outline: none ;
  border: none ;
}

.stars a:hover,
.stars a:focus,
.stars a[aria-checked="true"] {
  color: #663795 ;
}


.stars a.star-1:hover,
.stars a.star-1[aria-checked="true"] {
  color: #663795 ;
}

.stars a.star-2:hover,
.stars a.star-2[aria-checked="true"] {
  color: #663795 ;
}
.stars a.star-2:hover ~ .star-1,
.stars a.star-2[aria-checked="true"] ~ .star-1 {
  color: #663795 ;
}

.stars a.star-3:hover,
.stars a.star-3[aria-checked="true"] {
  color: #663795 ;
}
.stars a.star-3:hover ~ .star-2,
.stars a.star-3:hover ~ .star-1,
.stars a.star-3[aria-checked="true"] ~ .star-2,
.stars a.star-3[aria-checked="true"] ~ .star-1 {
  color: #663795 ;
}

.stars a.star-4:hover,
.stars a.star-4[aria-checked="true"] {
  color: #663795 ;
}
.stars a.star-4:hover ~ .star-3,
.stars a.star-4:hover ~ .star-2,
.stars a.star-4:hover ~ .star-1,
.stars a.star-4[aria-checked="true"] ~ .star-3,
.stars a.star-4[aria-checked="true"] ~ .star-2,
.stars a.star-4[aria-checked="true"] ~ .star-1 {
  color: #663795 ;
}

.stars a.star-5:hover,
.stars a.star-5[aria-checked="true"] {
  color: #663795 ;
}
.stars a.star-5:hover ~ a,
.stars a.star-5[aria-checked="true"] ~ a {
  color: #663795 ;
}

/* ===== REVIEW FORM ===== */
#review_form_wrapper {
  background: #fff;
  border-radius: 12px;
  padding: clamp(2rem, 4vw, 3rem);
  margin: clamp(2rem, 4vw, 3rem) 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  border: 1px solid #f0f0f0;
}

#review_form {
  width: 100%;
}

.comment-respond {
  margin: 0;
}

.comment-reply-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.8rem) ;
  font-weight: 700;
  color: #333;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
  text-align: left;
  line-height: 1.2;
}

.comment-reply-title small {
  display: none;
}

.comment-form {
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 3vw, 2rem);
}

.comment-form-rating {
  display: flex;
  flex-direction: column;
  gap: clamp(0.8rem, 1.5vw, 1rem);
}

.comment-form-rating label,
.comment-form-comment label {
  font-size: clamp(1.3rem, 2.5vw, 1.6rem);
  font-weight: 600;
  color: #333;
}

.required {
  color: #e74c3c;
  font-weight: 700;
}

.comment-form-comment {
  display: flex;
  flex-direction: column;
  gap: clamp(0.8rem, 1.5vw, 1rem);
  margin: 0 ;
}

#comment {
  width: 100% ;
  min-height: clamp(100px, 15vw, 150px) ;
  height: auto ;
  padding: clamp(1rem, 2vw, 1.5rem) ;
  border: 2px solid #e0e0e0 ;
  border-radius: 8px ;
  font-size: clamp(1.2rem, 2vw, 1.4rem) ;
  font-family: inherit ;
  line-height: 1.5 ;
  resize: vertical ;
  transition: all 0.3s ease ;
  background: #fafafa ;
}

#comment:focus {
  border-color: #663795 ;
  outline: none ;
  background: #fff ;
  box-shadow: 0 0 0 3px rgba(102, 55, 149, 0.1) ;
}

#comment::placeholder {
  color: #999 ;
  font-style: italic ;
}

.form-submit {
  margin: 0 ;
  padding: 0 ;
}

#submit {
  background: #663795 ;
  color: #fff ;
  border: none ;
  padding: clamp(1rem, 2.5vw, 1.5rem) clamp(2rem, 4vw, 3rem) ;
  border-radius: 8px ;
  font-size: clamp(1.4rem, 2.5vw, 1.7rem) ;
  font-weight: 600 ;
  cursor: pointer ;
  transition: all 0.3s ease ;
  text-transform: uppercase ;
  letter-spacing: 0.5px ;
}

#submit:hover {
  background: #829cd0 ;
  transform: translateY(-2px) ;
  box-shadow: 0 4px 12px rgba(102, 55, 149, 0.3) ;
}

#submit:active {
  transform: translateY(0) ;
}

select[name="rating"],
input[type="hidden"] {
  display: none ;
}

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

@media (max-width: 1250px) {
  .payment-methods {
    gap: clamp(0.4rem, 2vw, 0.8rem);
    width: 100% !important;
    max-width: 100% !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
  }
  
  .payment-methods > * {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    max-width: calc(50% - 0.5rem) !important;
  }


}

@media (max-width: 968px) {
  .payment-methods{
  flex-wrap: nowrap !important;
  gap: 30;
  
}
}





/* Tablet - 768px */
@media (max-width: 768px) {
  .book-page-container {
    max-width: 90vw;
    width: 100%;
    padding: 0;
    margin: 0 auto !important;
    margin-top: 2rem !important;
  }
  
  .book-details-section {
    gap: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: clamp(2rem, 4vw, 3rem);
    align-items: center;
  }
  
  .book-image-container {
    flex: none;
    position: static !important;
    top: auto !important;
    height: auto !important;
    align-self: center;
  }
  
  .book-info-container {
    gap: clamp(1.5rem, 3vw, 2rem);
  }
  
  .book-title-large,
  .book-author,
  .payment-section .book-price {
    text-align: center;
  }
  
  .book-rating {
    justify-content: center;
  }
  
  .payment-methods {
    justify-content: center;
    flex-wrap: wrap;
    gap: clamp(0.8rem, 1.5vw, 1rem);
  }
  
  .leave-review-btn {
    width: 80%;
  }
  
  /* Comment adjustments */
  .comment_container {
    padding: clamp(1.2rem, 2.5vw, 1.5rem);
    margin-bottom: clamp(1.2rem, 2.5vw, 1.5rem);
  }
  
  .comment-text {
    gap: clamp(0.8rem, 1.5vw, 1.2rem);
  }
  
  .star-rating {
    font-size: clamp(1.6rem, 2.8vw, 2rem);
  }
  
  .comment-text .description {
    font-size: clamp(1.3rem, 2.2vw, 1.6rem);
  }
  
  .meta {
    gap: clamp(0.6rem, 1.2vw, 1rem);
  }
  
  /* Review form adjustments */
  #review_form_wrapper {
    padding: clamp(1.5rem, 3vw, 2rem);
    margin: clamp(1.5rem, 3vw, 2rem) 0;
  }
  
  .comment-form {
    gap: clamp(1.2rem, 2.5vw, 1.5rem);
  }
  
  .stars a {
    font-size: clamp(1.6rem, 2.8vw, 2rem) !important;
  }
  
  #comment {
    min-height: clamp(80px, 12vw, 120px) !important;
  }

  .leave-review-btn {
    width: 100%;
    margin: 0; }
  
  .leave-review-btn.second {
    width: 100%;
    margin: 0;
    margin-top: 200px;
  }
}

@media (max-width: 650px) {

  .leave-review-btn.second {
    
    margin-top: 250px;
  }
}


@media (max-width: 480px) {
  
  .book-page-container {
    max-width: 90vw !important;
    width: 100% !important;
    padding: clamp(0.8rem, 4vw, 1.5rem) clamp(0.5rem, 2vw, 1rem) clamp(1.5rem, 6vw, 3rem);
    margin: 1rem auto !important;
    border-radius: 0px !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }
  

  .book-page-container > * {
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  
  .book-details-section {
    gap: clamp(0.8rem, 4vw, 1.5rem);
    margin-bottom: clamp(1rem, 5vw, 2rem);
    width: 100% !important;
    max-width: 100% !important;
  }
  
  .book-info-container {
    gap: clamp(0.8rem, 4vw, 1.5rem);
    width: 100% !important;
    max-width: 100% !important;
  }
  

  .book-title-large,
  .book-author,
  .book-rating {
    margin-bottom: clamp(0.4rem, 3vw, 0.8rem);
    width: 100% !important;
    max-width: 100% !important;
  }
  
  .book-description {
    padding: clamp(0.8rem, 4vw, 1.2rem);
    margin-bottom: clamp(1rem, 5vw, 1.5rem);
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  

  .payment-section {
    padding: clamp(0.8rem, 4vw, 1.2rem);

    margin-bottom: clamp(1rem, 5vw, 1.5rem);
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }
  
  .payment-section .book-price {
    margin-bottom: clamp(0.4rem, 3vw, 0.8rem);
  }

  .payment-section .cart{
    margin-bottom: 0;
  }
  
 
  .payment-methods {
    gap: clamp(0.4rem, 2vw, 0.8rem);
    width: 100% !important;
    max-width: 100% !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
  }
  
  .payment-methods > * {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    max-width: calc(50% - 0.5rem) !important;
  }
  

  .cart .single_add_to_cart_button,
  .start-reading-btn {
    padding: clamp(0.6rem, 3vw, 1rem) clamp(0.8rem, 2vw, 1.2rem);
    font-size: clamp(1.1rem, 4vw, 1.5rem);
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin-bottom: 10px;
    margin-top: 0;
  }
  
  .start-reading-btn {
    margin-top: clamp(0.8rem, 4vw, 1.2rem);
  }
  
  .leave-review-btn {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  

  .comment_container {
    padding: clamp(0.8rem, 4vw, 1.2rem);
    border-radius: 8px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin-bottom: clamp(0.8rem, 4vw, 1.2rem);
  }
  

  .star-rating {
    font-size: clamp(1.2rem, 5vw, 1.8rem);
  }
  
  .comment-text .description {
    font-size: clamp(1rem, 4vw, 1.4rem);
    line-height: 1.4;
  }
  
  .comment-author .fn {
    font-size: clamp(1rem, 3.5vw, 1.3rem);
  }
  
  .comment-author .comment-meta {
    font-size: clamp(0.8rem, 3vw, 1.1rem);
  }
  

  #review_form_wrapper {
    padding: clamp(1rem, 4vw, 1.5rem);
    border-radius: 8px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin: clamp(1rem, 4vw, 1.5rem) 0;
  }
  
  .comment-reply-title {
    font-size: clamp(1.4rem, 6vw, 2.2rem);
    margin-bottom: clamp(1rem, 5vw, 1.8rem);
  }
  
  .comment-form {
    width: 100% !important;
    max-width: 100% !important;
    gap: clamp(0.8rem, 4vw, 1.2rem);
  }
  
  .comment-form > * {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  
  .stars a {
    font-size: clamp(1.2rem, 5vw, 1.8rem) !important;
  }
  
  #comment {
    min-height: clamp(60px, 15vw, 100px) !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  
  #submit {
    padding: clamp(0.7rem, 4vw, 1.2rem) clamp(1.2rem, 5vw, 2rem);
    font-size: clamp(1.1rem, 4vw, 1.5rem);
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
}


@media (max-width: 360px) {
  .book-page-container {
    padding: clamp(0.5rem, 5vw, 1rem) clamp(0.3rem, 3vw, 0.8rem) clamp(1rem, 8vw, 2rem);
  }
  
  .payment-methods > * {
    max-width: 100% !important; 
  }
  
  .comment-reply-title {
    font-size: clamp(1.2rem, 8vw, 1.8rem);
  }
  

 
  
 

  .leave-review-btn.second{
    margin-top: 350px;
  }
}

/* Extra small mobile - 320px */
@media (max-width: 320px) {
  .book-page-container {
    padding: clamp(0.8rem, 1.5vw, 1rem) 0.5rem clamp(1.5rem, 3vw, 2rem);
  }
}

/* ==========================================================================
   MINI CART DROPDOWN STYLES
   ========================================================================== */

.mini-cart-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  width: 380px;
  max-width: 95vw;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: var(--transition);
  max-height: 500px;
  overflow-y: auto;
}

.mini-cart-dropdown.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mini-cart-dropdown::-webkit-scrollbar {
  width: 6px;
}

.mini-cart-dropdown::-webkit-scrollbar-track {
  background: var(--bg-light);
}

.mini-cart-dropdown::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 3px;
}

/* Mini Cart Header */
.mini-cart-header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border-light);
  background: var(--bg-light);
}

.mini-cart-header h3 {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--text-color);
}

/* Mini Cart Items */
.mini-cart-items {
  padding: 0;
  max-height: 300px;
  overflow-y: auto;
}

.mini-cart-item {
  display: flex;
  align-items: center;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border-light);
  gap: 1.2rem;
  transition: var(--transition);
}

.mini-cart-item:hover {
  background: var(--bg-light);
}

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

.mini-cart-item-image {
  flex-shrink: 0;
  width: 60px;
  height: 80px;
  overflow: hidden;
  border-radius: 4px;
}

.mini-cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

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

.mini-cart-item-image .no-image {
  width: 100%;
  height: 100%;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--text-muted);
  border: 1px solid var(--border-light);
}

.mini-cart-item-details {
  flex: 1;
}

.mini-cart-item-title {
  margin: 0 0 0.5rem 0;
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.3;
}

.mini-cart-item-title a {
  color: var(--text-color);
  text-decoration: none;
  transition: var(--transition);
}

.mini-cart-item-title a:hover {
  color: var(--primary-color);
}

.mini-cart-item-author {
  margin: 0 0 0.8rem 0;
  font-size: 1.2rem;
  color: var(--text-secondary);
  font-style: italic;
}

.mini-cart-item-price {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--primary-color);
}

.mini-cart-item-price .quantity {
  color: var(--text-secondary);
  font-weight: normal;
}

.mini-cart-item-remove {
  flex-shrink: 0;
}

.mini-cart-item-remove .remove-item {
  width: 28px;
  height: 28px;
  border: none;
  background: var(--bg-light);
  color: var(--text-muted);
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1.6rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mini-cart-item-remove .remove-item:hover {
  background: #ff4444;
  color: white;
  transform: scale(1.1);
}

/* Mini Cart Footer */
.mini-cart-footer {
  padding: 1.5rem 2rem;
  background: var(--bg-light);
  border-top: 1px solid var(--border-light);
}

.mini-cart-total {
  margin-bottom: 1.5rem;
  padding: 1rem 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  text-align: center;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--text-color);
}

.mini-cart-buttons {
  margin-bottom: 1rem;
}

.mini-cart-buttons .button {
  display: block;
  width: 100%;
  padding: 1.2rem 1.5rem;
  text-align: center;
  text-decoration: none;
  border-radius: var(--border-radius);
  font-size: 1.4rem;
  font-weight: 500;
  transition: var(--transition);
  border: 2px solid var(--primary-color);
  background: var(--primary-color);
  color: white;
}

.mini-cart-buttons .view-cart-btn:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-1px);
}

/* Catalog Link */
.mini-cart-catalog-link {
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
}

.mini-cart-catalog-link .catalog-link {
  display: inline-block;
  color: var(--primary-color);
  text-decoration: none;
  font-size: 1.3rem;
  font-weight: 500;
  transition: var(--transition);
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
}

.mini-cart-catalog-link .catalog-link:hover {
  color: var(--primary-dark);
  background: var(--bg-light);
  transform: translateY(-1px);
}

/* Empty Cart */
.mini-cart-empty {
  padding: 3rem 2rem;
  text-align: center;
}

.mini-cart-empty p {
  margin: 0 0 1.5rem 0;
  font-size: 1.4rem;
  color: var(--text-secondary);
}

.mini-cart-empty .continue-shopping {
  display: inline-block;
  padding: 1rem 2rem;
  background: var(--primary-color);
  color: white;
  text-decoration: none;
  border-radius: var(--border-radius);
  font-size: 1.3rem;
  font-weight: 500;
  transition: var(--transition);
}

.mini-cart-empty .continue-shopping:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

/* Loading and Error States */
.mini-cart-loading,
.mini-cart-error {
  padding: 3rem 2rem;
  text-align: center;
  font-size: 1.4rem;
  color: var(--text-secondary);
}

.mini-cart-error {
  color: #ff4444;
}

/* Header Cart Icon Positioning */
.header-cart,
.cart-icon {
  position: relative;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .mini-cart-dropdown {
    width: 320px;
    right: -10px;
  }
  
  .mini-cart-item {
    padding: 1.2rem 1.5rem;
    gap: 1rem;
  }
  
  .mini-cart-item-image {
    width: 50px;
    height: 65px;
  }
  
  .mini-cart-header,
  .mini-cart-footer {
    padding: 1.2rem 1.5rem;
  }
  
  .mini-cart-buttons {
    margin-bottom: 0.8rem;
  }
  
  .mini-cart-buttons .button {
    padding: 1rem 1.2rem;
    font-size: 1.3rem;
  }
  
  .mini-cart-catalog-link .catalog-link {
    font-size: 1.2rem;
    padding: 0.4rem 0.8rem;
  }
}

@media (max-width: 480px) {
  .mini-cart-dropdown {
    width: 280px;
    right: -20px;
  }
  
  .mini-cart-item {
    padding: 1rem;
    gap: 0.8rem;
  }
  
  .mini-cart-item-title {
    font-size: 1.3rem;
  }
  
  .mini-cart-item-author {
    font-size: 1.1rem;
  }
  
  .mini-cart-item-price {
    font-size: 1.2rem;
  }
}



/* Trending Books Slider */

.trending-books {
    padding: 60px 0;
    background: #ffff;
}

.trending-books .container {
    max-width: 1450px;
    margin: 0 auto;
    
}

.trending-books .section-title {
    text-align: left;
    font-size: 4.8rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 50px;
    font-family: 'Playfair Display', serif;
   margin-left: 4rem;
}

.slider-nav-arrows {
    position: absolute;
    top: 33%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 10;
}

.slider-arrow {
    width: 50px;
    height: 50px;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: auto;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    color: #333;
}

.slider-arrow:hover {
    background: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transform: scale(1.1);
}

.slider-arrow:active {
    transform: scale(0.95);
}

.slider-arrow-left {
    margin-left: 10px;
}

.slider-arrow-right {
    margin-right: 10px;
}

.slider-arrow:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}



@media (max-width: 1024px) { 
    
    .slider-arrow {
        width: 45px;
        height: 45px;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .slider-arrow {
        display: none;
    }
}


.trending-books .slider-with-dots {
    position: relative;
}

.trending-books .books-slider-wrapper {
    overflow: hidden;
    border-radius: 20px;
    margin-bottom: 40px;
}


.trending-books .books-slider {
    display: flex ;
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1) ;
    gap: 0 ;
    padding: 40px 20px ;
    flex-wrap: nowrap ; 
}

/* Book card styling */
.trending-books .book-card {
    flex: 0 0 16vw !important ; 
    
    border-radius: 20px ;
    overflow: hidden ;
    box-shadow: 0 10px 7px rgba(0,0,0,0.1) ;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) ;
    position: relative ;
    cursor: pointer ;
    margin: 0 15px ; 
    height: auto !important;
    padding: 0 !important;
    
}


.trending-books .book-card:hover {
    transform: translateY(-10px) scale(1.02) ;
    box-shadow: 0 25px 50px rgba(0,0,0,0.2) ;
}

/* Book cover wrapper */
.trending-books .book-cover-wrapper {
    position: relative ;
    overflow: hidden ;
    height: auto !important ;
    width: 100%;
    background: linear-gradient(45deg, #f0f0f0, #e0e0e0) ;
}

.trending-books .book-cover-wrapper a {
    display: block ;
    width: 100% ;
    height: 100% ;
}

.trending-books .book-cover-img {
    width: 100% ;
    height: auto ;
    object-fit: cover ;
    object-position: center ;
    display: block ;
    transition: transform 0.4s ease ;
}

.trending-books .book-card:hover .book-cover-img {
    transform: scale(1.1) \;
}

/* Overlay na hover */
 .book-overlay {
    position: absolute ;
    top: 0 ;
    left: 0 ;
    right: 0 ;
    bottom: 0 ;
    background: linear-gradient(135deg, rgba(102, 55, 149, 0.9), rgba(102, 55, 149, 0.7));
    display: flex ;
    align-items: center ;
    justify-content: center ;
    opacity: 0 ;
    transition: all 0.4s ease ;
    backdrop-filter: blur(0.2px) ;
}

 .book-card:hover .book-overlay {
    opacity: 1;
}

.book-card.active .book-overlay {
    opacity: 1;
}

 .book-actions {
    display: flex ;
    flex-direction: column ;
    gap: 15px ;
    align-items: center ;
    transform: translateY(20px) ;
    transition: transform 0.4s ease ;
}

 .book-card:hover .book-actions {
    transform: translateY(0) ;
}

 .view-details-btn,
 .quick-add-btn {
    padding: 12px 25px ;
    border: none ;
    border-radius: 8px ;
    font-weight: 600 ;
    text-decoration: none ;
    text-align: center ;
    cursor: pointer ;
    transition: all 0.3s ease ;
    font-size: 14px ;
    min-width: 140px ;
}

 .view-details-btn {
    background: white ;
    color: #667eea ;
    border: 2px solid white ;
}

 .view-details-btn:hover {
    background: transparent ;
    color: white ;
    transform: scale(1.05) ;
}

 .quick-add-btn {
    background: #ff6b6b ;
    color: white ;
    border: 2px solid #ff6b6b ;
}

 .quick-add-btn:hover {
    background: white ;
    color: #ff6b6b ;
    transform: scale(1.05) ;
}

/* Trending badge */
.trending-books .trending-badge {
    position: absolute ;
    top: 15px ;
    right: 15px ;
    background: linear-gradient(45deg, #ff6b6b, #ff8e8e) ;
    color: white ;
    padding: 8px 12px ;
    border-radius: 20px ;
    font-size: 12px ;
    font-weight: 600 ;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3) ;
    animation: trending-pulse 2s infinite ;
    z-index: 10 ;
}

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

/* Book info section */
.trending-books .book-info {
    padding: 20px ;
}

.trending-books .book-title a {
    font-size: 1.1rem ;
    font-weight: 700 !important;
    color: #2c3e50 ;
    text-decoration: none ;
    line-height: 1.3 ;
    display: block ;
    margin-bottom: 8px ;
    transition: color 0.3s ease ;
}

.trending-books .book-title a:hover {
    color: #667eea ;
}



.trending-books .book-rating {
    display: flex;
    align-items: center ;
    gap: 8px ;
    margin-bottom: 12px ;
}

.trending-books .rating-count {
    color: #95a5a6 ;
    font-size: 13px ;
    font-weight: 500 ;
}

.trending-books .book-stats {
    display: flex ;
    justify-content: space-between ;
    align-items: center ;
    margin-bottom: 12px ;
    padding: 8px 0 ;
    border-top: 1px solid #ecf0f1 ;
    border-bottom: 1px solid #ecf0f1 ;
}

.trending-books .sales-info {
    color: #27ae60 ;
    font-weight: 600 ;
    font-size: 13px ;
}

.trending-books .price-info {
    color: #e74c3c ;
    font-weight: 700;
    font-size: 15px ;
}

.trending-books .book-excerpt {
    color: #7f8c8d ;
    line-height: 1.5 ;
    font-size: 13px ;
    margin: 0 ;
}


.trending-books .slider-dots {
    display: flex ;
    justify-content: center ;
    gap: 15px ;
    margin: 30px 0 ;
}

.trending-books .slider-dots .dot {
    width: 14px ;
    height: 14px ;
    border-radius: 50% ;
    background: #bdc3c7 ;
    cursor: pointer ;
    transition: all 0.3s ease ;
    border: none ;
    outline: none ;
}

.trending-books .slider-dots .dot:hover {
    background: #7f8c8d ;
    transform: scale(1.2) ;
}

.trending-books .slider-dots .dot.active {
    background-color: #663795 ;
    transform: scale(1.3) ;
    box-shadow: 0 0 15px rgba(102, 126, 234, 0.4) ;
}

/* CTA button */
.trending-books .cta-button-wrapper {
    text-align: center;
    margin-top: 40px;
}

.trending-books .catalog-btn {
    background: #663795 ;
    color: white ;
    font-family: var(--font-primary), serif;
    padding: 15px 40px ;
    border-radius: 8px ;
    text-decoration: none ;
    font-weight: 600 ;
    font-size: 16px ;
    transition: all 0.3s ease ;
    display: inline-block ;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3) ;
}

.trending-books .catalog-btn:hover {
    transform: translateY(-3px) ;
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4) ;
	background-color: #996ac8;
}

@media (max-width: 479px) {
  .trending-books {
    padding: 2.5rem 1.5rem;
  }

  .trending-books .container{
    width: 100%;
    padding: 0;
  }

  .trending-books .section-title {
    font-size: 2.4rem;
    margin-bottom: 2rem;
    margin-left: 2rem;
  }


  .trending-books .books-slider-wrapper {
    overflow: hidden;
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
  }

  .books-slider.slider-active{
    padding-left: 0;
    padding-right: 0;
  }

  .trending-books .books-slider {
    display: flex;
    width: max-content;
    gap: 16px;
    transition: transform 0.3s ease;
    
  }



  /* Book cover styling */
  .trending-books .book-cover-wrapper,
  .trending-books .book-cover-img {
    height: auto;
    width: 100% ;
    aspect-ratio: none;
  }

  
  .trending-books .books-slider .book-card h3 {
    font-size: 10px;
    line-height: 1.2;
    margin-bottom: 4px;
  }

  .trending-books .books-slider .book-card p {
    font-size: 9px;
  }


  .trending-books .book-info {
    padding: 4px 2px;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }

  /* Book rating styling */
  .trending-books .book-rating {
    font-size: 8px;
    margin-bottom: 3px;
    display: flex;
    align-items: center;
    gap: 2px;
  }

  .trending-books .book-rating .stars {
    display: flex;
    gap: 1px;
  }

  .trending-books .book-rating .star {
    font-size: 8px;
    line-height: 1;
  }


  .trending-books .book-stats {
    font-size: 8px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: 2px;
  }

  .trending-books .book-stats .sales-info {
    color: #27ae60;
    font-weight: normal;
  }

  .trending-books .book-stats .price-info {
    color: #e74c3c;
    font-weight: bold;
    font-size: 9px;
  }

  .trending-books .book-excerpt {
    display: none;
  }

  /* Responsive Book Overlay Buttons */
  .trending-books .book-overlay {
    padding: 4px;
  }

  .trending-books .book-actions {
    display: flex;
    flex-direction: column;
    gap: 3px;
  }

  .view-details-btn {
    font-size: 8px;
    padding: 3px 6px;
    border-radius: 3px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 18px;
    line-height: 1.2;
  }

 .quick-add-btn {
    font-size: 7px;
    padding: 3px 4px;
    border-radius: 3px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 16px;
    line-height: 1.1;
    border: none;
    cursor: pointer;
  }

  /* Responsive Trending Badge */
  .trending-books .trending-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background: linear-gradient(45deg, #ff6b6b, #ff8e53);
    color: white;
    padding: 1px 3px;
    border-radius: 8px;
    font-size: 7px;
    font-weight: bold;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    z-index: 2;
    white-space: nowrap;
  }

  .trending-books .cta-button-wrapper .catalog-btn {
    font-size: 1.6rem;
  }
}








.faq-section {
  margin-top: 6rem;
}

.faq-heading {
  font-size: 4.8rem;
  font-weight: 700;
  font-family: "Playfair display";
  color: #1a1a1a;
  margin-bottom: 4rem;
  letter-spacing: -0.5px;
}

.faq-container {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
  height: 41rem;
}

.faq-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  height: 100%;
}

.faq-item {
  background: white;
  border-radius: 1.2rem;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid #e6e6e6;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-item:hover {
  background: #e9ecef;
  border-color: #dee2e6;
}

.faq-item.active {
  background: #e9ecef;
  color: var(--primary-color);
}

.faq-question {
  padding: 2.4rem 2.8rem;
  cursor: pointer;
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  font-size: 1.4rem;
  font-weight: 600;
  color: #1a1a1a;
  transition: all 0.3s ease;
}

.faq-item.active .faq-question {
  color: var(--primary-color);
}

.faq-question:hover {
  color: #007bff;
}

.faq-item.active .faq-question:hover {
  color: var(--primary-color);
}

.faq-icon {
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 50%;
  background: #a5a6f6;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
  margin-left: -1rem;
}

.faq-item.active .faq-icon {
  background-color: #007bff;
}

.faq-icon2 {
  justify-self: flex-end;
  font-size: 2rem;
  color: #a5a6f6;
}

.faq-item.active .faq-icon2 {
  color: #007bff;
}

.faq-answer-panel {
  flex: 1;

  min-height: 86%;
  background: #f8f9fa;
  border-radius: 1.2rem;
  padding: 3rem;
  border: 1px solid #e9ecef;
  position: sticky;
  top: 2rem;
  opacity: 0;
  transform: translateY(2rem);
  transition: all 0.3s ease;
}

.faq-answer-panel.active {
  opacity: 1;
  transform: translateY(0);
  background: #fafbff;
  border-color: #e9ecef;
  box-shadow: 0 4px 2rem rgba(0, 123, 255, 0.1);
}

.faq-answer-title {
  font-size: 1.8rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 2rem;
  line-height: 1.4;
}

.faq-answer-content {
  color: #4a4a4a;
  font-size: 1.4rem;
  line-height: 1.6;
}

.faq-placeholder {
  text-align: center;
  color: #999;
  font-style: italic;
}

@media (max-width: 768px) {
  .about-content {
    flex-direction: column;
    gap: 4rem;
  }

  .profile-section {
    flex: none;
  }

  .faq-container {
    flex-direction: column;
  }

  .faq-answer-panel {
    position: static;
    min-height: auto;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .about-content {
    flex-direction: column;
    gap: 4rem;
    text-align: center;
  }

  .profile-section {
    flex: none;
  }

  .profile-image {
    width: 15rem;
    height: 15rem;
  }

  .profile-name {
    font-size: 2rem;
  }

  .about-heading {
    font-size: 1.8rem;
  }

  .faq-heading {
    font-size: 2rem;
  }

  .faq-question {
    padding: 2rem;
    font-size: 1rem;
  }

  .faq-answer {
    padding: 0 2rem 2rem 2rem;
    font-size: 0.95rem;
  }

  .faq-icon {
    width: 2.8rem;
    height: 2.8rem;
    font-size: 1.6rem;
    margin-right: 1rem;
  }
}

@media (max-width: 480px) {
  .about-section {
    padding: 4rem 1.5rem;
  }

  .profile-name {
    font-size: 1.75rem;
  }

  .about-heading {
    font-size: 1.6rem;
  }

  .faq-heading {
    font-size: 1.75rem;
  }
}





/* TRENDING BOOKS RESPONSSSSIVE */

@media (min-width: 1025px) {
  .gt_options a {
    
    font-size: 12px ;
    margin-left: -1.5rem !important;
}


}

@media (max-width: 1024px) and (min-width: 769px) {
  .trending-books {
    padding: 4rem 3rem;
  }
   
  .trending-books .container{
    width: 100%;
    padding: 0 1rem;
  }
   
  .trending-books .section-title {
    font-size: 3.2rem;
    margin-bottom: 3rem;
    margin-left: 1rem;
  }
 
  .trending-books .books-slider-wrapper {
    overflow: hidden;
    width: 100%;
    max-width: 90vw;
    margin: 0px 1rem;
    box-shadow: none !important;
  }
   
  .books-slider.slider-active{
    padding-left: 0;
    padding-right: 0;
  }
   
  .trending-books .books-slider {
    display: flex;
    gap: 24px;
    transition: transform 0.3s ease;
  }
   
  .trending-books .books-slider .book-card {
    flex: none !important;
    max-width: 20vw;
    height: auto;
    padding-right: 0;
    padding-left: 0;
    margin: 0;
    border-radius: 8px;
  }
   
  .trending-books .book-cover-wrapper,
  .trending-books .book-cover-img {
    height: auto;
    width: 100%;
    aspect-ratio: none;
  }
   
  .trending-books .books-slider .book-card h3 {
    font-size: 14px;
    line-height: 1.3;
    margin-bottom: 6px;
  }
   
  .trending-books .books-slider .book-card p {
    font-size: 12px;
  }
   
  .trending-books .book-info {
    padding: 8px 6px;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }
   
  .trending-books .book-rating {
    font-size: 11px;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 4px;
  }
   
  .trending-books .book-rating .stars {
    display: flex;
    gap: 2px;
  }
   
  .trending-books .book-rating .star {
    font-size: 11px;
    line-height: 1;
  }
   
  .trending-books .book-stats {
    font-size: 11px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 4px;
  }
   
  .trending-books .book-stats .sales-info {
    color: #27ae60;
    font-weight: normal;
  }
   
  .trending-books .book-stats .price-info {
    color: #e74c3c;
    font-weight: bold;
    font-size: 12px;
  }
   
  .trending-books .book-excerpt {
    display: none;
  }
   
  .trending-books .book-overlay {
    padding: 8px;
  }
   
  .trending-books .book-actions {
    display: flex;
    flex-direction: column;
    gap: 5px;
  }
   
   .view-details-btn {
    font-size: 11px;
    padding: 5px 10px;
    border-radius: 5px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 24px;
    line-height: 1.3;
    
  }
   
 .quick-add-btn {
    font-size: 10px;
    padding: 5px 8px;
    border-radius: 5px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 22px;
    line-height: 1.2;
    border: none;
    cursor: pointer;
  }

  .promo-page .view-details-btn, .promo-page .quick-add-btn{
    padding: 10px 20px;
  }

  .trending-books .view-details-btn, .trending-books .quick-add-btn{
    max-width: 100px;
    font-size: 14px;
    padding: 10px 15px;
  }

  .trending-books .quick-add-btn {
    font-size: 13px;
    
  }

   
  .trending-books .trending-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    background: linear-gradient(45deg, #ff6b6b, #ff8e53);
    color: white;
    padding: 3px 6px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    z-index: 2;
    white-space: nowrap;
  }
   
  .trending-books .cta-button-wrapper .catalog-btn {
    font-size: 2rem;
  }

  .gt_options a {
    
    font-size: 12px ;
    margin-left: -1.5rem !important;
}

}


/* Tablet mali - 768px */
@media (max-width: 768px) {
  .trending-books {
    padding: 3rem 2rem;
  }
  
  .trending-books .container{
    width: 100%;
    padding: 0;
  }
  
  .trending-books .section-title {
    font-size: 2.8rem;
    margin-bottom: 2.5rem;
    margin-left: 2rem;
  }

  .trending-books .books-slider-wrapper {
    overflow: hidden;
    width: 100%;
    max-width: 87vw;
    margin: 0px 2rem;
    
    
  }
  
  .books-slider.slider-active{
    padding-left: 0;
    padding-right: 0;
  }
  
  .trending-books .books-slider {
    display: flex;
    gap: 20px;
    transition: transform 0.3s ease;
  }
  
  .trending-books .books-slider .book-card {
    flex: none !important;
    
    max-width: 26vw;
    
    height: auto;
    padding-right: 0;
    padding-left: 0;
    margin: 0;
    border-radius: 6px;
  }

  .trending-books .books-slider-wrapper{
    margin: 0;
    
  }
  
  .trending-books .book-cover-wrapper,
  .trending-books .book-cover-img {
    height: auto;
    width: 100%;
    aspect-ratio: none;
  }
  
  .trending-books .books-slider .book-card h3 {
    font-size: 12px;
    line-height: 1.3;
    margin-bottom: 5px;
  }
  
  .trending-books .books-slider .book-card p {
    font-size: 11px;
  }
  
  .trending-books .book-info {
    padding: 6px 4px;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }
  
  .trending-books .book-rating {
    font-size: 10px;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 3px;
  }
  
  .trending-books .book-rating .stars {
    display: flex;
    gap: 2px;
  }
  
  .trending-books .book-rating .star {
    font-size: 10px;
    line-height: 1;
  }
  
  .trending-books .book-stats {
    font-size: 10px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin-top: 3px;
  }
  
  .trending-books .book-stats .sales-info {
    color: #27ae60;
    font-weight: normal;
  }
  
  .trending-books .book-stats .price-info {
    color: #e74c3c;
    font-weight: bold;
    font-size: 11px;
  }
  
  .trending-books .book-excerpt {
    display: none;
  }
  
  .trending-books .book-overlay {
    padding: 6px;
  }
  
  .trending-books .book-actions {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  
 .view-details-btn {
    font-size: 10px;
    padding: 4px 8px;
    border-radius: 4px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 22px;
    line-height: 1.3;
    width: 50px;
  }
  
 .quick-add-btn {
    font-size: 9px;
    padding: 4px 6px;
    border-radius: 4px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 20px;
    line-height: 1.2;
    border: none;
    cursor: pointer;
  }

  .promo-page .view-details-btn, .promo-page .quick-add-btn{
    padding: 8px 16px;
  }

  .trending-books .view-details-btn, .trending-books .quick-add-btn{
    max-width: 100px;
    font-size: 12px;
    padding: 15px 10px;
  }

  .trending-books .quick-add-btn {
    font-size: 11px;
    
  }


  
  .trending-books .trending-badge {
    position: absolute;
    top: 3px;
    right: 3px;
    background: linear-gradient(45deg, #ff6b6b, #ff8e53);
    color: white;
    padding: 2px 4px;
    border-radius: 10px;
    font-size: 9px;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    z-index: 2;
    white-space: nowrap;
  }
  
  .trending-books .cta-button-wrapper .catalog-btn {
    font-size: 1.8rem;
  }
}

@media (max-width: 600px)  {
   .view-details-btn,
 .quick-add-btn {
    padding: 12px 25px ;
    border: none ;
    border-radius: 8px ;
    font-weight: 600 ;
    text-decoration: none ;
    text-align: center ;
    cursor: pointer ;
    transition: all 0.3s ease ;
    font-size: 14px ;
    min-width: 100px ;
}

.promo-page .view-details-btn, .promo-page .quick-add-btn{
    font-size: 8px;
  }

   .trending-books .view-details-btn, .trending-books .quick-add-btn{
    max-width: 80px;
    font-size: 8px;
  }

  .trending-books .quick-add-btn {
    font-size: 7px;
    padding: 12px 10px;
  }



}

/* Mali ekrani - 479px */
@media (max-width: 479px) {
  .trending-books {
    padding: 2.5rem 1.5rem;
  }
  
  .trending-books .container{
    width: 100%;
    padding: 0;
  }
  
  .trending-books .section-title {
    font-size: 2.4rem;
    margin-bottom: 2rem;
    margin-left: 2rem;
  }

  .trending-books .books-slider-wrapper {
    overflow: hidden;
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
  }
  
  .books-slider.slider-active{
    padding-left: 0;
    padding-right: 0;
  }
  
  .trending-books .books-slider {
    display: flex;
    width: max-content;
    gap: 16px;
    transition: transform 0.3s ease;
  }
  
  .trending-books .books-slider .book-card {
    flex: none !important;
    width: 102px;
    height: auto;
    padding-right: 0;
    padding-left: 0;
    margin: 0;
    border-radius: 4px;
  }
  
  .trending-books .book-cover-wrapper,
  .trending-books .book-cover-img {
    height: auto;
    width: 100%;
    aspect-ratio: none;
  }
  
  .trending-books .books-slider .book-card h3 {
    font-size: 10px;
    line-height: 1.2;
    margin-bottom: 4px;
  }
  
  .trending-books .books-slider .book-card p {
    font-size: 9px;
  }
  
  .trending-books .book-info {
    padding: 4px 2px;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }
  
  .trending-books .book-rating {
    font-size: 8px;
    margin-bottom: 3px;
    display: flex;
    align-items: center;
    gap: 2px;
  }
  
  .trending-books .book-rating .stars {
    display: flex;
    gap: 1px;
  }
  
  .trending-books .book-rating .star {
    font-size: 8px;
    line-height: 1;
  }
  
  .trending-books .book-stats {
    font-size: 8px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: 2px;
  }
  
  .trending-books .book-stats .sales-info {
    color: #27ae60;
    font-weight: normal;
  }
  
  .trending-books .book-stats .price-info {
    color: #e74c3c;
    font-weight: bold;
    font-size: 9px;
  }
  
  .trending-books .book-excerpt {
    display: none;
  }
  
  .trending-books .book-overlay {
    padding: 4px;
  }
  
  .trending-books .book-actions {
    display: flex;
    flex-direction: column;
    gap: 3px;
  }
  
   .view-details-btn {
    font-size: 8px;
    padding: 6px 12px;
    border-radius: 3px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 18px;
    line-height: 1.2;
    min-width: 80px;
  }
  
 .quick-add-btn {
    font-size: 8px;
    padding: 6px 12px;
    border-radius: 3px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 18px;
    line-height: 1.1;
    border: none;
    cursor: pointer;
    min-width: 80px;
  }

   .trending-books .view-details-btn, .trending-books .quick-add-btn{
    padding: 10px 20px;
    max-width: 60px;
    font-size: 7px;
  }

  .trending-books .quick-add-btn{
    font-size: 6px;
    padding: 10px 5px;
  }


  .promo-page .view-details-btn, .promo-page .quick-add-btn{
    padding: 10px 20px;
    font-size: 7px;
  }

  
  
  .trending-books .trending-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background: linear-gradient(45deg, #ff6b6b, #ff8e53);
    color: white;
    padding: 1px 3px;
    border-radius: 8px;
    font-size: 7px;
    font-weight: bold;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    z-index: 2;
    white-space: nowrap;
  }
  
  .trending-books .cta-button-wrapper .catalog-btn {
    font-size: 1.6rem;
  }
}


@media (max-width: 400px) {
    .trending-books {
    padding: 2.5rem 1.5rem;
  }
  
  .trending-books .container{
    width: 100%;
    padding: 0;
  }
  
  .trending-books .section-title {
    font-size: 2.4rem;
    margin-bottom: 2rem;
    margin-left: 2rem;
  }

  .trending-books .books-slider-wrapper {
    overflow: hidden;
    width: 100%;
    
    margin: 0 auto;
  }
  
  .books-slider.slider-active{
    padding-left: 0;
    padding-right: 0;
  }
  
  .trending-books .books-slider {
    display: flex;
    width: max-content;
    gap: 16px;
    transition: transform 0.3s ease;
  }
  
  .trending-books .books-slider .book-card {
    flex: none;
    width: 26vw;
    height: auto;
    padding-right: 0;
    padding-left: 0;
    margin: 0;
    border-radius: 4px;
  }
  
  .trending-books .book-cover-wrapper,
  .trending-books .book-cover-img {
    height: auto;
    width: 100%;
    aspect-ratio: none;
  }
  
  .trending-books .books-slider .book-card h3 {
    font-size: 10px;
    line-height: 1.2;
    margin-bottom: 4px;
  }
  
  .trending-books .books-slider .book-card p {
    font-size: 9px;
  }
  
  .trending-books .book-info {
    padding: 4px 2px;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }
  
  .trending-books .book-rating {
    font-size: 7px;
    margin-bottom: 2px;
    display: flex;
    align-items: center;
    gap: 1px;
  }
  
  .trending-books .book-rating .stars {
    display: flex;
    gap: 1px;
  }
  
  .trending-books .book-rating .star {
    font-size: 7px;
    line-height: 1;
  }
  
  .trending-books .book-stats {
    font-size: 7px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: 2px;
  }
  
  .trending-books .book-stats .sales-info {
    color: #27ae60;
    font-weight: normal;
  }
  
  .trending-books .book-stats .price-info {
    color: #e74c3c;
    font-weight: bold;
    font-size: 8px;
  }
  
  .trending-books .book-excerpt {
    display: none;
  }
  
  .trending-books .book-overlay {
    padding: 3px;
    display: flex;
    flex-direction: column;
    align-items: center;
    
  }
  
  .trending-books .book-actions {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }
  
    .view-details-btn {
    font-size: 7px;
    padding: 4px 10px;
    border-radius: 3px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 16px;
    line-height: 1.2;
    margin-bottom: 3px;
  }
  
  .quick-add-btn {
    font-size: 7px;
    padding: 4px 10px;
    border-radius: 3px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 16px;
    line-height: 1.2;
    border: none;
    cursor: pointer;
  }

  .promo-page .view-details-btn, .promo-page .quick-add-btn{
    font-size: 7px;
    
  }

  
  .trending-books .trending-badge {
    position: absolute;
    top: 1px;
    right: 1px;
    background: linear-gradient(45deg, #ff6b6b, #ff8e53);
    color: white;
    padding: 1px 2px;
    border-radius: 6px;
    font-size: 6px;
    font-weight: bold;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    z-index: 2;
    white-space: nowrap;
  }
  
  .trending-books .cta-button-wrapper .catalog-btn {
    font-size: 1.4rem;
  }
}

#gt_float_wrapper {
    transform: none !important;
}

.gt_float_switcher {
    box-shadow: none !important;
    width: 170px;
}

.gt-selected {
    transform: none !important;
}

.gt-current-lang {
    margin-top: 1rem;
    padding: 0 !important;
    transform: none !important;
}

.gt-current-lang img {
    padding: 0 !important;
    transform: none !important;
}

@media (max-width: 979px) {
.gt_float_switcher {
    
    width: 120px;
}


}


@media (max-width: 767px) {
 
    
    
    .gt_float_switcher {
        font-size: 0.9rem;
    }
    
    .gt-current-lang {
        margin-top: 0.8rem;
    }

    .gt-lang-code{
      display: none;
    }
    
    .gt-current-lang img {
        width: auto;
        height: 18px;
    }
    .language-selector{
      width: 70px;
    }

      .gtranslate_wrapper a {
    font-size: 0;
}
.gt_float_switcher {
    
    width: 70px;
}

.gt_options a {
    
    
    margin-left: -1.5rem !important;
}

}


@media (max-width: 480px) {
  .language-selector{
    margin: 0 !important;
    
  }

 

  .gt_float_switcher{
    position: relative !important ;
    
  }

  .gt_options a {
    
    padding: 8px 12px !important;
    text-decoration: none !important;
    color: #333 !important;
    font-size: 14px !important;
    border-bottom: 1px solid #eee !important;
    
    margin-left: -1rem !important;
}

.gt_options a img{
 height: 22px !important;
        width: 26px !important;
}



.gt_options a:hover {
    background: #f5f5f5 !important;
    color: #663795 !important;
}

.gt_options a:last-child {
    border-bottom: none !important;
}

  


  .language-selector{
    width: 70px !important ;
  }
    #gt_float_wrapper {
        width: 70px;
        height: 20px;
        margin-top: 8px;
        margin-left: 5px;
    }
    
    .gt_float_switcher {
        font-size: 0.8rem;
    }
    
    .gt-current-lang {
        margin-top: 0.6rem;
    }
    
    .gt-current-lang img {
      
        height: 22px !important;
        width: 26px !important;
    }

    .cart-count{
      width: 1.5rem;
      height: 1.5rem;
    }

 .gtranslate_wrapper a {
    font-size: 0 !important;
}

}








.input-text{
	display: none;
}

.payment-section .book-price{
	font-size: 3.6rem;
}

.single_add_to_cart_button{
	background-color: #829CD0 !important ;
}

.cart .single_add_to_cart_button:hover {
 background-color: #663795 !important;
	cursor: pointer !important;
  transform: translateY(-4px);
}


.start-reading-btn{
	background-color: #663795;
}

.start-reading-btn:hover {
  background: #829CD0;
	 transform: translateY(-4px);
}


.entry-content {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
}


.custom-cart-main-container {
    max-width: 1200px !important;
    width: min(1000px, 100%) !important;
    margin: 0 auto;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
}

.custom-cart-inner-wrapper {
    display: flex !important;
    flex-direction: column !important;
    gap: 30px;
    width: 100% !important;
}

.wc-block-components-main.wc-block-cart__main.wp-block-woocommerce-cart-items-block {
    width: 100% !important;
}

/* ========== SEKCIJA PROIZVODA ========== */
.custom-cart-products-section {
    width: 100% !important;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #f0f0f0;
    table-layout: auto !important;
}


.custom-cart-products-section thead {
    background: #fff;
}

.custom-cart-products-section .wc-block-cart-items__header th {
    padding: 16px 20px;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #eee;
}

.custom-cart-products-section .wc-block-cart-items__header-image {
    width: 250px !important;
    text-align: center;
}

.custom-cart-products-section .wc-block-cart-items__header-product {
    width: auto;
}

.custom-cart-products-section .wc-block-cart-items__header-total {
    width: 150px;
    text-align: right;
}


.custom-cart-products-section table,
.custom-cart-products-section tr,
.custom-cart-products-section td {
    height: auto !important;
    max-height: none !important;
    vertical-align: top !important;
}

.custom-cart-products-section .wc-block-cart-items__row {
    height: auto !important;
    max-height: none !important;
    min-height: 0 !important;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s ease;
}

.custom-cart-products-section .wc-block-cart-items__row:hover {
    background-color: #fafafa;
}

.custom-cart-products-section .wc-block-cart-items__row:last-child {
    border-bottom: none;
}


.custom-cart-products-section .wc-block-cart-item__image {
    padding: 5px !important;
    padding-top: 25px !important;
    text-align: center;
    width: 250px !important;
    height: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: visible !important;
    box-sizing: border-box !important;
}

.custom-cart-products-section .wc-block-cart-item__image img {
    width: auto !important;
    height: auto !important;
    max-width: 170px !important;
    max-height: none !important;
    object-fit: contain !important;
    border-radius: 15px;
    border: 2px solid #ddd;
    display: block !important;
}

/* Podaci o proizvodu */
.custom-cart-products-section .wc-block-components-product-name {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
}

.custom-cart-products-section .wc-block-components-product-name:hover {
    color: #7c3aed;
}

.custom-cart-products-section .wc-block-cart-item__prices {
    margin-bottom: 12px;
}

.custom-cart-products-section .wc-block-components-product-price__value {
    font-size: 16px;
    color: #666;
    font-weight: 500;
}

.custom-cart-products-section .wc-block-components-product-metadata__description {
    margin-bottom: 15px;
}

.custom-cart-products-section .wc-block-components-product-metadata__description p {
    font-size: 14px;
    color: #888;
    margin: 0;
    line-height: 1.5;
}

.custom-cart-products-section .wc-block-cart-item__quantity {
    display: none;
}

.custom-cart-products-section .wc-block-cart-item__remove-link {
    color: #dc3545;
    text-decoration: none;
    font-size: 13px;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.custom-cart-products-section .wc-block-cart-item__remove-link:hover {
    background: #fff5f5;
    color: #c82333;
}

/* Kolona ukupne cene */
.custom-cart-products-section .wc-block-cart-item__total {
    padding: 20px 30px;
    text-align: right;
    vertical-align: top;
}

.custom-cart-products-section .wc-block-cart-item__total .wc-block-components-product-price__value {
    font-size: 20px;
    font-weight: 700;
    color: #333;
}


.custom-cart-actions-section {
    width: 100% !important;
    margin: 0 !important;
    display: flex; 
    flex-direction: column;
    align-items: center;
}

.custom-cart-sidebar {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    padding: 24px;
    width: 100%;
    max-width: 400px;
    box-sizing: border-box;
}

.custom-cart-sidebar .wc-block-cart__totals-title {
    font-size: 18px !important;
    font-weight: 600;
    color: #333;
    margin: 0 0 20px 0;
    text-align: center;
}

/* Kuponi */
.custom-cart-sidebar .wc-block-components-panel__button {
    width: 100%;
    max-width: 400px;
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    transition: background-color 0.2s ease;
    box-sizing: border-box;
}

.custom-cart-sidebar .wc-block-components-panel__button:hover {
    background: #e9ecef;
}

/* Ukupni troškovi */
.custom-cart-sidebar .wc-block-components-totals-wrapper {
    margin-bottom: 20px;
}

.custom-cart-sidebar .wc-block-components-totals-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.custom-cart-sidebar .wc-block-components-totals-item:last-child {
    border-bottom: none;
}

.custom-cart-sidebar .wc-block-components-totals-item__label {
    font-size: 14px;
    color: #666;
}

.custom-cart-sidebar .wc-block-components-totals-item__value {
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

/* Finalni ukupan iznos */
.custom-cart-sidebar .wc-block-components-totals-footer-item {
    border-top: 2px solid #333 !important;
    border-bottom: none !important;
    padding: 16px 0 !important;
    margin-top: 10px;
}

.custom-cart-sidebar .wc-block-components-totals-footer-item .wc-block-components-totals-item__label {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.custom-cart-sidebar .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
    font-size: 18px;
    font-weight: 700;
    color: #333;
}


.custom-cart-actions-section .wc-block-cart__submit-button {
    width: 100%;
    max-width: 400px;
    background: var(--primary-color) !important;
    color: white !important;
    border: none;
    border-radius: 8px;
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
    margin-top: 20px;
    box-sizing: border-box;
}

.custom-cart-actions-section .wc-block-cart__submit-button:hover {
    background: var(--secondary-color) !important;
    transform: translateY(-1px);
}

.custom-cart-actions-section .wc-block-cart__submit-button:after {
    content: "→";
    font-size: 24px;
}

/* ========== NASLOV STRANICE ========== */
.entry-title {
    visibility: hidden;
    position: relative;
    max-width: 1200px;
    width: min(1000px, 100%);
    margin: 0 auto 20px auto;
    padding: 0 20px;
}

.entry-title:before {
    visibility: visible;
    position: absolute;
    top: 40px;
    left: 20px;
    content: "Shopping Card";
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
}

/* ========== UTILITIES ========== */
.wp-block-woocommerce-cart-order-summary-totals-block:empty {
    display: none;
}

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


@media (max-width: 968px) {
    .entry-title {
        width: 95% !important;
        padding: 0 15px;
    }
    
    .entry-title:before {
        left: 15px;
    }
    
    .custom-cart-main-container {
        max-width: 95%;
        width: 95% !important;
        padding: 15px;
        margin: 10px auto;
    }
    
    .custom-cart-sidebar {
        max-width: 350px;
    }
    
    .custom-cart-sidebar .wc-block-components-panel__button,
    .custom-cart-actions-section .wc-block-cart__submit-button {
        max-width: 350px;
    }
}


@media (max-width: 768px) {
    .entry-title {
        width: calc(100% - 20px) !important;
        padding: 0 15px;
        margin: 0 auto 15px auto;
			font-size: 22px;
			top: -20px;
    }
    
    .entry-title:before {
        left: 15px;
    }
    
    .custom-cart-main-container {
        padding: 15px;
        margin: 10px;
        width: calc(100% - 20px) !important;
			box-shadow: none;
    }
    
    .custom-cart-inner-wrapper {
        gap: 20px;
    }
	
	.wc-block-cart-item__wrap{
		margin-left: 50px;
		margin-top: 20px;
	}
    
    .custom-cart-products-section .wc-block-cart-items__header th {
        padding: 12px 10px;
        font-size: 12px;
    }
    
    .custom-cart-products-section .wc-block-cart-items__header-image {
        width: 120px !important;
    }
    
    .custom-cart-products-section .wc-block-cart-item__image {
        padding: 10px !important;
        padding-top: 15px !important;
        width: 120px !important;
    }
    
    .custom-cart-products-section .wc-block-cart-item__image img {
        max-width: 90px !important;
        border-radius: 8px;
    }
    
    .custom-cart-products-section .wc-block-cart-item__product,
    .custom-cart-products-section .wc-block-cart-item__total {
        padding: 15px 10px;
    }
    
    .custom-cart-products-section .wc-block-components-product-name {
        font-size: 16px;
        margin-bottom: 8px;
    }
    
    .custom-cart-products-section .wc-block-cart-item__total .wc-block-components-product-price__value {
        font-size: 18px;
    }
    
    .custom-cart-sidebar {
        padding: 20px;
        max-width: none;
    }
    
    .custom-cart-sidebar .wc-block-components-panel__button,
    .custom-cart-actions-section .wc-block-cart__submit-button {
        max-width: none;
    }
}


@media (max-width: 480px) {
	.wc-block-cart-item__wrap{
		margin-left: 10px;
		margin-top: 20px;
	}
    .entry-title {
        width: calc(100% - 10px) !important;
        padding: 0 10px;
        margin: 0 auto 10px auto;
    }
    
    .entry-title:before {
        left: 10px;
    }
    
    .custom-cart-main-container {
        padding: 10px;
        margin: 5px;
        border-radius: 8px;
        width: calc(100% - 10px) !important;
			box-shadow: none;
    }
    
    .custom-cart-inner-wrapper {
        gap: 15px;
    }
    
    /* Smaniti padding u tabeli */
    .custom-cart-products-section .wc-block-cart-items__header th {
        padding: 8px 5px;
        font-size: 11px;
    }
    
    .custom-cart-products-section .wc-block-cart-items__header-image {
        width: 80px !important;
    }
    
    .custom-cart-products-section .wc-block-cart-items__header-total {
        width: 100px;
    }
    
    .custom-cart-products-section .wc-block-cart-item__image {
        padding: 5px !important;
        padding-top: 10px !important;
        width: 80px !important;
    }
    
    .custom-cart-products-section .wc-block-cart-item__image img {
        max-width: 60px !important;
        border-radius: 6px;
        border: 1px solid #ddd;
    }
    
    .custom-cart-products-section .wc-block-cart-item__product {
        padding: 10px 5px;
    }
    
    .custom-cart-products-section .wc-block-cart-item__total {
        padding: 10px 5px;
    }
    
    .custom-cart-products-section .wc-block-components-product-name {
        font-size: 14px;
        margin-bottom: 6px;
        line-height: 1.3;
    }
    
    .custom-cart-products-section .wc-block-components-product-price__value {
        font-size: 14px;
    }
    
    .custom-cart-products-section .wc-block-components-product-metadata__description p {
        font-size: 12px;
    }
    
    .custom-cart-products-section .wc-block-cart-item__total .wc-block-components-product-price__value {
        font-size: 16px;
    }
    
    .custom-cart-sidebar {
        padding: 15px;
    }
    
    .custom-cart-sidebar .wc-block-cart__totals-title {
        font-size: 16px !important;
    }
    
    .custom-cart-actions-section .wc-block-cart__submit-button {
        padding: 12px 20px;
        font-size: 15px;
    }
	.entry-title {
        font-size: 18px;
		top: -30px;
    }
	
	
}


@media (max-width: 360px) {
    .custom-cart-main-container {
        padding: 8px;
        margin: 3px;
        width: calc(100% - 6px) !important;
			box-shadow: none;
    }
    
    .custom-cart-products-section .wc-block-cart-items__header th {
        padding: 6px 3px;
        font-size: 10px;
    }
    
    .custom-cart-products-section .wc-block-cart-items__header-image {
        width: 70px !important;
    }
    
    .custom-cart-products-section .wc-block-cart-items__header-total {
        width: 80px;
    }
    
    .custom-cart-products-section .wc-block-cart-item__image {
        padding: 3px !important;
        padding-top: 8px !important;
        width: 70px !important;
    }
    
    .custom-cart-products-section .wc-block-cart-item__image img {
        max-width: 50px !important;
    }
    
    .custom-cart-products-section .wc-block-cart-item__product,
    .custom-cart-products-section .wc-block-cart-item__total {
        padding: 8px 3px;
    }
    
    .custom-cart-products-section .wc-block-components-product-name {
        font-size: 13px;
        margin-bottom: 4px;
    }
    
    .custom-cart-products-section .wc-block-components-product-price__value {
        font-size: 13px;
    }
    
    .custom-cart-products-section .wc-block-cart-item__total .wc-block-components-product-price__value {
        font-size: 15px;
    }
    
    .custom-cart-sidebar {
        padding: 12px;
    }
    
    .custom-cart-sidebar .wc-block-components-panel__button {
        padding: 10px 12px;
        font-size: 13px;
    }
    
    .custom-cart-actions-section .wc-block-cart__submit-button {
        padding: 10px 16px;
        font-size: 14px;
    }
}


@media (max-width: 320px) {
    .custom-cart-products-section .wc-block-cart-items__header-image {
        width: 60px !important;
    }
    
    .custom-cart-products-section .wc-block-cart-item__image {
        width: 60px !important;
    }
    
    .custom-cart-products-section .wc-block-cart-item__image img {
        max-width: 45px !important;
    }
    
    .custom-cart-products-section .wc-block-components-product-name {
        font-size: 12px;
    }
    
    .custom-cart-products-section .wc-block-components-product-price__value {
        font-size: 12px;
    }
    
    .custom-cart-products-section .wc-block-cart-item__total .wc-block-components-product-price__value {
        font-size: 14px;
    }
}

.book-title-js {
    display: -webkit-box;
    -webkit-line-clamp: 2; 
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: all 0.3s ease;
}

.book-card:hover .book-title-js,
.book-card.active .book-title-js {
    -webkit-line-clamp: unset;
    overflow: visible;
}

.book-genres {
    display: -webkit-box;
    -webkit-line-clamp: 1;  
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: all 0.3s ease;
}

.book-card:hover .book-genres, 
.book-card.active .book-genres {
    -webkit-line-clamp: unset;
    overflow: visible;
}

.book-categories{
  display: -webkit-box;
    -webkit-line-clamp: 1;  
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: all 0.3s ease;
}

.book-card:hover .book-categories, 
.book-card.active .book-categories {
    -webkit-line-clamp: unset;
    overflow: visible;
}


/*/////////////////////// COMING SOON ///////////////// */

.coming-soon{
  font-family: var(--font-primary);
            background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            position: relative;
}


 .background-animation {
            position: absolute;
            width: 100%;
            height: 100%;
            overflow: hidden;
            z-index: 0;
        }

        .circle {
            position: absolute;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.1);
            animation: float 20s infinite ease-in-out;
        }

        .circle:nth-child(1) {
            width: 300px;
            height: 300px;
            top: 10%;
            left: 10%;
            animation-delay: 0s;
        }

        .circle:nth-child(2) {
            width: 200px;
            height: 200px;
            top: 60%;
            right: 15%;
            animation-delay: 3s;
        }

        .circle:nth-child(3) {
            width: 150px;
            height: 150px;
            bottom: 20%;
            left: 20%;
            animation-delay: 6s;
        }

        @keyframes float {
            0%, 100% {
                transform: translateY(0) translateX(0);
            }
            33% {
                transform: translateY(-30px) translateX(20px);
            }
            66% {
                transform: translateY(20px) translateX(-20px);
            }
        }

        .coming-soon-container {
            position: relative;
            z-index: 1;
            text-align: center;
            padding: 40px 20px;
            max-width: 700px;
            width: 90%;
        }

        .coming-soon-logo {
            width: 150px;
            height: 150px;
            margin: 0 auto 30px;
            background: var(--bg-white);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: var(--shadow-md);
            animation: pulse 2s infinite;
            padding: 3rem;
        }

        

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

        .coming-soon-title {
            font-family: var(--font-heading);
            font-size: 4rem;
            color: var(--bg-white);
            margin-bottom: 20px;
            text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
            animation: fadeInDown 1s ease-out;
            letter-spacing: 2px;
        }

        .coming-soon-subtitle {
            font-family: var(--font-secondary);
            font-size: 1.5rem;
            color: var(--bg-light);
            margin-bottom: 40px;
            animation: fadeInUp 1s ease-out 0.3s backwards;
            font-style: italic;
        }

        .coming-soon-logo img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}
        

        .coming-soon + .site-footer {
    margin-top: 0 !important;
}

        @keyframes fadeInDown {
            from {
                opacity: 0;
                transform: translateY(-30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

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

        @media (max-width: 768px) {
            .coming-soon-title {
                font-size: 2.5rem;
            }

            .coming-soon-subtitle {
                font-size: 1.1rem;
            }

            .coming-soon-logo {
                width: 100px;
                height: 100px;
                padding: 2rem;
            }

            .coming-soon-logo-text {
                font-size: 40px;
            }

            .coming-soon + .site-footer {
    margin-top: 0 !important;
}

        }


.book-info-container #wc-stripe-express-checkout-element{
  display: none !important;
}

.wc-block-cart__payment-options{
  display: none !important;
}


/* Checkout Container */
.checkout-container {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 50% levo, 50% desno */
    gap: 2rem;
}

@media (max-width: 768px) {
    .checkout-container {
        grid-template-columns: 1fr; /* Na mobilnom stack-uj */
    }
}

/* Checkout Left (Billing/Shipping) */
.checkout-left {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Checkout Right (Order Summary + Payment) */
.checkout-right {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}


@media (min-width: 769px) {
    .checkout-right {
        position: sticky;
        top: 2rem;
        align-self: flex-start;
    }
}

/* Checkout Box  */
.checkout-box {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 1.5rem;
}

/* Box Title */
.checkout-box-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 0.75rem;
}

/* Payment Box - Payment methods list styling */
.checkout-payment-box .wc_payment_methods {
    list-style: none;
    padding: 0;
}

.checkout-payment-box .payment_method {
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 1rem;
    margin-bottom: 0.75rem;
}

.checkout-payment-box .payment_method:hover {
    border-color: #0073aa;
}

/* Terms and Conditions Wrapper */
.woocommerce-terms-and-conditions-wrapper {
    margin: 1.5rem 0;
    padding: 1rem;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 6px;
}

/* Terms Checkbox */
.woocommerce-terms-and-conditions-wrapper .form-row {
    margin: 0;
}

.woocommerce-terms-and-conditions-wrapper label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    margin: 0;
    font-size: 0.95rem;
}

.woocommerce-terms-and-conditions-wrapper input[type="checkbox"] {
    margin-top: 0.25rem;
    width: 20px;
    height: 20px;
    cursor: pointer;
    flex-shrink: 0;
    accent-color: #0073aa;
}

.woocommerce-terms-and-conditions-checkbox-text a {
    color: #0073aa;
    text-decoration: underline;
}

.woocommerce-terms-and-conditions-checkbox-text a:hover {
    color: #005177;
}

.woocommerce-terms-and-conditions-wrapper .required {
    color: #e74c3c;
    font-weight: bold;
}

/* Place Order Button */
.place-order {
    margin-top: 1rem;
}

#place_order {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    background: #0073aa;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease;
}

#place_order:hover {
    background: #005177;
}

/* CHECKOUT PAAAAAAAAAAAAAAAAAAAAAAAAAAAGE */

body.page-id-2894 .wc-block-checkout__form {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
}

body.page-id-2894 .entry-content {
    padding: 60px;
    max-width: 90%;
    background: #fff;
    display: block;
    margin: 0 auto;
}

body.page-id-2894 .entry-title:before {
    visibility: visible;
    position: absolute;
    top: 40px;
    left: 20px;
    content: "Checkout";
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
    font-size: 50px;
}

body.page-id-2894 .wp-block-woocommerce-checkout {
    max-width: 1400px;
    margin: 3rem auto;
    padding: 0 2rem;
}


body.page-id-2894.storefront-full-width-content .site-main {
    width: 100%;
}
.storefront-align-wide.storefront-full-width-content .hentry .entry-content .alignwide {
       
        max-width: 1000% !important;
        padding-left: 1.41575em;
        padding-right: 1.41575em;
        clear: both;
    }


    body.page-id-2894 {
    font-size: 14px; 
}


body.page-id-2894 .wc-block-checkout__form h2 {
    font-size: 1.75rem; 
}

body.page-id-2894 input,
body.page-id-2894 select,
body.page-id-2894 textarea {
    font-size: 1rem; 
}

body.page-id-2894 label {
    font-size: 1.35rem; 
}

body.page-id-2894 .wc-block-components-checkout-place-order-button {
    font-size: 1.265rem; 
}

body.page-id-2894 .wc-block-components-order-summary-item__name {
    font-size: 1.3rem;
}

body.page-id-2894 .wc-block-components-totals-footer-item {
    font-size: 1.3rem; 
}

body.page-id-2894 .wc-block-components-order-summary-item__image {
    width: 150px; 
    height: 230px;
    flex-shrink: 0; 
    position: relative;
    object-fit: contain;
}

body.page-id-2894 .wc-block-components-order-summary-item__image img {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
}

/* Quantity badge */
body.page-id-2894 .wc-block-components-order-summary-item__quantity {
    display: none !important;
}


body.page-id-2894 .wc-block-components-order-summary-item {
    display: flex;
    gap: 1.25rem; 
    padding: 1.25rem 0;
    border-bottom: 1px solid #f3f4f6;
    align-items: flex-start; 
}


body.page-id-2894 .wc-block-components-order-summary-item__description {
    flex: 1; 
    min-width: 0; 
}


body.page-id-2894 .wc-block-components-product-name {
    font-size: 1.05rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 0.5rem 0;
    line-height: 1.4;
}

body.page-id-2894 .wc-block-components-order-summary-item__individual-prices {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: #3b82f6;
}


body.page-id-2894 .wc-block-components-product-metadata__description p {
    font-size: 0.9rem;
    color: #6b7280;
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


body.page-id-2894 .wc-block-components-order-summary-item__total-price {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1f2937;
    margin-left: auto;
    flex-shrink: 0;
    align-self: flex-start;
}

 .wc-block-components-button:not(.is-link) {
  background-color: var(--primary-color);
  transition: all 0.3s;
  font-size: 1.5rem !important;
  border-radius: 8px;
 }
 
 .wc-block-components-button:not(.is-link):hover{
  background-color: var(--secondary-color);
 } 

 .post-edit-link{
  display: none;
 }

 body.page-id-2894 .wc-block-components-order-summary-item__image img {
    aspect-ratio: 2 / 3; 
    
}

.wc-block-components-product-metadata__description{
  display: none !important;
}


/* ===================================
   RESPONSIVE - MOBILE
   =================================== */

@media (max-width: 768px) {
    
    body.page-id-2894 .wc-block-components-order-summary-item__image {
        width: 70px;
        height: 70px;
    }
    
    body.page-id-2894 .wc-block-components-order-summary-item {
        gap: 1rem;
    }
    
    body.page-id-2894 .wc-block-components-product-name {
        font-size: 0.95rem;
    }
    
    body.page-id-2894 .wc-block-components-product-metadata__description {
        display: none; 
    }
}

@media (max-width: 1280px) {
  body.page-id-2894 .entry-content {
    padding: 0;
    background: #fff;
    display: block;
    margin: 0 auto;
}
  .wc-block-components-sidebar {
    box-sizing: border-box;
    padding-left: 2.2641509434%;
    width: 55%;
}
  body.page-id-2894 .wc-block-components-order-summary-item__image {
    width: 120px; 
    height: 200px;
    flex-shrink: 0; 
    position: relative;
    object-fit: contain;
}

.wc-block-components-order-summary .wc-block-components-order-summary-item__description{
  padding-left: 0;
  padding-right: 0;
  font-size: 6px;
}
}



@media (max-width: 992px) {
    
    .wc-block-checkout__main {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
   
    body.page-id-2894 .entry-content {
        padding: 40px 30px;
        max-width: 95%;
    }
    
   
    body.page-id-2894 .wp-block-woocommerce-checkout {
        padding: 0 1.5rem;
        margin: 2rem auto;
    }
    
   
    body.page-id-2894 .wc-block-checkout__form {
        padding: 1.5rem;
    }
    
    
    .wc-block-components-order-summary {
        position: static;
    }
    
    
    body.page-id-2894 .wc-block-components-order-summary-item__image {
        width: 100px;
        height: 150px;
    }

    
    
    /* Font size */
    body.page-id-2894 {
        font-size: 13px;
    }

   
    
    body.page-id-2894 label {
        font-size: 1.2rem;
    }
    
    body.page-id-2894 .wc-block-checkout__form h2 {
        font-size: 1.5rem;
    }

    .wc-block-checkout__payment-method .wc-block-components-radio-control-accordion-option .wc-block-components-radio-control__label {
    margin-left: 10px;
}
}


@media (max-width: 768px) {
    
    body.page-id-2894 .entry-content {
        padding: 30px 20px;
        max-width: 100%;
    }

    body.page-id-2894 .entry-title:before {
      font-size: 32px;  }
    
    /* Checkout wrapper */
    body.page-id-2894 .wp-block-woocommerce-checkout {
        padding: 0 1rem;
        margin: 1.5rem auto;
    }
    
    /* Form box */
    body.page-id-2894 .wc-block-checkout__form {
        padding: 1.25rem;
        border-radius: 8px;
    }
    
    /* Order Summary */
    .wc-block-components-order-summary {
        padding: 1.25rem;
        border-radius: 8px;
    }
    
    /* Slika proizvoda - manja */
    body.page-id-2894 .wc-block-components-order-summary-item__image {
        width: 80px;
        height: 120px;
    }
    
    /* Order item gap */
    body.page-id-2894 .wc-block-components-order-summary-item {
        gap: 1rem;
        padding: 1rem 0;
    }
    
    /* Font sizes */
    body.page-id-2894 {
        font-size: 12px;
    }
    
    body.page-id-2894 label {
        font-size: 1.15rem;
    }
    
    body.page-id-2894 .wc-block-checkout__form h2 {
        font-size: 1.35rem;
    }
    
    body.page-id-2894 .wc-block-components-order-summary-item__name {
        font-size: 1.1rem;
    }
    
    body.page-id-2894 .wc-block-components-totals-footer-item {
        font-size: 1.2rem;
    }
    
    /* Place Order button */
    body.page-id-2894 .wc-block-components-checkout-place-order-button {
        font-size: 1.1rem;
        padding: 1rem 1.5rem;
    }
    
    .wc-block-components-button:not(.is-link) {
        font-size: 1.2rem !important;
    }
    
    /* Entry title */
    body.page-id-2894 .entry-title:before {
        top: 30px;
        left: 15px;
        font-size: 34px;
    }
    
    
    body.page-id-2894 .wc-block-components-product-metadata__description {
        display: none;
    }
}


@media (max-width: 480px) {
    /* Entry content */
    body.page-id-2894 .entry-content {
        padding: 20px 15px;
    }
    
    /* Checkout wrapper */
    body.page-id-2894 .wp-block-woocommerce-checkout {
        padding: 0 0.75rem;
        margin: 1rem auto;
    }
    
    /* Form box */
    body.page-id-2894 .wc-block-checkout__form {
        padding: 1rem;
        border-radius: 6px;
    }
    
    /* Order Summary */
    .wc-block-components-order-summary {
        padding: 1rem;
        border-radius: 6px;
    }
    
    /* Slika proizvoda - extra mala */
    body.page-id-2894 .wc-block-components-order-summary-item__image {
        width: 60px;
        height: 90px;
    }
    
    /* Order item */
    body.page-id-2894 .wc-block-components-order-summary-item {
        gap: 0.75rem;
        padding: 0.75rem 0;
    }
    
    /* Font sizes */
    body.page-id-2894 {
        font-size: 11px;
    }
    
    body.page-id-2894 label {
        font-size: 1.1rem;
    }
    
    body.page-id-2894 .wc-block-checkout__form h2 {
        font-size: 1.2rem;
    }
    
    body.page-id-2894 .wc-block-components-order-summary-item__name {
        font-size: 1rem;
        line-height: 1.3;
    }
    
    body.page-id-2894 .wc-block-components-totals-footer-item {
        font-size: 1.1rem;
    }
    
    body.page-id-2894 .wc-block-components-order-summary-item__total-price {
        font-size: 1rem;
    }
    
    /* Place Order button */
    body.page-id-2894 .wc-block-components-checkout-place-order-button {
        font-size: 1rem;
        padding: 0.875rem 1.25rem;
    }
    
    .wc-block-components-button:not(.is-link) {
        font-size: 1.1rem !important;
    }
    
    /* Entry title */
    body.page-id-2894 .entry-title:before {
        top: 40px;
        left: 10px;
        font-size: 28px;
    }
    
    /* Input fields */
    body.page-id-2894 input,
    body.page-id-2894 select,
    body.page-id-2894 textarea {
        font-size: 0.95rem;
        padding: 0.75rem;
    }
    
    /* Payment methods */
    .wc-block-components-radio-control-accordion-option {
        padding: 0.875rem;
    }
}


@media (max-width: 360px) {
    body.page-id-2894 .entry-content {
        padding: 15px 10px;
    }
    
    body.page-id-2894 .wc-block-checkout__form,
    .wc-block-components-order-summary {
        padding: 0.75rem;
    }
    
    body.page-id-2894 .wc-block-components-order-summary-item__image {
        width: 50px;
        height: 75px;
    }
    
    body.page-id-2894 {
        font-size: 10px;
    }
    
    body.page-id-2894 label {
        font-size: 1rem;
    }
}


@media (max-width: 768px) and (orientation: landscape) {
    body.page-id-2894 .entry-content {
        padding: 20px;
    }
    
    body.page-id-2894 .wc-block-checkout__form,
    .wc-block-components-order-summary {
        padding: 1rem;
    }
    
    
    .wc-block-checkout__main {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
}

