/* Modern Booking Platform Theme - C-LABB */

/* CSS Variables */
:root {
  --primary-color: #000;
  --secondary-color: #6c757d;
  --accent-color: #ff6b6b;
  --light-color: #f8f9fa;
  --dark-color: #212529;
  --success-color: #28a745;
  --info-color: #17a2b8;
  --warning-color: #ffc107;
  --danger-color: #dc3545;
  --font-primary: 'Poppins', sans-serif;
  --font-secondary: 'Roboto', sans-serif;
  --transition: all 0.3s ease;
  --shadow: none;
  --border-radius: 8px;
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  word-wrap: break-word;
  overflow-wrap: break-word;
  -webkit-tap-highlight-color: transparent;
}

/* Prevent horizontal scroll on mobile */
html {
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

html, body {
  position: relative;
  overflow-x: hidden;
}

body {
  font-family: var(--font-primary);
  color: var(--dark-color);
  background-color: #f2ede0;
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  position: relative;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

@media (max-width: 576px) {
  body {
    font-size: 14px;
  }
}

/* Ensure body doesn't block header */
body > *:not(.site-header):not(.navbar):not(.menu-toggle):not(.navbar-nav):not(.menu-overlay):not(.notification) {
  position: relative;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: var(--transition);
}

a:hover, a:focus, a:active {
  text-decoration: none;
  color: var(--primary-color);
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }
}

@media (max-width: 576px) {
  .container {
    padding: 0 10px;
  }
}

@media (max-width: 375px) {
  .container {
    padding: 0 8px;
  }
}

.container .form-section{
  max-width: 500px;
  margin: 0 auto;
  padding: 0 15px;
}
/* Header & Navigation */
.site-header {
  background-color: #fff;
  box-shadow: none;
  position: sticky;
  top: 0;
  z-index: 10005 !important;
}

.site-header.fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10005 !important;
  box-shadow: none;
  animation: slide-down 0.3s ease;
}

@keyframes slide-down {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(0); }
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0px 0;
  position: relative;
  margin-bottom: 0;
  z-index: 10006 !important;
  pointer-events: auto !important;
}

/* Ensure navbar doesn't block menu toggle */
.navbar > * {
  pointer-events: auto !important;
}

.navbar-brand {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
  line-height: 1;
  height: 100%;
}

.navbar-brand img {
  display: block;
  height: auto;
  max-height: 55px;
  width: auto;
  transition: filter 0.3s ease;
}

.navbar-brand:hover img {
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3)) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.navbar-brand:hover {
  color: #333;
}

.navbar-nav {
  display: flex;
  list-style: none;
  padding: 0;
  align-items: center;
  margin: 0;
  gap: 15px;
}

.nav-item {
  margin: 0;
  position: relative;
  display: flex;
  align-items: center;
}

.nav-link {
  color: var(--dark-color);
  font-weight: 500;
  padding: 8px 0;
  position: relative;
  display: inline-flex;
  align-items: center;
  line-height: 1.2;
  gap: 8px;
}

.nav-link i {
  font-size: 14px;
  width: 16px;
  text-align: center;
}

.nav-link:hover {
  color: var(--primary-color);
}

/* Language switcher in header */
.lang-switcher-wrap {
  margin-right: 0;
}
.lang-switcher .lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: rgba(0,0,0,0.05);
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 8px;
  color: var(--dark-color);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}
.lang-switcher .lang-btn:hover {
  background: rgba(0,0,0,0.08);
  border-color: var(--primary-color);
  color: var(--primary-color);
}
.lang-switcher .lang-btn .fa-globe {
  font-size: 1rem;
}
.lang-switcher .lang-menu {
  min-width: 140px;
  padding: 8px 0;
}
.lang-switcher .lang-menu .dropdown-item.active {
  background: var(--primary-color);
  color: #fff;
}

/* Mobile: hide language section label on desktop */
.lang-mobile-label {
  display: none;
}

/* Override Bootstrap navbar padding for desktop */
@media (min-width: 768px) {
  .navbar-nav > li > a {
    padding-top: 10px;
    padding-bottom: 10px;
  }
}


/* Search Form */
.search-form {
  display: none; /* Hidden by default */
  align-items: center;
  position: relative;
  margin: 0 20px;
}

/* Hide search form on desktop */
@media (min-width: 992px) {
  .search-form {
    display: none;
  }
}

.search-input {
  border: 1px solid #e1e5ee;
  border-radius: 50px;
  padding: 10px 20px;
  width: 250px;
  font-family: var(--font-primary);
  transition: var(--transition);
}

.search-input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: none;
  width: 280px;
}

.search-btn {
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 50px;
  padding: 10px 20px;
  margin-left: 10px;
  cursor: pointer;
  transition: var(--transition);
}

.search-btn:hover {
  background-color: #000;
}

.search-toggle,
.search-close {
  display: none;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: var(--border-radius);
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background-color: #212529;
  color: #fff;
  border: 1px solid #212529;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.btn-primary:hover {
  background-color: #000;
  color: #fff;
  border-color: #000;
}

.btn-outline {
  background-color: transparent;
  border: 2px solid white;
  color: white;
}

.btn-outline:hover {
  background-color: white;
  color: var(--primary-color);
}

.btn-block {
  display: block;
  width: 100%;
  margin-bottom: 10px;
}

.btn-outline-secondary {
  background-color: transparent;
  border: 1px solid var(--secondary-color);
  color: var(--secondary-color);
}

.btn-outline-secondary:hover {
  background-color: var(--secondary-color);
  color: white;
}

/* Login, Register Buttons */
.btn-login, .btn-register {
  padding: 10px 45px;
  border-radius: 50px;
  font-weight: 500;
  text-align: center;
  transition: var(--transition);
  margin-left: 10px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-items: center;
  justify-content: center;
  line-height: 1.2;
  vertical-align: middle;
}

.btn-login {
  background-color: transparent;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-login:hover {
  background-color: var(--primary-color);
  color: #fff;
}

.btn-register {
  background-color: var(--primary-color);
  color: #fff;
  font-weight: 600;
  box-shadow: none;
  border: 1px solid var(--primary-color);
}

.btn-register:hover {
  background-color: #000;
  color: #fff;
  border-color: #000;
  transform: translateY(-2px);
  box-shadow: none;
}

/* Dropdown Menu */
.dropdown-toggle {
  position: relative;
  padding-right: 20px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  line-height: 1.2;
  gap: 8px;
}

.dropdown-toggle i {
  font-size: 14px;
  width: 16px;
  text-align: center;
}

.dropdown-toggle::after {
  display: inline-block;
  margin-left: 8px;
  vertical-align: 0.255em;
  content: "";
  border-top: 0.3em solid;
  border-right: 0.3em solid transparent;
  border-bottom: 0;
  border-left: 0.3em solid transparent;
  flex-shrink: 0;
}

.dropdown-toggle:hover::after {
  transform: translateY(-50%) rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: white;
  min-width: 200px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 1000;
  border: none;
}

/* Tambahkan hover untuk parent */
.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(5px);
  transition-delay: 0.1s;
}

/* Tambahkan area hover yang lebih besar */
.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 0;
  width: 100%;
  height: 20px;
}

.dropdown-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(5px);
}

.dropdown-menu li {
  list-style: none;
}

.dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  color: var(--dark-color);
  transition: var(--transition);
}

.dropdown-menu li a:hover {
  background-color: var(--light-color);
  color: var(--primary-color);
  padding-left: 25px;
}

/* Cart Dropdown */
.cart-dropdown {
  position: relative;
}

.cart-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background-color: var(--accent-color);
  color: white;
  font-size: 0.7rem;
  font-weight: 500;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-menu {
  width: 280px;
  padding: 15px;
  right: 0;
  left: auto;
}

/* About Dropdown - uppercase, orange accent, white dropdown box */
.about-dropdown {
  position: relative;
}

.about-dropdown .about-toggle {
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 0.02em;
  position: relative;
  padding-bottom: 6px;
}

.about-dropdown .about-toggle::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background-color: #ff8c00;
  transition: width 0.25s ease;
}

.about-dropdown .about-toggle:hover::before,
.about-dropdown .about-toggle:focus::before,
.about-dropdown.show .about-toggle::before {
  width: 65%;
}

.about-dropdown .about-menu {
  left: 0;
  min-width: 200px;
  padding: 12px 0;
  margin-top: 8px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1), 0 2px 8px rgba(0, 0, 0, 0.06);
  border: none;
}

.about-dropdown .about-menu li a {
  padding: 12px 24px;
  color: #495057;
  font-weight: 400;
  font-size: 1.1rem;
}

.about-dropdown .about-menu li a:hover {
  color: var(--primary-color);
  background-color: #f8f9fa;
  padding-left: 28px;
}

.cart-item-link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

.cart-item-link:hover {
  text-decoration: none;
  color: inherit;
}

.cart-item-link:hover .cart-item {
  background-color: #f8f9fa;
  transform: translateX(5px);
}

.cart-item {
  display: flex;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cart-item:last-child {
  border-bottom: none;
}

.cart-item-img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  margin-right: 10px;
}

.cart-item-title {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--dark-color);
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.cart-item-price {
  color: var(--primary-color);
}

.cart-more {
  text-align: center;
  color: #6c757d;
  margin-bottom: 15px;
}

.btn-view-cart {
  display: block;
  text-align: center;
  padding: 8px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 4px;
  text-decoration: none;
}

.btn-view-cart:hover {
  background-color: #000;
  text-decoration: none;
  color: white;
}

/* User Menu */
.user-menu {
  position: absolute;
  top: 100%;
  right: 0;
  left: auto;
  min-width: 300px;
  max-width: 350px;
  padding: 0;
  border-radius: var(--border-radius);
  box-shadow: none;
  z-index: 1000;
  border: none;
  overflow: hidden;
}

