/* FORYA - WhatsApp Hızlı Sipariş V2 */
#forya-wp-quick-order,
#forya-wp-quick-order *,
#forya-wp-modal,
#forya-wp-modal * { box-sizing: border-box; }

#forya-wp-quick-order {
  position: fixed !important;
  left: 18px !important;
  bottom: 22px !important;
  z-index: 2147483000 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-family: inherit !important;
}

.forya-wp-main-button {
  width: 62px !important;
  height: 62px !important;
  min-width: 62px !important;
  min-height: 62px !important;
  padding: 0 !important;
  border: 3px solid #fff !important;
  border-radius: 50% !important;
  background: #25d366 !important;
  box-shadow: 0 8px 24px rgba(0,0,0,.28) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: transform .2s ease, box-shadow .2s ease !important;
}

.forya-wp-main-button:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 10px 28px rgba(0,0,0,.34) !important;
}

.forya-wp-main-button svg {
  width: 36px !important;
  height: 36px !important;
  fill: #fff !important;
}

.forya-wp-label {
  position: absolute;
  left: 50%;
  bottom: 68px;
  transform: translateX(-50%);
  width: max-content;
  padding: 5px 9px;
  border-radius: 11px;
  background: rgba(255,255,255,.92);
  color: rgba(214,0,0,.70) !important;
  box-shadow: 0 4px 13px rgba(0,0,0,.11);
  font-size: 10.5px !important;
  font-weight: 700 !important;
  white-space: nowrap;
  pointer-events: none;
}

.forya-wp-label::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -5px;
  width: 10px;
  height: 10px;
  background: rgba(255,255,255,.92);
  transform: translateX(-50%) rotate(45deg);
}

#forya-wp-modal {
  position: fixed !important;
  inset: 0 !important;
  z-index: 2147483600 !important;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 12px;
  background: rgba(0,0,0,.62);
  backdrop-filter: blur(2px);
  overflow-y: auto;
}

#forya-wp-modal.forya-wp-open { display: flex !important; }

.forya-wp-dialog {
  position: relative;
  width: min(620px, calc(100vw - 24px));
  max-height: calc(100vh - 24px);
  padding: 20px 22px 18px;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 24px 80px rgba(0,0,0,.38);
  overflow-y: auto;
  animation: foryaWpOpen .2s ease;
  scrollbar-width: thin;
}

