* {
  -webkit-tap-highlight-color: transparent;
}
    body {
      margin: 0;
      font-family: 'Poppins', sans-serif;
      background-color: #121212;
      color: #fff;
    }
    header {
      background-color: rgba(0, 0, 0, 0.6);
      backdrop-filter: blur(8px);
      padding: 0.65rem 1.4rem;
      position: fixed;
      width: 100%;
      top: 0;
      left: 0;
      z-index: 100;
      border-bottom: 1px solid rgba(255, 255, 255, 0.05); /* halus */
    }

    .logo {
      font-size: 1.5rem;
      font-weight: bold;
      color: #fff;
    }
    .container {
      margin-top: 65px;
      padding: 1rem;
      max-width: 1100px;
      margin-left: auto;
      margin-right: auto;
    }
    .product-header {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 2rem;
      margin-bottom: 2rem;
    }
    .product-header img {
      width: 120px;
      height: 120px;
      border-radius: 16px;
      transform: rotate(-8deg);
      background-color: #fff;
      padding: 5px;
    }
    .product-info {
      flex: 1;
    }
    .product-info h1 {
      margin: 0;
      font-size: 1.3rem;
    }
.features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
    .feature-item {
      display: flex;
      font-size: 0.8rem;
      align-items: center;
      gap: 0.5rem;
    }
    .feature-item::before {
      content: '✔';
      color: #00b894;
    }
    .instructions {
      margin-top: 1rem;
      background-color: #1e1e1e;
      padding: 0.3rem 1.3rem;
      border-radius: 8px;
    }
    .instructions h3 {
      margin-bottom: 0.5rem;
      font-size: 1.1rem;
    }
    
.instructions ul {
  padding-left: 1.25rem;
  margin: 0 0 1rem;
}
.instructions li {
  font-size: 0.85rem;
  margin-bottom: 0.4rem;
  color: #ccc;
}

.category-title {
  font-size: 1rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  color: #f1f1f1;
  border-left: 4px solid #fbbf24;
  padding-left: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 0.75rem;
  margin-top: 0.5rem;
}
    .section-boxhome {
      background-color: #1e1e1e;
      border-radius: 10px;
      padding: 1.5rem;
      margin-top: 2rem;
      box-sizing: border-box;
    }
    .section-box {
    margin-top: 1.5rem;
    background: #1a1a1a;
    padding: 1.5rem;
    border-radius: 14px;
    border: 1px solid #333;
    }
    .form-wrapper {
      display: flex;
      flex-direction: column;
      gap: 1rem;
      align-items: center;
      width: 100%;
      box-sizing: border-box;
    }
    .form-half {
      width: 100%;
      box-sizing: border-box;
    }
    .btn-half {
      width: 100%;
      box-sizing: border-box;
    }
    button, a, input, select, img,
    .menu-button, .menu-button:focus,
    .popup-item:focus {
      outline: none !important;
      box-shadow: none !important;
      -webkit-tap-highlight-color: transparent;
    }
    .section-title {
      color: #fefefe;
      font-weight: 600;
      padding: 0.5rem 1rem;
      border-top-left-radius: 10px;
      border-top-right-radius: 10px;
      font-size: 1rem;
      margin: -1rem -1rem 1rem -1rem;
      line-height: 1.2;
    }
    
.pay-button {
  background-color: #fbbf24;         /* kuning amber */
  color: #1f1f1f;                     /* teks gelap agar kontras */
  padding: 0.55rem 1.25rem;           /* seimbang atas & samping */
  font-size: 0.9rem;
  border: none;
  border-radius: 999px;               /* full rounded */
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s ease, transform 0.15s ease;
  box-shadow: 0 3px 10px rgba(251, 191, 36, 0.3); /* glow kuning */
}

.pay-button:hover {
  background-color: #f59e0b;          /* kuning lebih gelap saat hover */
  transform: scale(1.03);
}


    @media (min-width: 768px) {
      .product-header {
        flex-direction: row;
        text-align: left;
      }
      .product-grid {
        grid-template-columns: repeat(4, 1fr);
      }
      .form-wrapper {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
      }
      .form-half {
        width: 48%;
      }
      .btn-half {
        width: 48%;
      }
    }
    