.user-dropdown .username {
  font-weight: 500;
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Hide username in toggle button for mobile to avoid duplication */
@media (max-width: 991px) {
  .user-dropdown .dropdown-toggle {
    display: none !important;
  }
  
  .user-dropdown .dropdown-toggle .username {
    display: none !important;
  }
}

.dropdown-user-info {
  display: flex;
  align-items: center;
  padding: 20px;
  width: 100%;
  box-sizing: border-box;
  position: relative;
}

.dropdown-user-avatar {
  color: var(--primary-color);
  margin-right: 15px;
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.dropdown-user-details {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.dropdown-user-name {
  font-weight: 600;
  color: var(--dark-color);
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 15px;
  line-height: 1.4;
}

.dropdown-user-email {
  color: var(--secondary-color);
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  line-height: 1.4;
  margin-top: 2px;
}

/* Style for full name (second email div) */
.dropdown-user-details > .dropdown-user-email:first-of-type {
  color: #6c757d;
  font-size: 12px;
  margin-top: 0;
  margin-bottom: 2px;
}

/* Close button for dropdown menu - Desktop: hidden by default */
.dropdown-close-btn {
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  margin: 0;
  display: none; /* Hidden on desktop by default */
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 50%;
  transition: all 0.3s ease;
  color: var(--dark-color);
  z-index: 10010 !important;
  flex-shrink: 0;
  pointer-events: auto !important;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
  outline: none;
}

.dropdown-close-btn:hover {
  background-color: rgba(0, 0, 0, 0.05);
  color: var(--primary-color);
}

.dropdown-close-btn:active {
  background-color: rgba(0, 0, 0, 0.1);
  transform: translateY(-50%) scale(0.95);
}

.dropdown-close-btn i {
  font-size: 20px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.dropdown-divider {
  margin: 0;
}

.user-menu li a {
  display: flex;
  align-items: center;
  padding: 12px 20px;
  color: var(--dark-color);
  transition: var(--transition);
}

.user-menu li a i {
  margin-right: 12px;
  width: 20px;
  text-align: center;
  color: var(--primary-color);
}

.user-menu li a:hover {
  background-color: var(--light-color);
  color: var(--primary-color);
  padding-left: 25px;
}

/* Mobile Menu */
@media (max-width: 991px) {
  .site-header {
    position: sticky;
    top: 0;
    z-index: 10005 !important;
  }

  .navbar {
    padding: 12px 0;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    position: relative;
    z-index: 10006 !important;
  }

  .navbar-brand {
    font-size: 1.6rem;
    flex-shrink: 0;
    margin-right: auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }

  .navbar-brand img {
    max-height: 40px;
    width: auto;
  }

  .search-form {
    display: none;
  }

  .search-input {
    width: 100%;
  }

  .search-input:focus {
    width: 100%;
  }

  .search-btn {
    padding: 8px 15px;
  }

  .search-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    color: var(--dark-color);
    font-size: 1.2rem;
    cursor: pointer;
  }

  .search-toggle:hover {
    color: var(--primary-color);
  }

  .search-close {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--secondary-color);
    cursor: pointer;
    padding: 5px;
  }

  .search-close:hover {
    color: var(--primary-color);
  }

  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    width: 44px;
    height: 44px;
    position: relative;
    z-index: 10006 !important;
    flex-shrink: 0;
    margin-left: auto;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    pointer-events: auto !important;
  }
  
  .menu-toggle:active,
  .menu-toggle:focus {
    outline: none;
    pointer-events: auto !important;
  }
  
  .menu-toggle span {
    pointer-events: none;
  }

  .menu-toggle span {
    display: block;
    width: 26px;
    height: 3px;
    background-color: var(--dark-color);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    transition: all 0.3s ease;
    border-radius: 2px;
  }

  .menu-toggle span:nth-child(1) { top: 13px; }
  .menu-toggle span:nth-child(2) { top: 20.5px; }
  .menu-toggle span:nth-child(3) { top: 28px; }

  .menu-toggle.active span {
    background-color: var(--primary-color);
  }

  .menu-toggle.active span:nth-child(1) {
    transform: translateX(-50%) rotate(45deg);
    top: 20.5px;
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-50%);
  }

  .menu-toggle.active span:nth-child(3) {
    transform: translateX(-50%) rotate(-45deg);
    top: 20.5px;
  }

  .navbar-nav {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    max-width: 85vw;
    height: 100vh;
    background-color: white;
    display: flex;
    flex-direction: column;
    padding: 24px 0 30px 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10003 !important;
    box-shadow: none;
    overflow-y: auto;
    overflow-x: hidden;
    margin: 0;
    pointer-events: auto !important;
    -webkit-overflow-scrolling: touch;
  }

  .navbar-nav.active {
    right: 0;
    pointer-events: auto !important;
  }
  
  /* Ensure all menu items are clickable */
  .navbar-nav .nav-item,
  .navbar-nav .nav-link,
  .navbar-nav .dropdown-toggle,
  .navbar-nav .user-menu,
  .navbar-nav .user-menu li,
  .navbar-nav .user-menu li a,
  .navbar-nav .dropdown-menu,
  .navbar-nav .cart-menu {
    pointer-events: auto !important;
  }

  /* Ensure user dropdown is at top in mobile menu */
  .navbar-nav .nav-item.dropdown.user-dropdown {
    order: -2;
    margin-bottom: 0;
    width: 100%;
    padding: 0 0px;
    background: transparent;
    border-bottom: none;
  }

  /* Language switcher: compact block right after user, no dropdown on mobile */
  .navbar-nav .lang-switcher-wrap {
    order: -1;
    margin-top: 0;
    margin-bottom: 16px;
    padding: 0 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 16px;
  }
  .navbar-nav .lang-mobile-label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #6c757d;
    margin-bottom: 10px;
    font-weight: 600;
  }
  .navbar-nav .lang-switcher {
    display: block;
    width: 100%;
  }
  .navbar-nav .lang-switcher .lang-btn {
    display: none;
  }
  /* Language options always visible in mobile menu, stacked vertically - override global .dropdown-menu hidden state */
  .navbar-nav .lang-switcher .lang-menu,
  .navbar-nav.active .lang-switcher .lang-menu {
    display: flex !important;
    flex-direction: column;
    position: static !important;
    float: none !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
    gap: 10px;
    width: 100%;
    margin: 0 !important;
    background: transparent !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .navbar-nav .lang-switcher .lang-menu li {
    flex: none;
    width: 100%;
    margin: 0;
    list-style: none;
  }
  .navbar-nav .lang-switcher .lang-menu .dropdown-item {
    display: block;
    padding: 12px 16px;
    text-align: center;
    border-radius: 10px;
    background: #f8f9fa;
    font-size: 14px;
    font-weight: 500;
    color: var(--dark-color);
    border: 1px solid transparent;
    transition: all 0.2s ease;
    width: 100%;
    box-sizing: border-box;
  }
  .navbar-nav .lang-switcher .lang-menu .dropdown-item:hover {
    background: #e9ecef;
    color: var(--primary-color);
  }
  .navbar-nav .lang-switcher .lang-menu .dropdown-item.active {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
  }

  /* Mobile Menu Overlay */
  .menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 10002;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
  }
  
  .menu-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-item {
    margin: 0;
    width: 100%;
    position: relative;
    z-index: 1;
    display: block; /* Override display: flex from desktop */
    padding: 0 20px;
    flex-shrink: 0;
  }

  /* Add spacing between menu sections */
  .navbar-nav > .nav-item:not(.user-dropdown):not(.lang-switcher-wrap) {
    margin-top: 10px;
  }

  .navbar-nav > .nav-item:first-of-type:not(.user-dropdown) {
    margin-top: 0;
  }

  /* Add padding top for first menu item after user dropdown */
  .navbar-nav > .nav-item.user-dropdown ~ .nav-item:first-of-type {
    margin-top: 10px;
  }

  /* First real nav link after lang block */
  .navbar-nav > .lang-switcher-wrap + .nav-item {
    margin-top: 0;
  }

  .nav-link {
    padding: 14px 18px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    font-size: 15px;
    font-weight: 500;
    color: var(--dark-color);
    border: 1px solid transparent;
    margin: 0;
  }

  .dropdown-toggle {
    padding: 14px 18px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    font-size: 15px;
    font-weight: 500;
    color: var(--dark-color);
    border: 1px solid transparent;
    margin: 0;
  }

  /* ABOUT / Keranjang: submenu spacing on mobile */
  .navbar-nav .nav-item.dropdown .dropdown-menu,
  .navbar-nav .nav-item.dropdown .cart-menu {
    padding: 8px 0 0 0;
    margin-top: 6px;
  }
  .navbar-nav .nav-item.dropdown .dropdown-menu a,
  .navbar-nav .nav-item.dropdown .about-menu a {
    padding: 12px 18px;
    border-radius: 8px;
    margin: 0 4px 4px 4px;
    font-size: 14px;
    display: flex;
    align-items: center;
  }
  .navbar-nav .nav-item.dropdown .dropdown-menu a:hover,
  .navbar-nav .nav-item.dropdown .about-menu a:hover {
    background: #e9ecef;
  }

  .nav-link:hover,
  .nav-link:focus {
    background: #e9ecef;
    color: var(--primary-color);
    transform: translateX(5px);
    border-color: #dee2e6;
  }

  .dropdown-toggle:hover,
  .dropdown-toggle:focus {
    background: #e9ecef;
    color: var(--primary-color);
    transform: translateX(5px);
    border-color: #dee2e6;
  }

  .nav-link i,
  .dropdown-toggle i {
    margin-right: 12px;
    width: 20px;
    text-align: center;
    font-size: 16px;
  }


  /* Login Register buttons mobile */
  .btn-login, 
  .btn-register {
    width: 100%;
    margin: 8px 0 0 0;
    text-align: center;
    padding: 14px 18px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .btn-login {
    background: #f8f9fa;
    color: var(--dark-color);
    border: 1px solid #dee2e6;
  }

  .btn-login:hover {
    background: #e9ecef;
    color: var(--primary-color);
    transform: translateX(3px);
    border-color: #adb5bd;
  }

  .btn-register {
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
    box-shadow: none;
    border: none;
  }

  .btn-register:hover {
    background-color: #000;
    transform: translateY(-2px);
    box-shadow: none;
  }

  /* Cart menu styling */
  .cart-menu {
    position: static;
    width: 100%;
    max-width: none;
    background: transparent;
    box-shadow: none;
    margin: 8px 0 0 0;
    padding: 0;
    border: none;
    display: none;
    max-height: none;
    overflow: visible;
  }

  .cart-menu.show {
    display: block !important;
    margin-top: 8px;
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 15px;
    min-height: auto;
  }

  .cart-menu .dropdown-header {
    padding: 12px 0;
    font-weight: 600;
    font-size: 14px;
    color: var(--dark-color);
    border-bottom: 1px solid #dee2e6;
    margin-bottom: 8px;
    text-align: left;
  }

  .cart-item-link {
    display: block;
    text-decoration: none;
    color: inherit;
    margin-bottom: 6px;
  }

  .cart-item-link:hover,
  .cart-item-link:active {
    text-decoration: none;
    color: inherit;
  }

  .cart-item-link:active .cart-item {
    background-color: #e9ecef;
    transform: scale(0.98);
  }

  .cart-item {
    background: white;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid #e9ecef;
    box-shadow: none;
    cursor: pointer;
    transition: all 0.2s ease;
  }

  .cart-item-img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 8px;
  }

  .cart-item-info {
    flex: 1;
  }

  .cart-item-title {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 4px;
    color: var(--dark-color);
  }

  .cart-item-price {
    font-size: 13px;
    color: var(--primary-color);
    font-weight: 600;
  }

  .cart-more {
    text-align: center;
    padding: 8px;
    font-size: 13px;
    color: var(--secondary-color);
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 6px;
  }

  .btn-view-cart {
    display: block;
    width: 100%;
    padding: 12px;
    background: var(--primary-color);
    color: white;
    text-align: center;
    border-radius: 10px;
    font-weight: 600;
    margin-top: 6px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
  }

  .btn-view-cart:hover {
    background: #000;
    transform: translateY(-2px);
    box-shadow: none;
  }

  .cart-empty {
    text-align: center;
    padding: 20px;
    color: var(--secondary-color);
    font-size: 14px;
  }

  /* User menu styling - Mobile: Always open and at top */
  .user-menu {
    position: static;
    width: 100%;
    box-shadow: none;
    margin: 0;
    background: transparent;
    border: none;
    padding: 0;
    display: block !important;
    order: -1;
  }

  .user-menu.show {
    display: block !important;
    margin-top: 0;
  }
  
  /* User dropdown item - move to top in mobile */
  .nav-item.dropdown.user-dropdown {
    order: -1;
    width: 100%;
    margin-bottom: 0;
    padding: 0;
  }
  
  /* Hide dropdown toggle arrow in mobile */
  .nav-item.dropdown.user-dropdown .dropdown-toggle::after {
    display: none;
  }
  
  /* Make user toggle non-clickable and hide username in mobile */
  .nav-item.dropdown.user-dropdown .dropdown-toggle {
    pointer-events: none;
    cursor: default;
    display: none; /* Hide toggle button completely in mobile */
  }
  
  /* Hide the toggle button username span in mobile */
  .nav-item.dropdown.user-dropdown .dropdown-toggle .username {
    display: none;
  }

  .dropdown-user-info {
    border-radius: 10px;
    margin-bottom: 8px;
    padding: 14px 18px;
    padding-right: 50px; /* Add extra padding for close button */
    border: 1px solid transparent;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    position: relative;
    overflow: visible; /* Ensure close button is not clipped */
  }
  
  /* Ensure close button area is not blocked */
  .dropdown-user-info > .dropdown-close-btn {
    position: absolute !important;
    top: 50% !important;
    right: 12px !important;
    transform: translateY(-50%) !important;
    z-index: 10010 !important;
    pointer-events: auto !important;
  }
  
  /* Prevent dropdown-user-details from blocking close button */
  .dropdown-user-details {
    pointer-events: none;
  }
  
  .dropdown-user-details > * {
    pointer-events: auto;
  }
  
  .dropdown-close-btn {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    margin: 0;
    display: flex !important; /* Show on mobile */
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    border-radius: 50%;
    transition: all 0.3s ease;
    color: var(--dark-color);
    z-index: 10010 !important;
    flex-shrink: 0;
    pointer-events: auto !important;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    user-select: none;
    -webkit-user-select: none;
    outline: none;
  }
  
  .dropdown-close-btn:hover {
    background-color: rgba(0, 0, 0, 0.08);
    color: var(--primary-color);
  }
  
  .dropdown-close-btn:active {
    background-color: rgba(0, 0, 0, 0.15);
    transform: translateY(-50%) scale(0.95);
  }
  
  .dropdown-close-btn i {
    font-size: 20px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    pointer-events: none;
  }

  .dropdown-user-avatar {
    margin-bottom: 0;
    margin-left: 8px;
    flex-shrink: 0;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 50%;
    box-shadow: none;
  }
  
  .dropdown-user-avatar i {
    font-size: 1.8rem;
    color: var(--primary-color);
  }

  .dropdown-user-details {
    width: 100%;
    flex: 1;
    min-width: 0; /* Allow text truncation */
    overflow: hidden;
  }

  .dropdown-user-name {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 4px;
    font-size: 16px;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .dropdown-user-email {
    color: var(--secondary-color);
    font-size: 12px;
    margin-bottom: 2px;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .user-menu {
    padding: 0;
    background: transparent;
  }

  .user-menu li {
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .user-menu li a {
    padding: 14px 18px;
    background: #f8f9fa;
    border-radius: 10px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    color: var(--dark-color);
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
  }

  .user-menu li a:hover {
    background: #e9ecef;
    color: var(--primary-color);
    transform: translateX(5px);
    border-color: #dee2e6;
  }

  .user-menu li a i {
    margin-right: 12px;
    width: 20px;
    text-align: center;
    font-size: 16px;
    color: var(--dark-color);
  }

  .dropdown-divider {
    height: 1px;
    background: #dee2e6;
    margin: 8px 0;
    border: none;
  }

  /* Ensure dropdown menus don't appear as nested in mobile */
  .nav-item.dropdown {
    position: relative;
    display: block; /* Ensure block display for dropdown items */
  }

  .nav-item.dropdown .dropdown-menu,
  .nav-item.dropdown .cart-menu {
    position: static;
    float: none;
    width: 100%;
    margin-top: 0;
    margin-left: 0;
    margin-right: 0;
    display: none; /* Hidden by default */
  }
  
  /* User menu always open in mobile */
  .nav-item.dropdown .user-menu {
    position: static;
    float: none;
    width: 100%;
    margin-top: 0;
    margin-left: 0;
    margin-right: 0;
    display: block !important; /* Always visible in mobile */
  }

  .nav-item.dropdown .dropdown-menu.show,
  .nav-item.dropdown .cart-menu.show {
    display: block !important; /* Show when active */
  }
  
  .nav-item.dropdown .user-menu.show {
    display: block !important; /* Always show */
  }

  /* Hide dropdown arrow rotation in mobile */
  .dropdown-toggle::after {
    transition: transform 0.3s ease;
  }

  .nav-item.dropdown.active .dropdown-toggle::after {
    transform: rotate(180deg);
  }

  /* Ensure dropdown content is properly aligned */
  .nav-item.dropdown.active .dropdown-toggle {
    background: #e9ecef;
  }

  /* Badge styling */
  .cart-badge {
    position: relative;
    top: 0;
    right: 0;
    margin-left: 8px;
    background: var(--primary-color);
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
  }
}

/* Durasi Booking Input Styles */
.summary-durasi-input {
  margin-bottom: 25px;
  padding: 20px;
  background-color: #f8f9fa;
  border-radius: 10px;
  border: 1px solid #e9ecef;
}

.durasi-label {
  display: block;
  margin-bottom: 12px;
  font-weight: 600;
  color: #333;
  font-size: 1.1rem;
  line-height: 1.5;
}

.durasi-label i {
  margin-right: 8px;
  color: var(--primary-color);
  font-size: 1.1rem;
}

.durasi-input-wrapper {
  position: relative;
  width: 100%;
}

.durasi-input {
  padding-right: 50px !important;
  text-align: center;
  font-size: 1.5rem !important;
  font-weight: 600 !important;
  height: 55px;
  border: 2px solid #dee2e6;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.durasi-input:focus {
  border-color: var(--primary-color);
  box-shadow: none;
  outline: none;
}

.durasi-spinner {
  position: absolute;
  right: 2px;
  top: 2px;
  bottom: 2px;
  display: flex;
  flex-direction: column;
  width: 35px;
  border-left: 1px solid #dee2e6;
  pointer-events: none;
  border-radius: 0 8px 8px 0;
  overflow: hidden;
}

.durasi-spinner button {
  background: #fff;
  border: none;
  width: 100%;
  height: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: all 0.2s ease;
  outline: none;
  pointer-events: auto;
}

.durasi-spinner button:first-child {
  border-bottom: 1px solid #dee2e6;
}

.durasi-spinner button:hover {
  background-color: #e9ecef;
}

.durasi-spinner button:active {
  background-color: #dee2e6;
  transform: scale(0.95);
}

.durasi-spinner button i {
  font-size: 12px;
  color: #495057;
  font-weight: 600;
}

.durasi-help-text {
  display: block;
  margin-top: 10px;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #6c757d;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .summary-durasi-input {
    padding: 18px;
    margin-bottom: 20px;
  }
  
  .durasi-label {
    font-size: 1rem;
    margin-bottom: 10px;
  }
  
  .durasi-label i {
    font-size: 1rem;
    margin-right: 6px;
  }
  
  .durasi-input {
    font-size: 1.3rem !important;
    height: 50px;
    padding-right: 45px !important;
  }
  
  .durasi-spinner {
    width: 32px;
  }
  
  .durasi-spinner button i {
    font-size: 11px;
  }
  
  .durasi-help-text {
    font-size: 0.9rem;
    margin-top: 8px;
  }
}

@media (max-width: 576px) {
  .summary-durasi-input {
    padding: 15px;
    margin-bottom: 18px;
  }
  
  .durasi-label {
    font-size: 0.95rem;
    margin-bottom: 8px;
  }
  
  .durasi-input {
    font-size: 1.2rem !important;
    height: 48px;
    padding-right: 42px !important;
  }
  
  .durasi-spinner {
    width: 30px;
  }
  
  .durasi-spinner button i {
    font-size: 10px;
  }
  
  .durasi-help-text {
    font-size: 0.85rem;
    margin-top: 6px;
  }
}

/* Tambahan untuk responsivitas navbar */
@media (max-width: 576px) {
  .navbar {
    padding: 10px 0;
    justify-content: space-between;
    align-items: center;
  }

  .navbar-brand {
    font-size: 1.4rem;
    margin-right: auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }

  .navbar-brand img {
    max-height: 35px;
  }

  .menu-toggle {
    width: 44px;
    height: 44px;
    padding: 8px;
    z-index: 10006 !important;
    pointer-events: auto !important;
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .menu-toggle span {
    width: 26px;
    height: 3px;
    left: 50%;
    transform: translateX(-50%);
  }

  .menu-toggle span:nth-child(1) { top: 13px; }
  .menu-toggle span:nth-child(2) { top: 20.5px; }
  .menu-toggle span:nth-child(3) { top: 28px; }

  .menu-toggle.active span:nth-child(1) {
    transform: translateX(-50%) rotate(45deg);
    top: 20.5px;
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-50%);
  }

  .menu-toggle.active span:nth-child(3) {
    transform: translateX(-50%) rotate(-45deg);
    top: 20.5px;
  }

  .navbar-nav {
    width: 320px;
    max-width: 90vw;
    padding: 50px 0 10px 0;
  }

  .navbar-nav .nav-item {
    padding: 0 15px;
  }

  .nav-link,
  .dropdown-toggle {
    padding: 12px 15px;
    font-size: 1.05rem;
  }

  .user-menu {
    padding: 0 0px 5px 10px;
  }

  .nav-item.dropdown.user-dropdown {
    padding: 15px;
  }

  .btn-login,
  .btn-register {
    padding: 12px 15px;
    font-size: 14px;
  }
}

/* Hero Section */
.hero {
  background-color: #f2ede0;
  color: var(--dark-color);
  padding: 0px 0;
  margin-bottom: 0px;
  border-radius: 0 0 var(--border-radius) var(--border-radius);
  overflow: visible;
}

.hero .container {
  max-width: 100%;
  width: 100%;
  padding: 0;
  overflow: visible;
  box-sizing: border-box;
}

.hero-wrapper {
  display: block;
  width: 100%;
  overflow: visible;
  min-height: 0;
  box-sizing: border-box;
}

.hero-content {
  text-align: left;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-title {
  margin-bottom: 20px;
  text-align: left;
  font-size: 2.5rem;
  line-height: 1.2;
}

.hero-text {
  margin-bottom: 30px;
  opacity: 0.9;
  font-size: 1.1rem;
  text-align: left;
}

/* Desktop buttons - inside hero-content */
.hero-buttons-desktop {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
}

/* Mobile buttons - below banner, hidden on desktop */
.hero-buttons-mobile {
  display: none;
}

.hero-banner {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: visible;
  min-height: 0;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.hero-banner-img {
  max-width: 100%;
  width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  box-shadow: none;
  display: block;
  margin: 0 auto;
}

/* Hero Video Player Styles */
.hero-banner video {
  max-width: 100%;
  width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  box-shadow: none;
  display: block;
  margin: 0 auto;
}

.hero-banner-placeholder {
  width: 100%;
  height: 500px;
  background-color: rgba(255, 255, 255, 0.1);
  border: 2px dashed rgba(255, 255, 255, 0.3);
  border-radius: var(--border-radius);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
  padding: 20px;
}

.hero-banner-placeholder i {
  margin-bottom: 15px;
  opacity: 0.5;
}

.hero-banner-placeholder p {
  margin: 0;
  font-size: 0.9rem;
}

/* Hero Video Player Styles */

/* Responsive Hero Section */
@media (max-width: 992px) {
  .hero {
    padding: 0;
    border-radius: 0;
  }
  
  .hero .container {
    padding: 0;
  }
  
  .hero-wrapper {
    display: block;
    width: 100%;
  }
  
  .hero-banner {
    width: 100%;
    height: auto;
    min-height: 250px;
    margin: 0;
    padding: 0;
  }
  
  .hero-banner video,
  .hero-banner-img {
    height: auto;
    max-height: 350px;
    width: 100%;
    object-fit: contain;
    border-radius: 0;
  }
  
  .hero-banner-placeholder {
    height: 250px;
    min-height: 250px;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 0;
    border-radius: 0;
  }
  
  .hero .container {
    padding: 0;
  }
  
  .hero-wrapper {
    width: 100%;
  }
  
  .hero-banner {
    width: 100%;
    min-height: 200px;
    padding: 0;
    margin: 0;
  }
  
  .hero-banner video,
  .hero-banner-img {
    width: 100%;
    max-height: 300px;
    border-radius: 0;
  }
  
  .hero-banner-placeholder {
    height: 200px;
    min-height: 200px;
  }
}

@media (max-width: 576px) {
  .hero {
    padding: 0;
    border-radius: 0;
  }
  
  .hero .container {
    padding: 0;
  }
  
  .hero-wrapper {
    width: 100%;
  }
  
  .hero-banner {
    width: 100%;
    min-height: 200px;
    padding: 0;
    margin: 0;
  }
  
  .hero-banner video,
  .hero-banner-img {
    width: 100%;
    max-height: 250px;
    border-radius: 0;
  }
  
  .hero-banner-placeholder {
    height: 180px;
    min-height: 180px;
  }
}

@media (max-width: 375px) {
  .hero {
    padding: 0;
    border-radius: 0;
  }
  
  .hero .container {
    padding: 0;
  }
  
  .hero-banner {
    width: 100%;
    padding: 0;
    margin: 0;
  }
  
  .hero-banner video,
  .hero-banner-img {
    width: 100%;
    max-height: 220px;
    border-radius: 0;
  }
}

.hero-buttons-desktop .btn,
.hero-buttons-mobile .btn {
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

@media (max-width: 768px) {
  .hero-buttons-mobile .btn {
    padding: 11px 25px;
    font-size: 14px;
    letter-spacing: 0.5px;
  }
}

.hero-buttons-desktop .btn-outline,
.hero-buttons-mobile .btn-outline {
  background-color: transparent;
  border: 2px solid white;
  color: white;
}

.hero-buttons-desktop .btn-outline:hover,
.hero-buttons-mobile .btn-outline:hover {
  background-color: white;
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: none;
}

.hero-buttons-desktop .btn-primary,
.hero-buttons-mobile .btn-primary {
  background-color: transparent;
  border: 2px solid white;
  color: white;
}

.hero-buttons-desktop .btn-primary:hover,
.hero-buttons-mobile .btn-primary:hover {
  background-color: white;
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: none;
}

/* Mobile-only grid view toolbar (below hero) */
.mobile-grid-toolbar {
  display: none;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: #f2ede0;
  border-bottom: 1px solid #eee;
  position: relative;
  z-index: 100;
}
@media (max-width: 991px) {
  .mobile-grid-toolbar {
    display: flex;
  }
  /* When toolbar is above title (produk / kategori pages) */
  .mobile-grid-toolbar + .section-title {
    margin-top: 12px;
    margin-bottom: 16px;
  }
}
.grid-toolbar-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  background: #fff;
  color: #6c757d;
  cursor: pointer;
  pointer-events: auto;
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
}
.grid-toolbar-btn:hover {
  border-color: #adb5bd;
  color: #333;
  background: #f8f9fa;
}
.grid-toolbar-btn.active {
  background: #333;
  border-color: #333;
  color: #fff;
}
.grid-toolbar-btn .grid-icon {
  font-size: 1.1rem;
}
.grid-toolbar-btn .grid-icon i {
  font-size: inherit;
}

/* Mobile: home products grid view modes – consistent typography and spacing per view */
@media (max-width: 991px) {
  #products-grid.view-list {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  #products-grid.view-grid-2 {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  #products-grid.view-grid-3 {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  /* List view (1 col): comfortable reading size */
  #products-grid.view-list .product-card .product-img-wrapper {
    max-height: 280px;
  }
  #products-grid.view-list .product-card .product-info {
    padding: 12px 0 8px;
  }
  #products-grid.view-list .product-card .product-title {
    font-size: 15px;
    line-height: 1.35;
    -webkit-line-clamp: 2;
  }
  #products-grid.view-list .product-card .product-category-label {
    font-size: 11px;
  }
  #products-grid.view-list .product-card .product-price-block .price-value {
    font-size: 1.2rem;
  }
  #products-grid.view-list .product-card .product-img-actions .product-btn {
    font-size: 14px;
    padding: 10px 12px;
  }
  #products-grid.view-list .product-card .product-badge {
    font-size: 11px;
    padding: 4px 8px;
  }

  /* Grid 2 col: balanced size so cards stay tidy */
  #products-grid.view-grid-2 .product-card .product-img-wrapper {
    aspect-ratio: 1;
    max-height: none;
  }
  #products-grid.view-grid-2 .product-card .product-info {
    padding: 10px 0 6px;
  }
  #products-grid.view-grid-2 .product-card .product-title {
    font-size: 13px;
    line-height: 1.3;
    -webkit-line-clamp: 2;
  }
  #products-grid.view-grid-2 .product-card .product-category-label {
    font-size: 10px;
  }
  #products-grid.view-grid-2 .product-card .product-price-block {
    margin-top: 6px;
    margin-bottom: 6px;
  }
  #products-grid.view-grid-2 .product-card .product-price-block .price-value {
    font-size: 1.05rem;
  }
  #products-grid.view-grid-2 .product-card .product-img-actions .product-btn {
    font-size: 12px;
    padding: 8px 10px;
  }
  #products-grid.view-grid-2 .product-card .product-badge {
    font-size: 10px;
    padding: 3px 6px;
  }
  #products-grid.view-grid-2 .product-card .availability-pill,
  #products-grid.view-grid-2 .product-card .detail-item {
    font-size: 10px;
  }
  #products-grid.view-grid-2 .product-card .detail-item i {
    font-size: 11px;
  }

  /* Grid 3 col: smaller text so layout doesn’t break */
  #products-grid.view-grid-3 .product-card .product-img-wrapper {
    aspect-ratio: 1;
    max-height: none;
  }
  #products-grid.view-grid-3 .product-card .product-info {
    padding: 8px 0 4px;
  }
  #products-grid.view-grid-3 .product-card .product-title {
    font-size: 11px;
    line-height: 1.25;
    -webkit-line-clamp: 2;
  }
  #products-grid.view-grid-3 .product-card .product-category-label {
    font-size: 9px;
  }
  #products-grid.view-grid-3 .product-card .product-price-block {
    margin-top: 4px;
    margin-bottom: 4px;
  }
  #products-grid.view-grid-3 .product-card .product-price-block .price-value {
    font-size: 0.9rem;
  }
  #products-grid.view-grid-3 .product-card .product-img-actions .product-btn {
    font-size: 10px;
    padding: 6px 8px;
  }
  #products-grid.view-grid-3 .product-card .product-badge {
    font-size: 9px;
    padding: 2px 5px;
  }
  #products-grid.view-grid-3 .product-card .availability-pill,
  #products-grid.view-grid-3 .product-card .detail-item {
    font-size: 9px;
  }
  #products-grid.view-grid-3 .product-card .detail-item i {
    font-size: 10px;
  }
  #products-grid.view-grid-3 .product-card .product-img-actions {
    margin-top: 6px;
  }
}
@media (min-width: 992px) {
  .mobile-grid-toolbar {
    display: none !important;
  }
}

