@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;700&display=swap');

html,
body {
  font-family: 'Poppins', sans-serif;
}


.hero-section img {
  width: 100%;
  height: 303px;
}

.page-link {
  width: 32px;
  height: 32px;
  padding: 0;
  line-height: 30px;
  text-align: center;
  font-weight: 500;
}

.page-item {
  color: #babdc0;
}

.page-item:last-child .page-link {
  line-height: 25px;
  font-size: 25px;
}

.page-item:first-child .page-link {
  line-height: 25px;
  font-size: 25px;
}

.page-item:not(:last-child) {
  margin-right: 5px;
}

.pagination-list {
  gap: 12px;
}

.kitablar-sehifesi-title h1 {
  font-size: 24px;
  font-style: normal;
  font-weight: 800;
  line-height: 32px;
}

.kitablar-sehifesi-wrapper .breadcrumb {
  margin: 0px;
}

.kitablar-sehifesi-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 10px 36px 10px 14px;
  font-size: 16px;
  color: #555;
  width: 180px;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 140 140' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='30,50 70,90 110,50' fill='none' stroke='%23666' stroke-width='15' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 14px;
  cursor: pointer;
}

.kitablar-sehifesi-select:focus {
  outline: none;
  border-color: #bbb;
}

.single-price-tag {
  color: #055b78;
  font-size: 23px;
  font-style: normal;
  font-weight: 600;
  line-height: 40px;
}

.single-off-price-tag {
  color: #fd513d;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
  text-decoration-line: line-through;
}

button.btn.btn-light.subscribe-btn {
  border-radius: 8px;
  min-width: 110px;
}

button.btn.btn-light.subscribe-btn:hover {
  background-color: #fde298 !important;
}

.left-catagory-yazaiar,
.left-catagory-yazaiar-icon {
  color: #383a3c;
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 1;
  /* keep it tight for vertical alignment */
  display: inline-flex;
  align-items: center;
}

.left-catagory-yazaiar-icon {
  position: relative;
  top: 1px;
  /* adjust as needed */
}

.menu-btn {
  background-color: white;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 12px;
  font-size: 14px;
  font-weight: 400;
  color: #333;
  transition: all 0.3s ease;
  text-align: center;
  text-decoration: none;
}

.menu-btn.active,
.menu-btn:hover {
  background-color: #ffe08a;
  color: #222;
  text-align: center;
  text-decoration: none;
}

.sticky-menu {
  position: sticky;
  /* keeps it within its container */
  top: 20px;
  /* distance from top when stuck */
  z-index: 100;
  /* keep it above other content */
}


.thumbnail-carousel-wrapper {
  max-width: 502px;
  margin-left: 0;
  margin-right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  gap: 10px;
}

.thumbnail-carousel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 12px;
}

.thumbs-wrapper {
  display: flex;
  overflow: hidden;
  gap: 16px;
  width: 412px;
  /* 2 thumbnails of 206px + 2x8px gap */
}

.thumbnail-carousel-wrapper .thumb-img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.thumb-img:hover {
  transform: scale(1.02);
}

