/* ===================================================
   RESET
=================================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  background: #ffffff;
  color: #111827;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

button {
  font-family: "Poppins", sans-serif;
}

.d-none {
  display: none !important;
}
/* ===================================================
   NAVBAR
=================================================== */

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #fff;
  z-index: 999;
  border-bottom: 1px solid #41414175;
}

.navbar {
  width: 80%;
  max-width: 1400px;
  height: 70px;
  margin: auto;

  display: flex;
  justify-content: space-between;
  align-items: center;
}
/* ===================================================
LOGO
=================================================== */

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 40px;
  height: 40px;

  border-radius: 50%;

  background: black;

  display: flex;
  align-items: center;
  justify-content: center;

  color: #fff;
  padding: 4px;

  box-shadow: 0 8px 18px rgba(53, 109, 255, 0.35);
}

.logo span {
  font-size: 18px;
}

.nav-group {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1;
  margin-left: 50px;
}
/* ===================================================
SEARCH
=================================================== */

.search-box {
  width: 380px;
  height: 40px;

  border: 1px solid #dedede;
  border-radius: 50px;

  display: flex;
  align-items: center;

  padding: 0 18px;

  transition: 0.3s;
}

.search-box:hover {
  border-color: #356dff;
}

.search-box:focus-within {
  border-color: #356dff;

  box-shadow: 0 0 0 4px rgba(53, 109, 255, 0.12);
}

.search-box i {
  color: #888;
  font-size: 18px;
}

.search-box input {
  flex: 1;

  border: none;

  outline: none;

  margin-left: 10px;

  font-size: 15px;

  background: none;
}

.search-toggle,
.menu-toggle {
  position: fixed;

  right: 25px;

  width: 55px;
  height: 55px;

  border: none;
  border-radius: 50%;

  display: flex;

  align-items: center;
  justify-content: center;

  cursor: pointer;

  z-index: 9999;

  font-size: 22px;
}

.search-filter {
  margin-top: 12px;
}

.custom-select {
  position: relative;
  user-select: none;
}

.selected-option {
  height: 48px;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 0 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  background: #fff;
}

.option-list {
  display: none;
  position: absolute;
  top: 55px;
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  overflow: hidden;
  z-index: 999;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.option-list.show {
  display: block;
}

.option {
  padding: 13px 15px;
  cursor: pointer;
  transition: 0.2s;
}

.option:hover {
  background: #000;
  color: #fff;
}
/* SEARCH DI ATAS */

.search-toggle {
  bottom: 55px;

  background: #fff;
  color: #000;

  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* MENU DI BAWAH */

.menu-toggle {
  bottom: 125px;

  background: #000;
  color: #fff;

  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.menu-toggle i {
  font-size: 25px;
}

.menu-toggle i {
  font-size: 28px;
}

.search-modal {
  position: fixed;
  inset: 0;

  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px);

  display: none;

  align-items: center;
  justify-content: center;

  padding-top: 150px;

  z-index: 10000;
}

.search-modal.active {
  display: flex;
}

.search-modal-box {
  width: 100%;
  max-width: 500px;
}

.search-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 15px;
}

.search-info {
  flex: 1;
  background: #000;
  color: #fff;
  padding: 12px 16px;
  border-radius: 10px;
  line-height: 1.5;
  font-size: 14px;
}

.search-info b {
  color: #ffc107;
}

.close-search {
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;
}

.search-modal-box .search-input {
  display: flex;
  align-items: center;

  width: 100%;
  height: 55px;

  padding: 0 18px;

  border: 1.5px solid #fff;
  border-radius: 50px;

  background: transparent;
}

.search-modal-box .search-input i {
  color: #fff;
  font-size: 22px;
  margin-right: 12px;
}

.search-modal-box .search-input input {
  flex: 1;

  border: none;
  outline: none;

  background: transparent;

  color: #fff;
  font-size: 16px;
  font-family: "Poppins", sans-serif;
}

.search-modal-box .search-input input::placeholder {
  color: rgba(255, 255, 255, 0.75);
}

.search-modal-box .search-input:focus-within {
  border-color: #ffc107;
  box-shadow: 0 0 0 4px rgba(255, 193, 7, 0.15);
}
/* ================= MENU MODAL ================= */

.menu-modal {
  position: fixed;
  inset: 0;

  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(3px);

  display: none;

  align-items: flex-end;
  justify-content: flex-end;

  padding: 25px;

  z-index: 10000;
}

.menu-modal.active {
  display: flex;
}

.menu-box {
  width: 180px;

  background: white;

  padding: 18px;

  border-radius: 20px;

  display: flex;

  flex-wrap: wrap;

  justify-content: center;

  gap: 20px;

  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.2);

  animation: menuUp 0.3s ease;
}

/* ITEM */

.menu-item {
  width: 60px;

  text-decoration: none;

  color: #111827;

  display: flex;

  flex-direction: column;

  align-items: center;

  gap: 8px;

  font-size: 12px;

  font-weight: 300;
}
.menu-item i {
  width: 50px;
  height: 50px;

  display: flex;

  align-items: center;
  justify-content: center;

  border-radius: 15px;

  background-color: black;

  color: white;

  font-size: 24px;
}

.menu-item:hover i {
  border: solid 0.1px black;
  background: white;
  color: black;
}