/* Product Cards - stretch so all cards in a row have equal height, buttons align */
.products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
  align-items: stretch;
}

/* Horizontal scroll products */
.products-horizontal {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  gap: 20px;
  margin-top: 20px;
  padding-bottom: 10px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.products-horizontal::-webkit-scrollbar {
  height: 8px;
}

.products-horizontal::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.products-horizontal::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 10px;
}

.products-horizontal::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.products-horizontal .product-card {
  flex: 0 0 auto;
  width: 280px;
  min-width: 280px;
  max-width: 280px;
}

@media (min-width: 992px) {
  .products {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .products-horizontal .product-card {
    width: 300px;
    min-width: 300px;
    max-width: 300px;
  }
}

/* Home page: Produk Unggulan 4 columns on desktop; Produk Terbaru uses default 4 cols */
@media (min-width: 992px) {
  .featured-products .products {
    grid-template-columns: repeat(4, 1fr);
  }
}

.product-card {
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: none;
  border-color: #000;
}

/* Product image link: whole image area clickable to detail, no button */
.product-img-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.product-img-wrapper {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 100%; /* Aspect ratio 1:1 (square) */
  overflow: hidden;
  background-color: #f8f9fa;
  flex-shrink: 0;
}

/* Availability label on product image (replaces buttons) */
.availability-pill-on-image {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 6px 10px;
  pointer-events: none;
}

/* Label produk tersedia: hijau */
.availability-pill-on-image .availability-pill {
  background: #d4edda;
  border-radius: 8px;
  padding: 6px 10px;
  border: 1px solid #28a745;
  display: inline-flex;
  color: #155724;
}

.availability-pill-on-image .availability-pill .status-dot {
  background: #28a745;
}

.availability-pill-on-image .availability-pill .availability-text {
  color: #155724;
}

/* Label produk habis: merah */
.availability-pill-on-image .availability-pill-habis {
  background: #f8d7da;
  border-color: #dc3545;
  color: #721c24;
}

.availability-pill-on-image .availability-pill-habis .status-dot {
  background: #dc3545;
}

.availability-pill-on-image .availability-pill-habis .availability-text {
  color: #721c24;
}

.product-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
  display: block;
  margin: 0;
  padding: 0;
}

