.kbt-quote-page { max-width: 1120px; margin: 0 auto; }
.kbt-quote-success { padding: 16px 18px; margin: 0 0 24px; background: #eaf7ef; border-left: 4px solid #2f9e44; }
.kbt-quote-items { margin: 20px 0 28px; }
.kbt-quote-item { display: grid; grid-template-columns: 96px 1fr 120px 120px; gap: 16px; align-items: start; padding: 16px; margin-bottom: 14px; border: 1px solid #e5e7eb; border-radius: 10px; background: #fff; }
.kbt-quote-item img { width: 96px; height: 120px; object-fit: contain; background: #f5f6f8; border-radius: 8px; }
.kbt-quote-item-title { font-weight: 700; margin-bottom: 4px; }
.kbt-quote-item-options { margin: 8px 0 0; padding-left: 18px; font-size: 14px; }
.kbt-quote-item textarea { width: 100%; min-height: 72px; }
.kbt-quote-item input[type="number"] { width: 80px; }
.kbt-remove-quote-item { background: #f5f6f8; border: 1px solid #ddd; padding: 8px 10px; border-radius: 6px; cursor: pointer; }
.kbt-form-section { margin: 26px 0; padding: 22px; border: 1px solid #e5e7eb; border-radius: 12px; background: #fff; }
.kbt-form-section h3 { margin-top: 0; }
.kbt-help { color: #555; margin-top: -6px; }
.kbt-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.kbt-grid label, .kbt-form-section label { display: block; font-weight: 600; }
.kbt-grid input, .kbt-form-section textarea { width: 100%; margin-top: 6px; }
.kbt-radio-row { display: flex; gap: 20px; margin: 8px 0 18px; flex-wrap: wrap; }
.kbt-checkbox { margin: 10px 0 18px; }
.kbt-tax-field { display: none; }
.kbt-tax-field.is-visible { display: block; }
.kbt-submit-quote, .kbt-add-to-quote { background: #0072CE; color: #fff; border: 0; border-radius: 8px; padding: 12px 18px; font-weight: 700; cursor: pointer; }
.kbt-submit-quote:hover, .kbt-add-to-quote:hover { background: #004C8C; color: #fff; }
.kbt-empty { padding: 18px; background: #f5f6f8; border-radius: 10px; }
@media (max-width: 760px) {
  .kbt-quote-item { grid-template-columns: 80px 1fr; }
  .kbt-quote-item img { width: 80px; height: 100px; }
  .kbt-grid { grid-template-columns: 1fr; }
}
.kbt-added-notice { margin-top: 10px; padding: 10px 12px; border-radius: 8px; background: #eaf7ef; border-left: 4px solid #2f9e44; font-size: 14px; }
.kbt-added-notice a { font-weight: 700; margin-left: 8px; }

.kbt-quote-toolbar { display: flex; justify-content: flex-start; margin: 0 0 18px; }
.kbt-back-to-products { display: inline-flex; align-items: center; gap: 6px; border: 1px solid #d8deea; background: #fff; color: #003366; border-radius: 999px; padding: 10px 16px; font-weight: 700; cursor: pointer; box-shadow: 0 8px 20px rgba(0,0,0,0.05); }
.kbt-back-to-products:hover { background: #f5f6f8; color: #0072CE; }

.kbt-quote-icon-link, .kbt-quote-menu-item > a { position: relative; display: inline-flex !important; align-items: center; justify-content: center; min-width: 42px; min-height: 42px; text-decoration: none !important; }
.kbt-quote-icon { position: relative; display: inline-flex; align-items: center; justify-content: center; line-height: 1; color: inherit; }
.kbt-quote-icon-svg { display: inline-flex; align-items: center; justify-content: center; }
.kbt-quote-icon-svg svg { display: block; width: 24px; height: 24px; }
.kbt-quote-icon-count { position: absolute; top: -9px; right: -12px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: #0072CE; color: #fff; font-size: 11px; font-weight: 800; align-items: center; justify-content: center; box-shadow: 0 0 0 2px #fff; }
.kbt-quote-icon-label { margin-left: 8px; }
.kbt-quote-menu-item .kbt-quote-icon-label { display: none; }
.kbt-quote-menu-item > a:hover .kbt-quote-icon { color: #0072CE; }

@media (max-width: 760px) {
  .kbt-quote-toolbar { margin-bottom: 14px; }
  .kbt-back-to-products { width: 100%; justify-content: center; }
}


/* v0.4: A fejléc közösségi ikonjait elrejtjük, hogy az ajánlatkérő ikon a főmenüben egy sorban maradjon. */
#masthead .header-social-wrap,
#masthead .header-social-inner-wrap,
#masthead .site-header-item[data-section*="social"],
#masthead .social-button,
.site-header .header-social-wrap,
.site-header .header-social-inner-wrap,
.site-header .site-header-item[data-section*="social"],
.site-header .social-button {
  display: none !important;
}

/* Az ajánlatkérő ikon igazítása a főmenüben. */
#masthead .kbt-quote-menu-item,
.site-header .kbt-quote-menu-item {
  display: inline-flex !important;
  align-items: center !important;
}

#masthead .kbt-quote-menu-item > a,
.site-header .kbt-quote-menu-item > a {
  padding-left: 10px !important;
  padding-right: 10px !important;
  white-space: nowrap !important;
}

/* v0.5: ajánlatkérő lista oldal kényelmi és vizuális finomítások */
.kbt-quote-toolbar {
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.kbt-clear-quote {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d8deea;
  background: #fff;
  color: #555;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 700;
  cursor: pointer;
}

.kbt-clear-quote:hover {
  background: #f5f6f8;
  color: #222;
}

.kbt-quote-summary {
  margin: 0 0 18px;
  padding: 12px 16px;
  border: 1px solid #d8deea;
  border-radius: 10px;
  background: #f8fafc;
  color: #222222;
}

.kbt-quote-summary:empty {
  display: none;
}

.kbt-empty {
  display: grid;
  gap: 12px;
  align-items: start;
}

.kbt-empty p {
  margin: 0;
}

.kbt-quote-item-title {
  color: #003366;
  font-size: 17px;
}

.kbt-quote-item-options li {
  margin-bottom: 3px;
}

.kbt-form-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.kbt-back-to-products-secondary {
  box-shadow: none;
}

.kbt-quote-is-empty .kbt-quote-items {
  margin-bottom: 0;
}

@media (max-width: 760px) {
  .kbt-quote-toolbar,
  .kbt-form-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .kbt-clear-quote,
  .kbt-form-actions .kbt-submit-quote,
  .kbt-form-actions .kbt-back-to-products {
    width: 100%;
    justify-content: center;
  }
}

.kbt-generated-product-option {
  display: block;
  margin: 14px 0;
  font-weight: 600;
  color: #003366;
}

.kbt-generated-product-option span {
  display: block;
  margin-bottom: 6px;
}

.kbt-generated-product-option select {
  width: 100%;
  max-width: 100%;
  min-height: 42px;
  border: 1px solid #d8deea;
  border-radius: 8px;
  padding: 8px 10px;
  background: #fff;
  color: #222;
}
