.joy-quote-add {
  width: 100%;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--joy-line);
  border-radius: 10px;
  background: #fff;
  color: #111;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

.joy-quote-add:hover {
  background: var(--joy-soft-2);
  border-color: #d8ccbd;
  transform: translateY(-1px);
}

.joy-quote-add.is-added {
  background: #f1eadf;
  border-color: #d9c4a7;
  color: #5f4625;
}

.joy-card-quote {
  grid-column: 1 / -1;
}

.joy-single-product__quote {
  width: 100%;
  min-height: 44px;
  margin-top: 10px;
  border-radius: 999px;
  font-size: 14px;
}

.joy-quote-floating {
  position: fixed;
  right: 20px;
  bottom: 22px;
  z-index: 99991;
}

.joy-quote-floating__button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: #111;
  color: #fff;
  box-shadow: 0 14px 38px rgba(0, 0, 0, .22);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.joy-quote-floating__button strong {
  min-width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--joy-whatsapp);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}

.joy-quote-panel {
  position: fixed;
  inset: 0;
  z-index: 100000;
  pointer-events: none;
  visibility: hidden;
}

.joy-quote-panel.is-open {
  pointer-events: auto;
  visibility: visible;
}

.joy-quote-panel__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .42);
  opacity: 0;
  transition: opacity .2s ease;
}

.joy-quote-panel.is-open .joy-quote-panel__overlay {
  opacity: 1;
}

.joy-quote-panel__drawer {
  position: absolute;
  top: 0;
  right: 0;
  width: min(420px, 100%);
  height: 100%;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: #fff;
  box-shadow: -18px 0 44px rgba(0, 0, 0, .22);
  transform: translateX(100%);
  transition: transform .24s ease;
}

.joy-quote-panel.is-open .joy-quote-panel__drawer {
  transform: translateX(0);
}

.joy-quote-panel__head {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--joy-line);
}

.joy-quote-panel__head small {
  display: block;
  margin-bottom: 4px;
  color: var(--joy-gold);
  font-size: 11px;
  letter-spacing: .18em;
  font-weight: 500;
}

.joy-quote-panel__head h2 {
  margin: 0;
  font-size: 25px;
  letter-spacing: -.035em;
}

.joy-quote-panel__close {
  width: 38px;
  height: 38px;
  border: 1px solid var(--joy-line);
  border-radius: 999px;
  background: #fff;
  color: #111;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.joy-quote-panel__body {
  overflow: auto;
  padding: 18px 20px;
  background: #fbfaf8;
}

.joy-quote-panel__empty {
  padding: 18px;
  border: 1px dashed var(--joy-line);
  border-radius: 14px;
  background: #fff;
  color: var(--joy-muted);
  font-size: 14px;
}

.joy-quote-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: start;
  padding: 14px;
  border: 1px solid var(--joy-line);
  border-radius: 14px;
  background: #fff;
}

.joy-quote-item + .joy-quote-item {
  margin-top: 10px;
}

.joy-quote-item__content strong,
.joy-quote-item__content span,
.joy-quote-item__content small {
  display: block;
}

.joy-quote-item__content strong {
  color: #111;
  font-size: 14px;
  line-height: 1.28;
  font-weight: 500;
}

.joy-quote-item__content span {
  margin-top: 6px;
  color: #111;
  font-size: 13px;
  font-weight: 500;
}

.joy-quote-item__content small {
  margin-top: 3px;
  color: var(--joy-muted);
  font-size: 12px;
}

.joy-quote-item__remove {
  width: 30px;
  height: 30px;
  border: 1px solid var(--joy-line);
  border-radius: 999px;
  background: #fff;
  color: #111;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.joy-quote-panel__foot {
  padding: 18px 20px 20px;
  border-top: 1px solid var(--joy-line);
  background: #fff;
}

.joy-quote-panel__whatsapp,
.joy-quote-panel__clear {
  width: 100%;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

.joy-quote-panel__whatsapp {
  border: 0;
  background: var(--joy-whatsapp);
  color: #fff;
}

.joy-quote-panel__whatsapp.is-disabled {
  pointer-events: none;
  opacity: .45;
}

.joy-quote-panel__clear {
  margin-top: 10px;
  border: 1px solid var(--joy-line);
  background: #fff;
  color: #111;
  cursor: pointer;
}

.joy-quote-panel__clear:disabled {
  opacity: .45;
  cursor: not-allowed;
}

.joy-quote-is-open body {
  overflow: hidden;
}

@media (max-width: 900px) {
  .joy-product-card--mobile .joy-quote-add {
    min-height: 36px;
    margin-top: 8px;
    border-radius: 9px;
    font-size: 12px;
  }

  .joy-quote-floating {
    right: 14px;
    bottom: 14px;
  }

  .joy-quote-floating__button {
    min-height: 44px;
    padding: 0 14px;
    font-size: 13px;
  }

  .joy-quote-panel__drawer {
    width: 100%;
  }

  .joy-quote-panel__head {
    padding: 18px;
  }

  .joy-quote-panel__head h2 {
    font-size: 23px;
  }
}

/* V1.6 - Koli ve kayitli hesap teklifleri; ana urun karti stillerine dokunulmaz. */
.joy-quote-panel__save-info{min-height:17px;margin:0 0 10px;color:#827870;font-size:12px;line-height:1.4}
.joy-quote-panel__save-info.is-error{color:#ab372f}
.joy-quote-panel__summary{margin-top:15px;font-size:13px;color:#534e48;font-weight:500}
.joy-quote-item__qty{display:flex;align-items:center;gap:9px;margin-top:11px;font-size:12px;color:#6c6057}
.joy-quote-item__qty input{width:70px!important;min-height:34px!important;padding:6px 9px!important;border:1px solid #d6c8b9!important;border-radius:7px!important;background:#fff!important;font-size:13px!important;color:#222!important}
.joy-quote-panel__login{display:flex;width:100%;justify-content:center;box-sizing:border-box;background:#965a29!important;color:#fff!important;border-color:#965a29!important}
.joy-quote-panel__login:hover{background:#79451f!important;color:#fff!important}
.joy-bayi-quote-card__items .joy-quote-item__content{min-width:0}
.joy-bayi-quote-card__items .joy-quote-panel__empty{grid-column:1/-1}


/* V1.6.1 - teklif listesi kompakt koli/adet ve fiyat gorunumu. */
.joy-quote-item__amount-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.joy-quote-item__amount-row .joy-quote-item__qty {
  margin-top: 0;
  flex: 0 0 auto;
}
.joy-quote-item__content .joy-quote-item__pairs {
  display: inline-flex;
  align-items: center;
  margin-top: 0;
  padding: 6px 9px;
  color: #755a43;
  background: #faf6f0;
  border: 1px solid #eee3d7;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
  white-space: nowrap;
}
.joy-quote-item__prices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 13px;
  padding-top: 11px;
  border-top: 1px solid #eee9e2;
}
.joy-quote-item__prices > div { min-width: 0; }
.joy-quote-item__content .joy-quote-item__prices span {
  display: block;
  margin: 0 0 4px;
  font-size: 11px;
  line-height: 1.4;
  font-weight: 400;
  color: #837970;
}
.joy-quote-item__content .joy-quote-item__prices strong {
  display: block;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 500;
  color: #222;
  overflow-wrap: anywhere;
}
.joy-quote-item__prices em {
  font-style: normal;
  font-size: 11px;
  font-weight: 400;
  color: #736d67;
  white-space: nowrap;
}
@media (max-width: 355px) {
  .joy-quote-item__prices { grid-template-columns: 1fr; }
  .joy-quote-item__amount-row { gap: 8px; }
}
