:root {
  --primary: #3a86ff;
  --secondary: #ff006e;
  --accent: #8338ec;
  --light: #f8f9fa;
  --dark: #212529;
  --success: #38b000;
  --gradient-2: linear-gradient(135deg, #3a86ff 0%, #8338ec 100%);
  --gradient-3: linear-gradient(135deg, #8338ec 0%, #fff 100%);
  --shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  --radius: 16px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", "Segoe UI", sans-serif;
}

/* Smooth scroll behavior */
html {
  scroll-behavior: smooth;
}

body {
  background-color: #fefefe;
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

header {
  background: var(--light);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 0;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--gradient-2);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: var(--shadow);
}

.nav-menu ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-menu a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 500;
  font-size: 1rem;
  transition: all 0.3s ease;
  position: relative;
  text-transform: uppercase;
}

.nav-menu a:hover {
  color: var(--primary);
}

.nav-menu a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-2);
  transition: width 0.3s ease;
}

.nav-menu a:hover::after {
  width: 100%;
}

.cart-icon {
  position: relative;
  background: var(--gradient-2);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: white;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

.cart-icon:hover {
  transform: scale(1.05);
}

.cart-count {
  position: absolute;
  top: -5px;
  right: -5px;
  background: var(--secondary);
  color: white;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.5rem;
  font-weight: 700;
}

.checkout-btn {
  background: var(--secondary);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.3s ease;
}

/* Home Section */
.home-section {
  background: var(--gradient-2);
  color: white;
  padding: 200px 0 200px;
  position: relative;
  overflow: hidden;
}

.background-gradient {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0.6;
  top: 0;
  left: 0;
  display: block;
}

.home-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0.1;
  z-index: 0;
}

.home-content {
  max-width: 700px;
  position: relative;
  z-index: 1;
}

.home-content h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  position: relative;
}

.home-content p {
  font-size: 1rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero-bolt {
  font-size: 20rem !important;
  margin-bottom: 1.5rem;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 5rem;
  position: absolute;
  right: -550px;
  top: -40px;
  opacity: 0.15;
  box-shadow: var(--shadow);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: white;
  color: var(--primary);
  padding: 14px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.8rem;
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
  border: none;
  cursor: pointer;
  position: relative;
}

.btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.btn-primary {
  background: var(--secondary);
  color: white;
  position: relative;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1rem;
  background: var(--gradient-2);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.produk-image {
  position: relative;
}

.produk-image-topbar {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  z-index: 2;
}

.produk-image-topbar .badge-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.produk-name-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.produk-name-link:hover {
  color: #3a86ff;
}

.section-subtitle {
  text-align: center;
  font-size: 0.9rem;
  color: #6c757d;
  max-width: 600px;
  margin: 0 auto 3rem;
}

.produk-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.produk-count {
  font-size: 0.95rem;
  color: #495057;
  font-weight: 600;
}

.produk-actions {
  width: 100%;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.produk-actions .tambah-keranjang,
.produk-actions .btn-disabled {
  width: 100%;
  justify-content: center;
  min-width: 0;
  padding: 14px 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-disabled {
  background: #ced4da;
  color: #495057;
  border: 1px solid #ced4da;
  cursor: not-allowed;
}

/* Products Section */
.produk-section {
  padding: 100px 0;
  background: #f8f9fa;
}

.produk-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 320px));
  justify-content: center;
  gap: 2rem;
  align-items: stretch;
  margin-bottom: 2rem;
}

@media (max-width: 991px) {
  .produk-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)) !important;
  }
}

@media (max-width: 768px) {
  .produk-grid {
    grid-template-columns: 1fr !important;
  }
}

.no-products.stok-habis {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 2rem;
  color: #dc3545;
  background: #f8d7da;
  border-radius: 16px;
  border: 2px dashed #f5c2c7;
}

.no-products.stok-habis i {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  opacity: 0.7;
}

.no-products.stok-habis h3 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: #721c24;
}

.no-products.stok-habis p {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  opacity: 0.9;
}

/* Handle single product case */
.produk-container:has(.produk-card:only-child) {
  grid-template-columns: 280px;
  justify-content: center;
}

/* Alternative approach for better browser support */
.produk-card:only-child {
  max-width: 280px;
  margin: 0 auto;
}

.produk-card {
  background: white;
  border-radius: var(--radius);
  overflow: visible;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 460px;
}

