@font-face {
  font-family: "Gilroy-Extra Bold";
  src: url("../webfonts/gilroy-extrabold.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

body {
  background: #eef2f7 url("../images/bd-bg.webp") center / cover fixed no-repeat;
}

.rbs-hotkeys a {
  color: #221b16;
  text-decoration: none;
  font-weight: 600;
}

#menu-hotkey-menu::-webkit-scrollbar {
  display: none;
}

#menu-hotkey-menu li {
    display: flex;
    flex-wrap: wrap;
    text-align: center;
    justify-content: center;
    flex: 0 0 auto;
    margin: 0.5em;
}

.menu-icon--hotkey-menu {
  width: 50px !important;
  height: 50px !important;
  max-width: 50px !important;
  object-fit: contain;
}

.site-logo img {
  max-width: clamp(95px, 10vw, 120px);
  height: auto;
}

.head-menu .menu-icon--top-menu {
  width: 1.2em;
  height: 1.2em;
  object-fit: contain;
  margin-right: .35rem;
  filter: brightness(0) invert(1);
}

.header-search,
.menu-cart {
  color: #fff;
}

/* main.css applies :lang(en) globally after Font Awesome, so restore the icon font explicitly. */
.fa,
.fas,
.fa-solid {
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
}

.far,
.fa-regular {
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 400 !important;
}

.fab,
.fa-brands {
  font-family: "Font Awesome 6 Brands" !important;
  font-weight: 400 !important;
}

.head-menu .menu-auth-wrap {
  align-items: center;
  display: inline-flex;
  flex: 0 0 auto;
  gap: .55rem;
  min-width: 0;
  white-space: nowrap;
}

.head-menu .menu-user-link {
  align-items: center;
  color: #fff;
  display: inline-flex;
  gap: .4rem;
  font-weight: 600;
  min-height: 38px;
  min-width: 0;
  padding: 0 .15rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.head-menu .menu-user-link:hover,
.head-menu .menu-logout-button:hover {
  color: #fff;
  opacity: .86;
}

.head-menu .menu-user-link span {
  display: inline-block;
  max-width: 18ch;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: bottom;
  white-space: nowrap;
}

.head-menu .menu-logout-form {
  display: inline-flex;
  margin: 0;
}

.head-menu .menu-logout-button {
  background: transparent;
  border: 0;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  line-height: 1;
  padding: 0 .15rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.menu-cart .fa-solid,
.header-search .fa-solid,
.sb-btn .fa-solid {
  color: currentColor;
  line-height: 1;
}

.menu-title--hotkey-menu {
  display: grid;
  justify-items: center;
  gap: .35rem;
}

header .sb-overlay.is-desktop {
  z-index: 1;
  align-items: center;
}

header .sb-overlay.is-desktop .sb-container {
  min-height: 65px;
  padding-left: calc(5vw + clamp(95px, 10vw, 120px) + 1.5rem);
  padding-right: 1.25rem;
}

.rbs-hero {
  min-height: clamp(360px, 62vw, 720px);
  background: #111;
}

.rbs-hero .swiper-slide {
  position: relative;
  min-height: clamp(360px, 62vw, 720px);
}

.rbs-hero .swiper-slide > img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  opacity: .72;
}

.rbs-hero-copy {
  position: absolute;
  left: 50%;
  bottom: clamp(2rem, 8vw, 6rem);
  transform: translateX(-50%);
  color: #fff;
}

.rbs-hero-copy h1 {
  max-width: 820px;
  font-size: clamp(2rem, 5vw, 4.8rem);
  line-height: 1;
}

.rbs-hero-copy p {
  max-width: 580px;
  font-size: clamp(1rem, 2vw, 1.35rem);
}

.rbs-section-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding-block: clamp(2rem, 6vw, 5rem);
}

.rbs-info-card {
  display: block;
  min-height: 180px;
  padding: 1.5rem;
  border-radius: 8px;
  background: rgba(255,255,255,.94);
  color: #221b16;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(0,0,0,.08);
}

.rbs-info-card h2 {
  font-size: 1.35rem;
}

.rbs-page {
  margin-block: clamp(2rem, 6vw, 5rem);
  padding: clamp(1rem, 3vw, 2rem);
  background: rgba(255,255,255,.96);
  border-radius: 8px;
}

.rbs-static-page {
  padding-block: clamp(3rem, 7vw, 5.75rem);
}