.product-card:hover .product-img {
  transform: scale(1.08);
}

.product-quickview {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.product-card:hover .product-quickview {
  opacity: 1;
}

.product-img-actions {
  padding: 0 0 20px 0;
  width: 100%;
  margin-top: 8px;
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 0;
  box-sizing: border-box;
  flex-shrink: 0;
}

.product-img-actions .product-btn {
  font-size: 16px;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  padding: 5px 28px;
  box-sizing: border-box;
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
}

.product-img-actions .product-btn i {
  margin-right: 0;
  flex-shrink: 0;
}

.product-img-detail-btn {
  border-radius: 6px;
  width: 100%;
  white-space: nowrap;
  background: #212529;
  color: #fff;
  border: 1px solid #212529;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.product-img-detail-btn:hover {
  background: #000;
  color: #fff;
  border-color: #000;
}

.quickview-btn {
  background-color: #fff;
  color: #000;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: var(--transition);
}

.quickview-btn:hover {
  background-color: #000;
  color: white;
}

.product-label {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 4px;
  font-weight: 600;
  text-align: center;
  font-size: 11px;
  margin-bottom: 10px;
  width: 100%;
  box-sizing: border-box;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.label-new {
  background-color: var(--accent-color);
  color: white;
}

.product-info {
  padding: 5px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

/* All product cards: fixed min-height so button never moves with long text */
.product-card .product-info {
  min-height: 10px;
}

/* Title: fixed 2-line height on ALL listing cards so button never moves (Terbaru, Unggulan, Daftar, Kategori, Pencarian) */
.product-card .product-title {
  -webkit-line-clamp: 2 !important;
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  line-height: 1.3;
  max-height: 2.6em !important;
  min-height: 2.6em !important;
}

/* Fixed badge area height so related product cards align (available vs unavailable) */
.product-card-badge-area {
  min-height: 28px;
  margin-bottom: 6px;
}

/* Product Label Section */
.product-label-section {
  margin-bottom: 4px;
}

.product-category-label {
  font-size: 11px;
  font-weight: 600;
  color: #4e73df;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.product-title {
  font-size: 15px;
  margin-bottom: 8px;
  margin-top: 0;
  font-weight: 700;
  color: #212529;
  height: auto;
  min-height: auto;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-height: 1.3;
}

.product-price {
  font-size: 20px;
  font-weight: 700;
  color: #4e73df;
  margin-bottom: 10px;
  margin-top: 0;
}

/* Product card listing: HARGA and price on same line, close together (not used on detail page main price) */
.product-price-inline {
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  gap: 10px;
  flex-wrap: nowrap;
  margin-top: 10px;
  margin-bottom: 10px;
}

.product-price-inline .product-category-label {
  margin-bottom: 0;
  flex-shrink: 0;
}

.product-price-inline .product-price {
  margin-bottom: 0;
  margin-top: 0;
  flex-shrink: 0;
  white-space: nowrap;
}

/* Product price: two-line format (Harga / Diskon) */
.product-price-block {
  margin-top: 10px;
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.product-price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: nowrap;
}

.product-price-block .product-category-label {
  margin-bottom: 0;
  flex-shrink: 0;
  min-width: 50px;
}

.product-price-block .price-value {
  font-size: 1.35rem;
  font-weight: 600;
  color: #212529;
}

.product-price-block .price-value.price-discount {
  color: #4e73df;
  font-weight: 700;
  font-size: 1.4rem;
}

/* When discount exists: strike through original price (Harga Rp ...) */
.product-price-block.has-discount .product-price-row:first-child .price-value {
  text-decoration: line-through;
  color: #6c757d;
  font-size: 1.2rem;
}

.product-price-block.has-discount .product-price-row:last-child .price-value {
  font-size: 1.4rem;
}

/* Detail page main price: larger */
.product-price-block-detail {
  margin-top: 20px;
  margin-bottom: 20px;
  gap: 8px;
}

.product-price-block-detail .product-price-row {
  gap: 12px;
}

.product-price-block-detail .price-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
}

.product-price-block-detail .price-value.price-discount {
  color: #4e73df;
  font-size: 2rem;
}

/* Detail page: strike through original price when has discount */
.product-price-block-detail.has-discount .product-price-row:first-child .price-value {
  text-decoration: line-through;
  color: #6c757d;
  font-size: 1.5rem;
}

.product-price-block-detail.has-discount .product-price-row:last-child .price-value {
  font-size: 2rem;
}

/* Product Details Card */
.product-details-card {
  background: #eafaf0;
  border-radius: 8px;
  padding: 10px;
  border: 1px solid #e9ecef;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.detail-item {
  display: flex;
  align-items: center;
  margin-bottom: 0;
  font-size: 13px;
  color: #495057;
  gap: 8px;
  flex-wrap: nowrap;
  white-space: nowrap;
  min-width: 0;
}

.detail-item:last-child {
  margin-bottom: 0;
}

.detail-item i {
  width: 18px;
  text-align: center;
  color: var(--primary-color);
  font-size: 14px;
  flex-shrink: 0;
}

.detail-label {
  font-weight: 500;
  color: #6c757d;
  min-width: 45px;
  flex-shrink: 0;
}

.detail-value {
  font-weight: 600;
  color: #212529;
  flex: 1;
  text-align: left;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.availability-card {
  background: #eafaf0;
  border-color: #c7eed8;
  margin-bottom: 14px;
}

.availability-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #1e7e34;
  white-space: nowrap;
  flex-wrap: nowrap;
}

.availability-pill .availability-text {
  white-space: nowrap;
}

.availability-pill .status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #28a745;
  box-shadow: none;
  flex-shrink: 0;
}

.availability-pill-habis .status-dot {
  background: #dc3545;
}

.availability-pill-habis {
  color: #721c24;
}

.availability-pill-habis .availability-text {
  color: #721c24;
}

.availability-card .availability-pill-habis {
  background: transparent;
}

.availability-card:has(.availability-pill-habis) {
  background: #f8d7da;
  border-color: #f5c6cb;
}

/* Product card badge: Produk Habis on image */
.product-badge {
  position: absolute;
  z-index: 2;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  pointer-events: none;
}

.product-badge-habis {
  top: 10px;
  left: 10px;
  background: #dc3545;
  color: #fff;
  box-shadow: 0 2px 8px rgba(220, 53, 69, 0.4);
}

.product-badge-habis i {
  font-size: 12px;
}

/* Produk Tersedia badge: same position as Produk Habis, green style */
.product-badge-tersedia {
  top: 10px;
  left: 10px;
  background: #28a745;
  color: #fff;
  box-shadow: 0 2px 8px rgba(40, 167, 69, 0.4);
}

.product-badge-tersedia i {
  font-size: 12px;
}

/* Discount badge on product image (e.g. top-right so it doesn't overlap "Produk Habis") */
/* Discount badge: bottom-right corner of product image */
.product-badge-diskon {
  top: auto;
  bottom: 10px;
  right: 10px;
  left: auto;
  background: #28a745;
  color: #fff;
  box-shadow: 0 2px 8px rgba(40, 167, 69, 0.4);
}

.product-img-wrapper .product-badge-diskon {
  right: 10px;
  left: auto;
  bottom: 10px;
  top: auto;
}

/* Original price (strikethrough) when discount is applied */
.price-old {
  text-decoration: line-through;
  color: #6c757d;
  font-size: 0.9em;
  font-weight: 500;
  margin-right: 8px;
}

/* Discounted price (main price display) */
.price-now {
  font-weight: 700;
  color: #4e73df;
}

/* Inline price block: stack or wrap old + new price */
.product-price-inline .product-price .price-old,
.product-price .price-old {
  display: inline;
}

.product-price-inline .product-price .price-now,
.product-price .price-now {
  display: inline;
}

.product-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: auto;
  padding-top: 2px;
}

.product-card .product-actions {
  grid-template-columns: 1fr;
  margin-top: 14px;
}

/* Related products: force equal card height and button alignment at bottom */
.related-products .products {
  align-items: stretch;
}

.related-products .product-card {
  display: grid !important;
  grid-template-rows: auto auto 1fr !important;
  min-height: 0;
  height: 100%;
}

.related-products .product-card .product-img-wrapper {
  flex-shrink: 0;
}

/* Space between product info and "Lihat Detail" button */
.related-products .product-card .product-img-actions {
  flex-shrink: 0;
  margin-top: 8px;
  margin-bottom: 0;
  padding: 0 0 20px 0;
}

/* Content row: minmax(0,1fr) so row does NOT grow with long text; button stays fixed at bottom */
.related-products .product-card .product-info.related-product-info {
  display: grid !important;
  grid-template-rows: minmax(0, 1fr) auto !important;
  min-height: 0;
  padding: 15px;
  padding-top: 4px;
  flex-grow: 1;
  overflow: hidden;
}

.related-products .product-card .product-info-content {
  min-height: 0;
  max-height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Clip long text so card height never grows; button position stays fixed */
/* Produk Terkait: title max 2 lines, fixed height so button NEVER moves */
.related-products .product-card .product-title {
  -webkit-line-clamp: 2 !important;
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  line-height: 1.3;
  font-size: 15px;
  max-height: 2.6em;
  min-height: 2.6em;
  flex-shrink: 0;
}

.related-products .product-card .product-actions {
  margin-top: 14px;
  flex-shrink: 0;
  padding-top: 0;
  min-height: 46px;
}

/* Disabled buttons (out of stock): keep "Beli Sekarang" / "Tambah ke Keranjang" text, grey style so clearly not clickable */
.product-btn-disabled,
.product-actions span.product-btn.product-btn-disabled,
button.product-btn-disabled[disabled] {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 46px;
  background-color: #6c757d !important;
  color: #fff !important;
  border: 1px solid #6c757d !important;
  cursor: not-allowed !important;
  opacity: 0.9;
  text-decoration: none;
  pointer-events: none;
}

.product-actions span.product-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 46px;
}

/* Ensure Beli Sekarang link has same min-height for alignment */
.product-actions .product-btn.btn-buy {
  min-height: 46px;
}

.product-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
  width: 100%;
  white-space: nowrap;
}

.product-btn i {
  margin-right: 6px;
}

/* Detail Page */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin: 40px 0;
}

.product-detail-img {
  width: 100%;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.product-detail-info h1 {
  margin-bottom: 15px;
  font-size: x-large;
}

.product-detail-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.product-description {
  margin-bottom: 30px;
  color: var(--secondary-color);
  line-height: 1.7;
}

.product-detail-section {
  padding-bottom: 80px;
}

.product-meta {
  margin: 20px 0;
  padding: 15px 0;
  border-top: 1px solid #e1e5ee;
  border-bottom: 1px solid #e1e5ee;
}

.product-meta-item {
  display: flex;
  margin-bottom: 10px;
}

.meta-label {
  width: 120px;
  color: var(--secondary-color);
}

.meta-label i {
  margin-right: 5px;
  color: var(--primary-color);
}

.meta-value a {
  color: var(--primary-color);
  font-weight: 500;
}

.meta-value a:hover {
  text-decoration: underline !important;
}

/* Quantity Controls */
.quantity-control {
  margin-bottom: 25px;
}

.quantity-control label {
  display: block;
  margin-bottom: 10px;
  font-weight: 500;
}

.quantity-wrapper {
  display: flex;
  align-items: center;
}

.quantity-btn {
  width: 40px;
  height: 40px;
  background-color: #f8f9fa;
  border: 1px solid #e1e5ee;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  transition: var(--transition);
}

.quantity-btn:hover {
  background-color: var(--primary-color);
  color: white;
}

.quantity-input {
  width: 60px;
  height: 40px;
  border: 1px solid #e1e5ee;
  text-align: center;
  font-family: var(--font-primary);
  margin: 0 5px;
}

.product-form .product-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-bottom: 30px;
}

.product-form .product-btn {
  width: 100%;
}

.product-share {
  margin-top: 30px;
  display: flex;
  align-items: center;
}

.product-share span {
  margin-right: 15px;
  color: var(--secondary-color);
}

.share-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: #f8f9fa;
  border-radius: 50%;
  margin-right: 10px;
  color: var(--secondary-color);
  transition: var(--transition);
}

.share-link:hover {
  background-color: var(--primary-color);
  color: white;
}

/* Responsive for Product Detail */
@media (max-width: 992px) {
  .product-detail {
    grid-template-columns: 1fr;
    gap: 30px;
    margin: 30px 0;
  }
  
  .product-detail-price {
    font-size: 1.3rem;
  }
  
  .product-meta {
    margin: 15px 0;
  }
  
  .quantity-control {
    margin-bottom: 20px;
  }
}

@media (max-width: 768px) {
  .product-detail {
    gap: 20px;
    margin: 20px 0;
  }
  
  .product-detail-gallery {
    margin-bottom: 20px;
  }
  
  .product-detail-info h1 {
    font-size: 1.5rem;
    margin-bottom: 10px;
  }
  
  .product-detail-price {
    font-size: 1.2rem;
    margin-bottom: 15px;
  }
  
  .product-description {
    margin-bottom: 20px;
  }
  
  .product-meta-item {
    margin-bottom: 8px;
  }
  
  .meta-label {
    width: 100px;
  }
  
  .product-share {
    margin-top: 20px;
  }
}

@media (max-width: 576px) {
  .product-detail {
    gap: 15px;
    margin: 15px 0;
  }
  
  .product-detail-price {
    font-size: 1.5rem;
    margin-bottom: 12px;
  }
  
  .product-description {
    margin-bottom: 15px;
  }
  
  .quantity-control label {
    font-size: 0.9rem;
  }
  
  .quantity-btn, .quantity-input {
    width: 35px;
    height: 35px;
  }
  
  .product-form .product-btn {
    padding: 10px 15px;
  }
  
  .product-meta {
    font-size: 1.2rem;
  }
  
  .product-share {
    margin-top: 15px;
  }
  
  .share-link {
    width: 30px;
    height: 30px;
  }
}

