:root {
  --primary: #7c3aed;
  --bg: #ffffff;
  --nav-bg: #f5f5ff;
  --text-dark: #1f2937;
  --text-gray: #6b7280;
}

html {
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background-color: var(--bg);
  color: var(--text-dark);
}

/* ===== NAVBAR ===== */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 7%;
  background-color: var(--nav-bg);
  border-bottom: 1px solid #e5e7eb;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 6px;
}

.navbar .logo {
  height: 35px;
}

.navbar .navbar-logo {
  font-size: 1.3rem;
  font-weight: 700;
  font-style: italic;
  color: var(--primary);
  text-decoration: none;
  line-height: 0.75;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.navbar-nav a {
  font-size: 1rem;
  text-decoration: none;
  color: var(--text-dark);
  position: relative;
}

.navbar-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0%;
  height: 2px;
  background-color: var(--primary);
  transition: 0.25s;
}

.navbar-nav a:hover::after {
  width: 100%;
}

.navbar-extra {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.navbar-extra a {
  color: var(--primary);
  filter: drop-shadow(0px 2px 2px rgba(0, 0, 0, 0.25));
  transition: 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.navbar-extra a svg {
  width: 24px !important;
  height: 24px !important;
  stroke-width: 2.1 !important;
}

.navbar-extra a:hover {
  transform: scale(1.15);
  color: #060508;
}

.navbar-extra a:hover svg {
  stroke: #120d18;
}

#hamburger-menu {
  display: none;
}

/* ===== HERO SECTION ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8rem 7% 2rem;
  gap: 3rem;
  background: linear-gradient(135deg, #f5f5ff 0%, #ffffff 100%);
}

.hero .content {
  flex: 1;
  max-width: 45%;
}

.hero .content h1 {
  font-size: 3rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.hero-card {
  flex: 1;
  max-width: 50%;
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(124, 58, 237, 0.15);
  padding: 2.5rem;
  display: flex;
  gap: 2rem;
  align-items: center;
}

.hero-card .card-content {
  flex: 1;
}

.hero-card .card-content h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
  letter-spacing: 2px;
}

.hero-card .card-content h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.hero-card .card-content p {
  font-size: 0.95rem;
  color: var(--text-gray);
  line-height: 1.6;
}

.hero-card .card-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-card .card-image img {
  width: 100%;
  max-width: 280px;
  height: auto;
  object-fit: contain;
}

/* ===== PRODUK UNGGULAN SECTION ===== */
.produk-unggulan {
  padding: 5rem 7%;
  background-color: var(--bg);
}

.section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.section-subtitle {
  text-align: center;
  font-size: 1rem;
  color: var(--text-gray);
  margin-bottom: 3rem;
}

.produk-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.produk-card {
  background: white;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.produk-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(124, 58, 237, 0.2);
}

.produk-image {
  width: 100%;
  height: 220px;
  background: linear-gradient(135deg, #ede9fe 0%, #f5f3ff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.produk-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.produk-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
  padding: 1rem 1.5rem 0.5rem;
}

.produk-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 1.5rem;
  margin-bottom: 0.5rem;
}

.produk-rating .stars {
  color: #fbbf24;
  font-size: 0.9rem;
}

.produk-rating .rating-count {
  font-size: 0.85rem;
  color: var(--text-gray);
}

.produk-desc {
  font-size: 0.85rem;
  color: var(--text-gray);
  padding: 0 1.5rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.produk-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  border-top: 1px solid #f3f4f6;
}

.produk-harga {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
}

.btn-detail {
  background-color: var(--primary);
  color: white;
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-detail:hover {
  background-color: #6d28d9;
  transform: scale(1.05);
}

/* ===== TENTANG KAMI SECTION ===== */
.tentang-kami {
  padding: 5rem 7%;
  background: linear-gradient(135deg, #f5f5ff 0%, #ffffff 100%);
}

.tentang-container {
  display: flex;
  gap: 4rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.tentang-image {
  flex: 1;
  max-width: 45%;
}

.tentang-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(124, 58, 237, 0.15);
  object-fit: cover;
}

.tentang-content {
  flex: 1;
  max-width: 55%;
}

.section-title-left {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.tentang-subtitle {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.tentang-content p {
  font-size: 1rem;
  color: var(--text-gray);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.tentang-features {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.feature-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.feature-icon {
  background: var(--primary);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
}

.feature-text h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.3rem;
}

.feature-text p {
  font-size: 0.9rem;
  color: var(--text-gray);
  margin: 0;
}

/* ===== KONTAK SECTION ===== */
.kontak {
  padding: 5rem 7%;
  background-color: var(--bg);
}

.kontak-container {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto 3rem;
}

.kontak-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.info-item {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
}

.info-icon {
  background: linear-gradient(135deg, var(--primary) 0%, #6d28d9 100%);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-icon svg {
  width: 24px;
  height: 24px;
}

.info-text h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.info-text p {
  font-size: 0.95rem;
  color: var(--text-gray);
  line-height: 1.6;
  margin: 0;
}

.kontak-map {
  width: 100%;
  height: 450px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* ===== FOOTER ===== */
.footer {
  background-color: #1f2937;
  color: white;
  padding: 3rem 7%;
  text-align: center;
}

.footer-content h3 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.social-links a {
  color: white;
  transition: color 0.3s ease, transform 0.3s ease;
}

.social-links a svg {
  width: 28px;
  height: 28px;
}

.social-links a:hover {
  color: var(--primary);
  transform: scale(1.2);
}

.copyright {
  font-size: 0.9rem;
  color: #9ca3af;
}

/* ===== MEDIA QUERIES ===== */
@media (max-width: 1366px) {
  html {
    font-size: 90%;
  }
}

@media (max-width: 992px) {
  .hero {
    flex-direction: column;
    padding: 8rem 5% 2rem;
  }

  .hero .content {
    max-width: 100%;
    text-align: center;
  }

  .hero .content h1 {
    font-size: 2.5rem;
  }

  .hero-card {
    max-width: 100%;
  }

  .produk-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
  }

  .tentang-container {
    flex-direction: column;
    gap: 2.5rem;
  }

  .tentang-image,
  .tentang-content {
    max-width: 100%;
  }

  .kontak-container {
    grid-template-columns: 1fr;
  }

  .kontak-map {
    height: 400px;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 85%;
  }

  #hamburger-menu {
    display: inline-block;
  }

  .navbar .navbar-nav {
    position: absolute;
    top: 100%;
    right: -100%;
    background-color: #060508;
    width: 30rem;
    height: 100vh;
    transition: 0.3s;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 2rem;
  }

  .navbar .navbar-nav.active {
    right: 0;
  }

  .navbar .navbar-nav a {
    color: var(--bg);
    display: block;
    margin: 1.5rem;
    padding: 0.5rem;
    font-size: 1.8rem;
  }

  .navbar .navbar-nav a::after {
    display: none;
  }

  .hero {
    padding: 7rem 5% 2rem;
  }

  .hero .content h1 {
    font-size: 2rem;
  }

  .hero-card {
    flex-direction: column;
    padding: 2rem;
  }

  .hero-card .card-content h2 {
    font-size: 1.5rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .produk-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 450px) {
  html {
    font-size: 75%;
  }

  .navbar {
    padding: 0.6rem 5%;
  }

  .hero {
    padding: 6rem 5% 2rem;
  }

  .hero .content h1 {
    font-size: 1.8rem;
  }

  .hero-card {
    padding: 1.5rem;
  }

  .produk-unggulan {
    padding: 3rem 5%;
  }

  .tentang-kami {
    padding: 3rem 5%;
  }

  .tentang-container {
    flex-direction: column;
    gap: 2rem;
  }

  .tentang-image,
  .tentang-content {
    max-width: 100%;
  }

  .kontak {
    padding: 3rem 5%;
  }

  .kontak-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .kontak-map {
    height: 350px;
  }
}
/* ===== DETAIL PRODUK PAGE ===== */
.detail-produk {
  padding: 8rem 7% 3rem;
  min-height: 100vh;
  background-color: var(--bg);
}

.detail-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto 4rem;
}

/* Image Section */
.detail-image-section {
  position: sticky;
  top: 8rem;
  height: fit-content;
}

.main-image {
  width: 100%;
  height: 500px;
  background: linear-gradient(135deg, #ede9fe 0%, #f5f3ff 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(124, 58, 237, 0.15);
  margin-bottom: 1.5rem;
}

.main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.main-image:hover img {
  transform: scale(1.05);
}

.thumbnail-images {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.thumbnail {
  width: 100%;
  height: 100px;
  object-fit: cover;
  border-radius: 12px;
  cursor: pointer;
  border: 3px solid transparent;
  transition: all 0.3s ease;
  background: #f3f4f6;
}

.thumbnail:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
}

.thumbnail.active {
  border-color: var(--primary);
  box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}

/* Info Section */
.detail-info-section {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.breadcrumb {
  font-size: 0.9rem;
  color: var(--text-gray);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.breadcrumb a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb a:hover {
  color: #6d28d9;
}

.product-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.2;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.product-rating .stars {
  color: #fbbf24;
  font-size: 1.2rem;
}

.rating-text {
  font-size: 0.95rem;
  color: var(--text-gray);
}

.product-price {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid #e5e7eb;
}

.current-price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
}

.original-price {
  font-size: 1.3rem;
  color: var(--text-gray);
  text-decoration: line-through;
}

.discount-badge {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
}

.product-description h3,
.product-features h3,
.product-variants h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.8rem;
}

.product-description p {
  font-size: 1rem;
  color: var(--text-gray);
  line-height: 1.8;
}

.product-features ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.product-features li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1rem;
  color: var(--text-dark);
}

.product-features li svg {
  width: 20px;
  height: 20px;
  color: #10b981;
  flex-shrink: 0;
}

/* Color Variants */
.color-options {
  display: flex;
  gap: 1rem;
}

.color-btn {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  border: 3px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.color-btn:hover {
  transform: scale(1.1);
  border-color: var(--primary);
}

.color-btn.active {
  border-color: var(--primary);
  box-shadow: 0 4px 15px rgba(124, 58, 237, 0.4);
}

.color-btn.active::after {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 1.5rem;
  font-weight: bold;
}

/* Product Actions */
.product-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.quantity-selector {
  display: flex;
  align-items: center;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  overflow: hidden;
}

.qty-btn {
  background: var(--primary);
  color: white;
  border: none;
  width: 45px;
  height: 50px;
  font-size: 1.5rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.qty-btn:hover {
  background: #6d28d9;
}

#quantity {
  width: 60px;
  height: 50px;
  text-align: center;
  border: none;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
}

.btn-add-cart {
  flex: 1;
  background: white;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 0.8rem 1.5rem;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.btn-add-cart:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.3);
}

.btn-add-cart svg {
  width: 20px;
  height: 20px;
}

.btn-buy-now {
  flex: 1;
  background: linear-gradient(135deg, var(--primary), #6d28d9);
  color: white;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-buy-now:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4);
}

/* Info Badges */
.product-info-badges {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-top: 1px solid #e5e7eb;
}

.badge-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-dark);
}

.badge-item svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
}

/* Tabs Section */
.tabs-section {
  max-width: 1200px;
  margin: 0 auto 4rem;
}

.tabs-container {
  background: white;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.tab-buttons {
  display: flex;
  border-bottom: 2px solid #f3f4f6;
}

.tab-btn {
  flex: 1;
  padding: 1.2rem;
  background: none;
  border: none;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-gray);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.tab-btn:hover {
  color: var(--primary);
  background: #f9fafb;
}

.tab-btn.active {
  color: var(--primary);
}

.tab-btn.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary);
}

.tab-content {
  display: none;
  padding: 2.5rem;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Specs Table */
.specs-table {
  width: 100%;
  border-collapse: collapse;
}

.specs-table tr {
  border-bottom: 1px solid #f3f4f6;
}

.specs-table td {
  padding: 1.2rem 0;
  font-size: 1rem;
}

.specs-table td:first-child {
  font-weight: 600;
  color: var(--text-dark);
  width: 40%;
}

.specs-table td:last-child {
  color: var(--text-gray);
}

/* Reviews */
.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.review-item {
  padding-bottom: 2rem;
  border-bottom: 1px solid #f3f4f6;
}

.review-item:last-child {
  border-bottom: none;
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.reviewer-info {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.reviewer-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #6d28d9);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 700;
}

.reviewer-info h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.3rem;
}

.review-stars {
  color: #fbbf24;
  font-size: 0.9rem;
}

.review-date {
  font-size: 0.85rem;
  color: var(--text-gray);
}

.review-text {
  font-size: 1rem;
  color: var(--text-gray);
  line-height: 1.7;
}

/* Related Products */
.related-products {
  max-width: 1200px;
  margin: 0 auto;
}

.related-products .section-title {
  text-align: left;
  margin-bottom: 2rem;
}

/* Responsive Design */
@media (max-width: 992px) {
  .detail-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .detail-image-section {
    position: static;
  }

  .product-actions {
    flex-wrap: wrap;
  }

  .quantity-selector {
    width: 100%;
  }

  .btn-add-cart,
  .btn-buy-now {
    width: 100%;
  }

  .product-info-badges {
    flex-wrap: wrap;
  }
}

@media (max-width: 768px) {
  .detail-produk {
    padding: 7rem 5% 2rem;
  }

  .product-title {
    font-size: 2rem;
  }

  .current-price {
    font-size: 2rem;
  }

  .main-image {
    height: 400px;
  }

  .thumbnail-images {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
  }

  .thumbnail {
    height: 80px;
  }

  .tab-btn {
    font-size: 1rem;
    padding: 1rem;
  }

  .tab-content {
    padding: 1.5rem;
  }

  .specs-table td {
    font-size: 0.9rem;
  }
}

@media (max-width: 450px) {
  .product-title {
    font-size: 1.6rem;
  }

  .current-price {
    font-size: 1.8rem;
  }

  .original-price {
    font-size: 1.1rem;
  }

  .main-image {
    height: 300px;
  }

  .thumbnail {
    height: 60px;
  }

  .product-actions {
    gap: 0.8rem;
  }

  .color-options {
    gap: 0.8rem;
  }

  .color-btn {
    width: 45px;
    height: 45px;
  }
}
/* ===== DAFTAR PRODUK PAGE ===== */
.daftar-produk-page {
  padding: 8rem 7% 3rem;
  min-height: 100vh;
  background-color: var(--bg);
}

.daftar-produk-container {
  max-width: 1400px;
  margin: 0 auto;
}

.daftar-produk-header {
  text-align: center;
  margin-bottom: 3rem;
}

.daftar-produk-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.daftar-produk-header p {
  font-size: 1.1rem;
  color: var(--text-gray);
}

.daftar-produk-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.product-card-list {
  background: white;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.product-card-list:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(124, 58, 237, 0.2);
}

.product-card-image {
  width: 100%;
  height: 220px;
  background: linear-gradient(135deg, #ede9fe 0%, #f5f3ff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-card-list:hover .product-card-image img {
  transform: scale(1.1);
}

.product-card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.8rem;
  line-height: 1.4;
  min-height: 2.8rem;
}

.product-card-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.8rem;
}

.product-card-rating .stars {
  color: #fbbf24;
  font-size: 0.9rem;
}

.product-card-rating .rating-value {
  font-size: 0.85rem;
  color: var(--text-gray);
}

.product-card-desc {
  font-size: 0.85rem;
  color: var(--text-gray);
  line-height: 1.6;
  margin-bottom: 1rem;
  flex: 1;
}

.product-card-footer {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid #f3f4f6;
}

.product-price-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-card-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
}

.btn-pesan {
  background: linear-gradient(135deg, var(--primary), #6d28d9);
  color: white;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
  display: block;
}

.btn-pesan:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4);
}