@keyframes menuUp {
  from {
    transform: translateY(100px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* ================= LOGIN MODAL ================= */

.login-modal {
  position: fixed;
  inset: 0;

  background: rgba(0, 0, 0, 0.45);

  backdrop-filter: blur(5px);

  display: flex;

  align-items: center;

  justify-content: center;

  z-index: 20000;
}

.login-alert {
  width: 90%;
  max-width: 380px;

  background: white;

  padding: 30px;

  border-radius: 25px;

  text-align: center;

  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);

  animation: modalShow 0.3s ease;
}

.login-icon {
  width: 65px;
  height: 65px;

  margin: auto;
  margin-bottom: 15px;

  border-radius: 50%;

  background: #000;

  color: white;

  display: flex;

  align-items: center;
  justify-content: center;

  font-size: 30px;
}

.login-alert h3 {
  font-size: 22px;

  margin-bottom: 10px;
}

.login-alert p {
  color: #6b7280;

  font-size: 14px;

  line-height: 1.6;

  margin-bottom: 25px;
}

.login-action {
  display: flex;
  gap: 12px;
  font-size: 10pt;
}

.btn-login {
  flex: 1;

  background: #000;

  color: white;

  padding: 12px;

  border-radius: 12px;

  text-decoration: none;

  font-weight: 600;
}

.btn-cancel {
  flex: 1;
  padding: 15px;
  border: none;
  background: #f3f4f6;
  border-radius: 12px;
  cursor: pointer;
}

@keyframes modalShow {
  from {
    opacity: 0;
    transform: scale(0.9);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}
/* ===================================================
MENU
=================================================== */

.menu {
  display: flex;
  gap: 30px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu li {
  position: relative;
}

.menu a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Dropdown */

.dropdown-menu {
  position: absolute;
  top: 120%;
  left: 0;
  min-width: 220px;
  background: #fff;
  border-radius: 12px;
  padding: 10px 0;
  list-style: none;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);

  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: 0.3s;
  z-index: 999;
}

.dropdown-menu li {
  width: 100%;
}

.dropdown-menu a {
  display: block;
  padding: 12px 20px;
  color: #333;
  transition: 0.25s;
}

.dropdown-menu a:hover {
  background: #f4f7ff;
  color: #356dff;
}

/* Hover */

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown:hover > a i {
  transform: rotate(180deg);
}

.dropdown a i {
  transition: 0.3s;
  font-size: 12px;
}

.menu a:hover {
  color: #356dff;
}

/* ===================================================
RIGHT
=================================================== */

.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.cart-icon {
  position: relative;
}

.cart-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 10px;
  height: 10px;
  background: #2563eb;
  border-radius: 50%;
  border: 2px solid #fff;
}

.icon-btn {
  width: 42px;
  height: 42px;

  display: flex;
  justify-content: center;
  align-items: center;

  text-decoration: none;
  color: #111827;
  background: transparent;

  border-radius: 50%;
  transition: 0.3s;
}

.icon-btn:hover {
  background: #f3f4f6;
  color: #356dff;
}
.icon-btn:hover {
  background: #f4f6fb;
}

.icon-btn i {
  font-size: 22px;

  color: #4b5563;
}

.login-btn {
  border: 1px solid black;
  color: black;

  padding: 10px 22px;

  border-radius: 10px;

  font-size: 14px;
  font-weight: 600;

  text-decoration: none;

  transition: 0.3s;
}

.login-btn:hover {
  background: black;
  color: white;
}

/* ===================================================
HERO
=================================================== */

.hero {
  margin-top: 70px;

  /* background: linear-gradient(135deg, #2f62ef, #234fd5); */
  background: linear-gradient(135deg, #5b4dff, #6948ff, #3a5bff);

  min-height: 640px;

  display: flex;
  align-items: center;

  overflow: hidden;
}

.hero-container {
  width: 65%;
  max-width: 1400px;

  margin: auto;

  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 60px;

  align-items: center;
  padding: 50px 5px;
}

/* ===================================================
LEFT
=================================================== */

.hero-left {
  color: white;
}

.badge {
  display: inline-flex;

  align-items: center;

  padding: 5px 24px;

  border-radius: 50px;

  background: rgba(255, 255, 255, 0.12);

  border: 1px solid rgba(255, 255, 255, 0.15);

  font-weight: 600;

  margin-bottom: 35px;
}

.hero-left h1 {
  font-size: 50px;

  line-height: 1.05;

  font-weight: 800;

  margin-bottom: 20px;
}

.hero-left h1 span {
  display: block;

  color: #b9d4ff;
}

.hero-left p {
  font-size: 15px;

  line-height: 1.8;

  color: #d7e5ff;

  max-width: 700px;

  margin-bottom: 20px;
}

/* ===================================================
BUTTON
=================================================== */

.hero-buttons {
  display: flex;

  gap: 18px;

  margin-bottom: 20px;
}

.hero-buttons a {
  font-weight: 600;
}

.btn {
  height: 50px;

  padding: 0 34px;

  border-radius: 16px;

  display: inline-flex;

  align-items: center;

  justify-content: center;

  gap: 10px;

  font-weight: 600;

  transition: 0.3s;
}

.btn-white {
  background: white;

  color: #356dff;
}

.btn-white:hover {
  transform: translateY(-4px);

  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.15);
}

.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.3);

  color: white;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* ===================================================
STATS
=================================================== */

.stats {
  display: flex;
  gap: 50px;
}

.stats h2 {
  font-size: 40px;

  color: white;
}

.stats h3 {
  font-size: 30px;
  margin-top: 10px;
  color: white;
}

.stats span {
  color: #d8e5ff;
}

/* ===================================================
RIGHT
=================================================== */

.hero-right {
  position: relative;

  display: flex;

  justify-content: center;
}

.image-box {
  width: 100%;

  max-width: 500px;

  border-radius: 24px;

  overflow: hidden;

  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.25);
}

.image-box img {
  width: 100%;
}

/* ===================================================
FLOATING CARD
=================================================== */

.rating-card {
  position: absolute;

  top: -18px;

  right: 10px;

  background: #fff;

  border-radius: 18px;

  padding: 10px 15px;

  display: flex;

  align-items: center;

  gap: 10px;

  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.15);
}

.rating-card i {
  color: #ffb400;
}

.rating-card strong {
  font-size: 15px;
}

.rating-card span {
  color: #777;
  font-size: 10px;
}

/* ===================================================
DOWNLOAD
=================================================== */

.download-card {
  position: absolute;

  left: -40px;

  bottom: -20px;

  background: #fff;

  border-radius: 20px;

  padding: 10px 15px;

  display: flex;

  align-items: center;

  gap: 16px;

  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.15);
}

.circle {
  width: 48px;
  height: 48px;

  border-radius: 50%;

  background: #eaf8ef;

  color: #22c55e;

  display: flex;
  justify-content: center;
  align-items: center;
}

.circle i {
  font-size: 24px;
}

.download-card small {
  color: #888;
}

.download-card h3 {
  font-size: 15px;

  margin-top: 3px;
}

/* ===================================================
   BACKGROUND GLOW
=================================================== */

.hero {
  position: relative;
}

.hero::before {
  content: "";

  position: absolute;

  width: 700px;
  height: 700px;

  background: rgba(255, 255, 255, 0.08);

  border-radius: 50%;

  top: -320px;
  left: -220px;

  filter: blur(120px);
}

.hero::after {
  content: "";

  position: absolute;

  width: 600px;
  height: 600px;

  background: rgba(255, 255, 255, 0.05);

  border-radius: 50%;

  bottom: -250px;
  right: -150px;

  filter: blur(150px);
}

/* ===================================================
FLOAT ANIMATION
=================================================== */

.image-box {
  animation: floatImage 5s ease-in-out infinite;
}

.rating-card {
  animation: floatCard1 4s ease-in-out infinite;
}

.download-card {
  animation: floatCard2 5s ease-in-out infinite;
}

@keyframes floatImage {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

@keyframes floatCard1 {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes floatCard2 {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(8px);
  }
}

/* ===================================================
BUTTON EFFECT
=================================================== */

.btn {
  overflow: hidden;

  position: relative;
}

.btn::before {
  content: "";

  position: absolute;

  left: -100%;

  top: 0;

  width: 100%;

  height: 100%;

  background: rgba(255, 255, 255, 0.18);

  transition: 0.5s;
}

.btn:hover::before {
  left: 100%;
}

/* ===================================================
NAVBAR SCROLL
=================================================== */

header.scrolled {
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);

  backdrop-filter: blur(12px);
}

/* ===================================================
SEARCH EFFECT
=================================================== */

.search-box {
  transition: 0.3s;
}

.search-box input::placeholder {
  color: #9aa1ac;
}

