::selection {
  color: #fff;
  background: #000;
}

::-moz-selection {
  color: #fff;
  background: #000;
}

::-webkit-selection {
  color: #fff;
  background: #000;
}

a:hover,
a:focus,
a.link {
  color: #000;
}

.search-full,
.search-input {
  background: #666;
}

.search-close {
  color: #fff;
}

.open .dropdown-toggle.btn-primary,
.open > .dropdown-toggle.btn-primary:focus,
.open > .dropdown-toggle.btn-primary:hover,
.open > .dropdown-toggle.btn-primary.focus,
.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:hover,
.pagination > .active > span:hover,
.pagination > .active > a:focus,
.pagination > .active > span:focus {
  background-color: #448e6f;
  color: #fff;
}

.navbar-top {
  background: #000;
}

.navbar-km {
  background: #ffffff;
  box-shadow: 0 0 7px 2px rgba(128, 128, 128, 0.2);
}

.btn-discover:hover {
  display: flex !important;
  align-items: center;
}

.btn-site:hover {
  position: relative;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
}

.news-letter-box .btn:hover {
  background: #3a3a3a;
}

.full {
  width: 100%;
}

.footer a:hover {
  color: #000;
}

.footer {
  /*border-top: solid 3px #ffffff;*/
}

.modal-header {
  background: #ffffff;
}

.form-control:focus {
  border-color: #000;
}

#pager a.cycle-pager-active {
  background: rgba(52, 73, 94, 0.5);
}

/* tree menu */

.nav.tree > li.active,
.nav.tree > li > a:hover,
.nav.tree > li > a:focus,
.nav.tree > li:hover > a {
  background: none;
  color: #000;
}

.nav.tree .open-tree > a,
.nav.tree .open-tree > a:hover,
.nav.tree .open-tree > a:focus {
  background: none;
  font-weight: bold;
  color: #000;
}

.nav-tabs > li.active > a,
.nav-tabs > li.active > a:hover,
.nav-tabs > li.active > a:focus,
.nav-tabs > li:hover > a {
  background: transparent;
  color: #000;
}

.nav-tabs {
  border-bottom: none;
}

.pgroup-tab .nav-tabs > li.active > a,
.pgroup-tab .nav-tabs > li.active > a:hover,
.pgroup-tab .nav-tabs > li.active > a:focus,
.pgroup-tab .nav-tabs > li.hover > a {
  color: #000;
}

.socialIcon a:hover {
  background: #ffffff;
}

.cart-actions button,
.cart-actions .wishlist {
  background: none repeat scroll 0 0 #ffffff;
  border: 2px solid #000;
  color: #000 !important;
}

.cart-actions button:hover {
  background: #000;
  color: #fff !important;
  border: solid 2px #000;
}

.sp-thumbs a:hover,
.sp-thumbs a:active,
.sp-current,
sp-current:visited {
  border: 2px solid #ffffff !important;
}

.promo-1 {
  background: none repeat scroll 0 0 #000;
}

#pager2 span.cycle-pager-active {
}

#pager2 span.cycle-pager-active {
  background: #000 !important;
}

#pager2 span {
  border: 2px solid #000;
}

darkcoilor {
  background: #2c88c5;
}

citecolor {
  color: #ffffff !important;
}

.cart-menu a.dropdown-toggle,
.cart-menu a#cart-sidebar-toggle,
.btn-nobg,
.navbar-toggle i {
  color: #000 !important;
}

.navbar-toggle .icon-bar {
  border-color: #000;
}

@media screen and (max-width: 767px) {
  .megamenu-content ul li a,
  .megamenu-content ul li p,
  .megamenu-content ul li,
  .navbar-nav .dropdown a,
  .navbar-nav .dropdown {
    color: #000;
  }
}

.navbar-nav .open > a,
.navbar-nav .open > a:hover,
.navbar-nav .open > a:focus,
.cart-menu:hover > a.dropdown-toggle {
  background: none;
  color: #000;
}

.navbar-toggle {
  background: #fff;
}