.btn-cart {
  background-color: #eafaf0;
  color: #000;
  border: 1px solid #272727;
}

.btn-cart:hover {
  background-color: #e9ecef;
}

/* Lihat Detail button: same style as Lihat Katalog (about) - overrides .btn-cart when both classes present */
.product-img-detail-btn.btn-cart,
a.product-btn.btn-cart.product-img-detail-btn {
  background-color: #212529 !important;
  color: #fff !important;
  border: 1px solid #212529 !important;
}

.product-img-detail-btn.btn-cart:hover,
a.product-btn.btn-cart.product-img-detail-btn:hover {
  background-color: #000 !important;
  color: #fff !important;
  border-color: #000 !important;
}

.btn-buy {
  background-color: #212529;
  color: #fff;
  border: 1px solid #212529;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.btn-buy:hover {
  background-color: #000;
  color: #fff;
  border-color: #000;
}

/* Category List - Menggunakan definisi grid yang sudah ada */
.category-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

@media (min-width: 576px) {
  .category-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 768px) {
  .category-list {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 992px) {
  .category-list {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* Products Section */
.products-section {
  background-color: #f2ede0;
  padding: 35px 0;
}

/* Products page with sidebar - stretch so sidebar background runs to bottom of products */
.products-page-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 20px;
  align-items: stretch;
}

.products-content {
  min-width: 0;
}

.category-sidebar {
  background: #f2ede0;
  border: 1px solid #e9ecef;
  border-radius: 10px;
  box-shadow: var(--shadow);
  padding: 15px;
  position: sticky;
  top: 90px;
}

.category-sidebar-title {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.category-sidebar-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.category-sidebar-link {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  background: #eafaf0;
  color: var(--dark-color);
  border: 1px solid transparent;
  transition: all 0.3s ease;
}

.category-sidebar-link:hover {
  background: #e9ecef;
  color: var(--primary-color);
  border-color: #dee2e6;
  transform: translateX(3px);
}

.category-sidebar-link.active {
  background: #38B038;
  color: #fff;
  border-color: #38B038;
}

.category-sidebar-link.active:hover {
  background: #43b943;
  color: #fff;
  border-color: #43b943;
}

.category-sidebar-empty {
  color: var(--secondary-color);
  font-size: 0.95rem;
  padding: 6px 0;
}

.category-toggle {
  display: none;
}

/* Mobile-friendly category toggle + grid */
@media (max-width: 991px) {
  .category-sidebar {
    padding: 12px;
  }
  .category-sidebar-title {
    display: none;
  }
  .category-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 12px 14px;
    font-weight: 600;
    color: var(--dark-color);
    cursor: pointer;
  }
  .category-toggle i {
    transition: transform 0.25s ease;
  }
  .category-toggle[aria-expanded="true"] i {
    transform: rotate(180deg);
  }
  .category-sidebar-list {
    display: none;
    margin-top: 10px;
  }
  .category-sidebar.open .category-sidebar-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  .category-sidebar.open .category-sidebar-list li {
    margin: 0;
  }
  .category-sidebar.open .category-sidebar-link {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px;
    height: 38px;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    font-weight: 600;
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1;
  }
  .category-sidebar.open .category-sidebar-link.active {
    background: #38B038;
    color: #fff;
    border-color: #38B038;
  }
  .category-sidebar.open .category-sidebar-link.active:hover {
    background: #43b943;
    color: #fff;
    border-color: #43b943;
  }
}

@media (max-width: 576px) {
  .category-sidebar.open .category-sidebar-link {
    font-size: 12px;
    padding: 10px;
    height: 36px;
  }
}

@media (max-width: 375px) {
  .category-sidebar.open .category-sidebar-list {
    grid-template-columns: repeat(2, 1fr);
  }
  .category-sidebar.open .category-sidebar-link {
    font-size: 11px;
    height: 34px;
  }
}

@media (max-width: 991px) {
  .products-page-layout {
    grid-template-columns: 1fr;
  }
  .category-sidebar {
    position: static;
  }
}

@media (max-width: 768px) {
  .products-section {
    padding: 25px 0;
  }
}

@media (max-width: 576px) {
  .products-section {
    padding: 20px 0;
  }
}

@media (max-width: 991px) {
  .products {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .products {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
}

@media (max-width: 576px) {
  .products {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  /* Mobile: keep "Produk Tersedia" and "Kategori" on one line, no wrap */
  .product-card .availability-pill {
    font-size: 11px;
  }

  .product-card .detail-item {
    font-size: 11px;
  }

  .product-card .detail-item i {
    font-size: 12px;
  }
}

@media (max-width: 375px) {
  .products {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

/* Product Detail Carousel */
.product-detail-gallery {
  position: relative;
  margin-bottom: 20px;
}

.carousel-item img.product-detail-img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

.carousel-control-prev,
.carousel-control-next {
  width: 40px;
  height: 40px;
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
}

.carousel-control-prev {
  left: 10px;
}

.carousel-control-next {
  right: 10px;
}

.carousel-indicators {
  bottom: -40px;
}

.carousel-indicators li {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #ddd;
}

.carousel-indicators li.active {
  background-color: #007bff;
}

/* Product Thumbnails */
.product-thumbnails {
  display: flex;
  gap: 10px;
  margin-top: 40px;
  overflow-x: auto;
  padding-bottom: 10px;
}

.thumbnail-item {
  width: 70px;
  height: 70px;
  border-radius: 5px;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.7;
  transition: all 0.3s;
  border: 2px solid transparent;
}

.thumbnail-item.active,
.thumbnail-item:hover {
  opacity: 1;
  border-color: #007bff;
}

.thumbnail-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 768px) {
  .product-thumbnails {
    margin-top: 20px;
    gap: 8px;
  }
  
  .thumbnail-item {
    width: 60px;
    height: 60px;
  }
}

@media (max-width: 576px) {
  .product-thumbnails {
    margin-top: 15px;
    gap: 5px;
  }
  
  .thumbnail-item {
    width: 50px;
    height: 50px;
  }
}

/* Product Variations */
.product-variation {
  margin-bottom: 15px;
}

.product-variation label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
}

.variation-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.form-check-inline {
  margin-right: 0;
}

.form-check-input {
  margin-top: 0.15rem;
}

/* Variasi Produk Radio Styling */
.product-variation .form-check-input[type="radio"] {
  display: none;
}

.product-variation .form-check-label {
  padding: 5px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  margin-right: 5px;
  cursor: pointer;
  display: inline-block;
  transition: all 0.3s ease;
}

.product-variation .form-check-label:hover {
  background-color: #f8f9fa;
  border-color: #adb5bd;
}

.product-variation .form-check-input[type="radio"]:checked + .form-check-label {
  background-color: #000;
  border-color: #000;
  color: white;
}

@media (max-width: 768px) {
  .product-variation {
    margin-bottom: 12px;
  }
  
  .product-variation label {
    margin-bottom: 6px;
    font-size: 0.95rem;
  }
  
  .variation-options {
    gap: 8px;
  }
}

@media (max-width: 576px) {
  .product-variation {
    margin-bottom: 10px;
  }
  
  .product-variation label {
    font-size: 0.9rem;
    margin-bottom: 5px;
  }
  
  .product-variation .form-check-label {
    padding: 4px 10px;
    font-size: 0.85rem;
  }
  
  .variation-options {
    gap: 6px;
  }
}

/* Simple Carousel Styling */
.simple-carousel {
  position: relative;
  margin-bottom: 20px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: none;
  background: linear-gradient(180deg, #eafaf0 0%, #eafaf0 100%);
  height: clamp(380px, 55vw, 560px);
}

.main-image-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  align-items: center;
  justify-content: center;
}

.main-image-container.active {
  display: flex;
}

.main-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
}

.simple-carousel-prev,
.simple-carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.25);
  color: white;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  z-index: 2;
  transition: background 0.3s;
}

.simple-carousel-prev:hover,
.simple-carousel-next:hover {
  background: rgba(0,0,0,0.45);
}

.simple-carousel-prev {
  left: 15px;
}

.simple-carousel-next {
  right: 15px;
}

@media (max-width: 768px) {
  
}

@media (max-width: 576px) {
  .simple-carousel {
    margin-bottom: 10px;
    height: clamp(280px, 80vw, 420px);
  }
  
  .simple-carousel-prev,
  .simple-carousel-next {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
  
  .simple-carousel-prev {
    left: 8px;
  }
  
  .simple-carousel-next {
    right: 8px;
  }
}

/* Description Content Styling */
.description-content {
  margin-top: 15px;
  line-height: 1.6;
}

.description-content p {
  margin-bottom: 15px;
}

.description-content ul, 
.description-content ol {
  margin-left: 20px;
  margin-bottom: 15px;
}

.description-content img {
  max-width: 100%;
  height: auto;
  margin: 10px 0;
}

.description-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 15px;
}

.description-content table td,
.description-content table th {
  border: 1px solid #ddd;
  padding: 8px;
}

.description-content h1, 
.description-content h2, 
.description-content h3, 
.description-content h4 {
  margin-top: 20px;
  margin-bottom: 10px;
}

@media (max-width: 768px) {
  .description-content {
    margin-top: 12px;
    font-size: 0.95rem;
  }
  
  .description-content p,
  .description-content ul,
  .description-content ol {
    margin-bottom: 12px;
  }
  
  .description-content h1, 
  .description-content h2, 
  .description-content h3, 
  .description-content h4 {
    margin-top: 15px;
    margin-bottom: 8px;
    font-size: 1.1em;
  }
}

@media (max-width: 576px) {
  .description-content {
    margin-top: 10px;
    line-height: 1.5;
  }
  
  .description-content p,
  .description-content ul,
  .description-content ol {
    margin-bottom: 10px;
  }
  
  .description-content table td,
  .description-content table th {
    padding: 5px;
    font-size: 0.85rem;
  }
}

/* Cart Item Variants */
.cart-item-variants {
  margin: 8px 0;
}

.cart-item-variant {
  display: inline-block;
  background-color: #f8f9fa;
  padding: 3px 8px;
  border-radius: 4px;
  margin-right: 5px;
  margin-bottom: 5px;
  color: #666;
}


/* Pagination Styles */
.pagination-container {
  display: flex;
  justify-content: center;
  margin-top: 40px;
  margin-bottom: 20px;
}

.pagination {
  display: flex;
  align-items: center;
  gap: 8px;
}

.page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: var(--border-radius);
  background-color: #fff;
  color: var(--dark-color);
  font-weight: 500;
  box-shadow: none;
  transition: var(--transition);
}

.page-link:hover {
  background-color: var(--primary-color);
  color: #fff;
  transform: translateY(-2px);
}

.page-link.active {
  background-color: var(--primary-color);
  color: #fff;
}

.page-link.prev, .page-link.next {
  padding: 0 15px;
}

.page-link i {
  font-size: 12px;
}

.page-link.prev i {
  margin-right: 5px;
}

.page-link.next i {
  margin-left: 5px;
}

/* Cart Item dalam dropdown */
.cart-menu .cart-item-link {
  display: block;
  text-decoration: none;
  color: inherit;
  margin-bottom: 10px;
}

.cart-menu .cart-item-link:hover {
  text-decoration: none;
  color: inherit;
}

.cart-menu .cart-item-link:hover .cart-item {
  background-color: #f8f9fa;
  transform: translateX(3px);
}

.cart-menu .cart-item {
  display: flex;
  margin-bottom: 0;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cart-menu .cart-item:last-child {
  border-bottom: none;
}

.cart-menu .cart-item-img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  margin-right: 10px;
}

/* Styling cart-item dalam mobile view */
@media (max-width: 991px) {
  .cart-menu .cart-item-link {
    margin-bottom: 6px;
  }

  .cart-menu .cart-item-link:active .cart-item {
    background-color: #e9ecef;
    transform: scale(0.98);
  }

  .cart-menu .cart-item {
    background: white;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 0;
  }
}

/* About Page - Enhanced layout */
.about-page {
  padding-bottom: 0;
}

.about-banner-wrap {
  width: 100%;
}

/* About banner - same size behavior as hero (front page) */
.about-banner {
  position: relative;
  width: 100%;
  min-height: 500px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.4) 100%);
  z-index: 1;
}

.about-banner-placeholder::after {
  background: linear-gradient(135deg, rgba(242, 237, 224, 0.95) 0%, rgba(242, 237, 224, 0.9) 100%);
}

.about-banner-video {
  position: relative;
  width: 100%;
  min-height: 500px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-banner-video video {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
}

.about-banner-overlay {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2.5rem 1.5rem;
}

.about-banner-video .about-banner-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.about-banner-label {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 12px;
}

.about-banner-placeholder .about-banner-label {
  color: #6c757d;
}

.about-banner-title {
  font-size: clamp(2.25rem, 5.5vw, 3.25rem);
  font-weight: 700;
  color: #fff;
  margin: 0;
  letter-spacing: -0.02em;
}

.about-banner-placeholder .about-banner-title {
  color: #212529;
}

.about-banner-line {
  width: 60px;
  height: 4px;
  background: #ff8c00;
  margin: 16px auto 0;
  border-radius: 2px;
}

.about-banner-tagline {
  font-size: 1.15rem;
  color: #6c757d;
  margin: 1rem 0 0;
  font-weight: 400;
}

/* Section below banner: 2 grid = Banner 1 | Tentang Kami (image follows uploaded size) */
.about-banners-row {
  display: grid;
  gap: 0;
  width: 100%;
  max-width: 100%;
  background: #f2ede0;
  align-items: stretch;
}

.about-banners-row--two {
  grid-template-columns: 1fr 1fr;
}

.about-banner-cell {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-banner-single {
  display: flex;
  align-items: flex-start;
  line-height: 0;
}

.about-banner-cell-img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
  object-fit: contain;
  object-position: center;
}

.about-banner-cell-placeholder {
  width: 100%;
  min-height: 200px;
  background: rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #adb5bd;
}

.about-banner-cell-placeholder i {
  font-size: 2.5rem;
}

.about-banners-center {
  padding: 48px 40px;
  max-width: 100%;
  text-align: center;
  flex-direction: column;
  justify-content: center;
}

.about-banners-center-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: #212529;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

.about-banners-center-desc {
  font-size: 1.2rem;
  color: #495057;
  line-height: 1.7;
  margin: 0 0 24px;
  white-space: pre-line;
}

.about-banners-center .about-cta-btn {
  margin-top: 0;
}

/* 3 Grid banners full-width */
/* 3 Grid banners - each image follows uploaded size / aspect ratio */
.about-grid-banners {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 100%;
  gap: 0;
  background: #f2ede0;
  align-items: start;
}

.about-grid-banner-cell {
  position: relative;
  overflow: hidden;
  line-height: 0;
}

.about-grid-banner-img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
  object-fit: contain;
  object-position: center;
}

