/* Header */
.bci-header-main {
  position: sticky;
  top: 0;
  z-index: 999;
  min-height: 82px;
  padding: 0;
  background: var(--bci-dark);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.09);
}

.admin-bar .bci-header-main {
  top: 32px;
}

.bci-header-main__inner {
  min-height: 82px;
  gap: 22px;
}

.bci-header-logo {
  flex: 0 0 198px;
  width: 198px;
  min-width: 0;
}

.bci-header-logo .bricks-site-logo {
  display: block;
  width: auto;
  max-width: 198px;
  height: 52px;
  object-fit: contain;
}

.bci-category-button {
  display: inline-flex;
  flex: 0 0 196px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 42px;
  padding: 0 22px;
  border-radius: var(--bci-radius-sm);
  background: var(--bci-primary);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background var(--bci-transition), transform var(--bci-transition);
}

.bci-category-button:hover {
  background: var(--bci-primary-hover);
  color: #fff;
  transform: translateY(-1px);
}

.bci-category-button > i {
  font-size: 18px;
  line-height: 1;
}

.bci-header-search {
  flex: 1 1 auto;
  min-width: 240px;
  max-width: 520px;
}

.bci-header-search form,
.bci-header-search .bricks-search-form {
  position: relative;
  display: flex;
  width: 100%;
}

.bci-header-search input[type="search"] {
  width: 100%;
  height: 42px;
  padding: 0 50px 0 15px;
  border: 1px solid transparent;
  border-radius: 8px;
  outline: 0;
  background: #fff;
  color: #30343a;
  font-size: 14px;
  font-weight: 400;
  box-shadow: none;
}

.bci-header-search input[type="search"]:focus {
  border-color: var(--bci-primary);
  box-shadow: 0 0 0 3px rgba(11, 122, 62, 0.13);
}

.bci-header-search button,
.bci-header-search .bricks-search-submit {
  position: absolute;
  top: 50%;
  right: 3px;
  display: grid;
  width: 38px;
  height: 36px;
  padding: 0;
  transform: translateY(-50%);
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--bci-primary);
  cursor: pointer;
}

.bci-header-utility {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 400;
  line-height: 1.1;
  text-decoration: none;
  white-space: nowrap;
}

.bci-header-utility:hover {
  color: #fff;
}

.bci-header-utility > i {
  width: 30px;
  flex: 0 0 30px;
  color: #fff;
  font-size: 28px;
  line-height: 1;
  text-align: center;
}

