/* Teklif Al — vitrin seçim çubuğu, kart ve form */

.shop-quote-hero {
  padding: 1.1rem 0 0.35rem;
}

.shop-quote-hero__copy {
  max-width: 42rem;
}

.shop-quote-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 0.45rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #16a34a;
}

.shop-quote-hero h1 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.55rem, 2.4vw, 2.05rem);
  letter-spacing: -0.03em;
}

.shop-quote-hero p {
  margin: 0;
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.5;
}

.shop-quote-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 0 0 0.85rem;
  padding: 0.65rem 0.85rem;
  border: 1px solid #86efac;
  border-radius: 0.85rem;
  background: #f0fdf4;
  font-size: 0.86rem;
  font-weight: 600;
}

.shop-quote-toolbar label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  cursor: pointer;
}

.shop-quote-toolbar span {
  color: #166534;
  font-weight: 500;
}

.shop-search-card--quote {
  position: relative;
}

.shop-quote-check {
  position: absolute;
  z-index: 12;
  top: 0.55rem;
  left: 0.55rem;
  width: 2.15rem;
  height: 2.15rem;
  display: grid;
  place-items: center;
  border-radius: 0.55rem;
  background: rgb(255 255 255 / 0.96);
  box-shadow: 0 4px 14px rgb(15 23 42 / 0.18);
  cursor: pointer;
}

.shop-quote-check input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  margin: 0;
}

.shop-quote-check__box {
  width: 1.2rem;
  height: 1.2rem;
  border: 2px solid #22c55e;
  border-radius: 0.32rem;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.8);
  pointer-events: none;
}

.shop-quote-check:has(input:checked) .shop-quote-check__box,
.shop-search-card--quote.is-quote-selected .shop-quote-check__box {
  background: #16a34a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5 10 17.5 19 7'/%3E%3C/svg%3E") center / 0.95rem no-repeat;
  border-color: #15803d;
}

.shop-search-card--quote.is-quote-selected {
  outline: 2px solid #22c55e;
  outline-offset: 1px;
  box-shadow: 0 10px 24px rgb(34 197 94 / 0.28);
}

.shop-quote-pick {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0.85rem 0.45rem;
  padding: 0.45rem 0.55rem;
  border-radius: 0.55rem;
  background: #f0fdf4;
  border: 1px solid #86efac;
  font-size: 0.82rem;
  font-weight: 700;
  color: #166534;
  cursor: pointer;
  user-select: none;
}

.shop-quote-pick input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.shop-quote-pick__box {
  width: 1.15rem;
  height: 1.15rem;
  flex: 0 0 1.15rem;
  border: 2px solid #22c55e;
  border-radius: 0.28rem;
  background: #fff;
}

.shop-quote-pick:has(input:checked),
.shop-search-card--quote.is-quote-selected .shop-quote-pick {
  background: #16a34a;
  border-color: #15803d;
  color: #fff;
}

.shop-quote-pick:has(input:checked) .shop-quote-pick__box,
.shop-search-card--quote.is-quote-selected .shop-quote-pick__box {
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316a34a' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5 10 17.5 19 7'/%3E%3C/svg%3E") center / 0.85rem no-repeat;
  border-color: #fff;
}

.shop-quote-card__btn {
  background: #f0fdf4 !important;
  color: #166534 !important;
  border: 1px solid #86efac !important;
  box-shadow: none !important;
  font-weight: 700;
}

.shop-quote-card__btn:hover {
  background: #dcfce7 !important;
}

.shop-quote-card__btn.is-added {
  background: #16a34a !important;
  border-color: #16a34a !important;
  color: #fff !important;
}

.shop-quote-bar {
  position: fixed;
  left: 50%;
  bottom: 1.15rem;
  transform: translateX(-50%);
  z-index: 90;
  width: min(960px, calc(100vw - 1.4rem));
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.85rem 1.1rem;
  align-items: center;
  padding: 0.95rem 1.15rem;
  border-radius: 1.2rem;
  background: linear-gradient(135deg, #14532d 0%, #16a34a 48%, #22c55e 100%);
  color: #fff;
  box-shadow: 0 22px 48px rgb(22 101 52 / 0.42), 0 0 0 1px rgb(255 255 255 / 0.12);
}

.shop-quote-bar[hidden] {
  display: none !important;
}

.shop-quote-bar__count {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
}

.shop-quote-bar__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  list-style: none;
  margin: 0.35rem 0 0;
  padding: 0;
}

.shop-quote-bar__list li {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.14);
  font-size: 0.75rem;
}

.shop-quote-bar__list button {
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
}

.shop-quote-bar__actions {
  display: flex;
  gap: 0.65rem;
  align-items: center;
}

.shop-quote-bar__clear {
  border: 0;
  background: transparent;
  color: #dcfce7;
  font-weight: 600;
  cursor: pointer;
}