.rbs-static-page__header {
  text-align: center;
  margin-bottom: clamp(1.25rem, 3vw, 2rem);
}

.rbs-static-page__title {
  margin: 0;
  color: #1f2430;
  font-family: "Gilroy-Extra Bold", "Montserrat", Arial, sans-serif;
  font-size: clamp(2rem, 4vw, 3.75rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
}

.rbs-static-page__content {
  overflow: hidden;
  max-width: 1040px;
  margin-inline: auto;
  padding: clamp(1.35rem, 3vw, 2.75rem);
  border: 1px solid rgba(220, 226, 237, .85);
  border-radius: 10px;
  background: rgba(255, 255, 255, .9);
  color: #4d5562;
  font-size: clamp(.95rem, 1.3vw, 1.05rem);
  line-height: 1.75;
}

.rbs-static-page__content > :last-child {
  margin-bottom: 0;
}

.rbs-archive {
  background: transparent;
  border-radius: 0;
}

.rbs-archive-filter {
  margin-block: 1.5rem;
}

.rbs-archive-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.rbs-content-grid {
  row-gap: 1.5rem;
}

.rbs-content-card {
  color: inherit;
  display: block;
  overflow: hidden;
  position: relative;
  text-decoration: none;
}

.rbs-content-card:hover {
  color: inherit;
}

.rbs-content-card .card {
  border-radius: 8px;
}

.rbs-content-card__image {
  display: block;
  overflow: hidden;
}

.rbs-content-card__image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: opacity .25s ease, filter .25s ease, transform .25s ease;
}

.rbs-content-card:hover .rbs-content-card__image img {
  transform: scale(1.015);
}

.rbs-content-card--past .rbs-content-card__image img {
  filter: grayscale(30%);
  opacity: .45;
}

.rbs-status-badge {
  position: absolute;
  top: 10px;
  right: 0;
  padding: 2% 10% 2% 5%;
  font-size: 100%;
  line-height: 1;
  font-weight: 600;
  color: #fff;
  border-radius: 1em 0 0 1em;
  z-index: 2;
}

