/* Ported from Shopify sections/shop-by-budget.liquid — keep in sync with parts/home/budget.php */
.zbb { padding: 22px 0 14px; }
  .zbb__head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 0 16px;
    margin-bottom: 12px;
  }
  .zbb__title {
    margin: 0;
    font-family: Fraunces, 'Playfair Display', Georgia, serif;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: #2b1a17;
  }
  .zbb__all {
    font-size: 12px;
    font-weight: 800;
    color: var(--zbb-accent);
    text-decoration: none;
    white-space: nowrap;
  }

  .zbb__row {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 2px 16px 8px;
    scroll-padding-left: 16px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .zbb__row::-webkit-scrollbar { display: none; }

  .zbb__card {
    position: relative;
    flex: 0 0 138px;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    padding: 15px 16px 16px;
    border-radius: 16px;
    background: #fff;
    border: none;
    text-decoration: none;
    overflow: hidden;
    transition: transform .15s ease;
  }
  .zbb__card:active { transform: scale(.97); }

  .zbb__card--hot { background: var(--zbb-accent); }
  .zbb__card--hot .zbb__under { color: #F3CDA0; }
  .zbb__card--hot .zbb__price,
  .zbb__card--hot .zbb__label { color: #fff; }
  .zbb__card--hot .zbb__label { color: #F0D4CC; }

  .zbb__flag {
    position: absolute;
    top: 10px; right: 10px;
    padding: 3px 8px;
    border-radius: 999px;
    background: #F3CDA0;
    color: #6B430F;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
  }

  .zbb__under {
    font-size: 10.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: #C8963E;
  }
  .zbb__price {
    margin-top: 3px;
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--zbb-accent);
    line-height: 1.05;
  }
  .zbb__taka { font-size: 19px; vertical-align: 7px; margin-right: 1px; }
  .zbb__label {
    margin-top: 5px;
    font-size: 11.5px;
    line-height: 1.4;
    color: #8b7f7c;
  }
  .zbb__img {
    align-self: flex-end;
    width: 68px; height: auto;
    margin: 6px -4px 0 0;
    border-radius: 10px;
    object-fit: cover;
  }

  @media (min-width: 769px) {
    .zbb { padding: 28px 0 20px; }
    .zbb__head { max-width: 1100px; margin: 0 auto 14px; padding: 0 28px; }
    .zbb__row { max-width: 1100px; margin: 0 auto; padding: 2px 28px 8px; overflow-x: visible; flex-wrap: wrap; }
    .zbb__card { flex: 1 1 200px; max-width: 240px; }
    .zbb__card:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(60,20,25,.10); }
  }
