/* =========================================
   HOMEPAGE: KIOSK & GIFT VOUCHER
========================================= */

.bb-home-kiosk-voucher {
  --bb-voucher-terracotta: #a64f24;
  --bb-voucher-background: #c9c8c0;
  --bb-voucher-text: #000;
  --bb-voucher-light: #fff;

  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center; /* Changed from stretch to center vertical weight */
  background: var(--bb-voucher-background);
  overflow: hidden;
  position: relative;
  width: 100%;
}

/* KIOSK COLUMN */

.bb-home-kiosk {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 20px 24px; /* Reduced vertical padding */
  text-align: center;
  color: var(--bb-voucher-text);
}

.bb-home-kiosk__top-heading {
  font-weight: 600;
  margin: 0 0 12px;
}

.bb-home-kiosk__image {
  width: 100%;
  margin-bottom: 16px; /* Reduced from 30px */
  overflow: hidden;
  border-radius: 8px;
}

.bb-home-kiosk__image img {
  display: block;
  width: 55%;
  height: auto;
  /* aspect-ratio: 16 / 9; Shorter aspect ratio to save height */
  /* object-fit: cover; */
  border-radius: 8px;
  margin: 0 auto;
}

.bb-home-kiosk__heading {
  font-size: clamp(22px, 2.4vw, 36px); /* Scaled down slightly */
  line-height: 1.05;
  font-weight: 800;
  text-transform: uppercase;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}

.bb-home-kiosk__text {
  line-height: 1.45;
  /*max-width: 620px;*/
}

.bb-home-kiosk__text p {
  margin: 0 0 6px;
}

.bb-home-kiosk__button {
  display: inline-block;

  padding: 8px 24px;
  background: #363636;
  color: #fff;
  border: 2px solid #fff;
  border-radius: 8px;
  text-decoration: none;
  text-transform: uppercase;

  font-weight: 600;
  line-height: 1.2;
  transition:
    background 0.25s ease,
    color 0.25s ease;
}

.bb-home-kiosk__button:hover,
.bb-home-kiosk__button:focus {
  background: #fff;
  color: #363636;
}

/* GIFT VOUCHER COLUMN */

.bb-home-gift-voucher {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 32px 24px; /* Reduced vertical padding from 60px */
  color: var(--bb-voucher-light);
  min-width: 0;
}

.bb-home-gift-voucher__circle {
  position: absolute;
  z-index: -1;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--bb-voucher-terracotta);
  top: 50%;
  left: 50%;
  transform: translate(-30%, -50%);
}

.bb-home-gift-voucher__image {
  flex: 0 0 28%;
  /* max-width: 250px; */
  position: relative;
  z-index: 1;
  margin-right: 30px;
}

.bb-home-gift-voucher__image img {
  display: block;
  width: 110%;
  height: auto;
  border-radius: 12px;
}

.bb-home-gift-voucher__content {
  position: relative;
  z-index: 1;
  /* flex: 1; */
  min-width: 50%;
  text-align: center;
}

.bb-home-gift-voucher__heading {
  font-size: clamp(22px, 2.2vw, 36px);
  line-height: 1.05;
  text-transform: uppercase;
  font-weight: 800;
  margin: 0 0 8px;
}

.bb-home-gift-voucher__text {
  line-height: 1.45;
}

.bb-home-gift-voucher__text p {
  margin: 0 0 6px;
}

.bb-home-gift-voucher__button {
  display: inline-block;
  margin-top: 14px;
  padding: 8px 20px;
  min-width: 180px;
  background: #e5e5e5;
  color: #222;
  border: 1px solid #777;
  border-radius: 6px;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 700;
  line-height: 1.2;
  transition:
    background 0.25s ease,
    color 0.25s ease;
}

.bb-home-gift-voucher__button:hover,
.bb-home-gift-voucher__button:focus {
  background: #222;
  color: #fff;
}

/* TABLETS */

@media (max-width: 1024px) {
  .bb-home-kiosk-voucher {
    grid-template-columns: 1fr 1fr;
  }

  .bb-home-kiosk {
    padding: 20px 14px;
  }

  /* .bb-home-kiosk__text,
  .bb-home-gift-voucher__text {
    font-size: 14px;
  } */

  .bb-home-gift-voucher {
    flex-direction: column;
    gap: 16px;
    padding: 28px 18px;
  }

  .bb-home-gift-voucher__image {
    flex-basis: auto;
    width: 100px;
    max-width: 40%;
  }

  .bb-home-gift-voucher__circle {
    width: 140%;
  }
}

/* MOBILE */

@media (max-width: 680px) {
  .bb-home-kiosk-voucher {
    grid-template-columns: 1fr;
  }

  .bb-home-kiosk {
    padding: 24px 16px;
  }

  .bb-home-gift-voucher {
    flex-direction: row;
    align-items: center;
    gap: 14px;
    padding: 36px 16px;
  }

  .bb-home-gift-voucher__circle {
    width: 140%;
    left: 50%;
    top: 75%;
    transform: translate(-35%, -35%);
  }

  .bb-home-gift-voucher__image {
    flex: 0 0 28%;
    max-width: 100px;
  }
}