/* Search wrapper */
.search-wrapper {
  position: relative;
  max-width: 75%;
}

/* Search icon */
.search-wrapper .search-icon {
  position: absolute;
  top: 50%;
  left: 14px;
  transform: translateY(-50%);
  color: #6c757d;
  font-size: 1.1rem;
}

/* Search input padding */
.search-input {
  padding-left: 45px !important;
}

.bg-grey {
  background-color: #E2E2E2 !important;
}

/* Blue accent */
.text-blue {
  color: #5be0e5 !important;
}

/* Desktop responsiveness */
@media (min-width: 992px) {
  .search-wrapper {
    width: 420px;
  }

  .offcanvas-body {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between;
  }
}

/* Mobile */
@media (max-width: 991px) {
  .right-menu {
    margin-top: 10px;
  }

  .search-wrapper {
    width: 100%;
    max-width: 100%;
  }

  nav.nav {
    display: none !important;
  }
}

/* Nav kedua spacing */
nav.nav a.nav-link {
  padding: 12px 20px;
  font-weight: 500;
}

/* Outline button aqua bold */
.btn-outline-success {
  color: #30c8cf !important;
  border-color: #30c8cf !important;
  font-weight: 700 !important;
}

/* Hover aqua bold */
.btn-outline-success:hover {
  background-color: #30c8cf !important;
  color: #fff !important;
  border-color: #27b5bb !important;
  box-shadow: 0 0 8px rgba(48, 200, 207, 0.65) !important;
}

.bg-green {
  background-color: #5be0e5 !important;
}

section {
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:60px 20px;
}

.swiper {
  width:100%;
  max-width:1800px;
}

@media (min-width: 768px) {
  .swiper {
    padding: 0 40px;
  }

  .swiper-slide {
    height: 460px;
    width: 760px !important;
    border-radius: 28px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 30px 100px rgba(0,0,0,0.6);
  }

  .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .swiper-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,rgba(0,0,0,0.9),transparent 40%);
    z-index: 1;
  }

  .swiper-slide {
    filter: blur(2.5px);
    opacity: 0.85;
  }

  .swiper-slide-active {
    filter: blur(0);
    opacity: 1;
  }
}

@media (max-width: 767px) {
  section {
    padding: 0;
  }

  .swiper {
    padding:0 !important;
  }

  .swiper-slide {
    width:100vw !important;
    height:100vh !important;
    max-height:580px;
    border-radius:0 !important;
    box-shadow:none;
  }

  .swiper-slide img {
    width:100%;
    height:100%;
    object-fit:cover;
  }

  .swiper-slide::before {
    background:linear-gradient(to top,rgba(0,0,0,0.92),transparent 35%);
  }

  .swiper-slide span {
    top: env(safe-area-inset-top, 40px);
    top: constant(safe-area-inset-top, 40px);
    top: 40px;
    left:15px;
    padding:10px 25px;
    font-size:0.8rem;
    letter-spacing:2px;
  }

  .swiper-slide .content {
    padding:40px 30px;
    transform:none;
  }

  .swiper-slide h2 {
    font-size:2.2rem;
  }

  .swiper-slide p {
    font-size:1.1rem;
  }

  .swiper-pagination {
    bottom:40px !important;
  }
}

.swiper-slide {
  position:relative;
  transition:all 0.6s ease;
}

.swiper-slide img {
  display:block;
}

.swiper-slide span {
  position:absolute;
  top:30px;
  left:-10px;
  background:#1b7402;
  color:#fff;
  padding:11px 35px 11px 45px;
  font:600 0.9rem 'Open Sans',sans-serif;
  text-transform:uppercase;
  letter-spacing:3px;
  border-radius:0 35px 35px 0;
  z-index:3;
}

.category-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.category-scroll::-webkit-scrollbar {
  display: none;
}

.category-item {
  background: linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)), #b9b9b9 !important;
  white-space: nowrap;
}

.category-wrapper {
  background-color: #cfcfcf;
}

.active-category {
  background: linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)), #5be0e5 !important;
  color: #18999e !important;
}

.bg-warning-light {
  background-color: #fff7d4 !important;
  border: 1px solid #ffd159;
}

.card-input-element {
  display: none;
}

.card-input {
  margin: 10px;
  padding: 0px;
}

.card-input:hover {
  cursor: pointer;
}

.card-input-element:checked + .card-input {
  box-shadow: 0 0 1px 1px #5be0e5;
}

.accordion-button:not(.collapsed) {
  background-color: transparent;
}

.accordion-button:focus {
  z-index: 3;
  outline: 0;
  box-shadow: none !important;
}

.accordion-button:after {
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'><path fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/></svg>") !important;
}

.accordion-button.not-change-color:after {
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000000'><path fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/></svg>") !important;
}

.label-payment-method {
  width: 100%;
}

#qrcode img, 
#qrcode canvas {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.section-wrapper {
  position: relative;
}

.floating-card {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  z-index: 5;
}

.floating-card-order {
  padding-top: 10em;
  padding-bottom: 3em;
}

@media (max-width: 768px) {
  .floating-card {
    position: relative;
    transform: none;
    top: -100px;
    left: auto;
    margin-top: -80px;
    padding-bottom: 40px;
  }

  .floating-card-order {
    padding-top: 0em;
  }

  .section-wrapper {
    margin-bottom: -8em;
  }
}

.custom-table tbody tr:nth-child(odd) td {
  background-color: #5be0e5;
  color: #000000;
}

.custom-table tbody tr:nth-child(even) td {
  background-color: transparent;
}
