/* =========================================================
   BÜROMOTTO HOMEPAGE SALES BOOSTER v1.0.0
=========================================================*/

.bmhsb-home-sections {
  width: min(1292px, calc(100% - 64px));
  margin: 28px auto 70px;
  display: block !important;
}

.bmhsb-advantage-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 28px;
}

.bmhsb-advantage-item {
  min-height: 116px;
  padding: 22px;
  border-radius: 26px;
  background: #fff;
  border: 1px solid rgba(16,24,32,.09);
  box-shadow: 0 16px 42px rgba(16,24,32,.065);
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: transform .22s ease, box-shadow .22s ease;
}

.bmhsb-advantage-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 54px rgba(16,24,32,.09);
}

.bmhsb-advantage-item span,
.bmhsb-mini-card span,
.bmhsb-section-head span,
.bmhsb-flow-card span,
.bmhsb-flow-small span {
  color: #ef2b2d;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.bmhsb-advantage-item strong {
  color: #101820;
  font-size: 16px;
  line-height: 1.25;
  font-weight: 900;
  margin-top: 12px;
}

.bmhsb-advantage-item small {
  color: #667085;
  font-size: 13px;
  line-height: 1.45;
  margin-top: 8px;
}

.bmhsb-mini-sales {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 34px;
}

.bmhsb-mini-card {
  position: relative;
  min-height: 190px;
  padding: 30px;
  border-radius: 30px;
  background: linear-gradient(145deg, #ffffff 0%, #f8f9fb 100%);
  border: 1px solid rgba(16,24,32,.09);
  box-shadow: 0 20px 54px rgba(16,24,32,.07);
  text-decoration: none;
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease;
}

.bmhsb-mini-card::after {
  content: "";
  position: absolute;
  right: -45px;
  top: -45px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(239,43,45,.08);
}

.bmhsb-mini-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 70px rgba(16,24,32,.10);
}

.bmhsb-mini-card h3 {
  color: #101820;
  font-size: 26px;
  line-height: 1.08;
  font-weight: 950;
  letter-spacing: -.03em;
  margin: 16px 0 12px;
}

.bmhsb-mini-card p {
  color: #667085;
  font-size: 14px;
  line-height: 1.65;
  max-width: 260px;
  margin: 0;
}

.bmhsb-mini-card em {
  display: inline-flex;
  color: #ef2b2d;
  font-style: normal;
  font-size: 13px;
  font-weight: 900;
  margin-top: 22px;
}

.bmhsb-sale-products {
  margin-bottom: 38px;
}

.bmhsb-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}

.bmhsb-section-head h2 {
  color: #101820;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.05;
  font-weight: 950;
  letter-spacing: -.045em;
  margin: 10px 0 8px;
}

.bmhsb-section-head p {
  color: #667085;
  font-size: 15px;
  line-height: 1.65;
  margin: 0;
}

.bmhsb-section-head > a {
  color: #ef2b2d;
  text-decoration: none;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.bmhsb-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.bmhsb-product-card {
  position: relative;
  border-radius: 28px;
  background: #fff;
  border: 1px solid rgba(16,24,32,.09);
  box-shadow: 0 18px 50px rgba(16,24,32,.07);
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease;
}

.bmhsb-product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 68px rgba(16,24,32,.11);
}

.bmhsb-product-image {
  position: relative;
  min-height: 230px;
  padding: 22px;
  background: #f8f9fb;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.bmhsb-product-image img {
  width: 100%;
  height: 190px;
  object-fit: contain;
  display: block;
  transition: transform .25s ease;
}

.bmhsb-product-card:hover .bmhsb-product-image img {
  transform: scale(1.035);
}

.bmhsb-percent,
.onsale.bmhsb-discount-badge {
  position: absolute;
  left: 18px;
  top: 18px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 13px;
  border-radius: 999px;
  background: #ef2b2d;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 12px 26px rgba(239,43,45,.22);
}

.bmhsb-product-info {
  padding: 22px;
}

.bmhsb-product-cat {
  display: block;
  color: #7a8492;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 9px;
}

.bmhsb-product-info h3 {
  min-height: 48px;
  margin: 0 0 14px;
  color: #101820;
  font-size: 17px;
  line-height: 1.35;
  font-weight: 900;
}

.bmhsb-product-info h3 a {
  color: inherit;
  text-decoration: none;
}

.bmhsb-price {
  color: #ef2b2d;
  font-size: 18px;
  font-weight: 950;
  margin-bottom: 18px;
}

.bmhsb-price del {
  color: #7e8794;
  opacity: 1;
  font-size: 13px;
  font-weight: 750;
}

.bmhsb-price ins {
  color: #ef2b2d;
  text-decoration: none;
}

.bmhsb-product-btn {
  min-height: 46px;
  border-radius: 16px;
  background: #101820;
  color: #fff;
  display: inline-flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 13px;
  font-weight: 900;
  transition: background .2s ease;
}

.bmhsb-product-btn:hover {
  background: #ef2b2d;
  color: #fff;
}

.bmhsb-premium-flow {
  display: grid;
  grid-template-columns: 1.28fr .72fr;
  gap: 20px;
  margin-top: 34px;
}

.bmhsb-flow-card,
.bmhsb-flow-small {
  border-radius: 32px;
  border: 1px solid rgba(16,24,32,.10);
  box-shadow: 0 22px 60px rgba(16,24,32,.09);
  text-decoration: none;
}

