/* Bultix B2B Platform Styles */
.b2b-home { margin-bottom: 40px; }

.b2b-hero {
  background: linear-gradient(135deg, #0f2744 0%, #1a3a5c 50%, #0d2137 100%);
  color: #fff;
  padding: 48px 0;
  margin-bottom: 48px;
}

.b2b-hero__inner { max-width: 720px; }

.b2b-badge {
  display: inline-block;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 20px;
  padding: 4px 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.b2b-hero h1 {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 12px;
}

.b2b-hero p {
  font-size: 16px;
  opacity: .88;
  margin-bottom: 24px;
  line-height: 1.6;
}

.b2b-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.b2b-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: background .2s, transform .15s, box-shadow .2s;
  border: 2px solid transparent;
  cursor: pointer;
}

.b2b-btn--primary {
  background: #e8620a;
  color: #fff;
  border-color: #e8620a;
}

.b2b-btn--primary:hover {
  background: #cf5508;
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(232,98,10,.35);
}

.b2b-btn--outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.5);
}

.b2b-btn--outline:hover {
  background: rgba(255,255,255,.1);
  color: #fff;
  text-decoration: none;
}

.b2b-btn--sm {
  padding: 8px 18px;
  font-size: 13px;
}

.b2b-section {
  padding: 40px 0;
}

.b2b-section--alt {
  background: #f4f7fb;
  border-radius: 12px;
  padding: 40px 24px;
  margin: 0 0 24px;
}

.b2b-section__title {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 700;
  color: #0f2744;
  margin: 0 0 28px;
  text-align: center;
}

.b2b-section__cta { text-align: center; margin-top: 24px; }

.b2b-grid { display: grid; gap: 20px; }

.b2b-grid--3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.b2b-card {
  background: #fff;
  border: 1px solid #e4eaf2;
  border-radius: 12px;
  padding: 28px 24px;
  text-align: center;
  transition: box-shadow .2s, transform .2s;
}

.b2b-card:hover {
  box-shadow: 0 8px 24px rgba(15,39,68,.08);
  transform: translateY(-2px);
}

.b2b-card__icon {
  width: 52px;
  height: 52px;
  background: #eef3fa;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: #1a3a5c;
  font-size: 22px;
}

.b2b-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: #0f2744;
  margin: 0 0 8px;
}

.b2b-card p {
  font-size: 14px;
  color: #5a6a7e;
  line-height: 1.55;
  margin: 0;
}

.b2b-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 560px;
  margin: 0 auto;
}

.b2b-steps li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid #dde4ee;
  font-size: 15px;
  color: #334155;
}

.b2b-steps li:last-child { border-bottom: none; }

.b2b-steps__num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: #1a3a5c;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}

.b2b-advantages {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  max-width: 800px;
  margin: 0 auto;
}

.b2b-advantages li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: #334155;
  background: #fff;
  border: 1px solid #e4eaf2;
  border-radius: 8px;
  padding: 14px 16px;
}

.b2b-advantages li .fa-check-circle { color: #16a34a; font-size: 18px; }

.b2b-supplier {
  background: linear-gradient(135deg, #1a3a5c, #0f2744);
  border-radius: 12px;
  padding: 0;
  overflow: hidden;
}

.b2b-supplier__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 36px 32px;
  color: #fff;
}

.b2b-supplier h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 8px;
  color: #fff;
}

.b2b-supplier p {
  margin: 0;
  opacity: .88;
  font-size: 15px;
  max-width: 520px;
}

/* Product price blocks */
.b2b-login-price {
  background: #f4f7fb;
  border: 1px dashed #b8c5d6;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  margin: 12px 0;
}

.b2b-login-price .fa-lock {
  font-size: 22px;
  color: #1a3a5c;
  margin-bottom: 8px;
}

.b2b-login-price p {
  font-size: 14px;
  color: #334155;
  margin: 0 0 14px;
  font-weight: 500;
}

.b2b-login-price--card {
  padding: 14px 12px;
  margin: 8px 0;
}

.b2b-login-price--card p { font-size: 12px; margin-bottom: 10px; }

.b2b-price-block {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 16px;
  margin: 12px 0;
}

.b2b-price-block__badge {
  display: inline-block;
  background: #e8620a;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: .3px;
  margin-bottom: 10px;
}

