:root {
  --brand: #7eb36a;
  --brand-dark: #649353;
  --bg: #ffffff;
  --card: #ffffff;
  --soft: #eef5ea;
  --text: #1a1a1a;
  --muted: #6b7280;
  --gray: #e5e7eb;
}

/* RESET */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

/* === MODERN NAVBAR === */
.modern-navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
  background: rgba(255, 255, 255, 0);
  /* lebih transparan, tanpa blur */
  border-bottom: 1px solid rgba(255, 255, 255, 0);
  transition: all 0.3s ease;
}

.modern-navbar.scrolled {
  background: rgba(20, 20, 20, 0.9);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.nav-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 40px;
}

.logo a {
  font-weight: 700;
  font-size: 1.4rem;
  text-decoration: none;
  color: #fff;
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 35px;
}

.nav-links a {
  color: #f0f0f0;
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0%;
  height: 2px;
  background: #7eb36a;
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: #7eb36a;
}

.nav-links a:hover::after {
  width: 100%;
}

.cart-link i {
  font-size: 1.1rem;
}

/* Responsive */
.nav-toggle {
  display: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 240px;
    background: rgba(15, 15, 15, 0.95);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 25px;
    transition: right 0.3s ease;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links a {
    font-size: 1.2rem;
  }
}

/* === USER MENU FIX === */
.nav-user {
  position: relative;
  display: flex;
  align-items: center;
}


.user-menu {
  position: absolute;
  top: 45px;
  right: 0;
  background: #fff;
  border-radius: 8px;
  padding: 10px 0;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
  min-width: 150px;
  display: none;
  flex-direction: column;
  z-index: 1000;
  animation: dropdownFade 0.25s ease;
}

.user-menu.show {
  display: flex;
}

.user-menu a {
  padding: 10px 16px;
  color: #333;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.user-menu a:hover {
  background: #7dbb69;
  color: #fff;
  border-radius: 6px;
}

@keyframes dropdownFade {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}



header {
  background: #fff;
  border-bottom: 1px solid var(--gray);
  position: sticky;
  top: 0;
  z-index: 100;
}



/* HERO */
.hero {
  position: relative;
  background: url('../img/hero.jpg') center/cover no-repeat;
  height: 100vh;
  /* full screen height */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  padding: 0 20px;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}

.hero h1,
.hero p,
.hero a {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 2.8rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.1rem;
  text-align: center;
  color: #d9d9d9;
  margin-bottom: 2rem;
}

.hero .btn {
  background: #7eb36a;
  color: #fff;
  padding: 0.8rem 2rem;
  border-radius: 25px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease;
}

.hero .btn:hover {
  background: #649353;
}


/* FEATURES */
.features {
  background: #fff;
  padding: 10px 0;
  border-bottom: 1px solid var(--gray);
}

.feature-grid {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  text-align: center;
}

.feature i {
  font-size: 3rem;
  color: var(--brand);
  margin-bottom: 10px;
}

.feature h4 {
  font-weight: 600;
  margin-bottom: 6px;
}

.feature p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* PRODUCT GRID */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 20px;
}

.container h2 {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 2rem;
}

/* ======= PRODUCT CARD ======= */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

/* Card utama */
.product-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  position: relative;
  transition: all 0.3s ease;

}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

/* Gambar produk */
.product-image {
  position: relative;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card:hover img {
  transform: scale(1.05);
}

.product-card .info {
  padding: 18px 12px 25px;
}

.product-card .info h4 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.product-card .info p {
  color: #3b8a3d;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 14px;
}

/* Tombol Add to Cart di pojok kanan */
.add-to-cart-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #fff;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
  transition: all 0.25s ease;
  color: #333;
}

.add-to-cart-btn:hover {
  background-color: #4caf50;
  color: #fff;
  transform: scale(1.1);
}

.product-card:hover .add-to-cart-btn {
  opacity: 1;
  transform: translateY(0);
}

.add-to-cart-form {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

/* Info produk */
.product-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 15px 18px;
  text-align: left;
}

.product-info h1 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #1e1e1e;
}

.product-info h4 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: #222;
  margin-bottom: 6px;
}

.product-info a {
  color: #222 !important;
  text-decoration: none !important;
  font-weight: 600;
  transition: color 0.3s ease;
}

.product-info a:hover {
  color: #4caf50 !important;
  /* hijau natural */
}

.product-category {
  color: #777;
  font-size: 0.9rem;
  margin-top: 4px;
}

.product-price {
  font-weight: 700;
  color: #000;
  margin-top: 5px;
}

.product-info .product-category {
  font-size: 0.85rem;
  color: #777;
  margin-bottom: 8px;
}

.product-info .product-price {
  font-weight: 700;
  color: #111;
  font-size: 1rem;
}

/* ======= RESPONSIVE FIX ======= */
@media (max-width: 768px) {
  .product-card img {
    height: 200px;
  }

  .product-card .btn {
    font-size: 0.85rem;
    padding: 8px 18px;
  }
}


/* === PRODUCT DETAIL === */

.product-detail-section {
  margin-top: 100px;
  padding: 80px 0;
  font-family: 'Inter', sans-serif;
}

.breadcrumb {
  font-size: 0.9rem;
  margin-bottom: 20px;
  color: #666;
}

.breadcrumb a {
  text-decoration: none;
  color: #7eb36a;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.product-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.product-card {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.product-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card:hover img {
  transform: scale(1.05);
}

.product-card .info {
  padding: 15px;
  text-align: center;
}

.product-link {
  text-decoration: none;
  color: #222;
  transition: color 0.3s ease;
}

.product-link:hover {
  color: #7eb36a;
}

.price {
  font-size: 1.2rem;
  font-weight: 600;
  color: #2e7d32;
  margin-bottom: 15px;

}

.price .free-ship {
  font-size: 0.9rem;
  color: #7eb36a;
  font-weight: 500;
  margin-left: 10px;
}

.description {
  margin: 20px 0;
  color: #555;
  line-height: 1.6;
}

.quantity-box {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.quantity-box input {
  width: 60px;
  text-align: center;
  padding: 5px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.add-cart-btn {
  background: #7eb36a;
  color: #fff;
  padding: 10px 25px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.add-cart-btn:hover {
  background: #649353;
  transform: translateY(-1px);
}

.category {
  margin-top: 15px;
  color: #555;
}

.category span {
  color: #7eb36a;
  font-weight: 500;
}

.payment-icons img {
  margin-top: 15px;
  width: 150px;
  opacity: 0.85;
}

/* Responsive layout */
@media (max-width: 768px) {
  .product-detail-grid {
    grid-template-columns: 1fr;
  }

  .product-image img {
    height: 300px;
  }

  .add-to-cart-form {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* === RELATED PRODUCTS === */
.related-section {
  margin-top: 80px;
}

.related-section h2 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 1.8rem;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 25px;
}

.related-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  text-align: center;
  transition: all 0.3s ease;
}

.related-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.related-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.related-card .info {
  padding: 15px;
}

.related-card h4 {
  margin-bottom: 5px;
  color: #333;
}

.related-card p {
  color: #7eb36a;
  font-weight: 600;
  margin-bottom: 10px;
}

/* === BUTTON STYLES (GLOBAL) === */
.btn,
.btn-outline {
  display: inline-block;
  padding: 10px 25px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

/* Tombol utama hijau */
.btn {
  background-color: #7dbb69;
  color: #fff;
  border: none;
  padding: 11px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: all 0.25s ease-in-out;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

.btn:hover {
  background-color: #6aa85b;
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.15);
  transform: translateY(-1px);
}

/* Tombol outline hijau */
.btn-outline {
  background-color: transparent;
  border: 2px solid #7dbb69;
  color: #7dbb69;
  padding: 8px 10px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.3px;
  transition: all 0.25s ease-in-out;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.05);
}

.btn-outline:hover {
  background-color: #7dbb69;
  color: #fff;
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-1px);
}

@media (max-width: 600px) {
  .cart-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cart-actions .btn,
  .cart-actions .btn-outline {
    width: 100%;
    text-align: center;
  }
}

/* FLASH SALE */
.flash-sale {
  background: url('../img/about-hero.jpg') center/cover no-repeat;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  color: #fff;
  text-align: center;
  padding: 70px 20px;
  position: relative;
}

.flash-sale h3 {
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
}

.flash-sale p {
  max-width: 600px;
  margin: 0 auto 1.5rem;
}

.flash-sale .btn {
  background: var(--brand);
  padding: 0.8rem 1.8rem;
  color: #fff;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
}

.flash-sale .btn:hover {
  background: var(--brand-dark);
}

/* CATEGORY */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
}

.category-card {
  background: rgba(255, 255, 255, 0);
  /* lebih transparan, tanpa blur */
  border: 1px solid var(--white);
  border-radius: 20px;
  overflow: hidden;
  text-align: center;
  transition: all 0.3s;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

.category-card img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
}

.category-card h3 {
  padding: 15px 0;
  font-size: 1.1rem;
  font-weight: 600;
}

/* HIGHLIGHT SECTION */
.about-green {
  background-color: #f0f7e9;
  padding: 1rem 0;
}

.about-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
}

.about-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.about-content h2 {
  font-size: 2rem;
  color: #2e372e;
  margin-bottom: 1rem;
  line-height: 1.3;
  text-align: left;
}

.about-content p {
  color: #555;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.stats {
  display: flex;
  gap: 3rem;
}

.stat-item h3 {
  color: #2e372e;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.stat-item p {
  color: #666;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 900px) {
  .about-wrapper {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .stats {
    justify-content: center;
  }
}


/* TESTIMONIALS */
/* 🌿 TESTIMONIALS MODERN */
.testimonials {
  background-color: #f0f7e9;
  padding: 1rem 0;
  text-align: center;
}

.testimonials h2 {
  color: #2e372e;
  font-size: 2rem;
  font-weight: 700;
}

.testimonials .subtitle {
  color: #666;
  margin-bottom: 3rem;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  justify-content: center;
}

.testimonial-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  padding: 2rem;
  text-align: left;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
}

.testimonial-card .quote {
  font-size: 2rem;
  color: #6bbf59;
  display: block;
  margin-bottom: 1rem;
}

.testimonial-card p {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.client-info {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.client-info img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.client-info span {
  font-size: 0.9rem;
  font-weight: 600;
  color: #333;
}

/* Responsive */
@media (max-width: 768px) {
  .testimonials {
    padding: 3rem 1rem;
  }

  .testimonial-card {
    padding: 1.5rem;
  }
}


/* CTA */
.cta {
  background: url('../img/footer-banner.jpg') center/cover no-repeat;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  color: #fff;
  text-align: center;
  padding: 100px 20px;
  position: relative;
}

.cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.cta h2,
.cta p,
.cta a {
  position: relative;
  z-index: 1;
}

.cta h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.cta p {
  margin-bottom: 1.5rem;
}

.cta .btn {
  background: var(--brand);
  padding: 0.9rem 2rem;
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.cta .btn:hover {
  background: var(--brand-dark);
}

/* FOOTER */
footer {
  background: #eaf3e2;
  color: #1a1a1a;
  text-align: center;
  padding: 30px;
  font-size: 0.9rem;
  margin-top: 40px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.2rem;
  }

  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stats {
    flex-direction: column;
    gap: 1.5rem;
  }
}

/* PAGE HERO (SHOP, ABOUT, CONTACT) */
.page-hero {
  position: relative;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  text-align: center;
  color: #fff;
}

.page-hero .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.page-hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  z-index: 1;
  position: relative;
}

/* SHOP PAGE */
.shop-container {
  padding-top: 60px;
  padding-bottom: 60px;
}

.shop-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  font-size: 0.95rem;
  color: var(--muted);
}

.shop-header select {
  border: 1px solid var(--gray);
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 0.9rem;
}

.shop-header p {
  color: var(--muted);
}

/* FOOTER CTA (REUSED) already styled above */


/* === ABOUT 2 SECTION === */
.about2-intro {
  padding: 80px 0;
}

.about2-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}

