.tk_amazon_banner {
  position: relative;
  overflow: hidden;
}

.tk_amazon_banner__bg {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.tk_amazon_banner__bg--hover {
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.tk_amazon_banner:hover .tk_amazon_banner__bg:not(.tk_amazon_banner__bg--hover) {
  /* opacity: 0; */
}

.tk_amazon_banner:hover .tk_amazon_banner__bg--hover {
  opacity: 1;
}

@media screen and (min-width: 768px) {
  .tk_amazon_banner.tk_amazon_banner-variant--compact {
    aspect-ratio: 1 / 1;
  }
}

.tk_amazon_banner_button {
  cursor: default;
}

.tk_amazon_banner__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  overflow: hidden;
}

@media screen and (min-width: 768px) {
  .tk_amazon_banner__container {
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 36px;
  }
}

.tk_amazon_banner__content {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  padding: 30px 20px;
  text-align: center;
}

@media screen and (min-width: 768px) {
  .tk_amazon_banner__content {
    align-items: flex-start;
    text-align: left;
    padding: 40px;
    gap: 28px;
    flex: 1 1 0%;
  }
}

.tk_amazon_banner__image {
  display: flex;
  overflow: hidden;
  position: relative;
  z-index: -1;
}

.tk_amazon_banner__image::after {
  content: "";
  position: absolute;
  left: 10%;
  top: 10%;
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, rgba(0, 167, 103, 0.4) 0%, rgba(0, 0, 0, 0) 70%);
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.6s ease-in-out, transform 0.6s ease-in-out;
  pointer-events: none;
  z-index: -1;
}

.tk_amazon_banner:hover .tk_amazon_banner__image::after {
  opacity: 1;
  transform: scale(1);
}

@media screen and (min-width: 1080px) {
  .tk_amazon_banner__image {
    flex: 1 1 0%;
  }
}

.tk_amazon_banner__image > img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transform: scale(1.3);
}

@media screen and (min-width: 768px) {

  .tk_amazon_banner-variant--default .tk_amazon_banner__image > img {
    height: 380px;
    min-height: 380px;
    width: auto;
    transform: scale(1);
  }

  .tk_amazon_banner-variant--compact .tk_amazon_banner__image {
    position: static;
  }

  .tk_amazon_banner-variant--compact .tk_amazon_banner__image > img {
    position: absolute;
    left: 0;
    top: 0;
    width: 110%;
    height: 110%;
    object-fit: cover;
  }
}

@media screen and (min-width: 1080px) {
  .tk_amazon_banner-variant--default .tk_amazon_banner__image > img {
    width: 100%;
    height: 512px;
    min-height: 512px;
  }
}

.tk_amazon_banner__modal-backdrop {
  opacity: 0;
  transition: opacity 0.3s linear, backdrop-filter 0.3s linear;
  z-index: -1;
  width: 100vw;
  height: 100vh;
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-color: rgba(16, 24, 40, 0.7);
  backdrop-filter: blur(1px);
}

.tk_amazon_banner__modal-backdrop.show {
  opacity: 1;
  z-index: 50;
  pointer-events: auto;
  backdrop-filter: blur(20px);
}

.tk_amazon_banner__modal-backdrop.hide {
  opacity: 0;
  z-index: 50;
  pointer-events: none;
  backdrop-filter: blur(1px);
}

.tk_amazon_banner__modal {
  position: fixed;
  z-index: -1;
  opacity: 0;
  transform: translate(-50%, -45%);
  left: 50%;
  top: 50%;
  width: 99vw;
  height: auto;
  max-width: 376px;
  max-height: 99vh;
  overflow-y: auto;
  background-color: white;
  color: black;
  border-radius: 12px;
  transition: transform 0.2s ease-in-out, opacity 0.2s ease-in-out;
}

.tk_amazon_banner__modal.show {
  z-index: 100;
  opacity: 1;
  transform: translate(-50%, -50%);
  z-index: 100;
}

.tk_amazon_banner__modal.hide {
  z-index: 100;
  opacity: 0;
  transform: translate(-50%, -45%);
  z-index: 100;
}

.tk_amazon_banner__modal-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 24px;
}

.tk_amazon_banner__modal-btn {
  height: 44px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 1rem;
}

.tk_amazon_banner__modal-btn-close {
  border: 1px solid #B3B3B3;
  color: #B3B3B3;
  background-color: transparent;
}

.tk_amazon_banner__modal-btn-confirm {
  background-color: #00A767;
  border: none;
  color: white;
}

.tk_amazon_banner__modal-selection {
  flex: 1 1 0%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-weight: 600;
}

.tk_amazon_banner__modal-title {
  font-size: 18px;
  line-height: 1.5;
  font-weight: 600;
  color: black;
}

.tk_amazon_banner__choice {
  display: flex;
  align-items: center;
  text-align: center;
  justify-content: center;
  width: 100%;
  gap: 12px;
  padding: 8px 16px;
  background-color: #FF9900;
  color: black;
  border-radius: 9999px;
  height: 44px;
  font-weight: 500;
}