@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");

:root {
  --primary-font: "Inter", sans-serif;

  --primary-color: rgba(255, 122, 0, 1);
  --primary-color-hover: rgb(206, 104, 9);
  --primary-color-disabled: rgb(241, 162, 87);
  --text-dark-color: rgba(65, 65, 65, 1);
}

*,
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--text-dark-color);
  font-family: var(--primary-font);
}

::selection {
  background-color: rgba(255, 122, 0, 0.7);
}

body {
  max-width: 450px;
  width: 100%;
  margin: 0 auto;
}

a {
  text-decoration: none;
}

p {
  font-size: 0.9rem;
}

.page {
  min-height: 100dvh;
}

.bg-primary {
  background-color: var(--primary-color) !important;
}

.bg-primary-gradient {
  background: linear-gradient(287.01deg, #ffc107 0%, #ff7600 100%);
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-primary:hover {
  background-color: var(--primary-color-hover);
  border-color: var(--primary-color-hover);
}

.btn-outline-primary {
  color: darkslategray;
  background-color: white;
  border: none;
  outline: none;
}

.btn-check:checked + .btn,
.btn.active,
.btn.show,
.btn:first-child:active,
:not(.btn-check) + .btn:active,
.btn-check + .btn:hover {
  color: white;
  background-color: #555555;
}

.btn.disabled,
.btn:disabled,
fieldset:disabled .btn {
  background-color: var(--primary-color-disabled);
  border-color: var(--primary-color-disabled);
  cursor: not-allowed;
}

.btn-kembali{
  position: fixed;
  top: 16px;
  left: 16px;
  color: white;
  padding: 8px 12px;
  background: rgba(42, 42, 42, 0.7);
  backdrop-filter: blur(4px);
  border-radius: 10px;
}

.bg-section{
  background: linear-gradient(257.97deg, #E5E5E5 0%, #C4C4C4 100%);
}

.card-img-top{
  height: auto;
  object-fit: cover;
}

.text-dark {
  color: var(--text-dark-color);
}

.text-primary {
  color: var(--primary-color) !important;
}

.form-control,
.form-select,
.btn {
  padding: 9px;
}

.form-check-input:checked {
  background-color: var(--primary-color);
  border: 1px solid var(--primary-color);
}

.form-check-input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.25rem rgba(255, 122, 0, 0.25);
}

.input-group {
  box-shadow: 0px 0px 5px 2px rgba(0, 0, 0, 0.1) inset;
}

.my-shadow{
  box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.1);
}

.form-control::placeholder,
.select2-search__field::placeholder,
.select2-selection__placeholder {
  color: rgba(107, 107, 107, 1) !important;
  font-weight: 300 !important;
  font-size: 0.85rem;
}

.form-control:focus,
.select2-search__field:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.25rem rgba(253, 121, 13, 0.25);
}

.page-header{
  width: 100%;
  height: 250px;
  object-fit: cover;
  object-position: right;
}

.select2-selection--single {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}
.select2-selection--multiple {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

.text-justify{
  text-align: justify;
}

.text-sm {
  font-size: 0.8rem;
}

.dvh-100 {
  height: 100dvh;
}

.section-title, .text-lg {
  font-size: 1.25rem;
}

.section-description .text-sm{
  font-size: 0.9rem;
}

.logo-splash {
  display: block;
  width: 174px;
  height: 84px;
  object-fit: contain;
  margin-bottom: 78px;
}

.loading {
  width: 46px;
  height: 44px;
  animation: spin 1.2s linear infinite;
}

.hallo-img {
  position: absolute;
  height: 100px;
  width: auto;
  max-width: 300px;
  object-fit: contain;
  top: 50px;
  left: 50%;
  transform: translate(-50%, 0%);
}

.greeting-img {
  position: absolute;
  width: 300px;
  bottom: 97px;
  left: 50%;
  transform: translate(-50%, 0%);
  transition: all 0.4s ease;
}

.hero_img{
  height: 90%;
}

.produk-container {
  background-color: rgba(42, 42, 42, 1);
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  margin: 0 auto 5px;
}

.produk-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.produk-title {
  font-size: 0.8rem;
  line-height: 120%;
}

.header-daftar-produk{
  background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.0), rgba(255,255,255,.7)), url('../../assets/images/bg-card-produk.jpg');
  background-size: cover;
  background-position: 70% 60%;
}

.header-chat-produk{
  background-size: cover;
  background-position: 70% 70%;
  min-height: 176px;
  background-image: linear-gradient(77.97deg, rgba(255,193,7,.8), rgba(255,118,0,.8)), url('../../assets/images/foto-kantor-jmc.png');
}

.chat-whatsapp{
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 50px;
  height: 50px;
  border-radius: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(28, 196, 59, 1);
  transition: all .2s;
}

#chat-wa {
  opacity: 1;
  transition: all 0.3s ease-in-out;
}

#chat-wa.hidden {
  opacity: 0;
  pointer-events: none;
}

#chat-wa .chat-whatsapp{
  bottom: 24px;
}

#chat-wa.hidden .chat-whatsapp{
  bottom: -10px;
}

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

@media screen and (max-width: 425px) {
  .hero_img{
    height: 84%;
  }
}

@media screen and (max-width: 365px) {
  .hero_img{
    height: 70%;
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