.produk-card:hover {
  /* Hover effects removed as per requirement */
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.produk-card .badge {
  position: absolute;
  top: 15px;
  left: 15px;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.produk-card .badge.habis,
.produk-card .badge.stok-terbatas {
  background: #dc3545;
  color: white;
}

.produk-card .badge.diskon {
  background: #ff69b4;
  color: white;
}

.produk-card .badge + .badge {
  top: 48px;
  left: 15px;
}

.produk-card .badge {
  margin-right: 8px;
}

.produk-card .badge-text {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
  white-space: nowrap;
}

.produk-card .badge-eye-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.produk-card .badge-eye-link:hover {
  background: rgba(255, 255, 255, 0.4);
  transform: scale(1.1);
}

.produk-card .badge-eye-link i {
  font-size: 0.75rem;
}

.produk-image {
  height: 260px;
  background: var(--gradient-2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.produk-image i {
  font-size: 3.5rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.produk-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem;
  gap: 1rem;
}

.produk-card h3 {
  font-size: 16px;
  line-height: 1.4;
  height: 44px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.produk-card .deskripsi {
  color: #6c757d;
  font-size: 13px;
  line-height: 1.5;
  overflow: hidden;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* ============================================
         * OBJECTIVE 2: Price & Stock Block Redesign
         * ============================================ */

/* Price Block - Wraps original and discounted price */
.harga {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 16px;
  margin-top: 12px;
  /* Fixed min-height container to ensure consistent alignment */
  min-height: 44px;
  justify-content: flex-end;
  overflow: hidden;
}

/* Original price with strikethrough */
.produk-price .price-original {
  font-size: 1rem;
  color: #999;
  text-decoration: line-through;
  font-weight: 400;
}

.produk-price .price-final {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
}

/* Inline discount badge pill */
.harga .discount-badge-pill {
  display: inline-block;
  background: #e74c3c;
  color: white;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 10px;
  margin-left: 4px;
}

/* Stock + Icon Row - Flex row with border separator */
.stock-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
  margin-top: 8px;
  margin-bottom: 0;
}

/* Stock text container */
.stock-info .stock-text {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* Default stock color (muted gray) */
.stock-info .stock-text {
  color: #6c757d;
}

/* Stock > 0: muted green for availability */
.stock-info .stock-text.stock-available {
  color: #38b000;
}

/* Stock = 0: muted red (#cc0000 at 70% opacity) with warning icon */
.stock-info .stock-text.stock-out {
  color: rgba(204, 0, 0, 0.7);
}

/* Warning icon for out of stock */
.stock-info .stock-text.stock-out::before {
  content: "⚠";
  font-size: 0.8rem;
}

/* Cart icon in stock row */
.stock-info .cart-icon-small {
  color: var(--primary);
  font-size: 0.9rem;
}

.produk-actions {
  margin-top: auto;
  display: flex;
  gap: 0.5rem;
}

.produk-actions .detail-btn {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  padding: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: var(--gradient-2);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.produk-actions .detail-btn:hover {
  background: linear-gradient(135deg, #0056b3 0%, #003d82 100%);
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 20px rgba(58, 134, 255, 0.3);
}

.produk-actions .detail-btn i {
  font-size: 1.2rem;
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease;
}

.produk-actions .detail-btn:hover i {
  transform: scale(1.1);
}

.produk-actions .tambah-keranjang {
  flex: 1;
  min-width: 200px;
  padding: 12px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.produk-actions .tambah-keranjang:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.produk-actions .tambah-keranjang {
  background: var(--gradient-2);
  color: white;
}

.produk-actions .tambah-keranjang:hover {
  background: var(--primary);
}

.produk-actions .tambah-keranjang:disabled {
  background: #ccc;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.stock-badge {
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-block;
  margin-left: 8px;
}

.stock-high {
  background: linear-gradient(135deg, #d4edda, #c3e6cb);
  color: #155724;
  border: 1px solid #c3e6cb;
}

.stock-medium {
  background: linear-gradient(135deg, #fff3cd, #ffeaa7);
  color: #856404;
  border: 1px solid #ffeaa7;
}

.stock-low {
  background: linear-gradient(135deg, #f8d7da, #f5c6cb);
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.tambah-keranjang {
  width: 100%;
  background: var(--gradient-2);
  color: white;
  border: none;
  padding: 12px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.tambah-keranjang:hover {
  background: var(--primary);
  transform: scale(1.02);
}

/* Product Actions */
.produk-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.produk-actions .detail-btn {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  padding: 2px;
  font-size: 0.7rem;
  font-weight: 600;
  border-radius: 6px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1px;
  background: var(--gradient-2);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.4);
  order: -1;
  position: relative;
  overflow: hidden;
}

.produk-actions .detail-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s;
}

.produk-actions .detail-btn:hover::before {
  left: 100%;
}

.produk-actions .detail-btn:hover {
  background: linear-gradient(135deg, #0056b3 0%, #003d82 100%);
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 20px rgba(58, 134, 255, 0.3);
}

.produk-actions .detail-btn:active {
  transform: translateY(-1px) scale(0.98);
}

.produk-actions .detail-btn i {
  font-size: 1rem;
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease;
}

.produk-actions .detail-btn:hover i {
  transform: scale(1.1);
}

.produk-actions .tambah-keranjang {
  flex: 1;
  min-width: 140px;
  padding: 12px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.produk-actions .tambah-keranjang:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.produk-actions .tambah-keranjang {
  background: var(--gradient-2);
  color: white;
}

.produk-actions .tambah-keranjang:hover {
  background: var(--primary);
}

.produk-actions .tambah-keranjang:disabled {
  background: #ccc;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Detail Button Styles */
.detail-btn {
  background: linear-gradient(135deg, var(--primary) 0%, #0056b3 100%);
  color: white;
  border: none;
  padding: 22px 25px;
  border-radius: 20px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex: 1;
  box-shadow: 0 12px 30px rgba(58, 134, 255, 0.4);
  font-size: 1.15rem;
  text-decoration: none;
  min-height: 60px;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.detail-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.7s;
}

.detail-btn:hover::before {
  left: 100%;
}

.detail-btn:hover {
  background: linear-gradient(135deg, #0056b3 0%, #003d82 100%);
  transform: translateY(-6px) scale(1.04);
  box-shadow: 0 18px 45px rgba(58, 134, 255, 0.5);
}

.detail-btn:active {
  transform: translateY(-4px) scale(0.96);
}

.detail-btn i {
  font-size: 1.4rem;
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease;
}

.detail-btn:hover i {
  transform: scale(1.15);
}

.detail-btn span {
  position: relative;
  z-index: 1;
}

/* Testimonials */
.testimoni-section {
  padding: 100px 0;
  background: white;
}

.testimoni-container,
.testimoni-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
  gap: 30px;
}

.testimoni-card {
  background: white;
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  border-top: 4px solid var(--primary);
}

.testimoni-card:hover {
  transform: translateY(-5px);
}

.testimoni-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.testimoni-card .rating {
  display: flex;
  gap: 5px;
  margin-bottom: 1rem;
  color: var(--primary);
  order: 1;
}

.testimoni-card p {
  font-style: italic;
  margin-bottom: auto;
  position: relative;
  flex: 1;
  order: 2;
}

.testimoni-card p::before {
  content: '"';
  font-size: 4rem;
  position: absolute;
  top: -20px;
  left: -10px;
  color: #e9ecef;
  z-index: 0;
}

.testimoni-author {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: auto;
  order: 3;
  padding-top: 1.5rem;
  border-top: 1px solid #e9ecef;
}

.testimoni-author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary);
  flex-shrink: 0;
}

.testimoni-author h4 {
  margin-bottom: 0.2rem;
}

.testimoni-author p {
  font-size: 0.9rem;
  color: #6c757d;
  margin: 0;
  font-style: normal;
}

.testimoni-author p::before {
  display: none;
}

@media (max-width: 768px) {
  .testimoni-author {
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding-top: 1rem;
  }

  .testimoni-author img {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
  }
}

/* About Section */
.about-section {
  padding: 100px 0;
  background: var(--gradient-2);
  color: white;
}

.features-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr));
  gap: 30px;
  margin-top: 3rem;
}

.feature {
  text-align: center;
  padding: 2rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.feature:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
}

.feature i {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: white;
}

.feature h4 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

/* Contact Section */
.kontak-section {
  padding: 100px 0;
  background: #f8f9fa;
}

.kontak-form {
  max-width: 600px;
  margin: 0 auto;
  background: rgb(235, 235, 235);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 3rem;
}

.kontak-form button {
  width: 100%;
  align-items: center;
  justify-content: center;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  font-family: "Poppins", sans-serif;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(58, 134, 255, 0.2);
}

/* ============================================
         * FOOTER - Elegant Modern Design
         * ============================================ */

footer {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1717 100%);
  padding: 60px 0 40px;
  color: #e0e0e0;
  width: 100% !important;
  box-sizing: border-box !important;
  display: block !important;
  position: relative;
}

footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(131, 56, 236, 0.5),
    transparent
  );
}

footer.footer {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1717 100%);
  padding: 60px 0 40px;
  color: #e0e0e0;
  width: 100%;
  box-sizing: border-box;
  display: block !important;
  position: relative;
}

.footer-container {
  display: grid !important;
  grid-template-columns: 1.2fr 1fr 1.2fr !important;
  gap: 50px !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  align-items: start !important;
  text-align: left !important;
  width: 100% !important;
  box-sizing: border-box !important;
  padding: 0 20px;
}

/* Column 1: Brand Info */
.footer-brand {
  text-align: left;
  min-width: 0;
  overflow: hidden;
}

.footer-brand .footer-logo,
.footer-brand a {
  color: #ffffff !important;
  text-decoration: none !important;
}

.footer-logo {
  font-size: 1.6rem;
  font-weight: 700;
  color: #ffffff !important;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 1px;
}

.footer-logo i {
  color: #8338ec;
  font-size: 1.4rem;
  animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%,
  100% {
    filter: drop-shadow(0 0 2px rgba(131, 56, 236, 0.5));
  }
  50% {
    filter: drop-shadow(0 0 8px rgba(131, 56, 236, 0.8));
  }
}

.footer-brand p {
  font-size: 14px;
  color: #a0a0a0;
  margin-top: 16px;
  line-height: 1.7;
  text-align: left;
  max-width: 280px;
  font-weight: 400;
}

/* Column 2: Quick Links */
.footer-links {
  text-align: left;
  min-width: 0;
  overflow: hidden;
  padding-left: 20px;
}

.footer-links h4 {
  color: #ffffff;
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 20px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
  padding-bottom: 12px;
}

.footer-links h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, #8338ec, #3a86ff);
  border-radius: 2px;
}

.footer-links a {
  display: block;
  text-decoration: none;
  color: #b0b0b0;
  font-size: 14px;
  margin-bottom: 12px;
  transition: all 0.3s ease;
  position: relative;
  padding-left: 0;
  font-weight: 400;
}

.footer-links a:hover {
  color: #8338ec;
  padding-left: 8px;
}

.footer-links a::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 2px;
  background: #8338ec;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.footer-links a:hover::before {
  width: 4px;
}

/* Column 3: Contact Info */
.footer-contact {
  text-align: left;
  min-width: 0;
  overflow: hidden;
}

.footer-contact h4 {
  color: #ffffff;
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 20px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
  padding-bottom: 12px;
}

.footer-contact h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, #8338ec, #3a86ff);
  border-radius: 2px;
}

.footer-contact .contact-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  margin-bottom: 14px;
  font-size: 14px;
  color: #b0b0b0;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-contact .contact-row:hover {
  color: #ffffff;
}

.footer-contact .contact-row i {
  color: #8338ec;
  width: 20px;
  text-align: center;
  font-size: 14px;
  flex-shrink: 0;
}

.footer-contact .contact-row span {
  transition: color 0.3s ease;
}

.footer-contact .contact-row:hover span {
  color: #ffffff;
}

/* Footer Bottom */
.footer-bottom {
  text-align: center;
  margin-top: 40px;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom p {
  color: #707070;
  font-size: 13px;
  margin: 0;
}

/* Responsive Footer */
@media (max-width: 992px) {
  .footer-container {
    grid-template-columns: 1fr 1fr !important;
    gap: 35px !important;
  }

  .footer-brand {
    grid-column: 1 / -1;
    text-align: center;
  }

  .footer-brand p {
    text-align: center;
    max-width: 100%;
  }

  .footer-links {
    padding-left: 0;
  }
}

@media (max-width: 768px) {
  footer.footer {
    padding: 50px 0 30px;
  }

  .footer-container {
    grid-template-columns: 1fr !important;
    text-align: center;
    gap: 30px;
    padding: 0 25px;
  }

  .footer-brand {
    text-align: center;
  }

  .footer-brand p {
    text-align: center;
  }

  .footer-links {
    text-align: center;
  }

  .footer-links h4::after,
  .footer-contact h4::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-links a:hover {
    padding-left: 0;
  }

  .footer-links a::before {
    display: none;
  }

  .footer-contact {
    text-align: center;
  }

  .footer-contact .contact-row {
    justify-content: center;
  }

  .footer-bottom {
    margin-top: 30px;
    padding-top: 20px;
  }
}

/* Legacy Footer - Keeping for compatibility */
footer {
  background-color: #3a3535;
  padding: 48px 80px;
  color: #cccccc;
  width: 100% !important;
  box-sizing: border-box !important;
  display: block !important;
}

footer.footer {
  background-color: #3a3535;
  padding: 48px 80px;
  color: #cccccc;
  width: 100%;
  box-sizing: border-box;
  display: block !important;
}

/* Cart Sidebar */
.cart-sidebar {
  position: fixed;
  top: 0;
  right: -400px;
  width: 380px;
  height: 100vh;
  background: white;
  box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  overflow-y: auto;
  transition: right 0.4s ease;
  z-index: 1100;
  display: flex;
  flex-direction: column;
}

.cart-sidebar.active {
  right: 0;
}

.cart-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: #6c757d;
}

.cart-empty i {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e9ecef;
}

.close-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #6c757d;
}

.cart-items {
  flex-grow: 1;
  overflow-y: auto;
  max-height: calc(100vh - 200px);
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 1rem 0;
  border-bottom: 1px solid #f1f3f4;
}

.cart-item-details {
  flex-grow: 1;
}

.cart-item-details h4 {
  margin-bottom: 0.3rem;
  font-size: 1rem;
}

.cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1099;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.cart-overlay.active {
  opacity: 1;
  visibility: visible;
}

.quantity-display {
  background: #f8f9fa;
  padding: 5px 10px;
  border-radius: 20px;
  font-weight: 600;
}

.remove-btn {
  background: none;
  border: none;
  color: var(--secondary);
  font-size: 1.2rem;
  cursor: pointer;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.remove-btn:hover {
  background: #ffe6e6;
}

.cart-footer {
  border-top: 1px solid #e9ecef;
  padding-top: 1.5rem;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  font-weight: 700;
  font-size: 1.2rem;
}

/* Cart item styles */
.cart-item-img {
  width: 60px;
  height: 60px;
  background: var(--gradient-2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
}

.cart-item-price {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
}

.cart-item-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Checkout button improvements */
.checkout-btn {
  background: var(--secondary);
  color: white;
  border: none;
  padding: 15px;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 1rem;
}

.checkout-btn:hover {
  background: #e0005a;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 0, 110, 0.3);
}

.checkout-btn.loading {
  opacity: 0.7;
  pointer-events: none;
}

.checkout-btn.loading i {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Animations */
.cart-count.bounce {
  animation: bounce 0.6s ease;
}

@keyframes bounce {
  0%,
  20%,
  60%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  80% {
    transform: translateY(-5px);
  }
}

.tambah-keranjang.added {
  background: var(--success) !important;
  transform: scale(0.95);
}

.tambah-keranjang.added i {
  animation: checkmark 0.5s ease;
}

@keyframes checkmark {
  0% {
    transform: scale(0);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}

/* Toast Notifications */
#toast-container {
  position: fixed;
  top: 100px;
  right: 20px;
  z-index: 1200;
}

.toast {
  background: white;
  color: var(--dark);
  padding: 1rem 1.5rem;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 300px;
  border-left: 4px solid var(--success);
  transform: translateX(400px);
  transition: transform 0.4s ease;
}

.toast.show {
  transform: translateX(0);
}

.toast.success {
  border-left-color: var(--success);
}

.toast.error {
  border-left-color: var(--secondary);
}

.toast i {
  font-size: 1.2rem;
  position: relative;
  top: 2px;
}

.toast.success i {
  color: var(--success);
}

.toast.error i {
  color: var(--secondary);
}

/* Custom notification for checkout */
.custom-notification {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  background: white;
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  z-index: 1300;
  max-width: 500px;
  width: 90%;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-left: 4px solid var(--success);
}

.notification-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  z-index: 1299;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.checkout-success .checkout-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1.5rem;
  color: var(--success);
}

.checkout-success .checkout-header i {
  font-size: 2rem;
}

.checkout-success .checkout-details {
  margin-bottom: 1.5rem;
}

.checkout-success .checkout-items {
  border-top: 1px solid #e9ecef;
  padding-top: 1rem;
}

.checkout-item {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid #f8f9fa;
}

/* Responsive */
/* Dashboard Styles - Private Area Feel */
.dashboard-section {
  padding: 120px 0 60px;
  background: #f5f6f8;
  min-height: 100vh;
}

/* Private Area Navbar */
header {
  background: #ffffff;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
  border-bottom: 1px solid #e9ecef;
}

.btn-logout {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #6c757d;
  padding: 10px 20px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  border: 1px solid #e9ecef;
}

.btn-logout:hover {
  background: #fee2e2;
  color: #dc3545;
  border-color: #dc3545;
}

/* Navbar Right - Notification & Avatar */
.navbar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #f8f9fa;
  color: #6c757d;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1.1rem;
}

.nav-icon:hover {
  background: #e9ecef;
  color: var(--primary);
}

.user-dropdown {
  position: relative;
}

.user-avatar-nav {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3a86ff 0%, #8338ec 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  overflow: hidden;
}

.user-avatar-nav img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.user-avatar-nav i {
  color: white;
  font-size: 1rem;
}

.user-avatar-nav:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(58, 134, 255, 0.3);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  min-width: 180px;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 100;
}

.user-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  color: #495057;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.dropdown-menu a:hover {
  background: #f8f9fa;
  color: var(--primary);
}

.dropdown-menu a i {
  width: 18px;
  text-align: center;
}

.dropdown-divider {
  height: 1px;
  background: #e9ecef;
  margin: 8px 0;
}

.logout-link {
  color: #dc3545 !important;
}

.logout-link:hover {
  background: #fee2e2 !important;
  color: #dc3545 !important;
}

/* Dropdown Submenu */
.dropdown-submenu {
  position: relative;
}

.dropdown-submenu > a {
  cursor: pointer;
}

.dropdown-submenu .submenu {
  position: absolute;
  left: 100%;
  top: 0;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  min-width: 200px;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-10px);
  transition: all 0.3s ease;
  margin-left: 8px;
}