.about2-image img {
  width: 70%;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.about-image img:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.about2-text h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.about2-text p {
  margin-bottom: 1rem;
  color: var(--muted);
}

/* Responsiveness */
@media (max-width: 992px) {
  .about2-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about2-text {
    order: 1;
  }

  .about2-image {
    order: 2;
  }

  .about2-image img {
    width: 100%;
    margin: 0 auto;
  }
}

/* 🔄 class untuk membalik posisi grid */
.reverse .about2-grid {
  grid-template-columns: 1fr 1.2fr;
}

.reverse .about2-grid {
  direction: rtl;
}

.reverse .about2-grid>* {
  direction: ltr;
}


/* 🌱 CORE VALUES */
.core-values {
  background-color: #eef8e5;
  text-align: center;
  padding: 5rem 1rem;
}

.core-values h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 2.5rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.value-item {
  background: #fff;
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.value-item i {
  font-size: 1.8rem;
  color: #6bbf59;
  margin-bottom: 1rem;
}


/* CONTACT PAGE */
/* =========================
   CONTACT PAGE - MODERN
========================= */

.contact-hero .contact-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
  padding: 40px 16px 10px;
}

.contact-hero .contact-hero-inner h1 {
  margin: 0;
  font-size: clamp(2rem, 3.6vw, 3rem);
  letter-spacing: .2px;
}

.contact-hero .contact-hero-inner p {
  margin: 12px auto 0;
  max-width: 720px;
  color: rgba(255, 255, 255, .88);
  line-height: 1.6;
}

.contact-modern {
  padding-top: 70px;
  padding-bottom: 80px;
}

/* cards area */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 10px;
}

.contact-card {
  background: #eef3ea;
  border: 1px solid rgba(0, 0, 0, .06);
  border-radius: 16px;
  padding: 22px 22px;
  text-align: center;
  transition: transform .18s ease, box-shadow .18s ease;
}

.contact-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .08);
}

.contact-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  margin: 0 auto 12px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .7);
  border: 1px solid rgba(0, 0, 0, .05);
}

.contact-card-icon i {
  color: var(--brand);
  font-size: 1.2rem;
}

.contact-card h3 {
  margin: 8px 0 8px;
  font-size: 1.05rem;
  color: #2b2b2b;
}

.contact-card p {
  margin: 0;
  color: #5b5b5b;
  line-height: 1.55;
  font-size: .95rem;
}

.contact-link {
  color: var(--brand-dark);
  text-decoration: none;
  font-weight: 700;
}

.contact-link:hover {
  text-decoration: underline;
}

/* make row 2 centered (2 cards) */
.contact-cards .contact-card:nth-child(4) {
  grid-column: 1 / span 1;
}

.contact-cards .contact-card:nth-child(5) {
  grid-column: 2 / span 1;
}

@media (min-width: 992px) {
  .contact-cards .contact-card:nth-child(4) {
    grid-column: 1 / span 1;
  }

  .contact-cards .contact-card:nth-child(5) {
    grid-column: 2 / span 1;
  }

  /* center row 2 under row 1 */
  .contact-cards {
    grid-auto-rows: 1fr;
  }

  .contact-cards .contact-card:nth-child(4) {
    grid-column: 1 / span 2;
  }

  .contact-cards .contact-card:nth-child(5) {
    grid-column: 3 / span 1;
  }

  /* biar proporsi mirip referensi: 2 card di tengah */
  .contact-cards .contact-card:nth-child(4),
  .contact-cards .contact-card:nth-child(5) {
    max-width: 720px;
    justify-self: center;
    width: 100%;
  }
}

/* form panel */
.contact-form-wrap {
  margin-top: 26px;
}

.contact-form-card {
  background: #fff;
  border: 1px solid var(--gray);
  border-radius: 18px;
  padding: 26px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .06);
}

.contact-form-head h2 {
  margin: 0 0 6px;
  font-size: 1.55rem;
}

.contact-form-head p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.6;
}

.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}

.contact-form label {
  font-weight: 700;
  color: #2b2b2b;
}

.contact-form input,
.contact-form textarea {
  border: 1px solid rgba(0, 0, 0, .12);
  border-radius: 12px;
  padding: 12px 12px;
  font-size: 1rem;
  font-family: inherit;
  outline: none;
  background: #fafafa;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(0, 0, 0, .25);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(0, 0, 0, .06);
}

.contact-submit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 800;
}

.contact-socials {
  margin-top: 14px;
  display: flex;
  gap: 10px;
}

.contact-socials a {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #f3f3f3;
  border: 1px solid rgba(0, 0, 0, .08);
  color: #222;
  transition: transform .15s ease, background .15s ease;
}

.contact-socials a:hover {
  transform: translateY(-1px);
  background: #fff;
}

/* maps */
.contact-maps {
  margin-top: 28px;
}

.maps-title {
  text-align: center;
  margin: 0 0 14px;
  color: var(--brand-dark);
  font-size: 1.35rem;
  letter-spacing: .2px;
}

.maps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.map-card {
  background: #fff;
  border: 1px solid var(--gray);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .06);
}

.map-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: #f6f7f6;
  border-bottom: 1px solid rgba(0, 0, 0, .06);
}

.map-card-head h3 {
  margin: 0;
  font-size: 1rem;
}

.map-badge {
  font-size: .78rem;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .06);
  color: #2b2b2b;
  font-weight: 800;
}

.map-frame iframe {
  display: block;
  width: 100%;
}

/* responsive */
@media (max-width: 992px) {
  .contact-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .maps-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .contact-modern {
    padding-top: 55px;
    padding-bottom: 70px;
  }

  .contact-cards {
    grid-template-columns: 1fr;
  }

  .contact-form .form-row {
    grid-template-columns: 1fr;
  }
}



/* CART PAGE */

input[type="number"]:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.cart-section {
  padding-top: 80px;
  padding-bottom: 80px;
}

.cart-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
}

.cart-table table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
}

.cart-table th {
  background: var(--soft);
  text-align: left;
  padding: 15px;
  font-weight: 600;
  border-bottom: 1px solid var(--gray);
}

.cart-table td {
  padding: 15px;
  border-bottom: 1px solid var(--gray);
  vertical-align: middle;
}

.cart-product {
  display: flex;
  align-items: center;
  gap: 15px;
}

.cart-product img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
}

.cart-table input[type="number"] {
  width: 60px;
  padding: 5px;
  border: 1px solid var(--gray);
  border-radius: 6px;
}

.cart-actions {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;

}


.cart-actions .btn,
.cart-actions .btn-outline {
  min-width: 100px;
}


/* CART SUMMARY */
.cart-summary {
  background-color: #f8faf8;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  height: fit-content;
}

.cart-summary h3 {
  font-size: 1.2rem;
  margin-bottom: 18px;
}

.summary-line,
.summary-total {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.summary-total {
  border-top: 1px solid #e5e5e5;
  padding-top: 12px;
  font-weight: 700;
}

/* Tombol checkout — ukuran lebih besar */
.checkout-btn {
  display: inline-block;
  width: 100%;
  text-align: center;
  background-color: #7dbb69;
  color: white;
  font-weight: 600;
  padding: 12px 0;
  border-radius: 25px;
  transition: all 0.25s ease-in-out;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.checkout-btn:hover {
  background-color: #6ba85b;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .cart-grid {
    grid-template-columns: 1fr;
  }
}

/* CHECKOUT PAGE */
/* === CHECKOUT PAGE (NEW, MATCH CART STYLE) === */

.checkout-container {
  max-width: 1100px;
  /* sama seperti .container & cart */
  margin: 0 auto;
  padding: 80px 20px;
}

.checkout-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  /* kiri form lebih lebar, kanan ringkasan */
  gap: 30px;
  align-items: flex-start;
}

/* Kartu kiri: form billing + shipping */
.checkout-form-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 24px 28px;
  border: 1px solid var(--gray);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  /* mirip card lain di site */
}

.section-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 18px;
}

/* Label & input form */
.form-label {
  display: block;
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 4px;
  color: #333;
}

.form-input {
  width: 100%;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid var(--gray);
  font-size: 0.95rem;
  font-family: inherit;
  margin-bottom: 12px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus {
  border-color: #7dbb69;
  /* hijau brand */
  box-shadow: 0 0 0 1px rgba(125, 187, 105, 0.35);
}

/* Kartu kanan: order summary – disamain dengan cart-summary */
.checkout-summary-card {
  background-color: #f8faf8;
  /* sama dengan .cart-summary */
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid #e5e7eb;
  height: fit-content;
}

.checkout-summary-card .section-title {
  margin-bottom: 14px;
}

/* isi summary */
.summary-items {
  margin-top: 6px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.summary-row span:last-child {
  font-weight: 500;
}

.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #e5e5e5;
  font-weight: 700;
  font-size: 1rem;
}

/* Tombol place order – disamain feel-nya dengan .checkout-btn di cart */
.place-order-btn {
  display: block;
  width: 100%;
  margin-top: 18px;
  padding: 12px 0;
  border-radius: 25px;
  border: none;
  background-color: #7dbb69;
  /* warna hijau cart */
  color: #fff;
  font-weight: 600;
  font-size: 0.98rem;
  cursor: pointer;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  transition: background-color 0.2s ease, box-shadow 0.2s ease,
    transform 0.1s ease;
}

.place-order-btn:hover {
  background-color: #6ba85b;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
  transform: translateY(-1px);
}

/* Text shipping saat belum dipilih */
#display-shipping {
  font-size: 0.9rem;
  color: #6b7280;
}

/* Responsive: stack jadi 1 kolom */
@media (max-width: 768px) {
  .checkout-container {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .checkout-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ============ CHECKOUT PAGE (MATCH CART STYLE) ============ */

/* wrapper utama, sama lebar dengan .container & .cart-section */
.checkout-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 20px;
  /* atas–bawah sama seperti cart-section */
}

/* layout 2 kolom: kiri form, kanan ringkasan */
.checkout-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  /* mirip .cart-grid */
  gap: 40px;
  align-items: flex-start;
}

/* kartu kiri – mirip card tabel cart */
.checkout-form-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 24px 26px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--gray);
}

/* judul di kartu */
.checkout-form-card .section-title,
.checkout-summary-card .section-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 18px;
}

/* label & input form */
.form-label {
  display: block;
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 4px;
  color: #333;
}

.form-input {
  width: 100%;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid var(--gray);
  font-size: 0.95rem;
  font-family: inherit;
  margin-bottom: 12px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus {
  border-color: #7dbb69;
  box-shadow: 0 0 0 1px rgba(125, 187, 105, 0.35);
}

/* kartu kanan – copy style dari .cart-summary */
.checkout-summary-card {
  background-color: #f8faf8;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  height: fit-content;
}

/* baris ringkasan */
.summary-items {
  margin-top: 6px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.summary-row span:last-child {
  font-weight: 500;
}

/* total di bawah – mirip .summary-total di cart */
.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1px solid #e5e5e5;
  font-weight: 700;
  font-size: 1rem;
}

/* text shipping saat belum dipilih */
#display-shipping {
  font-size: 0.9rem;
  color: #6b7280;
}

/* tombol Place Order – mirip .checkout-btn di cart */
.place-order-btn {
  display: inline-block;
  width: 100%;
  text-align: center;
  background-color: #7dbb69;
  color: #fff;
  font-weight: 600;
  padding: 12px 0;
  border-radius: 25px;
  border: none;
  cursor: pointer;
  margin-top: 18px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  transition: all 0.25s ease-in-out;
}

.place-order-btn:hover {
  background-color: #6ba85b;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transform: translateY(-1px);
}

/* responsive: tumpuk jadi 1 kolom */
@media (max-width: 768px) {
  .checkout-container {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .checkout-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ============ CHECKOUT PAGE (MATCH CART STYLE) ============ */

/* wrapper utama, sama lebar dengan cart */
.checkout-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 20px;
}

/* layout 2 kolom: kiri form, kanan ringkasan */
.checkout-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  /* sama seperti .cart-grid */
  gap: 40px;
  align-items: flex-start;
}

/* kartu kiri: form billing + shipping */
.checkout-form-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 24px 26px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--gray);
}

/* judul di kartu */
.checkout-form-card .section-title,
.checkout-summary-card .section-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 18px;
}

/* label dan input form */
.form-label {
  display: block;
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 4px;
  color: #333;
}

.form-input {
  width: 100%;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid var(--gray);
  font-size: 0.95rem;
  font-family: inherit;
  margin-bottom: 12px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus {
  border-color: #7dbb69;
  box-shadow: 0 0 0 1px rgba(125, 187, 105, 0.35);
}

/* kartu kanan: order summary – mirip .cart-summary */
.checkout-summary-card {
  background-color: #f8faf8;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid #e5e7eb;
  height: fit-content;
}

/* isi ringkasan */
.summary-items {
  margin-top: 6px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.summary-row span:last-child {
  font-weight: 500;
}

/* total di bawah */
.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1px solid #e5e5e5;
  font-weight: 700;
  font-size: 1rem;
}

/* text shipping saat belum dipilih */
#display-shipping {
  font-size: 0.9rem;
  color: #6b7280;
}

