:root {
  --bgjp-page-background: #efefef;
  --bgjp-surface: #ffffff;
  --bgjp-text: #1c1b1b;
  --bgjp-muted: #6a6a6a;
  --bgjp-border: rgba(28, 27, 27, 0.12);
  --bgjp-font-heading: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --bgjp-font-body: "Nunito Sans", "Helvetica Neue", Arial, sans-serif;
  --bgjp-page-width: 1480px;
  --bgjp-gutter: 24px;
}

body {
  background: var(--bgjp-page-background);
  color: var(--bgjp-text);
  font-family: var(--bgjp-font-body);
  font-size: 14px;
  letter-spacing: 0;
  margin: 0;
}

.bgjp-page {
  min-height: 100vh;
}

body.bgjp-lock-scroll {
  overflow: hidden;
}

.bgjp-container {
  width: min(100% - calc(var(--bgjp-gutter) * 2), var(--bgjp-page-width));
  margin-inline: auto;
}

.bgjp-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

[data-bgjp-drawer] {
  visibility: hidden;
}

html[data-bgjp-drawer] [data-bgjp-drawer] {
  visibility: visible;
}

.bgjp-announcement {
  background: var(--bgjp-text);
  color: var(--bgjp-surface);
  font-size: 11px;
  letter-spacing: 0.08em;
  padding: 10px 0;
  text-align: center;
  text-transform: uppercase;
}

.bgjp-header {
  background: var(--bgjp-surface);
  color: var(--bgjp-text);
  position: sticky;
  top: 0;
  z-index: 90;
  box-shadow: 0 1px 0 var(--bgjp-border);
}

.bgjp-header__bar {
  align-items: center;
  display: flex;
  gap: 28px;
  justify-content: space-between;
  min-height: 82px;
  padding-bottom: 18px;
  padding-top: 18px;
}

.bgjp-header__menu.bgjp-icon-button {
  display: none;
}

.bgjp-header__logo,
.bgjp-footer__logo {
  color: var(--bgjp-text);
  font-family: var(--bgjp-font-heading);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-decoration: none;
}

.bgjp-header__logo {
  flex: 0 0 auto;
  order: 2;
}

.bgjp-header__logo img {
  display: block;
  height: auto;
  max-height: 53px;
  width: min(200px, 42vw);
}

.bgjp-footer__logo img {
  display: block;
  height: auto;
  max-height: 44px;
  width: 180px;
}

.bgjp-header__nav {
  flex: 1 1 0;
  min-width: 0;
  order: 1;
  overflow: visible;
}

.bgjp-nav-list,
.bgjp-footer-list,
.bgjp-drawer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.bgjp-nav-list {
  display: flex;
  gap: 26px;
  min-width: 0;
  overflow: visible;
  white-space: nowrap;
}

.bgjp-nav-list__item {
  position: relative;
}

.bgjp-nav-list__link {
  display: inline-block;
  font-family: var(--bgjp-font-heading);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: 12px 0;
  text-transform: uppercase;
}

.bgjp-nav-list__link span {
  position: relative;
}

.bgjp-nav-list__link span::after {
  background: currentColor;
  bottom: -4px;
  content: "";
  height: 1px;
  left: 0;
  opacity: 0;
  position: absolute;
  transform: scaleX(0);
  transform-origin: left center;
  transition: opacity 160ms ease, transform 160ms ease;
  width: 100%;
}

.bgjp-nav-list__item:hover .bgjp-nav-list__link span::after,
.bgjp-nav-list__item:focus-within .bgjp-nav-list__link span::after {
  opacity: 1;
  transform: scaleX(1);
}

.bgjp-nav-list a,
.bgjp-footer-list a,
.bgjp-drawer-menu a {
  color: inherit;
  text-decoration: none;
}

.bgjp-dropdown-menu {
  background: var(--bgjp-surface);
  border-top: 1px solid var(--bgjp-border);
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.08);
  left: 50%;
  min-width: 260px;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: 100%;
  transform: translate(-50%, 8px);
  transition: opacity 160ms ease, transform 160ms ease;
  z-index: 100;
}

.bgjp-nav-list__item:hover .bgjp-dropdown-menu,
.bgjp-nav-list__item:focus-within .bgjp-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.bgjp-dropdown-menu__inner {
  padding: 22px 26px;
}

