/* Font */
@import url("https://fonts.googleapis.com/css2?family=Itim&display=swap");
/* "Itim", cursive; */

@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");
/* "Roboto", sans-serif; */

@import url("https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap");
/* "Nunito", sans-serif; */

@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap");
/* "Plus Jakarta Sans", sans-serif */

@import url("https://fonts.googleapis.com/css2?family=Poetsen+One&display=swap");

:root {
  --primary: #07337C;
  --primary-dark: #141627;
  --secondary: #FFB606;
  --secondary-dark: #CC9A25;
  --tertiary: #f1f1f1;
  --white: #ffffff;
  --font: #374151;
  --black: #212121;
  --footer: #111111;
}

html,
body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

body {
  font-family:
    "Roboto",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Oxygen,
    Ubuntu,
    Cantarell,
    "Open Sans",
    "Helvetica Neue",
    sans-serif;
}

/* =====================================================
   NAVBAR C-PURUN - FINAL CLEAN VERSION
   Gunakan file ini untuk navbar publik dan navbar login.
   Perbedaan isi cukup di HTML/PHP bagian kanan navbar.
===================================================== */

.nav-user {
  min-height: 64px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(
    90deg,
    #244d86 0%,
    var(--primary) 48%,
    #0b3b83 100%
  );
  box-shadow: none;
  z-index: 1050;
}

.nav-container {
  width: 100%;
  max-width: 1600px;
  margin-inline: auto;
  padding-inline: 18px;
}

/* =====================================================
   BRAND
===================================================== */

.nav-user .navbar-brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  margin: 0;
  padding: 0;
  color: var(--secondary);
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.5px;
  text-decoration: none;
  white-space: nowrap;
}

.nav-user .navbar-brand span {
  color: var(--secondary);
}

.nav-user .navbar-brand:hover {
  color: var(--white);
}

/* =====================================================
   MENU
===================================================== */

.nav-user .navbar-nav {
  flex-shrink: 0;
  gap: 3px;
}

.nav-user .navbar-nav .nav-link {
  display: flex;
  align-items: center;
  padding: 9px 11px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.86rem;
  font-weight: 700;
  border-radius: 8px;
  white-space: nowrap;
  transition:
    color 0.25s ease,
    background 0.25s ease;
}

.nav-user .navbar-nav .nav-link:hover,
.nav-user .navbar-nav .nav-link.active {
  color: var(--secondary);
  background: rgba(255, 255, 255, 0.08);
}

.nav-user .navbar-nav .nav-link::after {
  display: none;
}

/* =====================================================
   SEARCH
===================================================== */

.search-mobile,
.desktop-search {
  min-width: 0;
}

.search-box {
  display: flex;
  align-items: center;
  width: 100%;
  height: 44px;
  padding: 3px;
  overflow: hidden;
  border: 2px solid var(--secondary);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.1);
}

.search-box input {
  flex: 1 1 auto;
  min-width: 0;
  height: 100%;
  padding: 0 13px;
  color: var(--font);
  font-size: 0.88rem;
  border: 0;
  outline: 0;
  background: transparent;
  box-shadow: none;
}

.search-box input::placeholder {
  color: #9ca3af;
}

.search-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 52px;
  width: 52px;
  height: 36px;
  padding: 0;
  color: var(--primary);
  font-size: 1rem;
  border: 0;
  border-radius: 6px;
  background: var(--secondary);
  cursor: pointer;
  transition:
    background 0.25s ease,
    transform 0.2s ease;
}

.search-submit:hover {
  color: var(--primary);
  background: #ffd15a;
}

.search-submit:active {
  transform: scale(0.96);
}

/* =====================================================
   CART
===================================================== */

.cart-icon,
.mobile-cart-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  padding: 0;
  color: var(--white);
  font-size: 1.25rem;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  text-decoration: none;
  transition:
    color 0.25s ease,
    background 0.25s ease;
}

.cart-icon:hover,
.mobile-cart-btn:hover {
  color: var(--secondary);
  background: rgba(255, 255, 255, 0.09);
}

.cart-badge {
  position: absolute;
  top: -3px;
  right: -3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  color: var(--primary);
  font-size: 0.64rem;
  font-weight: 800;
  line-height: 1;
  border: 2px solid var(--primary);
  border-radius: 50px;
  background: var(--secondary);
}

/* Dropdown cart desktop */
.cart-hover .cart-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  display: none;
  width: 390px;
  overflow: hidden;
  color: var(--font);
  border: 0;
  border-radius: 12px;
  background: var(--white);
  z-index: 1060;
}

.cart-hover:hover .cart-dropdown {
  display: block;
}

.cart-empty-icon {
  color: #cbd5e1;
  font-size: 3rem;
}

.cart-title {
  padding: 13px 16px;
  color: #6b7280;
  font-size: 0.85rem;
  border-bottom: 1px solid #eef0f3;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-bottom: 1px solid #f1f1f1;
}

.cart-item img {
  flex-shrink: 0;
  width: 45px;
  height: 45px;
  border-radius: 6px;
  object-fit: cover;
}

.cart-info {
  flex: 1;
  min-width: 0;
}

.cart-name {
  overflow: hidden;
  color: var(--font);
  font-size: 0.84rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cart-price {
  flex-shrink: 0;
  color: var(--secondary-dark);
  font-size: 0.82rem;
  font-weight: 700;
}

.cart-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
}

.cart-footer span {
  color: #6b7280;
  font-size: 0.78rem;
}

.btn-cart-view {
  padding: 8px 12px;
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 7px;
  background: var(--secondary);
  text-decoration: none;
}

/* =====================================================
   HAMBURGER
===================================================== */

.mobile-menu-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  padding: 0;
  gap: 5px;
  border: 0;
  border-radius: 10px;
  background: var(--secondary);
  box-shadow: 0 5px 14px rgba(255, 182, 6, 0.2);
}

.mobile-menu-btn span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 5px;
  background: var(--primary);
}

/* =====================================================
   RIGHT SIDE / PROFILE / AUTH
===================================================== */

.navbar-right {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 12px;
}

.nav-user .vr {
  min-height: 28px;
  color: rgba(255, 255, 255, 0.28);
  opacity: 1;
}

.header-user-profile {
  flex-shrink: 0;
}

.user-nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 3px 8px 3px 4px;
  color: var(--white);
  border-radius: 50px;
  background: transparent;
  text-decoration: none;
  transition: background 0.25s ease;
}

.user-nav-link:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.user-nav-link img {
  flex-shrink: 0;
  border: 2px solid var(--secondary);
}

.user-nav-name {
  display: block;
  overflow: hidden;
  max-width: 110px;
  color: var(--white);
  font-size: 0.84rem;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dropdown-user-profile {
  min-width: 250px;
  margin-top: 10px !important;
  border: 0;
  border-radius: 13px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.22);
}

.dropdown-user-profile .dropdown-header {
  background: var(--primary);
}

.dropdown-user-profile .dropdown-item {
  padding: 11px 18px;
  color: var(--font);
  font-size: 0.9rem;
}

.dropdown-user-profile .dropdown-item:hover {
  color: var(--primary);
  background: rgba(7, 51, 124, 0.07);
}

.auth-buttons {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-login-nav,
.btn-register-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 17px;
  font-size: 0.86rem;
  font-weight: 700;
  border-radius: 9px;
  text-decoration: none;
  white-space: nowrap;
}

.btn-login-nav {
  color: var(--secondary);
  border: 2px solid var(--secondary);
  background: transparent;
}

.btn-login-nav:hover {
  color: var(--primary);
  background: var(--secondary);
}

.btn-register-nav {
  color: var(--primary);
  border: 2px solid var(--secondary);
  background: var(--secondary);
}

.btn-register-nav:hover {
  color: var(--primary);
  border-color: var(--white);
  background: var(--white);
}

/* =====================================================
   DESKTOP
===================================================== */