/* tombol Place Order – mirip checkout-btn di cart */
.place-order-btn {
  display: inline-block;
  width: 100%;
  text-align: center;
  background-color: #7dbb69;
  color: #fff;
  font-weight: 600;
  padding: 12px 0;
  border-radius: 25px;
  border: none;
  cursor: pointer;
  margin-top: 18px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  transition: all 0.25s ease-in-out;
}

.place-order-btn:hover {
  background-color: #6ba85b;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transform: translateY(-1px);
}

/* responsive: tumpuk 1 kolom di mobile */
@media (max-width: 768px) {
  .checkout-container {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .checkout-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}


/* ORDER SUMMARY */
.order-summary {
  background: #fff;
  border: 1px solid var(--gray);
  border-radius: 12px;
  padding: 25px;
  height: fit-content;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.05);
}

.order-summary h3 {
  margin-bottom: 1.2rem;
}

.order-summary table {
  width: 100%;
  border-collapse: collapse;
}

.order-summary td {
  padding: 10px 0;
  border-bottom: 1px solid var(--gray);
}

.order-summary .summary-line td {
  font-size: 0.95rem;
}

.order-summary .summary-total td {
  border-top: 2px solid var(--gray);
  padding-top: 10px;
  font-size: 1.1rem;
  font-weight: 600;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .checkout-grid {
    grid-template-columns: 1fr;
  }
}

/* GLOBAL ALERT */
.global-alert {
  max-width: 1100px;
  margin: 20px auto;
  padding: 12px 16px;
  border-radius: 8px;
  font-weight: 500;
  text-align: center;
  animation: fadeIn 0.4s ease;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.global-alert.success {
  background: #dcfce7;
  border: 1px solid #86efac;
  color: #166534;
}

.global-alert.error {
  background: #fee2e2;
  border: 1px solid #fca5a5;
  color: #991b1b;
}

.global-alert.hide {
  opacity: 0;
  transform: translateY(-20px);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === BACK TO TOP BUTTON === */
#backToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  background: #7eb36a;
  color: #fff;
  border: none;
  outline: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease;
}

#backToTop:hover {
  background: #649353;
  transform: translateY(-3px);
}

/* === MODERN TOAST NOTIFICATION === */
.toast {
  position: fixed;
  top: 20px;
  right: -400px;
  min-width: 320px;
  max-width: 380px;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 20px;
  border-radius: 12px;
  font-weight: 500;
  font-size: 0.95rem;
  color: #fff;
  z-index: 9999;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  transition: right 0.4s ease, opacity 0.4s ease;
  opacity: 0;
}

.toast.show {
  right: 25px;
  opacity: 1;
}

.toast.success {
  background: linear-gradient(135deg, #7eb36a, #5b8f4b);
}

.toast.error {
  background: linear-gradient(135deg, #ef4444, #b91c1c);
}

.toast-icon i {
  font-size: 1.5rem;
}

.toast-message {
  flex: 1;
  line-height: 1.4;
}

.toast-close {
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.toast-close:hover {
  opacity: 1;
}

.toast.info {
  background: linear-gradient(135deg, #3b82f6, #1e40af);
}

.toast.warning {
  background: linear-gradient(135deg, #f59e0b, #b45309);
}

.auth-container {
  max-width: 400px;
  margin: 6rem auto;
  background: #fff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.auth-container h2 {
  text-align: center;
  margin-bottom: 1.5rem;
  color: #2e372e;
}

.auth-container label {
  display: block;
  margin-bottom: 0.3rem;
  color: #555;
  font-weight: 600;
}

.auth-container input {
  width: 100%;
  padding: 0.7rem;
  margin-bottom: 1rem;
  border-radius: 8px;
  border: 1px solid #ccc;
}

.auth-container button {
  width: 100%;
  background-color: #6bbf59;
  color: #fff;
  border: none;
  padding: 0.8rem;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
}

.auth-container button:hover {
  background-color: #58a24b;
}

.alert {
  padding: 0.8rem;
  border-radius: 6px;
  margin-bottom: 1rem;
  text-align: center;
}

.alert-success {
  background-color: #e0f5e0;
  color: #2e7d32;
}

.alert-danger {
  background-color: #fdecea;
  color: #b71c1c;
}

.auth-body {
  background-color: #f5f7f4;
  font-family: 'Poppins', sans-serif;
  margin: 0;
}

.auth-wrapper {
  display: flex;
  min-height: 100vh;
}

.auth-left {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}

.auth-right {
  flex: 1;
}

.auth-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.auth-form {
  width: 80%;
  max-width: 400px;
}

.auth-form h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: #2e372e;
}

.auth-form p {
  color: #555;
  margin-bottom: 2rem;
}

.auth-form input {
  width: 100%;
  padding: 12px;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  background: #f9fbf8;
}

.auth-form button {
  width: 100%;
  padding: 12px;
  background-color: #6bbf59;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.auth-form button:hover {
  background-color: #5ca24c;
}

.auth-footer {
  text-align: center;
  margin-top: 1.5rem;
}

.auth-footer a {
  color: #6bbf59;
  font-weight: 500;
  text-decoration: none;
}

.auth-footer a:hover {
  text-decoration: underline;
}

.nav-user {
  position: relative;
}

.user-icon {
  color: #ffffff;
  font-size: 1.3rem;
  cursor: pointer;
  padding: 6px;
  transition: 0.3s;
}

.user-icon:hover {
  color: #6bbf59;
}

.user-menu {
  position: absolute;
  right: 0;
  top: 35px;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  display: none;
  flex-direction: column;
  min-width: 140px;
}

.user-menu a {
  padding: 10px 15px;
  color: #333;
  text-decoration: none;
  display: block;
  transition: 0.2s;
}

.user-menu a:hover {
  background-color: #f1f5f1;
  color: #6bbf59;
}

.user-menu.active {
  display: flex;
}

/* tombol hapus item (X) modern */
.btn-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: #f1f3f0;
  color: #7b7b7b;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.25s ease;
  border: 1px solid #dcdcdc;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.btn-remove:hover {
  background-color: #ffefef;
  border-color: #f5b8b8;
  color: #e74c3c;
  transform: scale(1.15);
  box-shadow: 0 4px 10px rgba(231, 76, 60, 0.2);
}

.my-orders {
  padding: 60px 0;
}

.table-orders {
  width: 100%;
  border-collapse: collapse;
}

.table-orders th, .table-orders td {
  padding: 10px;
  border-bottom: 1px solid #eee;
  text-align: left;
}

.table-orders th {
  background: #f5f5f5;
  font-weight: 600;
}

.order-detail {
  padding: 60px 0;
}

.badge {
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  text-transform: capitalize;
}

.status-pending {
  background: #fff8e1;
  color: #d17a00;
}

.status-processing {
  background: #e3f2fd;
  color: #0d47a1;
}

.status-shipped {
  background: #e8f5e9;
  color: #2e7d32;
}

.status-completed {
  background: #c8e6c9;
  color: #2e7d32;
}

.status-cancelled {
  background: #ffebee;
  color: #c62828;
}

.account-section {
  padding: 80px 0;
}

.account-section h1 {
  margin-bottom: 30px;
  text-align: center;
  font-weight: 600;
}

.orders-section {
  padding: 80px 0;
}

.orders-section h1 {
  text-align: center;
  margin-bottom: 30px;
  font-weight: 700;
}

.orders-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 auto;
  max-width: 800px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.orders-table th, .orders-table td {
  padding: 15px 20px;
  text-align: left;
}

.orders-table th {
  background: #7dbb69;
  color: white;
  font-weight: 600;
}

.orders-table tr:nth-child(even) {
  background: #f9f9f9;
}

.orders-table tr:hover {
  background: #eef7ee;
  transition: 0.3s ease;
}

/* === MY ORDERS SECTION === */
.orders-section {
  margin-top: 120px;
  padding: 60px 20px 100px;
  background: #fafafa;
  min-height: 100vh;
  font-family: 'Inter', sans-serif;
}

.orders-section h1 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2rem;
  font-weight: 700;
  color: #2c3e50;
}

/* === TABLE STYLING === */
.orders-table {
  width: 100%;
  max-width: 950px;
  margin: 0 auto;
  border-collapse: collapse;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.orders-table th {
  background: linear-gradient(135deg, #7dbb69, #6aa85c);
  color: #fff;
  text-align: left;
  font-weight: 600;
  padding: 16px 22px;
  font-size: 0.95rem;
  letter-spacing: 0.4px;
}

.orders-table td {
  padding: 16px 22px;
  border-bottom: 1px solid #f1f1f1;
  color: #333;
  font-size: 0.93rem;
}

.orders-table tr:hover {
  background: #f7fa
}

/* ==== MY ORDERS PAGE ==== */
.account-orders {
  padding: 100px 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.account-orders h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  color: #1e1e1e;
  margin-bottom: 40px;
}

.no-orders {
  text-align: center;
  font-size: 1.1rem;
  color: #666;
}

.no-orders a {
  color: #7eb36a;
  font-weight: 600;
  text-decoration: none;
}

.no-orders a:hover {
  text-decoration: underline;
}

/* Table styling */
.orders-table-wrapper {
  margin: 0 auto;
  max-width: 1000px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.07);
  overflow: hidden;
  transition: all 0.3s ease-in-out;
}

.orders-table-wrapper:hover {
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.1);
}

.orders-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.orders-table th,
.orders-table td {
  padding: 15px 20px;
  border-bottom: 1px solid #eee;
}

.orders-table th {
  background: linear-gradient(135deg, #78b15e, #6aa85c);
  color: #fff;
  padding: 18px 24px;
  text-align: left;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  font-weight: 600;
}

.orders-table td {
  padding: 16px 24px;
  border-bottom: 1px solid #f1f1f1;
  vertical-align: middle;
  font-size: 0.95rem;
  color: #333;
}

/* Hover effect untuk baris */
.orders-table tr:hover {
  background-color: #f7fbf6;
  transition: background 0.3s ease;
}

/* Status badge yang lebih elegan */
.status {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 25px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: capitalize;
  letter-spacing: 0.3px;
}

.status.pending {
  background: rgba(255, 193, 7, 0.2);
  color: #a07900;
}

.status.processing {
  background: rgba(13, 110, 253, 0.15);
  color: #0d6efd;
}

.status.shipped {
  background: rgba(111, 66, 193, 0.15);
  color: #6f42c1;
}

.status.complete {
  background: rgba(25, 135, 84, 0.15);
  color: #198754;
}

.status.cancelled {
  background: rgba(220, 53, 69, 0.15);
  color: #dc3545;
}

/* View Button Modern */
.btn-view {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #7eb36a;
  color: #fff;
  padding: 8px 18px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.25s ease-in-out;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.btn-view:hover {
  background: #6fa55b;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Responsiveness */
@media (max-width: 768px) {
  .orders-table th, .orders-table td {
    padding: 12px 16px;
    font-size: 0.85rem;
  }

  .btn-view {
    padding: 6px 14px;
    font-size: 0.85rem;
  }
}

/* === MODERN ORDER PAGE FIX (FINAL PRIORITY) === */
.orders-wrapper {
  background: #fff;
  padding: 40px;
  max-width: 950px;
  margin: 60px auto;
  border-radius: 20px;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.05);
}

/* Header */
.orders-section h1 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2rem;
  font-weight: 700;
  color: #2c3e50;
}

/* Table */
.orders-wrapper .orders-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 12px;
  overflow: hidden;
}

.orders-wrapper .orders-table th {
  background: linear-gradient(135deg, #7dbb69, #6aa85c);
  color: #fff;
  padding: 14px 18px;
  text-align: left;
  font-weight: 600;
  font-size: 0.95rem;
}

.orders-wrapper .orders-table td {
  padding: 14px 18px;
  border-bottom: 1px solid #f3f3f3;
  font-size: 0.95rem;
  color: #444;
}

.orders-wrapper .orders-table tr:hover {
  background-color: #f7fdf8;
}

/* Status badge */
.orders-wrapper .status {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: capitalize;
}

.orders-wrapper .status.pending {
  background: rgba(255, 193, 7, 0.15);
  color: #b58900;
}

/* Button */
.orders-wrapper .btn-view {
  display: inline-block;
  background: #7eb36a;
  color: white;
  font-size: 0.85rem;
  padding: 8px 20px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  transition: all 0.25s ease;
}

.orders-wrapper .btn-view:hover {
  background: #6aa15c;
  transform: translateY(-2px);
}

/* === ORDER DETAIL PAGE === */
.order-detail-wrapper {
  max-width: 950px;
  margin: 80px auto;
  padding: 40px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.05);
}

.order-detail-wrapper h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 25px;
  text-align: center;
}

.order-summary {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  color: #444;
  font-size: 0.95rem;
}

.order-items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.order-item-card {
  background: #f8fdf8;
  border: 1px solid #e3f2e3;
  border-radius: 14px;
  padding: 15px;
  text-align: center;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.04);
}