.dropdown-submenu:hover .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.dropdown-submenu .submenu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  color: #495057;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.dropdown-submenu .submenu a:hover {
  background: #f8f9fa;
  color: var(--primary);
}

.dropdown-submenu .submenu a i {
  width: 18px;
  text-align: center;
}

/* Welcome Actions */
.welcome-actions {
  z-index: 2;
}

/* Card Action - Edit Profil at bottom */
.card-action {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e9ecef;
}

.card-action .btn-outline-edit {
  width: 100%;
  justify-content: center;
  padding: 12px 24px;
}

/* Welcome Banner - Full Width Premium */
.welcome-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 2.5rem 3rem;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(102, 126, 234, 0.25);
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
}

.welcome-banner::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -5%;
  width: 250px;
  height: 250px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  z-index: 1;
}

.welcome-content {
  z-index: 2;
  flex: 1;
}

.welcome-content h1 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.welcome-content p {
  opacity: 0.9;
  font-size: 0.95rem;
}

.welcome-graphic {
  z-index: 2;
  font-size: 4rem;
  opacity: 0.9;
  margin-left: 2rem;
}

/* Dashboard Styles - Private Area Feel */
.dashboard-section {
  padding: 120px 0 60px;
  background: #f5f6f8;
  min-height: 100vh;
}

