@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800;900&display=swap');

:root {
  --bb-navy: #062b58;
  --bb-navy-2: #001f47;
  --bb-blue: #088bd8;
  --bb-blue-2: #0f65b5;
  --bb-text: #092b5c;
  --bb-muted: #66758a;
  --bb-border: #dfe9f4;
  --bb-soft: #f5faff;
  --bb-shadow: 0 12px 32px rgba(5, 42, 86, 0.11);
  --bb-radius: 8px;
}

* { box-sizing: border-box; }

html,
body {
  margin: 0;
  min-height: 100%;
  background: #fff;
  color: var(--bb-text);
  font-family: "Cairo", "Segoe UI", Tahoma, sans-serif;
  letter-spacing: 0;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input { font: inherit; }

.bb-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  box-shadow: 0 2px 14px rgba(1, 35, 74, 0.08);
}

.bb-header-top {
  max-width: 1332px;
  margin: 0 auto;
  height: 82px;
  padding: 0 18px;
  display: grid;
  grid-template-columns: 270px minmax(320px, 1fr) auto;
  align-items: center;
  gap: 28px;
  direction: ltr;
}

.bb-logo img {
  width: auto;
  height: 70px;
  object-fit: contain;
}

.bb-search {
  justify-self: center;
  width: min(470px, 100%);
  height: 46px;
  position: relative;
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid #d9e3ef;
  border-radius: 999px;
  box-shadow: inset 0 1px 5px rgba(0, 34, 72, 0.04);
  overflow: hidden;
}

.bb-search input {
  width: 100%;
  height: 100%;
  border: 0;
  outline: 0;
  padding: 0 24px 0 62px;
  color: #24435f;
  background: transparent;
  text-align: right;
}

.bb-search input::placeholder { color: #8c9aab; }

.bb-search button {
  position: absolute;
  left: 0;
  top: 0;
  width: 52px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(180deg, #10a5ed, #006fba);
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 20px;
}

.bb-header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  white-space: nowrap;
  direction: rtl;
}

.bb-contact,
.bb-user {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--bb-navy);
  font-weight: 800;
  font-size: 13px;
}

.bb-contact i,
.bb-user i,
.bb-icon-btn i {
  font-size: 25px;
  line-height: 1;
}

.bb-user span {
  line-height: 1.25;
  font-weight: 700;
}

.bb-user strong {
  font-size: 12px;
  color: var(--bb-navy-2);
}

.bb-divider {
  width: 1px;
  height: 36px;
  background: #d9e3ef;
}

.bb-icon-btn {
  position: relative;
  color: var(--bb-navy);
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
}

.bb-cart span {
  position: absolute;
  top: -4px;
  right: -5px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  color: #fff;
  background: var(--bb-navy);
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 800;
}