.order-item-card img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 10px;
}

.order-item-card h4 {
  font-size: 1rem;
  margin-bottom: 5px;
  font-weight: 600;
  color: #2e2e2e;
}

.order-item-card p {
  color: #555;
  font-size: 0.9rem;
}

.back-to-orders {
  display: inline-block;
  margin-top: 25px;
  color: #7eb36a;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.2s;
}

.back-to-orders:hover {
  text-decoration: underline;
}

/* === REFINEMENT: ORDERS TABLE LAYOUT === */
.orders-section {
  margin-top: 120px;
  padding: 60px 0 100px;
  background: #fafafa;
  min-height: 100vh;
}

.orders-table-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.orders-table {
  width: 100%;
  border-collapse: collapse;
}

.orders-table th {
  background: linear-gradient(135deg, #6aa85c, #7dbb69);
  color: #fff;
  font-weight: 600;
  text-align: left;
  padding: 16px 20px;
  font-size: 0.95rem;
}

.orders-table td {
  padding: 16px 20px;
  border-bottom: 1px solid #f1f1f1;
  color: #333;
}

.orders-table tr:last-child td {
  border-bottom: none;
}

.orders-table tr:hover {
  background-color: #f9fbf9;
  transition: background 0.3s ease;
}

/* Center table nicely inside its container */
.orders-table-wrapper table {
  width: 100%;
}

/* === ORDER DETAIL FIX === */
.order-detail {
  max-width: 900px;
  margin: 0 auto;
  padding: 80px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.order-detail h2 {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.order-detail p {
  color: #333;
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.order-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 30px;
}

.order-item-card {
  display: flex;
  align-items: center;
  gap: 25px;
  background: #f9f9f9;
  border-radius: 12px;
  padding: 15px 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.order-item-card img {
  width: 140px;
  height: 140px;
  border-radius: 10px;
  object-fit: cover;
}

.order-item-info h4 {
  margin-bottom: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #2c3e50;
}

.order-item-info p {
  margin-bottom: 4px;
  font-size: 0.95rem;
  color: #555;
}

/* Responsive */
@media (max-width: 768px) {
  .order-item-card {
    flex-direction: column;
    text-align: center;
  }

  .order-item-card img {
    width: 100%;
    height: 200px;
  }
}

/*end order */
.btn-outline {
  display: inline-block;
  margin-top: 30px;
  border: 2px solid #7dbb69;
  padding: 8px 20px;
  border-radius: 999px;
  color: #7dbb69;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background: #7dbb69;
  color: #fff;
}

/* === STATUS BADGE === */
.status-badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: capitalize;
}

.status-badge.status-pending {
  background: rgba(255, 193, 7, 0.15);
  color: #b58900;
}

.status-badge.status-processing {
  background: rgba(13, 110, 253, 0.15);
  color: #0d6efd;
}

.status-badge.status-shipped {
  background: rgba(102, 16, 242, 0.15);
  color: #6610f2;
}

.status-badge.status-complete {
  background: rgba(25, 135, 84, 0.15);
  color: #198754;
}


/* === ABOUT PREVIEW (REPLACES TRENDING PRODUCTS) === */
.about-preview {
  padding: 100px 20px;
  text-align: center;
  background: #f8fdf7;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  margin-top: 100px;
  margin-bottom: 120px;
}

.about-box {
  max-width: 850px;
  margin: 0 auto;
}

.about-box h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #2e7d32;
  margin-bottom: 15px;
}

.about-box p {
  color: #555;
  line-height: 1.7;
  font-size: 1.05rem;
  margin-bottom: 20px;
}

.about-box .btn-outline {
  display: inline-block;
  padding: 12px 30px;
  border: 2px solid #7dbb69;
  color: #7dbb69;
  font-weight: 600;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.about-box .btn-outline:hover {
  background: #7dbb69;
  color: #fff;
  transform: translateY(-2px);
}

.about-company .about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
  margin-top: 80px;
}

.about-company .about-text h2 {
  font-size: 2rem;
  color: #2e7d32;
  margin-bottom: 15px;
}

.about-company .about-text p {
  color: #555;
  line-height: 1.7;
  margin-bottom: 15px;
}


/* ===================== CHECKOUT PAGE (FINAL) ===================== */

.checkout-section {
  padding-top: 80px;
  padding-bottom: 80px;
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  /* kiri form, kanan ringkasan */
  gap: 40px;
  align-items: flex-start;
}

/* CARD KIRI: BILLING + SHIPPING */
.billing-details {
  background: #ffffff;
  border-radius: 16px;
  padding: 24px 28px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
}

.billing-details h2 {
  font-size: 1.7rem;
  margin-bottom: 1.2rem;
}

/* form di dalam card kiri */
.billing-details form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* semua input / select / textarea di dalam billing-details */
.billing-details input,
.billing-details select,
.billing-details textarea {
  border: 1px solid var(--gray);
  border-radius: 8px;
  padding: 10px;
  font-size: 1rem;
  font-family: inherit;
  width: 100%;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.billing-details input:focus,
.billing-details select:focus,
.billing-details textarea:focus {
  border-color: #7dbb69;
  box-shadow: 0 0 0 1px rgba(125, 187, 105, 0.35);
}

.payment-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 15px;
}

/* CARD KANAN: ORDER SUMMARY (sudah mirip cart, kita rapikan sedikit) */
.order-summary {
  background-color: #ffffff;
  border-radius: 16px;
  padding: 24px 26px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
  border: 1px solid #e5e7eb;
  height: fit-content;
}

.order-summary h3 {
  margin-top: 0;
  margin-bottom: 16px;
  font-size: 1.3rem;
  font-weight: 600;
}

.order-summary table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.order-summary td {
  padding: 6px 0;
}

.order-summary .summary-total td {
  border-top: 1px solid #e5e7eb;
  padding-top: 10px;
  font-weight: 700;
}

/* teks shipping */
#display-shipping {
  font-size: 0.9rem;
  color: #6b7280;
}

/* TOMBOL PLACE ORDER – full width, horizontal, hijau */
.order-summary .place-order {
  display: block;
  width: 100%;
  margin-top: 18px;
  padding: 10px 0;
  border-radius: 999px;
  border: none;
  background: var(--brand);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease;
}

.order-summary .place-order:hover {
  background: var(--brand-dark);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
  transform: translateY(-1px);
}

/* RESPONSIVE: SATU KOLOM DI MOBILE */
@media (max-width: 768px) {
  .checkout-section {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .checkout-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ================== MY ORDERS PAGE (FRONTEND) ================== */

.account-orders-wrapper {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 16px;
}

.account-orders-header h1 {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
}

.account-orders-header p {
  margin: 4px 0 16px;
  color: #6b7280;
  font-size: 14px;
}

/* Alert */
.ao-alert {
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 14px;
  margin-bottom: 14px;
}

.ao-alert-success {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #22c55e;
}

.ao-alert-error {
  background: #fee2e2;
  color: #b91c1c;
  border: 1px solid #ef4444;
}

/* Empty state */
.ao-empty-state {
  text-align: center;
  padding: 40px 20px;
  background: #f9fafb;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
}

.ao-empty-icon {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  margin: 0 auto 10px;
  background: #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
  font-size: 24px;
}

.ao-empty-state h3 {
  margin: 8px 0 4px;
}

/* Buttons (base) */
.ao-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none;
  transition: .15s ease;
  white-space: nowrap;
}

.ao-btn-primary {
  background: #22c55e;
  color: #ffffff;
  border-color: #16a34a;
}

.ao-btn-primary:hover {
  background: #16a34a;
}

.ao-btn-outline {
  background: #ffffff;
  color: #16a34a;
  border-color: #22c55e;
}

.ao-btn-outline:hover {
  background: #dcfce7;
}

.ao-btn-disabled {
  background: #e5e7eb;
  color: #9ca3af;
  border-color: #e5e7eb;
  cursor: not-allowed;
}

/* Buttons variants baru */
.ao-btn-success {
  background: #22c55e;
  color: #ffffff;
  border-color: #16a34a;
}

.ao-btn-success:hover {
  background: #16a34a;
}

.ao-btn-warning {
  background: #f97316;
  color: #ffffff;
  border-color: #ea580c;
}

.ao-btn-warning:hover {
  background: #ea580c;
}

/* biar form konfirmasi inline dengan tombol lain */
.ao-inline-form {
  display: inline-block;
  margin: 0;
}

/* List cards */
.ao-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.ao-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  padding: 16px 18px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}

.ao-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.ao-order-id {
  font-weight: 600;
  font-size: 14px;
}

.ao-order-date {
  font-size: 12px;
  color: #6b7280;
}

/* Badge status */
.ao-badge {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
}

.ao-badge-pending {
  background: #fef9c3;
  color: #92400e;
}

.ao-badge-processing {
  background: #e0f2fe;
  color: #1d4ed8;
}

.ao-badge-shipped {
  background: #dcfce7;
  color: #166534;
}

.ao-badge-completed {
  background: #ccfbf1;
  color: #0f766e;
}

.ao-badge-cancelled {
  background: #fee2e2;
  color: #b91c1c;
}

/* status retur */
.ao-badge-return {
  background: #fef3c7;
  color: #92400e;
}

/* middle */
.ao-card-middle {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  margin-top: 12px;
}

.ao-info-block {
  min-width: 200px;
  font-size: 13px;
  color: #374151;
}

.ao-info-block p {
  margin: 3px 0;
}

.ao-info-block span {
  display: inline-block;
  width: 90px;
  color: #6b7280;
}

.ao-info-total {
  text-align: right;
  min-width: 160px;
}

.ao-info-total div {
  font-size: 12px;
  color: #6b7280;
}

.ao-info-total h3 {
  margin: 4px 0 0;
  font-size: 18px;
  color: #16a34a;
}

/* bottom */
.ao-card-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 12px;
}

/* tracking result */
.ao-tracking-result {
  margin-top: 10px;
  font-size: 13px;
}

.ao-tracking-box {
  background: #f9fafb;
  border-radius: 12px;
  padding: 10px 12px;
  border: 1px solid #e5e7eb;
}

.ao-tracking-box h4 {
  margin: 0 0 6px;
  font-size: 14px;
}

.ao-text-error {
  color: #b91c1c;
}

.ao-text-muted {
  color: #6b7280;
  font-size: 13px;
}

@media (max-width: 640px) {
  .account-orders-wrapper {
    margin-top: 24px;
  }

  .ao-card-middle {
    flex-direction: column;
    align-items: flex-start;
  }

  .ao-info-total {
    text-align: left;
  }

  .ao-card-bottom {
    justify-content: flex-start;
  }
}

/* ================== ORDER DETAIL PAGE (FRONTEND) ================== */

.od-wrapper {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 16px;
}

.od-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.od-header h1 {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
}

.od-header p {
  margin: 2px 0 0;
  color: #6b7280;
  font-size: 14px;
}

/* badge */
.od-badge {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

.od-badge-pending {
  background: #fef9c3;
  color: #92400e;
}

.od-badge-processing {
  background: #e0f2fe;
  color: #1d4ed8;
}

.od-badge-shipped {
  background: #dcfce7;
  color: #166534;
}

.od-badge-completed {
  background: #ccfbf1;
  color: #0f766e;
}

.od-badge-cancelled {
  background: #fee2e2;
  color: #b91c1c;
}

.od-badge-return {
  background: #fef3c7;
  color: #92400e;
}

/* grid */
.od-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}

.od-panel {
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.06);
}

.od-panel h3 {
  margin: 0;
  padding: 12px 14px 6px;
  font-size: 16px;
  font-weight: 600;
}

.od-panel-body {
  padding: 0 14px 12px;
  font-size: 14px;
}

.od-panel-body p {
  margin: 4px 0;
}

.od-panel-body span {
  display: inline-block;
  width: 100px;
  color: #6b7280;
}

/* panel full width */
.od-panel-full {
  margin-top: 4px;
}

/* table items */
.od-table-wrapper {
  overflow: auto;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
}

.od-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.od-table thead {
  background: #e5e7eb;
}

.od-table th,
.od-table td {
  padding: 8px 10px;
  text-align: left;
}

