/* =========================================================
   TEMA: DARK PURPLE
   Ubah palet di :root untuk menyesuaikan seluruh warna.
   ========================================================= */
:root {
  /* Palet utama */
  --dp-bg-deep: #0b0614;       /* latar paling gelap (html, footer bawah) */
  --dp-bg: #120a1f;            /* latar utama halaman */
  --dp-surface: #1b0f2e;       /* kartu / panel */
  --dp-header: #150b25;        /* header utama */
  --dp-footer: #0e0719;        /* footer */
  --dp-primary: #8e3dff;       /* ungu utama */
  --dp-primary-dark: #5a1aa8;  /* ungu tua */
  --dp-accent: #c084fc;        /* lavender terang (heading, link) */
  --dp-accent-hover: #e9d5ff;  /* hover link */
  --dp-pink: #e040fb;          /* aksen magenta */
  --dp-border: #3b1f63;        /* garis / border */
  --dp-text: #ece4f7;          /* teks utama */

  /* Variabel bawaan Flatsome */
  --primary-color: var(--dp-primary);
  --fs-color-primary: var(--dp-primary);
  --fs-color-secondary: var(--dp-primary-dark);
  --fs-color-success: #4ad314;
  --fs-color-alert: #e040fb;
  --fs-experimental-link-color: var(--dp-accent);
  --fs-experimental-link-color-hover: var(--dp-accent-hover);
}

.tooltipster-base {
  --tooltip-color: #fff;
  --tooltip-bg-color: var(--dp-surface);
}

.off-canvas-right .mfp-content,
.off-canvas-left .mfp-content {
  --drawer-width: 300px;
}

.sticky-add-to-cart--active,
#wrapper,
#main,
#main .dark {
  background-color: var(--dp-bg);
}

#main {
  background-image: radial-gradient(ellipse at top, rgba(142, 61, 255, 0.12) 0%, transparent 60%);
}

.header-main {
  height: 90px;
}

#logo img {
  max-height: 90px;
}

#logo {
  width: 200px;
}

.header-bottom {
  min-height: 55px;
}

.header-top {
  min-height: 30px;
}

.transparent .header-main {
  height: 90px;
}

.transparent #logo img {
  max-height: 90px;
}

.has-transparent + .page-title:first-of-type,
.has-transparent + #main > .page-title,
.has-transparent + #main > div > .page-title,
.has-transparent + #main .page-header-wrapper:first-of-type .page-title {
  padding-top: 140px;
}

.header.show-on-scroll,
.stuck .header-main {
  height: 70px !important;
}

.stuck #logo img {
  max-height: 70px !important;
}

.header-bg-color {
  background-color: var(--dp-header);
}

.header-bottom {
  background-image: linear-gradient(to bottom, #7b2ff0 0%, #3a0f78 100%);
  border-bottom: 1px solid var(--dp-border);
}

@media (max-width: 549px) {
  .header-main {
    height: 70px;
  }

  #logo img {
    max-height: 70px;
  }
}

body {
  color: var(--dp-text);
}

p {
  color: var(--dp-text);
}

a {
  color: var(--dp-accent);
}

a:hover {
  color: var(--dp-accent-hover);
}

body {
  font-size: 100%;
}

@media screen and (max-width: 549px) {
  body {
    font-size: 100%;
  }
}

body {
  font-family: Kanit, sans-serif;
}

body {
  font-weight: 400;
  font-style: normal;
}

.nav > li > a {
  font-family: Kanit, sans-serif;
}

.mobile-sidebar-levels-2 .nav > li > ul > li > a {
  font-family: Kanit, sans-serif;
}

.nav > li > a,
.mobile-sidebar-levels-2 .nav > li > ul > li > a {
  font-weight: 700;
  font-style: normal;
}

h1,
h2,
h3,
h4,
h5,
h6,
.heading-font,
.off-canvas-center .nav-sidebar.nav-vertical > li > a {
  font-family: Kanit, sans-serif;
}

h1 {
  color: var(--dp-accent);
  text-shadow: 0 0 18px rgba(142, 61, 255, 0.45);
}

h2 {
  color: var(--dp-accent);
}

h3,
h4,
h5,
h6 {
  color: var(--dp-accent-hover);
}

h3,
h4,
h5,
h6,
.heading-font,
.banner h1,
.banner h2 {
  font-weight: 700;
  font-style: normal;
}

.alt-font {
  font-family: "Dancing Script", sans-serif;
}

.alt-font {
  font-weight: 400 !important;
  font-style: normal !important;
}

.footer-1 {
  background-color: var(--dp-footer);
  border-top: 1px solid var(--dp-border);
}

.absolute-footer,
html {
  background-color: var(--dp-bg-deep);
}

.nav-vertical-fly-out > li + li {
  border-top-width: 1px;
  border-top-style: solid;
  border-top-color: var(--dp-border);
}

/* Elemen Flatsome yang bawaannya terang -> disesuaikan ke gelap */
.nav-dropdown,
.nav-dropdown-default,
.off-canvas .sidebar-menu,
.mfp-content .off-canvas-left,
.mfp-content .off-canvas-right {
  background-color: var(--dp-surface) !important;
  border-color: var(--dp-border) !important;
}