.about-grid-banner-placeholder {
  width: 100%;
  min-height: 200px;
  background: rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #adb5bd;
}

.about-grid-banner-placeholder i {
  font-size: 2.5rem;
}

/* Two-column story - same background as front page (kept for reference / future use) */
.about-content {
  background: #f2ede0;
  padding: 64px 0 72px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1140px;
  margin: 0 auto;
}

.about-image-frame {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.about-illustration-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.about-image-placeholder {
  background: rgba(255, 255, 255, 0.7);
  border: 2px dashed #dee2e6;
  border-radius: 12px;
  padding: 48px 32px;
  text-align: center;
  color: #6c757d;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.about-placeholder-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(242, 237, 224, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.about-placeholder-icon i {
  font-size: 1.75rem;
  color: #c9a227;
}

.about-image-placeholder p {
  font-size: 1.1rem;
  font-weight: 600;
  color: #495057;
  margin: 0 0 6px;
}

.about-image-placeholder span {
  font-size: 1rem;
  color: #6c757d;
}

.about-text-col {
  padding: 0 0 0 16px;
}

.about-store-name {
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  font-weight: 700;
  color: #212529;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.about-description {
  color: #495057;
  line-height: 1.8;
  font-size: 1.3rem;
}

.about-description p {
  margin-bottom: 1.25rem;
}

.about-description p:last-child {
  margin-bottom: 0;
}

.about-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  padding: 14px 28px;
  background: #212529;
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.25s ease, transform 0.2s ease;
}

.about-cta-btn:hover {
  background: #000;
  color: #fff;
  transform: translateY(-2px);
}

.about-cta-btn i {
  font-size: 1rem;
  transition: transform 0.2s ease;
}

.about-cta-btn:hover i {
  transform: translateX(4px);
}

/* Value cards - same background as front page */
.about-values {
  padding: 72px 0 64px;
  background: #f2ede0;
}

.about-block-title {
  font-size: 2rem;
  font-weight: 700;
  color: #212529;
  text-align: center;
  margin: 0 0 8px;
}

.about-block-subtitle {
  text-align: center;
  color: #6c757d;
  margin: 0 0 40px;
  font-size: 1.25rem;
}

.about-values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.about-value-card {
  background: #eafaf0;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  padding: 28px 24px;
  text-align: center;
  transition: box-shadow 0.3s ease, transform 0.25s ease, border-color 0.25s ease;
}

.about-value-card:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
  border-color: #dee2e6;
}

.about-value-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  border-radius: 12px;
  background: linear-gradient(135deg, #fcf8ed 0%, #f0ebe0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b8860b;
  font-size: 1.4rem;
}

.about-value-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #212529;
  margin: 0 0 10px;
}

.about-value-card p {
  font-size: 1.15rem;
  color: #6c757d;
  line-height: 1.6;
  margin: 0;
}

/* Quote strip - dark strip (keep as before, do not change) */
.about-quote {
  padding: 48px 24px;
  background: #f2ede0;
  color: #000000;
}

.about-quote-text {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 500;
  font-style: italic;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.6;
  color: #000000;
  border-left: 5px solid #eafaf0;
}

.about-quote-text::before,
.about-quote-text::after {
  content: '"';
  opacity: 0.6;
}

/* Section blocks - same background as front page */
.about-section {
  padding: 64px 0;
  background: #eafaf0;
}

/* Prevent icon being cut off when scrolling from header (Event / Press / Lokasi links) */
#event,
#press,
#lokasi {
  scroll-margin-top: 100px;
}

.about-section-alt {
  background: #f2ede0;
}

/* Event & Promo and Press & Media: left and right borders */
.about-section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.about-section-icon {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: #b8860b;
  font-size: 1.2rem;
  margin-bottom: 16px;
}

.about-section-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #212529;
  margin: 0 0 12px;
}

.about-section-text {
  text-align: center;
  color: #495057;
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.75;
}

/* Contact cards */
.about-contact-section {
  padding-bottom: 72px;
}

.about-contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 32px auto 0;
}

.about-contact-card {
  background: #f2ede0;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  padding: 28px 24px;
  text-align: center;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.about-contact-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  border-color: #dee2e6;
}

.about-contact-card > i {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 12px;
}

.about-contact-card h4 {
  font-size: 1rem;
  font-weight: 600;
  color: #6c757d;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 8px;
}

.about-contact-card p {
  font-size: 1.2rem;
  color: #212529;
  margin: 0;
  line-height: 1.6;
}

/* Responsive - same breakpoints as hero (front page) */
@media (max-width: 992px) {
  .about-banner {
    min-height: 250px;
    max-height: 350px;
  }

  .about-banner-video {
    min-height: 250px;
    max-height: 350px;
  }

  .about-banner-video video {
    max-height: 350px;
    width: 100%;
    object-fit: contain;
  }

  .about-values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-contact-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .about-banner {
    min-height: 200px;
    max-height: 300px;
  }

  .about-banner-video {
    min-height: 200px;
    max-height: 300px;
  }

  .about-banner-video video {
    max-height: 300px;
    object-fit: contain;
  }

  .about-banners-row--two {
    grid-template-columns: 1fr;
  }

  .about-banner-single {
    order: 1;
  }

  .about-banners-center {
    order: 2;
    max-width: 100%;
    padding: 32px 24px;
  }

  .about-banner-cell-placeholder {
    min-height: 180px;
  }

  .about-grid-banners {
    grid-template-columns: 1fr;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 0 16px;
  }

  .about-image-col {
    order: -1;
  }

  .about-text-col {
    padding: 0;
  }

  .about-image-placeholder {
    min-height: 240px;
    padding: 36px 24px;
  }

  .about-content {
    padding: 48px 0 56px;
  }

  .about-values {
    padding: 56px 0 48px;
  }

  .about-values-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 0 16px;
  }

  .about-quote {
    padding: 36px 20px;
  }

  .about-section {
    padding: 48px 0;
  }

  .about-contact-section {
    padding-bottom: 56px;
  }

  .about-contact-cards {
    margin-top: 24px;
    padding: 0 16px;
  }
}

@media (max-width: 576px) {
  .about-banner {
    min-height: 180px;
    max-height: 250px;
  }

  .about-banner-video {
    min-height: 180px;
    max-height: 250px;
  }

  .about-banner-video video {
    max-height: 250px;
    object-fit: contain;
  }
}

@media (max-width: 375px) {
  .about-banner {
    max-height: 220px;
  }

  .about-banner-video {
    max-height: 220px;
  }

  .about-banner-video video {
    max-height: 220px;
    object-fit: contain;
  }
}

/* Footer Styles */
.footer {
  background-color: #f8f9fa;
  padding: 50px 0 20px;
  margin-top: 60px;
  border-top: 1px solid #eaeaea;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 30px;
  margin-bottom: 30px;
}

@media (min-width: 768px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .footer-content {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-logo img {
  transition: filter 0.3s ease;
}

.footer-logo h2 {
  font-size: 24px;
  margin-bottom: 10px;
  color: var(--primary-color);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.2), 0 1px 3px rgba(0, 0, 0, 0.15);
}

.footer-logo p {
  color: #6c757d;
}

.footer h3 {
  font-size: 18px;
  margin-bottom: 15px;
  color: #343a40;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links ul li {
  margin-bottom: 8px;
}

.footer-links ul li a {
  color: #6c757d;
  transition: var(--transition);
}

.footer-links ul li a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.footer-contact p {
  margin-bottom: 8px;
  color: #6c757d;
  display: flex;
  align-items: center;
}

.footer-contact p i {
  width: 20px;
  margin-right: 10px;
  color: var(--primary-color);
}

.footer-social .social-icons {
  display: flex;
  gap: 10px;
}

.footer-social .social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #e9ecef;
  color: #495057;
  transition: var(--transition);
}

.footer-social .social-icon:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #eaeaea;
  color: #6c757d;
}

/* Section Styles */
.section-title {
  font-size: 28px;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 25px;
  color: var(--dark-color);
  position: relative;
}

@media (max-width: 768px) {
  .section-title {
    font-size: 22px;
    margin-bottom: 20px;
  }
}

@media (max-width: 576px) {
  .section-title {
    font-size: 20px;
    margin-bottom: 18px;
    padding: 0 5px;
  }
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  flex-wrap: wrap;
  gap: 15px;
}

@media (max-width: 768px) {
  .section-header {
    margin-bottom: 20px;
    gap: 12px;
  }
}

@media (max-width: 576px) {
  .section-header {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 18px;
    gap: 10px;
  }
}

.section-header .section-title {
  margin-bottom: 0;
  text-align: left;
}

@media (max-width: 576px) {
  .section-header .section-title {
    width: 100%;
  }
}

.view-all {
  color: var(--primary-color);
  font-weight: 500;
  font-size: 16px;
  transition: var(--transition);
  white-space: nowrap;
}

@media (max-width: 768px) {
  .view-all {
    font-size: 14px;
  }
}

@media (max-width: 576px) {
  .view-all {
    font-size: 13px;
    width: 100%;
    text-align: left;
  }
}

.view-all:hover {
  color: var(--accent-color);
}

.view-all i {
  font-size: 14px;
  margin-left: 5px;
  transition: var(--transition);
}

@media (max-width: 576px) {
  .view-all i {
    font-size: 12px;
  }
}

.view-all:hover i {
  transform: translateX(3px);
}

/* Features Section */
.features-section {
  background-color: #f2ede0;
  padding: 60px 0;
}

@media (max-width: 768px) {
  .features-section {
    padding: 40px 0;
  }
}

@media (max-width: 576px) {
  .features-section {
    padding: 30px 0;
  }
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 30px;
}

@media (min-width: 576px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (min-width: 992px) {
  .features-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
  }
}

@media (max-width: 576px) {
  .features-grid {
    gap: 15px;
  }
}

.feature-item {
  background: #eafaf0;
  padding: 30px 20px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: none;
}

.feature-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #f2ede0;
  color: var(--primary-color);
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 20px;
  font-size: 28px;
}

.feature-item h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--dark-color);
}

.feature-item p {
  color: var(--secondary-color);
  margin-bottom: 0;
}

/* Featured Products */
.featured-products {
  background-color: #f2ede0;
  padding: 60px 0;
}

@media (max-width: 768px) {
  .featured-products {
    padding: 40px 0;
  }
}

@media (max-width: 576px) {
  .featured-products {
    padding: 30px 0;
  }
}

.product-card.featured {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.product-card.featured:hover {
  border-color: #000;
}

.label-featured {
  background-color: #000;
  color: white;
}

/* Categories Section */
.categories {
  padding: 60px 0;
  background-color: white;
}

/* Category Item Styling */
.category-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px 15px;
  background-color: var(--primary-color);
  border-radius: var(--border-radius);
  color: white;
  transition: var(--transition);
}

.category-item:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-5px);
  box-shadow: none;
}

.category-item i {
  font-size: 24px;
  margin-bottom: 10px;
}

.category-item span {
  font-size: 14px;
  font-weight: 500;
}

/* Promo Section */
.promo-section {
  background-color: #eafaf0;
  color: var(--dark-color);
  padding: 60px 0;
  text-align: center;
  margin: 60px 0;
  border-radius: var(--border-radius);
}

@media (max-width: 768px) {
  .promo-section {
    padding: 40px 0;
    margin: 40px 0;
  }
}

@media (max-width: 576px) {
  .promo-section {
    padding: 30px 0;
    margin: 30px 0;
  }
}

.promo-content {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 15px;
}

@media (max-width: 576px) {
  .promo-content {
    padding: 0 10px;
  }
}

.promo-content h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.3;
}

@media (max-width: 768px) {
  .promo-content h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
  }
}

@media (max-width: 576px) {
  .promo-content h2 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    padding: 0 5px;
  }
}

.promo-content p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  opacity: 0.9;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .promo-content p {
    font-size: 1rem;
    margin-bottom: 20px;
  }
}

@media (max-width: 576px) {
  .promo-content p {
    font-size: 0.9rem;
    margin-bottom: 18px;
    padding: 0 5px;
  }
}

.promo-content .btn {
  font-size: 16px;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 600;
  box-shadow: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
}

/* Lihat Produk Sekarang: same style as Lihat Katalog (tidak terlalu hitam, hover hitam pekat) */
.promo-content .btn-primary {
  background-color: #212529;
  color: #fff;
  border: 1px solid #212529;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.promo-content .btn-primary:hover {
  background-color: #000;
  color: #fff;
  border-color: #000;
}

@media (max-width: 768px) {
  .promo-content .btn {
    font-size: 14px;
    padding: 11px 25px;
  }
}

@media (max-width: 576px) {
  .promo-content .btn {
    font-size: 13px;
    padding: 12px 20px;
    letter-spacing: 0.5px;
    width: 100%;
    max-width: 300px;
  }
}

/* Breadcrumb */
.breadcrumb-section {
  padding: 15px 0;
  background-color: #f2ede0;
  margin-bottom: 20px;
  position: relative;
  z-index: 0 !important;
}

/* Ensure breadcrumb doesn't block header on mobile */
@media (max-width: 991px) {
  .breadcrumb-section {
    z-index: 0 !important;
    position: relative;
  }
}

.breadcrumb {
  display: flex;
  list-style: none;
  padding: 10px;
  margin: 0;
  background-color: #eafaf0;
  border-radius: 4px;
}

.breadcrumb-item {
  font-size: 1.2rem;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: '/';
  margin: 0 10px;
  color: var(--secondary-color);
}

.breadcrumb-item a {
  color: var(--secondary-color);
}

.breadcrumb-item.active {
  color: var(--primary-color);
  font-weight: 700;
}

/* User Dashboard */
.riwayat-section {
  padding: 60px 0;
  position: relative;
  z-index: 1;
}