@media (min-width: 992px) {
  .nav-container {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
  }

  .desktop-brand {
    margin-right: 12px !important;
  }

  .nav-user .navbar-collapse {
    display: flex !important;
    align-items: center;
    flex-grow: 1;
    min-width: 0;
    width: auto;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .nav-user .navbar-nav {
    display: flex;
    flex-direction: row;
    width: auto;
    margin-bottom: 0 !important;
  }

  .desktop-search {
    display: flex;
    flex: 1 1 auto;
    min-width: 180px;
    margin-inline: 18px;
  }

  .navbar-right {
    width: auto;
    margin-left: auto;
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .nav-container {
    padding-inline: 12px;
  }

  .nav-user .navbar-brand {
    font-size: 1.15rem;
  }

  .nav-user .navbar-nav .nav-link {
    padding-inline: 7px;
    font-size: 0.76rem;
  }

  .desktop-search {
    min-width: 150px;
    margin-inline: 10px;
  }

  .user-nav-name {
    display: none;
  }

  .navbar-right {
    gap: 7px;
  }
}

/* =====================================================
   TABLET & MOBILE - SATU BARIS
===================================================== */

@media (max-width: 991.98px) {
  .nav-user {
    min-height: 64px;
    padding: 7px 0;
  }

  .nav-container {
    display: block;
    padding-inline: 12px;
  }

  .mobile-navbar {
    display: flex !important;
    align-items: center;
    flex-wrap: nowrap;
    width: 100%;
    min-width: 0;
    gap: 8px;
  }

  .mobile-brand {
    flex: 0 0 auto;
    margin: 0 !important;
    font-size: 1.12rem !important;
  }

  .search-mobile {
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
    margin: 0;
    padding: 0;
  }

  .search-mobile .search-box {
    width: 100%;
    min-width: 0;
    height: 40px;
    padding: 3px;
    border: 1px solid var(--secondary);
    border-radius: 9px;
  }

  .search-mobile .search-box input {
    min-width: 0;
    padding: 0 9px;
    font-size: 0.8rem;
  }

  .search-mobile .search-submit {
    flex: 0 0 40px;
    width: 40px;
    height: 32px;
    font-size: 0.9rem;
  }

  .mobile-nav-actions {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: 10px;
    margin-left: auto;
  }

  .mobile-cart-btn,
  .mobile-menu-btn {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    margin: 0;
  }

  .mobile-cart-btn {
    font-size: 1.15rem;
  }

  .mobile-menu-btn {
    gap: 4px;
  }

  .mobile-menu-btn span {
    width: 18px;
  }

  .nav-user .navbar-collapse {
    width: 100%;
    margin: 8px 0 3px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    background: rgba(5, 39, 95, 0.98);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.2);
  }

  .nav-user .navbar-nav {
    width: 100%;
    margin-bottom: 12px !important;
  }

  .nav-user .navbar-nav .nav-link {
    min-height: 43px;
    padding: 10px 13px;
    font-size: 0.9rem;
  }

  .navbar-right {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    margin: 0 !important;
    gap: 10px;
  }

  .header-user-profile,
  .auth-buttons {
    width: 100%;
  }

  .user-nav-link {
    width: 100%;
    min-height: 48px;
    padding: 5px 9px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
  }

  .user-nav-name {
    max-width: calc(100vw - 130px);
  }

  .btn-login-nav,
  .btn-register-nav {
    flex: 1;
  }

  .dropdown-user-profile {
    width: 100%;
    min-width: 100%;
    margin-top: 7px !important;
  }
}

/* =====================================================
   MOBILE KECIL
===================================================== */

@media (max-width: 420px) {
  .nav-container {
    padding-inline: 10px;
  }

  .mobile-navbar {
    gap: 6px;
  }

  .mobile-brand {
    font-size: 1rem !important;
  }

  .search-mobile .search-box {
    height: 38px;
  }

  .search-mobile .search-box input {
    padding-inline: 7px;
    font-size: 0.75rem;
  }

  .search-mobile .search-submit {
    flex-basis: 36px;
    width: 36px;
    height: 30px;
  }

  .mobile-nav-actions {
    gap: 8px;
  }

  .mobile-cart-btn,
  .mobile-menu-btn {
    flex-basis: 38px;
    width: 38px;
    height: 38px;
  }

  .nav-user .navbar-collapse {
    padding: 10px;
  }
}

/* =========================
   Hero E-Commerce Purun
========================= */

.dashboard-purun {
  position: relative;
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(
      circle at 15% 20%,
      rgba(255, 182, 6, 0.13),
      transparent 30%
    ),
    radial-gradient(
      circle at 90% 80%,
      rgba(255, 255, 255, 0.07),
      transparent 30%
    ),
    linear-gradient(
      110deg,
      #244d86 0%,
      var(--primary) 50%,
      #123f80 100%
    );
}

/* Dekorasi background */
.dashboard-purun::before,
.dashboard-purun::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.dashboard-purun::before {
  width: 350px;
  height: 350px;
  top: -170px;
  right: -110px;
  border: 70px solid rgba(255, 255, 255, 0.035);
}

.dashboard-purun::after {
  width: 280px;
  height: 280px;
  left: -130px;
  bottom: -140px;
  border: 55px solid rgba(255, 182, 6, 0.06);
}

.dashboard-purun .container {
  position: relative;
  z-index: 2;
}

/* =========================
   Hero Content
========================= */

.hero-content {
  max-width: 620px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 17px;
  color: var(--secondary);
  font-size: 0.88rem;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(8px);
}

.hero-title {
  margin-top: 24px;
  margin-bottom: 22px;
  color: var(--white);
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
}

.hero-title span {
  display: block;
  color: var(--secondary);
}

.hero-description {
  max-width: 570px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1rem;
  line-height: 1.8;
}

/* =========================
   Hero Button
========================= */

.btn-shop {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 27px;
  color: var(--primary);
  font-size: 0.95rem;
  font-weight: 700;
  border: 2px solid var(--secondary);
  border-radius: 11px;
  background: var(--secondary);
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(255, 182, 6, 0.2);
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}

.btn-shop:hover {
  color: var(--primary);
  border-color: #ffd15a;
  background: #ffd15a;
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(255, 182, 6, 0.3);
}

/* =========================
   Hero Information
========================= */

.hero-info {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 45px;
}

.hero-info > div {
  position: relative;
  padding-right: 30px;
  margin-right: 30px;
}

.hero-info > div:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 1px;
  height: 35px;
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-50%);
}

.hero-info h3 {
  margin-bottom: 3px;
  color: var(--white);
  font-size: 1.35rem;
  font-weight: 800;
}

.hero-info span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.82rem;
}

/* =========================
   Hero Image
========================= */

.hero-image {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
}

/* Cahaya di belakang gambar */
.hero-image::before {
  content: "";
  position: absolute;
  width: 430px;
  height: 430px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 182, 6, 0.18),
    rgba(255, 182, 6, 0.05) 55%,
    transparent 70%
  );
  filter: blur(5px);
}

.hero-image img {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  max-width: 570px;
  max-height: 570px;
  object-fit: contain;
  filter: drop-shadow(0 30px 35px rgba(0, 0, 0, 0.28));
  animation: heroFloat 5s ease-in-out infinite;
}

@keyframes heroFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

/* =========================
   Responsive
========================= */

@media (max-width: 991.98px) {
  .dashboard-purun {
    min-height: auto;
    padding: 100px 0 80px;
  }

  .hero-content {
    max-width: 720px;
    margin-inline: auto;
    text-align: center;
  }

  .hero-description {
    margin-inline: auto;
  }

  .hero-info {
    justify-content: center;
  }

  .hero-image {
    min-height: auto;
    margin-top: 55px;
  }

  .hero-image img {
    max-width: 470px;
  }
}

@media (max-width: 767.98px) {
  .dashboard-purun {
    padding: 80px 0 65px;
  }

  .hero-badge {
    padding: 8px 14px;
    font-size: 0.78rem;
  }

  .hero-title {
    margin-top: 20px;
    font-size: 2.35rem;
    letter-spacing: -0.8px;
  }

  .hero-description {
    font-size: 0.92rem;
    line-height: 1.7;
  }

  .btn-shop {
    width: 100%;
    max-width: 280px;
  }

  .hero-info {
    gap: 20px;
    margin-top: 38px;
  }

  .hero-info > div {
    min-width: 80px;
    padding-right: 0;
    margin-right: 0;
  }

  .hero-info > div:not(:last-child)::after {
    display: none;
  }

  .hero-info h3 {
    font-size: 1.15rem;
  }

  .hero-info span {
    font-size: 0.74rem;
  }

  .hero-image {
    margin-top: 40px;
  }

  .hero-image::before {
    width: 300px;
    height: 300px;
  }

  .hero-image img {
    max-width: 340px;
  }
}

@media (max-width: 575.98px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-info {
    justify-content: space-around;
  }
}

/* Matikan animasi jika perangkat mengurangi motion */
@media (prefers-reduced-motion: reduce) {
  .hero-image img {
    animation: none;
  }
}

/* Login Required Modal Cart navbar */
.login-required-modal {
  border: none;
  border-radius: 20px;
  box-shadow: 0 18px 40px rgba(29, 46, 99, .16);
}