.od-table tbody tr:nth-child(even) {
  background: #f9fafb;
}

/* footer actions */
.od-footer-actions {
  margin-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.od-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
  transition: .15s ease;
}

.od-btn-primary {
  background: #22c55e;
  color: #ffffff;
  border-color: #16a34a;
}

.od-btn-primary:hover {
  background: #16a34a;
}

.od-btn-outline {
  background: #ffffff;
  color: #16a34a;
  border-color: #22c55e;
}

.od-btn-outline:hover {
  background: #dcfce7;
}

/* tombol baru di detail */
.od-btn-success {
  background: #22c55e;
  color: #ffffff;
  border-color: #16a34a;
}

.od-btn-success:hover {
  background: #16a34a;
}

.od-btn-warning {
  background: #f97316;
  color: #ffffff;
  border-color: #ea580c;
}

.od-btn-warning:hover {
  background: #ea580c;
}

/* tracking */
.od-tracking-box {
  margin-top: 12px;
}

.od-tracking-inner {
  background: #f1f5f9;
  border-radius: 12px;
  padding: 10px 12px;
  border: 1px solid #e5e7eb;
}

.od-tracking-inner h4 {
  margin: 0 0 6px;
  font-size: 14px;
}

.od-text-muted {
  color: #6b7280;
  font-size: 13px;
}

.od-text-error {
  color: #b91c1c;
  font-size: 13px;
}

/* retur section */
.od-return-section {
  margin-top: 16px;
}

.od-return-form {
  margin-top: 10px;
}

.od-return-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 4px;
}

.od-return-textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  padding: 8px 10px;
  font-size: 14px;
  font-family: inherit;
  resize: vertical;
  margin-bottom: 8px;
}

.od-return-textarea:focus {
  outline: none;
  border-color: #22c55e;
  box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.25);
}

/* inline form di detail (konfirmasi terima) */
.od-inline-form {
  display: inline-block;
  margin-right: 10px;
}

@media(max-width:640px) {
  .od-wrapper {
    margin-top: 24px;
  }

  .od-footer-actions {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ====== MODAL KONFIRMASI PESANAN DITERIMA ====== */

.order-confirm-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.35);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.order-confirm-backdrop.is-visible {
  display: flex;
}

.order-confirm-modal {
  width: 100%;
  max-width: 420px;
  background: #ffffff;
  border-radius: 18px;
  padding: 20px 22px 18px;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.25);
  animation: oc-fade-in 0.18s ease-out;
}

.order-confirm-modal h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
}

.order-confirm-modal p {
  margin: 0 0 16px;
  font-size: 14px;
  color: #4b5563;
}

.order-confirm-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

/* Buttons dalam modal */
.oc-btn {
  border-radius: 999px;
  font-size: 14px;
  padding: 8px 16px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.15s ease-in-out;
}

.oc-btn-primary {
  background: #22c55e;
  color: #ffffff;
  border-color: #16a34a;
}

.oc-btn-primary:hover {
  background: #16a34a;
}

.oc-btn-secondary {
  background: #e5e7eb;
  color: #111827;
  border-color: #e5e7eb;
}

.oc-btn-secondary:hover {
  background: #d1d5db;
}

/* Animasi kecil biar enak dilihat */
@keyframes oc-fade-in {
  from {
    transform: translateY(-6px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* ===== Order Detail: pill + highlight + modal review ===== */
.od-pill {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  background: #eef2ff;
  color: #3730a3;
  font-weight: 600;

}

.od-pill-done {
  background: #dcfce7;
  color: #166534;
}

.od-btn-sm {
  padding: 6px 10px;
  font-size: 12px;
  border-radius: 999px;
}

.od-return-section.is-highlight {
  border: 2px solid rgba(34, 197, 94, .45) !important;
  box-shadow: 0 0 0 6px rgba(34, 197, 94, .12) !important;
}

/* modal review */
.od-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .45);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 16px;
}

.od-modal-backdrop.is-visible {
  display: flex;
}

.od-modal {
  width: min(520px, 100%);
  background: #fff;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .25);
}

.od-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.od-modal-close {
  border: none;
  background: transparent;
  font-size: 22px;
  cursor: pointer;
  line-height: 1;
}

/* ==============================
   SHOP (Modern)
================================ */
.shop-header-modern {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin: 24px 0 18px;
}

.shop-results {
  margin: 0;
  font-size: 14px;
}

.shop-sub {
  margin: 6px 0 0;
  color: #6b7280;
  font-size: 13px;
}

.shop-sort {
  padding: 10px 12px;
  border: 1px solid var(--gray);
  border-radius: 12px;
  background: #fff;
}

.product-grid-modern {
  gap: 22px;
}

.product-card-modern {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06);
  background: #fff;
}

.product-image-modern {
  position: relative;
}

.product-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  gap: 8px;
  z-index: 2;
}

.badge-soft {
  font-size: 12px;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(8px);
}

.badge-rating {
  background: rgba(255, 255, 255, 0.85);
}

.badge-new {
  background: rgba(255, 255, 255, 0.85);
  color: #166534;
}

.add-to-cart-btn-modern {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-info-modern {
  padding: 14px 14px 16px;
}

.product-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.product-rating-compact .stars {
  letter-spacing: 1px;
  font-size: 12px;
}

.product-rating-compact .rating-text {
  font-size: 12px;
  color: #6b7280;
}

.product-rating-compact .rating-count {
  margin-left: 4px;
}

.product-bottomline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
}

.product-detail-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--brand);
  text-decoration: none;
}

.product-detail-link:hover {
  text-decoration: underline;
}

/* ==============================
   PRODUCT DETAIL (Modern)
================================ */
.product-detail-modern .product-detail-grid-modern {
  gap: 28px;
  align-items: start;
}

.product-image-detail .product-image-frame {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 12px;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06);
}

.pd-title {
  margin: 0;
}

.pd-title-wrap {
  margin-bottom: 8px;
}

.product-rating-detail {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}

.product-rating-detail .stars {
  letter-spacing: 1px;
}

.product-rating-detail .rating-text {
  color: #6b7280;
  font-size: 13px;
}

.product-rating-detail .rating-count {
  margin-left: 6px;
}

.pd-short-desc {
  margin-top: 10px;
  color: #374151;
  line-height: 1.6;
}

.add-to-cart-form-modern {
  margin-top: 14px;
  display: flex;
  gap: 12px;
  align-items: flex-end;
  flex-wrap: wrap;
}

.quantity-box-modern label {
  display: block;
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 6px;
}

.quantity-box-modern input {
  width: 110px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--gray);
  background: #fff;
}

.add-cart-btn-modern {
  border-radius: 999px;
  padding: 12px 18px;
}

.payment-icons-modern img {
  opacity: 0.95;
}

/* Tabs modern */
.tab-modern {
  margin-top: 26px;
}

.tabs-modern {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.tab-btn {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: #fff;
  cursor: pointer;
  font-weight: 700;
  font-size: 13px;
}

.tab-btn.is-active {
  border-color: rgba(125, 187, 105, .5);
  box-shadow: 0 0 0 5px rgba(125, 187, 105, .12);
}

.tab-panels .tab-panel {
  display: none;
}

.tab-panels .tab-panel.is-active {
  display: block;
}

.tab-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06);
}

.tab-title {
  margin: 0 0 8px;
  font-size: 16px;
}

.tab-text {
  margin: 0;
  color: #374151;
  line-height: 1.7;
}

.review-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.review-summary {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #6b7280;
  font-size: 13px;
}

.review-empty .muted {
  color: #6b7280;
  margin-top: 6px;
}

.review-list {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.review-item {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 14px;
}

.review-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.review-user {
  display: flex;
  gap: 10px;
  align-items: center;
}

.review-avatar {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: rgba(125, 187, 105, .18);
  color: #166534;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.review-name {
  font-weight: 800;
}

.review-stars {
  font-size: 12px;
  letter-spacing: 1px;
  color: #f59e0b;
}

.review-date {
  color: #6b7280;
  font-size: 12px;
}

.review-body {
  margin-top: 10px;
  color: #374151;
  line-height: 1.7;
}

/* Related modern */
.related-modern {
  margin-top: 34px;
}

.related-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.related-link {
  font-weight: 800;
  text-decoration: none;
  color: var(--brand);
}

.related-link:hover {
  text-decoration: underline;
}

.related-grid-modern {
  gap: 18px;
}

.related-card-modern {
  border-radius: 18px;
  border: 1px solid #e5e7eb;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06);
}

.related-card-modern .info {
  padding: 12px;
}

/* responsive */
@media (max-width: 768px) {
  .shop-header-modern {
    align-items: flex-start;
    flex-direction: column;
  }

  .add-to-cart-form-modern {
    flex-direction: column;
    align-items: stretch;
  }

  .quantity-box-modern input {
    width: 100%;
  }
}

/* =======================
   PRODUCT RATING (STARS)
   ======================= */

.product-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 6px 0;
  font-size: 14px;
}

.product-rating .stars {
  color: #facc15;
  /* KUNING (tailwind yellow-400) */
  font-size: 15px;
  letter-spacing: 1px;
}

.product-rating .rating-text {
  font-size: 13px;
  color: #6b7280;
}

/* Detail page lebih besar */
.product-rating-detail .stars {
  font-size: 18px;
}

/* Bintang kosong (☆) tetap abu */
.product-rating .stars {
  text-shadow: 0 0 1px rgba(0, 0, 0, 0.15);
}

/* ====== ORDERS extra badges/buttons ====== */
.ao-badge-stack {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.ao-badge-delivered {
  background: #e0f2fe;
  color: #1d4ed8;
}

.ao-badge-return-mini {
  background: #fff7ed;
  color: #9a3412;
  border: 1px solid #fdba74;
}

.ao-badge-review-mini {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #34d399;
}

.ao-btn-review {
  background: #111827;
  color: #fff;
  border-color: #111827;
}

.ao-btn-review:hover {
  opacity: .92;
}

.ao-pill-finish {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: #ecfdf5;
  color: #065f46;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid #34d399;
}

.ao-pill-cancel {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: #fee2e2;
  color: #991b1b;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid #ef4444;
}

/* ====== ORDER DETAIL extras ====== */
.od-badge-stack {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
}

.od-badge-delivered {
  background: #e0f2fe;
  color: #1d4ed8;
}

.od-badge-return-mini {
  background: #fff7ed;
  color: #9a3412;
  border: 1px solid #fdba74;
}

.od-modal-actions {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.od-return-info {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  padding: 12px;
  border-radius: 12px;
  margin-top: 10px;
}

/* highlight ketika datang dari ?retur=1 */
.od-return-section.is-highlight {
  outline: 2px solid rgba(34, 197, 94, .25);
  box-shadow: 0 0 0 6px rgba(34, 197, 94, .08);
}

/* Return status box (order detail) */
.od-return-status {
  margin-top: 12px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 12px 14px;
}

.od-return-status-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.od-return-status h4 {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
}

/* pills */
.od-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid transparent;
}

.od-pill-warn {
  background: #fef9c3;
  color: #92400e;
  border-color: #fde68a;
}

.od-pill-info {
  background: #e0f2fe;
  color: #1d4ed8;
  border-color: #bae6fd;
}

.od-pill-danger {
  background: #fee2e2;
  color: #b91c1c;
  border-color: #fecaca;
}

.od-pill-done {
  background: #dcfce7;
  color: #166534;
  border-color: #bbf7d0;
}

/* Return Status card */
.od-return-status-card {
  margin-top: 16px;
}

.od-return-status-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

/* Pills */
.od-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid transparent;
}

.od-pill-warn {
  background: #fef9c3;
  color: #92400e;
  border-color: #fde68a;
}

.od-pill-info {
  background: #e0f2fe;
  color: #1d4ed8;
  border-color: #bae6fd;
}

.od-pill-danger {
  background: #fee2e2;
  color: #b91c1c;
  border-color: #fecaca;
}

.od-pill-done {
  background: #dcfce7;
  color: #166534;
  border-color: #bbf7d0;
}

/* Logout Modal */
.logout-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .45);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  z-index: 9999;
}

.logout-backdrop.is-visible {
  display: flex;
}

.logout-modal {
  width: 100%;
  max-width: 420px;
  background: #fff;
  border-radius: 14px;
  padding: 18px 18px 16px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, .25);
  transform: translateY(8px);
  opacity: 0;
  transition: .18s ease;
}

.logout-backdrop.is-visible .logout-modal {
  transform: translateY(0);
  opacity: 1;
}

.logout-modal h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
}