/* Private Area Navbar */
header {
  background: #ffffff;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
  border-bottom: 1px solid #e9ecef;
}

.btn-logout {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #6c757d;
  padding: 10px 20px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  border: 1px solid #e9ecef;
}

.btn-logout:hover {
  background: #fee2e2;
  color: #dc3545;
  border-color: #dc3545;
}

/* Welcome Banner - Full Width Premium */
.welcome-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(135deg, #3a86ff 0%, #8338ec 100%);
  color: white;
  padding: 2.5rem 3rem;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(58, 134, 255, 0.25);
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
}

.welcome-banner::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -5%;
  width: 250px;
  height: 250px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  z-index: 1;
}

.welcome-content {
  z-index: 2;
  flex: 1;
}

.welcome-content h1 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.welcome-content p {
  opacity: 0.9;
  font-size: 0.95rem;
}

.welcome-graphic {
  z-index: 2;
  font-size: 4rem;
  opacity: 0.9;
  margin-left: 2rem;
}

/* Stats Grid - Consistent Height & Softer Icons */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 2rem;
}

.stat-card {
  background: white;
  padding: 1.75rem;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid #f0f0f0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.stat-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: white;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #3a86ff 0%, #8338ec 100%);
}

.stat-number {
  font-size: 1.75rem;
  font-weight: 800;
  color: #1a1a2e;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.85rem;
  color: #6c757d;
  font-weight: 500;
}

/* Quick Actions Section */
.quick-actions {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 2rem;
  border: 1px solid #f0f0f0;
}

.quick-actions h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 1.25rem;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.action-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-outline-edit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: white;
  color: #3a86ff;
  padding: 14px 36px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  border: 2px solid #3a86ff;
  box-shadow: 0 2px 10px rgba(58, 134, 255, 0.15);
}

.btn-outline-edit:hover {
  background: #e6f0ff;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(58, 134, 255, 0.25);
}

.btn-primary-shop {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #3a86ff 0%, #8338ec 100%);
  color: white;
  padding: 14px 36px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  border: none;
  box-shadow: 0 4px 15px rgba(58, 134, 255, 0.3);
}

.btn-primary-shop:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(58, 134, 255, 0.4);
}

/* Dashboard Grid - Account & Orders */
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 24px;
}

.dashboard-card {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid #f0f0f0;
}

.dashboard-card:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.dashboard-card h3 {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: #1a1a2e;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.dashboard-card h3 i {
  color: #3a86ff;
  font-size: 1.3rem;
}

/* Info Grid - Cleaner */
.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.info-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.info-item:hover {
  background: #f0f2f5;
}

.info-label {
  font-size: 0.75rem;
  color: #6c757d;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.info-value {
  font-size: 0.95rem;
  color: #1a1a2e;
  font-weight: 600;
}

/* Orders List - Cleaner */
.orders-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.order-item {
  padding: 1.25rem;
  background: #f8f9fa;
  border-radius: 10px;
  border-left: 3px solid #3a86ff;
  transition: all 0.3s ease;
}

.order-item:hover {
  background: #f0f2f5;
  transform: translateX(4px);
}

.order-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
  gap: 8px;
}

.order-number {
  font-weight: 700;
  color: #3a86ff;
  font-size: 1rem;
}

.order-date {
  color: #6c757d;
  font-size: 0.85rem;
}

.order-details {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.order-total {
  font-weight: 700;
  color: #1a1a2e;
  font-size: 1rem;
}

.order-status {
  padding: 5px 12px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: capitalize;
}

.order-status.status-pending {
  background: #fff3cd;
  color: #856404;
}

.order-status.status-processing {
  background: #d1ecf1;
  color: #0c5460;
}

.order-status.status-shipped {
  background: #cce5ff;
  color: #004085;
}

.order-status.status-delivered {
  background: #d4edda;
  color: #155724;
}

.order-status.status-cancelled {
  background: #f8d7da;
  color: #721c24;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 2.5rem 1rem;
  color: #6c757d;
}

.empty-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.5;
  color: #3a86ff;
}

.empty-state h4 {
  font-size: 1.1rem;
  color: #1a1a2e;
  margin-bottom: 0.5rem;
}

.empty-state p {
  margin-bottom: 1.25rem;
  opacity: 0.8;
  font-size: 0.9rem;
}

/* Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: white;
  color: var(--primary);
  padding: 12px 24px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  border: none;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
}

.btn-primary {
  background: linear-gradient(135deg, #3a86ff 0%, #8338ec 100%);
  color: white;
}

.btn-outline {
  background: white;
  color: #3a86ff;
  border: 2px solid #3a86ff;
}

.btn-outline:hover {
  background: #3a86ff;
  color: white;
}

.mt-2 {
  margin-top: 0.75rem;
}

.mt-3 {
  margin-top: 1.5rem;
}

.text-center {
  text-align: center;
}

/* Notification System */
.notification-wrapper {
  position: relative;
}
.nav-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: white;
  color: #495057;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  border: 1px solid #e9ecef;
}
.nav-icon:hover {
  background: #f0f4ff;
  color: #3a86ff;
  border-color: #3a86ff;
}
.notif-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #ff006e;
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.notification-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  width: 360px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 1000;
  margin-top: 10px;
  overflow: hidden;
}
.notification-dropdown.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.notif-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #e9ecef;
  background: #f8f9fa;
}
.notif-header h4 {
  font-size: 0.95rem;
  color: #1a1a2e;
  margin: 0;
}
.mark-all {
  font-size: 0.8rem;
  color: #3a86ff;
  text-decoration: none;
  font-weight: 600;
}
.mark-all:hover {
  text-decoration: underline;
}
.notif-list {
  max-height: 400px;
  overflow-y: auto;
}
.notif-empty {
  padding: 2rem;
  text-align: center;
  color: #6c757d;
}
.notif-empty i {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  opacity: 0.5;
}
.notif-item {
  display: flex;
  gap: 12px;
  padding: 1rem 1.25rem;
  text-decoration: none;
  border-bottom: 1px solid #f0f0f0;
  transition: all 0.3s ease;
}
.notif-item:hover {
  background: #f8f9fa;
}
.notif-item.unread {
  background: #f0f4ff;
}
.notif-item.unread:hover {
  background: #e6f0ff;
}
.notif-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #3a86ff 0%, #8338ec 100%);
  color: white;
  flex-shrink: 0;
}
.notif-content {
  flex: 1;
  min-width: 0;
}
.notif-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #1a1a2e;
  margin: 0 0 0.25rem 0;
}
.notif-message {
  font-size: 0.8rem;
  color: #6c757d;
  margin: 0 0 0.5rem 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.notif-time {
  font-size: 0.7rem;
  color: #adb5bd;
}

/* Responsive */
@media (max-width: 768px) {
  .navbar {
    padding: 1rem 0;
  }

  .dashboard-section {
    padding: 100px 0 40px;
  }

  .welcome-banner {
    flex-direction: column;
    text-align: center;
    padding: 2rem 1.5rem;
  }

  .welcome-graphic {
    margin-left: 0;
    margin-top: 1rem;
  }

  .welcome-banner::before {
    display: none;
  }

  .welcome-content h1 {
    font-size: 1.5rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

  .action-buttons {
    flex-direction: column;
  }

  .btn-outline-edit,
  .btn-primary-shop {
    width: 100%;
    justify-content: center;
  }

  .quick-actions {
    padding: 1.5rem;
  }
}

/* Page Header */
.page-header {
  text-align: center;
  margin-bottom: 3rem;
  padding: 2rem 0;
}

.page-header h1 {
  font-size: 2rem;
  color: var(--dark);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.page-header h1 i {
  color: var(--primary);
}

.page-header p {
  color: #6c757d;
  font-size: 1rem;
}

/* Orders Container */
.orders-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
}

.order-card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-left: 4px solid var(--primary);
  overflow: hidden;
}

.order-card:hover {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
  transform: translateY(-5px);
}

.order-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  background: #f8f9fa;
  border-bottom: 1px solid #e9ecef;
}