.login-required-icon {
  width: 70px;
  height: 70px;
  margin: auto;
  border-radius: 50%;
  background: rgba(255, 96, 0, .12);
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-required-icon i {
  color: var(--secondary);
  font-size: 32px;
}

.login-required-title {
  color: var(--primary);
  font-size: 20px;
  font-weight: 800;
}

.login-required-desc {
  color: #6b7280;
  font-size: 14px;
  line-height: 1.5;
}

.btn-login-required {
  width: 100%;
  height: 46px;
  border-radius: 12px;
  background: var(--secondary);
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-login-required:hover {
  background: var(--secondary-dark);
  color: var(--white);
}

.navbar-toggler {
  padding: 6px 9px;
}

@media (max-width: 575px) {
  .navbar-brand {
    font-size: 20px !important;
  }

  .search-mobile {
    flex: 1 1 0;
    width: 100%;
    max-width: none;
    min-width: 0;
  }
}

.user-nav-link {
  padding: 8px 12px;
  border-radius: 12px;
  transition: .2s ease;
}

.user-nav-link:hover,
.user-nav-link.show {
  background: rgba(255, 255, 255, .14);
}

.user-nav-link img {
  border: 2px solid rgba(255, 255, 255, .75);
}

.mobile-menu-btn {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border: none;
  border-radius: 12px;
  background: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  padding: 0;
}

.mobile-menu-btn span {
  width: 18px;
  height: 2px;
  background: var(--white);
  border-radius: 999px;
  transition: .25s ease;
}

.mobile-menu-btn[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.mobile-menu-btn[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.user-nav-name {
  font-weight: 700;
}

.dropdown-user-profile {
  width: 230px;
  border: none;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(29, 46, 99, .18);
  margin-top: 12px;
}

.dropdown-user-profile .dropdown-header {
  background: var(--primary) !important;
  padding: 18px 20px !important;
}

.dropdown-user-profile .dropdown-header h6 {
  font-size: 15px;
  font-weight: 800;
}

.dropdown-user-profile .dropdown-header span {
  font-size: 13px;
}

.dropdown-user-profile .dropdown-body {
  background: var(--white);
  padding: 10px;
}

.dropdown-user-profile .dropdown-item {
  color: var(--font);
  border-radius: 10px;
  padding: 11px 12px;
  font-weight: 600;
  transition: .2s ease;
}

.dropdown-user-profile .dropdown-item:hover {
  background: #f3f6ff;
  color: var(--primary);
}

.dropdown-user-profile .dropdown-item i {
  color: var(--secondary);
  font-size: 18px;
}

@media (max-width: 991px) {
  .header-user-profile {
    position: static;
  }

  .dropdown-user-profile {
    width: calc(100vw - 32px);
    max-width: 320px;
    left: auto !important;
    right: 16px !important;
    transform: none !important;
    margin-top: 10px;
    border-radius: 14px;
  }

  .user-nav-link {
    padding: 6px;
  }

  .user-nav-link img {
    width: 40px;
    height: 40px;
  }
}

.btn-logout-clean {
  width: 100%;
  background: var(--secondary);
  color: var(--white);
  border: none;
  border-radius: 10px;
  padding: 11px 14px;
  font-weight: 700;
}

.btn-logout-clean:hover {
  background: var(--secondary-dark);
  color: var(--white);
}

/* Modal log out */
.logout-icon-box {
  width: 78px;
  height: 78px;
  margin: auto;
  border-radius: 50%;
  background: rgba(220, 53, 69, .12);
  display: flex;
  align-items: center;
  justify-content: center;
}

.logout-icon-box i {
  font-size: 36px;
  color: #dc3545;
}

.btn-logout-modal {
  width: 100%;
  height: 48px;
  border: none;
  border-radius: 14px;
  background: #dc3545;
  color: var(--white);
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: .2s ease;
}

.btn-logout-modal:hover {
  background: #bb2d3b;
  color: var(--white);
}

/* Profile */
.profile-page {
  background: #f6f8fb;
}

.profile-main-box {
  background: var(--white);
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 8px 24px rgba(29, 46, 99, 0.08);
}

.profile-photo-box {
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 18px;
  text-align: center;
  background: var(--white);
}

.profile-photo-box img {
  width: 100%;
  max-width: 300px;
  height: 300px;
  object-fit: cover;
  border-radius: 14px;
  background: var(--tertiary);
}

.btn-photo-clean {
  width: 100%;
  max-width: 300px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 12px;
  padding: 12px 18px;
  font-weight: 700;
}

.btn-photo-clean:hover {
  background: #142149;
  color: var(--white);
}

.photo-note {
  max-width: 300px;
  margin: 14px auto 0;
  color: #6b7280;
  font-size: 13px;
  line-height: 1.5;
}

.profile-title {
  color: var(--primary);
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 22px;
}

.profile-row {
  display: grid;
  grid-template-columns: 150px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid #edf0f5;
}

.profile-label {
  color: #6b7280;
  font-weight: 700;
}

.profile-value {
  color: var(--font);
  font-weight: 600;
  word-break: break-word;
}

.profile-action {
  border: none;
  background: transparent;
  color: var(--secondary);
  font-weight: 800;
  padding: 0;
  white-space: nowrap;
}

.profile-action:hover {
  color: var(--secondary-dark);
}

.modal-content {
  border: none;
  border-radius: 18px;
}

.modal-header {
  border-bottom: none;
  padding: 24px 26px 10px;
}

.modal-body {
  padding: 14px 26px;
}

.modal-footer {
  border-top: none;
  padding: 10px 26px 26px;
}

.modal-title {
  color: var(--primary);
  font-weight: 800;
}

.form-label {
  color: var(--font);
  font-weight: 700;
}

.form-control {
  border-radius: 12px;
  border: 1px solid #d1d5db;
  padding: 12px 14px;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.15rem rgba(29, 46, 99, 0.12);
}

.btn-save-clean {
  background: var(--secondary);
  border: none;
  color: var(--white);
  border-radius: 10px;
  padding: 10px 20px;
  font-weight: 700;
}

.btn-save-clean:hover {
  background: var(--secondary-dark);
  color: var(--white);
}

.btn-cancel-clean {
  border: 1px solid #d1d5db;
  background: var(--white);
  color: var(--font);
  border-radius: 10px;
  padding: 10px 20px;
  font-weight: 700;
}

.btn-cancel-clean:hover {
  background: #f9fafb;
}

@media (max-width: 768px) {
  .profile-main-box {
    padding: 18px;
  }

  .profile-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .profile-action {
    text-align: left;
  }
}

.modal-profile-content {
  border: none;
  border-radius: 16px;
  overflow: hidden;
}

.modal-profile-header {
  border-bottom: none;
  padding: 24px 28px 6px;
}

.modal-profile-header .modal-title {
  color: var(--black);
  font-size: 21px;
  font-weight: 800;
}

.modal-profile-header .btn-close {
  width: 14px;
  height: 14px;
  box-shadow: none;
}

.modal-profile-body {
  padding: 18px 28px 28px;
}

.modal-desc {
  color: #4b5563;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 22px;
}

.btn-save-full {
  width: 100%;
  border: none;
  background: var(--secondary);
  color: var(--white);
  border-radius: 10px;
  padding: 11px 16px;
  font-size: 15px;
  font-weight: 800;
}

.btn-save-full:hover {
  background: var(--secondary-dark);
  color: var(--white);
}

.birth-row {
  display: grid;
  grid-template-columns: 115px 1fr 115px;
  gap: 10px;
}

.birth-select {
  height: 45px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  color: #4b5563;
  font-size: 14px;
  padding: 0 12px;
  box-shadow: none;
}

.birth-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.12rem rgba(29, 46, 99, 0.12);
}

.gender-row {
  display: flex;
  justify-content: center;
  gap: 42px;
  margin: 24px 0 28px;
}

.gender-option {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #4b5563;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.gender-option input {
  display: none;
}

.gender-radio {
  width: 23px;
  height: 23px;
  border: 2px solid #374151;
  border-radius: 50%;
  position: relative;
}

.gender-option input:checked+.gender-radio {
  border-color: var(--secondary);
}

.gender-option input:checked+.gender-radio::after {
  content: "";
  width: 11px;
  height: 11px;
  background: var(--secondary);
  border-radius: 50%;
  position: absolute;
  top: 4px;
  left: 4px;
}

.gender-icon {
  font-size: 30px;
  line-height: 1;
  filter: grayscale(1);
}

@media (max-width: 576px) {
  .modal-profile-header {
    padding: 22px 22px 6px;
  }

  .modal-profile-body {
    padding: 16px 22px 24px;
  }

  .birth-row {
    grid-template-columns: 1fr;
  }

  .gender-row {
    gap: 24px;
    flex-wrap: wrap;
  }
}

/* Ganti password profile */
.password-group {
  position: relative;
}

.password-group .form-control {
  padding-right: 48px;
}

.toggle-password {
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  color: #6b7280;
  font-size: 18px;
}

.toggle-password:hover {
  color: var(--secondary);
}

/* Login */
.login-user h5 {
  font-size: 1.5rem;
  color: var(--primary) !important;
  font-weight: bold;
}

.login-user h5 span {
  color: var(--secondary) !important;
}

.login-user .modal-header p {
  color: var(--font) !important;
  font-size: 12px;
}

.login-user .register {
  color: var(--secondary) !important;
}

.btn-custom-login {
  background-color: #253B80 !important;
  color: #fff !important;
  border: none !important;
  padding: 0.5rem 1.2rem;
  border-radius: 0.375rem;
  font-weight: 500;
  transition: all 0.2s ease-in-out;
}

.btn-custom-login:hover {
  background-color: #1d2e63 !important;
  color: #fff !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.btn-custom-login:active {
  transform: scale(0.98);
  box-shadow: none;
}

/* Home Slider */
.home-slider-section {
  background: #f4f6fa;
}

.home-slider {
  position: relative;
  border-radius: 14px;
}

.home-slider .carousel-inner {
  border-radius: 14px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.home-slider .carousel-item img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  object-position: center;
}

.home-slider .carousel-control-prev,
.home-slider .carousel-control-next {
  width: 46px;
  height: 46px;
  top: 50%;
  transform: translateY(-50%);
  background: #ffffff;
  border-radius: 50%;
  opacity: 1;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.18);
}

.home-slider .carousel-control-prev {
  left: -18px;
}

.home-slider .carousel-control-next {
  right: -18px;
}

.home-slider .carousel-control-prev-icon,
.home-slider .carousel-control-next-icon {
  width: 18px;
  height: 18px;
  filter: invert(45%);
}


.home-slider .carousel-indicators {
  justify-content: flex-start;
  margin-left: 18px;
  margin-right: 0;
  margin-bottom: 14px;
  gap: 5px;
}

.home-slider .carousel-indicators [data-bs-target] {
  width: 7px;
  height: 7px;
  border: 0;
  border-radius: 50%;
  background-color: #ffffff;
  opacity: 0.7;
  transition: all 0.25s ease;
}

.home-slider .carousel-indicators .active {
  width: 22px;
  border-radius: 999px;
  opacity: 1;
}

/* Default: panah disembunyikan */
.home-slider .carousel-control-prev,
.home-slider .carousel-control-next {
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
}

/* Saat hover slider → muncul */
.home-slider:hover .carousel-control-prev,
.home-slider:hover .carousel-control-next {
  opacity: 1;
  pointer-events: auto;
}

/* Optional: efek halus (sedikit geser) */
.home-slider .carousel-control-prev {
  transform: translateY(-50%) translateX(-10px);
}

.home-slider .carousel-control-next {
  transform: translateY(-50%) translateX(10px);
}

.home-slider:hover .carousel-control-prev {
  transform: translateY(-50%) translateX(0);
}

.home-slider:hover .carousel-control-next {
  transform: translateY(-50%) translateX(0);
}

/* responsive */
@media (max-width: 991px) {
  .home-slider .carousel-item img {
    height: 280px;
  }
}

@media (max-width: 576px) {
  .home-slider-section {
    padding-top: 14px !important;
  }

  .home-slider .carousel-item img {
    height: 170px;
  }

  .home-slider .carousel-control-prev,
  .home-slider .carousel-control-next {
    width: 34px;
    height: 34px;
  }

  .home-slider .carousel-control-prev {
    left: -8px;
  }

  .home-slider .carousel-control-next {
    right: -8px;
  }
}

/* Home Card Benefit */
.home-benefit-card {
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 8px 10px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 24px;
  height: 100%;
  border-right: 1px solid #e5e7eb;
}

.benefit-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 50%;
  background: #eef3ff;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.benefit-icon-green {
  background: #ecfdf3;
}

.benefit-item h6 {
  color: var(--primary);
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 5px;
}

.benefit-item p {
  color: var(--font);
  font-size: 12px;
  line-height: 1.45;
  margin: 0;
}

.section-heading .product-section-title {
  text-align: left !important;
  margin: 0;
}

.see-all-link {
  color: var(--secondary);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
}

.see-all-link:hover {
  color: var(--secondary-dark);
}

@media (max-width: 991px) {
  .benefit-item {
    border-right: 0;
    border-bottom: 1px solid #e5e7eb;
  }
}

@media (max-width: 576px) {
  .section-heading {
    align-items: flex-start !important;
  }

  .benefit-item {
    padding: 18px;
  }
}

/* =====================================================
   HOME - REKOMENDASI PRODUK
===================================================== */

.home-product-section .line {
    width: 70px;
    height: 4px;
    background: var(--secondary);
    border-radius: 10px;
}

.home-product-section h3 {
    color: var(--primary);
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 0;
}

.home-product-section .product-card {
    display: block;
    height: 100%;
}

.home-product-section .product-card .card {
    height: 100%;
    overflow: hidden;
    transition: .2s ease;
}

.home-product-section .product-card:hover .card {
    transform: translateY(-3px);
}

.home-product-section .product-img-box {
    width: 100%;
    overflow: hidden;
    background: #f8f9fa;
}

.home-product-section .product-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
}