.logout-modal p {
  margin: 0 0 14px;
  color: #444;
  line-height: 1.5;
}

.logout-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.logout-btn {
  border: 0;
  outline: none;
  cursor: pointer;
  border-radius: 10px;
  padding: 10px 14px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.logout-btn-secondary {
  background: #f3f4f6;
  color: #111;
}

.logout-btn-primary {
  background: #16a34a;
  color: #fff;
}

.logout-btn-primary:hover {
  filter: brightness(.95);
}


/* ===== Order Timeline ===== */
.od-timeline {
  display: grid;
  gap: 10px;
  margin: 14px 0 18px;
  padding: 14px;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #fff;
}

.od-step {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  position: relative;
}

.od-step .od-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid #9ca3af;
  margin-top: 4px;
  flex: 0 0 auto;
  background: #fff;
}

.od-step.is-done .od-dot {
  border-color: #22c55e;
  background: #22c55e;
}

.od-step-body {
  flex: 1
}

.od-step-title {
  font-weight: 700;
  font-size: 13px
}

.od-step-meta {
  font-size: 12px;
  color: #6b7280;
  margin-top: 2px
}

/* modal confirm delivered */
.od-confirm-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .45);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.od-confirm-backdrop.is-visible {
  display: flex
}

.od-confirm-modal {
  width: min(520px, 92vw);
  background: #fff;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .2);
}

.od-confirm-modal h3 {
  margin: 0 0 8px;
  font-size: 16px
}

.od-confirm-modal p {
  margin: 0 0 14px;
  color: #374151;
  font-size: 13px;
  line-height: 1.5
}

.od-confirm-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end
}

.odc-btn {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 10px 12px;
  cursor: pointer;
  font-weight: 700;
  font-size: 13px;
}

.odc-btn-secondary {
  background: #fff
}

.odc-btn-primary {
  background: #111827;
  color: #fff;
  border-color: #111827
}

/* === USER ORDERS PANEL WRAPPER === */
.u-wrap {
  max-width: 980px;
  margin: 40px auto;
  padding: 0 18px;
}

.u-panel {
  background: #fff;
  border: 1px solid #eef1f4;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, .06);
  overflow: hidden;
}

.u-panel+.u-panel {
  margin-top: 16px;
}

.u-panel-head {
  padding: 14px 16px;
  border-bottom: 1px solid #eef1f4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.u-panel-title {
  font-weight: 800;
  margin: 0;
  font-size: 14px;
}

.u-panel-body {
  padding: 12px;
}

/* buat panel yang isinya grid */
.u-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 860px) {
  .u-grid-2 {
    grid-template-columns: 1fr;
  }
}

/* ===== Stock UI (Shop + Detail) ===== */
.badge-soft.badge-stock {
  background: rgba(34, 197, 94, .12);
  color: #16a34a;
  border: 1px solid rgba(34, 197, 94, .22);
}

.badge-soft.badge-out {
  background: rgba(239, 68, 68, .12);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, .22);
}

.stock-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #f3f4f6;
  color: #111827;
  border: 1px solid #e5e7eb;
  line-height: 1;
}

.stock-pill--out {
  background: rgba(239, 68, 68, .10);
  color: #ef4444;
  border-color: rgba(239, 68, 68, .22);
  font-weight: 700;
}

.product-stockline {
  margin-top: 6px;
  font-size: 12px;
  color: #6b7280;
}

/* card out-of-stock effect */
.product-card.is-out .product-image-link img {
  filter: grayscale(90%);
  opacity: .85;
}

.product-card.is-out {
  position: relative;
}

.product-card.is-out::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(239, 68, 68, .20);
}

/* add-to-cart button disabled */
.add-to-cart-btn.is-disabled {
  pointer-events: none;
  opacity: .55;
  filter: grayscale(100%);
  cursor: not-allowed;
}

/* product detail stock block */
.pd-stock {
  margin-top: 10px;
}

.qty-help {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: #6b7280;
}

/* related out badge (detail page) */
.related-card.is-out .related-img img {
  filter: grayscale(90%);
  opacity: .85;
}

.related-out-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(239, 68, 68, .95);
  color: #fff;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 700;
}

.related-img {
  position: relative;
}

/* button disabled style (optional) */
.btn.is-disabled,
.btn.btn-disabled {
  opacity: .6;
  cursor: not-allowed;
  pointer-events: none;
}

/* ===== Quantity Stepper (User) ===== */
.qty-stepper {
  display: flex;
  align-items: center;
  gap: 10px;
}

.qty-stepper .qty-btn {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  user-select: none;
  transition: .15s ease;
}

.qty-stepper .qty-btn:hover {
  transform: translateY(-1px);
}

.qty-stepper .qty-btn:active {
  transform: translateY(0);
}

.qty-stepper .qty-btn:disabled {
  opacity: .5;
  cursor: not-allowed;
  transform: none;
}

.qty-stepper .qty-input {
  width: 64px;
  height: 38px;
  text-align: center;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  outline: none;
  font-weight: 700;
}

/* hide spinner */
.qty-stepper .qty-input::-webkit-outer-spin-button,
.qty-stepper .qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.qty-stepper .qty-input {
  -moz-appearance: textfield;
}

/* compact variant for cart */
.qty-stepper.qty-stepper--sm .qty-btn {
  width: 34px;
  height: 34px;
  border-radius: 10px;
}

.qty-stepper.qty-stepper--sm .qty-input {
  width: 56px;
  height: 34px;
  border-radius: 10px;
}

/* optional: align qty in cart row */
.cart-qty-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Qty bump */
.qty-bump {
  animation: qtyBump .18s ease-in-out;
}

@keyframes qtyBump {
  0% {
    transform: scale(1)
  }

  50% {
    transform: scale(1.06)
  }

  100% {
    transform: scale(1)
  }
}

/* Stock pill variations */
.stock-pill {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  background: rgba(16, 185, 129, .10);
  border: 1px solid rgba(16, 185, 129, .25);
}

.stock-pill--out {
  background: rgba(239, 68, 68, .12);
  border-color: rgba(239, 68, 68, .25);
}

.stock-pill--low {
  background: rgba(245, 158, 11, .12);
  border-color: rgba(245, 158, 11, .25);
}

.cart-stockline {
  margin-top: 6px;
}

.qty-help {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  opacity: .7;
}

/* Cart note toast */
.cart-note {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 13px;
}

.cart-note--info {
  background: rgba(59, 130, 246, .10);
  border: 1px solid rgba(59, 130, 246, .20);
}

.cart-note--warn {
  background: rgba(245, 158, 11, .12);
  border: 1px solid rgba(245, 158, 11, .22);
}

.cart-note--error {
  background: rgba(239, 68, 68, .12);
  border: 1px solid rgba(239, 68, 68, .22);
}


/* =========================================
   NEW ABOUT PAGE STYLES (Modern & Clean)
   ========================================= */

/* Hero Text Adjustment */
.page-hero .hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  padding: 0 20px;
}

.hero-subtitle {
  font-size: 1.1rem;
  margin-top: 10px;
  font-weight: 300;
  opacity: 0.9;
}

/* 1. STATS BAR */
.abt-stats {
  background: var(--brand);
  color: #fff;
  padding: 40px 0;
  margin-top: -5px;
  /* Hilangkan gap pixel rendering */
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
}

.stat-box h3 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 5px;
}

.stat-box p {
  font-size: 0.95rem;
  opacity: 0.9;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* 2. STORY SECTION */
.abt-story {
  padding: 100px 0;
  background: #fff;
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.section-label {
  color: var(--brand);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 2px;
  font-weight: 700;
  margin-bottom: 10px;
}

.story-content h2 {
  font-size: 2.2rem;
  margin-bottom: 25px;
  line-height: 1.2;
  color: #1a1a1a;
}

.story-content p {
  color: #555;
  margin-bottom: 18px;
  line-height: 1.8;
  font-size: 1.05rem;
}

.story-sign {
  margin-top: 30px;
  font-family: 'Georgia', serif;
  color: var(--brand-dark);
}

.story-image {
  position: relative;
}

.story-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.story-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: #fff;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  gap: 15px;
}

.story-badge i {
  font-size: 2rem;
  color: var(--brand);
}

.story-badge span {
  font-weight: 700;
  color: #333;
  font-size: 1rem;
}

/* 3. VALUES SECTION */
.abt-values {
  background: #f9fbf8;
  /* Very soft green/grey */
  padding: 100px 0;
}

.section-head {
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-head h2 {
  font-size: 2.2rem;
  margin-bottom: 15px;
  color: #1a1a1a;
}

.section-head p {
  color: #666;
}

.values-grid-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.val-card {
  background: #fff;
  padding: 40px 30px;
  border-radius: 16px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #f0f0f0;
}

.val-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
  border-color: transparent;
}

.val-icon {
  width: 70px;
  height: 70px;
  background: #eef5ea;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  color: var(--brand);
  font-size: 1.8rem;
}

.val-card h3 {
  font-size: 1.25rem;
  margin-bottom: 15px;
  color: #1a1a1a;
}

.val-card p {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.6;
}

/* 4. TEAM SECTION */
.abt-team {
  padding: 100px 0;
  background: #fff;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  /* Responsive auto fit */
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}

.team-card {
  text-align: center;
}

.team-img {
  width: 200px;
  height: 200px;
  margin: 0 auto 25px;
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid #fff;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.team-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.team-card:hover .team-img img {
  transform: scale(1.1);
}

.team-info h3 {
  font-size: 1.3rem;
  margin-bottom: 5px;
  color: #1a1a1a;
}

.team-info .role {
  display: block;
  color: var(--brand);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.team-info p {
  color: #666;
  margin-bottom: 20px;
  padding: 0 10px;
}

.team-socials a {
  color: #999;
  font-size: 1.2rem;
  margin: 0 8px;
  transition: color 0.3s;
}

.team-socials a:hover {
  color: var(--brand);
}


/* RESPONSIVE FOR NEW ABOUT PAGE */
@media (max-width: 992px) {
  .story-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .story-image {
    order: -1;
    /* Gambar di atas saat mobile */
    max-width: 500px;
    margin: 0 auto 40px;
  }

  .story-badge {
    left: 50%;
    transform: translateX(-50%);
    bottom: -25px;
    width: max-content;
  }
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    /* 2 kolom di HP */
    gap: 30px;
  }

  .values-grid-cards {
    grid-template-columns: 1fr;
    /* 1 kolom di HP */
  }

  .section-head h2 {
    font-size: 1.8rem;
  }
}


/* =========================================
   NEW CREATIVE ABOUT PAGE STYLES
   ========================================= */

/* Utilities */
.section-gap {
  padding: 80px 0;
}

.bg-soft {
  background-color: var(--soft);
}

.brand-color {
  color: var(--brand);
}

.section-subtitle-brand {
  color: var(--brand);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.9rem;
  margin-bottom: 10px;
  display: block;
}

/* 1. Clean Header (No Hero Image) */
.about-header-clean {
  padding: 120px 0 60px;
  /* Padding atas lebih besar karena ada navbar fixed */
  background: linear-gradient(to bottom, #ffffff, var(--soft));
}

.header-description {
  max-width: 600px;
  margin: 15px auto 0;
  color: var(--muted);
  font-size: 1.1rem;
}

/* 2. Creative Intro Story */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.intro-image-framed {
  position: relative;
  z-index: 1;
}

.intro-image-framed .main-img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 2;
}

/* Creative accent frame behind image */
.image-frame-accent {
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100%;
  height: 100%;
  border: 3px solid var(--brand);
  border-radius: 20px;
  z-index: 1;
  opacity: 0.3;
}

.floating-badge {
  position: absolute;
  bottom: 30px;
  right: -30px;
  background: #fff;
  padding: 15px 25px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 3;
  font-weight: 700;
  color: var(--brand-dark);
}

.floating-badge i {
  font-size: 1.5rem;
  color: var(--brand);
}

.intro-text-content .section-title {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #1a1a1a;
}

.intro-text-content .lead-text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #444;
  margin-bottom: 15px;
}

.intro-text-content p {
  color: var(--muted);
}

/* Embedded Stats Row */
.intro-stats-row {
  display: flex;
  gap: 40px;
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid var(--gray);
}

.stat-item-clean h4 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 5px;
}

.stat-item-clean p {
  font-size: 0.9rem;
  margin: 0;
}

/* 3. Modern Founders Section */
.founders-grid-creative {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  justify-content: center;
  margin-top: 40px;
}

.founder-card-modern {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  border: 1px solid #f0f0f0;
}