.search-box:hover {
  transform: translateY(-1px);
}

/* ===================================================
MENU EFFECT
=================================================== */

.menu a {
  position: relative;
}

.menu a::after {
  content: "";

  position: absolute;

  left: 0;

  bottom: -8px;

  width: 0;

  height: 2px;

  background: #356dff;

  transition: 0.3s;
}

.menu a:hover::after {
  width: 100%;
}

/* ===================================================
ICON BUTTON
=================================================== */

.icon-btn {
  transition: 0.3s;
}

.icon-btn:hover {
  transform: translateY(-2px);
}

/* ===================================================
STATS
=================================================== */

.stats div {
  transition: 0.3s;
}

.stats div:hover {
  transform: translateY(-5px);
}

/* ===================================================
IMAGE SHADOW
=================================================== */

.image-box {
  position: relative;
}

.image-box::after {
  content: "";

  position: absolute;

  left: 50%;

  transform: translateX(-50%);

  bottom: -40px;

  width: 70%;

  height: 40px;

  background: rgba(0, 0, 0, 0.3);

  filter: blur(30px);

  z-index: -1;
}

/* ---------------------------------------------------------------  */

/* ===================================================
   PRODUCT SECTION
=================================================== */

.products {
  padding: 10px 0;
  background: #f8f9fc;
}

.products .container {
  width: 90%;
  max-width: 1230px;
  margin: auto;
}

/* ===================================================
CATEGORY TAB
=================================================== */

.category-tabs {
  display: flex;

  align-items: center;

  gap: 15px;

  overflow-x: auto;

  padding-bottom: 10px;

  margin-bottom: 35px;

  scrollbar-width: none;
}

.category-tabs::-webkit-scrollbar {
  display: none;
}

.category-tabs button {
  border: none;

  background: #fff;

  border: 1px solid #e5e7eb;

  padding: 12px 24px;

  border-radius: 40px;

  cursor: pointer;

  font-size: 15px;

  font-weight: 600;

  transition: 0.3s;

  white-space: nowrap;
}

.category-tabs button:hover {
  background: #356dff;

  color: #fff;

  border-color: #356dff;
}

.category-tabs button.active {
  background: #356dff;

  color: #fff;

  box-shadow: 0 10px 25px rgba(53, 109, 255, 0.25);
}

/* ===================================================
GRID
=================================================== */

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-link {
  /* display: flex; */
  display: block;
  text-decoration: none;
  color: inherit;
}

/* ===================================================
CARD
=================================================== */

.product-card {
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  transition: 0.35s;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-8px);

  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
}

/* ===================================================
IMAGE
=================================================== */

.product-image {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: 0.4s;
}

.product-card:hover img {
  transform: scale(1.05);
}

.like-badge {
  position: absolute;
  top: 12px;
  right: 12px;

  display: flex;
  align-items: center;
  gap: 5px;

  background-color: white;
  border: 1px solid black;
  color: black;

  padding: 6px 12px;
  border-radius: 20px;

  font-size: 13px;
  font-weight: 400;

  z-index: 2;
}

.like-badge i {
  font-size: 15px;
}
/* ===================================================
BODY
=================================================== */

.product-body {
  padding: 10px 22px;

  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-body h3 {
  font-size: 20px;

  margin-bottom: 10px;

  color: #111827;
}

.product-body p {
  color: #6b7280;

  line-height: 1.7;

  font-size: 15px;

  margin-bottom: 22px;
}

/* ===================================================
PRICE
=================================================== */

.price-row {
  margin-top: auto;
  margin-bottom: 16px;

  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.price-row h2 {
  color: #2563eb;

  font-size: 20px;
}

.price-row del {
  font-size: 18px;

  color: #9ca3af;

  margin-left: 8px;
}

.price-row small {
  color: #9ca3af;

  font-weight: 600;
}

/* ===================================================
BUTTON
=================================================== */

.product-body button {
  width: 100%;
  height: 54px;
  border: none;
  border-radius: 16px;
  background: #edf3ff;
  color: #356dff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

.product-body button:hover {
  background: #356dff;

  color: #fff;
}

/* tombol lihat semua */
.view-all-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 35px;
  margin-bottom: 20px;
}

.view-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border: 1px solid black;
  color: black;
  border-radius: 8px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  transition: 0.3s;
}

.view-all-btn i {
  font-size: 18px;
}

.view-all-btn:hover {
  background: black;
  color: white;
}

/* ===========================
   PAGINATION
=========================== */

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;

  margin: 60px 0;
}

.pagination a,
.pagination span {
  width: 100px;
  height: 40px;
  border-radius: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  transition: 0.25s;
}

/* tombol angka */

.page-number {
  color: #6b7280;
  background: #fff;
  border: 1px solid #e5e7eb;
}

.page-number:hover {
  background: #2563eb;
  color: #fff;
  border-color: #2563eb;
}

/* halaman aktif */

.page-number.active {
  background: #2563eb;
  color: #fff;
  border-color: #2563eb;

  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.25);
}

/* tombol prev next */

.page-btn {
  color: #9ca3af;
  background: #fff;
  border: 1px solid #e5e7eb;
}

.page-btn:hover {
  background: #2563eb;
  color: #fff;
  border-color: #2563eb;
}

/* titik */

.page-dots {
  color: #9ca3af;
  background: #fff;
  border: 1px solid #e5e7eb;
  cursor: default;
}

/* ==========================================
   FOOTER
========================================== */

.footer {
  background: #050b18;
  color: #fff;
  padding: 80px 0 35px;
}

.footer-container {
  width: 90%;
  max-width: 1250px;
  margin: auto;
}

/* Grid */

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 70px;
  margin-bottom: 60px;
}

/* Logo */

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 25px;
}

.logo-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;

  display: flex;
  justify-content: center;
  align-items: center;

  font-size: 20px;
}

.footer-brand p {
  color: #9aa6bd;
  line-height: 1.8;
  max-width: 360px;
  margin-bottom: 30px;
}

/* Social */

.socials {
  display: flex;
  gap: 14px;
}

.socials a {
  width: 46px;
  height: 46px;
  border-radius: 50%;

  display: flex;
  justify-content: center;
  align-items: center;

  background: #101827;
  color: #d1d5db;

  transition: 0.3s;
}

.socials a:hover {
  background: #2563eb;
  color: #fff;
}

/* Column */

.footer-column h4 {
  margin-bottom: 22px;
  font-size: 18px;
}

.footer-column {
  display: flex;
  flex-direction: column;
}

.footer-column a {
  color: #9aa6bd;
  margin-bottom: 16px;
  transition: 0.25s;
}

.footer-column a:hover {
  color: #fff;
  padding-left: 6px;
}

/* Bottom */

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);

  padding-top: 28px;

  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  color: #6b7280;
}

.secure-payment {
  display: flex;
  align-items: center;
  gap: 8px;

  background: #101827;
  color: #9aa6bd;

  padding: 10px 18px;
  border-radius: 30px;

  font-size: 14px;
}

.secure-payment i {
  color: #22c55e;
}