.home-product-section .product-name {
    color: #212529;
    font-size: .95rem;
    line-height: 1.4;
    min-height: 42px;
    margin-bottom: .5rem;
}

.home-product-section .product-price {
    color: #ff9800;
    font-size: 1rem;
}

@media (max-width: 575.98px) {
    .home-product-section {
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }

    .home-product-section h3 {
        font-size: 1.55rem;
    }

    .home-product-section .product-card .card {
        border-radius: 12px;
    }

    .home-product-section .card-body {
        padding: .8rem !important;
    }

    .home-product-section .product-name {
        font-size: .82rem;
        min-height: 38px;
    }

    .home-product-section .product-price {
        font-size: .92rem;
    }

    .home-product-section small {
        font-size: .68rem;
    }

    .home-product-section .badge {
        font-size: .65rem;
    }
}

/* Detail Produk */
/* ========================================
   DETAIL PRODUK - ACTION BUTTON
======================================== */

.btn-detail-cart,
.btn-detail-buy {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 18px;
    border-radius: 9px;
    font-size: 0.95rem;
    font-weight: 700;
    transition: all 0.2s ease;
}

/* MASUKKAN KERANJANG - KUNING */
.btn-detail-cart {
    color: var(--primary);
    background: var(--secondary);
    border: 2px solid var(--secondary);
}

.btn-detail-cart:hover {
    color: var(--primary);
    background: #ffd15a;
    border-color: #ffd15a;
}

/* BELI SEKARANG - BIRU */
.btn-detail-buy {
    color: var(--white);
    background: var(--primary);
    border: 2px solid var(--primary);
}

.btn-detail-buy:hover {
    color: var(--white);
    background: #0b438f;
    border-color: #0b438f;
}

/* Saat diklik */
.btn-detail-cart:active,
.btn-detail-buy:active {
    transform: scale(0.98);
}

/* Disabled / stok habis */
.btn-detail-cart:disabled,
.btn-detail-buy:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.varian-selector .btn-varian {
        border: 1px solid #ced4da;
        background-color: #fff;
        color: #495057;
        padding: 8px 16px;
        border-radius: 8px;
        transition: all 0.2s ease-in-out;
        font-size: 14px;
    }
    .varian-selector .btn-varian:hover {
        border-color: #ffc107;
        color: #d39e00;
    }
    .varian-selector .btn-varian.active {
        border-color: #ffc107;
        background-color: #fffdf5; 
        color: #d39e00;
        font-weight: 600;
    }
    
.checkout {
  background: var(--white);
  min-height: 100vh;
}

.product-wrapper {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px;
}

.product-main-box,
.description-box {
  background: var(--white);
  border-radius: 12px;
  padding: 20px;
  border: 1px solid #e5e7eb;
}

.product-image-box {
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-image-box img {
  max-width: 100%;
  max-height: 380px;
  object-fit: contain;
}

.product-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.product-stats {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 16px;
}

.price-box {
  background: var(--white);
  color: var(--secondary);
  font-size: 34px;
  font-weight: 700;
  padding: 18px 20px;
  border-radius: 10px;
  margin-bottom: 24px;
}

.qty-section label {
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 8px;
  display: block;
}

.qty-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.qty-control {
  width: fit-content;
  height: 44px;
  display: flex;
  align-items: center;
  border: 1.5px solid #cbd5e1;
  border-radius: 12px;
  overflow: hidden;
  background: var(--white);
}

.qty-control button {
  width: 46px;
  height: 44px;
  border: none;
  background: var(--white);
  color: var(--primary);
  font-size: 24px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s ease;
}

.qty-control button:hover {
  background: #e2e8f0;
}

.qty-control input {
  width: 56px;
  height: 44px;
  border: none;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  background: var(--white);
  outline: none;
}

.stock-text {
  color: #6b7280;
  font-size: 14px;
}

.action-buttons {
  display: flex;
  gap: 14px;
  margin-top: 32px;
}

.btn-cart-clean,
.btn-buy-clean {
  height: 50px;
  padding: 0 28px;
  border-radius: 10px;
  font-weight: 700;
}

.btn-cart-clean {
  background: var(--white);
  color: var(--secondary);
  border: 1px solid var(--secondary);
}

.btn-buy-clean {
  background: var(--primary);
  color: var(--white);
  border: 1px solid var(--primary);
}

.description-title {
  background: var(--white);
  border-left: 4px solid var(--secondary);
  padding: 14px 16px;
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 20px;
  border-radius: 6px;
}

.description-content {
  padding: 0 8px 8px;
  line-height: 1.8;
  color: #374151;
}

@media (max-width: 991px) {
  .product-image-box {
    height: 320px;
  }

  .product-image-box img {
    max-height: 290px;
  }

  .action-buttons {
    flex-direction: column;
  }
}

.product-section .list-group-item {
    color: #495057;
    transition: .2s ease;
}

.product-section .list-group-item:hover {
    background: #f8f9fa;
    color: #0d6efd;
}

.product-section .list-group-item.active {
    background: transparent;
    color: #0d6efd;
    border-left: 3px solid #0d6efd !important;
}

.product-section .product-card .card {
    transition: .2s ease;
}

.product-section .product-card:hover .card {
    transform: translateY(-3px);
}

.product-section .product-img-box {
    overflow: hidden;
}

.product-section .product-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.product-section .list-group-item {
    color: #495057;
    transition: .2s ease;
}

.product-section .list-group-item:hover {
    background: #f8f9fa;
    color: #0d6efd;
}

.product-section .list-group-item.active {
    background: #f8fbff;
    color: #0d6efd;
    border-left: 3px solid #0d6efd !important;
}

.product-section .product-card .card {
    transition: .2s ease;
}

.product-section .product-card:hover .card {
    transform: translateY(-3px);
}

.product-section .product-img-box {
    overflow: hidden;
}

.product-section .product-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

@media (max-width: 991.98px) {
    .product-section .home-slider {
        margin-bottom: 1rem !important;
    }
}

/* SHIPPING CART */

    /*
    |--------------------------------------------------------------------------
    | SHIPPING
    |--------------------------------------------------------------------------
    */

    .shipping-card {
        height: 100%;
    }

    .shipping-option {
        display: flex;
        align-items: flex-start;
        gap: 15px;

        width: 100%;

        padding: 18px;
        margin-bottom: 15px;

        border: 1px solid #dee2e6;
        border-radius: 12px;

        cursor: pointer;

        background: #fff;

        transition: all 0.2s ease;
    }

    .shipping-option:hover {
        border-color: #1d2e63;

        box-shadow:
            0 3px 12px
            rgba(0, 0, 0, 0.08);
    }

    .shipping-option:has(
        input[type="radio"]:checked
    ) {
        border: 2px solid #1d2e63;
        background: #f7f9ff;
    }

    .shipping-radio {
        padding-top: 3px;
    }

    .shipping-radio input {
        width: 18px;
        height: 18px;

        cursor: pointer;

        accent-color: #1d2e63;
    }

    .shipping-info {
        flex: 1;
        min-width: 0;
    }

    .shipping-name {
        display: flex;
        align-items: center;
        flex-wrap: wrap;

        gap: 8px;

        margin-bottom: 5px;
    }

    .shipping-name strong {
        font-size: 16px;
        color: #212529;
    }

    .shipping-description {
        font-size: 14px;
        color: #6c757d;

        margin-bottom: 5px;
    }

    .shipping-price {
        font-size: 16px;
        font-weight: 700;

        color: #1d2e63;
    }

    .shipping-badge {
        display: inline-block;

        padding: 3px 8px;

        font-size: 11px;
        font-weight: 700;

        border-radius: 20px;
    }

    .shipping-badge.instant {
        background: #e8f7ee;
        color: #198754;
    }

    .shipping-badge.regular {
        background: #e8edff;
        color: #1d2e63;
    }

    .shipping-disabled {
        opacity: 0.65;

        cursor: not-allowed;

        background: #f8f9fa;
    }

    .shipping-disabled:hover {
        border-color: #dee2e6;
        box-shadow: none;
    }

    .shipping-disabled input {
        cursor: not-allowed;
    }

    .shipping-not-available {
        margin-top: 5px;

        font-size: 13px;

        color: #dc3545;
    }

    .shipping-weight {
        padding-top: 12px;

        border-top: 1px solid #eee;

        color: #6c757d;

        font-size: 14px;
    }

    .shipping-weight i {
        margin-right: 5px;

        color: #1d2e63;
    }

    /*
    |--------------------------------------------------------------------------
    | DESTINATION RAJAONGKIR
    |--------------------------------------------------------------------------
    */

    .destination-results {
        display: none;

        position: relative;

        width: 100%;

        margin-top: 5px;

        border: 1px solid #dee2e6;
        border-radius: 10px;

        background: #fff;

        max-height: 250px;

        overflow-y: auto;

        z-index: 1056;

        box-shadow:
            0 5px 20px
            rgba(0, 0, 0, 0.10);
    }

    .destination-item {
        display: block;

        width: 100%;

        padding: 12px 15px;

        border: 0;
        border-bottom: 1px solid #eee;

        text-align: left;

        background: #fff;

        cursor: pointer;
    }

    .destination-item:last-child {
        border-bottom: 0;
    }

    .destination-item:hover {
        background: #f7f9ff;
    }

    .destination-item strong {
        display: block;

        margin-bottom: 3px;

        color: #212529;
    }

    .destination-item small {
        color: #6c757d;
    }

    .selected-destination {
        padding: 12px 15px;

        border: 1px solid #dfe5ff;
        border-radius: 10px;

        background: #f7f9ff;
    }

    /*
    |--------------------------------------------------------------------------
    | RESPONSIVE
    |--------------------------------------------------------------------------
    */

    @media (max-width: 767.98px) {

        .shipping-option {
            padding: 15px;
        }

        .shipping-name strong {
            font-size: 15px;
        }

    }

/* =====================================================
   SLIDER PRODUK - FINAL RESPONSIVE
===================================================== */

.product-section .home-slider {
    width: 100%;
    border-radius: 14px;
    overflow: hidden;
}

.product-section .home-slider .carousel-inner {
    width: 100%;
    height: auto !important;
    aspect-ratio: auto !important;
    border-radius: 14px;
    overflow: hidden;
    background: transparent;
}

.product-section .home-slider .carousel-inner,
.product-section .home-slider .carousel-item,
.product-section .product-slider-image {
    width: 100%;
    height: 340px;
    overflow: hidden;
}

.product-section .home-slider .carousel-item img {
    display: block;
    width: 100%;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
}

/* =====================================================
   PRODUCT SLIDER - FINAL
===================================================== */

.product-section .home-slider,
.product-section .home-slider .carousel-inner,
.product-section .home-slider .carousel-item,
.product-section .product-slider-image {
    width: 100%;
}

.product-section .home-slider .carousel-inner {
    overflow: hidden;
    border-radius: 14px;
    background: #f4f6fa;
}

.product-section .home-slider .carousel-item,
.product-section .product-slider-image {
    height: 340px !important;
}

.product-section .product-slider-image {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #f4f6fa;
}

.product-section .product-slider-image img,
.product-section .home-slider .carousel-item img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
}