@keyframes foryaWpOpen {
  from { opacity: 0; transform: translateY(10px) scale(.988); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.forya-wp-close {
  position: absolute !important;
  top: 10px !important;
  right: 10px !important;
  width: 34px !important;
  height: 34px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: transparent !important;
  color: #222 !important;
  font-size: 27px !important;
  line-height: 1 !important;
  cursor: pointer !important;
}
.forya-wp-close:hover { background: #f2f2f2 !important; }

.forya-wp-heading {
  margin: 0 42px 3px 0 !important;
  color: #111 !important;
  font-size: 22px !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
}

.forya-wp-intro {
  margin: 0 36px 14px 0 !important;
  color: #777 !important;
  font-size: 11.5px !important;
  line-height: 1.45 !important;
}

.forya-wp-product-card {
  display: flex;
  gap: 12px;
  align-items: center;
  min-height: 88px;
  margin-bottom: 14px;
  padding: 11px;
  border: 1px solid #e3e6e9;
  border-radius: 10px;
  background: linear-gradient(180deg,#fff,#fafafa);
}

.forya-wp-product-image {
  display: none;
  width: 72px;
  height: 72px;
  flex: 0 0 72px;
  object-fit: cover;
  border: 1px solid #e6e6e6;
  border-radius: 7px;
}
.forya-wp-product-image.forya-image-ready { display: block; }

.forya-wp-product-info {
  min-width: 0;
  color: #333;
  font-size: 11.5px;
  line-height: 1.5;
}
.forya-wp-product-name {
  display: block;
  margin-bottom: 2px;
  color: #111;
  font-size: 13.5px;
  font-weight: 800;
  line-height: 1.35;
}

.forya-wp-row {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: 10px;
}

.forya-wp-group { margin-bottom: 9px; }
.forya-wp-group label {
  display: block !important;
  margin: 0 0 4px !important;
  color: #252525 !important;
  font-size: 11.5px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
}

.forya-wp-group input,
.forya-wp-group textarea {
  width: 100% !important;
  min-width: 0 !important;
  min-height: 42px !important;
  margin: 0 !important;
  padding: 9px 11px !important;
  border: 1px solid #d8dde2 !important;
  border-radius: 8px !important;
  background: #fff !important;
  color: #202124 !important;
  box-shadow: none !important;
  font-family: inherit !important;
  font-size: 12.5px !important;
  line-height: 1.4 !important;
  outline: none !important;
  transition: border-color .18s ease, box-shadow .18s ease !important;
}

.forya-wp-group input::placeholder,
.forya-wp-group textarea::placeholder { color: #9aa0a6 !important; opacity: 1; }

.forya-wp-group textarea {
  min-height: 62px !important;
  resize: vertical !important;
}

.forya-wp-group input:focus,
.forya-wp-group textarea:focus {
  border-color: #22af52 !important;
  box-shadow: 0 0 0 3px rgba(37,211,102,.12) !important;
}

.forya-wp-phone-wrap { display: flex; width: 100%; }
.forya-wp-phone-prefix {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 52px;
  min-height: 42px;
  border: 1px solid #d8dde2;
  border-right: 0;
  border-radius: 8px 0 0 8px;
  background: #f7f7f8;
  color: #333;
  font-size: 12.5px;
  font-weight: 700;
}
.forya-wp-phone-wrap input { border-radius: 0 8px 8px 0 !important; }

.forya-wp-group input.forya-wp-error,
.forya-wp-group textarea.forya-wp-error {
  border-color: #e11919 !important;
  background: #fffafa !important;
}
.forya-wp-group input.forya-wp-valid,
.forya-wp-group textarea.forya-wp-valid {
  border-color: #22a94f !important;
  background: #fbfffc !important;
}

.forya-wp-error-text {
  display: block;
  min-height: 12px;
  margin-top: 3px;
  color: #d60000;
  font-size: 9.5px;
  font-weight: 600;
  line-height: 1.3;
}

.forya-wp-helper {
  display: block;
  margin-top: 3px;
  color: #858585;
  font-size: 9.5px;
}

.forya-wp-benefits {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 6px;
  margin: 2px 0 10px;
  padding-top: 9px;
  border-top: 1px solid #eee;
}
.forya-wp-benefit {
  color: #555;
  font-size: 8.5px;
  text-align: center;
  line-height: 1.3;
}
.forya-wp-benefit strong {
  display: block;
  color: #222;
  font-size: 9.5px;
}
.forya-wp-benefit-icon {
  display: block;
  margin-bottom: 2px;
  color: #18a94b;
  font-size: 18px;
}

.forya-wp-submit {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100% !important;
  min-height: 48px !important;
  padding: 10px 14px !important;
  border: 0 !important;
  border-radius: 8px !important;
  background: #18ad49 !important;
  color: #fff !important;
  box-shadow: 0 7px 18px rgba(24,173,73,.22) !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  cursor: pointer !important;
}
.forya-wp-submit:hover { background: #12983e !important; }
.forya-wp-submit svg { width: 21px; height: 21px; fill: #fff; }

.forya-wp-privacy {
  margin: 8px 0 0 !important;
  color: #8a8a8a !important;
  font-size: 9.5px !important;
  text-align: center !important;
}

body.forya-wp-body-locked { overflow: hidden !important; }

@media (max-width: 650px) {
  #forya-wp-quick-order {
    left: 12px !important;
    bottom: 82px !important;
  }
  .forya-wp-main-button {
    width: 55px !important;
    height: 55px !important;
    min-width: 55px !important;
    min-height: 55px !important;
  }
  .forya-wp-main-button svg { width: 32px !important; height: 32px !important; }
  .forya-wp-label { bottom: 61px; font-size: 10px !important; }

  #forya-wp-modal {
    align-items: flex-start;
    padding: 7px;
  }
  .forya-wp-dialog {
    width: calc(100vw - 14px);
    max-height: calc(100vh - 14px);
    padding: 17px 14px 15px;
    border-radius: 12px;
  }
  .forya-wp-heading { font-size: 20px !important; }
  .forya-wp-intro { margin-bottom: 12px !important; font-size: 10.5px !important; }
  .forya-wp-product-card { min-height: 78px; margin-bottom: 12px; padding: 9px; }
  .forya-wp-product-image { width: 64px; height: 64px; flex-basis: 64px; }
  .forya-wp-product-info { font-size: 10.5px; }
  .forya-wp-product-name { font-size: 12.5px; }
  .forya-wp-row { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 8px; }
  .forya-wp-group { margin-bottom: 7px; }
  .forya-wp-group label { font-size: 10.5px !important; }
  .forya-wp-group input,
  .forya-wp-group textarea { min-height: 40px !important; padding: 8px 9px !important; font-size: 11.5px !important; }
  .forya-wp-group textarea { min-height: 58px !important; }
  .forya-wp-phone-prefix { flex-basis: 46px; min-height: 40px; font-size: 11.5px; }
  .forya-wp-benefits { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 3px; }
  .forya-wp-benefit { font-size: 7.5px; }
  .forya-wp-benefit strong { font-size: 8.5px; }
  .forya-wp-benefit-icon { font-size: 16px; }
}

@media (max-width: 350px) {
  .forya-wp-row { grid-template-columns: 1fr; gap: 0; }
  .forya-wp-benefits { grid-template-columns: repeat(2,1fr); }
}

/* SEÇENEK 2 — %50 KOMPAKT / HAYALET BUTON */

#forya-wp-quick-order {
    opacity: 0.72 !important;
    transition: opacity .2s ease, transform .2s ease !important;
}

#forya-wp-quick-order:hover {
    opacity: 1 !important;
    transform: translateY(-1px) !important;
}

.forya-wp-label {
    position: absolute !important;
    left: 50% !important;
    bottom: 61px !important;
    transform: translateX(-50%) !important;

    width: max-content !important;
    max-width: 95px !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;

    color: rgba(214, 0, 0, 0.50) !important;
    font-size: 8px !important;
    font-weight: 700 !important;
    line-height: 1.05 !important;
    text-align: center !important;
    white-space: normal !important;

    pointer-events: none !important;
}

.forya-wp-label::after {
    display: none !important;
}

.forya-wp-main-button {
    width: 50px !important;
    height: 50px !important;
    min-width: 50px !important;
    min-height: 50px !important;

    border-width: 2px !important;
    background: rgba(37, 211, 102, 0.78) !important;

    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.16),
        0 0 0 1px rgba(37, 211, 102, 0.10) !important;
}

.forya-wp-main-button svg {
    width: 29px !important;
    height: 29px !important;
}

@media (max-width: 650px) {
    #forya-wp-quick-order {
        left: 14px !important;
        bottom: 78px !important;
    }

    .forya-wp-label {
        bottom: 55px !important;
        max-width: 72px !important;
        font-size: 7px !important;
    }

    .forya-wp-main-button {
        width: 48px !important;
        height: 48px !important;
        min-width: 48px !important;
        min-height: 48px !important;
    }

    .forya-wp-main-button svg {
        width: 27px !important;
        height: 27px !important;
    }
}