.rbs-status-badge--green { background: #16a34a; }
.rbs-status-badge--yellow { background: #f59e0b; }
.rbs-status-badge--red { background: #dc2626; }

.rbs-mini-panel {
  overflow: hidden;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  background: #fff;
}

.rbs-content-card__body,
.rbs-mini-panel {
  padding: 1rem;
}

.rbs-meta {
  color: #6b625b;
  font-weight: 700;
}

.rbs-single-hero {
  max-height: 420px;
  margin-bottom: 1.5rem;
  border-radius: 8px;
}

.rbs-single-seminar {
  align-items: flex-start;
}

.rbs-single-seminar .post-content,
.rbs-single-seminar .semi-info {
  border-radius: 10px;
  background-color: #fff;
  box-shadow: 0 0 10px rgb(0 0 0 / 20%);
}

.rbs-single-seminar .post-content {
  padding: 4em 3% 3%;
  position: relative;
}

.rbs-single-seminar .semi-info {
  display: flex;
  margin: 1em 0;
  padding: 2%;
}

.rbs-seminar-featured {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 16px 38px rgba(34, 27, 22, .12);
}

.rbs-seminar-date-box {
  color: var(--primary-colour);
  line-height: 1;
  text-align: center;
}

.rbs-seminar-date-box span.d-day {
  display: inline;
  font-size: clamp(1rem, 7vw, 2rem);
  font-weight: bold;
  line-height: 1;
}

.rbs-seminar-date-box .d-num {
  font-size: inherit;
  font-weight: inherit;
}

.rbs-seminar-date-box .d-suf {
  font-size: clamp(1rem, 1vw, 1.8rem);
  font-weight: bold;
  line-height: 0;
  position: relative;
  top: -.35em;
}

.rbs-seminar-date-box .dash {
  display: inline;
  font-size: inherit;
  font-weight: bold;
  margin-inline: .1em;
  vertical-align: baseline;
}

.rbs-seminar-date-box .d-month,
.rbs-seminar-date-box .d-year {
  display: inline-block;
  font-size: clamp(1rem, 1vw, 2rem);
  font-weight: bold;
  line-height: 1;
  text-transform: uppercase;
}

.rbs-seminar-date-box .d-dow {
  display: inline-block;
  font-size: clamp(.85rem, .9vw, 1rem);
  font-weight: bold;
  line-height: 1.1;
  margin-top: .3em;
  text-transform: uppercase;
}

.rbs-single-seminar .category-tag {
    display: inline-block;
    margin-bottom: .75rem;
    padding: .35rem 2rem;
    background: var(--primary-colour);
    color: #fff;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.rbs-single-seminar .entry-content img,
.rbs-single-promotion .entry-content img,
.rbs-static-page .entry-content img {
  max-width: 100%;
  height: auto;
}

.saf-form .saf-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.saf-form label {
  display: grid;
  gap: .35rem;
  font-size: .9rem;
  font-weight: 700;
}

.saf-form input,
.saf-form select,
.saf-form textarea {
  font-weight: 400;
}

.saf-form .saf-field-wide {
  grid-column: 1 / -1;
}

.rbs-seminar-rep-toggle {
  align-self: end;
  display: flex;
  align-items: center;
  gap: .5rem;
  min-height: 40px;
}

.saf-form .rbs-seminar-rep-toggle label {
  display: inline;
  margin: 0;
  font-weight: 700;
}

.rbs-seminar-payment {
  display: grid;
  gap: .85rem;
  padding: 1rem;
  border: 1px solid #e1e5eb;
  border-radius: 8px;
  background: #f7f8fa;
}

.rbs-seminar-payment h6 {
  margin: 0;
  font-size: .95rem;
  font-weight: 800;
  text-align: center;
}

.rbs-seminar-payment__grid {
  display: grid;
  grid-template-columns: minmax(180px, 280px) minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.rbs-seminar-payment__qr {
  position: relative;
  display: grid;
  justify-items: center;
  gap: .45rem;
  text-align: center;
  color: #68707a;
  font-size: .85rem;
}

.rbs-seminar-payment__qr img {
  width: min(100%, 280px);
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border: 1px solid #e1e5eb;
  border-radius: 8px;
  background: #fff;
}

.rbs-seminar-payment__qr .btn {
  position: absolute;
  top: .45rem;
  right: .45rem;
}

.rbs-seminar-payment__bank {
  display: grid;
  gap: .75rem;
  padding: 1rem;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(17, 24, 39, .06);
}

.rbs-seminar-payment__bank h6 {
  text-align: left;
}

.rbs-seminar-payment__bank dl {
  display: grid;
  gap: .6rem;
  margin: 0;
}

.rbs-seminar-payment__bank dl > div {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: .75rem;
  align-items: start;
  padding-bottom: .6rem;
  border-bottom: 1px solid #edf0f3;
}

.rbs-seminar-payment__bank dl > div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.rbs-seminar-payment__bank dt {
  font-weight: 800;
}

.rbs-seminar-payment__bank dd {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem;
  min-width: 0;
  margin: 0;
  word-break: break-word;
}

.rbs-seminar-payment__bank p {
  margin: 0;
  color: #68707a;
  font-size: .85rem;
}

@media (max-width: 700px) {
  .saf-form .saf-grid {
    grid-template-columns: 1fr;
  }

  .rbs-seminar-payment__grid,
  .rbs-seminar-payment__bank dl > div {
    grid-template-columns: 1fr;
  }
}

.rbs-promotion-slider,
.rbs-promotion-archive-slider,
.rbs-promotion-hero {
  overflow: hidden;
  background: #111;
}

.rbs-promotion-hero {
  width: 100%;
  aspect-ratio: 16 / 5;
}

.rbs-promotion-slider .swiper-wrapper,
.rbs-promotion-slider .swiper-slide,
.rbs-promotion-slider .slide-content {
  width: 100%;
  height: 100%;
}

.rbs-promotion-slider .slide-content > img,
.rbs-promotion-hero img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.rbs-promotion-archive-slider img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rbs-promotion-slider .swiper-slide,
.rbs-promotion-slider .slide-content {
  position: relative;
}

.rbs-promotion-slider .slide-caption {
  position: absolute;
  left: 50%;
  bottom: clamp(1.5rem, 5vw, 4rem);
  width: min(900px, calc(100% - 2rem));
  transform: translateX(-50%);
  color: #fff;
  text-shadow: 0 2px 18px rgba(0,0,0,.45);
}

@media (max-width: 767px) {
  .rbs-promotion-hero {
    aspect-ratio: 15 / 8;
  }
}

.rbs-featured-object-strip {
  padding: 1% 5% 2%;
}

.rbs-featured-object {
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(34, 27, 22, .08);
}

.rbs-featured-object img {
  max-width: 100px;
  margin-top: -2em;
  border-radius: 50%;
}

.rbs-promotion-content {
  border-radius: 18px 18px 0 0;
  background: linear-gradient(0deg, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 90%, rgba(200,200,200,1) 100%);
}

.rbs-price-row {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin: 1rem 0;
}

.rbs-price-row span,
.rbs-product-price {
  display: inline-block;
  padding: .5rem .75rem;
  border-radius: 8px;
  background: #f6efe8;
}

.rbs-product-layout {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(280px, 1fr);
  gap: 2rem;
}

.rbs-product-detail__gallery {
  display: grid;
  gap: .85rem;
  align-content: start;
}

.rbs-product-detail__image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  background: #f1f3f5;
}

.rbs-product-detail__image--placeholder {
  display: grid;
  place-items: center;
  color: #68707a;
  font-weight: 700;
}

.rbs-product-detail__thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
  gap: .55rem;
}

.rbs-product-detail__thumbs button {
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  background: transparent;
  overflow: hidden;
}

.rbs-product-detail__thumbs button.is-active {
  border-color: #d2ac2b;
}

.rbs-product-detail__thumbs img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.menu-cart {
  position: relative;
}

.menu-cart__count {
  position: absolute;
  top: -.45rem;
  right: -.55rem;
  min-width: 1.15rem;
  padding: .05rem .3rem;
  border-radius: 999px;
  background: #d2ac2b;
  color: #111;
  font-size: .68rem;
  font-weight: 800;
  line-height: 1.1rem;
  text-align: center;
}

.rbs-product-cart-form,
.rbs-checkout-panel,
.rbs-cart,
.rbs-shop-empty {
  display: grid;
  gap: .85rem;
}

.rbs-product-cart-form {
  margin-top: 1rem;
  max-width: 420px;
}

.rbs-product-cart-form label,
.rbs-checkout label {
  display: grid;
  gap: .32rem;
  font-weight: 700;
}

.rbs-product-cart-form input,
.rbs-product-cart-form select,
.rbs-checkout input,
.rbs-checkout select,
.rbs-checkout textarea,
.rbs-cart input {
  width: 100%;
  border: 1px solid #d9dee5;
  border-radius: 8px;
  padding: .68rem .75rem;
  font: inherit;
}

.rbs-cart-item {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) 100px 120px auto;
  gap: .85rem;
  align-items: center;
  padding: .85rem;
  border: 1px solid #e4e7ec;
  border-radius: 8px;
  background: #fff;
}

.rbs-cart-item img {
  width: 96px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
}

.rbs-cart-item h2 {
  margin: 0;
  font-size: 1rem;
}

.rbs-cart-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: .85rem;
  padding: 1rem;
  border-radius: 8px;
  background: #f7f8fa;
}

.rbs-checkout {
  display: grid;
  gap: 24px;
  align-items: stretch;
}

.rbs-checkout-panel {
  padding: 1rem;
  border: 1px solid #e4e7ec;
  border-radius: 8px;
  background: #fff;
}

.rbs-checkout-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
}