/* --- WhatsApp / Geri bildirim butonu --- */
@keyframes glow-pulse {
  0% {
    box-shadow: 0 6px 18px rgba(11, 48, 172, 0.3);
  }

  50% {
    box-shadow: 0 10px 25px rgba(11, 48, 172, 0.5);
  }

  100% {
    box-shadow: 0 6px 18px rgba(11, 48, 172, 0.3);
  }
}

@keyframes opencartPulse {
  0% {
    transform: scale(0.95);
    opacity: 1;
  }

  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}

.feedback-container {
  position: fixed;
  bottom: 15px;
  right: 15px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  width: 40px;
  height: 40px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0;
  overflow: visible;
  cursor: pointer;
  border: none;
  z-index: 9999;
  transition:
    width 0.4s cubic-bezier(0.25, 1, 0.5, 1),
    transform 0.3s ease;
  animation: glow-pulse 3s infinite ease-in-out;
}

.feedback-container .inner-circle {
  position: relative;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow:
    inset 0 2px 4px rgba(255, 255, 255, 0.6),
    inset 0 -2px 4px rgba(0, 0, 0, 0.2),
    2px 0 8px rgba(0, 0, 0, 0.15);
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  z-index: 2;
}

.feedback-container .inner-circle::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #25d366;
  border-radius: 50%;
  z-index: -1;
  animation: opencartPulse 2s infinite ease-out;
}

.feedback-container .inner-circle i {
  font-size: 2.5rem;
  color: #ffffff;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.15));
}

.feedback-container .text-label {
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.1px;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(12px);
  transition:
    opacity 0.2s ease,
    transform 0.3s ease;
  margin-left: 10px;
  margin-right: 16px;
}

.feedback-container:hover {
  width: 120px;
  transform: translateY(-2px);
}

.feedback-container:hover .text-label {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0.08s;
}

.feedback-container:hover .inner-circle {
  transform: scale(0.92) rotate(360deg);
}

.feedback-container:hover .inner-circle::before {
  animation: none;
  opacity: 0;
}

.feedback-container:active {
  transform: translateY(-1px) scale(0.98);
}

/* --- Footer başlıkları --- */
.footer-heading {
  text-decoration: underline;
}

/* --- Etiketler / rozetler --- */
.label-light {
  display: inline-block;
  padding: 0.2em 0.6em;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  background-color: #fff3f2;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 0.25em;
}

.owl-dot {
  border: none !important;
  outline: none !important;
  background: transparent;
  box-shadow: none !important;
  padding: 0;
}

/* --- Canlı arama kutusu --- */
.live-search::-webkit-scrollbar {
  width: 8px;
}

.live-search::-webkit-scrollbar-thumb {
  background-color: #888;
  border-radius: 5px;
}

.live-search::-webkit-scrollbar-thumb:hover {
  background-color: #555;
}

/* --- Yıldız / değerlendirme --- */
.star {
  font-size: 0.8em;
}

.star .fa-solid.filled {
  color: #000;
}

.star .fa-regular {
  color: #ccc;
}

.a-review .fa-stack {
  font-size: 0.6em;
  margin-right: 1px;
  line-height: 1;
}

.a-review .star.empty i {
  color: #ccc;
}

.a-review .star i {
  color: #000;
}

/* --- Form kontrolleri --- */
.form-control:focus {
  border-color: #007bff;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.form-control::placeholder {
  color: #adb5bd;
  opacity: 1;
}

.form-control {
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  transition: all 0.3s ease-in-out;
}

.form-group label {
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: block;
}

.btn-primary {
  background-color: #000;
  border-color: #000;
  font-size: 14px;
  line-height: 16px;
  padding: 10px 15px;
  min-width: 190px;
}

.btn-primary:hover {
  background-color: #606160;
  border-color: #606160;
}

.text-danger {
  color: #fc3434;
}

.btn-danger {
  color: #fff;
  background-color: #dc3545;
  border-color: #dc3545;
}

.btn-danger:hover {
  background-color: #c82333;
  border-color: #bd2130;
}

input[type="radio"] {
  transform: scale(1.5);
  margin: 5px;
}