.user-dashboard-menu {
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  margin-bottom: 30px;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

/* Ensure riwayat section doesn't interfere with header on mobile */
@media (max-width: 991px) {
  .riwayat-section {
    z-index: 0 !important;
    position: relative;
  }
  
  .user-dashboard-menu {
    z-index: 0 !important;
    position: relative;
  }
  
  /* Hide sidebar dashboard menu on mobile */
  .riwayat-section .col-md-3 {
    display: none !important;
  }
  
  .riwayat-section .col-md-9 {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
  }
  
  /* Ensure all content sections don't block header */
  .riwayat-section .container,
  .riwayat-section .row,
  .riwayat-section .col-md-9,
  .riwayat-content {
    z-index: 0 !important;
    position: relative;
  }
  
  /* Ensure no element blocks the header */
  body > *:not(.site-header):not(.navbar):not(.menu-toggle):not(.navbar-nav):not(.menu-overlay):not(.notification) {
    z-index: 0 !important;
    position: relative;
  }
  
  /* Ensure breadcrumb and riwayat section don't overlap header */
  .breadcrumb-section,
  .riwayat-section,
  .riwayat-section * {
    z-index: 0 !important;
    position: relative;
  }
  
  /* Force header and menu toggle to be on top */
  .site-header,
  .navbar,
  .menu-toggle {
    z-index: 10006 !important;
    position: relative;
  }
  
  /* Ensure menu toggle button is always clickable */
  .menu-toggle {
    pointer-events: auto !important;
    z-index: 10006 !important;
    position: relative !important;
    cursor: pointer !important;
  }
}

.user-info {
  background: linear-gradient(135deg, #252424 0%, #252424 100%);
  color: white;
  padding: 25px 20px;
  text-align: center;
}

  .user-avatar {
  position: relative;
  width: 50px;
  height: 50px;
  margin: 5px auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.user-avatar-img {
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid white;
  box-shadow: none;
}

.user-avatar i {
  margin-bottom: 15px;
  color: rgba(255, 255, 255, 0.9);
}

  .user-info h3.user-username {
  margin-bottom: 4px;
  margin-top: 5px;
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  line-height: 1.3;
}

.user-info .user-fullname {
  font-size: 1.1rem;
  opacity: 0.95;
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 500;
}

.user-info .user-email {
  font-size: 1rem;
  opacity: 0.9;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.9);
}

/* Legacy support for h4 and p without classes */
.user-info h4 {
  margin-bottom: 8px;
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  line-height: 1.3;
}

.user-info p {
  font-size: 1rem;
  opacity: 0.9;
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.9);
}

.dashboard-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.dashboard-menu li {
  border-bottom: 1px solid #f1f1f1;
}

.dashboard-menu li:last-child {
  border-bottom: none;
}

.dashboard-menu li a {
  display: block;
  padding: 15px 20px;
  color: var(--dark-color);
  transition: var(--transition);
}

.dashboard-menu li a i {
  margin-right: 10px;
  color: var(--primary-color);
  width: 20px;
  text-align: center;
}

.dashboard-menu li a:hover {
  background-color: var(--light-color);
  color: var(--primary-color);
}

.dashboard-menu li.active a {
  background-color: var(--light-color);
  color: var(--primary-color);
  font-weight: 500;
  border-left: 3px solid var(--primary-color);
}

.riwayat-content {
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 10px;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
}

@media (max-width: 1200px) {
  .riwayat-content {
    padding: 20px;
  }
}

.riwayat-content .section-heading {
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 2px solid #f0f0f0;
}

.riwayat-content .section-heading h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 8px;
}

.riwayat-content .section-heading p {
  font-size: 1.15rem;
  color: #6c757d;
  margin: 0;
}

.riwayat-pending-alert {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.riwayat-pending-alert .btn-kirim-bukti-inline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: #28a745;
  color: #fff !important;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.riwayat-pending-alert .btn-kirim-bukti-inline:hover {
  background: #218838;
  color: #fff !important;
}

.riwayat-ditolak-alert {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.riwayat-ditolak-alert .btn-whatsapp-inline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: #25d366;
  color: #fff !important;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease;
}

.riwayat-ditolak-alert .btn-whatsapp-inline:hover {
  background: #20bd5a;
  color: #fff !important;
}

/* Desktop Table View */
.riwayat-table-desktop {
  display: block;
}

.riwayat-table-mobile {
  display: none;
}

/* Mobile Card View */
.riwayat-card {
  background-color: #f8f9fa;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 15px;
  border: 1px solid #e9ecef;
  box-shadow: none;
}

.riwayat-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  padding-bottom: 12px;
  border-bottom: 2px solid #dee2e6;
}

.riwayat-card-number {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary-color);
}

.riwayat-card-body {
  margin-bottom: 15px;
}

.riwayat-card-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
  padding: 8px 0;
  border-bottom: 1px solid #e9ecef;
}

.riwayat-card-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.riwayat-card-label {
  font-weight: 600;
  color: #6c757d;
  font-size: 1.25rem;
  flex: 0 0 45%;
}

.riwayat-card-label i {
  margin-right: 8px;
  color: var(--primary-color);
  width: 20px;
  font-size: 1.25rem;
}

.riwayat-card-value {
  flex: 1;
  text-align: right;
  color: var(--dark-color);
  font-size: 1.25rem;
}

.riwayat-card-total {
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--primary-color);
}

.riwayat-card-footer {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid #e9ecef;
}

.btn-block-mobile {
  width: 100%;
  text-align: center;
  padding: 10px 14px;
  font-size: 1.05rem;
}

.section-heading {
  margin-bottom: 25px;
  border-bottom: 2px solid #f1f1f1;
  padding-bottom: 20px;
}

.section-heading h2 {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--dark-color);
}

.section-heading p {
  color: var(--secondary-color);
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* Empty States */
.empty-state {
  text-align: center;
  padding: 50px 20px;
}

.empty-state-icon {
  font-size: 4rem;
  color: #e1e5ee;
  margin-bottom: 20px;
}

.empty-state h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.empty-state p {
  color: var(--secondary-color);
  margin-bottom: 20px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

/* Status Badges */
.status-badge {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 0.95rem;
  font-weight: 600;
  white-space: nowrap;
  line-height: 1.3;
  letter-spacing: 0.3px;
  min-width: 180px;
  text-align: center;
  box-sizing: border-box;
}

.status-warning {
  background-color: #fff3cd;
  color: #856404;
}

.status-primary {
  background-color: #cce5ff;
  color: #004085;
  border: 1px solid #b3d7ff;
}

.status-success {
  background-color: #cce5ff;
  color: #004085;
  border: 1px solid #b3d7ff;
}

.status-danger {
  background-color: #f8d7da;
  color: #721c24;
}

.status-secondary {
  background-color: #e2e3e5;
  color: #383d41;
}

/* Legacy status classes for backward compatibility */
.status-pending {
  background-color: #fff3cd;
  color: #856404;
}

.status-sudah.kirim.pembayaran {
  background-color: #d1ecf1;
  color: #0c5460;
}

.status-barang.dikirim {
  background-color: #d4edda;
  color: #155724;
}

.status-batal {
  background-color: #f8d7da;
  color: #721c24;
}

.status-selesai {
  background-color: #cce5ff;
  color: #004085;
  border: 1px solid #b3d7ff;
}

.resi-info {
  margin-top: 5px;
  font-size: 0.8rem;
}

.riwayat-table {
  margin-top: 20px;
  width: 100%;
  overflow-x: visible;
}

.riwayat-table-wrapper {
  width: 100%;
  overflow-x: visible;
  background-color: white;
  border-radius: 8px;
  box-shadow: none;
  padding: 0px;
  margin-top: 0px;
}

@media (min-width: 992px) {
  .riwayat-table-wrapper {
    overflow-x: visible;
  }
  
  .riwayat-table .table {
    table-layout: fixed;
    width: 100%;
  }
  
  .riwayat-table .table thead th {
    overflow: visible;
    text-overflow: clip;
    white-space: nowrap;
  }
  
  .riwayat-table .table tbody td {
    overflow: visible;
    text-overflow: clip;
  }
}

/* Smooth scrollbar untuk desktop */
.riwayat-table-wrapper::-webkit-scrollbar {
  height: 8px;
}

.riwayat-table-wrapper::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

.riwayat-table-wrapper::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 4px;
}

.riwayat-table-wrapper::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

.riwayat-table .table {
  margin-bottom: 0;
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
  table-layout: fixed;
  background-color: white;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  overflow: hidden;
}

.riwayat-table .table thead th {
  background-color: #f8f9fa;
  border-bottom: 2px solid #dee2e6;
  padding: 16px 12px;
  font-weight: 600;
  color: #333;
  text-transform: uppercase;
  font-size: 1.05rem;
  letter-spacing: 0.5px;
  border-top: none;
  border-left: 1px solid #dee2e6;
  border-right: 1px solid #dee2e6;
  white-space: nowrap;
  overflow: visible;
  text-overflow: clip;
}

.riwayat-table .table thead th:first-child {
  text-align: center;
  width: 5%;
  min-width: 60px;
  border-left: none;
}

.riwayat-table .table thead th:last-child {
  border-right: none;
  width: 18%;
  min-width: 200px;
}

.riwayat-table .table thead th:nth-child(2) {
  width: 14%;
  min-width: 160px;
}

.riwayat-table .table thead th:nth-child(3) {
  width: 14%;
  min-width: 160px;
}

.riwayat-table .table thead th:nth-child(4) {
  text-align: center;
  width: 12%;
  min-width: 130px;
}

.riwayat-table .table thead th:nth-child(5) {
  text-align: center;
  width: 18%;
  min-width: 200px;
}

.riwayat-table .table thead th:nth-child(6) {
  text-align: center;
  width: 20%;
  min-width: 200px;
}

.riwayat-table .table thead th:nth-child(7) {
  text-align: right;
  width: 13%;
  min-width: 140px;
}

.riwayat-table .table tbody td {
  padding: 16px 12px;
  vertical-align: middle;
  border-bottom: 1px solid #e9ecef;
  font-size: 1.05rem;
  border-left: 1px solid #e9ecef;
  border-right: 1px solid #e9ecef;
  word-wrap: break-word;
  line-height: 1.5;
  overflow: visible;
  text-overflow: clip;
}

.riwayat-table .table tbody td:first-child {
  border-left: none;
  text-align: center;
  font-weight: 600;
  color: #6c757d;
}

.riwayat-table .table tbody td:last-child {
  border-right: none;
  padding-left: 12px;
  padding-right: 12px;
}

.riwayat-table .table tbody td:nth-child(2),
.riwayat-table .table tbody td:nth-child(3) {
  color: #495057;
  white-space: nowrap;
}

.riwayat-table .table tbody td:nth-child(6) {
  text-align: center;
  vertical-align: middle;
}

.riwayat-table .table tbody td:nth-child(6) .status-badge {
  margin: 0 auto;
  display: inline-block;
  vertical-align: middle;
}

.riwayat-table .table tbody td:nth-child(4) {
  text-align: center;
  font-weight: 500;
  color: #333;
  white-space: nowrap;
}

.riwayat-table .table tbody td:nth-child(5) {
  text-align: center;
  font-weight: 500;
  color: #333;
  white-space: nowrap;
}

.riwayat-table .table tbody td:nth-child(7) {
  text-align: right;
  font-weight: 600;
  color: #28a745;
  font-size: 1.1rem;
  white-space: nowrap;
}


.riwayat-table .table tbody tr {
  transition: background-color 0.2s ease;
}

.riwayat-table .table tbody tr:hover {
  background-color: #f8f9fa;
}

.riwayat-table .table tbody tr:last-child td {
  border-bottom: none;
}

.action-buttons {
  white-space: nowrap;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  padding: 4px 8px;
}

.action-buttons .btn {
  margin: 0;
  padding: 10px 18px;
  font-size: 0.95rem;
  border-radius: 6px;
  transition: all 0.3s ease;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: auto;
  flex-shrink: 0;
  font-weight: 500;
}

.action-buttons .btn i {
  margin-right: 5px;
  font-size: 1.05rem;
}

.action-buttons .btn .btn-text {
  font-size: 1.05rem;
}

.action-buttons .btn.btn-info {
  background-color: #17a2b8;
  border-color: #17a2b8;
  color: white;
}

.action-buttons .btn.btn-info:hover {
  background-color: #138496;
  border-color: #117a8b;
  transform: translateY(-1px);
  box-shadow: none;
}

.action-buttons .btn.btn-success {
  background-color: #28a745;
  border-color: #28a745;
  color: white;
}

.action-buttons .btn.btn-success:hover {
  background-color: #218838;
  border-color: #1e7e34;
  transform: translateY(-1px);
  box-shadow: none;
}

.action-buttons .btn.btn-warning {
  background-color: #ffc107;
  border-color: #ffc107;
  color: #212529;
}

.action-buttons .btn.btn-warning:hover {
  background-color: #e0a800;
  border-color: #d39e00;
  transform: translateY(-1px);
  box-shadow: none;
}

/* Profile Forms */
.profile-form .form-group {
  margin-bottom: 25px;
}

.profile-form .form-label {
  font-weight: 500;
}

.profile-form .form-control {
  height: 45px;
}

.profile-form textarea.form-control {
  height: auto;
}

.profile-picture {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
}

.profile-picture-placeholder {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background-color: #f1f1f1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #adb5bd;
  margin-bottom: 15px;
}

/* Upload Button */
.upload-btn-wrapper {
  position: relative;
  overflow: hidden;
  display: inline-block;
}

.upload-btn {
  border: 1px solid #ccc;
  color: var(--dark-color);
  background-color: white;
  padding: 8px 15px;
  border-radius: var(--border-radius);
  font-size: 0.9rem;
  cursor: pointer;
}

.upload-btn-wrapper input[type=file] {
  font-size: 100px;
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  cursor: pointer;
}

/* Address Cards */
.address-card {
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: none;
  padding: 20px;
  margin-bottom: 20px;
  border: 1px solid #f1f1f1;
  position: relative;
}

.address-card.default {
  border-color: var(--primary-color);
}

.default-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: var(--primary-color);
  color: white;
  font-size: 0.7rem;
  padding: 3px 8px;
  border-radius: 10px;
}

.address-card h4 {
  font-size: 1rem;
  margin-bottom: 10px;
}