/* TABLET */
@media (max-width: 991.98px) {
    .product-section .home-slider .carousel-item,
    .product-section .product-slider-image {
        height: 260px !important;
    }
}

/* MOBILE */
@media (max-width: 575.98px) {
    .product-section .home-slider,
    .product-section .home-slider .carousel-inner {
        border-radius: 10px;
    }

    .product-section .home-slider .carousel-item,
    .product-section .product-slider-image {
        height: 180px !important;
    }

    .product-section .product-slider-image img,
    .product-section .home-slider .carousel-item img {
        height: 100% !important;
        object-fit: contain !important;
    }
}

.checkout {
  background: #f4f6f9;
  min-height: 100vh;
}

.product-wrapper {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px;
}

.product-main-box,
.description-box {
  background: var(--white);
  border-radius: 12px;
  padding: 20px;
  border: 1px solid #e5e7eb;
}

.product-image-box {
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-image-box img {
  max-width: 100%;
  max-height: 380px;
  object-fit: contain;
}

.product-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.product-stats {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 16px;
}

.price-box {
  background: #fff7ed;
  color: var(--secondary);
  font-size: 34px;
  font-weight: 700;
  padding: 18px 20px;
  border-radius: 10px;
  margin-bottom: 24px;
}

.qty-section label {
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 8px;
  display: block;
}

.qty-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.qty-control {
  width: 150px;
  height: 42px;
  display: flex;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  overflow: hidden;
}

.qty-control button {
  width: 42px;
  border: none;
  background: var(--white);
  color: var(--primary);
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
}

.qty-control input {
  width: 66px;
  border: none;
  border-left: 1px solid var(--tertiary);
  border-right: 1px solid var(--tertiary);
  text-align: center;
  font-weight: 700;
  outline: none;
}

.stock-text {
  color: #6b7280;
  font-size: 14px;
}

.action-buttons {
  display: flex;
  gap: 14px;
  margin-top: 32px;
}

.btn-cart-clean,
.btn-buy-clean {
  height: 50px;
  padding: 0 28px;
  border-radius: 10px;
  font-weight: 700;
}

.btn-cart-clean {
  background: var(--white);
  color: var(--secondary);
  border: 1px solid var(--secondary);
}

.btn-buy-clean {
  background: var(--primary);
  color: var(--white);
  border: 1px solid var(--primary);
}

.description-title {
  background: #f8fafc;
  border-left: 4px solid var(--secondary);
  padding: 14px 16px;
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 20px;
  border-radius: 6px;
}

.description-content {
  padding: 0 8px 8px;
  line-height: 1.8;
  color: #374151;
}

@media (max-width: 991px) {
  .product-image-box {
    height: 320px;
  }

  .product-image-box img {
    max-height: 290px;
  }

  .action-buttons {
    flex-direction: column;
  }
}

.cart-hover {
    position: relative;
    padding-bottom: 10px;
    margin-bottom: -10px;
}

.cart-hover .cart-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    display: none;
    width: 390px;
    overflow: hidden;
    color: var(--font);
    border: 0;
    border-radius: 12px;
    background: var(--white);
    z-index: 1060;
}

.cart-hover:hover .cart-dropdown {
    display: block;
}

.cart-dropdown::before {
  /* display: none; */
  content: "";
  position: absolute;
  top: -10px;
  right: 28px;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid var(--white);
}

.cart-title {
  padding: 14px 16px;
  color: #9ca3af;
  font-size: 14px;
  border-bottom: 1px solid #f3f4f6;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  transition: 0.2s ease;
}

.cart-item:hover {
  background: #f8fafc;
}

.cart-item img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border: 1px solid #e5e7eb;
}

.cart-info {
  flex: 1;
  min-width: 0;
}

.cart-name {
  font-size: 14px;
  color: var(--font);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-qty {
  font-size: 12px;
  color: #9ca3af;
  margin-top: 3px;
}

.cart-price {
  font-size: 14px;
  color: var(--secondary);
  font-weight: 600;
  white-space: nowrap;
}

.cart-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  border-top: 1px solid #f3f4f6;
  font-size: 13px;
  color: #6b7280;
}