.form-footer-spacer {
  min-height: 30vh;
}

@media (max-width: 768px) {
  .form-footer-spacer {
    min-height: 2vh;
  }
}

/* --- Kategori yolu (breadcrumb) --- */
.ctgry-path {
  margin: 15px 0;
  font-family: Arial, sans-serif;
}

.ctgry-path ul.breadcrumb {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  padding: 8px 12px;
  background: #f8f9fa;
  border-radius: 6px;
}

.ctgry-path ul.breadcrumb li {
  position: relative;
  margin-right: 10px;
}

.ctgry-path ul.breadcrumb li a {
  text-decoration: none;
  color: #007bff;
  font-size: 14px;
  transition: color 0.3s ease;
}

.ctgry-path ul.breadcrumb li a:hover {
  color: #0056b3;
}

.ctgry-path ul.breadcrumb li::after {
  content: "›";
  margin-left: 10px;
  color: #6c757d;
}

.ctgry-path ul.breadcrumb li:last-child::after {
  content: "";
}

.ctgry-path ul.breadcrumb li:last-child a {
  color: #6c757d;
  pointer-events: none;
  font-weight: bold;
}

/* --- Ürün kartı --- */
.item .product {
  height: 580px;
  display: flex;
  flex-direction: column;
  background: #fff;
  padding: 15px;
  border: 1px solid #eee;
  transition: all 0.3s ease;
  position: relative;
}

.image-hover {
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 15px;
}

.image-hover img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  width: auto;
  height: auto;
}

@media (max-width: 767px) {
  .item .product,
  .product .image-hover {
    height: auto !important;
  }

  .product .image-hover {
    padding: 8px 0 !important;
  }

  .image-hover {
    height: auto !important;
    min-height: 200px;
    padding: 8px 0;
  }

  .image-hover,
  .image-hover a {
    overflow: visible !important;
  }

  .image-hover img,
  .image-hover a img {
    width: 100%;
    max-width: 100%;
    max-height: none;
    height: auto;
    object-fit: contain;
  }
}

.description {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-name {
  height: 40px;
  overflow: hidden;
  margin-bottom: 5px;
  line-height: 20px;
}

.price,
.hover-box {
  margin-top: auto;
}

.item .product:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border-color: #ddd;
}

/* --- Ürün rozeti --- */
.prd .prd-info-badge {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: flex-end;
  pointer-events: none;
}

.prd .prd-info-badge .prd-black-icon {
  background-color: #272624;
  color: #fff;
  min-width: 65px;
  height: 32px;
  padding: 0 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  pointer-events: auto;
  border-radius: 0 20px 0 20px;
}

@media (max-width: 360px) {
  .prd .prd-info-badge .prd-black-icon {
    min-width: 55px;
    height: 28px;
    font-size: 10px;
    border-radius: 0 15px 0 15px;
  }
}

/* --- Bannerlar --- */
.banner-wrapper {
  width: 100%;
  margin: 20px auto;
  text-align: center;
}

.banner-wrapper img {
  object-fit: cover;
  border-radius: 8px;
}

/* --- Sepet sayacı --- */
.cart-menu {
  position: relative;
}

.cart-quantity {
  position: absolute;
  top: 0;
  background: #000;
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  border-radius: 50%;
  padding: 2px 6px;
}

:root {
  --primary-color: #111111;
  --accent-color: #ff6600;
  --success-color: #2e7d32;
  --bg-light: #f9f9f9;
  --border-color: #e5e5e5;
  --radius-lg: 12px;
  --radius-md: 8px;
  --radius-sm: 4px;
  --transition: all 0.3s ease;
}

.prd-container {
  margin-top: 20px;
}