.order-info h3 {
  margin-bottom: 0.5rem;
  color: var(--primary);
  font-size: 1.2rem;
}

.order-date {
  color: #6c757d;
  font-size: 0.9rem;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 5px;
}

.order-status-badge {
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: capitalize;
  display: inline-block;
}

.order-status-badge.status-pending {
  background: #fff3cd;
  color: #856404;
}

.order-status-badge.status-processing {
  background: #d1ecf1;
  color: #0c5460;
}

.order-status-badge.status-shipped {
  background: #cce5ff;
  color: #004085;
}

.order-status-badge.status-delivered {
  background: #d4edda;
  color: #155724;
}

.order-status-badge.status-cancelled {
  background: #f8d7da;
  color: #721c24;
}

.order-card-body {
  padding: 1.5rem;
}

.order-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e9ecef;
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.meta-label {
  font-size: 0.85rem;
  color: #6c757d;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.meta-value {
  font-size: 1.1rem;
  color: var(--dark);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 5px;
}

.order-items {
  margin: 1.5rem 0;
}

.items-list h4 {
  margin-bottom: 1rem;
  color: var(--dark);
  font-size: 1rem;
}

.item-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 15px;
  padding: 0.8rem;
  background: #f8f9fa;
  border-radius: 8px;
  margin-bottom: 0.5rem;
  align-items: center;
}

.item-name {
  color: var(--dark);
  font-weight: 600;
}

.item-qty {
  color: #6c757d;
  text-align: center;
}

.item-price {
  color: var(--primary);
  font-weight: 700;
  text-align: right;
}

.order-card-footer {
  padding: 1.5rem;
  background: #f8f9fa;
  border-top: 1px solid #e9ecef;
  text-align: center;
}

.order-card-footer .btn {
  width: 100%;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-menu ul {
    display: none;
  }

  .home-content h1 {
    font-size: 2.5rem;
  }

  .cart-sidebar {
    width: 100%;
    right: -100%;
  }

  .produk-container {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .dashboard-section {
    padding: 100px 0 40px;
  }

  .welcome-card {
    flex-direction: column;
    text-align: center;
    padding: 2rem;
  }

  .welcome-card .user-avatar {
    margin-left: 0;
    margin-top: 1rem;
  }

  .welcome-card::before {
    display: none;
  }

  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .action-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
  }

  .action-card {
    padding: 1.5rem;
  }

  .action-card h4 {
    font-size: 1rem;
  }

  .action-card p {
    font-size: 0.85rem;
    margin-bottom: 1rem;
  }

  .action-icon {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

  .order-header,
  .order-details {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Welcome Card */
.welcome-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: white;
  padding: 3rem 2.5rem;
  border-radius: 20px;
  box-shadow: 0 15px 50px rgba(58, 134, 255, 0.2);
  margin-bottom: 3rem;
  position: relative;
  overflow: hidden;
}

.welcome-card::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  z-index: 1;
}

.welcome-text {
  z-index: 2;
  flex: 1;
}

.welcome-text h1 {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
  font-weight: 800;
}

.welcome-text p {
  opacity: 0.9;
  font-size: 1rem;
}

.welcome-card .user-avatar {
  z-index: 2;
  font-size: 4rem;
  opacity: 0.9;
  margin-left: 2rem;
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr));
  gap: 25px;
  margin-bottom: 3rem;
}

.stat-card {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-top: 4px solid transparent;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.stat-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.stat-card::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  opacity: 0.05;
}

.stat-card:nth-child(1) {
  border-top-color: var(--primary);
}

.stat-card:nth-child(1)::before {
  background: var(--primary);
}

.stat-card:nth-child(2) {
  border-top-color: var(--secondary);
}

.stat-card:nth-child(2)::before {
  background: var(--secondary);
}

.stat-card:nth-child(3) {
  border-top-color: var(--accent);
}

.stat-card:nth-child(3)::before {
  background: var(--accent);
}

.stat-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: white;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.stat-orders {
  background: linear-gradient(135deg, var(--primary), #5aa9ff);
}

.stat-spent {
  background: linear-gradient(135deg, var(--secondary), #ff3485);
}

.stat-items {
  background: linear-gradient(135deg, var(--accent), #a86bff);
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 1;
}

.stat-label {
  font-size: 0.95rem;
  color: #6c757d;
  position: relative;
  z-index: 1;
}

/* Dashboard Grid */
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 30px;
  margin-bottom: 3rem;
}

.dashboard-card {
  background: white;
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid #f0f0f0;
}

.dashboard-card:hover {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
  border-color: var(--primary);
}

.dashboard-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 10px;
}

.dashboard-card h3 i {
  color: var(--primary);
  font-size: 1.5rem;
}

/* Info Grid */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
}

.info-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 12px;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}

.info-item:hover {
  background: #e9ecef;
  border-left-color: var(--primary);
  transform: translateX(5px);
}

.info-label {
  font-size: 0.85rem;
  color: #6c757d;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.info-value {
  font-size: 1rem;
  color: var(--dark);
  font-weight: 700;
}

/* Orders List */
.orders-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.order-item {
  padding: 1.5rem;
  background: #f8f9fa;
  border-radius: 12px;
  border-left: 4px solid var(--primary);
  transition: all 0.3s ease;
}

.order-item:hover {
  background: #f0f0f0;
  transform: translateX(5px);
}

.order-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 10px;
}

.order-number {
  font-weight: 700;
  color: var(--primary);
  font-size: 1.1rem;
}

.order-date {
  color: #6c757d;
  font-size: 0.9rem;
}

.order-details {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.order-total {
  font-weight: 700;
  color: var(--dark);
  font-size: 1.1rem;
}

.order-status {
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: capitalize;
}

.order-status.status-pending {
  background: #fff3cd;
  color: #856404;
}

.order-status.status-processing {
  background: #d1ecf1;
  color: #0c5460;
}

.order-status.status-shipped {
  background: #cce5ff;
  color: #004085;
}

.order-status.status-delivered {
  background: #d4edda;
  color: #155724;
}

.order-status.status-cancelled {
  background: #f8d7da;
  color: #721c24;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 3rem 1rem;
  color: #6c757d;
}

.empty-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  opacity: 0.5;
  color: var(--primary);
}

.empty-state h4 {
  font-size: 1.3rem;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.empty-state p {
  margin-bottom: 1.5rem;
  opacity: 0.8;
}

/* Action Grid */
.action-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  margin-top: 3rem;
}

.action-card {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid #f0f0f0;
}

.action-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
  border-color: var(--primary);
}

.action-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.5rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  background: linear-gradient(135deg, var(--primary), var(--accent));
}