.shop-quote-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  padding: 0.85rem 1.35rem;
  background: #fff;
  color: #166534;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  cursor: pointer;
  box-shadow: 0 10px 28px rgb(0 0 0 / 0.22), 0 0 0 0 rgb(134 239 172 / 0.75);
  animation: shop-quote-cta-pulse 1.7s ease-in-out infinite;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.shop-quote-cta__glow {
  position: absolute;
  inset: -40%;
  z-index: -1;
  background: radial-gradient(circle, rgb(134 239 172 / 0.6), transparent 62%);
  animation: shop-quote-cta-glow 2.2s ease-in-out infinite;
  pointer-events: none;
}

.shop-quote-cta:hover {
  transform: translateY(-2px) scale(1.04);
  background: #f0fdf4;
  color: #14532d;
  box-shadow: 0 16px 36px rgb(0 0 0 / 0.28), 0 0 28px rgb(74 222 128 / 0.55);
  animation: none;
}

.shop-quote-cta:active {
  transform: translateY(0) scale(0.98);
}

@keyframes shop-quote-cta-pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 10px 24px rgb(0 0 0 / 0.2), 0 0 0 0 rgb(134 239 172 / 0.7);
  }
  50% {
    transform: scale(1.045);
    box-shadow: 0 16px 34px rgb(0 0 0 / 0.26), 0 0 0 12px rgb(134 239 172 / 0);
  }
}

@keyframes shop-quote-cta-glow {
  0%, 100% { opacity: 0.45; transform: scale(0.85); }
  50% { opacity: 1; transform: scale(1.15); }
}

@media (prefers-reduced-motion: reduce) {
  .shop-quote-cta,
  .shop-quote-cta__glow {
    animation: none;
  }
}

.shop-quote-bar__note {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 0.8rem;
  color: #dcfce7;
}

.shop-quote-success {
  position: fixed;
  z-index: 80;
  right: 1rem;
  bottom: 1rem;
  max-width: 22rem;
  padding: 1rem 1.1rem;
  border-radius: 1rem;
  background: #14532d;
  color: #ecfdf5;
  box-shadow: 0 16px 36px rgb(20 83 45 / 0.35);
}

.shop-quote-success[hidden] {
  display: none !important;
}

.shop-quote-success strong {
  display: block;
  margin-bottom: 0.25rem;
}

.shop-checkout-modal__dialog.shop-quote-modal {
  max-width: 520px;
  padding: 1.1rem 1.2rem 1.25rem;
}

.shop-quote-form {
  display: grid;
  gap: 0.7rem;
}

.shop-quote-form label {
  display: grid;
  gap: 0.3rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #475569;
}

.shop-quote-form input,
.shop-quote-form textarea {
  padding: 0.65rem 0.75rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.65rem;
  font: inherit;
}

.shop-quote-form__summary {
  max-height: 8.5rem;
  overflow: auto;
  margin: 0;
  padding: 0.55rem 0.75rem;
  border-radius: 0.65rem;
  background: #f0fdf4;
  font-size: 0.8rem;
}

.shop-quote-form__summary li {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.2rem 0;
}

.shop-quote-form__summary span {
  color: #166534;
  font-family: ui-monospace, monospace;
}

.shop-quote-form__error {
  margin: 0;
  color: #b91c1c;
  font-size: 0.82rem;
  font-weight: 600;
}

.shop-quote-form__actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 0.35rem;
}

.shop-quote-form__ghost {
  border: 0;
  background: transparent;
  color: #64748b;
  font-weight: 600;
  cursor: pointer;
}

.shop-quote-form__send {
  border: 0;
  border-radius: 999px;
  padding: 0.7rem 1.2rem;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

.shop-vin-modal__quote-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-left: auto;
}

.shop-vin-modal__quote-add {
  border: 0;
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  background: #16a34a;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.shop-vin-modal__check-col {
  width: 2rem;
}

body.shop-quote-bar-open .shop-mp-footer {
  padding-bottom: 7.5rem;
}

@media (max-width: 720px) {
  .shop-quote-bar {
    grid-template-columns: 1fr;
    bottom: 0;
    width: 100%;
    border-radius: 1.15rem 1.15rem 0 0;
    transform: none;
    left: 0;
  }

  .shop-quote-bar__actions {
    justify-content: stretch;
  }

  .shop-quote-cta {
    flex: 1;
    width: 100%;
  }
}

:where([data-theme="dark"]) .shop-quote-toolbar {
  background: rgb(22 101 52 / 0.18);
  border-color: rgb(34 197 94 / 0.35);
}

:where([data-theme="dark"]) .shop-quote-hero p {
  color: #94a3b8;
}

:where([data-theme="dark"]) .shop-quote-pick {
  background: rgb(22 101 52 / 0.22);
  border-color: rgb(34 197 94 / 0.4);
  color: #86efac;
}

:where([data-theme="dark"]) .shop-quote-check {
  background: rgb(15 23 42 / 0.92);
}