/* STICKY MİMARİSİ İÇİN KRİTİK FLEX AYARLARI */
@media (min-width: 992px) {
  .row-flex-layout {
    display: flex !important;
    flex-wrap: wrap;
    align-items: stretch;
    /* Sütun yüksekliklerini "Yazarın Diğer Kitapları"na kadar eşitler */
  }

  .col-flex-full {
    width: 100%;
  }

  .main-left-column {
    flex: 0 0 54.166667%;
    max-width: 54.166667%;
    float: none !important;
  }

  .main-right-column {
    flex: 0 0 45.833333%;
    max-width: 45.833333%;
    position: relative;
    float: none !important;
  }

  /* Sağ panelin kendisi değil, içindeki kart yapışkan hale getirildi */
  .sticky-purchase-card {
    position: -webkit-sticky;
    position: sticky;
    top: 40px;
    /* Sitenizde yukarıda sabit menü varsa bu değeri 90px, 100px gibi artırabilirsiniz */
    z-index: 99;
  }
}

.main-image-wrapper,
.sticky-purchase-card,
.description-card {
  background: #fff;
  border: 1px solid var(--border-color);
  padding: 20px;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.main-image-wrapper,
.images,
.item {
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
}

.vertical-book-box {
  display: block;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 2500 / 3906;
  margin: 0 auto;
  position: relative;
}

.vertical-book-img {
  width: 100% !important;
  height: 100% !important;
  display: block;
  object-fit: contain !important;
}

.book-3d-view {
  width: 100%;
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  perspective: 1100px;
  overflow: hidden;
  background: radial-gradient(circle at center, #f7f7f7 0%, #fff 68%);
}

.book-3d {
  width: min(155px, 36%);
  aspect-ratio: 2500 / 3906;
  position: relative;
  transform-style: preserve-3d;
  transform: rotateX(5deg) rotateY(-28deg);
  animation: book-3d-turn 12s ease-in-out infinite;
}

.book-3d-cover {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 2px 6px 6px 2px;
  overflow: hidden;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.2);
}

.book-3d-cover img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.book-3d-front {
  transform: translateZ(11px);
}

.book-3d-back {
  transform: rotateY(180deg) translateZ(11px);
}

.book-3d-pages {
  position: absolute;
  top: 1%;
  right: -11px;
  width: 22px;
  height: 98%;
  transform: rotateY(90deg) translateZ(11px);
  transform-origin: left center;
  background: repeating-linear-gradient(
    to bottom,
    #fff 0,
    #fff 3px,
    #ddd 4px,
    #fff 5px
  );
  border-radius: 0 3px 3px 0;
}

.book-3d-spine {
  position: absolute;
  top: 0;
  left: -11px;
  width: 22px;
  height: 100%;
  transform: rotateY(90deg) translateZ(11px);
  transform-origin: right center;
  background: #202020;
}

.book-3d:hover {
  animation-play-state: paused;
}

@keyframes book-3d-turn {
  0%,
  18% {
    transform: rotateX(5deg) rotateY(-28deg);
  }
  42%,
  58% {
    transform: rotateX(5deg) rotateY(152deg);
  }
  82%,
  100% {
    transform: rotateX(5deg) rotateY(332deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .book-3d {
    animation: none;
  }
}

.pdf-action-zone {
  margin-top: 15px;
  text-align: center;
}

.pdf-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f7f2f2;
  color: #0b0b0b;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 13px;
  text-decoration: none !important;
  border: 1px solid #ffcdd2;
  transition: var(--transition);
}

.pdf-link-btn:hover {
  background: #060606;
  color: #fff;
}

.modal-3d-dialog {
  width: 600px;
  max-width: calc(100% - 20px);
  margin: auto;
}

.modal-3d-view {
  z-index: 1060;
}

.modal-3d-view.in {
  display: flex !important;
  align-items: center;
}

.modal-3d-dialog .modal-content {
  position: relative;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
}

.modal-3d-close {
  position: absolute;
  top: 4px;
  right: 10px;
  z-index: 20;
  font-size: 28px;
}

.modal-3d-body {
  height: 500px;
  padding: 0;
  background: #111;
}

.modal-3d-body > .book3d-root {
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

.modal-3d-loading,
.modal-3d-error {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: #fff;
  font-size: 15px;
}

@media (max-width: 767px) {
  .modal-3d-dialog {
    width: calc(100% - 20px);
    margin: auto;
  }

  .modal-3d-body {
    height: 70vh;
    min-height: 420px;
  }
}

/* Başlık ve Meta Bilgiler */
.main-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary-color);
  margin: 15px 0;
  line-height: 1.3;
}

.clean-label {
  background: transparent !important;
  color: var(--primary-color) !important;
  padding-bottom: 6px;
  font-size: 15px;
  font-weight: 800;
  border-bottom: 2px solid var(--primary-color);
  margin-bottom: 15px;
  letter-spacing: 0.5px;
}

.meta-item {
  display: flex;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px dashed var(--border-color);
  font-size: 14px;
}

.meta-item strong {
  min-width: 110px;
  color: #666;
  font-weight: 600;
}

.meta-item span,
.meta-item a {
  margin-left: 10px;
  color: var(--primary-color);
  font-weight: 700;
}

.meta-item a {
  text-decoration: none;
}

.meta-item a:hover {
  text-decoration: underline;
}

/* Butonlar ve Etkileşimler */
.top-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 12px;
}