.founder-card-modern:hover {
  transform: translateY(-10px);
}

.founder-photo-wrap {
  height: 350px;
  overflow: hidden;
  position: relative;
}

.founder-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.4s ease;
}

.founder-card-modern:hover .founder-photo-wrap img {
  transform: scale(1.05);
}

.founder-info-body {
  padding: 25px;
  text-align: center;
}

.founder-info-body h3 {
  font-size: 1.4rem;
  margin-bottom: 5px;
}

.founder-role {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.founder-info-body p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* 4. Creative Vertical Timeline */
.timeline-creative {
  position: relative;
  max-width: 800px;
  margin: 40px auto 0;
}

/* Garis tengah */
.timeline-creative::after {
  content: '';
  position: absolute;
  width: 3px;
  background-color: var(--gray);
  /* Warna garis */
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -1.5px;
}

.timeline-item {
  padding: 10px 40px;
  position: relative;
  background-color: inherit;
  width: 50%;
  box-sizing: border-box;
}

/* Posisi kiri dan kanan */
.timeline-item.left {
  left: 0;
  text-align: right;
}

.timeline-item.right {
  left: 50%;
}

/* Dot di tengah */
.timeline-dot {
  position: absolute;
  width: 20px;
  height: 20px;
  right: -10px;
  background-color: #fff;
  border: 3px solid var(--brand);
  top: 15px;
  border-radius: 50%;
  z-index: 1;
}

.timeline-item.right .timeline-dot {
  left: -10px;
}

/* Kotak konten timeline */
.timeline-content {
  padding: 20px 25px;
  background-color: #fff;
  position: relative;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.timeline-date {
  font-weight: 800;
  color: var(--brand-dark);
  margin-bottom: 10px;
  display: block;
  font-size: 1.1rem;
}

.timeline-content h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.timeline-content p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
}

/* 5. Modern Values Cards */
.val-card-modern {
  background: #fff;
  padding: 40px 30px;
  border-radius: 16px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid var(--gray);
  position: relative;
  overflow: hidden;
}

.val-card-modern:hover {
  border-color: var(--brand);
  box-shadow: 0 15px 30px rgba(126, 179, 106, 0.15);
}

.val-icon-modern {
  width: 70px;
  height: 70px;
  background: var(--soft);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  color: var(--brand);
  font-size: 1.8rem;
  transition: all 0.3s ease;
}

.val-card-modern:hover .val-icon-modern {
  background: var(--brand);
  color: #fff;
  transform: rotateY(360deg);
}

.val-card-modern h3 {
  margin-bottom: 15px;
}

.val-card-modern p {
  color: var(--muted);
}

/* ==================== RESPONSIVE TWEAKS ==================== */
@media (max-width: 992px) {
  .intro-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .intro-image-framed {
    max-width: 500px;
    margin: 0 auto 50px;
  }

  .floating-badge {
    right: 0;
    /* Geser badge agar tidak keluar layar di mobile */
  }

  .intro-stats-row {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .about-header-clean {
    padding-top: 100px;
  }

  .founders-grid-creative {
    grid-template-columns: 1fr;
  }

  .founder-photo-wrap {
    height: 300px;
  }

  /* Timeline becomes single column on mobile */
  .timeline-creative::after {
    left: 31px;
  }

  .timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
    text-align: left;
  }

  .timeline-item.right {
    left: 0;
  }

  .timeline-dot {
    left: 22px !important;
    right: auto;
  }

  .timeline-date {
    position: relative;
    top: -5px;
  }
}

/* =========================================
   MODERN DARK FOOTER
   ========================================= */

.modern-footer {
  background-color: #1a2e1a;
  /* Dark Forest Green */
  color: #e0e0e0;
  padding: 30px 0 10px;
  font-family: 'Inter', sans-serif;
  margin-top: 0;
  /* Pastikan nempel sama section sebelumnya */
  position: relative;
  z-index: 10;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Top Section (Grid) --- */
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 0.8fr 1.2fr;
  gap: 20px;
  margin-bottom: 30px;
}

/* Col 1: Brand */
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  margin-bottom: 18px;
}

.footer-logo i {
  color: #7eb36a;
  /* Brand Color */
}

.footer-desc {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #a0a0a0;
  margin-bottom: 24px;
  max-width: 300px;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-socials a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-socials a:hover {
  background: #7eb36a;
  border-color: #7eb36a;
  transform: translateY(-3px);
}

/* Col 2 & 3: Links */
.footer-links-col h4 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 24px;
  font-weight: 600;
}

.footer-links-col ul {
  list-style: none;
}

.footer-links-col li {
  margin-bottom: 12px;
}

.footer-links-col a {
  color: #a0a0a0;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s;
  display: inline-block;
}

.footer-links-col a:hover {
  color: #7eb36a;
  transform: translateX(3px);
}

/* Col 4: Newsletter */
.footer-newsletter-col h4 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 16px;
  font-weight: 600;
}

.footer-newsletter-col p {
  color: #a0a0a0;
  font-size: 0.9rem;
  margin-bottom: 20px;
  line-height: 1.5;
}

.footer-form .input-group {
  position: relative;
  display: flex;
}

.footer-form input {
  width: 100%;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-size: 0.9rem;
  outline: none;
  transition: 0.3s;
}

.footer-form input:focus {
  border-color: #7eb36a;
  background: rgba(255, 255, 255, 0.1);
}

.footer-form button {
  position: absolute;
  right: 6px;
  top: 6px;
  bottom: 6px;
  background: #7eb36a;
  color: #fff;
  border: none;
  width: 36px;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s;
}

.footer-form button:hover {
  background: #649353;
}

.payment-methods {
  align-items: center;
  margin-top: 20px;
  display: flex;
  gap: 15px;
  font-size: 1.8rem;
  color: #555;
  /* Dimmed icons */
}

/* --- Bottom Section --- */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.copyright {
  font-size: 0.9rem;
  color: #888;
}

.legal-links {
  display: flex;
  align-items: center;
  gap: 15px;
}

.legal-links a {
  color: #888;
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.2s;
}

.legal-links a:hover {
  color: #fff;
}

.separator {
  color: #444;
}

/* --- Responsive Footer --- */
@media (max-width: 992px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 50px;
  }
}

@media (max-width: 600px) {
  .modern-footer {
    padding: 60px 0 30px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

.founder-photo-square {
  width: 100%;
  aspect-ratio: 1 / 1;
  /* KUNCI: Rasio 1 banding 1 (Kotak) */
  overflow: hidden;
  position: relative;
  background: #f9fafb;
  border-bottom: 1px solid #eee;
}

.founder-photo-square img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Gambar akan crop otomatis memenuhi kotak tanpa gepeng */
  object-position: top center;
  /* Fokus crop ke bagian atas (wajah) */
  transition: transform 0.5s ease;
}

.founder-card-modern:hover .founder-photo-square img {
  transform: scale(1.05);
  /* Efek zoom halus saat hover */
}

/* Penyesuaian Grid Founder agar proporsional */
.founders-grid-creative {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  justify-content: flex-start;
  /* Rata kiri grid jika item sedikit */
}

/* Memastikan di mobile tetap rapi */
@media (max-width: 768px) {
  .section-header {
    text-align: left;
    /* Tetap kiri di mobile */
    padding-right: 20px;
  }

  .section-title {
    font-size: 1.8rem;
  }
}

/* =========================================
   EMPTY CART STATE (Modern)
   ========================================= */

.empty-cart-state {
  text-align: center;
  padding: 30px 20px;
  border-radius: 20px;
  max-width: 600px;
  margin: 40px auto;
  /* Center horizontal */
}

/* Icon Lingkaran */
.empty-cart-state .empty-icon {
  width: 80px;
  height: 80px;
  background-color: #eef5ea;
  /* Warna soft hijau */
  color: var(--brand);
  /* Menggunakan variabel brand kamu */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2rem;
  box-shadow: 0 4px 15px rgba(126, 179, 106, 0.15);
}

/* Judul */
.empty-cart-state h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 10px;
}

/* Teks Deskripsi */
.empty-cart-state p {
  color: #6b7280;
  /* Warna muted */
  font-size: 1rem;
  margin-bottom: 30px;
}

/* Tombol (Menggunakan class .btn yang sudah ada, tapi disesuaikan dikit) */
.empty-cart-state .btn {
  padding: 12px 35px;
  font-size: 1rem;
  box-shadow: 0 4px 12px rgba(125, 187, 105, 0.3);
}

.empty-cart-state .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(125, 187, 105, 0.4);
}

/* =============================================
   MODERN ORDER HISTORY & DETAIL STYLES
   ============================================= */

/* --- 1. CARD HISTORY --- */
.ao-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ao-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    overflow: hidden;
    transition: box-shadow 0.2s;
}

.ao-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.ao-card-header {
    background: #f9fafb;
    padding: 15px 20px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.ao-meta .ao-date {
    font-size: 0.85rem;
    color: #6b7280;
    margin-right: 10px;
}

.ao-meta .ao-id {
    font-weight: 700;
    color: #111827;
}

.ao-card-body {
    padding: 20px;
}

.ao-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
}

.ao-info-item label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #9ca3af;
    margin-bottom: 4px;
    font-weight: 600;
}

.ao-info-item span {
    font-size: 0.95rem;
    color: #374151;
    font-weight: 500;
}

.ao-total-price {
    color: var(--brand) !important;
    font-weight: 700 !important;
}

.ao-resi {
    font-family: monospace;
    background: #f3f4f6;
    padding: 2px 6px;
    border-radius: 4px;
}

/* --- 2. CONSISTENT BUTTONS (KUNCI PERUBAHAN) --- */
.ao-card-footer {
    padding: 15px 20px;
    border-top: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* Tombol rata kanan */
    gap: 10px;
}

.ao-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

/* Base Button Style */
.btn-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 20px;
    border-radius: 99px; /* Pill shape */
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 100px; /* Lebar minimal agar konsisten */
    height: 38px;     /* Tinggi fix agar sejajar */
}

/* Button Variants */
.btn-ghost {
    background: transparent;
    border-color: #d1d5db;
    color: #4b5563;
}
.btn-ghost:hover {
    background: #f3f4f6;
    border-color: #9ca3af;
    color: #111;
}

.btn-soft {
    background: #e0f2fe;
    color: #0284c7;
    border-color: transparent;
}
.btn-soft:hover {
    background: #bae6fd;
}

.btn-primary { /* Override .btn-primary default jika perlu */
    background: var(--brand);
    color: #fff;
}
.btn-primary:hover {
    background: var(--brand-dark);
}

.btn-warning {
    background: #fff7ed;
    color: #ea580c;
    border: 1px solid #fed7aa;
}
.btn-warning:hover {
    background: #ffedd5;
}

.w-100 { width: 100%; }
.d-inline { display: inline-block; }

/* --- 3. ORDER DETAIL LAYOUT --- */
.od-grid-layout {
    display: grid;
    grid-template-columns: 2fr 1fr; /* 2/3 konten, 1/3 sidebar */
    gap: 30px;
    margin-top: 25px;
}

.od-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 20px;
}

.od-card h3 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f3f4f6;
}

.od-product-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #f9fafb;
}

.od-prod-info {
    display: flex;
    flex-direction: column;
}

.od-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 2px solid #e5e7eb;
    font-weight: 700;
    font-size: 1.1rem;
}

.od-total-row .highlight {
    color: var(--brand);
}

/* Sidebar Info */
.od-info-group {
    margin-bottom: 15px;
}
.od-info-group label {
    display: block;
    font-size: 0.8rem;
    color: #9ca3af;
    text-transform: uppercase;
    font-weight: 600;
}
.od-info-group p {
    margin: 0;
    font-size: 0.95rem;
    color: #374151;
}

/* Timeline Sederhana */
.od-timeline-simple {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin: 20px 0;
}
.od-timeline-simple::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #e5e7eb;
    z-index: 0;
}
.timeline-step {
    position: relative;
    z-index: 1;
    text-align: center;
    background: #fff;
    padding: 0 10px;
}
.timeline-step .dot {
    width: 14px;
    height: 14px;
    background: #e5e7eb;
    border-radius: 50%;
    margin: 0 auto 8px;
}
.timeline-step span {
    font-size: 0.8rem;
    color: #9ca3af;
}
.timeline-step.active .dot {
    background: var(--brand);
    box-shadow: 0 0 0 4px rgba(126, 179, 106, 0.2);
}
.timeline-step.active span {
    color: var(--brand-dark);
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .ao-card-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .ao-actions {
        width: 100%;
        flex-direction: column;
    }
    .btn-action {
        width: 100%;
    }
    .od-grid-layout {
        grid-template-columns: 1fr; /* Stack jadi 1 kolom di HP */
    }
}