.no-products {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 2rem;
}

.no-products svg {
  width: 80px;
  height: 80px;
  color: var(--text-gray);
  margin-bottom: 1rem;
}

.no-products h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.no-products p {
  font-size: 1rem;
  color: var(--text-gray);
}

/* Responsive untuk Daftar Produk */
@media (max-width: 1366px) {
  .daftar-produk-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 992px) {
  .daftar-produk-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .daftar-produk-page {
    padding: 7rem 5% 2rem;
  }
}

@media (max-width: 768px) {
  .daftar-produk-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .daftar-produk-page {
    padding: 7rem 5% 2rem;
  }

  .daftar-produk-header h1 {
    font-size: 2rem;
  }

  .daftar-produk-header p {
    font-size: 1rem;
  }
}

@media (max-width: 450px) {
  .daftar-produk-page {
    padding: 6rem 5% 2rem;
  }

  .daftar-produk-header h1 {
    font-size: 1.8rem;
  }

  .daftar-produk-header p {
    font-size: 0.95rem;
  }

  .daftar-produk-grid {
    gap: 1.2rem;
  }

  .product-card-image {
    height: 200px;
  }

  .product-card-content {
    padding: 1.2rem;
  }
}
/* ===== AUTH SECTION (Login & Register) ===== */
.auth-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem 2rem 4rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.auth-container {
  max-width: 450px;
  width: 100%;
}