.action-card:nth-child(2) .action-icon {
  background: linear-gradient(135deg, var(--secondary), #ff3485);
}

.action-card:nth-child(3) .action-icon {
  background: linear-gradient(135deg, var(--accent), #a86bff);
}

.action-card:nth-child(4) .action-icon {
  background: linear-gradient(135deg, #6c757d, #495057);
}

.action-card h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.action-card p {
  color: #6c757d;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.action-card .btn {
  width: 100%;
  justify-content: center;
}

/* Button Styles Enhanced */
.btn-outline {
  background: white;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: white;
}

.btn-secondary {
  background: #6c757d;
  color: white;
}

.btn-secondary:hover {
  background: #5a6268;
}

.mt-2 {
  margin-top: 1rem;
}

.mt-3 {
  margin-top: 2rem;
}

.text-center {
  text-align: center;
}

/* Page Header */
.page-header {
  text-align: center;
  margin-bottom: 3rem;
  padding: 2rem 0;
}
.page-header h1 {
  font-size: 2rem;
  color: var(--dark);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.page-header h1 i {
  color: var(--primary);
}

.page-header p {
  color: #6c757d;
  font-size: 1rem;
}

/* Orders Container */
.orders-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
}

.order-card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-left: 4px solid var(--primary);
  overflow: hidden;
}

.order-card:hover {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
  transform: translateY(-5px);
}

.order-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  background: #f8f9fa;
  border-bottom: 1px solid #e9ecef;
}

.order-info h3 {
  margin-bottom: 0.5rem;
  color: var(--primary);
  font-size: 1.2rem;
}

.order-date {
  color: #6c757d;
  font-size: 0.9rem;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 5px;
}

.order-status-badge {
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: capitalize;
  display: inline-block;
}

.order-status-badge.status-pending {
  background: #fff3cd;
  color: #856404;
}

.order-status-badge.status-processing {
  background: #d1ecf1;
  color: #0c5460;
}

.order-status-badge.status-shipped {
  background: #cce5ff;
  color: #004085;
}

.order-status-badge.status-delivered {
  background: #d4edda;
  color: #155724;
}

.order-status-badge.status-cancelled {
  background: #f8d7da;
  color: #721c24;
}

.order-card-body {
  padding: 1.5rem;
}

.order-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e9ecef;
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.meta-label {
  font-size: 0.85rem;
  color: #6c757d;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.meta-value {
  font-size: 1.1rem;
  color: var(--dark);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 5px;
}

.order-items {
  margin: 1.5rem 0;
}

.items-list h4 {
  margin-bottom: 1rem;
  color: var(--dark);
  font-size: 1rem;
}

.item-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 15px;
  padding: 0.8rem;
  background: #f8f9fa;
  border-radius: 8px;
  margin-bottom: 0.5rem;
  align-items: center;
}

.item-name {
  color: var(--dark);
  font-weight: 600;
}

.item-qty {
  color: #6c757d;
  text-align: center;
}

.item-price {
  color: var(--primary);
  font-weight: 700;
  text-align: right;
}

.order-card-footer {
  padding: 1.5rem;
  background: #f8f9fa;
  border-top: 1px solid #e9ecef;
  text-align: center;
}

.order-card-footer .btn {
  width: 100%;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-menu ul {
    display: none;
  }

  .home-content h1 {
    font-size: 2.5rem;
  }

  .cart-sidebar {
    width: 100%;
    right: -100%;
  }

  .produk-container {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .dashboard-section {
    padding: 100px 0 40px;
  }

  .welcome-card {
    flex-direction: column;
    text-align: center;
    padding: 2rem;
  }

  .welcome-card .user-avatar {
    margin-left: 0;
    margin-top: 1rem;
  }

  .welcome-card::before {
    display: none;
  }

  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .action-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
  }

  .action-card {
    padding: 1.5rem;
  }

  .action-card h4 {
    font-size: 1rem;
  }

  .action-card p {
    font-size: 0.85rem;
    margin-bottom: 1rem;
  }

  .action-icon {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

  .order-header,
  .order-details {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Order Detail Page Styles */
.order-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 2rem;
}

.detail-card {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  border: 1px solid #f0f0f0;
}

.detail-card.full-width {
  grid-column: 1 / -1;
}

.detail-card h3 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 10px;
}

.detail-card h3 i {
  color: var(--primary);
}

/* Status Timeline */
.status-timeline {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.status-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  position: relative;
  padding-left: 30px;
}

.status-item:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 19px;
  top: 40px;
  width: 2px;
  height: 40px;
  background: #e9ecef;
}

.status-item.completed:not(:last-child)::after {
  background: var(--success);
}

.status-item.active:not(:last-child)::after {
  background: var(--primary);
}

.status-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  background: #e9ecef;
  position: absolute;
  left: 0;
  top: 0;
}

.status-item.active .status-icon,
.status-item.completed .status-icon {
  color: white;
}

.status-label h4 {
  margin-bottom: 0.3rem;
  color: var(--dark);
}

.status-label p {
  color: #6c757d;
  font-size: 0.9rem;
  margin: 0;
}

/* Info List */
.info-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1rem;
  border-bottom: 1px solid #f0f0f0;
}

.info-row:last-child {
  border-bottom: none;
}

.info-row .label {
  color: #6c757d;
  font-weight: 600;
  font-size: 0.95rem;
}

.info-row .value {
  color: var(--dark);
  font-weight: 600;
}

.info-row .value.amount {
  color: var(--primary);
  font-size: 1.1rem;
}

/* Order Items - Clean SaaS Style */
.order-items-header {
  margin-bottom: 20px;
}

.order-items-header h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.order-items-header h3 i {
  color: var(--primary);
}

.order-items-grid {
  display: flex;
  flex-direction: column;
}

.order-items-row {
  display: grid;
  grid-template-columns: 3fr 1fr 1fr 1fr;
  gap: 15px;
  padding: 16px 0;
  border-bottom: 1px solid #e9ecef;
  align-items: center;
  transition: background-color 0.2s ease;
}

.order-items-row:last-child {
  border-bottom: none;
}

.order-items-row.header {
  padding: 12px 0;
  border-bottom: 2px solid #e9ecef;
  border-radius: 0;
}

.order-items-row.header .col-name,
.order-items-row.header .col-price,
.order-items-row.header .col-qty,
.order-items-row.header .col-total {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #6c757d;
}

.order-items-row:hover {
  background-color: #f8f9fa;
}

.order-items-row .col-name {
  display: flex;
  align-items: center;
  gap: 12px;
}

.order-items-row .col-name i {
  font-size: 24px;
  color: var(--primary);
  width: 32px;
  text-align: center;
}

.order-items-row .col-name span {
  font-size: 15px;
  font-weight: 500;
  color: var(--dark);
}

.order-items-row .col-price,
.order-items-row .col-qty {
  font-size: 14px;
  color: #495057;
}

.order-items-row .col-total {
  font-size: 15px;
  font-weight: 600;
  color: var(--primary);
  text-align: right;
}

@media (max-width: 768px) {
  .order-items-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 16px;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    margin-bottom: 12px;
  }

  .order-items-row:last-child {
    margin-bottom: 0;
  }

  .order-items-row.header {
    display: none;
  }

  .order-items-row .col-name {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .order-items-row .col-price,
  .order-items-row .col-qty,
  .order-items-row .col-total {
    display: flex;
    justify-content: space-between;
  }

  .order-items-row .col-price::before {
    content: "Harga: ";
    color: #6c757d;
    font-size: 13px;
  }

  .order-items-row .col-qty::before {
    content: "Jumlah: ";
    color: #6c757d;
    font-size: 13px;
  }

  .order-items-row .col-total::before {
    content: "Total: ";
    color: #6c757d;
    font-size: 13px;
  }
}

/* Legacy items-table styles - overridden by order-items-row */
/* Order Detail - Items Table (Clean Layout) */
.items-table {
  border: 1px solid #e9ecef;
  overflow: hidden;
}