.b2b-price-block__row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 6px;
}

.b2b-price-block__label {
  font-size: 13px;
  color: #64748b;
  min-width: 100px;
}

.b2b-price-block__value {
  font-size: 22px;
  font-weight: 700;
  color: #0f2744;
}

.b2b-price-block__value--campaign { color: #e8620a; }

.b2b-price-block__old {
  font-size: 14px;
  color: #94a3b8;
  text-decoration: line-through;
}

.b2b-price-block__discount {
  background: #dcfce7;
  color: #15803d;
  font-weight: 700;
  font-size: 13px;
  padding: 2px 8px;
  border-radius: 4px;
}

.b2b-price-block__stock.in-stock { color: #16a34a; font-weight: 600; }
.b2b-price-block__stock.out-of-stock { color: #dc2626; font-weight: 600; }

.b2b-price-block__tax {
  font-size: 12px;
  color: #94a3b8;
  margin-top: 6px;
}

.b2b-card-price {
  margin: 8px 0;
}

.b2b-brand {
  font-size: 12px;
  color: #64748b;
  margin: 4px 0 6px;
}

.b2b-brand__label {
  font-weight: 600;
  color: #475569;
}

.b2b-card-price .b2b-price-block { padding: 10px 12px; }
.b2b-card-price .b2b-price-block__value { font-size: 17px; }

/* Product page — perakende / bayi fiyat */
.bultix-price-wrap {
  margin: 12px 0 16px;
}

.price-normal .product-price {
  font-size: 28px;
  font-weight: 700;
  color: #0f2744;
  margin: 0 0 8px;
  line-height: 1.2;
}

.price-normal--login-only {
  padding: 4px 0;
}

.bayi-uyari {
  color: #ff6600;
  font-weight: 600;
  font-size: 14px;
  margin: 0;
  line-height: 1.5;
}

.bayi-uyari__link {
  color: #e8620a;
  font-weight: 700;
  text-decoration: underline;
}

.bayi-uyari__link:hover {
  color: #cf5508;
}

.price-logged__retail {
  font-size: 16px;
  color: #888;
  text-decoration: line-through;
  margin: 0 0 6px;
}

.price-logged__dealer {
  font-size: 24px;
  font-weight: 700;
  color: #27ae60;
  margin: 0 0 4px;
  line-height: 1.25;
}

.price-logged__campaign {
  color: #e67e22;
  font-size: 13px;
  font-weight: 700;
  margin: 0 0 6px;
}

.bultix-price-wrap .product-tax {
  font-size: 12px;
  color: #94a3b8;
  margin-top: 6px;
}

/* Hide cart for guests */
.is-guest .product-thumb .cart-group,
.is-guest .product-info .cart-group,
.is-guest #product-product .button-group-page .cart-group {
  display: none !important;
}

@media (max-width: 767px) {
  .b2b-hero { padding: 32px 0; margin-bottom: 32px; }
  .b2b-section { padding: 28px 0; }
  .b2b-supplier__inner { padding: 28px 20px; flex-direction: column; text-align: center; }
  .b2b-supplier p { max-width: none; }
  .b2b-hero__actions { justify-content: center; }
}

/* Header — misafir bayi kaydı */
.bultix-guest-topbar {
  text-align: center;
  padding: 7px 12px;
  background: linear-gradient(90deg, #fff8f0 0%, #fff3e6 100%);
  border-bottom: 1px solid #ffd4a8;
}

.bultix-header-register-btn {
  display: inline-block;
  padding: 8px 20px;
  background: #ff6600;
  color: #fff !important;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.3;
  border-radius: 6px;
  text-decoration: none !important;
  white-space: nowrap;
  box-shadow: 0 2px 10px rgba(255, 102, 0, 0.35);
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.bultix-header-register-btn:hover,
.bultix-header-register-btn:focus {
  background: #e55a00;
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(255, 102, 0, 0.45);
}

#top .bultix-header-register-btn {
  margin-left: 6px;
  vertical-align: middle;
}

@media (max-width: 767px) {
  .bultix-header-register-btn {
    font-size: 13px;
    padding: 7px 14px;
  }

  #top .bultix-header-register-btn {
    display: block;
    margin: 6px 0 0;
    text-align: center;
  }
}