.rbs-checkout-wide {
  grid-column: 1 / -1;
}

.rbs-checkout-line,
.rbs-checkout-total,
.rbs-bank-box div {
  display: flex;
  justify-content: space-between;
  gap: .8rem;
}

.rbs-checkout-total {
  padding-top: .75rem;
  border-top: 1px solid #e4e7ec;
  font-size: 1.05rem;
}

.rbs-bank-box {
  display: grid;
  gap: .35rem;
  padding: .75rem;
  border-radius: 8px;
  background: #f7f8fa;
}

.rbs-bank-box__qr {
  width: min(180px, 100%);
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 6px;
  background: #fff;
  border: 1px solid #e4e7ec;
  padding: .4rem;
}

.rbs-shop-maintenance {
  align-items: center;
}

.rbs-maintenance-page {
  min-height: min(72vh, 720px);
  display: grid;
  place-items: center;
  padding: clamp(3rem, 8vw, 6rem) 1rem;
  background:
    linear-gradient(135deg, rgba(255,255,255,.72), rgba(232,238,247,.86)),
    url("../images/bd-bg.webp") center/cover no-repeat;
}

.rbs-maintenance-panel {
  width: min(100%, 760px);
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid rgba(208, 215, 228, .9);
  border-radius: 8px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 18px 50px rgba(31, 36, 48, .12);
  text-align: center;
}