.items-header {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 15px;
  padding: 1.25rem 1.5rem;
  background: #f8f9fa;
  border-bottom: 1px solid #e9ecef;
  font-weight: 600;
  color: #6c757d;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}

.items-body {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 15px;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid #e9ecef;
  align-items: center;
  transition: background-color 0.2s ease;
}

.items-body:last-child {
  border-bottom: none;
}

.items-body:hover {
  background-color: #f8f9fa;
}

.product-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.product-info i {
  color: var(--primary);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.col-name,
.col-price,
.col-qty,
.col-total {
  color: var(--dark);
}

.col-total {
  font-weight: 700;
  color: var(--primary);
}

.empty-items {
  padding: 2rem;
  text-align: center;
  color: #6c757d;
}

.col-name,
.col-price,
.col-qty,
.col-total {
  color: var(--dark);
}

.col-total {
  font-weight: 700;
  color: var(--primary);
}

.empty-items {
  padding: 2rem;
  text-align: center;
  color: #6c757d;
}

/* Action Buttons */
.action-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  padding: 2rem 0;
}

.action-buttons .btn {
  min-width: 200px;
}

/* Product Detail Page Styles */
.product-detail-section {
  padding: 180px 0 120px;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  min-height: 100vh;
}

.product-detail-container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 50px;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 50px;
  align-items: start;
}

.product-images {
  position: sticky;
  top: 160px;
  background: white;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.main-image {
  width: 100%;
  height: 650px;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  margin-bottom: 35px;
  position: relative;
}

.main-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.main-image:hover img {
  transform: scale(1.02);
}

.thumbnail-images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 20px;
}

.thumbnail {
  width: 100%;
  height: 120px;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  border: 3px solid transparent;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  position: relative;
}

.thumbnail:hover,
.thumbnail.active {
  border-color: var(--primary);
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(58, 134, 255, 0.2);
}

.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.thumbnail:hover img {
  transform: scale(1.1);
}

.product-info {
  background: white;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.8);
  position: relative;
  overflow: hidden;
}

.product-info::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-2);
}