.bb-nav {
  height: 43px;
  background: linear-gradient(90deg, #002957 0%, #06376f 44%, #002957 100%);
}

.bb-nav-inner {
  max-width: 1332px;
  margin: 0 auto;
  padding: 0 18px;
  height: 100%;
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
}

.bb-nav a {
  height: 100%;
  padding: 0 25px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  transition: background 0.2s ease, color 0.2s ease;
}

.bb-nav a:hover,
.bb-nav a.is-active {
  background: linear-gradient(180deg, #15a8ed, #0876c3);
}

.bb-hero {
  position: relative;
  min-height: 296px;
  overflow: hidden;
  background: linear-gradient(90deg, #eef8ff 0%, #ffffff 40%, #d9eeff 100%);
}

.bb-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 84% 44%, rgba(18, 133, 212, 0.3), transparent 24%),
    linear-gradient(135deg, transparent 0 62%, rgba(255, 255, 255, 0.5) 62% 65%, transparent 65%),
    url("data:image/svg+xml,%3Csvg width='900' height='360' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%2398caef' stroke-opacity='.42'%3E%3Ccircle cx='720' cy='150' r='130'/%3E%3Cpath d='M600 160 705 60 840 110 820 250 650 260z'/%3E%3Cpath d='M705 60 650 260M840 110 600 160M820 250 705 60'/%3E%3C/g%3E%3Cg fill='%23fff' fill-opacity='.9'%3E%3Ccircle cx='705' cy='60' r='4'/%3E%3Ccircle cx='840' cy='110' r='4'/%3E%3Ccircle cx='820' cy='250' r='4'/%3E%3Ccircle cx='650' cy='260' r='4'/%3E%3Ccircle cx='600' cy='160' r='4'/%3E%3C/g%3E%3C/svg%3E") center right / auto 100% no-repeat;
  opacity: 0.95;
}

.bb-hero-inner {
  position: relative;
  max-width: 1332px;
  margin: 0 auto;
  min-height: 296px;
  padding: 14px 82px 26px;
  display: grid;
  grid-template-columns: 310px 1fr 355px;
  align-items: center;
  gap: 25px;
  direction: ltr;
}

.bb-hero-brand {
  align-self: center;
  justify-self: center;
}

.bb-hero-brand img {
  width: 236px;
  mix-blend-mode: multiply;
}

.bb-hero-copy {
  text-align: center;
  padding-top: 5px;
  direction: rtl;
}

.bb-hero-copy h1 {
  margin: 0;
  color: var(--bb-navy);
  font-size: clamp(52px, 5.25vw, 76px);
  font-weight: 900;
  line-height: 1.05;
}

.bb-hero-lead {
  margin: 10px 0 0;
  color: var(--bb-navy);
  font-size: 29px;
  font-weight: 900;
}

.bb-hero-sub {
  margin: 5px 0 16px;
  color: #0c3564;
  font-size: 20px;
  font-weight: 800;
}

.bb-hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
}

.bb-btn {
  height: 44px;
  min-width: 150px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  font-weight: 900;
  font-size: 15px;
  border: 1px solid #c4d8eb;
}

.bb-btn-primary {
  color: #fff;
  background: var(--bb-navy);
  box-shadow: 0 9px 20px rgba(0, 43, 88, 0.24);
}

.bb-btn-light {
  color: var(--bb-blue-2);
  background: rgba(255, 255, 255, 0.72);
}

.bb-hero-bird {
  align-self: end;
  justify-self: end;
}

.bb-hero-bird img {
  width: 330px;
  filter: drop-shadow(0 18px 24px rgba(4, 48, 91, 0.16));
}

.bb-hero-arrow {
  position: absolute;
  z-index: 3;
  top: 50%;
  transform: translateY(-50%);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 0;
  background: var(--bb-navy);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 24px;
  cursor: pointer;
}

.bb-prev { right: 48px; }
.bb-next { left: 48px; }

.bb-hero-dots {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.bb-hero-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  background: #c7d3df;
}

.bb-hero-dots button.is-active { background: var(--bb-navy); }

.bb-trust {
  max-width: 1332px;
  margin: 6px auto 18px;
  height: 64px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  border: 1px solid var(--bb-border);
  border-radius: var(--bb-radius);
  background: #fff;
  box-shadow: 0 7px 24px rgba(0, 33, 74, 0.08);
}

.bb-trust-item {
  height: 42px;
  padding: 0 22px;
  border-left: 1px solid var(--bb-border);
  display: grid;
  grid-template-columns: 42px 1fr;
  grid-template-rows: 1fr 1fr;
  align-items: center;
  column-gap: 12px;
}

.bb-trust-item:last-child { border-left: 0; }
.bb-trust-item i {
  grid-row: 1 / span 2;
  color: var(--bb-blue-2);
  font-size: 28px;
}
.bb-trust-item strong {
  font-size: 13px;
  font-weight: 900;
  color: var(--bb-navy);
}
.bb-trust-item span {
  color: #445b77;
  font-size: 11px;
  font-weight: 700;
}

.bb-category-strip {
  max-width: 1332px;
  margin: 0 auto 12px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  direction: ltr;
}

