.tp-product-item-2 {
  border: 1px solid #ccc;
  border-radius: 5px;
  overflow: hidden;
  padding: 8px;
}

.tp-product-title-2 {
  min-height: 4em;
}

.tp-product-title-2 a {
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.logo img {
  width: 135px;
}

/* New Year Kampaniya Stilleri */
.campaign-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 8px 15px;
  border-radius: 25px;
  color: white;
  font-weight: 600;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 80px;
  z-index: 10;
  animation: pulse 2s infinite;
}

.campaign-name {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.campaign-discount {
  font-size: 18px;
  font-weight: 700;
}

/* Qiymət stilleri */
.tp-product-price-2.old-price {
  text-decoration: line-through;
  color: #999;
  font-size: 0.9em;
  margin-right: 8px;
}

.tp-product-price-2.campaign-price {
  color: #e74c3c;
  font-weight: 700;
}

/* Hover effekti */
.tp-product-item-2:hover .campaign-badge {
  transform: scale(1.05);
  transition: transform 0.2s ease;
}

/* Animasiya */
@keyframes pulse {
  0% {
    box-shadow: 0 4px 8px rgba(231, 76, 60, 0.4);
  }
  50% {
    box-shadow: 0 4px 16px rgba(231, 76, 60, 0.6);
  }
  100% {
    box-shadow: 0 4px 8px rgba(231, 76, 60, 0.4);
  }
}

/* Mobil responsiv */
@media (max-width: 768px) {
  .campaign-badge {
    top: 5px;
    right: 5px;
    padding: 5px 10px;
    min-width: 60px;
  }
  
  .campaign-name {
    font-size: 9px;
  }
  
  .campaign-discount {
    font-size: 14px;
  }
}

/* Product Details Kampaniya Banner */
.campaign-info-banner {
  color: white;
  padding: 20px 25px;
  border-radius: 12px;
  margin: 20px 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  background-image: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(0,0,0,0.1) 100%);
}

.campaign-banner-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.campaign-banner-left h4 {
  color: white;
  margin: 0 0 5px 0;
  font-size: 20px;
  font-weight: 700;
}

.campaign-banner-left p {
  color: rgba(255,255,255,0.9);
  margin: 0;
  font-size: 14px;
}

.campaign-timer {
  text-align: center;
}

.timer-label {
  font-size: 12px;
  margin-bottom: 10px;
  color: rgba(255,255,255,0.8);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.timer-blocks {
  display: flex;
  gap: 15px;
}

.timer-block {
  background: rgba(255,255,255,0.2);
  padding: 10px 15px;
  border-radius: 8px;
  min-width: 50px;
  backdrop-filter: blur(10px);
}

.timer-number {
  display: block;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
}

.timer-text {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  margin-top: 3px;
  color: rgba(255,255,255,0.8);
}

/* Product Details qiymət stilleri */
.tp-product-details-price.old-price {
  text-decoration: line-through;
  color: #999;
  font-size: 1.2em;
  margin-right: 15px;
}

.tp-product-details-price.campaign-price {
  color: #e74c3c;
  font-size: 1.5em;
  font-weight: 700;
}

.savings-badge {
  background: #28a745;
  color: white;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  margin-left: 15px;
  display: inline-block;
}

/* Mobil responsiv - Product Details */
@media (max-width: 768px) {
  .campaign-banner-content {
    flex-direction: column;
    text-align: center;
  }
  
  .campaign-banner-left {
    text-align: center;
  }
  
  .timer-blocks {
    gap: 8px;
  }
  
  .timer-block {
    padding: 8px 10px;
    min-width: 40px;
  }
  
  .timer-number {
    font-size: 18px;
  }
  
  .timer-text {
    font-size: 9px;
  }
  
  .tp-product-details-price-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
  }
  
  .savings-badge {
    margin-left: 0;
  }
}

.tp-product-thumb-2 {
  position: relative;
  width: 100%;
  padding-top: 100%;
  overflow: hidden;
}

.tp-product-thumb-2 img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: auto;
  max-height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
}

.tp-shop-widget-categories ul li button {
  font-weight: 400;
  font-size: 15px;
  color: var(--tp-text-body);
  position: relative;
  padding-left: 16px;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  text-align: left;
  transition: all 0.3s 0s ease-out;
}

.tp-shop-widget-categories ul li button::after {
  position: absolute;
  content: "";
  top: 10px;
  left: 0;
  width: 6px;
  height: 6px;
  text-align: center;
  background-color: #e7e7e7;
  border-radius: 50%;
  transition: all 0.3s 0s ease-out;
}

.tp-shop-widget-categories ul li button span {
  font-weight: 500;
  font-size: 12px;
  line-height: 1;
  border: 1px solid #eaeaea;
  border-radius: 8px;
  padding: 5px 6px 3px;
  transition: all 0.3s 0s ease-out;
}

.tp-shop-widget-categories ul li button:hover span {
  background-color: #0989ff;
  border-color: #0989ff;
  color: var(--tp-common-white);
}

.tp-shop-widget-categories ul li button:hover {
  color: #0989ff;
}

.tp-shop-widget-categories ul li button:hover::after {
  background-color: #0989ff;
}

.cursor-p {
  cursor: pointer;
}
.tp-product-details-title {
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 28px;
}

.tp-product-details-thumb-list-item {
  position: relative;
  width: 100%;
  padding-top: 100%;
  overflow: hidden;
}


.tp-product-details-thumb-list-item img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: auto;
  max-height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
}

.cartmini__title a {
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cartmini__thumb {
  width: "100%";
  aspect-ratio: 1;
}

.cartmini__thumb img {
  height: 100%;
}

.tp-product-category-thumb img {
  width: 60%;
  mix-blend-mode: multiply;
}

.tp-slider-active img {
  width: 100%;
}

.breadcrumb__list span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 250px;
  display: inline-block;
  vertical-align: middle;
}

.tp-cart-title a {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 250px;
  display: inline-block;
  vertical-align: middle;
}

@media screen and (max-width: 600px) {
  .tp-product-action-2 {
    left: 10px;
    visibility: visible;
    opacity: 1;
  }
}

@media screen and (max-width: 991px) {
  .tp-shop-sidebar.desktop {
    display: none;
  }
}

.history {
  display: inline-flex;
  align-items: center;
  border: 1px solid #ccc;
  border-radius: 20px;
  padding: 5px 10px;
  font-size: 14px;
  color: #333;
  background-color: #f5f3f3;
}

.tp-mobile-item-btn {
  position: relative;
}

.tp-mobile-item-btn .tp-header-action-badge {
  line-height: 20px !important;
}

.tp-product-modal {
  z-index: 99999;
}

.order-product-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 200px;
  display: inline-block;
  vertical-align: middle;
  font-size: 15px;
  font-weight: 400;
  margin-bottom: 0;
}

.order-product-quantity {
  font-weight: 500;
}

.bg-gray {
  background-color: rgb(239, 241, 245);
}