.btn-cart-view {
  background: var(--secondary);
  color: var(--white);
  padding: 9px 16px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.btn-cart-view:hover {
  background: var(--secondary-dark);
  color: var(--white);
}

.cart-badge {
  position: absolute;
  top: -6px;
  right: -10px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--secondary);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Keranjang index */
.cart-page {
  background: #f5f6fa;
  min-height: 80vh;
}

.cart-card {
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}

.cart-header-row,
.cart-item-row {
  display: grid;
  grid-template-columns: 50px 1.8fr 1fr 1fr 1fr 0.7fr;
  align-items: center;
  gap: 16px;
}

.cart-header-row {
  padding: 18px 24px;
  color: #6b7280;
  font-weight: 600;
}

.cart-item-row {
  padding: 24px;
  border-top: 1px solid #edf0f5;
}

.cart-check {
  width: 18px;
  height: 18px;
  accent-color: var(--secondary);
  cursor: pointer;
}

.cart-product {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cart-product img {
  width: 82px;
  height: 82px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
}

.cart-product-name {
  color: var(--black);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
}

.cart-product-name:hover {
  color: var(--secondary);
}

.cart-stock {
  margin-top: 6px;
  color: #6b7280;
  font-size: 14px;
}

.cart-price,
.cart-subtotal {
  color: var(--secondary);
  font-size: 16px;
}

.cart-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  overflow: hidden;
}

.cart-qty .qty-btn {
  width: 34px;
  height: 32px;
  border: none;
  background: #f9fafb;
  color: var(--primary);
  font-weight: 700;
}

.cart-qty input {
  width: 48px;
  height: 32px;
  border: none;
  text-align: center;
  outline: none;
}

.cart-delete {
  color: var(--secondary);
  text-decoration: none;
  font-weight: 600;
}

.cart-delete:hover {
  color: var(--secondary-dark);
}

.cart-bottom-bar {
  position: sticky;
  bottom: 0;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 10;
}

.bottom-left,
.bottom-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cart-total-text {
  font-size: 18px;
  color: var(--font);
}

.cart-total-text strong {
  color: var(--secondary);
  font-size: 24px;
}

.btn-cart-checkout,
.btn-cart-shop {
  border: none;
  background: var(--primary);
  color: var(--white);
  padding: 12px 34px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
}

.btn-cart-checkout:hover,
.btn-cart-shop:hover {
  background: var(--primary-dark);
  color: var(--white);
}

.cart-empty i {
  font-size: 60px;
  color: var(--secondary);
}

.cart-empty h5 {
  margin-top: 14px;
  color: var(--primary);
  font-weight: 700;
}

.cart-empty p {
  color: #6b7280;
}

/* TABLE CART NEW */
.table-responsive {
  overflow-x: auto;
}

.cart-table {
  min-width: 1050px;
  margin-bottom: 0;
}

.cart-table thead th {
  padding: 20px 24px;
  color: #6b7280;
  font-weight: 700;
  background: var(--white);
  border-bottom: 1px solid #edf0f5;
  white-space: nowrap;
  vertical-align: middle;
}

.cart-table tbody td {
  padding: 24px;
  border-bottom: 1px solid #edf0f5;
  vertical-align: middle;
  white-space: nowrap;
}

.cart-product {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 340px;
}

.cart-product img {
  width: 86px;
  height: 86px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  flex-shrink: 0;
}

.cart-product-name {
  display: block;
  color: var(--black);
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
}

.cart-product-name:hover {
  color: var(--secondary);
}

.cart-stock {
  margin-top: 6px;
  color: #6b7280;
  font-size: 14px;
}

.cart-price {
  color: var(--black);
  font-size: 16px;
  font-weight: 700;
}

.cart-subtotal {
  color: var(--secondary);
  font-size: 18px;
  font-weight: 800;
}

.cart-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  overflow: hidden;
}

.cart-qty button {
  width: 36px;
  height: 34px;
  border: none;
  background: #f9fafb;
  color: var(--primary);
  font-weight: 800;
}

.cart-qty input {
  width: 50px;
  height: 34px;
  border: none;
  text-align: center;
  outline: none;
  font-weight: 700;
  background: var(--white);
}

.cp-delete {
  border: none;
  background: transparent;
  color: #dc2626 !important;
  font-weight: 700;
}

.cp-delete:hover {
  color: #b91c1c !important;
}

.cart-bottom-bar {
  position: sticky;
  bottom: 0;
  padding: 20px 24px;
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 -6px 25px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 30;
}

.bottom-left,
.bottom-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-delete-all {
  border: none;
  background: transparent;
  color: #dc2626;
  font-weight: 700;
}

.cart-total-text {
  font-size: 18px;
}

.cart-total-text strong {
  color: var(--secondary);
  font-size: 28px;
}

@media (max-width: 768px) {
  .cart-bottom-bar {
    overflow-x: auto;
    justify-content: flex-start;
  }

  .bottom-left,
  .bottom-right {
    flex-shrink: 0;
  }
}

.cp-grand-total strong {
  color: var(--secondary);
  font-size: 24px;
}

/* Delete keranjang modal */
.delete-modal {
  border: none;
  border-radius: 22px;
  padding: 34px 28px;
  text-align: center;
  position: relative;
}

.delete-close {
  position: absolute;
  top: 18px;
  right: 18px;
}

.delete-icon {
  width: 86px;
  height: 86px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: rgba(255, 96, 0, 0.14);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 38px;
}

.delete-modal h5 {
  color: var(--primary);
  font-weight: 800;
  font-size: 24px;
}

.delete-modal p {
  color: #6b7280;
  font-size: 16px;
  margin: 12px 0 24px;
}

.btn-delete-confirm {
  display: block;
  width: 100%;
  background: var(--secondary);
  color: var(--white);
  text-decoration: none;
  border-radius: 14px;
  padding: 14px;
  font-weight: 800;
}

.btn-delete-confirm:hover {
  background: var(--secondary-dark);
  color: var(--white);
}

/* Hapus semua produk button */
.btn-delete-all {
  border: none;
  background: transparent;
  color: #dc2626;
  font-weight: 700;
}

.btn-delete-all:hover {
  color: #b91c1c;
}

/* Rapikan pilih semua pada keranjang */
.cart-page {
  background: #f5f6fa;
  min-height: 80vh;
}

.cart-card {
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.table-responsive {
  overflow-x: auto;
}

.cart-table {
  min-width: 1050px;
  margin-bottom: 0;
}

.cart-table thead th {
  padding: 20px 24px;
  color: #6b7280;
  font-weight: 700;
  background: var(--white);
  border-bottom: 1px solid #edf0f5;
  white-space: nowrap;
}

.cart-table tbody td {
  padding: 26px 24px;
  border-bottom: 1px solid #edf0f5;
  vertical-align: middle;
  white-space: nowrap;
}

.cart-product {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 360px;
  white-space: normal;
}

.cart-product img {
  width: 88px;
  height: 88px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  flex-shrink: 0;
}

.cart-product-name {
  display: block;
  color: var(--black);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
}

.cart-stock {
  margin-top: 6px;
  color: #6b7280;
  font-size: 14px;
}

.cart-price {
  color: var(--primary) !important;
  font-weight: 700;
}

.cart-subtotal {
  color: var(--secondary) !important;
  font-weight: 800;
}

.cart-check {
  width: 18px;
  height: 18px;
  accent-color: var(--secondary);
  cursor: pointer;
}

.cart-qty {
  display: inline-flex;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  overflow: hidden;
}

.cart-qty button {
  width: 36px;
  height: 34px;
  border: none;
  background: #f9fafb;
  color: var(--primary);
  font-weight: 800;
}

.cart-qty input {
  width: 50px;
  height: 34px;
  border: none;
  text-align: center;
  outline: none;
  font-weight: 700;
}

.cp-delete,
.btn-delete-all {
  border: none;
  background: transparent;
  color: #dc2626;
  font-weight: 700;
}

.cart-bottom-bar {
  position: sticky;
  bottom: 0;
  margin-top: 18px;
  padding: 18px 24px;
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 -6px 25px rgba(0, 0, 0, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  z-index: 20;
}

.bottom-left,
.bottom-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cart-total-text {
  font-size: 18px;
  color: var(--font);
  white-space: nowrap;
}

.cart-total-text strong {
  color: var(--secondary);
  font-size: 26px;
}

.btn-cart-checkout {
  border: none;
  background: var(--primary);
  color: var(--white);
  padding: 13px 34px;
  border-radius: 8px;
  font-weight: 800;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .cart-page {
    padding-top: 24px !important;
  }

  .cart-page .container {
    max-width: 100%;
    padding-left: 12px;
    padding-right: 12px;
  }

  .cart-card {
    border-radius: 12px;
  }

  .cart-bottom-bar {
    overflow-x: auto;
    justify-content: flex-start;
    min-width: 100%;
  }

  .bottom-left,
  .bottom-right {
    flex-shrink: 0;
  }

  .cart-total-text strong {
    font-size: 22px;
  }

  .btn-cart-checkout {
    padding: 12px 26px;
  }
}

.cart-qty input::-webkit-outer-spin-button,
.cart-qty input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.cart-qty input {
  -moz-appearance: textfield;
}

/* Checkout Produk */
.checkout-page {
  background: #f5f5f5;
  min-height: 100vh;
}

.checkout-card {
  background: var(--white);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
  font-size: 14px;
}

.checkout-table th {
  font-weight: 600;
  font-size: 14px;
  color: #555;
  padding: 16px;
}

.checkout-table td {
  vertical-align: middle;
  padding: 16px;
}

.checkout-img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #eee;
}

.co-harga {
  color: var(--secondary) !important;
}

.co-jumlah {
  color: var(--primary) !important;
}

/* HEADER */
.checkout-header {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--secondary);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 22px;
}

.checkout-header i {
  font-size: 1.4rem;
}

/* ADDRESS */
.address-content {
  display: grid;
  grid-template-columns: 240px 1fr 100px;
  gap: 25px;
  align-items: start;
}

.address-left h5 {
  margin-bottom: 5px;
  color: var(--black);
  font-weight: 700;
}

.address-left span {
  color: var(--font);
  font-size: 0.95rem;
}

.address-middle {
  color: var(--font);
  line-height: 1.7;
}

.btn-address {
  border: none;
  background: transparent;
  color: var(--secondary);
  font-weight: 700;
  transition: .3s;
}

.btn-address:hover {
  color: var(--secondary-dark);
}

/* PRODUK */
.product-header {
  display: grid;
  grid-template-columns: 1.8fr 1fr 120px 1fr;
  padding-bottom: 18px;
  border-bottom: 1px solid #eee;
  color: #777;
  font-weight: 600;
}

.product-item {
  display: grid;
  grid-template-columns: 1.8fr 1fr 120px 1fr;
  align-items: center;
  gap: 20px;
  padding: 25px 0;
  border-bottom: 1px solid #f0f0f0;
}

.product-info {
  display: flex;
  align-items: center;
  gap: 18px;
}