.product-title {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 1.5rem;
  line-height: 1.2;
  background: var(--gradient-2);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.product-description {
  font-size: 1.2rem;
  color: #6c757d;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  font-weight: 400;
}

.product-price {
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 15px;
}

.product-price .original-price {
  font-size: 1.8rem;
  color: #999;
  text-decoration: line-through;
  font-weight: 500;
}

.product-stock {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 3rem;
  padding: 20px;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border-radius: 12px;
  border-left: 4px solid var(--primary);
}

.product-stock i {
  font-size: 1.5rem;
  color: var(--primary);
}

.stock-badge {
  padding: 8px 16px;
  border-radius: 25px;
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.stock-high {
  background: linear-gradient(135deg, #d4edda, #c3e6cb);
  color: #155724;
}

.stock-medium {
  background: linear-gradient(135deg, #fff3cd, #ffeaa7);
  color: #856404;
}

.stock-low {
  background: linear-gradient(135deg, #f8d7da, #f5c6cb);
  color: #721c24;
}

.product-actions {
  display: flex;
  gap: 20px;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.product-actions .btn {
  flex: 1;
  min-width: 200px;
  padding: 18px 30px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.product-actions .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.btn-back {
  background: linear-gradient(135deg, #6c757d, #495057);
  color: white;
  padding: 18px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border: 2px solid transparent;
}

.btn-back:hover {
  background: linear-gradient(135deg, #5a6268, #343a40);
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

/* Enhanced responsive design */
@media (max-width: 1024px) {
  .product-detail-grid {
    gap: 40px;
  }

  .product-title {
    font-size: 2.4rem;
  }

  .product-price {
    font-size: 2.8rem;
  }

  .product-info {
    padding: 30px;
  }
}

@media (max-width: 768px) {
  .product-detail-section {
    padding: 120px 0 60px;
  }

  .product-detail-container {
    padding: 0 20px;
  }

  .product-detail-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
  }

  .product-images {
    position: static;
    order: 1;
    padding: 20px;
  }

  .main-image {
    height: 350px;
    margin-bottom: 20px;
  }

  .thumbnail-images {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
  }

  .thumbnail {
    height: 80px;
  }

  .product-info {
    order: 2;
    padding: 25px;
  }

  .product-title {
    font-size: 2rem;
    margin-bottom: 1rem;
  }

  .product-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
  }

  .product-price {
    font-size: 2.2rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .product-price .original-price {
    font-size: 1.4rem;
  }

  .product-stock {
    padding: 15px;
    margin-bottom: 2rem;
  }

  .product-actions {
    gap: 15px;
    margin-top: 2rem;
  }

  .product-actions .btn {
    min-width: 100%;
    padding: 16px 25px;
    font-size: 1rem;
  }

  .btn-back {
    padding: 16px 25px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .product-detail-container {
    padding: 0 15px;
  }

  .product-images {
    padding: 15px;
  }

  .main-image {
    height: 280px;
  }

  .thumbnail-images {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .thumbnail {
    height: 70px;
  }

  .product-info {
    padding: 20px;
  }

  .product-title {
    font-size: 1.8rem;
  }

  .product-price {
    font-size: 2rem;
  }

  .product-description {
    font-size: 1rem;
  }
}

/* Enhanced Product Detail Page Styles */
.breadcrumb-nav {
  margin-bottom: 3rem;
}

.breadcrumb-container {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 1rem 0;
}

.breadcrumb-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.breadcrumb-link:hover {
  color: var(--accent);
  text-decoration: underline;
}

.breadcrumb-separator {
  color: #6c757d;
  margin: 0 0.5rem;
  font-weight: 300;
}

.breadcrumb-current {
  color: var(--dark);
  font-weight: 600;
}

.product-gallery {
  position: sticky;
  top: 160px;
  background: white;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.main-image-container {
  margin-bottom: 25px;
}

.main-image {
  width: 100%;
  height: 500px;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  position: relative;
}

.main-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.main-image:hover img {
  transform: scale(1.02);
}

.image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 16px;
}

.image-placeholder i {
  font-size: 8rem;
  color: white;
}

.thumbnail-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 20px;
}

.thumbnail {
  width: 100%;
  height: 120px;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  border: 3px solid transparent;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  position: relative;
}

.thumbnail:hover,
.thumbnail.active {
  border-color: var(--primary);
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(58, 134, 255, 0.2);
}

.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.thumbnail:hover img {
  transform: scale(1.1);
}

.thumbnail-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 12px;
}

.thumbnail-placeholder i {
  font-size: 2.5rem;
  color: white;
}

.product-details {
  background: white;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.8);
  position: relative;
  overflow: hidden;
}

.product-details::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-2);
}

.product-header {
  margin-bottom: 2rem;
}

.product-title {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 1.5rem;
  line-height: 1.2;
  background: var(--gradient-2);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.product-meta {
  margin-top: 1rem;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.stars {
  color: #ffc107;
  font-size: 1.2rem;
}

.rating-text {
  color: #6c757d;
  font-size: 0.9rem;
}

.product-pricing {
  margin-bottom: 2rem;
}

.price-container {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.original-price-section {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.original-price {
  font-size: 1.8rem;
  color: #999;
  text-decoration: line-through;
  font-weight: 500;
}

.discount-badge {
  color: #e74c3c;
  font-weight: bold;
  font-size: 1rem;
  background: #ffeaea;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
}

.current-price {
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--primary);
}

.savings {
  color: #28a745;
  font-weight: 600;
  font-size: 1rem;
}

.product-availability {
  margin-bottom: 3rem;
  padding: 20px;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border-radius: 12px;
  border-left: 4px solid var(--primary);
}

.availability-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1rem;
}

.availability-header i {
  font-size: 1.5rem;
  color: var(--primary);
}

.availability-title {
  font-weight: 600;
  color: var(--dark);
}

.availability-status .stock-badge {
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.product-description-section {
  margin-bottom: 2rem;
}

.section-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1rem;
}

.description-content {
  line-height: 1.7;
}

.product-description {
  font-size: 1.1rem;
  color: #6c757d;
  font-weight: 400;
}

.product-actions {
  display: flex;
  gap: 20px;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.product-actions .btn {
  flex: 1;
  min-width: 200px;
  padding: 18px 30px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.product-actions .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.product-actions .btn-secondary {
  background: linear-gradient(135deg, #6c757d, #495057);
  color: white;
  border: 2px solid transparent;
}

.product-actions .btn-secondary:hover {
  background: linear-gradient(135deg, #5a6268, #343a40);
}

.product-features {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #e9ecef;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: #f8f9fa;
  border-radius: 12px;
  transition: all 0.3s ease;
  border: 1px solid #e9ecef;
}

.feature-item:hover {
  background: #e9ecef;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.feature-content {
  flex: 1;
}

.feature-title {
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.25rem;
}

.feature-subtitle {
  font-size: 0.9rem;
  color: #6c757d;
}

/* Enhanced responsive design */
@media (max-width: 1024px) {
  .product-detail-grid {
    gap: 40px;
  }

  .product-title {
    font-size: 2.4rem;
  }

  .current-price {
    font-size: 2.8rem;
  }

  .product-details {
    padding: 30px;
  }

  .product-gallery {
    padding: 25px;
  }
}

@media (max-width: 768px) {
  .product-detail-section {
    padding: 120px 0 60px;
  }

  .product-detail-container {
    padding: 0 20px;
  }

  .product-detail-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
  }

  .product-gallery {
    position: static;
    order: 1;
    padding: 20px;
  }

  .main-image {
    height: 350px;
  }

  .thumbnail-gallery {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
  }

  .thumbnail {
    height: 80px;
  }

  .product-details {
    order: 2;
    padding: 25px;
  }

  .product-title {
    font-size: 2rem;
    margin-bottom: 1rem;
  }

  .product-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
  }

  .current-price {
    font-size: 2.2rem;
  }

  .product-availability {
    padding: 15px;
    margin-bottom: 2rem;
  }

  .product-actions {
    gap: 15px;
    margin-bottom: 2rem;
  }

  .product-actions .btn {
    min-width: 100%;
    padding: 16px 25px;
    font-size: 1rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .feature-item {
    padding: 1rem;
  }
}

@media (max-width: 480px) {
  .product-detail-container {
    padding: 0 15px;
  }

  .product-gallery {
    padding: 15px;
  }

  .main-image {
    height: 280px;
  }

  .thumbnail-gallery {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .thumbnail {
    height: 70px;
  }

  .product-details {
    padding: 20px;
  }

  .product-title {
    font-size: 1.8rem;
  }

  .current-price {
    font-size: 2rem;
  }

  .product-description {
    font-size: 1rem;
  }

  .breadcrumb-container {
    padding: 0.5rem 0;
  }

  .breadcrumb-link,
  .breadcrumb-current {
    font-size: 0.9rem;
  }
}

/* Category Filter Pills - Modern Tech Style */
.category-filter-section {
  margin-bottom: 2.5rem;
  text-align: center;
}

.category-pills-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  padding: 10px 0;
}

.category-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 50px;
  background: #f8f9fa;
  color: #495057;
  border: none;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  text-decoration: none;
  transition: all 0.3s ease;
}

.category-pill:hover:not(.active) {
  background: #e9ecef;
}

.category-pill.active {
  background: linear-gradient(135deg, #8338ec 0%, #3a86ff 100%);
  color: white !important;
  box-shadow: 0 4px 15px rgba(131, 56, 236, 0.4);
}

/* Remove any underline from text inside category pill */
.category-pill,
.category-pill *,
.category-pill i,
.category-pill span,
.category-pill:visited,
.category-pill:active,
.category-pill:focus {
  text-decoration: none !important;
  color: inherit !important;
}

/* Hover effects removed - buttons remain static but clickable */

.category-pill.active {
  background: linear-gradient(135deg, #8338ec 0%, #3a86ff 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(131, 56, 236, 0.4);
}

/* Active state hover preserved for visual feedback on selected button */
.category-pill.active:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(131, 56, 236, 0.5);
}

.category-pill i {
  font-size: 1rem;
}

/* Remove any shadow/oval under product icons in the purple image area */
.produk-img {
  height: 200px;
  width: 100%;
  background: var(--gradient-2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 3rem;
  position: relative;
  overflow: hidden;
  box-shadow: none !important;
}

/* Remove any pseudo-element shadows under icons */
.produk-img::before,
.produk-img::after {
  display: none !important;
  content: none !important;
}

/* Ensure icon has no shadow */
.produk-img i {
  text-shadow: none !important;
  filter: none !important;
  box-shadow: none !important;
}

/* Remove any icon-shadow or oval elements */
.icon-shadow,
.product-shadow,
.oval-shadow,
.icon-oval {
  display: none !important;
}

/* Remove underline from product image link */
.produk-img-link {
  display: block;
  text-decoration: none !important;
}

.produk-img-link:hover {
  text-decoration: none !important;
}

.produk-img-link:visited,
.produk-img-link:active,
.produk-img-link:focus {
  text-decoration: none !important;
}

/* Filter Controls */
.filter-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 2rem;
  padding: 15px 20px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.sort-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sort-controls label {
  font-weight: 600;
  color: #495057;
  font-size: 0.9rem;
}

.sort-controls select {
  padding: 10px 15px;
  border: 2px solid #e4e6eb;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #1c1e21;
  background: white;
  cursor: pointer;
  transition: all 0.3s ease;
}

.sort-controls select:focus {
  outline: none;
  border-color: #3a86ff;
  box-shadow: 0 0 0 3px rgba(58, 134, 255, 0.1);
}

/* Pagination */
.pagination-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.pagination-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 8px;
  background: white;
  color: #495057;
  border: 2px solid #e4e6eb;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.pagination-btn:hover:not(:disabled) {
  border-color: #3a86ff;
  color: #3a86ff;
  transform: translateY(-2px);
}

.pagination-btn.active {
  background: linear-gradient(135deg, #8338ec 0%, #3a86ff 100%);
  color: white;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(131, 56, 236, 0.4);
}

.pagination-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Product fade animation */
.produk-card.fade-in {
  animation: fadeIn 0.4s ease;
}
.card-deck {
  position: relative;
  width: 220px;
  height: 240px;
  margin: 0 auto;
}

.deck-card {
  position: absolute;
  width: 150px;
  height: 210px;

  left: 50%;
  top: 50%;

  margin-left: -75px;
  margin-top: -105px;

  border-radius: 18px;

  overflow: hidden;

  transition:
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.35s ease,
    filter 0.35s ease;

  transform-origin: center center;

  cursor: pointer;

  background: #fff;

  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.deck-card.is-active {
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.28);

  filter: brightness(1.06);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* No products message */
.no-products {
  text-align: center;
  padding: 3rem;
  color: #6c757d;
  grid-column: 1 / -1;
}

.no-products i {
  font-size: 4rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}

.no-products h3 {
  margin-bottom: 0.5rem;
  color: #495057;
}

/* ── Navbar Actions ─────────────────────────────────────────── */
.navbar-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* Tombol user (nama login) */
.btn-user {
  margin-right: 0;
}

/* Tombol logout */
.btn-logout {
  background: var(--secondary);
  color: white;
  border-radius: 25px;
}

/* ── About Section ──────────────────────────────────────────── */
/* Judul about section pakai warna putih karena background gelap */
.about-section .section-title {
  color: white;
}

.about-subtitle {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
  opacity: 0.9;
  color: white;
}

/* ── Kontak Section ─────────────────────────────────────────── */
/* Tombol submit form kontak full width */
.kontak-form .btn-submit {
  width: 100%;
}
/* ══ Username next to avatar in navbar ══════════════════════════════════ */
.user-dropdown {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  position: relative;
}

.nav-username {
  font-size: 0.85rem;
  font-weight: 600;
  color: #2c3e50;
  white-space: nowrap;
  padding: 6px 14px;
  background: #f0f4ff;
  border-radius: 20px;
  border: 1.5px solid #d0dcff;
  max-width: 130px;
  overflow: hidden;
  text-overflow: ellipsis;
  transition:
    background 0.2s,
    border-color 0.2s;
}

.user-dropdown:hover .nav-username {
  background: #e0eaff;
  border-color: #a8c0ff;
}

/* Ensure dropdown still works */
.user-dropdown:hover .dropdown-menu,
.user-dropdown .dropdown-menu:hover {
  display: block;
}