/* ----------------------------------- HLAMAN DETAIL TEMPLATE -----------------------------------*/
/* ===========================
   GLOBAL
=========================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Inter, sans-serif;
  background: #f7f8fc;
  color: #222;
}

.container {
  width: 1200px;
  max-width: 95%;
  margin: 40px auto;
}

/* ===========================
   BREADCRUMB
=========================== */

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 100px;
  margin-bottom: 30px;
  font-size: 15px;
}

.breadcrumb a {
  color: #8b94a7;
  text-decoration: none;
}

.breadcrumb strong {
  color: #111827;
  font-size: 15px;
}

/* ===========================
   LAYOUT
=========================== */

.detail-wrapper {
  width: 100%;
}

.detail-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  align-items: start;
  gap: 20px;
}

/* ===========================
   GALLERY
=========================== */

.gallery {
  background: #fff;
  border-radius: 22px;
  padding: 18px;
  box-shadow: 0 8px 35px rgba(0, 0, 0, 0.05);
  grid-column: 1;
}

.main-image {
  width: 100%;
  overflow: hidden;
  border-radius: 18px;
}

.main-image img {
  display: block;
  width: 100%;
  height: auto;
}

.main-image img:hover {
  transform: scale(1.02);
}

.thumbnail-list {
  display: flex;
  gap: 15px;
  margin-top: 18px;
}

.thumb {
  width: 140px;
  height: 95px;
  border-radius: 15px;
  object-fit: cover;
  cursor: pointer;
  border: 3px solid transparent;
  transition: 0.3s;
}

.thumb:hover {
  transform: translateY(-4px);
}

.thumb.active {
  border-color: #2f66f5;
}

.btn-pdf {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 12px;
  font-weight: 600;
  transition: 0.25s ease;
  font-size: 15px;
}

.btn-pdf:hover {
  transform: translateY(-2px);
}

.btn-pdf i {
  font-size: 18px;
}

/* MODAL PDF */
.custom-preview-modal {
  max-width: 1000px;
  width: calc(100% - 40px);
  height: 100vh;
  margin: 0 auto;
}

.custom-preview-modal .modal-content {
  height: 100vh;
  border: 0;
  border-radius: 0;
}

.custom-preview-modal .modal-body {
  padding: 0;
  overflow: hidden;
}

.custom-preview-modal iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.template-info,
.review-container,
.feedback-box {
  grid-column: 1;
}

/* ===========================
   SIDEBAR
=========================== */

.purchase-card {
  position: sticky;
  top: 30px;
  background: #fff;
  border-radius: 22px;
  padding: 28px;
  box-shadow: 0 8px 35px rgba(0, 0, 0, 0.06);
  grid-column: 2;
  position: sticky;
  top: 100px;
  align-self: start;
}

/* ===========================
   PRICE
=========================== */

.price-box {
  margin-bottom: 30px;
}

.price {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.price h1 {
  color: #2563eb;
  font-size: 20px;
}

.price del {
  color: #9ca3af;
  font-size: 15px;
}

.discount {
  background: #ffe5e5;
  color: #ef4444;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
}

.price-box small {
  color: #8b94a7;
  font-size: 15px;
}

/* ===========================
   SECTION
=========================== */

.section {
  margin-bottom: 30px;
}

.section h3 {
  margin-bottom: 18px;
  font-size: 15px;
}

/* ===========================
   WARNA
=========================== */
.color-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.color-card {
  border: 2px solid #e7e7e7;
  border-radius: 14px;

  cursor: pointer;

  overflow: hidden;

  transition: 0.3s;

  display: flex;

  flex-direction: column;

  align-items: center;

  padding: 10px;
}

.color-card input {
  display: none;
}

.color-card img {
  width: 100%;

  border-radius: 10px;

  margin-bottom: 8px;
}

.color-card span {
  font-size: 14px;

  font-weight: 600;
}

.color-card.active {
  border-color: #356dff;

  background: #f4f7ff;
}

/* ===========================
   LICENSE
=========================== */

.license-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 2px solid #eceef4;
  padding: 18px;
  border-radius: 16px;
  margin-bottom: 15px;
  cursor: pointer;
  transition: 0.25s;
}

.license-card input {
  margin-right: 12px;
}

.license-card span {
  flex: 1;
  font-weight: 500;
}

.license-card strong {
  color: #374151;
}

.license-card:hover {
  border-color: #2f66f5;
}

.license-card.active {
  border-color: #2f66f5;
  background: #f5f8ff;
}

/* ===========================
   DROPDOWN JENIS
=========================== */
.format-select {
  width: 100%;
  padding: 14px 16px;

  border: 1px solid #ddd;
  border-radius: 12px;

  font-size: 15px;
  font-family: inherit;

  background: white;

  cursor: pointer;

  outline: none;

  transition: 0.3s;
}

.format-select:hover,
.format-select:focus {
  border-color: #713ce8;
}
/* ===========================
   BUTTON
=========================== */

.button-group {
  margin-top: 25px;
}

.cart-btn,
.buy-btn {
  width: 100%;
  height: 50px;
  border: none;
  border-radius: 15px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  transition: 0.3s;
}

.cart-btn {
  background: #edf2ff;
  color: #2563eb;
  margin-bottom: 15px;
}

.cart-btn:hover {
  background: #dbe7ff;
}

.buy-btn {
  background: #2f66f5;
  color: white;
  box-shadow: 0 10px 25px rgba(47, 102, 245, 0.3);
}

.buy-btn:hover {
  transform: translateY(-2px);
}

.license-text {
  padding: 10px 14px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #f8f8f8;
  font-size: 14px;
  color: #555;
  font-weight: 500;
}

.empty-cart {
  width: 100%;
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 20px;
  padding: 70px 30px;
  text-align: center;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
}

.empty-icon {
  width: 120px;
  height: 120px;
  margin: auto;
  border-radius: 50%;
  background: linear-gradient(135deg, #eef6ff, #f7fbff);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
}

.empty-icon i {
  font-size: 60px;
  color: #3b82f6;
}

.empty-cart h2 {
  margin: 0;
  font-size: 28px;
  color: #222;
}

.empty-cart p {
  max-width: 430px;
  margin: 18px auto 35px;
  color: #777;
  line-height: 1.8;
  font-size: 15px;
}

.empty-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #2563eb;
  color: #fff;
  text-decoration: none;
  padding: 14px 30px;
  border-radius: 12px;
  font-weight: 600;
  transition: 0.25s;
}

.empty-btn:hover {
  background: #1d4ed8;
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.25);
  color: #fff;
}

.empty-btn i {
  font-size: 20px;
}

/* ===========================
   FEATURES
=========================== */

.features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 35px;
  color: #5f6b7a;
  font-size: 15px;
}

.features div {
  display: flex;
  align-items: center;
  gap: 8px;
}

.features i {
  color: #2563eb;
  font-size: 18px;
}

/* ===========================
   DESCRIPTION
=========================== */

