/* Reset Basic */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

body {
    background: url(https://kilat.digital/images/2025/08/07/33a83bac0212c82156cc559e0f3dd98c.jpg) center center no-repeat;
    background-size: cover;
    background-attachment: fixed;
    margin: 0;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header UI (Marketplace Style) */
.navbar {
    background-color: #ee4d2d;
    color: white;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: bold;
}

.logo span {
    color: #ffc107;
}

.search-bar {
    display: flex;
    width: 50%;
}

.search-bar input {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 2px 0 0 2px;
    outline: none;
}

.search-bar button {
    background-color: #fb5533;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 0 2px 2px 0;
}

.cart-icon {
    font-size: 18px;
    cursor: pointer;
}

#cartCount {
    background-color: white;
    color: #ee4d2d;
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: bold;
    font-size: 12px;
}

/* Product Page Layout */
.product-page {
    display: flex;
    flex-wrap: wrap;
    background: white;
    margin-top: 20px;
    padding: 20px;
    border-radius: 3px;
    gap: 30px;
}

.gallery-section {
    flex: 1 1 400px;
}

.main-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    border: 1px solid #eee;
}

.thumbnail-list {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.thumb {
    width: 70px;
    height: 70px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 3px;
}

.thumb.active, .thumb:hover {
    border-color: #ee4d2d;
}

/* Details Section */
.details-section {
    flex: 1 1 500px;
}

.product-title {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
}

.product-meta {
    margin: 10px 0;
    font-size: 14px;
    color: #555;
}

.separator {
    margin: 0 8px;
    color: #ccc;
}

.price-box {
    background-color: #fafafa;
    padding: 15px;
    margin: 15px 0;
    display: flex;
    align-items: center;
    gap: 15px;
}

.price-original {
    text-decoration: line-through;
    color: #929292;
    font-size: 14px;
}

.price-discount {
    color: #ee4d2d;
    font-size: 28px;
    font-weight: bold;
}

.badge-discount {
    background: #ee4d2d;
    color: white;
    font-size: 11px;
    padding: 2px 4px;
    border-radius: 2px;
}

.variant-picker, .quantity-picker {
    margin: 20px 0;
}

.variant-picker h3, .quantity-picker h3 {
    font-size: 14px;
    color: #757575;
    margin-bottom: 10px;
}

.btn-variant {
    background: white;
    border: 1px solid rgba(0,0,0,.09);
    padding: 8px 16px;
    margin-right: 8px;
    cursor: pointer;
    border-radius: 2px;
}

.btn-variant.active, .btn-variant:hover {
    border-color: #ee4d2d;
    color: #ee4d2d;
}

.qty-control {
    display: flex;
    align-items: center;
}

.qty-control button {
    width: 32px;
    height: 32px;
    background: #fff;
    border: 1px solid rgba(0,0,0,.09);
    cursor: pointer;
}

.qty-control input {
    width: 50px;
    height: 32px;
    text-align: center;
    border: 1px solid rgba(0,0,0,.09);
    border-left: none;
    border-right: none;
}

/* Actions */
.action-buttons {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.btn-add-cart {
    background: rgba(255,87,34,.1);
    color: #ee4d2d;
    border: 1px solid #ee4d2d;
    padding: 12px 20px;
    font-weight: bold;
    cursor: pointer;
    flex: 1;
}

.btn-buy-now {
    background: #ee4d2d;
    color: white;
    border: none;
    padding: 12px 20px;
    font-weight: bold;
    cursor: pointer;
    flex: 1;
}

/* Article & Description Section */
.description-section {
    background: white;
    margin-top: 20px;
    margin-bottom: 40px;
    padding: 20px;
    border-radius: 3px;
}

.description-section h2 {
    font-size: 18px;
    background: #fafafa;
    padding: 10px;
    margin-bottom: 15px;
}

.product-article {
    line-height: 1.6;
    color: #444;
}

.product-article p, .product-article ul, .product-article table {
    margin-bottom: 15px;
}

.product-article ul {
    padding-left: 20px;
}

.product-article table {
    width: 100%;
    border-collapse: collapse;
}

.product-article table td {
    padding: 8px;
    border-bottom: 1px solid #eee;
}

.product-article table td:first-child {
    width: 200px;
    color: #777;
}

/* --- M-TAB-NAV & M-EXPLORE-NAV STYLE --- */

.m-tab-nav__content {
    background: #ffffff;
    padding: 20px;
    margin-top: 20px;
    border-radius: 3px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.m-explore-nav__tab-content {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
}

/* Link Navigasi Umum */
.m-explore-nav__tab-content .link {
    display: flex;
    align-items: center;
    padding: 10px 14px;
    background-color: #fafafa;
    border: 1px solid #eee;
    border-radius: 4px;
    text-decoration: none;
    color: #333333;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.m-explore-nav__tab-content .link:hover {
    border-color: #ee4d2d;
    color: #ee4d2d;
    background-color: #fff5f2;
}

/* Tombol CTA Utama */
.m-explore-nav__tab-content .m-explore-nav__cta {
    grid-column: 1 / -1;
    justify-content: center;
    background-color: #ee4d2d;
    color: #ffffff !important;
    font-weight: bold;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.m-explore-nav__tab-content .m-explore-nav__cta:hover {
    background-color: #fb5533;
    color: #ffffff !important;
}

/* MENGHILANGKAN ELEMENT SLOT (IKON/GAMBAR) KESELURUHAN */
.slot {
    display: none !important;
}

/* Teks di dalam Link */
.m-explore-nav__tab-content .link__content {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
/* Base Navbar Style */
.custom-navbar {
    background-color: #000000;
    color: #ffffff;
    font-family: Arial, sans-serif;
    padding: 10px 20px;
  }

  .top-marquee {
    text-align: center;
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
  }

  .main-nav-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
  }

  .nav-shop-label {
    font-weight: bold;
    font-size: 16px;
  }

  .nav-logo img {
    height: 35px;
    display: block;
  }  

  .nav-user-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    font-weight: bold;
    color: #ffffff;
    text-decoration: none;
  }

  .btn-buat-akun {
    background-color: #d80505;
    color: #ffffff;
    padding: 8px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 13px;
  }

  .sub-nav-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
  }

  .menu-item-slot {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #ffffff;
    font-size: 11px;
    font-weight: bold;
  }

  .menu-item-slot img {
    width: 30px;
    height: 30px;
    object-fit: contain;
    margin-bottom: 4px;
  } 

  .search-box {
    display: flex;
    width: 100%;
    max-width: 450px;
    height: 38px;
    background: #ffffff;
    border-radius: 20px;
    border: 2px solid #a6e22e;
    overflow: hidden;
  }

  .search-box input {
    flex: 1;
    border: none;
    outline: none;
    padding: 0 15px;
    font-size: 13px;
    color: #333333;
    background: transparent;
  }

  .search-box input::placeholder {
    color: #888888;
    transition: opacity 0.3s ease-in-out;
  }

  .search-box button {
    background-color: #f34a4a;
    color: #ffffff;
    border: none;
    padding: 0 16px;
    cursor: pointer;
    font-size: 14px;
  }

  /* Footer Style */
  .main-footer {
    background-color: #111111;
    color: #cccccc;
    font-family: Arial, sans-serif;
    padding-top: 40px;
    border-top: 2px solid #a6e22e;
    margin-top: 50px;
  }

  .footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
  }

  .footer-col h3.footer-brand {
    color: #ffffff;
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 12px;
    letter-spacing: 1px;
  }

  .footer-col h4 {
    color: #ffffff;
    font-size: 16px;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 8px;
  }

  .footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 35px;
    height: 2px;
    background-color: #4a6bf3;
  }

  .footer-desc {
    font-size: 13px;
    line-height: 1.6;
    color: #aaaaaa;
  }

  .footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .footer-links li {
    margin-bottom: 8px;
  }

  .footer-links a {
    color: #aaaaaa;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s ease;
  }

  .footer-links a:hover {
    color: #a6e22e;
    padding-left: 3px;
  }

  .footer-bottom {
    background-color: #080808;
    margin-top: 30px;
    padding: 15px 20px;
    border-top: 1px solid #222222;
  }

  .footer-bottom-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 12px;
    color: #777777;
  }

  .footer-bottom strong {
    color: #ffffff;
  }

  .disclaimer {
    color: #888888;
  }

  @media (max-width: 768px) {
    .footer-bottom-container {
      flex-direction: column;
      text-align: center;
    }
  }