.rbs-maintenance-eyebrow {
  margin: 0 0 .65rem;
  color: var(--primary-colour);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.rbs-maintenance-panel h1 {
  margin: 0;
  color: #1f2430;
  font-family: "Gilroy-Extra Bold", "Montserrat", Arial, sans-serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.05;
  text-transform: uppercase;
}

.rbs-maintenance-panel p:not(.rbs-maintenance-eyebrow) {
  max-width: 580px;
  margin: 1rem auto 1.4rem;
  color: #4d5562;
  font-size: 1.05rem;
  line-height: 1.65;
}

.rbs-auth-page {
  min-height: 60vh;
  display: grid;
  place-items: center;
  padding: 3rem 1rem;
  background: #f7f8fa;
}

.rbs-auth-card {
  width: min(100%, 460px);
  display: grid;
  gap: 1rem;
  padding: 1.35rem;
  border: 1px solid #e4e7ec;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 35px rgba(15, 23, 42, .08);
}

.rbs-auth-eyebrow {
  color: var(--primary-colour);
  display: inline-block;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .12em;
  margin-bottom: .1rem;
  text-transform: uppercase;
}

.rbs-auth-card h1 {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2.2rem);
}

.rbs-auth-form {
  display: grid;
  gap: .85rem;
}

.rbs-auth-form label {
  display: grid;
  gap: .35rem;
  font-weight: 700;
}

.rbs-auth-form input {
  width: 100%;
  border: 1px solid #d9dee5;
  border-radius: 8px;
  padding: .72rem .82rem;
  font: inherit;
}

.rbs-account-list {
  display: grid;
  gap: .55rem;
}

.rbs-account-list div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: .55rem;
  border-bottom: 1px solid #eef0f3;
}

.rbs-account-list span {
  color: #667085;
  font-weight: 600;
}

.rbs-shop {
  min-height: 60vh;
}

.rbs-custom-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.rbs-field {
  display: grid;
  gap: .35rem;
  font-weight: 700;
}

.rbs-field input,
.rbs-field select,
.rbs-field textarea {
  width: 100%;
  padding: .75rem;
  border: 1px solid #d8d2cc;
  border-radius: 8px;
  font: inherit;
}

.rbs-custom-form .rbs-mini-panel,
.rbs-custom-form button {
  grid-column: 1 / -1;
}

.rbs-refer-page {
  max-width: 1140px;
  min-height: calc(100vh - 130px);
}

.rbs-refer-page h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: #071d3a;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.rbs-refer-page .card {
  border-radius: 12px;
}

.rbs-refer-page .shadow-sm {
  box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075) !important;
}

.rbs-refer-login {
  background-color: #fdfbd4;
}

.rbs-refer-login .card-body {
  padding: 1rem;
}

.rbs-refer-login h2 {
  font-size: 1.1rem;
  font-weight: 500;
}

.rbs-refer-page .form-label {
  display: block;
  margin-bottom: .25rem;
  font-weight: 400 !important;
}

.rbs-refer-page .form-control,
.rbs-refer-page .form-select {
  width: 100%;
  min-height: 38px;
  padding: .375rem .75rem;
  border: 1px solid #ced4da;
  border-radius: .375rem;
  background-color: #fff;
  color: #212529;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  box-shadow: none;
}

.rbs-refer-page textarea.form-control {
  min-height: 86px;
}

.rbs-refer-page .form-control:focus,
.rbs-refer-page .form-select:focus {
  border-color: #86b7fe;
  outline: 0;
  box-shadow: 0 0 0 .25rem rgba(13, 110, 253, .25);
}

.rbs-refer-page .form-control[readonly] {
  background-color: #f8f9fa;
}

.rbs-refer-page .form-text,
.rbs-refer-page .text-muted {
  color: #6c757d !important;
}

.rbs-refer-form.rbs-custom-form {
  display: block;
  padding: 1.25rem;
}

.rbs-refer-login-row {
  margin-top: .25rem;
}

.rbs-refer-login-row a {
  color: #111;
  font-size: .95rem;
  text-decoration: none;
}