.description-card {
  margin-top: 40px;
  background: white;
  border-radius: 22px;
  padding: 35px;
  box-shadow: 0 8px 35px rgba(0, 0, 0, 0.05);
}

.description-card h2 {
  margin-bottom: 18px;
}

.description-card p {
  line-height: 1.9;
  color: #616b78;
  margin-bottom: 25px;
}

.description-card h3 {
  margin-bottom: 15px;
}

.description-card ul {
  padding-left: 22px;
}

.description-card li {
  margin-bottom: 12px;
  color: #4b5563;
}

/* ===========================
   RELATED
=========================== */

.related {
  margin-top: 45px;
}

.related h2 {
  margin-bottom: 25px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.related-card {
  background: white;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
  transition: 0.3s;
  cursor: pointer;
}

.related-card:hover {
  transform: translateY(-8px);
}

.related-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.related-card h4 {
  padding: 18px 18px 8px;
}

.related-card span {
  display: block;
  padding: 0 18px 20px;
  color: #2563eb;
  font-weight: bold;
  font-size: 20px;
}

.template-info {
  background: #fff;

  border-radius: 24px;

  padding: 35px;

  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.template-header {
  display: flex;

  justify-content: space-between;

  align-items: flex-start;

  margin-bottom: 25px;
}

.template-badge {
  display: inline-block;

  background: #e8f0ff;

  color: #2563eb;

  padding: 6px 14px;

  border-radius: 30px;

  font-size: 13px;

  font-weight: 600;

  margin-bottom: 15px;
}

.template-header h2 {
  font-size: 30px;

  margin-bottom: 10px;
}

.template-meta {
  display: flex;

  gap: 20px;

  align-items: center;

  color: #6b7280;
}

.rating {
  display: flex;

  gap: 2px;

  align-items: center;
}

.rating i {
  color: #fdba12;
}

.rating strong {
  margin-left: 6px;

  color: #111827;
}

.template-desc {
  margin: 30px 0;

  line-height: 1.9;

  color: #4b5563;
}

.feature-grid {
  margin: 25px 0 40px;

  display: grid;

  grid-template-columns: repeat(2, 1fr);

  gap: 18px;
}

.feature-grid div {
  display: flex;

  align-items: center;

  gap: 10px;
}

.feature-grid i {
  color: #2563eb;

  background: #edf3ff;

  width: 22px;

  height: 22px;

  border-radius: 50%;

  display: flex;

  justify-content: center;

  align-items: center;

  font-size: 13px;
}

.include-grid {
  display: grid;

  grid-template-columns: repeat(2, 1fr);

  gap: 20px;

  margin: 25px 0 40px;
}

.include-card {
  background: #f8f9fc;

  border-radius: 18px;

  padding: 25px;

  text-align: center;
}

.include-icon {
  width: 58px;

  height: 58px;

  margin: auto auto 15px;

  border-radius: 50%;

  background: #e8f0ff;

  color: #2563eb;

  display: flex;

  justify-content: center;

  align-items: center;

  font-size: 28px;
}

.spec-grid {
  border-top: 1px solid #ececec;

  padding-top: 30px;

  display: grid;

  grid-template-columns: repeat(2, 1fr);

  gap: 35px;
}

.spec-grid small {
  display: block;

  color: #94a3b8;

  font-size: 10px;

  letter-spacing: 2px;

  margin-bottom: 8px;

  font-weight: 700;
}

.spec-grid strong {
  font-size: 15px;

  color: #111827;
}

/* color */
.color-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
}

.color-list {
  display: flex;

  gap: 12px;

  overflow-x: auto;

  scroll-behavior: smooth;

  scrollbar-width: none;

  flex: 1;
}

.color-list::-webkit-scrollbar {
  display: none;
}

.color-card {
  flex: 0 0 calc(50% - 6px);

  border: 2px solid #e5e7eb;

  border-radius: 14px;

  padding: 10px;

  cursor: pointer;

  transition: 0.3s;
}

.color-card img {
  width: 100%;

  border-radius: 10px;
}

.color-card span {
  display: block;

  text-align: center;

  margin-top: 8px;

  font-weight: 600;
}

.color-card input {
  display: none;
}

.color-card.active {
  border-color: #356dff;

  background: #f3f7ff;
}

.color-arrow {
  width: 36px;

  height: 36px;

  border: none;

  border-radius: 50%;

  background: #f3f4f6;

  cursor: pointer;

  display: flex;

  align-items: center;

  justify-content: center;
}

.color-arrow:hover {
  background: #356dff;

  color: white;
}

/* --------------------------- DETAIL CART ------------------------*/
/* ==========================
   CONTAINER
========================== */

.cart-container {
  max-width: 1400px;
  margin: 40px auto;
  padding: 0 25px;
}

/* ==========================
   BREADCRUMB
========================== */

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 25px;
  font-size: 14px;
}

.breadcrumb a {
  color: #8b95a7;
  text-decoration: none;
}

.breadcrumb strong {
  color: #111827;
}

/* ==========================
   TITLE
========================== */

.cart-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 30px;
}

.cart-title h1 {
  font-size: 25px;
  font-weight: 700;
}

.cart-title span {
  color: #7b8794;
  font-size: 15px;
}

/* ==========================
   WRAPPER
========================== */

.cart-wrapper {
  display: grid;

  grid-template-columns: 2fr 1fr;

  gap: 30px;

  align-items: start;
}

/* ==========================
   LEFT
========================== */

.cart-items {
  display: flex;

  flex-direction: column;

  gap: 22px;
}

/* ==========================
   CARD
========================== */

.cart-card {
  display: flex;

  gap: 20px;

  background: #fff;

  border-radius: 22px;

  padding: 20px;

  border: 1px solid #ececec;

  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.04);
}

/* ==========================
   IMAGE
========================== */

.cart-image {
  width: 120px;

  height: 85px;

  flex-shrink: 0;

  overflow: hidden;

  border-radius: 16px;
}

.cart-image img {
  width: 100%;

  height: 100%;

  object-fit: cover;
}

/* ==========================
   INFO
========================== */

.cart-info {
  flex: 1;

  display: flex;

  flex-direction: column;

  justify-content: space-between;
}

.top {
  display: flex;

  justify-content: space-between;

  align-items: flex-start;
}

.top h3 {
  font-size: 18px;

  margin-bottom: 10px;
}

.category {
  display: inline-block;

  background: #edf3ff;

  color: #356dff;

  padding: 6px 14px;

  border-radius: 50px;

  font-size: 13px;

  font-weight: 600;
}

.delete-btn {
  border: none;

  background: none;

  cursor: pointer;

  color: #b5bcc8;

  font-size: 20px;
}

/* ==========================
   BOTTOM
========================== */

.bottom {
  display: flex;

  align-items: center;

  gap: 20px;

  margin-top: 20px;
}

.license-select {
  width: 220px;

  height: 48px;

  border: 1px solid #ddd;

  border-radius: 14px;

  padding: 0 15px;

  font-size: 14px;

  background: #fff;
}

/* ==========================
   QTY
========================== */

