/* Vebusa Yapı — Ağustos 2026 revizyonları */

/* Kategori kartlarındaki ürün fotoğrafları kırpılmadan bütünüyle görünür. */
.product-card-image {
  background: #f3eee5;
}

.product-card-image img {
  box-sizing: border-box;
  object-fit: contain !important;
  object-position: center;
  padding: 14px;
  transform: none !important;
}

.product-card:hover .product-card-image img {
  transform: none !important;
}

/* İki yetkili için birbirinden bağımsız sabit iletişim grupları. */
.sticky-contact-stack {
  position: fixed;
  bottom: 20px;
  z-index: 90;
  display: flex;
  width: min(238px, calc(50vw - 30px));
  flex-direction: column;
  gap: 9px;
}

.sticky-contact-left {
  left: 18px;
}

.sticky-contact-right {
  right: 18px;
}

.sticky-contact-stack .sticky-contact {
  position: relative;
  bottom: auto;
  left: auto;
  right: auto;
  display: flex;
  width: 100%;
  min-height: 66px;
  box-sizing: border-box;
  align-items: center;
  gap: 10px;
  overflow: hidden;
  padding: 7px 9px 7px 8px;
  border: 1px solid #ffffff21;
  border-radius: 16px;
  letter-spacing: normal;
  text-transform: none;
  isolation: isolate;
  box-shadow: 0 18px 42px #1816123d, inset 0 1px #ffffff17;
  backdrop-filter: blur(14px);
  transition: transform 0.22s ease, box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.sticky-contact-stack .sticky-contact::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  content: "";
}

.sticky-contact-stack .sticky-contact:hover,
.sticky-contact-stack .sticky-contact:focus-visible {
  border-color: #ffffff45;
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 22px 48px #18161257, inset 0 1px #ffffff24;
}

.sticky-contact-stack .sticky-call {
  background: linear-gradient(135deg, #2a2924 0%, #11110f 100%);
  color: var(--paper);
}

.sticky-contact-stack .sticky-call::before {
  background: var(--gold);
}

.sticky-contact-stack .sticky-whatsapp {
  background: linear-gradient(135deg, #25885d 0%, #12563a 100%);
  color: #fff;
}

.sticky-contact-stack .sticky-whatsapp::before {
  background: #66e3a5;
}

.sticky-avatar {
  position: relative;
  display: block;
  width: 49px;
  height: 49px;
  flex: 0 0 49px;
  box-sizing: border-box;
  overflow: hidden;
  border: 2px solid #ffffff8a;
  border-radius: 50%;
  background: #3e3c35;
  box-shadow: 0 7px 18px #0000003d;
}

.sticky-call .sticky-avatar {
  border-color: color-mix(in srgb, var(--gold) 75%, white);
}

.sticky-whatsapp .sticky-avatar {
  border-color: #b9f2d4;
}

.sticky-avatar-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.sticky-avatar-silhouette {
  background: linear-gradient(145deg, #77756f, #34332f);
}

.sticky-avatar-silhouette::before {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #e8e3d9;
  content: "";
  transform: translateX(-50%);
}

.sticky-avatar-silhouette::after {
  position: absolute;
  bottom: -3px;
  left: 50%;
  width: 34px;
  height: 23px;
  border-radius: 50% 50% 16% 16%;
  background: #e8e3d9;
  content: "";
  transform: translateX(-50%);
}

.sticky-contact-stack .sticky-person-copy {
  min-width: 0;
  flex: 1;
  align-items: flex-start;
  gap: 4px;
}

.sticky-contact-stack .sticky-person-copy strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #fff;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  font-size: 0.76rem;
  font-weight: 900;
}

.sticky-contact-stack .sticky-person-copy small {
  display: block;
  color: #ffffffbd;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.57rem;
  font-weight: 750;
}

.sticky-action-icon {
  display: inline-flex;
  width: 31px;
  height: 31px;
  flex: 0 0 31px;
  align-items: center;
  justify-content: center;
  border: 1px solid #ffffff2b;
  border-radius: 50%;
  background: #ffffff12;
  color: #fff;
}

.sticky-action-icon svg {
  width: 16px;
  height: 16px;
}

@media (width <= 720px) {
  .product-card-image img {
    padding: 10px;
  }

  .sticky-contact-stack {
    bottom: 8px;
    width: calc(50vw - 12px);
    gap: 6px;
  }

  .sticky-contact-left {
    left: 8px;
  }

  .sticky-contact-right {
    right: 8px;
  }

  .sticky-contact-stack .sticky-contact {
    min-height: 56px;
    gap: 6px;
    padding: 5px 6px 5px 5px;
    border-radius: 13px;
  }

  .sticky-avatar {
    width: 39px;
    height: 39px;
    flex-basis: 39px;
  }

  .sticky-avatar-silhouette::before {
    top: 6px;
    width: 12px;
    height: 12px;
  }

  .sticky-avatar-silhouette::after {
    width: 28px;
    height: 19px;
  }

  .sticky-action-icon {
    width: 25px;
    height: 25px;
    flex-basis: 25px;
  }

  .sticky-contact-stack .sticky-whatsapp > .sticky-action-icon {
    display: inline-flex;
  }

  .sticky-action-icon svg {
    width: 13px;
    height: 13px;
  }

  .sticky-contact-stack .sticky-person-copy strong {
    font-size: 0.6rem;
  }

  .sticky-contact-stack .sticky-person-copy small,
  .sticky-contact-stack .sticky-whatsapp > .sticky-person-copy {
    display: block;
    font-size: 0.47rem;
  }
}

@media (width <= 370px) {
  .sticky-contact-stack .sticky-action-icon,
  .sticky-contact-stack .sticky-whatsapp > .sticky-action-icon {
    display: none;
  }

  .sticky-contact-stack .sticky-person-copy strong {
    font-size: 0.57rem;
  }

  .sticky-contact-stack .sticky-person-copy small {
    font-size: 0.45rem;
  }
}
