:root {
  --ui-font-family-montserrat: 'Montserrat', sans-serif;
  --ui-font-family-tt-norms: "TTNormsProSerif", sans-serif;
}

.basket-line-block a{
  color: inherit;
}
.basket-line-block a:hover{
  color: inherit;
  	/* text-decoration: underline; */
	text-underline-offset: 5px;
}
.bx-header-logo .bx-logo-block{
  z-index: 10;
}
.nav-link{
  color:  var(--primary);
  padding: 0.2rem 1rem;
}

.bx-footer .nav-link{
  font-size: 11px;
  line-height: 18px;
  padding: 11px;
  padding-left: 0;
}
.bx-subscribe{
  font-size: 11px;
}

/* Favorites Button Styles */
.btn-favorites-card {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); */
  transition: all 0.3s ease;
  z-index: 20;
  padding: 0;
}

.btn-favorites-card:hover {
  transform: scale(1.1);
  /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); */
}

.btn-favorites-card .icon-heart {
  width: 16px;
  height: 16px;
  color: transparent;
  transition: color 0.3s ease;
}
.btn-favorites-card .icon-heart path{
  stroke: #000;
}

.btn-favorites-card[data-in-favorites="Y"] .icon-heart {
  color: #000;
  fill: currentColor;
}

.btn-favorites-card[data-in-favorites="Y"]:hover .icon-heart {
  color: #000;
}
.btn-favorites-card:focus {
  outline: none;
}

.btn-favorites-detail {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding-top: 15px;
    /* border: 2px solid #e0e0e0; */
    border: none;
    background: #fff;
    /* border-radius: 30px; */
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    margin-bottom: 20px;
}

.btn-favorites-detail:hover {
  border-color: #000;
  background: #fff5f5;
}

.btn-favorites-detail[data-in-favorites="Y"] {
  border-color: #000;
  background: #000;
  color: #fff;
}

.btn-favorites-detail .icon-heart {
  width: 20px;
  height: 20px;
  color: #e0e0e0;
  transition: color 0.3s ease;
}

.btn-favorites-detail[data-in-favorites="Y"] .icon-heart {
  color: #fff;
  fill: currentColor;
}

.btn-favorites-detail[data-in-favorites="Y"]:hover .icon-heart {
  color: #fff;
}

.btn-favorites-detail .btn-favorites-text {
  font-family: var(--ui-font-family-montserrat);
}

.btn-favorites-detail-popup {
 /* position: absolute; */
  top: 0;
  right: 0;
  width: 24px;
  height: 24px;
  border: none;
  background: transparent;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); */
  transition: all 0.3s ease;
  z-index: 20;
  padding: 0;
}

.btn-favorites-detail-popup:hover {
  transform: scale(1.1);
  /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); */
}

.btn-favorites-detail-popup .icon-heart {
  width: 26px;
  height: 26px;
  color: transparent;
  transition: color 0.3s ease;
}
.btn-favorites-detail-popup .icon-heart path{
  stroke: #000;
}
.btn-favorites-detail-popup:focus {
  outline: none;
}

.btn-favorites-detail-popup[data-in-favorites="Y"] .icon-heart {
  color: #000;
  fill: currentColor;
}

.btn-favorites-detail-popup[data-in-favorites="Y"]:hover .icon-heart {
  color: #000;
}

/* Unsubscribe Button Styles */
.btn-unsubscribe-card {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 16px;
  border: none;
  background: #000;
  color: #fff;
  border-radius: 20px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 500;
  transition: all 0.3s ease;
  z-index: 20;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.btn-unsubscribe-card:hover {
  /* background: #fff; */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transform: translateX(-50%) scale(1.05);
  /* color: #000; */
}

.btn-unsubscribe-card:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .btn-unsubscribe-card {
    padding: 5px 12px;
    font-size: 11px;
    bottom: 8px;
  }
}

.product-item {
  position: relative;
}

@media (max-width: 768px) {
  .btn-favorites-card {
    width: 36px;
    height: 36px;
  }

  .btn-favorites-card .icon-heart {
    width: 20px;
    height: 20px;
  }

  .btn-favorites-detail {
    padding: 8px 16px;
    font-size: 13px;
  }

  .btn-favorites-detail .icon-heart {
    width: 18px;
    height: 18px;
  }
}