.action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--border-color);
  background: var(--bg-light);
  color: var(--primary-color);
  margin-left: 6px;
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
}

.action-btn:hover {
  background: var(--primary-color);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.rating-stars .active-black {
  color: #ffcc00 !important;
}

.rating-text {
  font-size: 13px;
  color: #777;
  margin-left: 5px;
  font-weight: 600;
}

/* Fiyat Bölümü */
.price-section-box {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
}

.new-price-val {
  font-size: 34px;
  font-weight: 700;
  color: #f5c93b;
  margin: 10px;
}

.old-price-val {
  text-decoration: line-through;
  color: #999;
  font-size: 16px;
  font-weight: 500;
}

.orange-badge {
  background: #fff3cd;
  color: #856404;
  padding: 4px 10px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  margin-left: 8px;
  font-size: 12px;
  border: 1px solid #ffeeba;
}

.btn-add-cart {
  background: var(--primary-color);
  color: #fff;
  border: none;
  padding: 14px 28px;
  font-weight: 700;
  font-size: 16px;
  border-radius: 30px;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-add-cart:hover {
  background: #333;
  color: #fff;
  transform: translateY(-1px);
}

/* ŞIK KÖŞELİ YUVARLATILMIŞ ROZETLER */

/* Kampanya (Bundle) Tasarımı */
.bundle-wrapper {
  padding: 20px 10px;
}

.bundle-card {
  background: #fff;
  border: 2px solid #ffcc00;
  border-radius: var(--radius-lg);
  padding: 30px 20px 20px 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  max-width: 650px;
  margin: 30px auto;
  position: relative;
}

.module-title-box {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: #ffcc00;
  color: #000;
  padding: 5px 20px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.bundle-flex {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin: 15px 0;
}

.bundle-item {
  flex: 1;
  text-align: center;
  min-width: 0;
}

.bundle-item a {
  text-decoration: none !important;
}

.bundle-item img {
  width: 100%;
  max-width: 120px;
  height: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  padding: 5px;
  background: #fff;
  transition: var(--transition);
}

.bundle-item img:hover {
  transform: scale(1.03);
}

.bundle-item-name {
  font-size: 12px;
  font-weight: 700;
  margin-top: 8px;
  line-height: 1.3;
  height: 2.6em;
  overflow: hidden;
  color: var(--primary-color);
}

.plus-sign {
  font-size: 24px;
  color: #ffcc00;
  font-weight: bold;
}

.bundle-footer {
  margin-top: 20px;
  text-align: center;
  border-top: 1px solid var(--border-color);
  padding-top: 15px;
}

.bundle-old-text {
  margin: 0;
  color: #777;
  font-size: 14px;
}

.bundle-old-text .old-price {
  text-decoration: line-through;
  font-weight: 600;
}

.bundle-new-text {
  font-size: 16px;
  font-weight: 600;
  margin: 5px 0;
}

.bundle-new-text .new-price {
  color: #e53935;
  font-size: 22px;
  font-weight: 900;
}

.savings-tag {
  margin: 10px 0;
  font-size: 13px;
  font-weight: 600;
}

.savings-text {
  color: var(--success-color);
  font-size: 18px;
  font-weight: 800;
  background: #e8f5e9;
  padding: 2px 10px;
  border-radius: 12px;
}

/* Etiket Bulutu */
.tag-cloud a {
  display: inline-block;
  padding: 6px 14px;
  background: var(--bg-light);
  color: #555;
  margin: 4px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 20px;
  text-decoration: none;
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.tag-cloud a:hover {
  background: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
}

/* Modal & Paylaşım Listesi */
.share-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.share-list li {
  margin-bottom: 12px;
}

.share-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 15px;
  border-radius: var(--radius-md);
  text-decoration: none !important;
  font-weight: 600;
  color: #333;
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

.share-item:hover {
  background: var(--bg-light);
}

.divider-text {
  text-align: center;
  margin: 20px 0;
  position: relative;
}

.divider-text span {
  background: #fff;
  padding: 0 10px;
  position: relative;
  z-index: 1;
  color: #999;
  font-size: 12px;
}

.divider-text::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 1px;
  background: var(--border-color);
}

.copy-input-group {
  display: flex;
  gap: 5px;
}

.copy-input-group input {
  flex: 1;
  padding: 10px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--bg-light);
  font-size: 13px;
}

.copy-btn {
  background: var(--primary-color);
  border: none;
  padding: 0 15px;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.meta-data-list .clean-label {
  margin-top: 15px;
  /* açıklama ile künye başlığı arasına boşluk */
  display: block;
}
/* Responsive Düzenlemeler */
@media (max-width: 991px) {
  .modern-badges-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .main-image-wrapper,
  .sticky-purchase-card,
  .description-card {
    padding: 15px;
  }

  .new-price-val {
    font-size: 28px;
  }

  .modern-badges-container {
    grid-template-columns: 1fr;
  }
}

.btn-rainbow-custom {
  position: relative;
  isolation: isolate;
  background-color: #000000;
  color: #ffffff;
  border: 0;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 8px 15px;
  overflow: visible;
  cursor: pointer;
  border-radius: 26px;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

/* Hover'da daha dinamik büyüme ve ekstra parlama */
.btn-rainbow-custom:hover,
.btn-rainbow-custom:focus {
  transform: scale(1.04);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.7);
}

.btn-rainbow-custom:active {
  transform: scale(0.97);
}

.btn-rainbow-custom::before,
.btn-rainbow-custom::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  z-index: -1;
  animation: udef-rainbow 8s linear infinite; /* Akış hızı biraz artırılarak daha dinamik yapıldı */
  opacity: 1;
}

/* Arkadaki parlama (glow) efekti daha görünür hale getirildi */
.btn-rainbow-custom::after {
  filter: blur(20px);
  opacity: 0.75;
}

.btn-glow-blue::before,
.btn-glow-blue::after {
  background: linear-gradient(45deg, #0d6efd, #004cdb, #6ea8fe, #0d6efd);
  background-size: 400% 400%;
}

/* YEŞİL (Bootstrap Success - #198754 tabanlı ultra canlı) */
.btn-glow-green::before,
.btn-glow-green::after {
  background: linear-gradient(45deg, #405e50, #587467, #607763, #b3d1c3);
  background-size: 400% 400%;
}

/* SİYAH (Bootstrap Dark/Grafit - #212529 tabanlı keskin metalik) */
.btn-glow-black::before,
.btn-glow-black::after {
  background: linear-gradient(45deg, #212529, #343a40, #495057, #212529);
  background-size: 400% 400%;
}

/* KIRMIZI (Ultra Neon) */
.btn-glow-red::before,
.btn-glow-red::after {
  background: linear-gradient(45deg, #ff0044, #990022, #ff5e85, #ff0044);
  background-size: 400% 400%;
}

/* TURUNCU (Ateş Turuncusu) */
.btn-glow-orange::before,
.btn-glow-orange::after {
  background: linear-gradient(45deg, #ff5500, #b32400, #ff884d, #ff5500);
  background-size: 400% 400%;
}

/* SARI (Limon Sarısı) */
.btn-glow-yellow::before,
.btn-glow-yellow::after {
  background: linear-gradient(45deg, #ffee00, #998f00, #fff473, #ffee00);
  background-size: 400% 400%;
}

/* MOR (Elektrik Moru) */
.btn-glow-purple::before,
.btn-glow-purple::after {
  background: linear-gradient(45deg, #9900ff, #4400b3, #cc80ff, #9900ff);
  background-size: 400% 400%;
}

/* PEMBE (Sıcak Pembe) */
.btn-glow-pink::before,
.btn-glow-pink::after {
  background: linear-gradient(45deg, #ff00aa, #990066, #ff66cc, #ff00aa);
  background-size: 400% 400%;
}

/* BEYAZ (Saf Platin Kristal) */
.btn-glow-white {
  background-color: #ffffff;
  color: #11141a;
}
.btn-glow-white:hover,
.btn-glow-white:focus {
  color: #11141a;
  background-color: #f1f3f5;
}
.btn-glow-white::before,
.btn-glow-white::after {
  background: linear-gradient(45deg, #ffffff, #adb5bd, #dee2e6, #ffffff);
  background-size: 400% 400%;
}

.btn-glow-cyan::before,
.btn-glow-cyan::after {
  background: linear-gradient(45deg, #00f5ff, #008b9b, #99faff, #00f5ff);
  background-size: 400% 400%;
}

/* MACENTA (Canlı Fuchsia) */
.btn-glow-magenta::before,
.btn-glow-magenta::after {
  background: linear-gradient(45deg, #ff00ff, #aa00aa, #ff99ff, #ff00ff);
  background-size: 400% 400%;
}

/* LİME (Neon Kireç Yeşili) */
.btn-glow-lime::before,
.btn-glow-lime::after {
  background: linear-gradient(45deg, #a6ff00, #598c00, #d2ff80, #a6ff00);
  background-size: 400% 400%;
}

/* ALTIN (Zengin Gold) */
.btn-glow-gold::before,
.btn-glow-gold::after {
  background: linear-gradient(45deg, #ffd700, #b39200, #ffe57f, #ffd700);
  background-size: 400% 400%;
}

/* Pürüzsüz Akış Animasyonu */
@keyframes udef-rainbow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 400% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
.prd_description {
  font-family: "Open Sans", sans-serif !important;
  border: none !important;
  line-height: 1.5 !important;
}
.modern-badges-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  margin: 15px 0;
  justify-content: flex-start;
}

.modern-badge {
  /* Orijinal büyük kare boyutları */
  width: 60px;
  height: 60px;

  /* İkonun kareye yakın büyümesi için minimum iç boşluk */
  padding: 6px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  cursor: pointer;
  box-sizing: border-box;

  transition:
    transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.modern-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.25s ease;
}

/* Hover Efekti */
.modern-badge:hover {
  transform: translateY(-3px) scale(1.05);
  border-color: #aff0b9;
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.2);
}

.modern-badge:hover img {
  transform: scale(1.08);
  /* Hover sırasında taşırmadan hafifçe büyür */
}

/* Tıklama Hissiyatı */
.modern-badge:active {
  transform: translateY(-1px) scale(0.98);
}

/* Giriş Yapmış Kullanıcı Avatar Kapsayıcısı (34x34px ve Tam Ortalanmış) */
.user-avatar-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 34px;
    height: 34px;
    margin: 3px; /* 40px genel alan genişliğini korumak için */
    border-radius: 50%;
    
    /* Renk ve Zarafet Stilleri */
    background-color: #f7f3ed;
    border: 1.5px solid #a38350;
    color: #a38350;
    text-decoration: none !important;
    transition: all 0.25s ease-in-out;
    box-shadow: 0 2px 4px rgba(163, 131, 80, 0.12);
}

/* Hover İletişimi */
.user-avatar-btn:hover {
    background-color: #a38350;
    color: #ffffff;
    box-shadow: 0 3px 8px rgba(163, 131, 80, 0.25);
}

/* Baş Harflerin Tipografisi ve Tam Ortalanması */
.user-avatar-initials {
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    line-height: 1 !important;
    letter-spacing: 0px; /* Ortalamayı kaydırmaması için harf aralığı sıfırlandı */
    text-transform: uppercase;
    display: inline-block;
    text-align: center;
    margin: 0;
    padding: 0;
}

/* Ana sayfa ürün modüllerinde mobil fiyat alanını kart içinde iki sütunda tut. */
@media (max-width: 767px) {
    .dl-product .product .price {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        align-items: center;
        width: 100%;
        min-width: 0;
        min-height: 76px;
        margin-left: 0;
        padding: 4px 4px 12px;
        column-gap: 0;
    }

    .dl-product .product .price-box {
        grid-column: 1;
        justify-self: stretch;
        flex: none;
        min-width: 0;
        width: 100%;
        text-align: right;
        line-height: 18px;
        padding-right: 6px;
    }

    .dl-product .product .price-box:only-child {
        grid-column: 1 / -1;
        padding-right: 0;
        text-align: center;
    }

    .dl-product .product .price-sales {
        display: inline-block;
        max-width: 100%;
        font-size: clamp(10px, 3vw, 13px);
        line-height: 18px;
        white-space: nowrap;
    }

    .dl-product .product .campaign-prbox {
        display: flex;
        grid-column: 2;
        justify-self: stretch;
        flex: none;
        min-width: 0;
        width: 100%;
        align-items: flex-start;
        justify-content: center;
        flex-direction: column;
        gap: 0;
        margin: 0;
        padding: 0 0 0 6px;
        border-left: 1px solid rgba(0, 0, 0, .5);
        line-height: 16px;
    }

    .dl-product .product .campaign-prbox br {
        display: none;
    }

    .dl-product .product .campaign-prbox strong,
    .dl-product .product .campaign-prbox .camp-price {
        display: inline-block;
        max-width: 100%;
        margin: 0;
        white-space: nowrap;
    }

    .dl-product .product .campaign-prbox strong {
        color: #666;
        font-size: clamp(9px, 2.5vw, 11px);
        font-weight: 500;
        line-height: 13px;
    }

    .dl-product .product .campaign-prbox .camp-price {
        color: #e5ad12 !important;
        font-size: clamp(11px, 3.2vw, 14px);
        font-weight: 700;
        line-height: 16px;
    }
}

@media (max-width: 380px) {
    .dl-product .product .campaign-prbox {
        padding-left: 4px;
    }

    .dl-product .product .price-box { padding-right: 4px; }
}

/* Ürün detayındaki fiyat satırını dar ekranlarda kart içine sığdır. */
@media (max-width: 767px) {
    #product .price-section-box {
        width: 100%;
        min-width: 0;
        margin-top: 16px;
        padding-top: 14px;
        gap: 10px !important;
    }

    #product .price-section-box .price-row {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        align-items: center;
        width: 100%;
        min-width: 0;
        column-gap: 12px;
        row-gap: 8px;
    }

    #product .price-section-box .old-price-wrap {
        display: contents !important;
    }

    #product .price-section-box .old-price-val {
        grid-column: 1;
        grid-row: 2;
        justify-self: start;
        max-width: 100%;
        font-size: clamp(15px, 4.5vw, 18px);
        line-height: 1.3;
        overflow-wrap: anywhere;
    }

    #product .price-section-box .orange-badge {
        grid-column: 1 / -1;
        grid-row: 1;
        justify-self: center;
        max-width: 100%;
        margin-left: 0;
        white-space: normal;
        line-height: 1.35;
    }

    #product .price-section-box .new-price-val {
        grid-column: 2;
        grid-row: 2;
        justify-self: end;
        max-width: 100%;
        margin: 0;
        font-size: clamp(24px, 7vw, 30px);
        line-height: 1.2;
        overflow-wrap: anywhere;
    }

    #product .price-section-box .buy-action-area,
    #product .price-section-box .buy-action-area button {
        width: 100%;
        max-width: 100%;
    }
}