.bgjp-dropdown-menu ul {
  display: grid;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.bgjp-dropdown-menu a {
  color: var(--bgjp-muted);
  display: block;
  font-family: var(--bgjp-font-heading);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.bgjp-dropdown-menu li.has-children > a {
  color: var(--bgjp-text);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 4px;
}

.bgjp-dropdown-menu li ul {
  border-left: 1px solid var(--bgjp-border);
  gap: 8px;
  margin-top: 10px;
  padding-left: 14px;
}

.bgjp-header__actions {
  align-items: center;
  display: flex;
  flex: 1 1 0;
  gap: 18px;
  justify-content: flex-end;
  min-width: 0;
  order: 3;
}

.bgjp-icon-button {
  align-items: center;
  appearance: none;
  background: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  height: 36px;
  justify-content: center;
  text-decoration: none;
  width: 36px;
}

.bgjp-header-action {
  color: var(--bgjp-muted);
  display: inline-flex;
  font-family: var(--bgjp-font-heading);
  font-size: 11px;
  height: auto;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  width: auto;
}

.bgjp-action-glyph {
  display: none;
}

.bgjp-drawer {
  background: var(--bgjp-surface);
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.16);
  height: 100vh;
  left: 0;
  max-width: 420px;
  padding: 28px;
  position: fixed;
  top: 0;
  transform: translateX(-100%);
  transition: transform 180ms ease;
  width: min(86vw, 420px);
  z-index: 80;
}

html[data-bgjp-drawer="menu"] .bgjp-drawer--menu {
  transform: translateX(0);
}

html[data-bgjp-drawer="search"] .bgjp-drawer--search,
html[data-bgjp-drawer="wishlist"] .bgjp-drawer--wishlist,
html[data-bgjp-drawer="cart"] .bgjp-drawer--cart {
  left: auto;
  right: 0;
  transform: translateX(0);
}

.bgjp-drawer--search,
.bgjp-drawer--wishlist,
.bgjp-drawer--cart {
  left: auto;
  right: 0;
  transform: translateX(100%);
}

.bgjp-drawer__close {
  appearance: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 24px;
  margin-left: auto;
}

.bgjp-drawer-menu {
  display: block;
  margin-top: 32px;
}

.bgjp-drawer-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.bgjp-drawer-menu__item {
  border-bottom: 1px solid var(--bgjp-border);
}

.bgjp-drawer-menu__link,
.bgjp-drawer-menu__toggle {
  align-items: center;
  appearance: none;
  background: transparent;
  border: 0;
  color: var(--bgjp-text);
  cursor: pointer;
  display: flex;
  font: inherit;
  justify-content: space-between;
  min-height: 48px;
  padding: 0;
  text-align: left;
  text-decoration: none;
  width: 100%;
}

.bgjp-drawer-menu__toggle {
  font-family: var(--bgjp-font-heading);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bgjp-drawer-menu__link {
  color: var(--bgjp-muted);
  font-size: 13px;
}

.bgjp-drawer-menu__link--all {
  color: var(--bgjp-text);
  font-size: 12px;
}

.bgjp-drawer-menu__icon {
  height: 14px;
  position: relative;
  width: 14px;
}

.bgjp-drawer-menu__icon::before,
.bgjp-drawer-menu__icon::after {
  background: currentColor;
  content: "";
  left: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.bgjp-drawer-menu__icon::before {
  height: 1px;
  width: 14px;
}

.bgjp-drawer-menu__icon::after {
  height: 14px;
  left: 6.5px;
  width: 1px;
}

.bgjp-drawer-menu__toggle[aria-expanded="true"] .bgjp-drawer-menu__icon::after {
  display: none;
}

.bgjp-drawer-submenu {
  padding: 0 0 10px 18px;
}

.bgjp-drawer-submenu .bgjp-drawer-menu__item {
  border-bottom: 0;
}

.bgjp-drawer-submenu .bgjp-drawer-submenu {
  padding-left: 14px;
}

.bgjp-search-modal input {
  border: 0;
  border-bottom: 1px solid var(--bgjp-border);
  font-size: 20px;
  min-height: 56px;
  width: 100%;
}

.bgjp-search-results {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.bgjp-search-result,
.bgjp-drawer-item {
  align-items: center;
  color: inherit;
  display: grid;
  gap: 12px;
  grid-template-columns: 72px 1fr auto;
  text-decoration: none;
}

.bgjp-search-result img,
.bgjp-drawer-item img {
  background: var(--bgjp-page-background);
  display: block;
  width: 72px;
}

.bgjp-drawer-item button {
  appearance: none;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.bgjp-drawer-item small {
  color: var(--bgjp-muted);
  display: block;
}

.bgjp-drawer-item input {
  border: 1px solid var(--bgjp-border);
  margin-top: 8px;
  max-width: 72px;
  min-height: 32px;
}

.bgjp-cart-summary {
  border-top: 1px solid var(--bgjp-border);
  display: flex;
  justify-content: space-between;
  margin-top: 24px;
  padding-top: 18px;
}

.bgjp-cart-error {
  color: #a33;
}

.bgjp-slideshow {
  background: var(--bgjp-page-background);
  height: min(780px, calc(100vh - 82px));
  min-height: 560px;
  overflow: hidden;
  position: relative;
}

.bgjp-slide {
  inset: 0;
  opacity: 0;
  position: absolute;
  transition: opacity 360ms ease;
}

.bgjp-slide.is-active {
  opacity: 1;
  z-index: 1;
}

.bgjp-slide picture,
.bgjp-slide img,
.bgjp-slide__placeholder {
  display: block;
  height: 100%;
  width: 100%;
}

.bgjp-slide img {
  object-fit: cover;
  object-position: center center;
}

.bgjp-slide__placeholder {
  align-items: center;
  display: flex;
  font-family: var(--bgjp-font-heading);
  font-size: 38px;
  justify-content: center;
  letter-spacing: 0.16em;
}

.bgjp-slideshow__dots {
  bottom: 32px;
  display: flex;
  gap: 10px;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
  z-index: 2;
}

.bgjp-slideshow__dots span {
  background: var(--bgjp-text);
  border-radius: 999px;
  display: block;
  height: 6px;
  opacity: 0.35;
  width: 6px;
}

.bgjp-slideshow__dots .is-active {
  opacity: 1;
}

.bgjp-slideshow__scroll {
  bottom: 24px;
  color: var(--bgjp-text);
  position: absolute;
  right: 24px;
  text-decoration: none;
  z-index: 2;
}

.bgjp-section-heading {
  margin: 64px 0 32px;
  text-align: center;
}

@media (min-width: 900px) {
  body.home .bgjp-header {
    background: transparent;
    box-shadow: 0 -1px rgba(255, 255, 255, 0.32) inset;
    color: #ffffff;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
  }

  body.admin-bar.home .bgjp-header {
    top: 32px;
  }

  body.home .bgjp-header__bar {
    display: grid;
    gap: 0;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    grid-template-rows: 68px 46px;
    max-width: none;
    min-height: 132px;
    padding: 18px 64px 0;
    width: 100%;
  }

  body.home .bgjp-header__logo {
    align-self: start;
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
    margin: 0;
  }

  body.home .bgjp-header__logo img {
    width: 200px;
  }

  body.home .bgjp-header__actions {
    align-self: start;
    color: #ffffff;
    gap: 30px;
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    margin-top: 18px;
  }

  body.home .bgjp-header-action {
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.18em;
  }

  body.home .bgjp-header__nav {
    align-self: end;
    display: flex;
    grid-column: 1 / 4;
    grid-row: 2;
    justify-content: center;
    justify-self: center;
    max-width: var(--bgjp-page-width);
    width: 100%;
  }

  body.home .bgjp-nav-list {
    gap: clamp(28px, 3vw, 58px);
    justify-content: center;
    width: 100%;
  }

  body.home .bgjp-nav-list__link {
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.22em;
    min-height: 46px;
    padding: 9px 0 16px;
  }

  body.home .bgjp-dropdown-menu {
    color: var(--bgjp-text);
    top: calc(100% - 1px);
  }

  body.home .bgjp-slideshow {
    height: 100vh;
    min-height: 640px;
  }
}

.bgjp-section-heading p {
  color: var(--bgjp-muted);
  font-size: 11px;
  letter-spacing: 0.12em;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.bgjp-section-heading h2,
.bgjp-archive-header h1,
.bgjp-page-content h1,
.bgjp-article h1 {
  font-family: var(--bgjp-font-heading);
  font-weight: 500;
  margin: 0;
}

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

.bgjp-product-card a,
.bgjp-post-card a {
  color: inherit;
  display: block;
  text-align: center;
  text-decoration: none;
}

.bgjp-product-card__media {
  background: var(--bgjp-surface);
  display: block;
  aspect-ratio: 1 / 1;
  margin-bottom: 16px;
  overflow: hidden;
  width: 100%;
}

.bgjp-product-card__media img {
  height: auto;
  min-height: 100%;
  object-fit: contain;
  width: 100%;
}

.bgjp-post-card img {
  background: var(--bgjp-surface);
  display: block;
  height: auto;
  margin-bottom: 16px;
  width: 100%;
}

.bgjp-product-card__brand {
  color: var(--bgjp-muted);
  display: block;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.bgjp-product-card h3,
.bgjp-post-card h2,
.bgjp-post-card h3 {
  font-size: 14px;
  font-weight: 400;
  margin: 8px 0;
}

.bgjp-footer {
  background: var(--bgjp-surface);
  border-top: 1px solid var(--bgjp-border);
  margin-top: 80px;
  padding: 56px 0 28px;
}

.bgjp-footer__inner {
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr auto;
}

.bgjp-footer-list {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  justify-content: flex-end;
}

.bgjp-footer-list a {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bgjp-footer__aside {
  border-top: 1px solid var(--bgjp-border);
  color: var(--bgjp-muted);
  font-size: 11px;
  letter-spacing: 0.08em;
  margin-top: 42px;
  padding-top: 24px;
  text-transform: uppercase;
}

.bgjp-archive-header,
.bgjp-collection-header,
.bgjp-page-content,
.bgjp-article {
  padding-top: 72px;
}

.bgjp-article__inner,
.bgjp-page-content__inner {
  max-width: 860px;
}

.bgjp-article__content,
.bgjp-content {
  line-height: 1.9;
  margin-top: 32px;
}

.bgjp-post-card time,
.bgjp-article__header time {
  color: var(--bgjp-muted);
  display: block;
  font-size: 11px;
  letter-spacing: 0.1em;
  margin: 10px 0;
  text-transform: uppercase;
}

.bgjp-article__image img {
  display: block;
  height: auto;
  margin-top: 32px;
  width: 100%;
}

.bgjp-collection-header {
  text-align: center;
}

.bgjp-collection-header p {
  color: var(--bgjp-muted);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.bgjp-catalog {
  background: var(--bgjp-surface);
  padding: 48px 0 72px;
}

.bgjp-catalog__layout {
  display: grid;
  gap: 40px;
  grid-template-columns: 260px 1fr;
}

.bgjp-catalog__filters {
  color: var(--bgjp-text);
  font-size: 13px;
}

.bgjp-catalog__filters details {
  border-top: 1px solid var(--bgjp-border);
  padding: 18px 0;
}

.bgjp-catalog__filters summary {
  cursor: pointer;
  font-family: var(--bgjp-font-heading);
  text-transform: uppercase;
}

.bgjp-catalog__filters ul {
  color: var(--bgjp-muted);
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
}

.bgjp-catalog__filters li + li {
  margin-top: 8px;
}

.bgjp-catalog__toolbar {
  align-items: center;
  border-top: 1px solid var(--bgjp-border);
  border-bottom: 1px solid var(--bgjp-border);
  display: flex;
  justify-content: space-between;
  margin-bottom: 28px;
  min-height: 52px;
}

@media (min-width: 900px) {
  .bgjp-header__bar {
    display: grid;
    gap: 0;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    grid-template-rows: 68px 46px;
    max-width: none;
    min-height: 132px;
    padding: 18px 64px 0;
    width: 100%;
  }

  .bgjp-header__logo {
    align-self: start;
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
    margin: 0;
    order: initial;
  }

  .bgjp-header__actions {
    align-self: start;
    gap: 30px;
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    margin-top: 18px;
    order: initial;
  }

  .bgjp-header-action {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.18em;
  }

  .bgjp-header__nav {
    align-self: end;
    display: flex;
    grid-column: 1 / 4;
    grid-row: 2;
    justify-content: center;
    justify-self: center;
    max-width: var(--bgjp-page-width);
    order: initial;
    width: 100%;
  }

  .bgjp-nav-list {
    gap: clamp(28px, 3vw, 58px);
    justify-content: center;
    width: 100%;
  }

  .bgjp-nav-list__link {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.16em;
    min-height: 46px;
    padding: 9px 0 16px;
  }

  body.home .bgjp-header {
    background: transparent;
    box-shadow: 0 -1px rgba(255, 255, 255, 0.32) inset;
    color: #ffffff;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
  }

  body.admin-bar.home .bgjp-header {
    top: 32px;
  }

  body.home .bgjp-header__actions,
  body.home .bgjp-header-action,
  body.home .bgjp-nav-list__link {
    color: #ffffff;
  }

  body.home .bgjp-nav-list__link {
    letter-spacing: 0.22em;
  }

  body.home .bgjp-dropdown-menu {
    color: var(--bgjp-text);
    top: calc(100% - 1px);
  }

  body.home .bgjp-slideshow {
    height: 100vh;
    min-height: 640px;
  }
}

.bgjp-catalog__controls {
  align-items: center;
  display: flex;
  gap: 10px;
}

.bgjp-catalog__controls select,
.bgjp-catalog__controls button {
  background: transparent;
  border: 1px solid var(--bgjp-border);
  color: var(--bgjp-text);
  min-height: 36px;
}

.bgjp-catalog__controls button {
  cursor: pointer;
  min-width: 36px;
}

.bgjp-product-grid.is-compact {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.bgjp-product-card__swatches {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-top: 10px;
}

.bgjp-swatch {
  border: 1px solid var(--bgjp-border);
  border-radius: 999px;
  display: inline-block;
  height: 12px;
  width: 12px;
}

.bgjp-swatch--black { background: #111111; }
.bgjp-swatch--white { background: #ffffff; }
.bgjp-swatch--brown { background: #7a5138; }
.bgjp-swatch--beige { background: #d8c7aa; }
.bgjp-swatch--gray,
.bgjp-swatch--grey,
.bgjp-swatch--glay { background: #8b8b8b; }
.bgjp-swatch--blue { background: #2f6fb3; }
.bgjp-swatch--navy,
.bgjp-swatch--night-blue { background: #17233f; }
.bgjp-swatch--green { background: #34744a; }
.bgjp-swatch--red { background: #b93535; }
.bgjp-swatch--pink { background: #e6a9bd; }
.bgjp-swatch--purple,
.bgjp-swatch--parpul { background: #7656a8; }
.bgjp-swatch--yellow { background: #e5c84b; }
.bgjp-swatch--orange { background: #d87937; }
.bgjp-swatch--silver { background: #c7c7c7; }
.bgjp-swatch--gold { background: #c8a449; }
.bgjp-swatch--clear,
.bgjp-swatch--transparent { background: linear-gradient(135deg, transparent 0 45%, #d33 45% 55%, transparent 55%); }
.bgjp-swatch--multicolor,
.bgjp-swatch--multi,
.bgjp-swatch--multi-color { background: linear-gradient(90deg, #111 0 25%, #b93535 25% 50%, #2f6fb3 50% 75%, #e5c84b 75%); }

.bgjp-empty {
  color: var(--bgjp-muted);
  grid-column: 1 / -1;
  text-align: center;
}

.bgjp-product {
  padding-top: 72px;
}

.bgjp-product__layout {
  display: grid;
  gap: 56px;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
}

.bgjp-product-gallery__main {
  background: var(--bgjp-surface);
  position: relative;
}

.bgjp-product-gallery__main img {
  display: none;
  height: auto;
  width: 100%;
}

.bgjp-product-gallery__main img.is-active {
  display: block;
}

.bgjp-product-gallery__placeholder {
  align-items: center;
  aspect-ratio: 4 / 5;
  display: flex;
  justify-content: center;
  padding: 32px;
  text-align: center;
}

.bgjp-product-gallery__thumbs {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-top: 12px;
}

.bgjp-product-gallery__thumbs button {
  background: transparent;
  border: 1px solid var(--bgjp-border);
  cursor: pointer;
  padding: 0;
}

.bgjp-product-gallery__thumbs img {
  display: block;
  width: 100%;
}

.bgjp-product-meta__vendor {
  color: var(--bgjp-muted);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.bgjp-product-meta h1 {
  font-family: var(--bgjp-font-heading);
  font-size: 24px;
  font-weight: 500;
}

.bgjp-product-meta__price {
  font-size: 16px;
}

.bgjp-product-form {
  border-top: 1px solid var(--bgjp-border);
  display: grid;
  gap: 18px;
  margin-top: 28px;
  padding-top: 28px;
}

.bgjp-product-form__field {
  display: grid;
  gap: 8px;
}

.bgjp-product-form select,
.bgjp-product-form input {
  background: var(--bgjp-surface);
  border: 1px solid var(--bgjp-border);
  min-height: 44px;
  padding: 0 12px;
}

.bgjp-button {
  appearance: none;
  border: 1px solid var(--bgjp-text);
  cursor: pointer;
  min-height: 48px;
  padding: 0 18px;
}

.bgjp-button--primary {
  background: var(--bgjp-text);
  color: var(--bgjp-surface);
}

.bgjp-product-description {
  border-top: 1px solid var(--bgjp-border);
  margin-top: 32px;
}

.bgjp-product-description details {
  border-bottom: 1px solid var(--bgjp-border);
  padding: 18px 0;
}

.bgjp-product-description summary {
  cursor: pointer;
  font-family: var(--bgjp-font-heading);
}

@media (max-width: 899px) {
  .bgjp-header__bar {
    gap: 12px;
    justify-content: center;
    position: relative;
  }

  .bgjp-header__nav {
    display: none;
  }

  .bgjp-header__menu.bgjp-icon-button {
    display: inline-flex;
    left: 0;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
  }

  .bgjp-header__logo {
    left: 50%;
    position: absolute;
    transform: translateX(-50%);
  }

  .bgjp-header__logo img {
    max-height: 42px;
    width: min(180px, 48vw);
  }

  .bgjp-header__actions {
    display: grid;
    flex: 0 0 auto;
    gap: 0;
    grid-template-columns: repeat(3, 30px);
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
  }

  .bgjp-action-label {
    display: none;
  }

  .bgjp-action-glyph {
    display: block;
    font-size: 16px;
    line-height: 1;
  }

  .bgjp-header-action--search .bgjp-action-glyph {
    height: 16px;
    position: relative;
    width: 16px;
  }

  .bgjp-header-action--search .bgjp-action-glyph::before {
    border: 1.5px solid currentColor;
    border-radius: 50%;
    content: "";
    height: 9px;
    left: 1px;
    position: absolute;
    top: 1px;
    width: 9px;
  }

  .bgjp-header-action--search .bgjp-action-glyph::after {
    background: currentColor;
    content: "";
    height: 1.5px;
    left: 10px;
    position: absolute;
    top: 11px;
    transform: rotate(45deg);
    transform-origin: left center;
    width: 7px;
  }

  .bgjp-header-action--cart .bgjp-action-glyph {
    border: 1.5px solid currentColor;
    border-radius: 50%;
    height: 15px;
    width: 15px;
  }

  .bgjp-header-action {
    align-items: center;
    color: var(--bgjp-text);
    display: flex;
    font-family: inherit;
    font-size: 14px;
    height: 30px;
    justify-content: center;
    letter-spacing: 0;
    padding: 0;
    width: 30px;
  }

  .bgjp-header__actions .bgjp-header-action--account {
    display: none;
  }

  .bgjp-product-grid,
  .bgjp-post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bgjp-product-grid.is-compact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .bgjp-catalog__layout {
    grid-template-columns: 1fr;
  }

  .bgjp-product__layout {
    grid-template-columns: 1fr;
  }

  .bgjp-footer__inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 479px) {
  :root {
    --bgjp-gutter: 16px;
  }

  .bgjp-header__bar {
    gap: 8px;
    min-height: 64px;
  }

  .bgjp-header__menu {
    flex: 0 0 auto;
  }

  .bgjp-header__actions {
    grid-template-columns: repeat(3, 28px);
    margin-left: 0;
    right: 0;
  }

  .bgjp-header__logo img {
    max-height: 36px;
    width: min(136px, 38vw);
  }

  .bgjp-header-action {
    height: 28px;
    width: 28px;
  }

  .bgjp-icon-button {
    height: 30px;
    width: 30px;
  }

  .bgjp-slideshow {
    height: calc(100vh - 64px);
    min-height: 560px;
  }
}