.qty-box {
  display: flex;

  align-items: center;

  border: 1px solid #ddd;

  border-radius: 14px;

  overflow: hidden;
}

.qty-box button {
  width: 45px;

  height: 45px;

  border: none;

  background: #f7f8fb;

  cursor: pointer;

  font-size: 18px;
}

.qty-box input {
  width: 50px;

  text-align: center;

  border: none;

  font-size: 16px;

  font-weight: 600;

  outline: none;
}

/* ==========================
   PRICE
========================== */

.price {
  margin-left: auto;

  color: #356dff;

  font-size: 20px;

  font-weight: 700;
}

/* ==========================
   CONTINUE
========================== */

.continue-shopping {
  display: flex;

  align-items: center;

  gap: 8px;

  text-decoration: none;

  color: #356dff;

  font-weight: 600;
}

/* ==========================
   SUMMARY
========================== */

.summary-card {
  background: #fff;

  border-radius: 22px;

  padding: 28px;

  border: 1px solid #ececec;

  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.04);

  position: sticky;

  top: 100px;
}

.summary-card h2 {
  margin-bottom: 25px;
}

.summary-card .mb-3 {
  margin-bottom: 20px;
}

.summary-card label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #1f2937;
}

.summary-card small {
  display: block;
  font-size: 12px;
  line-height: 1.5;
  margin-bottom: 8px;
}

.summary-card .text-danger {
  color: #ef4444;
}

.summary-card .form-control {
  width: 100%;
  height: 48px;
  padding: 0 15px;
  border: 1px solid #dbe2ea;
  border-radius: 12px;
  font-size: 14px;
  background: #fff;
  transition: 0.25s;
  outline: none;
}

.summary-card textarea.form-control {
  height: 110px;
  padding: 15px;
}

.summary-card .form-control:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.summary-card .input-group {
  display: flex;
  width: 100%;
}

.summary-card .input-group .form-control {
  flex: 1;
  height: 48px;
  border-radius: 12px 0 0 12px;
  border-right: none;
}

.summary-card .input-group-text {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 18px;
  white-space: nowrap;
  background: #f5f7fb;
  border: 1px solid #dbe2ea;
  border-left: none;
  border-radius: 0 12px 12px 0;
  color: #6b7280;
  font-size: 14px;
  font-weight: 600;
}

.summary-card #suggestionBox {
  margin-top: 8px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  max-height: 220px;
  overflow-y: auto;
  background: #fff;
}

.summary-card #suggestionBox .list-group-item {
  padding: 12px 15px;
  cursor: pointer;
  border-bottom: 1px solid #f1f5f9;
  transition: 0.2s;
}

.summary-card #suggestionBox .list-group-item:last-child {
  border-bottom: none;
}

.summary-card #suggestionBox .list-group-item:hover {
  background: #eff6ff;
  color: #2563eb;
}

/* ==========================
   COUPON
========================== */

.coupon-box {
  display: flex;

  gap: 10px;

  margin-bottom: 25px;
}

.coupon-box input {
  flex: 1;

  height: 48px;

  border: 1px solid #ddd;

  border-radius: 14px;

  padding: 0 15px;
}

.coupon-box button {
  width: 90px;

  border: none;

  border-radius: 14px;

  background: #111827;

  color: #fff;

  cursor: pointer;
}

/* ==========================
   SUMMARY ROW
========================== */

.summary-row {
  display: flex;

  justify-content: space-between;

  margin: 18px 0;

  font-size: 16px;
}

.summary-row.total {
  font-size: 22px;

  font-weight: 700;
}

.summary-card hr {
  border: none;

  border-top: 1px solid #eee;

  margin: 20px 0;
}

.summary-card .mb-3 {
  position: relative;
}

.summary-card #suggestionBox {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 999;

  background: #fff;
  border: 1px solid #dbe2ea;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);

  max-height: 220px;
  overflow-y: auto;

  display: none;
}

.summary-card #suggestionBox:not(:empty) {
  display: block;
}

.summary-card #suggestionBox .list-group-item {
  border: 0;
  border-bottom: 1px solid #f1f5f9;
  padding: 12px 16px;
  font-size: 14px;
  background: #fff;
  cursor: pointer;
  transition: 0.2s;
}

.summary-card #suggestionBox .list-group-item:last-child {
  border-bottom: none;
}

.summary-card #suggestionBox .list-group-item:hover {
  background: #2563eb;
  color: #fff;
}

.summary-card #suggestionBox::-webkit-scrollbar {
  width: 6px;
}

.summary-card #suggestionBox::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 999px;
}

/* ==========================
   CHECKOUT
========================== */

.checkout-btn {
  width: 100%;

  height: 58px;

  border: none;

  border-radius: 16px;

  background: #356dff;

  color: white;

  font-size: 17px;

  font-weight: 600;

  margin-top: 20px;

  cursor: pointer;

  transition: 0.3s;
}

.checkout-btn:hover {
  background: #245de8;
}

/* ==========================
   SECURE
========================== */

.secure {
  margin-top: 18px;

  text-align: center;

  color: #8b95a7;

  font-size: 14px;
}

/* style product header baru */
.product-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
}

.product-header h3 {
  flex: 1;
  min-width: 0;
  margin: 0;
  font-size: 20px;
  line-height: 1.4;
  font-weight: 700;
}

.product-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

/* ==========================================
   BUTTON
========================================== */

.action-btn {
  width: 34px;
  height: 34px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  text-decoration: none;
  transition: 0.25s;
}

.action-btn i {
  font-size: 17px;
  line-height: 1;
}

/* Youtube */

.action-btn.youtube {
  background: #ff0000;
  color: #fff;
}

.action-btn.youtube:hover {
  background: #d60000;
  transform: translateY(-2px);
}

/* Preview */

.action-btn.view {
  background: #edf3ff;
  color: #356dff;
}

.action-btn.view:hover {
  background: #356dff;
  color: #fff;
  transform: translateY(-2px);
  -webkit-transform: translateY(-2px);
  -moz-transform: translateY(-2px);
  -ms-transform: translateY(-2px);
  -o-transform: translateY(-2px);
}

/* STYLE KATEGORI */

.template-category {
  width: 100%;
  max-width: 1600px;
}

.section-header {
  display: flex;
  justify-content: center;
  text-align: center;
  margin-bottom: 40px;
  margin-top: 40px;
}

.section-badge {
  display: inline-block;
  background: #eef2ff;
  color: #4f46e5;
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
}

.section-header h2 {
  display: inline-block;
  font-size: 20px;
  font-weight: 700;
  color: white;
  background-color: black;
  padding: 8px 20px;
  border-radius: 6px;
  margin-bottom: 8px;
}

.section-header p {
  font-size: 15px;
  color: #6b7280;
}

.category-wrapper {
  width: 100%;
  margin: 0 auto;
  position: relative;
}

.category-scroll {
  display: flex;
  gap: 24px;

  overflow-x: auto;
  scroll-behavior: smooth;

  scrollbar-width: none;
}

.category-scroll::-webkit-scrollbar {
  display: none;
}