.carousel-arrow {
  width: 30px;
  height: 30px;
  border: 2px solid #333;
  border-radius: 50%;
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.carousel-arrow i {
  font-size: 18px;
  color: #333;
}

.carousel-arrow:hover {
  background-color: #333;
}

.carousel-arrow:hover i {
  color: #fff;
}

.quantity-rounded {
  border: 1px solid #eee;
  border-radius: 999px;
  padding: 4px 12px;
  background: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.qty-btn {
  background: transparent;
  border: none;
  font-size: 18px;
  color: #333;
  font-weight: 500;
  padding: 0 6px;
  line-height: 1;
}

.qty-input {
  width: 30px;
  border: none;
  text-align: center;
  font-size: 17px;
  font-weight: 500;
  background: transparent;
  color: #333;
  outline: none;
  padding: 0;
}

.add-cart-btn,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt {
  border: 1px solid #ffe8b3;
  border-radius: 999px;
  background-color: white;
  color: #333;
  padding: 10px 20px;
  font-weight: 500;
  font-size: 15px;
  width: 100%;
}

.add-cart-btn:hover {
  background-color: #ffe8b3;
}

.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt:hover {
  background-color: #ffe8b3;
  color: #333;
}

.heart-btn {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.main-preview-img {
  width: 392px;

  object-fit: cover;
}

@media (max-width: 991.98px) {
  .main-preview-img {
    width: 280px;
    height: 315px;
  }
}

.accordion-button:focus {
  box-shadow: none !important;
  outline: none !important;
}

.accordion-button::after {
  display: none !important;
}

.icon-toggle {
  font-size: 20px;
  transition: transform 0.2s ease;
}

.btn-outline-warning {
  border-color: #fbbf24;
  color: #000;
  font-size: 14px;
}

.btn-outline-warning:hover {
  background-color: #fbbf24;
  color: #fff;
}

.text-dark {
  color: #333 !important;
}

.border-bottom {
  border-color: #eee !important;
}

.heart-icon-wrapper {
  width: 33px;
  height: 33px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #333;
  border: 1px solid rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all 0.3s ease;
  padding-top: 0px;
}

.heart-icon-wrapper:hover {
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

.sesli-kitab-heart-icon-wrapper {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #333;
  border: 1px solid rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all 0.3s ease;
  padding-top: 0px;
}

.sesli-kitab-heart-icon-wrapper:hover {
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}



/* Yazaiar Html Page */

.hero-background-wrapper {
  position: relative;
  height: 334px;
  overflow: visible;
  /* ↑ allow the overlay to bleed outside */
}

.hero-background-wrapper .hero-background-img {
  height: 305px;
}

/* 2) Overlay that straddles hero + white bar */
.author-overlay {
  position: absolute;
  bottom: -75px;
  left: calc(var(--bs-gutter-x, 1.5rem) * .5);
  display: flex;
  align-items: end;
  z-index: 2;
  padding-bottom: 30px;
}

.author-img-wrapper {
  width: 152px;
  height: 152px;
  flex-shrink: 0;
  margin-right: 20px;
}

.author-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  background: #eee;
  border: 3px solid #fff;
}

.author-name {
  color: #383A3C;
  font-size: 35px;
  line-height: 48px;
  margin: 0;
}



@media (max-width: 991.98px) {
  .author-overlay {
    bottom: -90px;
    left: calc(var(--bs-gutter-x, 1.5rem) * .5);
  }

  .author-name {
    font-size: 25px;
    line-height: 38px;
  }

  .author-bio {
    padding: 0px !important;
  }
}


/* 3) The full-width white bar */
.author-info-section {
  background: #fff;
  width: 100%;
  padding-top: 76px;
  /* room for bottom half of avatar */
  padding-bottom: 40px;
}

/* 4) Tabs */
.author-tabs-wrapper {
  border-bottom: 2px solid #DCDEDF;
  margin-bottom: 20px;
}

.author-tabs .nav-link {
  font-size: 16px;
  font-weight: 500;
  color: #ccc;
  padding: 8px 20px;
}

.author-tabs .nav-link.active {
  color: #383A3C;
  border-bottom: 2px solid #383A3C;
}

/* 5) Optional: bio text styling */
.author-bio {
  color: #383A3C;
  font-size: 16px;
  line-height: 1.6;
  margin-top: 20px;
  padding: 0 145px;
}

.author-tabs-wrapper .nav {
  gap: 40px;
}

.author-tabs-wrapper .nav .nav-link {
  text-align: center;
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 32px;
  /* 133.333% */
}



/* Favorite Empty */
.close-icon-wrapper {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 27px;
  color: #333;
  border: 1px solid rgba(0, 0, 0, 0.1);
}


.favorite-heart-icon-wrapper {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 18px;
  color: #333;
  border: 1px solid rgba(0, 0, 0, 0.1);
}



.playlistim-title {
  color: #000;
  font-size: 24px;
  font-style: normal;
  font-weight: 300;
  line-height: 32px;
}


.tadbirler-border {
  border-bottom: 1px solid #ccc;
}



/* tadbirler Page Styling */


.page-social-icons a {
  color: #333;
  opacity: .85;
  transition: opacity .2s, transform .2s;
}

.page-social-icons a:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.poster-wrap {
  position: relative;
}

.poster-img {
  display: block;
  width: 100%;
  height: auto;
}

/* optional: match the airy spacing from your screenshot */
.article {
  line-height: 1.8;
  font-size: 1rem;
}

@media (min-width: 992px) {
  .article {
    font-size: 1.05rem;
  }
}

/* Maintain aspect ratio for gallery images */
.festival-gallery img {
  display: block;
  background-color: #f8f9fa;
}

.object-fit-cover {
  object-fit: cover;
}

/* Ensure stacked right images are equal height on desktop */
@media (min-width: 992px) {
  .festival-gallery .col-lg-4 img {
    height: calc(50% - 0.5rem);
  }
}



/* Sasli Kitab Profile */



/* Theme tweaks to match the 2nd image */
.book-v2 {
  --divider: #E5E7EB;
  --muted: #6B7280;
  --link: #2B9AC2;
  /* link blue/teal */
  --pill: #F2E8C9;
  /* light gold outline */
}

.book-v2 .cover-wrap {
  position: relative;
  width: 280px;
  max-width: 100%;
}

@media (max-width: 991.98px) {

  .book-v2 .cover-wrap {
    width: auto;

  }


}


.book-v2 .cover {
  width: 100%;
  object-fit: cover;
}

.book-v2 .heart {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #E6E6E6;
}

.book-v2 .title {
  font-weight: 700;
  letter-spacing: .2px;
  margin-bottom: .25rem;
}

.book-v2 .author {
  color: var(--muted);
}

.book-v2 .divider {
  height: 1px;
  background: var(--divider);
  margin: .9rem 0 1.1rem;
}

.book-v2 .meta .label {
  font-weight: 500;
  margin-bottom: .25rem;
  font-size: 18px;
}

.book-v2 .meta a {
  color: #2D8BAB;
  text-decoration: none;
}

.book-v2 .meta a:hover {
  text-decoration: underline;
}


.book-v2 .desc {
  color: #333;
}

.book-v2 .btn-pill {
  border-radius: 999px;
  border: 1.5px solid var(--pill);
  background: #fff;
  padding: .7rem 1.6rem;
  font-weight: 500;
}

.book-v2 .btn-pill:hover {
  background: #ffe08a;
  border-color: #E9DCB1;
}


.track-list {
  background: #F7F7F7;
  /* light panel bg like your shot */
  padding: .25rem;
}

.track-item {
  display: grid;
  grid-template-columns: 1fr auto auto;
  /* title | time | heart */
  gap: 1rem;
  align-items: center;
  padding: .9rem 1rem;
  border-radius: 10px;
}

.track-item+.track-item {
  margin-top: .25rem;
}

.track-item:hover {
  background: #F0F0F0;
}

.track-title {
  color: #111827;
  font-size: 0.98rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.track-title .author {
  font-weight: 700;
  /* bold "L. N. Tolstoy" like your design */
}

.track-time {
  color: #9CA3AF;
  /* muted grey */
  font-weight: 600;
  font-size: .95rem;
  min-width: 56px;
  text-align: right;
  padding-right: 90px;
}

.track-like {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: transparent;
  border: 1px solid rgba(0, 0, 0, .08);
  color: #8A8A8A;
}

.track-like:hover {
  background: #ffffff;
  border-color: rgba(0, 0, 0, .15);
}

/* Responsive tweak: on small screens stack time under title */
@media (max-width: 576px) {
  .track-item {
    grid-template-columns: 1fr auto;
    /* title/time | heart */
    grid-template-areas:
      "title heart"
      "time  heart";
    row-gap: .25rem;
  }

  .track-title {
    grid-area: title;
  }

  .track-time {
    grid-area: time;
    text-align: left;
  }
}

.card-body {
  height: 70px;
}

.card-footer {
  height: 50px;
}

.image-wrapper {
  position: relative;
  overflow: hidden;
}

.music-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
}

.image-wrapper:hover .music-overlay {
  opacity: 1;
  visibility: visible;
}

/* .yazaiar-image{
    height:488px;
  } */
.yith-add-to-wishlist-button-block {
  margin: 0px 10px 0px auto;
}

.yith-wcwl-add-to-wishlist .yith-wcwl-add-button span,
.yith-wcwl-wishlistaddedbrowse span,
.yith-wcwl-wishlistexistsbrowse span,
.yith-wcwl-add-to-wishlist-button span,
.yith-add-to-wishlist-button-block span {
  display: none !important;
}

.yith-wcwl-add-to-wishlist-button.yith-wcwl-add-to-wishlist-button--anchor svg.yith-wcwl-icon-svg {
  width: 27px;
}

.audiobook-heart-icon .yith-add-to-wishlist-button-block {
  margin: 0px;
}

.audiobook-heart-icon .yith-add-to-wishlist-button-block .yith-wcwl-add-to-wishlist-button.yith-wcwl-add-to-wishlist-button--anchor svg.yith-wcwl-icon-svg {
  width: 23px;
}

.audio-single-heart .yith-add-to-wishlist-button-block.yith-add-to-wishlist-button-block--single {
  position: absolute;
}

/* WooCommerce Star Rating Premium Styles */
.woocommerce .star-rating {
  float: none;
  margin: 0 0 0.5em;
  color: #ffc107 !important;
  /* Gold color */
  font-size: 1em;
  width: 5.4em;
  display: inline-block;
}

.woocommerce .star-rating::before {
  color: #ffd866 !important;
  /* Lighter gold for empty stars */
  opacity: 0.5;
}

.woocommerce .star-rating span::before {
  color: #ffc107 !important;
}

.bestseller-price {
  color: #055b78;
  font-size: 1.1rem;
}

.ajax_add_to_cart.added::after {
  display: none !important;
}

.woocommerce-ordering {
  margin: 0 !important;
}

/* Header Wishlist Section */
.header-wishlist-link {
  text-decoration: none;
  display: inline-block;
}

.header-wishlist-link .icon-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-wishlist-link i.bi-heart {
  font-size: 20px;
  /* Slightly larger icon */
  color: #333;
  transition: color 0.3s ease, transform 0.2s ease;
}

.header-wishlist-link:hover i.bi-heart {
  color: #fbbf24;
  /* Theme accent color on hover */
  transform: scale(1.1);
}

.wishlist-badge {
  position: absolute;
  top: -8px;
  right: -10px;
  background-color: #ff3b30;
  /* Bright red for visibility */
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  border: 2px solid #fff;
  /* White border to separate from background */
  z-index: 10;
}

.header-icon-wrapper {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.header-icon-wrapper:hover {
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

.header-icon-wrapper i {
  font-size: 18px !important;
  color: #333;
  line-height: 1;
}

/* Adjust badges when inside the wrapper */
.header-icon-wrapper .cart-count,
.header-icon-wrapper .wishlist-badge {
  top: -5px;
  right: -5px;
  margin: 0;
}