.product-info img {
  width: 95px;
  height: 95px;
  object-fit: cover;
  border-radius: 16px;
  background: #fafafa;
  border: 1px solid #eee;
}

.product-info h6 {
  margin-bottom: 8px;
  color: var(--black);
  font-size: 1rem;
  font-weight: 700;
}

.product-info span {
  font-size: 0.9rem;
  color: #888;
}

.product-price {
  color: var(--font);
  font-weight: 600;
}

.product-qty {
  font-weight: 700;
  color: var(--primary);
}

.product-subtotal {
  color: var(--secondary);
  font-weight: 800;
  font-size: 1.05rem;
}

/* NOTE */
.note-card textarea {
  border-radius: 14px;
  padding: 14px;
  border: 1px solid #ddd;
  resize: none;
}

.note-card textarea:focus {
  border-color: var(--secondary);
  box-shadow: none;
}

/* TOTAL */
.total-card {
  margin-left: auto;
  max-width: 450px;
}

.total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  color: var(--font);
}

.grand-total {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 2px dashed #ddd;
}

.grand-total h3 {
  margin: 0;
  color: var(--secondary);
  font-weight: 800;
}

.btn-checkout {
  width: 100%;
  border: none;
  margin-top: 20px;
  padding: 15px;
  border-radius: 14px;
  background: var(--primary);
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  transition: .3s;
}

.btn-checkout:hover {
  background: var(--secondary);
  transform: translateY(-2px);
}

/* RESPONSIVE */
@media (max-width: 991px) {

  .address-content {
    grid-template-columns: 1fr;
  }

  .product-header {
    display: none;
  }

  .product-item {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .product-price::before {
    content: 'Harga: ';
    font-weight: 700;
    color: var(--black);
  }

  .product-qty::before {
    content: 'Jumlah: ';
    font-weight: 700;
    color: var(--black);
  }

  .product-subtotal::before {
    content: 'Subtotal: ';
    font-weight: 700;
    color: var(--black);
  }

  .total-card {
    max-width: 100%;
  }
}

/* Home Product Section */
.product-section {
  background: #f4f6fa;
}

.product-section h5 {
  font-family:
    "Roboto",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Oxygen,
    Ubuntu,
    Cantarell,
    "Open Sans",
    "Helvetica Neue",
    sans-serif !important;
  color: var(--primary) !important;
  font-size: 2rem;
  font-weight: bold;
}

.product-section h6 {
  font-family:
    "Roboto",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Oxygen,
    Ubuntu,
    Cantarell,
    "Open Sans",
    "Helvetica Neue",
    sans-serif !important;
  color: var(--black) !important;
}

.product-section-title {
  font-size: 18px;
  font-weight: 600;
  color: #0f172a;
}

.product-card {
  display: block;
  color: inherit;
}

.product-card .card {
  border: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 3px 12px rgba(15, 23, 42, 0.08);
  transition: all 0.25s ease;
}

.product-card:hover .card {
  transform: translateY(-4px);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.14);
}

.product-img-box {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #f8fafc;
  overflow: hidden;
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-card:hover .product-img {
  transform: scale(1.05);
}

.product-card .card-body {
  padding: 10px;
}

.product-name {
  font-family:
    "Nunito",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Oxygen,
    Ubuntu,
    Cantarell,
    "Open Sans",
    "Helvetica Neue",
    sans-serif !important;
  font-size: 15px;
  line-height: 1.4;
  color: var(--black);
  min-height: 40px;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-price {
  font-size: 15px;
  font-weight: 700;
  color: #ff5a1f;
  margin-bottom: 4px;
}

.product-sold {
  font-size: 12px;
  color: #6b7280;
  text-align: right;
}

@media (max-width: 576px) {
  .product-name {
    font-size: 13px;
    min-height: 36px;
  }

  .product-price {
    font-size: 14px;
  }

  .product-card .card-body {
    padding: 8px;
  }
}

.product-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 6px;
}

.product-price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--secondary);
}

.product-sold {
  font-size: 12px;
  color: var(--font);
}

.line {
  background-color: var(--secondary);
  width: 5rem;
  height: 4px;
}

/* Home Artisan Section */
.artisan-banner {
  min-height: 230px;
  border-radius: 16px;
  overflow: hidden;
  background:
    linear-gradient(90deg, #08245c 0%, #08245c 33%, rgba(8, 36, 92, .15) 55%),
    url("../../img/pengrajin.png");
  background-size: cover;
  background-position: center;
}

.artisan-content {
  width: 340px;
  padding: 40px;
  color: #fff;
}

.artisan-content h3 {
  color: var(--white);
  font-size: 30px;
  font-weight: 800;
  line-height: 1.2;
}

.artisan-content h3 span {
  color: var(--secondary);
}

.artisan-content p {
  font-size: 14px;
  line-height: 1.6;
  margin: 18px 0;
}

.btn-artisan {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--secondary);
  color: var(--white);
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
}

.btn-artisan:hover {
  background: var(--secondary-dark);
  color: var(--white);
}

.feature-card {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 15px;
  background: var(--white);
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, .06);
}

.feature-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 50%;
  background: #f0f4ff;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.feature-card h6 {
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 6px;
}

.feature-card p {
  font-size: 13px;
  color: #6c757d;
  margin: 0;
}

@media (max-width: 768px) {
  .feature-card {
    padding: 18px;
    align-items: center;
  }

  .feature-card h6 {
    font-size: 15px;
  }

  .feature-card p {
    font-size: 13px;
  }
}

/* Info Rekening */
.rekening-section {
  background: #f4f6fa;
}

.rekening-card {
  background: #fff;
  border-radius: 14px;
  padding: 24px;
  text-align: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  transition: 0.25s;
}

.rekening-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.bank-name {
  font-weight: 700;
  color: var(--primary);
}

.rekening-number {
  font-size: 18px;
  font-weight: 800;
  color: var(--secondary);
}

.rekening-owner {
  font-size: 13px;
  color: #6b7280;
}

/* Kontak Kami */
.section-contact-user {

  color: var(--font);
}

.section-contact-user .kontak {
  background-color: var(--white);
}

.section-contact-user .ratio {
  position: relative;
  width: 100%;
  padding-top: 55%;
}

.section-contact-user .ratio iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.section-contact-user .bi-buildings {
  color: var(--black);
}

.section-contact-user button {
  background-color: var(--primary);
  color: var(--white);
}

.section-contact-user button[type="submit"] {
  background-color: var(--primary);
  color: var(--white);
}

.section-contact-user button[type="submit"]:hover {
  background-color: #233a81;

  color: var(--white);
}

.section-contact-user button[type="submit"]:focus {
  border-color: var(--green2);
  background-color: var(--primary);
  color: var(--white);
  box-shadow: 0 0 0 0.2rem rgba(29, 46, 99, 0.25);
}

/* User Profile */
.user-profile-dropdown {
  width: 290px;
  padding: 0;
  border: none;
  border-radius: 0;
  overflow: hidden;
}

.user-profile-header {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #12aeea;
  color: #fff;
  padding: 18px 20px;
}

.user-profile-img {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
}

.user-profile-dropdown .dropdown-item {
  padding: 14px 20px;
  color: #777;
}

.user-profile-dropdown .dropdown-item:hover {
  background: #f5f8fb;
  color: #12aeea;
}

/* Pesanan Saya */
/* Pesanan Saya */
.orders-page {
  background: #f5f6fa;
  min-height: 80vh;
}

.orders-title h3 {
  color: var(--primary);
  font-weight: 800;
  margin-bottom: 4px;
}

.orders-title p {
  color: #6b7280;
  margin-bottom: 0;
}

.orders-tabs {
  background: var(--white);
  border-radius: 14px;
  padding: 10px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}

.order-tab {
  padding: 12px 20px;
  color: var(--font);
  text-decoration: none;
  font-weight: 700;
  border-radius: 10px;
  white-space: nowrap;
}

.order-tab:hover {
  color: var(--secondary);
}

.order-tab.active {
  background: var(--primary);
  color: var(--white);
}