.auth-card {
  background: white;
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.auth-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1a202c;
  margin-bottom: 0.5rem;
  text-align: center;
}

.auth-subtitle {
  color: #718096;
  font-size: 0.95rem;
  text-align: center;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.alert {
  padding: 1rem;
  border-radius: 10px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.alert-error {
  background: #fee;
  color: #c53030;
  border: 1px solid #fc8181;
}

.alert-success {
  background: #e6fffa;
  color: #234e52;
  border: 1px solid #81e6d9;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-weight: 600;
  color: #2d3748;
  font-size: 0.95rem;
}

.form-group input {
  padding: 0.875rem 1rem;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  font-size: 1rem;
  transition: all 0.3s;
  font-family: "Poppins", sans-serif;
}

.form-group input:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.btn-auth {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 1rem;
  border: none;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s;
  font-family: "Poppins", sans-serif;
}

.btn-auth:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.auth-footer {
  text-align: center;
  margin-top: 1.5rem;
  color: #718096;
}

.auth-footer a {
  color: #667eea;
  font-weight: 600;
  text-decoration: none;
}

.auth-footer a:hover {
  text-decoration: underline;
}

/* ===== KERANJANG / CART SECTION ===== */
.keranjang-section {
  min-height: 100vh;
  background: #f7fafc;
  padding: 8rem 0 2rem;
}

.keranjang-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.keranjang-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  background: white;
  border-radius: 15px;
  margin-bottom: 2rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.optik-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand-icon {
  width: 40px;
  height: 40px;
  color: #667eea;
}

.optik-brand h1 {
  font-size: 1.8rem;
  color: #1a202c;
  font-weight: 700;
}

.user-info-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #4a5568;
}

.keranjang-main {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 2rem;
  align-items: start;
}

.cart-items-section {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.cart-item {
  display: grid;
  grid-template-columns: 100px 1fr auto auto auto;
  gap: 1.5rem;
  align-items: center;
  padding: 1.5rem 0;
  border-bottom: 1px solid #e2e8f0;
}

.cart-item:last-child {
  border-bottom: none;
}

.item-image img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 10px;
}

.item-details h3 {
  font-size: 1.1rem;
  color: #1a202c;
  margin-bottom: 0.5rem;
}

.item-rating {
  color: #fbbf24;
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.item-rating span {
  color: #718096;
  margin-left: 0.5rem;
}

.item-color {
  color: #718096;
  font-size: 0.9rem;
}

.item-price {
  font-size: 1.2rem;
  font-weight: 600;
  color: #667eea;
}

.item-quantity {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #f7fafc;
  padding: 0.5rem;
  border-radius: 8px;
}

.qty-btn {
  width: 32px;
  height: 32px;
  border: none;
  background: #667eea;
  color: white;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.qty-btn:hover {
  background: #5568d3;
}

.qty-input {
  width: 50px;
  text-align: center;
  border: none;
  background: transparent;
  font-weight: 600;
  font-size: 1rem;
}

.item-delete {
  background: #fee;
  color: #e53e3e;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.item-delete:hover {
  background: #fc8181;
  color: white;
}

.empty-cart {
  text-align: center;
  padding: 4rem 2rem;
}

.empty-cart svg {
  width: 80px;
  height: 80px;
  color: #cbd5e0;
  margin-bottom: 1rem;
}

.empty-cart h3 {
  font-size: 1.5rem;
  color: #4a5568;
  margin-bottom: 0.5rem;
}

.empty-cart p {
  color: #a0aec0;
  margin-bottom: 2rem;
}

.btn-shop {
  display: inline-block;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  text-decoration: none;
  border-radius: 10px;
  font-weight: 600;
  transition: transform 0.2s;
}

.btn-shop:hover {
  transform: translateY(-2px);
}

.cart-summary {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 7rem;
}

.cart-summary h2 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: #1a202c;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  color: #4a5568;
}

.summary-total {
  display: flex;
  justify-content: space-between;
  padding-top: 1rem;
  margin-top: 1rem;
  border-top: 2px solid #e2e8f0;
  font-size: 1.3rem;
  font-weight: 700;
  color: #1a202c;
}

.total-price {
  color: #667eea;
}

.btn-checkout {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 1.5rem;
  transition: transform 0.2s;
}

.btn-checkout:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

/* User Dropdown */
.user-dropdown {
  position: absolute;
  top: 100%;
  right: 7%;
  background: white;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  padding: 1rem;
  min-width: 250px;
  display: none;
  z-index: 1000;
  margin-top: 0.5rem;
}

.user-dropdown.show {
  display: block;
}

.user-info {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e2e8f0;
}

.user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.user-name {
  font-weight: 600;
  color: #1a202c;
  margin-bottom: 0.25rem;
}

.user-email {
  font-size: 0.85rem;
  color: #718096;
}

.logout-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem;
  color: #e53e3e;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.2s;
  width: 100%;
}

.logout-btn:hover {
  background: #fee;
}

/* Responsive untuk Auth dan Cart */
@media (max-width: 992px) {
  .keranjang-main {
    grid-template-columns: 1fr;
  }

  .cart-summary {
    position: static;
  }

  .cart-item {
    grid-template-columns: 80px 1fr;
    gap: 1rem;
  }

  .item-quantity,
  .item-delete {
    grid-column: 1 / -1;
    justify-self: start;
  }
}

@media (max-width: 768px) {
  .auth-section {
    padding: 7rem 1rem 2rem;
  }

  .auth-card {
    padding: 2rem;
  }

  .auth-title {
    font-size: 2rem;
  }

  .keranjang-section {
    padding: 7rem 0 2rem;
  }

  .keranjang-header {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

@media (max-width: 450px) {
  .auth-card {
    padding: 1.5rem;
  }

  .auth-title {
    font-size: 1.8rem;
  }

  .item-image img {
    width: 80px;
    height: 80px;
  }
}
/* Checkout Section */
.checkout-section {
  min-height: 100vh;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 3rem 0;
}

.checkout-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.checkout-header {
  text-align: center;
  color: white;
  margin-bottom: 3rem;
}

.checkout-header h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.checkout-header p {
  font-size: 1.2rem;
  opacity: 0.9;
}

.checkout-main {
  display: grid;
  grid-template-columns: 1fr 450px;
  gap: 2rem;
  align-items: start;
}

.payment-methods {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.payment-option {
  display: block;
  margin-bottom: 1rem;
  cursor: pointer;
}

.payment-option input[type="radio"] {
  display: none;
}

.payment-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  transition: all 0.3s;
}

.payment-option input[type="radio"]:checked + .payment-card {
  border-color: #667eea;
  background: #f0f4ff;
}

.payment-logo {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.payment-card span {
  font-weight: 600;
  color: #1a202c;
}

.payment-details {
  margin-top: 2rem;
  padding: 2rem;
  background: #f7fafc;
  border-radius: 12px;
}

.detail-section {
  display: none;
}

.detail-section.active {
  display: block;
}

.detail-section h3 {
  font-size: 1.3rem;
  color: #1a202c;
  margin-bottom: 1.5rem;
}

.qris-code {
  text-align: center;
}

.qris-code img {
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  padding: 1rem;
  background: white;
  margin-bottom: 1rem;
}

.qris-code p {
  color: #718096;
  font-size: 0.95rem;
}

.account-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.account-info label {
  font-weight: 600;
  color: #4a5568;
  font-size: 0.9rem;
}

.info-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  background: white;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
}

.info-box span {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1a202c;
  letter-spacing: 0.5px;
}

.btn-copy {
  background: #667eea;
  color: white;
  border: none;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: all 0.2s;
}

.btn-copy:hover {
  background: #5568d3;
  transform: scale(1.05);
}

.discount-section {
  margin-top: 2rem;
}

.discount-section label {
  display: block;
  font-weight: 600;
  color: #4a5568;
  margin-bottom: 0.5rem;
}

.discount-input {
  display: flex;
  gap: 0.5rem;
}

.discount-input input {
  flex: 1;
  padding: 1rem;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  font-size: 1rem;
  font-family: "Poppins", sans-serif;
}

.discount-input input:focus {
  outline: none;
  border-color: #667eea;
}

.btn-apply {
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  font-family: "Poppins", sans-serif;
  transition: transform 0.2s;
}

.btn-apply:hover {
  transform: translateY(-2px);
}

/* Order Summary */
.order-summary {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  position: sticky;
  top: 2rem;
}

.summary-header {
  text-align: center;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid #e2e8f0;
  margin-bottom: 1.5rem;
}

.summary-header h2 {
  font-size: 1.2rem;
  color: #4a5568;
  margin-bottom: 0.5rem;
}

.total-amount {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1a202c;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.order-items {
  max-height: 250px;
  overflow-y: auto;
  margin-bottom: 1.5rem;
  padding-right: 0.5rem;
}

.order-items::-webkit-scrollbar {
  width: 6px;
}

.order-items::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.order-items::-webkit-scrollbar-thumb {
  background: #667eea;
  border-radius: 10px;
}

.order-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid #e2e8f0;
}

.order-item:last-child {
  border-bottom: none;
}

.item-info {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.item-info img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
}

.item-info h4 {
  font-size: 0.95rem;
  color: #1a202c;
  margin-bottom: 0.25rem;
}

.item-info p {
  font-size: 0.85rem;
  color: #718096;
}

.item-price {
  font-weight: 600;
  color: #667eea;
}

.summary-breakdown {
  padding-top: 1rem;
  border-top: 2px solid #e2e8f0;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  color: #4a5568;
  font-size: 0.95rem;
}

.discount-row {
  color: #48bb78;
  font-weight: 600;
}

.total-row {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1a202c;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 2px solid #e2e8f0;
}

.btn-pay {
  width: 100%;
  padding: 1.2rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  margin-top: 1.5rem;
  transition: all 0.3s;
  font-family: "Poppins", sans-serif;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-pay:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

/* Responsive */
@media (max-width: 968px) {
  .checkout-main {
    grid-template-columns: 1fr;
  }

  .order-summary {
    position: static;
  }
}

@media (max-width: 576px) {
  .checkout-header h1 {
    font-size: 2rem;
  }

  .total-amount {
    font-size: 2rem;
  }

  .payment-card {
    padding: 1rem;
  }

  .payment-logo {
    width: 40px;
    height: 40px;
  }
}
/* Order Success Notification */
.order-success-notification {
  position: fixed;
  top: 100px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  animation: slideDown 0.5s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

.notification-content {
  background: white;
  padding: 1.5rem 2rem;
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 500px;
  border-left: 5px solid #48bb78;
}

.notification-content i {
  color: #48bb78;
  width: 30px;
  height: 30px;
}

.notification-content h3 {
  color: #1a202c;
  margin-bottom: 0.25rem;
  font-size: 1.1rem;
}

.notification-content p {
  color: #718096;
  font-size: 0.9rem;
  margin: 0;
}

.notification-content button {
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: #a0aec0;
  margin-left: auto;
  line-height: 1;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.notification-content button:hover {
  color: #718096;
}
/* Stock Badge Styles - Tambahkan ke style.css Anda */

/* Stock badge on product image */
.stock-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.85rem;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.stock-badge.out-of-stock {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: white;
}

.stock-badge.low-stock {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: white;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.8;
  }
}

/* Product card stock info */
.produk-stock {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.75rem 0;
  padding: 0.5rem;
  background: #f7fafc;
  border-radius: 8px;
  color: #4a5568;
  font-size: 0.9rem;
}

.produk-stock i {
  width: 18px;
  height: 18px;
  color: #667eea;
}

.product-stock-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.75rem 0;
  padding: 0.6rem 1rem;
  background: #f7fafc;
  border-radius: 8px;
  color: #4a5568;
  font-size: 0.95rem;
  border: 1px solid #e2e8f0;
}

.product-stock-info i {
  width: 18px;
  height: 18px;
  color: #667eea;
}

/* Detail product stock display */
.product-stock-detail {
  background: linear-gradient(135deg, #f7fafc, #edf2f7);
  padding: 1.2rem;
  border-radius: 12px;
  margin: 1.5rem 0;
  border: 2px solid #e2e8f0;
}

.stock-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

.stock-label i {
  width: 22px;
  height: 22px;
  color: #667eea;
}

.stock-value {
  font-size: 1.1rem;
  font-weight: 700;
  margin-left: 1.8rem;
}

.stock-value .stock-out {
  color: #ef4444;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.stock-value .stock-low {
  color: #f59e0b;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.stock-value .stock-available {
  color: #10b981;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* Product image container with stock badge */
.produk-image {
  position: relative;
  overflow: hidden;
}

.product-card-image {
  position: relative;
  overflow: hidden;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .stock-badge {
    font-size: 0.75rem;
    padding: 0.4rem 0.8rem;
  }

  .product-stock-detail {
    padding: 1rem;
  }

  .stock-value {
    font-size: 1rem;
  }
}