.address-card p {
  margin-bottom: 5px;
  color: var(--secondary-color);
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.address-card .address-actions {
  margin-top: 15px;
  display: flex;
  gap: 10px;
}

.add-address-card {
  background-color: var(--light-color);
  border: 1px dashed #dee2e6;
  border-radius: var(--border-radius);
  padding: 20px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.add-address-card:hover {
  background-color: #e9ecef;
}

.add-address-card i {
  font-size: 2rem;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

/* Password Form */
.password-form .form-group {
  margin-bottom: 25px;
}

.password-form .form-label {
  font-weight: 500;
}

.password-form .form-control {
  height: 45px;
}

.password-strength {
  height: 5px;
  margin-top: 10px;
  background-color: #f1f1f1;
  border-radius: 5px;
  overflow: hidden;
}

.password-strength-bar {
  height: 100%;
  width: 0;
  transition: var(--transition);
}

.strength-weak {
  width: 25%;
  background-color: var(--danger-color);
}

.strength-medium {
  width: 50%;
  background-color: var(--warning-color);
}

.strength-strong {
  width: 75%;
  background-color: var(--info-color);
}

.strength-very-strong {
  width: 100%;
  background-color: var(--success-color);
}

.password-tips {
  margin-top: 20px;
  padding: 15px;
  background-color: var(--light-color);
  border-radius: var(--border-radius);
}

.password-tips h5 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.password-tips ul {
  padding-left: 20px;
  margin-bottom: 0;
}

.password-tips li {
  font-size: 1.2rem;
  margin-bottom: 5px;
  color: var(--secondary-color);
}

/* Checkout Section */
.checkout-section {
  padding: 60px 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

.checkout-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 30px;
  width: 100%;
  max-width: 100%;
}

.order-summary {
  flex: 1;
  min-width: 320px;
  background-color: var(--light-color);
  border-radius: var(--border-radius);
  padding: 25px;
  box-shadow: none;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.checkout-form {
  flex: 2;
  min-width: 320px;
  background-color: white;
  border-radius: var(--border-radius);
  padding: 25px;
  box-shadow: none;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.summary-header, .form-header {
  margin-bottom: 20px;
  border-bottom: 1px solid #eee;
  padding-bottom: 15px;
}

.summary-header h3, .form-header h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--dark-color);
  margin: 0;
}

.summary-items {
  margin-bottom: 20px;
  max-height: 350px;
  overflow-y: auto;
  padding-right: 10px;
}

.summary-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 0px 0;
  border-bottom: 1px solid #eee;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.summary-item:last-child {
  border-bottom: none;
}

.checkout-stok-alert {
  margin-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.checkout-stok-alert .alert-link {
  font-weight: 600;
  text-decoration: underline;
}

.summary-item.summary-item-stok-habis {
  position: relative;
  background-color: #fff5f5;
  border-left: 4px solid #dc3545;
  padding-left: 12px;
}

.summary-item-badge-stok-habis {
  position: absolute;
  top: 8px;
  right: 8px;
  background: #dc3545;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 4px;
}

.keranjang-stok-alert {
  margin-bottom: 20px;
}

.item-image {
  width: 70px;
  height: 70px;
  border-radius: var(--border-radius);
  overflow: hidden;
  flex-shrink: 0;
}

.item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.item-details {
  flex: 1;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.item-details h4 {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0 0 8px 0;
  color: var(--dark-color);
  line-height: 1.4;
}

.item-meta {
  display: flex;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--secondary-color);
}

.item-price {
  font-weight: 500;
}

.item-diskon-badge {
  font-size: 0.8rem;
  font-weight: 600;
  color: #155724;
  background: #d4edda;
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid #28a745;
}

.item-subtotal {
  font-weight: 600;
  color: var(--primary-color);
  font-size: 0.95rem;
  text-align: right;
}

.summary-totals {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 20px;
  margin-top: 20px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  font-size: 1.2rem;
}

.summary-row #display-durasi {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--primary-color);
}

.summary-row.total {
  border-top: 1px solid #eee;
  margin-top: 10px;
  padding-top: 15px;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary-color);
}

/* Form actions */
.form-actions {
  display: flex;
  gap: 15px;
  margin-top: 30px;
  flex-wrap: wrap;
  width: 100%;
}

.form-actions .btn {
  flex: 1;
  min-width: 120px;
}

/* Mobile Checkout Styles */
@media (max-width: 768px) {
  .checkout-section {
    padding: 30px 0;
  }
  
  .checkout-container {
    gap: 20px;
    margin-top: 20px;
  }
  
  .order-summary,
  .checkout-form {
    min-width: 100%;
    width: 100%;
    padding: 20px 15px;
  }
  
  .summary-item {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  
  .item-image {
    width: 300px;
    height: 300px;
    margin: 0 auto;
    align-self: center;
  }
  
  .item-subtotal {
    text-align: left;
    width: 100%;
    margin-top: 10px;
  }
  
  .form-actions {
    flex-direction: column;
  }
  
  .form-actions .btn {
    width: 100%;
    flex: none;
  }
  
  .summary-items {
    max-height: none;
    overflow-y: visible;
  }
}

@media (max-width: 576px) {
  .checkout-section {
    padding: 20px 0;
  }
  
  .checkout-container {
    gap: 15px;
    margin-top: 15px;
  }
  
  .order-summary,
  .checkout-form {
    padding: 15px 12px;
  }
  
  .summary-header h3,
  .form-header h3 {
    font-size: 1.1rem;
  }
  
  .item-image {
    width: 300px;
    height: 300px;
  }
  
  .item-details h4 {
    font-size: 1.3rem;
  }
  
  .summary-row #display-durasi {
    font-size: 1.2rem;
  }
  
  .profile-detail-item {
    font-size: 1.5rem !important;
  }
}

/* Mobile Checkout Styles - Small Screens */
@media (max-width: 576px) {
  .summary-item {
    align-items: center;
  }
  
  .item-image {
    width: 280px;
    height: 280px;
    margin: 0 auto;
    align-self: center;
  }
  
  .item-details {
    text-align: left;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  
  .item-details h4 {
    font-size: 1.5rem;
    text-align: center;
    width: 100%;
  }
  
  .item-meta {
    justify-content: flex-start;
  }
  
  .item-subtotal {
    text-align: left;
  }
  
  .profile-details {
    text-align: left;
    width: 100%;
  }
  
  .profile-detail-item {
    justify-content: flex-start;
    text-align: left;
  }
  
  .summary-row #display-durasi {
    font-size: 1.1rem;
  }
  
  .profile-details {
    width: 100%;
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
  }
  
  .profile-detail-item {
    width: 100%;
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
  }
}

/* Profile Details in Checkout */
.profile-details {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.profile-detail-item {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

/* Form Controls in Checkout */
.checkout-form .form-control,
.checkout-form input,
.checkout-form textarea {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

/* Checkout select (Pilih Warna / Pilih Ukuran): full text visible, no truncation */
.checkout-form select.form-control,
.checkout-form select.warna-select,
.checkout-form select.ukuran-select {
  padding-right: 2.5rem;
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
  min-height: 48px;
  appearance: auto;
  -webkit-appearance: menulist;
  -moz-appearance: menulist;
}

.checkout-form .form-group {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

/* Cart Section */
.cart-section {
  padding: 60px 0;
}

.section-header {
  margin-bottom: 30px;
  text-align: center;
}

.text-muted {
  color: var(--secondary-color);
}

/* Tampilan keranjang kosong */
.empty-cart {
  text-align: center;
  padding: 60px 0;
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  margin: 40px auto;
  max-width: 600px;
}

.empty-cart-icon {
  font-size: 80px;
  color: #e9ecef;
  margin-bottom: 20px;
}

.empty-cart h2 {
  font-size: 24px;
  margin-bottom: 15px;
  color: var(--dark-color);
}

.empty-cart p {
  color: var(--secondary-color);
  margin-bottom: 25px;
}

.empty-cart .btn {
  padding: 12px 25px;
  font-size: 16px;
}

/* Tampilan item keranjang */
.cart-container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.cart-items {
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

/* Cart Item dalam halaman cart */
.cart-items .cart-item {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 20px;
  padding: 20px;
  margin-bottom: 15px;
  border-bottom: 1px solid #f1f1f1;
  position: relative;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.cart-items .cart-item:last-child {
  margin-bottom: 0;
  border-bottom: none;
}

.cart-items .cart-item-image {
  width: 100px;
  height: 100px;
  overflow: hidden;
  border-radius: var(--border-radius);
}

.cart-items .cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-items .cart-item-details {
  display: flex;
  flex-direction: column;
}

.cart-items .cart-item-title {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--dark-color);
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.cart-items .cart-item-price {
  font-size: 15px;
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 15px;
}

.cart-items .cart-item-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: auto;
}

.cart-items .cart-item-subtotal {
  text-align: right;
}

.subtotal-label {
  font-size: 14px;
  color: var(--secondary-color);
  margin-bottom: 5px;
}

.subtotal-value {
  font-size: 18px;
  font-weight: 600;
  color: var(--primary-color);
}

/* quantity control dalam keranjang */
.cart-items .quantity-wrapper {
  display: flex;
  align-items: center;
  height: 38px;
}

.cart-items .quantity-btn {
  width: 30px;
  height: 30px;
  background-color: #f8f9fa;
  border: 1px solid #e1e5ee;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  transition: var(--transition);
}

.cart-items .quantity-btn:hover {
  background-color: var(--primary-color);
  color: white;
}

.cart-items .quantity-input {
  width: 45px;
  height: 30px;
  border: 1px solid #e1e5ee;
  text-align: center;
  font-family: var(--font-primary);
  margin: 0 5px;
}

/* Cart Summary */
.cart-summary {
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 25px;
  height: fit-content;
  position: sticky;
  top: 100px;
}

.cart-summary .summary-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--dark-color);
}

.cart-summary .summary-items {
  margin-bottom: 20px;
}

.cart-summary .summary-item {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #f1f1f1;
}

.cart-summary .summary-item:last-of-type {
  border-bottom: none;
}

.cart-summary .summary-label {
  color: var(--secondary-color);
  font-size: 14px;
}

.cart-summary .summary-value {
  font-weight: 500;
  color: var(--dark-color);
}

.cart-summary .divider {
  height: 1px;
  background-color: #e1e5ee;
  margin: 15px 0;
}

.cart-summary .summary-total {
  display: flex;
  justify-content: space-between;
  padding: 15px 0;
  border-top: 2px solid #e1e5ee;
  margin-top: 10px;
}

.cart-summary .total-label {
  font-size: 18px;
  font-weight: 600;
  color: var(--dark-color);
}

.cart-summary .total-value {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-color);
}

.cart-summary .summary-actions {
  margin-top: 20px;
}

.cart-summary .btn-block {
  width: 100%;
  display: block;
  margin-bottom: 10px;
}

/* Mobile Cart Styles */
@media (max-width: 992px) {
  .cart-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .cart-summary {
    position: static;
  }
}

@media (max-width: 768px) {
  .cart-section {
    padding: 30px 0;
  }
  
  .cart-items .cart-item {
    grid-template-columns: 80px 1fr;
    gap: 15px;
    padding: 15px;
  }
  
  .cart-items .cart-item-image {
    width: 80px;
    height: 80px;
  }
  
  .cart-items .cart-item-subtotal {
    grid-column: 1 / -1;
    text-align: left;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #f1f1f1;
  }
  
  .cart-items .cart-item-actions {
    flex-wrap: wrap;
    gap: 10px;
  }
}

/* Responsive Riwayat Section */
@media (max-width: 768px) {
  .riwayat-section {
    padding: 30px 0;
  }
  
  .riwayat-section .container {
    width: 100%;
    max-width: 100%;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
  }
  
  .riwayat-content {
    padding: 20px;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
  }
  
  .section-heading h2 {
    font-size: 1.8rem;
  }
  
  .section-heading p {
    font-size: 1.05rem;
  }
  
  /* Switch to mobile card view */
  .riwayat-table-desktop {
    display: none;
  }
  
  .riwayat-table-mobile {
    display: block;
  }
}

@media (max-width: 576px) {
  .riwayat-section {
    padding: 20px 0;
  }
  
  .riwayat-section .container {
    width: 100%;
    max-width: 100%;
    padding-left: 10px;
    padding-right: 10px;
    box-sizing: border-box;
  }
  
  .riwayat-content {
    padding: 15px;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
  }
  
  .section-heading {
    margin-bottom: 20px;
    padding-bottom: 15px;
  }
  
  .section-heading h2 {
    font-size: 1.6rem;
  }
  
  .section-heading p {
    font-size: 1rem;
  }
  
  /* Mobile card adjustments */
  .riwayat-card {
    padding: 12px;
    margin-bottom: 12px;
  }
  
  .riwayat-card-header {
    margin-bottom: 12px;
    padding-bottom: 10px;
  }
  
  .riwayat-card-number {
    font-size: 1.3rem;
  }
  
  .riwayat-card-item {
    margin-bottom: 10px;
    padding: 6px 0;
    flex-direction: column;
    align-items: flex-start;
  }
  
  .riwayat-card-label {
    font-size: 1.15rem;
    margin-bottom: 4px;
    flex: 0 0 100%;
  }
  
  .riwayat-card-label i {
    font-size: 1.15rem;
  }
  
  .riwayat-card-value {
    text-align: left;
    font-size: 1.2rem;
    flex: 0 0 100%;
  }
  
  .riwayat-card-total {
    font-size: 1.3rem;
  }
  
  .riwayat-card-footer {
    gap: 6px;
    padding-top: 10px;
  }
  
  .btn-block-mobile {
    font-size: 1.05rem;
    padding: 8px 12px;
  }
  
  .status-badge {
    padding: 6px 14px;
    font-size: 1rem;
  }
  
  .riwayat-card-number {
    font-size: 1.3rem;
  }
  
  .cart-section {
    padding: 20px 0;
  }
  
  .cart-container {
    gap: 15px;
  }
  
  .cart-items .cart-item {
    grid-template-columns: 60px 1fr;
    gap: 10px;
    padding: 12px;
  }
  
  .cart-items .cart-item-image {
    width: 60px;
    height: 60px;
  }
  
  .cart-items .cart-item-title {
    font-size: 14px;
  }
  
  .cart-items .cart-item-price {
    font-size: 14px;
  }
  
  .cart-summary {
    padding: 20px 15px;
  }
}