.bb-cat-card {
  position: relative;
  min-height: 132px;
  border-radius: var(--bb-radius);
  overflow: hidden;
  background: linear-gradient(135deg, #e8f5ff, #ffffff);
  box-shadow: var(--bb-shadow);
  border: 1px solid #d9e8f5;
}

.bb-cat-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.bb-cat-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,.88), rgba(255,255,255,.26));
}

.bb-cat-card.bb-dark::after {
  background: linear-gradient(90deg, rgba(1, 37, 78, .94), rgba(2, 54, 102, .36));
}
.bb-cat-card.bb-blue::after {
  background: linear-gradient(90deg, rgba(8, 70, 123, .88), rgba(13, 121, 192, .28));
}

.bb-cat-card > div {
  position: relative;
  z-index: 2;
  min-height: 132px;
  padding: 22px 18px 15px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  color: var(--bb-navy);
  direction: rtl;
  text-align: right;
}

.bb-cat-card.bb-dark > div,
.bb-cat-card.bb-blue > div { color: #fff; }

.bb-cat-card h2 {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 900;
}

.bb-cat-card p {
  margin: 0 0 16px;
  font-size: 13px;
  font-weight: 800;
}

.bb-cat-card span {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  color: var(--bb-blue-2);
  display: grid;
  place-items: center;
}

.bb-content-grid {
  max-width: 1332px;
  margin: 0 auto 12px;
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 12px;
  direction: ltr;
}

.bb-panel {
  min-height: 218px;
  background: #fff;
  border: 1px solid var(--bb-border);
  border-radius: var(--bb-radius);
  box-shadow: 0 8px 24px rgba(0, 37, 83, 0.07);
  padding: 12px;
  direction: rtl;
}

.bb-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 9px;
}

.bb-panel-head h2 {
  margin: 0;
  color: var(--bb-navy);
  font-size: 17px;
  font-weight: 900;
}

.bb-panel-head a {
  color: var(--bb-blue);
  font-size: 13px;
  font-weight: 800;
}

.bb-product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 9px;
}

.bb-product {
  min-width: 0;
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 5px;
}

.bb-product img {
  height: 80px;
  width: 100%;
  object-fit: contain;
  border-bottom: 1px solid #eef3f8;
}

.bb-product strong {
  color: var(--bb-navy);
  font-size: 11px;
  font-weight: 900;
}

.bb-product span {
  color: var(--bb-navy);
  font-size: 12px;
  font-weight: 900;
}

.bb-product button {
  width: 78px;
  height: 24px;
  border: 1px solid #d8e5f1;
  border-radius: 999px;
  color: var(--bb-blue-2);
  background: #fff;
  cursor: pointer;
}

.bb-auction-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.bb-auction {
  min-height: 166px;
  background: #f8fbff;
  border: 1px solid #dfeaf5;
  border-radius: var(--bb-radius);
  overflow: hidden;
  display: grid;
  text-align: center;
  box-shadow: 0 8px 18px rgba(6, 42, 87, 0.07);
}

.bb-auction img {
  width: 100%;
  height: 70px;
  object-fit: cover;
}

.bb-auction strong {
  padding: 5px 7px 0;
  color: var(--bb-navy);
  font-size: 12px;
  font-weight: 900;
}

.bb-auction time {
  font-family: "Segoe UI", sans-serif;
  direction: ltr;
  color: var(--bb-navy);
  font-size: 19px;
  font-weight: 900;
}

.bb-auction span {
  color: var(--bb-navy);
  font-size: 13px;
  font-weight: 900;
}

.bb-news-list {
  display: grid;
  gap: 8px;
}

.bb-news-list a {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 12px;
  align-items: center;
  padding-bottom: 8px;
  border-bottom: 1px solid #edf2f7;
}

.bb-news-list a:last-child { border-bottom: 0; }

.bb-news-list img {
  width: 108px;
  height: 54px;
  object-fit: cover;
  border-radius: 6px;
}

.bb-news-list strong {
  color: var(--bb-navy);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.45;
}