.rbs-refer-login-row a:hover {
  text-decoration: underline;
}

.rbs-refer-copy {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.rbs-refer-copy h5 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #111827;
}

.rbs-refer-copy p {
  margin: .35rem 0 1.25rem;
  color: #1f2933;
  font-size: 1.18rem;
  line-height: 1.45;
}

.rbs-refer-copy a {
  color: #000;
  font-size: 1rem;
}

.rbs-refer-checks legend {
  float: none;
  width: auto;
  font-size: 1rem;
}

.rbs-refer-page .form-check {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  min-height: 1.5rem;
  margin-bottom: 0;
  font-weight: 400;
}

.rbs-refer-page .form-check-input {
  flex: 0 0 auto;
  width: 1em;
  height: 1em;
  margin-top: .25em;
  border: 1px solid rgba(0, 0, 0, .25);
}

.rbs-refer-page .btn {
  border-radius: 10px;
  padding: .6rem 1rem;
}

.rbs-refer-page .btn-dark {
  background-color: #212529;
  border-color: #212529;
  color: #fff;
}

.rbs-refer-page .alert {
  border-radius: .375rem;
}

body:has(.rbs-refer-page) {
  background: #eef2f8 url("/assets/images/bd-bg.webp") center top / cover fixed no-repeat;
}

.vm-hb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}

.vm-hb-card {
  overflow: hidden;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  background: #fff;
}

.vm-hb-thumb {
  min-height: 260px;
  display: grid;
  place-items: center;
  background: #f4f4f4;
}

.vm-hb-meta {
  padding: 1rem;
  text-align: center;
}

.rbs-footer-logo {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(7rem, 15vw, 9rem);
}

.rbs-wa-float {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 20;
}

.rbs-wa-float .cb-contact-icon {
  background: #4fce5d;
}

.rbs-front-page {
  max-width: 100%;
  overflow-x: hidden;
  background: #fff;
}

.rbs-front-page .swiper,
.rbs-front-page .swiper-wrapper {
  max-width: 100%;
}

#frontpage-slideshow img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

#frontpage-slideshow {
  overflow: hidden;
  background: #f6f3ef;
}

#frontpage-slideshow .slide-content {
  width: 100%;
  height: 100%;
}

#frontpage-slideshow .slide-content > a {
  display: block;
  width: 100%;
  height: 100%;
}

.rbs-front-widgets {
  display: block;
  padding: 0 0 clamp(2rem, 5vw, 4rem);
}

.rbs-front-widget {
  width: 100%;
  overflow: hidden;
}

.rbs-widget-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.rbs-widget-head h2 {
  margin: 0;
  font-size: clamp(1.45rem, 2vw, 2.25rem);
}

.rbs-widget-head a {
  color: var(--primary-colour);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.rbs-content-card h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.35;
}

.rbs-content-card .ratio img {
  height: 100%;
}

.filw-view-archive-link {
  display: block;
  margin-top: 1rem;
  color: var(--primary-colour);
  text-align: center;
  text-decoration: none;
}

.filw-swiper {
  max-width: min(1500px, 94vw);
  margin-inline: auto;
  padding-bottom: 3.75rem;
}

.filw-swiper .swiper-wrapper {
  align-items: stretch;
}

.filw-swiper .swiper-slide {
  height: auto;
  overflow: hidden;
  border: 1px solid #eee;
  border-radius: 12px;
  background: #fff;
}

.filw-swiper .swiper-slide::after {
  content: "\f061";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
}

.filw-item,
.filw-thumb {
  display: block;
  width: 100%;
}

.filw-thumb {
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
  transition: transform .25s ease;
}

.filw-item:hover .filw-thumb {
  transform: scale(1.04);
}

.rbs-front-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.rbs-front-image-card {
  display: block;
  overflow: hidden;
  border: 1px solid #eee;
  border-radius: 8px;
  background: #fff;
  color: inherit;
  text-decoration: none;
}

.rbs-front-image-card:hover {
  color: inherit;
}

.rbs-front-image-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.rbs-front-image-card div {
  padding: 1rem;
}

.rbs-front-image-card p {
  margin: 0 0 .5rem;
  color: var(--primary-colour);
}

.rbs-front-image-card h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.35;
}

.rbs-front-widget--services .our-services-container {
  width: calc(100% - 2rem);
  max-width: 1500px;
  margin: 5em auto;
}