.order-card {
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.order-card-header {
  padding: 18px 24px;
  border-bottom: 1px solid #edf0f5;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.order-code {
  color: var(--primary);
  font-weight: 800;
  margin-right: 12px;
}

.order-date {
  color: #6b7280;
  font-size: 14px;
}

.order-status {
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.badge-pack {
  background: rgba(255, 96, 0, 0.14);
  color: var(--secondary);
}

.badge-process {
  background: rgba(234, 179, 8, 0.18);
  color: #ca8a04;
}

.badge-send {
  background: rgba(34, 197, 94, 0.14);
  color: #16a34a;
}

.badge-done {
  background: rgba(34, 197, 94, 0.18);
  color: #15803d;
}

.badge-cancel {
  background: rgba(220, 38, 38, 0.14);
  color: #dc2626;
}

.badge-default {
  background: #e5e7eb;
  color: var(--primary);
}

.order-products {
  padding: 8px 24px;
}

.order-product-item {
  padding: 18px 0;
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid #edf0f5;
}

.order-product-item:last-child {
  border-bottom: none;
}

.order-product-item img {
  width: 84px;
  height: 84px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
}

.order-product-info {
  flex: 1;
}

.order-product-info h6 {
  color: var(--black);
  font-weight: 800;
  margin-bottom: 6px;
}

.order-product-info p {
  color: #6b7280;
  margin-bottom: 0;
}

.order-product-subtotal {
  color: var(--secondary);
  font-weight: 800;
  white-space: nowrap;
}

.order-card-footer {
  padding: 18px 24px;
  background: #fbfbfd;
  border-top: 1px solid #edf0f5;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.order-total {
  color: var(--font);
  font-size: 16px;
}

.order-total strong {
  color: var(--secondary);
  font-size: 22px;
  margin-left: 8px;
}

.order-actions {
  display: flex;
  gap: 10px;
}

.btn-order-detail,
.btn-order-cancel,
.btn-order-shop,
.btn-confirm-cancel {
  border: none;
  text-decoration: none;
  padding: 11px 20px;
  border-radius: 9px;
  font-weight: 800;
}

.btn-order-detail {
  background: var(--primary);
  color: var(--white);
}

.btn-order-detail:hover {
  color: var(--white);
}

.btn-order-cancel {
  background: #dc2626;
  color: var(--white);
}

.btn-order-shop,
.btn-confirm-cancel {
  background: var(--secondary);
  color: var(--white);
  display: inline-block;
}

.order-empty {
  background: var(--white);
  border-radius: 16px;
  padding: 60px 24px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}

.order-empty i {
  font-size: 64px;
  color: var(--secondary);
}

.order-empty h5 {
  margin-top: 16px;
  color: var(--primary);
  font-weight: 800;
}

.order-empty p {
  color: #6b7280;
}

.order-cancel-modal {
  border: none;
  border-radius: 22px;
  padding: 34px 28px;
  text-align: center;
  position: relative;
}

.order-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
}

.order-cancel-icon {
  width: 86px;
  height: 86px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: rgba(255, 96, 0, 0.14);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 38px;
}

.order-cancel-modal h5 {
  color: var(--primary);
  font-weight: 800;
  font-size: 24px;
}

.order-cancel-modal p {
  color: #6b7280;
  margin: 12px 0 24px;
}

@media (max-width: 768px) {

  .order-card-header,
  .order-card-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .order-product-item {
    align-items: flex-start;
  }

  .order-product-subtotal {
    font-size: 14px;
  }

  .order-actions {
    width: 100%;
  }

  .btn-order-detail,
  .btn-order-cancel {
    flex: 1;
    text-align: center;
  }
}

/* Detail Pesanan Saya */
.order-detail-page {
  background: #f5f6fa;
  min-height: 80vh;
}

.order-detail-top {
  background: var(--white);
  border-radius: 14px 14px 0 0;
  padding: 20px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #edf0f5;
}

.back-link {
  color: #6b7280;
  text-decoration: none;
  font-weight: 700;
}

.back-link:hover {
  color: var(--secondary);
}

.order-top-info {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--black);
  font-weight: 700;
  text-transform: uppercase;
}

.order-top-info strong {
  color: var(--secondary);
}

.order-timeline-card {
  background: var(--white) !important;
  padding: 46px 40px;
  border-bottom: 1px solid #edf0f5;
}

.order-timeline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
}

.order-timeline::before {
  content: "";
  position: absolute;
  top: 38px;
  left: 11%;
  right: 11%;
  height: 4px;
  background: #d1d5db;
  z-index: 1;
}

.timeline-step {
  position: relative;
  z-index: 2;
  text-align: center;
  flex: 1;
}

.timeline-icon {
  width: 78px;
  height: 78px;
  margin: 0 auto 18px;
  border-radius: 50%;
  border: 5px solid #d1d5db;
  background: var(--white);
  color: #9ca3af;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
}

.timeline-step.active .timeline-icon {
  border-color: #22c55e;
  color: #22c55e;
}

.timeline-step h6 {
  color: var(--black);
  font-weight: 700;
  margin-bottom: 6px;
}

.timeline-step span {
  color: #9ca3af;
  font-size: 14px;
}

.order-detail-actions {
  background: var(--white);
  padding: 18px 26px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  border-bottom: 1px solid #edf0f5;
}

.order-note {
  color: #6b7280;
}

.order-note strong {
  color: var(--secondary);
}

.order-action-buttons {
  display: flex;
  gap: 12px;
}

.btn-detail-primary,
.btn-detail-outline,
.btn-detail-cancel {
  border: none;
  text-decoration: none;
  padding: 12px 26px;
  border-radius: 8px;
  font-weight: 800;
  display: inline-block;
}

.btn-detail-primary {
  background: var(--primary);
  color: var(--white);
  border: 1px solid #d1d5db;
}

.btn-detail-primary:hover {
  background: var(--primary-dark);
  color: var(--white);
}

.btn-detail-outline {
  background: #f3f4f6;
  color: var(--primary);
  border: 1px solid #d1d5db;
}

.btn-detail-outline:hover {
  background: #e5e7eb;
  color: var(--primary);
}

.btn-detail-cancel {
  background: #dc2626;
  color: var(--white);
}

.order-info-card,
.order-products-card {
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.order-section-title,
.order-products-header {
  padding: 18px 24px;
  color: var(--secondary);
  font-weight: 800;
  border-bottom: 1px solid #edf0f5;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.info-row {
  padding: 0 24px;
  margin: 22px 0;
}

.info-row label {
  display: block;
  color: #6b7280;
  font-weight: 800;
  margin-bottom: 8px;
}

.info-row p {
  color: #6b7280;
  margin-bottom: 0;
}

.info-row h4 {
  color: var(--secondary);
  font-weight: 800;
  margin-bottom: 0;
}

.detail-status {
  display: inline-block;
  padding: 7px 13px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.status-dikemas {
  background: rgba(255, 96, 0, 0.14);
  color: var(--secondary);
}

.status-diproses {
  background: rgba(234, 179, 8, 0.18);
  color: #ca8a04;
}

.status-dikirim,
.status-selesai {
  background: rgba(34, 197, 94, 0.14);
  color: #16a34a;
}

.status-dibatalkan {
  background: rgba(220, 38, 38, 0.14);
  color: #dc2626;
}

.detail-order-table {
  min-width: 720px;
}

.detail-order-table thead th {
  color: #6b7280;
  padding: 20px 24px;
  border-bottom: 1px solid #edf0f5;
}

.detail-order-table tbody td {
  padding: 22px 24px;
  border-bottom: 1px solid #edf0f5;
}

.detail-product {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 280px;
}

.detail-product img {
  width: 78px;
  height: 78px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
}

.detail-product span {
  color: var(--black);
  font-weight: 700;
}

.detail-price {
  color: var(--primary);
  font-weight: 700;
}

.detail-qty {
  color: var(--primary);
  font-weight: 700;
}

.detail-subtotal {
  color: var(--secondary);
  font-weight: 800;
}

.detail-products-footer {
  padding: 20px 24px;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.order-cancelled-state {
  text-align: center;
}

.cancelled-icon {
  width: 86px;
  height: 86px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: rgba(220, 38, 38, 0.14);
  color: #dc2626;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 42px;
}

.order-cancelled-state h5 {
  color: #dc2626;
  font-weight: 800;
}

.order-cancelled-state p {
  color: #6b7280;
}

@media (max-width: 768px) {

  .order-detail-top,
  .order-detail-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .order-top-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .order-timeline-card {
    overflow-x: auto;
  }

  .order-timeline {
    min-width: 760px;
  }

  .order-action-buttons,
  .detail-products-footer {
    width: 100%;
    flex-direction: column;
  }

  .btn-detail-primary,
  .btn-detail-outline,
  .btn-detail-cancel {
    width: 100%;
    text-align: center;
  }
}

/* Detail pesanan refinement */
.order-section-title,
.order-products-header {
  color: var(--primary) !important;
  font-size: 16px;
  font-weight: 800;
}

.order-info-card {
  padding-bottom: 22px;
}

.info-row {
  margin: 20px 0;
}

.info-row:last-child {
  padding-bottom: 8px;
}

.info-row h4 {
  color: var(--secondary);
  font-size: 24px;
  font-weight: 900;
  margin-top: 8px;
  margin-bottom: 0;
}

.order-products-card {
  padding-bottom: 0;
}

.detail-products-footer {
  padding: 24px !important;
  background: #fbfbfd;
  border-top: 1px solid #edf0f5;
}

.order-timeline::after {
  content: "";
  position: absolute;
  top: 38px;
  left: 11%;
  height: 4px;
  background: #22c55e;
  z-index: 1;
  border-radius: 999px;
  animation: progressMove 1.2s ease forwards;
}

@keyframes progressMove {
  from {
    width: 0;
  }

  to {
    width: var(--timeline-width, 0%);
  }
}

.order-timeline.timeline-dikemas {
  --timeline-width: 0%;
}

.order-timeline.timeline-diproses {
  --timeline-width: 26%;
}

.order-timeline.timeline-dikirim {
  --timeline-width: 52%;
}

.order-timeline.timeline-selesai {
  --timeline-width: 78%;
}

.timeline-step.active .timeline-icon {
  border-color: #22c55e;
  color: #22c55e;
  box-shadow: 0 0 0 8px rgba(34, 197, 94, 0.12);
}


/* FOOTER */
.footer-user {
  background: var(--primary);
  color: var(--white);
}

.footer-user h6 {
  color: var(--secondary);
  font-weight: 700;
}
.footer-brand {
  color: var(--secondary);
}

.footer-desc {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  line-height: 1.6;
}

.footer-title {
  color: var(--white);
  font-weight: 700;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--secondary);
}

.footer-social-icons a {
  color: var(--white);
  font-size: 18px;
}

.footer-social-icons a:hover {
  color: var(--secondary);
}

.footer-wa-btn {
  background: var(--secondary);
  color: var(--white);
  border-radius: 8px;
  padding: 10px 18px;
  font-weight: 600;
}

.footer-wa-btn:hover {
  background: var(--secondary);
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
}