/* Styling toast SALIN */
.swal2-toast {
  width: auto !important;
  min-width: unset !important;
  max-width: 160px !important;
  padding: 6px 10px !important;
  font-size: 0.7rem !important;
  border-radius: 6px !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25) !important;
  display: flex !important;
  align-items: center !important;
}

/* Teks dalam toast */
.swal2-toast .swal2-title {
  font-size: 0.75rem !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.2 !important;
  text-align: left !important;
}

/* Ikon di toast */
.swal2-toast .swal2-icon {
  width: 1.1em !important;
  height: 1.1em !important;
  margin: 0 6px 0 0 !important;
  flex-shrink: 0;
}

/* Hilangkan margin antar elemen */
.swal2-toast .swal2-icon-content {
  font-size: 1rem !important;
}

.product-cardhome {
  cursor: pointer;
  background: #2a2a2a;
  border-radius: 12px;
  padding: 0.75rem;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.product-card {
  background: linear-gradient(145deg, #1c1c1c, #2a2a2a);
  border-radius: 14px;
  padding: 0.7rem;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0,0,0,0.5);
  transition: transform 0.2s ease, box-shadow 0.3s ease;
  border: 1px solid #333;
  position: relative;
}

.sub-category-title {
    margin-top: 25px;
}

.product-card:hover {
  transform: scale(1.04);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

.product-card img {
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 10px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-card:hover img {
  transform: scale(1.03);
}

.product-card.selected {
  border: 2px solid #fbbf24;
  box-shadow: 0 0 12px rgba(251, 191, 36, 0.5);
}

.product-title {
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: #fefefe;
}

/* Tampilan ikon bonus */
.product-title i {
  color: #fbbf24;
  margin-left: 4px;
}

.price {
  font-size: 0.80rem;
  color: #ccc;
}
    input[type="text"], select {
      width: 100%;
      padding: 0.75rem;
      border: none;
      border-radius: 8px;
      background-color: #2c2c2c;
      color: #fff;
      margin-bottom: 1rem;
      box-sizing: border-box;
    }
    button {
      background-color: #339af0;
      color: white;
      padding: 0.5rem 1rem;
      border: none;
      border-radius: 30px;
      font-size: 1rem;
      cursor: pointer;
      margin-top: 1.5rem;
      width: 50%;
      box-sizing: border-box;
    }
    button:hover {
      background-color: #228be6;
    }
    .menu-button {
      position: absolute;
      top: 10px;
      right: 60px;
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background-color: transparent;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      cursor: pointer;
      box-shadow: none;
      z-index: 200;
    }
    .menu-button .bar {
      width: 20px;
      height: 3px;
      background-color: white;
      margin: 2.5px 0;
      border-radius: 2px;
    }
.popup-menu {
  position: fixed;
  top: 60px;
  right: 0px;
  background: rgba(30, 30, 30, 0.6); /* Warna semi-transparan */
  backdrop-filter: blur(12px);       /* Efek kaca buram */
  -webkit-backdrop-filter: blur(12px);
  border-radius: 12px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.5);
  display: none;
  flex-direction: column;
  min-width: 160px;
  z-index: 1000;
  padding: 0.5rem 0;
}

.popup-item {
  color: white;
  text-decoration: none;
  padding: 0.75rem 1.25rem;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  transition: background 0.2s ease, transform 0.15s ease;
  font-weight: 500;
  letter-spacing: 0.3px;
}
.popup-item:hover {
  transform: translateX(5px);
}

.popup-item i.fa-whatsapp {
  font-size: 1.3em;
}
    footer {
      margin-top: 4rem;
      text-align: center;
      padding: 1rem;
      background-color: #1e1e1e;
      font-size: 0.9rem;
      color: #ccc;
    }
    #loading-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: #121212;
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 9999;
    }
    .spinner {
      width: 40px;
      height: 40px;
      border: 5px solid #ff7b00;
      border-top: 5px solid transparent;
      border-radius: 50%;
      animation: spin 1s linear infinite;
    }
    @keyframes spin {
      to {
        transform: rotate(360deg);
      }
    }
    .swal2-popup {
    background: rgba(30, 30, 30, 0.6) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border-radius: 12px !important;
  color: #fff !important;
  max-width: 320px !important;
  font-size: 0.9rem !important;
  padding: 1.5em 1.2em !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
  border: 1px solid rgba(255,255,255,0.1);
    }
    
    .swal2-input {
  background-color: #2c2c2c !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 8px !important;
  padding: 0.75rem 1rem !important;
  font-size: 0.95rem !important;
  box-shadow: none !important;
  margin-top: 0.5rem !important;
}

.swal2-input:focus {
  border-color: #fbbf24 !important;
}

    
    .swal2-title {
      font-size: 1.1rem !important;
    }
    .swal2-html-container {
      font-size: 0.9rem !important;
      margin-top: 0.5em !important;
    }
.swal2-container .swal2-confirm {
  background-color: #fbbf24 !important; /* kuning premium */
  color: #121212 !important;
  font-weight: 600 !important;
  border: none !important;
  border-radius: 10px !important;
  box-shadow: 0 2px 6px rgba(251, 191, 36, 0.15) !important;
  transition: all 0.3s ease !important;
  width: auto !important;
  padding: 0.5em 1.5em !important;
  font-size: 0.9rem !important;
  box-sizing: content-box !important;
}

.swal2-container .swal2-confirm:hover {
  background-color: #f9a825 !important;
  box-shadow: 0 3px 8px rgba(251, 191, 36, 0.2) !important;
  transform: scale(1.03);
}

.swal2-container .swal2-cancel {
  background-color: #2c2c2c !important; /* abu-abu gelap */
  color: #ccc !important;
  border: 1px solid #444 !important;
  border-radius: 10px !important;
  box-shadow: none !important;
  transition: background 0.3s ease, color 0.3s ease, transform 0.2s ease !important;
}

.swal2-container .swal2-cancel:hover {
  background-color: #3a3a3a !important;
  color: #fff !important;
  transform: scale(1.02);
}

#btnPesan {
  background-color: #fbbf24;         /* kuning amber */
  color: #1f1f1f;                     /* teks gelap agar kontras */
  padding: 0.55rem 1.25rem;           /* seimbang atas & samping */
  font-size: 0.9rem;
  border: none;
  border-radius: 999px;               /* full rounded */
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s ease, transform 0.15s ease;
  box-shadow: 0 3px 10px rgba(251, 191, 36, 0.3); /* glow kuning */
}