.rbs-front-widget--services .widget-title {
  width: 100%;
}

.vx-cc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 1200px;
}

.vx-cc-link {
  display: flex;
  align-items: stretch;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 18px;
  background: #eee;
  color: inherit;
  text-decoration: none;
}

.vx-cc-link:hover {
  color: inherit;
}

.vx-cc-link:nth-child(3n+1) {
  background: linear-gradient(0deg, var(--primary-colour) 0%, #8c731c 100%);
  color: #fff;
}

.vx-cc-media {
  display: block;
  width: 50%;
  overflow: hidden;
}

.vx-cc-body {
  width: 50%;
  min-width: 0;
  margin: auto 0;
  padding: 3%;
}

.vx-cc-img,
.vx-cc-fallback {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.vx-cc-fallback {
  background: #e5e7eb;
}

.vx-cc-title {
  margin: 0;
  font-size: clamp(1.2rem, 1.2vw, 3rem);
  line-height: 1.25;
}

.rbs-benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.rbs-benefit-card {
  display: grid;
  grid-template-columns: 56px 1fr;
  align-items: center;
  gap: 1rem;
  min-height: 116px;
  padding: 1.25rem;
  border: 1px solid #ece6df;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(34, 27, 22, .06);
}

.rbs-benefit-card img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.rbs-benefit-card p {
  margin: 0;
  color: #302820;
  font-weight: 600;
  line-height: 1.35;
}

.rbs-video-panel {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 96px;
  padding: 1.25rem;
  border: 1px solid #ece6df;
  border-radius: 8px;
  background: #f8f6f2;
  color: #302820;
  font-weight: 700;
}

.rbs-video-panel i {
  color: #dc2626;
  font-size: 2.5rem;
}

.vx-yt-ratio {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
}

.vx-yt-ratio iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.rbs-video-thumbs {
  margin-top: 1rem;
  max-width: 100%;
  overflow: hidden;
}

.rbs-video-thumb {
  display: block;
  width: 100%;
  overflow: hidden;
  padding: 0;
  border: none;
  border-radius: 8px;
  background: #fff;
  color: #221b16;
  text-align: left;
}

.rbs-video-thumb img,
.rbs-video-thumb span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #e9e9e9;
  object-fit: cover;
  text-align: center;
}

.rbs-video-thumb strong {
  display: block;
  padding: .75rem;
  font-size: .9rem;
  line-height: 1.3;
}

.carouselSwiper {
  max-width: min(1200px, 94vw);
  margin-inline: auto;
  padding-bottom: 2.25rem;
}

.carouselSwiper .swiper-slide {
  height: 110px;
  padding: 1rem;
  border: 1px solid #ece6df;
  border-radius: 8px;
  background: #fff;
}

.rbs-partner-strip,
.rbs-partner-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  align-items: center;
}

.rbs-partner-strip img,
.rbs-partner-grid img {
  width: 100%;
  max-height: 92px;
  object-fit: contain;
  padding: 1rem;
  border: 1px solid #ece6df;
  border-radius: 8px;
  background: #fff;
}

@media (max-width: 1200px) {
  header {
    align-items: center;
    gap: 1rem;
    z-index: 100;
  }

  header .logo-tag {
    flex: 1 1 auto;
    width: auto;
  }

}