/* =========================================
   MODERN SHOP & PRODUCT DETAIL STYLES
   ========================================= */

/* --- 1. SHOP TOOLBAR --- */
.shop-toolbar-modern {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    border: 1px solid var(--gray);
}

.search-form-modern {
    display: flex;
    gap: 10px;
    width: 100%;
    max-width: 400px;
}
.search-form-modern input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid var(--gray);
    border-radius: 8px;
    outline: none;
    transition: border-color 0.3s;
}
.search-form-modern input:focus { border-color: var(--brand); }
.search-form-modern button {
    background: var(--brand);
    color: #fff;
    border: none;
    padding: 0 20px;
    border-radius: 8px;
    cursor: pointer;
}

.toolbar-right {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.result-count { font-size: 0.9rem; color: #666; }
.reset-link { color: #d9534f; text-decoration: underline; margin-left: 5px; }

.sort-form-modern select {
    padding: 10px 15px;
    border-radius: 8px;
    border: 1px solid var(--gray);
    cursor: pointer;
    background: #fff;
}

/* --- 2. PRODUCT GRID & CARD (1x1 Aspect Ratio) --- */
.product-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 30px;
}

.product-card-modern {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f0f0f0;
    position: relative;
    display: flex;
    flex-direction: column;
}
.product-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* Kotak Gambar 1:1 */
.product-thumb-square {
    width: 100%;
    aspect-ratio: 1 / 1;
    position: relative;
    overflow: hidden;
    background: #f9f9f9;
}
.thumb-link {
    display: block;
    width: 100%;
    height: 100%;
}
.prod-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
/* Efek Hover gambar */
.product-card-modern:hover .prod-img { transform: scale(1.05); }

/* Badges di atas gambar */
.card-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 5;
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: flex-start;
}
.badge-tag {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 6px;
    text-transform: uppercase;
}
.badge-out { background: #fee2e2; color: #b91c1c; }
.badge-low { background: #ffedd5; color: #9a3412; }
.badge-rate { background: #fff; color: #f59e0b; box-shadow: 0 2px 5px rgba(0,0,0,0.1); }

/* Tombol Quick Add (Floating) */
.btn-quick-add {
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(10px);
    z-index: 10;
}
.btn-quick-add:hover { background: var(--brand); color: #fff; }
.product-card-modern:hover .btn-quick-add { opacity: 1; transform: translateY(0); }

/* Info Area */
.product-info-body { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.prod-cat { font-size: 0.8rem; color: #888; text-transform: uppercase; margin-bottom: 5px; }
.prod-title { font-size: 1rem; font-weight: 600; margin-bottom: 10px; line-height: 1.4; flex: 1; }
.prod-title a { color: var(--text); text-decoration: none; transition: color 0.2s; }
.prod-title a:hover { color: var(--brand); }
.prod-price-row { display: flex; align-items: center; justify-content: space-between; }
.price { font-weight: 700; color: var(--brand-dark); font-size: 1.1rem; }

/* Empty State Modern */
.empty-state-modern {
    text-align: center;
    padding: 60px 20px;
    background: #fdfdfd;
    border: 2px dashed #eee;
    border-radius: 20px;
}
.icon-box {
    width: 80px; height: 80px; background: #f0f0f0; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem; color: #aaa; margin: 0 auto 20px;
}

/* --- 3. PRODUCT DETAIL PAGE --- */
.product-detail-page { padding: 40px 0 80px; background: #fff; }
.detail-breadcrumb { font-size: 0.9rem; color: #666; margin-bottom: 30px; }
.detail-breadcrumb a { color: #888; text-decoration: none; }
.detail-breadcrumb span { color: #333; font-weight: 600; }

.detail-grid-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

/* Image Gallery */
.main-image-frame {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    border: 1px solid #f0f0f0;
    background: #fafafa;
}
.main-image-frame img {
    width: 100%;
    height: auto;
    display: block;
}
.zoom-hint {
    position: absolute;
    bottom: 15px; right: 15px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    pointer-events: none;
}

/* Detail Info */
.detail-info-col { display: flex; flex-direction: column; justify-content: center; }
.cat-label {
    display: inline-block;
    background: #eef5ea;
    color: var(--brand-dark);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 10px;
}
.detail-header h1 { font-size: 2.2rem; margin-bottom: 10px; line-height: 1.2; }
.rating-row { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.stars-static { color: #f59e0b; } /* Add logic for star icons here if needed */
.review-link { color: #666; font-size: 0.9rem; text-decoration: underline; }

.detail-price-box {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #eee;
}
.detail-price-box .price { font-size: 2rem; color: var(--brand); margin-bottom: 5px; }
.stock-status { font-size: 0.9rem; }
.badge-in { color: #16a34a; font-weight: 600; }
.badge-out { color: #dc2626; font-weight: 600; }

/* Add to Cart Form */
.action-row { display: flex; gap: 15px; margin-top: 25px; }
.qty-control {
    display: flex;
    align-items: center;
    border: 2px solid #eee;
    border-radius: 50px;
    overflow: hidden;
}
.qty-btn {
    width: 40px; height: 45px; background: #fff; border: none; cursor: pointer; font-size: 1.2rem;
}
.qty-btn:hover { background: #f9f9f9; }
.qty-input {
    width: 50px; text-align: center; border: none; font-weight: 600; outline: none;
}
.btn-add-cart {
    flex: 1;
    background: var(--brand);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.btn-add-cart:hover { background: var(--brand-dark); box-shadow: 0 5px 15px rgba(126, 179, 106, 0.3); }
.btn-add-cart:disabled { background: #ccc; cursor: not-allowed; box-shadow: none; }

/* Detail Meta */
.detail-meta { margin-top: 25px; display: flex; gap: 20px; font-size: 0.9rem; color: #666; }
.detail-meta i { color: var(--brand); margin-right: 5px; }

/* Tabs */
.detail-tabs-wrapper { margin-top: 40px; }
.tab-headers { display: flex; border-bottom: 2px solid #eee; margin-bottom: 25px; }
.tab-link {
    padding: 15px 30px;
    background: none; border: none;
    font-size: 1rem; font-weight: 600; color: #888;
    cursor: pointer; position: relative;
    transition: color 0.3s;
}
.tab-link.active { color: var(--brand); }
.tab-link.active::after {
    content: ''; position: absolute; bottom: -2px; left: 0; width: 100%; height: 2px; background: var(--brand);
}
.tab-content .tab-pane { display: none; }
.tab-content .tab-pane.active { display: block; animation: fadeIn 0.4s; }

/* Review List */
.review-list-modern { display: flex; flex-direction: column; gap: 20px; }
.review-card { background: #f9f9f9; padding: 20px; border-radius: 12px; }
.rv-head { display: flex; justify-content: space-between; margin-bottom: 10px; }
.rv-user { display: flex; gap: 10px; align-items: center; }
.rv-avatar {
    width: 40px; height: 40px; background: #ddd; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; font-weight: 700; color: #555;
}
.rv-stars .filled { color: #f59e0b; }
.rv-stars .fa-star:not(.filled) { color: #e0e0e0; }

/* Lightbox */
.lightbox-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.9); z-index: 1000;
    display: none; align-items: center; justify-content: center;
}
.lightbox-overlay.visible { display: flex; }
.lightbox-overlay img { max-width: 90%; max-height: 90vh; border-radius: 8px; box-shadow: 0 0 20px rgba(255,255,255,0.1); }
.close-btn { position: absolute; top: 20px; right: 30px; color: #fff; font-size: 3rem; cursor: pointer; }

/* Responsive */
@media (max-width: 768px) {
    .detail-grid-layout { grid-template-columns: 1fr; gap: 30px; }
    .shop-toolbar-modern { flex-direction: column; align-items: stretch; }
    .search-form-modern { max-width: 100%; }
    .toolbar-right { justify-content: space-between; }
}

/* =========================================
   GALERI & SLIDER FIX
   ========================================= */

/* 1. Shop Card Slider Effect */
.product-thumb-square {
    position: relative;
    overflow: hidden;
}

.thumb-link {
    display: flex; /* Ubah jadi flex container */
    width: 100%;
    height: 100%;
    overflow-x: auto; /* Allow scroll horizontal */
    scroll-snap-type: x mandatory; /* Snap effect */
    scrollbar-width: none; /* Hide scrollbar Firefox */
}
.thumb-link::-webkit-scrollbar { display: none; /* Hide scrollbar Chrome */ }

.prod-img {
    flex: 0 0 100%; /* Gambar ambil lebar penuh container */
    width: 100%;
    height: 100%;
    object-fit: cover;
    scroll-snap-align: start; /* Snap position */
    transition: opacity 0.3s ease;
}

/* Jika ingin efek hover ganti gambar (bukan scroll) */
/* Kamu bisa pakai CSS ini sebagai alternatif scroll: */
/*
.thumb-link .prod-img {
    position: absolute; top: 0; left: 0; opacity: 0;
}
.thumb-link .prod-img:first-child { opacity: 1; position: relative; }
.product-card-modern:hover .thumb-link .prod-img:nth-child(2) { opacity: 1; position: absolute; z-index: 2; }
*/

/* 2. Detail Page Thumbnails */
.thumb-list img:hover {
    border-color: var(--brand) !important;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* =========================================
   FIX TAMPILAN DETAIL PRODUK (GALLERY)
   ========================================= */

/* 1. Atur Grid Layout agar bagi 2 kolom (Kiri Gambar, Kanan Info) */
.detail-grid-layout {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Bagi 2 sama rata */
    gap: 40px;
    align-items: start;
    margin-bottom: 60px;
}

/* 2. Batasi Ukuran Gambar Utama */
.main-image-frame {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #eee;
    background: #fff;
    position: relative;
    /* Penting: Batasi tinggi maksimal agar tidak terlalu panjang */
    max-height: 500px; 
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Gambar pas di tengah tanpa terpotong */
    display: block;
}

/* 3. PERBAIKAN UTAMA: Paksa Thumbnail Jadi Kecil */
.thumb-list {
    display: flex;
    gap: 12px;
    margin-top: 15px;
    overflow-x: auto; /* Bisa digeser samping jika banyak */
    padding-bottom: 5px;
}

.gallery-thumb {
    /* Wajib pakai !important jika css lain mengganggu */
    width: 80px !important; 
    height: 80px !important;
    flex: 0 0 80px !important; /* Jangan menyusut */
    
    border-radius: 10px;
    border: 2px solid #eee;
    object-fit: cover; /* Crop rapi kotak */
    cursor: pointer;
    transition: all 0.2s;
    opacity: 0.7;
}

.gallery-thumb:hover {
    border-color: #7eb36a; /* Warna hijau brand */
    opacity: 1;
    transform: translateY(-2px);
}

/* 4. Responsif di HP (Stack ke bawah) */
@media (max-width: 768px) {
    .detail-grid-layout {
        grid-template-columns: 1fr; /* Jadi 1 kolom */
    }
    
    .main-image-frame {
        max-height: 400px;
    }
}

/* =========================================
   THUMBNAIL SLIDER & ARROWS
   ========================================= */

/* Container pembungkus panah & list */
.thumb-slider-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
    position: relative;
}

/* Tombol Panah (Navigasi) */
.thumb-nav {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid #e5e7eb;
    background: #fff;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    flex-shrink: 0; /* Agar tombol tidak gepeng */
    font-size: 12px;
}

.thumb-nav:hover {
    background: var(--brand); /* Warna hijau brand */
    color: #fff;
    border-color: var(--brand);
    transform: scale(1.1);
}

.thumb-nav:active {
    transform: scale(0.95);
}

/* Modifikasi .thumb-list agar scroll smooth & hidden bar */
.thumb-list {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-behavior: smooth; /* Efek geser halus */
    padding-bottom: 5px;
    width: 100%;
    /* Sembunyikan scrollbar bawaan browser */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* IE 10+ */
}

.thumb-list::-webkit-scrollbar { 
    display: none; /* Chrome/Safari */
}

/* Memastikan ukuran thumbnail tetap */
.gallery-thumb {
    width: 70px !important;
    height: 70px !important;
    flex: 0 0 70px !important;
    border-radius: 8px;
    border: 2px solid #eee;
    object-fit: cover;
    cursor: pointer;
    transition: all 0.2s;
    opacity: 0.7;
}

.gallery-thumb:hover {
    border-color: var(--brand);
    opacity: 1;
}