#btnPesan:hover {
  background-color: #f59e0b;          /* kuning lebih gelap saat hover */
  transform: scale(1.03);
}

  
    .click-animate {
      transition: transform 0.15s ease;
    }

    .click-animate:active {
      transform: scale(0.90);
    }
    
.edit-btn {
  padding: 4px 8px;
  background-color: #339af0;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-size: 0.8rem;
}
.edit-btn:hover {
  background-color: #1c7ed6;
}

.gas-btn {
  padding: 4px 8px;
  background-color: #e03131; /* Merah */
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-size: 0.85rem;
}

.gas-btn:hover {
  background-color: #c92a2a;
}

.copy-icon {
  cursor: pointer;
  margin-left: 5px;
  color: #0af;
  display: inline-flex;
  vertical-align: middle;
}
.copy-icon:hover {
  color: #00f;
}

.calendar-button {
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
}
.calendar-button:hover {
  color: #0af;
}

.input-box {
  width: 100%;
  padding: 0.45rem 0.9rem;
  border-radius: 8px;
  border: 1px solid #2a2a2a;
  background-color: #1a1a1a;
  color: white;
  font-size: 0.85rem;
  outline: none;
  transition: all 0.2s ease;
}

.input-box:focus {
  border: 1px solid #fbbf24;
}