.bci-header-utility span:last-child {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.bci-header-utility strong {
  font-size: 14px;
  font-weight: 600;
}

.bci-header-utility small {
  color: #fff;
  font-size: 13px;
  font-weight: 400;
}

.bci-header-cart {
  flex: 0 0 46px;
  width: 46px;
  min-width: 46px;
  color: #fff;
}

.bci-header-cart .mini-cart-link {
  display: grid;
  width: 46px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 6px;
  color: #fff;
}

.bci-header-cart .cart-icon {
  position: relative;
}

.bci-header-cart .cart-icon > i {
  font-size: 21px;
}

.bci-header-cart .cart-count {
  position: absolute;
  top: -12px;
  right: -13px;
  display: grid !important;
  width: 20px;
  min-width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 999px;
  background: var(--bci-primary);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
}

.bci-header-benefits {
  padding: 16px 0;
  background: #fff;
}

.bci-header-benefits__inner {
  gap: 24px;
}

.bci-benefit-list {
  flex: 1 1 56%;
  min-width: 0;
  min-height: 62px;
  padding: 0 26px;
  border-radius: 8px;
  background: var(--bci-surface-soft);
}

.bci-benefit-item {
  display: inline-flex;
  flex: 1 1 0;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: #111;
  font-size: 15px;
  font-weight: 400;
  white-space: nowrap;
}

.bci-benefit-item + .bci-benefit-item {
  margin-left: 28px;
}

.bci-benefit-image {
  display: flex;
  width: 42px;
  max-width: 42px;
  height: auto;
  max-height: 42px;
  flex: 0 0 42px;
  align-items: center;
  justify-content: center;
}

.bci-benefit-image img,
img.bci-benefit-image {
  display: block;
  width: auto !important;
  max-width: 42px !important;
  height: auto !important;
  max-height: 42px !important;
  object-fit: contain !important;
}

.bci-benefit-text {
  width: auto;
  color: #111;
  font-weight: 400;
}

.bci-flash-sale-image {
  display: flex;
  flex: 1 1 44%;
  min-width: 0;
  min-height: 62px;
  margin: 0;
  overflow: hidden;
}

.bci-flash-sale-image > a,
.bci-flash-sale-image.tag {
  display: flex;
  width: 100%;
  height: 100%;
}

.bci-flash-sale-image img,
img.bci-flash-sale-image {
  display: block;
  width: 100% !important;
  height: auto !important;
  max-height: 62px;
  object-fit: cover !important;
  object-position: center !important;
  border-radius: 8px;
}

/* Footer */
.bci-footer {
  position: relative;
  padding: 46px 0 38px;
  border-top: 1px solid #f0f0f0;
  background: #fff;
  color: #50545a;
  font-weight: 400;
}

.bci-footer__inner {
  gap: 0;
}

.bci-footer-logo {
  width: 300px;
  max-width: 100%;
  margin-bottom: 30px;
}

.bci-footer-logo .bricks-site-logo {
  width: auto;
  max-width: 300px;
  height: 74px;
  object-fit: contain;
  object-position: left center;
}

.bci-footer-grid {
  width: 100%;
  gap: 54px;
}

.bci-footer-col {
  min-width: 0;
}

.bci-footer-company {
  flex: 1.2 1 0;
}

.bci-footer-policy {
  flex: 1.45 1 0;
}

.bci-footer-about {
  flex: 0.72 1 0;
}

.bci-footer-title {
  position: relative;
  margin: 0 0 18px;
  padding-bottom: 10px;
  color: #3f4348;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  text-transform: uppercase;
}

.bci-footer-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--bci-primary);
}

.bci-footer-company-info {
  color: #54585e;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.62;
}

.bci-footer-company-info p {
  margin: 0;
}

.bci-footer-company-info strong {
  font-weight: 600;
}

.bci-footer-menu {
  width: 100%;
}