.bb-news-list span {
  display: block;
  margin-top: 4px;
  color: #8794a3;
  font-size: 11px;
  font-weight: 700;
}

.bb-stats {
  min-height: 86px;
  background: linear-gradient(90deg, #00366d, #052a58 55%, #003b78);
  display: grid;
  grid-template-columns: 270px repeat(5, 1fr);
  align-items: center;
  padding: 0 calc((100vw - 1332px) / 2);
  color: #fff;
  overflow: hidden;
  direction: ltr;
}

.bb-stats > div {
  min-height: 52px;
  padding: 0 28px;
  border-left: 1px solid rgba(255,255,255,.13);
  display: grid;
  grid-template-columns: 44px 1fr;
  grid-template-rows: 1fr 1fr;
  align-items: center;
  column-gap: 12px;
  direction: rtl;
}

.bb-stats .bb-stats-brand {
  border-left: 0;
  display: flex;
  justify-content: center;
}

.bb-stats-brand img {
  width: 170px;
  filter: brightness(0) invert(1);
}

.bb-stats i {
  grid-row: 1 / span 2;
  color: #fff;
  font-size: 32px;
}

.bb-stats strong {
  font-size: 24px;
  font-weight: 900;
}

.bb-stats span {
  font-size: 13px;
  font-weight: 800;
}

@media (max-width: 1180px) {
  .bb-header-top {
    grid-template-columns: 220px 1fr;
    height: auto;
    padding-block: 12px;
  }
  .bb-header-actions {
    grid-column: 1 / -1;
    justify-content: center;
  }
  .bb-nav {
    height: auto;
  }
  .bb-nav-inner {
    overflow-x: auto;
    justify-content: flex-start;
  }
  .bb-nav a {
    flex: 0 0 auto;
    height: 43px;
  }
  .bb-hero-inner {
    grid-template-columns: 220px 1fr 260px;
    padding-inline: 56px;
  }
  .bb-category-strip,
  .bb-content-grid {
    padding-inline: 14px;
  }
  .bb-category-strip {
    grid-template-columns: repeat(3, 1fr);
  }
  .bb-content-grid {
    grid-template-columns: 1fr;
  }
  .bb-stats {
    grid-template-columns: repeat(3, 1fr);
    padding: 14px;
  }
  .bb-stats .bb-stats-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .bb-header-top {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .bb-logo,
  .bb-search {
    justify-self: center;
  }
  .bb-header-actions {
    gap: 12px;
    flex-wrap: wrap;
  }
  .bb-contact,
  .bb-divider {
    display: none;
  }
  .bb-hero {
    min-height: auto;
  }
  .bb-hero-inner {
    grid-template-columns: 1fr;
    padding: 28px 20px 48px;
    text-align: center;
  }
  .bb-hero-brand img {
    width: 150px;
    margin-inline: auto;
  }
  .bb-hero-bird {
    justify-self: center;
  }
  .bb-hero-bird img {
    width: 230px;
  }
  .bb-hero-copy h1 {
    font-size: 44px;
  }
  .bb-hero-lead {
    font-size: 22px;
  }
  .bb-hero-sub {
    font-size: 15px;
  }
  .bb-hero-actions {
    flex-direction: column;
    gap: 10px;
  }
  .bb-hero-arrow {
    display: none;
  }
  .bb-trust {
    height: auto;
    margin-inline: 14px;
    grid-template-columns: 1fr;
  }
  .bb-trust-item {
    border-left: 0;
    border-bottom: 1px solid var(--bb-border);
  }
  .bb-trust-item:last-child {
    border-bottom: 0;
  }
  .bb-category-strip {
    grid-template-columns: 1fr;
  }
  .bb-product-grid,
  .bb-auction-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bb-news-list a {
    grid-template-columns: 92px 1fr;
  }
  .bb-stats {
    grid-template-columns: 1fr;
  }
  .bb-stats > div {
    border-left: 0;
    border-bottom: 1px solid rgba(255,255,255,.12);
  }
}