.category-card {
  min-width: 430px;
  flex: 0 0 430px;

  cursor: pointer;
}

.category-card img {
  width: 100%;
  height: 250px;

  object-fit: cover;

  border-radius: 10px;

  transition: 0.4s;
}

.category-card:hover img {
  transform: scale(1.03);
}

.category-card h3 {
  margin-top: 15px;

  font-size: 15px;

  font-weight: 700;
}

.category-card p {
  margin-top: 5px;

  color: #666;

  font-size: 15px;
}

.nav {
  position: absolute;

  top: 35%;
  transform: translateY(-50%);

  width: 55px;
  height: 55px;

  border: none;
  border-radius: 50%;

  background: #fff;

  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);

  font-size: 20px;

  cursor: pointer;

  z-index: 99;

  transition: 0.3s;

  /* buat isi tombol tengah */
  display: flex;
  align-items: center;
  justify-content: center;

  line-height: 1;
}

.nav:hover {
  background: #f3f3f3;
}

.prev,
.next {
  display: flex;
  align-items: center;
  justify-content: center;
}

.prev {
  left: -20px;
}

.next {
  right: -20px;
}

/* banner style */
.promo-banner {
  width: 100%;
  padding: 20px 20px;
}

.promo-content {
  max-width: 1250px;
  margin: auto;

  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;

  gap: 70px;

  /* background: linear-gradient(135deg, #6c63ff, #4f46e5); */
  background: linear-gradient(135deg, #5b4dff, #6948ff, #3a5bff);

  padding: 60px;

  border-radius: 25px;

  overflow: hidden;
}

.badge {
  display: inline-block;

  background: #fff;

  color: #4f46e5;

  padding: 10px 18px;

  border-radius: 30px;

  font-size: 14px;

  font-weight: 600;

  margin-bottom: 20px;
}

.promo-text h1 {
  color: #fff;

  font-size: 56px;

  line-height: 1.2;

  margin-bottom: 20px;
}

.promo-text h1 span {
  color: #ffd54f;
}

.promo-text p {
  color: #e5e7eb;

  font-size: 18px;

  line-height: 1.8;

  margin-bottom: 35px;

  max-width: 550px;
}

.promo-btn {
  display: flex;
  gap: 20px;
}

.btn-primary {
  padding: 16px 35px;

  background: #fff;

  color: #4f46e5;

  border-radius: 10px;

  font-weight: 600;

  text-decoration: none;
}

.btn-primary:hover {
  background: #f3f3f3;
}

.btn-secondary {
  padding: 16px 35px;

  border: 2px solid #fff;

  color: #fff;

  border-radius: 10px;

  text-decoration: none;
}

.btn-secondary:hover {
  background: #fff;

  color: #4f46e5;
}

.promo-image {
  text-align: center;
}

.promo-image img {
  width: 100%;

  border-radius: 20px;

  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

/* ===================================================
STATS
=================================================== */

.stats {
  display: flex;
  gap: 50px;
}

.stats h2 {
  font-size: 40px;

  color: white;
}
.stats h2 {
  font-size: 40px;

  color: white;
}

.stats span {
  color: #d8e5ff;
}

/* HALAMAN DETAIL TEMPLATE */

/* review cust */
.review-container {
  /* max-width: 820px; */
  background: #ffffff;

  border: 1px solid #e5e7eb;
  border-radius: 24px;

  padding: 28px;

  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);

  font-family: "Poppins", sans-serif;
  margin-top: 10px;
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;

  margin-bottom: 25px;
}

.review-header h3 {
  font-size: 18px;
  font-weight: 700;
  color: #111827;
}

.rating-summary {
  background: #fff8df;

  padding: 8px 18px;

  border-radius: 20px;

  display: flex;
  gap: 7px;

  align-items: center;

  font-size: 14px;

  color: #64748b;
}

.rating-summary .star {
  color: #fbbf24;
  font-size: 18px;
}

.rating-summary strong {
  color: #111827;
}

.review-item {
  display: flex;

  gap: 18px;

  padding: 20px 0;

  border-bottom: 1px solid #edf0f5;
}

.review-item:last-child {
  border-bottom: none;
}

.user-avatar {
  width: 38px;
  height: 38px;

  border-radius: 50%;

  background: #dbeafe;

  display: flex;

  align-items: center;
  justify-content: center;

  color: #2563eb;

  font-size: 13px;

  font-weight: 700;

  flex-shrink: 0;
}

.review-content {
  flex: 1;
}

.review-top {
  display: flex;

  justify-content: space-between;

  align-items: flex-start;
}

.review-top h4 {
  margin: 0;

  font-size: 15px;

  color: #111827;

  font-weight: 700;
}

.review-top small {
  color: #94a3b8;

  font-size: 13px;
}

.stars {
  display: flex;
  align-items: center;
  gap: 2px;
}

.stars .active {
  color: #ffb000;
  font-size: 17px;
  line-height: 1;
}

.stars .empty {
  color: #d1d5db;
  font-size: 17px;
  line-height: 1;
}

.stars .rating-number {
  margin-left: 8px;
  color: #334155;
  font-size: 14px;
  line-height: 1;
}

.review-content p {
  margin-top: 14px;

  margin-bottom: 0;

  color: #475569;

  font-size: 14px;

  line-height: 1.7;
}

/* ================= REVIEW FORM ================= */

.feedback-box {
  margin-top: 30px;

  padding-top: 25px;

  border-top: 1px solid #e5e7eb;

  font-family: "Poppins", sans-serif;
}

/* TITLE */

.feedback-box h3 {
  margin: 0 0 20px;

  font-size: 18px;

  font-weight: 700;

  color: #111827;
}

/* TEXTAREA */

.feedback-box textarea {
  width: 100%;

  height: 120px;

  padding: 15px 16px;

  border: 1px solid #dbe2ea;

  border-radius: 12px;

  outline: none;

  resize: none;

  font-size: 14px;

  color: #334155;

  font-family: "Poppins", sans-serif;

  transition: 0.2s;
}

.feedback-box textarea::placeholder {
  color: #94a3b8;
}

.feedback-box textarea:focus {
  border-color: #2563eb;

  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* ================= RATING + BUTTON ================= */

.rating-action {
  display: flex;

  align-items: center;

  justify-content: space-between;

  margin-top: 20px;
}

/* RATING AREA */

.rating-area {
  display: flex;

  align-items: center;

  gap: 15px;
}

.rating-area > span {
  font-size: 14px;

  color: #64748b;

  font-weight: 500;
}

/* STAR */

.stars {
  display: flex;

  align-items: center;

  gap: 5px;
}

.stars i {
  font-style: normal;

  font-size: 25px;

  line-height: 1;

  color: #d1d5db;

  cursor: pointer;

  transition: 0.2s ease;
}

.stars i:hover {
  transform: scale(1.1);
}

.stars i.active {
  color: #fbbf24;
}

/* BUTTON */

#sendReview {
  height: 42px;

  padding: 0 25px;

  border: none;

  border-radius: 10px;

  background: #2563eb;

  color: white;

  font-size: 14px;

  font-weight: 600;

  cursor: pointer;

  transition: 0.3s;
}

#sendReview:hover {
  background: #1d4ed8;
}