.nav-dropdown li a,
.nav-dropdown-default li a {
  color: var(--dp-text) !important;
}

.nav-dropdown li a:hover {
  color: var(--dp-accent) !important;
  background-color: rgba(142, 61, 255, 0.15);
}

.nav > li.active > a,
.nav > li > a:hover {
  color: var(--dp-accent-hover) !important;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="number"],
textarea,
select {
  background-color: var(--dp-surface);
  border-color: var(--dp-border);
  color: var(--dp-text);
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--dp-primary);
  box-shadow: 0 0 0 2px rgba(142, 61, 255, 0.35);
}

.button.primary,
.button.is-primary,
button.primary,
input[type="submit"] {
  background-color: var(--dp-primary);
}

.button.primary:hover,
button.primary:hover,
input[type="submit"]:hover {
  background-color: var(--dp-primary-dark);
}

/* Custom CSS */
.menu-mobile {
  display: flex;
  align-items: stretch;
  position: fixed;
  height: 80px;
  width: 100%;
  bottom: 0;
  background: linear-gradient(to top, #07030d 0%, #160a29 100%);
  z-index: 9999;
  border-top: 3px solid var(--dp-primary);
  box-shadow: 0 -4px 18px rgba(142, 61, 255, 0.35);
}

.menu-mobile-row {
  flex: 1;
  padding: 0;
  text-align: center;
  margin: 5px;
}

.menu-mobile-btn {
  display: block;
  width: 100%;
  padding: 0;
  font-size: 1rem;
  color: #fff;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  height: 80px;
  text-shadow: 1px 1px 1px #000000;
}

.menu-mobile-row:nth-child(2) {
  border-radius: 10px;
  background: linear-gradient(to bottom, #9b4dff 0%, #5a1aa8 100%);
  animation: dpGlow 1.2s ease-in-out infinite alternate;
}

/* Gradien tidak bisa dianimasikan langsung; pakai glow + brightness */
@keyframes dpGlow {
  0% {
    box-shadow: 0 0 6px rgba(192, 132, 252, 0.4);
    filter: brightness(1);
  }

  100% {
    box-shadow: 0 0 18px rgba(224, 64, 251, 0.85);
    filter: brightness(1.2);
  }
}

.menu-mobile-btn i {
  margin-top: 1.5vh;
}

.menu-mobile-btn p {
  margin-bottom: 0;
  color: #fff;
}

.menu-mobile-btn:hover {
  color: var(--dp-accent-hover);
}

.label-new.menu-item > a:after {
  content: "New";
}

.label-hot.menu-item > a:after {
  content: "Hot";
}

.label-sale.menu-item > a:after {
  content: "Sale";
}

.label-popular.menu-item > a:after {
  content: "Popular";
}

/* LIDAH SEPATU */

.btn-grad {
  background-image: linear-gradient(to right, #ff5ad8 0%, #b026ff 51%, #6a11cb 100%);
  padding: 10px 20px;
  text-align: center;
  text-transform: uppercase;
  transition: 0.5s;
  background-size: 200% auto;
  color: white;
  border-radius: 15px;
  display: block;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(176, 38, 255, 0.4);
}

.btn-grad2 {
  background-image: linear-gradient(to right, #8e3dff 0%, #5a1aa8 51%, #2e0b5e 100%);
  padding: 10px 20px;
  text-align: center;
  text-transform: uppercase;
  transition: 0.5s;
  background-size: 200% auto;
  color: white;
  border-radius: 15px;
  display: block;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(90, 26, 168, 0.4);
}

.btn-grad:hover {
  background-position: right center; /* change the direction of the change here */
  color: #ffe1fa;
  text-decoration: none;
  cursor: pointer;
}

.btn-grad2:hover {
  background-position: right center; /* change the direction of the change here */
  color: #e9d5ff;
  text-decoration: none;
  cursor: pointer;
}

.background-content {
  background-color: rgba(27, 15, 46, 0.85);
  text-align: justify;
  border: 2px solid var(--dp-primary);
  border-radius: 6px;
  padding: 30px 20px;
  box-shadow: 0 0 24px rgba(142, 61, 255, 0.2);
}

.background-content a {
  color: var(--dp-accent);
}

.background-content a:hover {
  color: var(--dp-accent-hover);
}

li {
  color: var(--dp-text) !important;
}

.header-burner {
  color: white !important;
  text-shadow: 1px 1px black;
}

.sidebar {
  height: 100%;
  width: 100%;
  background-color: var(--dp-bg);
  position: fixed !important;
  z-index: 1;
  overflow: auto;
}

.sidebar-dtls {
  color: white;
  background-color: var(--dp-surface);
  display: none;
}

.sidebar a {
  color: var(--dp-text);
}

.sidebar a:hover {
  color: var(--dp-accent);
}

::selection {
  background: var(--dp-primary);
  color: #fff;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--dp-bg-deep);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, var(--dp-primary), var(--dp-primary-dark));
  border-radius: 6px;
}