@media (max-width: 767px) {
  .head-menu.mobile-only.rbs-mobile-top-nav {
    position: sticky;
    top: 0;
    z-index: 1100;
    display: flex !important;
    width: 100%;
    min-height: 52px;
    padding: 0 .65rem;
    gap: .45rem;
    justify-content: space-between;
    overflow-x: auto;
    overflow-y: hidden;
    background: var(--secondary-colour);
    box-shadow: 0 4px 16px rgba(0, 0, 0, .14);
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
  }

  .head-menu.mobile-only.rbs-mobile-top-nav::-webkit-scrollbar {
    display: none;
  }

  .head-menu.mobile-only.rbs-mobile-top-nav a,
  .head-menu.mobile-only.rbs-mobile-top-nav .menu-auth-wrap,
  .head-menu.mobile-only.rbs-mobile-top-nav .menu-login-wrap,
  .head-menu.mobile-only.rbs-mobile-top-nav .header-search {
    flex: 0 0 auto;
  }

  .head-menu.mobile-only.rbs-mobile-top-nav a {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    min-height: 52px;
    padding: 0 .45rem;
    color: #fff;
    font-size: .88rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
  }

  .head-menu.mobile-only.rbs-mobile-top-nav .menu-auth-wrap {
    min-height: 52px;
  }

  .head-menu.mobile-only.rbs-mobile-top-nav .menu-user-link {
    font-size: .88rem;
    min-height: 52px;
    padding: 0 .35rem;
  }

  .head-menu.mobile-only.rbs-mobile-top-nav .menu-user-link span {
    max-width: min(36vw, 16ch);
  }

  .head-menu.mobile-only.rbs-mobile-top-nav .menu-logout-button {
    font-size: .88rem;
  }

  .head-menu.mobile-only.rbs-mobile-top-nav .menu-cart {
    min-height: 38px;
    padding: 0;
  }

  .head-menu.mobile-only.rbs-mobile-top-nav .header-search {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-left: .1rem;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
  }

  .head-menu.mobile-only.rbs-mobile-top-nav .menu-icon--top-menu {
    width: 1em;
    height: 1em;
    margin-right: 0;
  }

  .sb-overlay.is-mobile {
    position: fixed !important;
    inset: 0 0 auto 0 !important;
    z-index: 1200;
    width: 100%;
    height: 52px;
    min-height: 52px;
    align-items: center;
    background: var(--secondary-colour);
    box-shadow: 0 4px 16px rgba(0, 0, 0, .16);
  }

  .sb-overlay.is-mobile .sb-container {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0 .65rem;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: .45rem;
    align-items: center;
  }

  .sb-overlay.is-mobile .sb-field {
    height: 40px;
    padding: 0 .7rem 0 1rem;
  }

  .sb-overlay.is-mobile .sb-btn {
    width: 40px;
    height: 40px;
    padding: 0;
  }

  .sb-overlay.is-mobile .sb-close {
    width: 40px;
    height: 40px;
    border-width: 1px;
    font-size: 18px;
    line-height: 1;
  }

  .rbs-hotkeys {
    padding-block: .45rem !important;
  }

  #menu-hotkey-menu.menu {
    width: 100%;
    max-width: 100%;
    margin: 0;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    list-style: none;
    padding: 0;
    touch-action: pan-x;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
  }

  #menu-hotkey-menu::-webkit-scrollbar {
    display: none;
  }

  #menu-hotkey-menu.menu > li.menu-item {
    width: clamp(82px, 25vw, 112px) !important;
    min-width: clamp(82px, 25vw, 112px);
    margin: 0;
    display: flex;
    justify-content: center;
    flex: 0 0 clamp(82px, 25vw, 112px) !important;
  }

  #menu-hotkey-menu.menu > li.menu-item > a {
    width: 100%;
    display: grid;
    place-items: center;
    min-height: 86px;
    padding: .25rem .2rem;
    border-radius: 8px;
  }

  #menu-hotkey-menu .menu-icon--hotkey-menu {
    width: 42px !important;
    height: 42px !important;
    max-width: 42px !important;
    object-fit: contain;
  }

  #menu-hotkey-menu .menu-label--hotkey-menu {
    font-size: .76rem;
    line-height: 1.15;
  }
}

@media (max-width: 900px) {

  .rbs-section-grid {
    grid-template-columns: 1fr;
  }

  .rbs-product-layout,
  .rbs-cart-item,
  .rbs-checkout,
  .rbs-checkout-grid,
  .rbs-custom-form {
    grid-template-columns: 1fr;
  }

  .rbs-widget-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .rbs-benefit-grid,
  .rbs-video-grid,
  .rbs-video-thumbs,
  .rbs-partner-strip,
  .rbs-partner-grid,
  .rbs-front-card-grid {
    grid-template-columns: 1fr;
  }

  .vx-cc-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .vx-cc-link {
    border-radius: 0;
  }

  .vx-cc-grid > .vx-cc-link:first-child {
    border-radius: 18px 18px 0 0;
  }

  .vx-cc-grid > .vx-cc-link:last-child {
    border-radius: 0 0 18px 18px;
  }

  .vx-cc-link:nth-child(2n+1) {
    flex-direction: row-reverse;
    background: linear-gradient(0deg, var(--primary-colour) 0%, #8c731c 100%);
    color: #fff;
  }

  .rbs-benefit-card {
    grid-template-columns: 48px 1fr;
  }
}