.bmhsb-flow-dark {
  min-height: 330px;
  padding: 42px;
  background:
    linear-gradient(90deg, rgba(16,24,32,.92), rgba(16,24,32,.72)),
    url('http://www.buromotto.com/wp-content/uploads/2026/07/makamkoltuguslider.png');
  background-size: cover;
  background-position: center;
  color: #fff;
}

.bmhsb-flow-card h2 {
  max-width: 620px;
  color: #fff;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.04;
  font-weight: 950;
  letter-spacing: -.045em;
  margin: 16px 0;
}

.bmhsb-flow-card p {
  max-width: 560px;
  color: rgba(255,255,255,.78);
  font-size: 15px;
  line-height: 1.75;
  margin: 0;
}

.bmhsb-flow-card a {
  margin-top: 28px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 16px;
  background: #ef2b2d;
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 900;
}

.bmhsb-flow-stack {
  display: grid;
  gap: 20px;
}

.bmhsb-flow-small {
  min-height: 155px;
  padding: 28px;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: transform .22s ease;
}

.bmhsb-flow-small:hover {
  transform: translateY(-3px);
}

.bmhsb-flow-small strong {
  color: #101820;
  font-size: 23px;
  line-height: 1.12;
  font-weight: 950;
  letter-spacing: -.025em;
  margin-top: 13px;
}

.bmhsb-flow-small em {
  color: #ef2b2d;
  font-size: 13px;
  font-style: normal;
  font-weight: 900;
  margin-top: 18px;
}

/* Mevcut ürün kartlarında Popüler/Yeni gibi gereksiz rozetleri JS gizler */
.bmhsb-hidden-badge {
  display: none !important;
}

@media (max-width: 1024px) {
  .bmhsb-advantage-strip,
  .bmhsb-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bmhsb-mini-sales,
  .bmhsb-premium-flow {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .bmhsb-home-sections {
    width: calc(100% - 28px);
    margin-top: 22px;
  }

  .bmhsb-advantage-strip,
  .bmhsb-mini-sales,
  .bmhsb-product-grid,
  .bmhsb-premium-flow {
    grid-template-columns: 1fr;
  }

  .bmhsb-section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .bmhsb-product-image {
    min-height: 245px;
  }

  .bmhsb-product-image img {
    height: 205px;
  }

  .bmhsb-flow-dark {
    min-height: 360px;
    padding: 28px;
  }
}


/* =========================================================
   BÜROMOTTO HOMEPAGE SALES BOOSTER v1.0.1
   Sadece Fırsat Ürünleri alanı kalsın
=========================================================*/

/* Slider altındaki ekstra avantaj/kart/banner alanlarını tamamen kaldır */
.bmhsb-advantage-strip,
.bmhsb-mini-sales,
.bmhsb-premium-flow,
.bmhsb-flow-card,
.bmhsb-flow-stack {
  display: none !important;
}

/* Fırsat ürünleri alanını slidera daha yakın ve temiz konumlandır */
.bmhsb-home-sections {
  margin-top: 28px !important;
  margin-bottom: 54px !important;
}

.bmhsb-sale-products {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* Küçük AVANTAJLI ÜRÜNLER etiketi kalırsa gizle */
.bmhsb-section-head span {
  display: none !important;
}

.bmhsb-section-head h2 {
  margin-top: 0 !important;
}

@media (max-width: 640px) {
  .bmhsb-home-sections {
    margin-top: 20px !important;
    margin-bottom: 42px !important;
  }
}


/* =========================================================
   BÜROMOTTO HOMEPAGE SALES BOOSTER v1.0.2
   4'lü kayan ürün carousel sistemi
=========================================================*/

/* Ürünler aşağı doğru devam etmesin; tek satır carousel olsun */
.bmhsb-product-carousel {
  width: 100% !important;
  overflow: hidden !important;
  position: relative !important;
  padding: 2px 0 10px !important;
}

.bmhsb-product-carousel .bmhsb-product-grid {
  display: flex !important;
  grid-template-columns: none !important;
  gap: 18px !important;
  width: max-content !important;
  will-change: transform !important;
  transition: transform .65s cubic-bezier(.22, .61, .36, 1) !important;
}

.bmhsb-product-carousel .bmhsb-product-card {
  flex: 0 0 calc((min(1292px, calc(100vw - 64px)) - 54px) / 4) !important;
  width: calc((min(1292px, calc(100vw - 64px)) - 54px) / 4) !important;
}

/* Carousel altında sayfa taşması olmasın */
.bmhsb-sale-products {
  overflow: hidden !important;
}

/* Mobil/tablet kırılımları: tablet 2'li, mobil 1'li akar */
@media (max-width: 1024px) {
  .bmhsb-product-carousel .bmhsb-product-card {
    flex-basis: calc((calc(100vw - 64px) - 18px) / 2) !important;
    width: calc((calc(100vw - 64px) - 18px) / 2) !important;
  }
}

@media (max-width: 640px) {
  .bmhsb-product-carousel .bmhsb-product-grid {
    gap: 14px !important;
  }

  .bmhsb-product-carousel .bmhsb-product-card {
    flex-basis: calc(100vw - 28px) !important;
    width: calc(100vw - 28px) !important;
  }
}