.bci-footer-menu .bricks-nav-menu,
.bci-footer-menu .bricks-nav-menu > ul,
.bci-footer-menu ul {
  display: block !important;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bci-footer-menu li {
  display: block;
  margin: 0 0 9px;
  break-inside: avoid;
}

.bci-footer-menu a {
  display: inline;
  padding: 0 !important;
  color: #565b61;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
  text-decoration: none;
}

.bci-footer-menu a:hover {
  color: var(--bci-primary);
}

.bci-footer-menu--policy ul {
  columns: 2;
  column-gap: 42px;
}

.bci-footer-bottom {
  width: 100%;
  margin-top: 32px;
  padding-top: 30px;
  border-top: 1px solid var(--bci-border);
  gap: 32px;
}

.bci-footer-hours {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.bci-footer-hours-image {
  display: flex;
  width: 54px;
  max-width: 54px;
  flex: 0 0 54px;
  align-items: center;
  justify-content: center;
}

.bci-footer-hours-image img,
img.bci-footer-hours-image {
  display: block;
  width: auto !important;
  max-width: 54px !important;
  height: auto !important;
  max-height: 54px !important;
  object-fit: contain !important;
}

.bci-footer-hours-text {
  width: auto;
  color: #3e4349;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.55;
}

.bci-footer-hours-text strong {
  display: block;
  margin-bottom: 1px;
  font-weight: 400;
}

.bci-footer-hours-text b {
  color: #25292d;
  font-weight: 700;
}

.bci-footer-certificates {
  margin-left: auto;
  gap: 16px;
  justify-content: end;
}

.bci-footer-certificate {
  display: flex;
  width: auto;
  margin: 0;
  align-items: center;
  justify-content: center;
}

.bci-footer-certificate img,
img.bci-footer-certificate {
  display: block;
  width: auto !important;
  max-width: 190px !important;
  height: auto !important;
  max-height: 54px !important;
  object-fit: contain !important;
}

.bci-footer-certificate--gov img,
img.bci-footer-certificate--gov {
  max-width: 170px !important;
}

@media (max-width: 1199px) {
  .bci-header-main__inner {
    gap: 14px;
  }

  .bci-header-logo {
    flex-basis: 170px;
    width: 170px;
  }

  .bci-header-logo .bricks-site-logo {
    max-width: 170px;
  }

  .bci-category-button {
    flex-basis: 158px;
    padding-inline: 16px;
  }

  .bci-header-utility small {
    display: none;
  }

  .bci-header-benefits__inner {
    gap: 14px;
  }

  .bci-benefit-list {
    padding-inline: 18px;
  }

  .bci-benefit-item + .bci-benefit-item {
    margin-left: 16px;
  }
}

@media (max-width: 991px) {
  .admin-bar .bci-header-main {
    top: 46px;
  }

  .bci-header-main {
    min-height: auto;
  }

  .bci-header-main__inner {
    min-height: 72px;
    flex-wrap: wrap;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .bci-header-logo {
    flex: 0 0 170px;
  }

  .bci-category-button {
    order: 3;
    flex: 0 0 auto;
    min-height: 38px;
  }

  .bci-header-search {
    order: 4;
    flex: 1 1 55%;
    max-width: none;
  }

  .bci-header-showroom,
  .bci-header-info {
    margin-left: auto;
  }

  .bci-header-benefits__inner {
    flex-direction: column;
  }

  .bci-benefit-list,
  .bci-flash-sale-image {
    width: 100%;
    flex-basis: auto;
  }

  .bci-footer-grid {
    flex-wrap: wrap;
    gap: 34px;
  }

  .bci-footer-company {
    flex: 1 1 100%;
  }

  .bci-footer-policy {
    flex: 1 1 60%;
  }

  .bci-footer-about {
    flex: 1 1 30%;
  }
}

@media (max-width: 767px) {
  .bci-header-main,
  .admin-bar .bci-header-main {
    position: relative;
    top: auto;
  }

  .bci-header-main__inner {
    display: grid !important;
    grid-template-columns: 1fr auto;
    gap: 10px 12px;
  }

  .bci-header-logo {
    width: 148px;
    flex: none;
  }

  .bci-header-logo .bricks-site-logo {
    max-width: 148px;
    height: 45px;
  }

  .bci-header-showroom,
  .bci-header-info {
    display: none;
  }

  .bci-header-cart {
    grid-column: 2;
    grid-row: 1;
  }

  .bci-category-button {
    grid-column: 1;
    grid-row: 2;
    justify-self: start;
    min-height: 40px;
  }

  .bci-header-search {
    grid-column: 1 / -1;
    grid-row: 3;
    width: 100%;
    min-width: 0;
  }

  .bci-benefit-list {
    min-height: 54px;
    padding: 10px 14px;
    overflow-x: auto;
  }

  .bci-benefit-item {
    flex: 0 0 auto;
    font-size: 13px;
  }

  .bci-benefit-image,
  .bci-benefit-image img,
  img.bci-benefit-image {
    width: auto !important;
    max-width: 32px !important;
    height: auto !important;
    max-height: 32px !important;
    flex-basis: 32px;
  }

  .bci-flash-sale-image,
  .bci-flash-sale-image img,
  img.bci-flash-sale-image {
    min-height: 0;
    max-height: none;
    height: auto !important;
  }

  .bci-footer {
    padding-top: 34px;
    padding-bottom: 30px;
  }

  .bci-footer-logo {
    width: 235px;
    margin-bottom: 24px;
  }

  .bci-footer-logo .bricks-site-logo {
    max-width: 235px;
    height: 62px;
  }

  .bci-footer-grid {
    flex-direction: column;
    gap: 30px;
  }

  .bci-footer-policy,
  .bci-footer-about {
    flex-basis: auto;
    width: 100%;
  }

  .bci-footer-menu--policy ul {
    columns: 1;
  }

  .bci-footer-bottom {
    flex-direction: column;
    align-items: flex-start !important;
  }

  .bci-footer-certificates {
    margin-left: 0;
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .bci-header-benefits {
    padding-block: 10px;
  }

  .bci-benefit-list {
    gap: 18px;
  }

  .bci-benefit-item + .bci-benefit-item {
    margin-left: 0;
  }

  .bci-footer-certificate img,
  img.bci-footer-certificate {
    max-width: 150px !important;
  }
}