.preview-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 99999;
}

.preview-content {
  width: 90%;
  max-width: 900px;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  animation: zoom 0.25s ease;
}

.preview-content iframe {
  width: 100%;
  height: 520px;
  display: block;
}

.close-modal {
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 34px;
  color: #fff;
  cursor: pointer;
  z-index: 2;
}

@keyframes zoom {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.empty-state {
  grid-column: 1 / -1;
  width: 100%;
  text-align: center;
  padding: 80px 20px;
}

/* REVIEW */

.form-control-custom {
  padding: 14px 16px;
  font-size: 15px;
}
/* modal yt dan gdrive */

/* RESPONSIVE CSS */
/* ==========================================
   TABLET
   768px - 992px
========================================== */

@media (max-width: 992px) {
  /* ---------- NAVBAR ---------- */

  .navbar {
    width: 92%;
    height: 70px;
    display: flex;
    align-items: center;
  }

  .nav-group {
    display: flex;
    align-items: center;
    margin-left: auto;
  }

  .menu-toggle {
    display: flex;
  }

  .menu {
    position: absolute;
    top: 70px;
    left: 20px;
    right: 20px;

    width: auto;

    display: none;
    flex-direction: column;
    align-items: flex-start;

    gap: 0;

    background: #fff;

    padding: 15px 0;

    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);

    z-index: 999;
  }

  .menu.active {
    display: flex;
  }

  .menu li {
    width: 100%;
  }

  .menu li a {
    width: 100%;
    display: flex;
    justify-content: space-between;

    padding: 15px 25px;
  }

  .nav-right {
    display: flex;
    align-items: center;
    gap: 15px;

    margin-left: auto;
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    display: none;
    transform: none;
    width: 100%;
    background: #f8f9fc;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
  }

  .dropdown.active .dropdown-menu {
    display: block;
  }

  .dropdown-menu a {
    padding-left: 45px;
  }

  .nav-right {
    margin-left: auto;
    margin-right: 5px;
  }
  /* ---------- HERO ---------- */

  .hero {
    padding: 70px 0;
  }

  .hero-container {
    width: 100%;
    padding: 0 30px;
    display: block;
  }

  .hero-right {
    display: none;
  }

  .hero-left h1 {
    font-size: 48px;
  }

  .hero-left p {
    font-size: 17px;
  }

  .stats {
    gap: 30px;
    flex-wrap: wrap;
  }

  /* ---------- PRODUCT ---------- */

  .products .container {
    width: 95%;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* ---------- DETAIL ---------- */

  .detail-content {
    display: flex;
    flex-direction: column;
    gap: 0px;
  }

  .gallery {
    grid-column: auto;
    width: 100%;
  }

  .purchase-card {
    position: static;
    width: 100%;
    margin: 30px 0;
  }

  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* ---------- CART ---------- */

  .cart-wrapper {
    grid-template-columns: 1fr;
  }

  .summary-card {
    position: static;
  }

  /* ---------- FOOTER ---------- */

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  /* ---------- CATEGORY ---------- */
  .category-section {
    grid-template-columns: repeat(2, 1fr);
  }

  /* ------------- BANNER ---------------- */
  .promo-content {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 40px;
  }

  .promo-text p {
    margin: auto auto 30px;
  }

  .promo-btn {
    justify-content: center;
    flex-wrap: wrap;
  }

  .promo-text h1 {
    font-size: 42px;
  }
}
/* ==========================================
   MOBILE
   <768px
========================================== */

@media (max-width: 768px) {
  /* ---------- HERO ---------- */

  .hero {
    padding: 40px 0;
  }

  .hero-container {
    padding: 0 20px;
  }

  .hero-left h1 {
    font-size: 34px;
  }

  .hero-left p {
    font-size: 15px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn {
    width: 100%;
    max-width: 260px;
  }

  .stats {
    gap: 18px;
  }

  .stats h2 {
    font-size: 28px;
  }

  /* ---------- PRODUCT ---------- */

  .products {
    padding: 40px 0;
  }

  .products .container {
    width: 95%;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-body {
    padding: 18px;
  }

  .product-body h3 {
    font-size: 20px;
  }

  .price-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
  }

  /* ---------- DETAIL ---------- */

  .thumbnail-list {
    overflow: auto;
  }

  .thumb {
    min-width: 110px;
    height: 80px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }

  .features {
    grid-template-columns: 1fr;
  }

  .spec-grid {
    grid-template-columns: 1fr;
  }

  .template-header {
    flex-direction: column;
    gap: 20px;
  }

  /* ---------- CART ---------- */
  .cart-container {
    padding: 0 16px;
  }

  .cart-wrapper {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .summary-card {
    width: 100%;
  }

  .cart-card {
    flex-direction: column;
  }

  .cart-image {
    width: 100%;
    height: 220px;
  }

  .bottom {
    flex-wrap: wrap;
  }

  .license-select {
    width: 100%;
  }

  .price {
    width: 100%;
    margin: 10px 0 0;
  }

  /* ---------- FOOTER ---------- */

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 18px;
  }

  /* ---------- CATEGORY ---------- */
  .category-card {
    min-width: 300px;
    flex: 0 0 300px;
  }

  .category-card img {
    height: 180px;
  }

  .category-card h3 {
    font-size: 22px;
  }

  .category-card p {
    font-size: 16px;
  }

  /* ----------------- BANNER ------------------ */
  .promo-text h1 {
    font-size: 32px;
  }

  .promo-content {
    padding: 30px 20px;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    text-align: center;
  }

  /* review */
  .rating-action {
    flex-direction: column;

    align-items: flex-start;

    gap: 20px;
  }

  .rating-area {
    width: 100%;

    justify-content: space-between;
  }

  #sendReview {
    width: 100%;
  }

  .preview-content {
    width: 95%;
  }

  .preview-content iframe {
    height: 320px;
  }

  .navbar {
    width: 95%;
  }

  .logo span {
    font-size: 14px;
  }

  .logo-icon img {
    width: 35px;
  }

  .nav-right {
    gap: 10px;
  }

  .login-btn {
    padding: 8px 15px;
    font-size: 14px;
  }

  .cart-icon {
    font-size: 20px;
  }

  .menu {
    top: 70px;
  }
}

/* <= 421px */
@media (max-width: 421px) {
  .cart-wrapper {
    grid-template-columns: 1fr;
  }

  .cart-items {
    min-width: 0;
  }

  .cart-wrapper > * {
    min-width: 0;
  }
  .cart-card {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
  }

  .cart-image {
    width: 100%;
    height: 180px;
    flex-shrink: 0;
  }

  .cart-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .cart-info {
    flex: 1;
    min-width: 0;
  }

  .top,
  .bottom {
    display: flex;
    width: 100%;
    min-width: 0;
  }

  .bottom {
    flex-wrap: wrap;
  }
}
