* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: #fff;
  color: #333;
  line-height: 1.6;
}

/* HEADER */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 60px;
  background: #4B0082;
  color: white;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
}

.logo span {
  color: #FFD700;
}

nav a {
  color: white;
  text-decoration: none;
  margin: 0 15px;
  font-weight: 500;
  transition: 0.3s;
}

nav a:hover {
  color: #FFD700;
}

.search-cart {
  display: flex;
  align-items: center;
  background: white;
  border-radius: 20px;
  padding: 5px 10px;
}

.search-cart input {
  border: none;
  outline: none;
  padding: 5px 8px;
  font-size: 14px;
}

.search-cart i {
  color: #4B0082;
}

/* HERO */
.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 60px;
  background: #faf5ff;
}

.hero-text {
  max-width: 50%;
}

.hero-text .badge {
  background: #FFD700;
  color: #4B0082;
  border: none;
  padding: 5px 15px;
  border-radius: 15px;
  font-weight: 600;
}

.hero-text h1 {
  font-size: 2.8rem;
  margin: 20px 0;
}

.hero-text h1 span {
  color: #4B0082;
}

.hero-text p {
  color: #555;
  margin-bottom: 25px;
}

.hero-buttons button {
  padding: 10px 20px;
  border-radius: 8px;
  margin-right: 10px;
  cursor: pointer;
  font-weight: 600;
}

.btn-primary {
  background: #4B0082;
  color: white;
  border: none;
}

.btn-outline {
  background: transparent;
  border: 2px solid #4B0082;
  color: #4B0082;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 30px;
}

.hero-stats h3 {
  color: #4B0082;
}

.hero-image img {
  width: 400px;
  border-radius: 15px;
}

/* COLLECTION */
/* KOLEKSI SPESIAL */
.collections {
  text-align: center;
  padding: 70px 40px;
}

.collections h2 {
  color: #4B0082;
  margin-bottom: 30px;
}

.collection-grid {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
}

.collection-card {
  position: relative;
  width: 300px;
  height: 200px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.collection-card:hover {
  transform: scale(1.05);
}

.collection-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.4s ease;
}

.collection-card:hover img {
  filter: brightness(50%);
}

.collection-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  background: rgba(0, 0, 0, 0.3); /* efek gelap agar teks lebih jelas */
  opacity: 1; /* langsung tampil tanpa hover */
  transition: 0.4s ease;
}

.collection-overlay h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.collection-overlay button {
  background: #FFD700;
  color: #4B0082;
  border: none;
  padding: 8px 18px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
}

.collection-overlay button:hover {
  background: white;
  color: #4B0082;
}

/* PRODUK */
.products {
  text-align: center;
  padding: 60px 40px;
  background: linear-gradient(to bottom right, #f8f7ff, #fafaff);
}

.filter {
  margin: 20px 0;
}

.filter button {
  margin: 5px;
  padding: 8px 16px;
  border-radius: 20px;
  border: 1px solid #4B0082;
  background: transparent;
  color: #4B0082;
  font-weight: 500;
  transition: all 0.3s ease;
  cursor: pointer;
}

.filter button:hover {
  background: #4B0082;
  color: #fff;
  transform: scale(1.05);
}

.filter button.active {
  background: #4B0082;
  color: white;
}

.product-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px; /* lebih rapat antar produk */
}

.product-card {
  width: 240px;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  padding: 18px;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
}

.product-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 8px 25px rgba(75, 0, 130, 0.15);
}

.product-card img {
  width: 100%;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.product-card:hover img {
  transform: scale(1.05);
}

.tag {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 5px 10px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
  color: white;
}

.bestseller { background: #FF6347; }
.sale { background: #4B9CD3; }
.new { background: #4B0082; }
.premium { background: #FFD700; color: #4B0082; }

.product-card h3 {
  margin: 12px 0 5px;
  color: #4B0082;
  font-size: 1.05rem;
}

.product-card .price {
  font-weight: 600;
  color: #4B0082;
  margin-bottom: 5px;
}

.product-card .rating {
  font-size: 0.9rem;
  color: #555;
}

.btn-primary {
  margin-top: 10px;
  background: linear-gradient(45deg, #4B0082, #4B9CD3);
  border: none;
  color: white;
  padding: 8px 18px;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: scale(1.05);
  box-shadow: 0 3px 10px rgba(75, 0, 130, 0.2);
}


/* TENTANG KAMI */
.about {
  background: #faf5ff;
  padding: 80px 40px;
}

.about-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.about-content img {
  width: 350px;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.about-text {
  max-width: 500px;
}

.about-text h2 {
  color: #4B0082;
  margin-bottom: 15px;
}

/* FOOTER */
footer {
  background: #4B0082;
  color: white;
  padding-top: 40px;
}

.footer-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  padding: 0 20px;
  gap: 30px;
}

.footer-about, .footer-contact, .footer-social {
  max-width: 300px;
}

.footer-social .social-icons a {
  color: white;
  margin-right: 10px;
  font-size: 20px;
  transition: 0.3s;
}

.footer-social .social-icons a:hover {
  color: #FFD700;
}

.footer-bottom {
  background: #320060;
  text-align: center;
  padding: 15px 0;
  margin-top: 30px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    text-align: center;
  }

  .hero {
    flex-direction: column;
    text-align: center;
  }

  .hero-text, .hero-image {
    max-width: 100%;
  }

  .about-content {
    flex-direction: column;
  }
}

/* === Testimoni (Lebih Real & Profesional) === */
.testimonials {
  background: linear-gradient(135deg, #faf5ff 0%, #f5f0ff 100%);
  padding: 80px 10%;
  text-align: center;
}

.testimonials h2 {
  font-size: 2.2rem;
  color: #3c096c;
  margin-bottom: 10px;
}

.testimonials p {
  color: #6a6a6a;
  max-width: 600px;
  margin: 0 auto 50px;
}

.testimonial-grid {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
}

.testimonial-card {
  background: #fff;
  padding: 30px 25px;
  border-radius: 16px;
  width: 320px;
  box-shadow: 0 8px 20px rgba(123, 47, 247, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
  position: relative;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(123, 47, 247, 0.2);
}

.testimonial-user {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.testimonial-user img {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 15px;
  border: 2px solid #7b2ff7;
}

.testimonial-user h4 {
  color: #3c096c;
  margin: 0;
  font-weight: 600;
  font-size: 1rem;
}

.testimonial-user span {
  display: block;
  font-size: 0.85rem;
  color: #777;
}

.testimonial-card p {
  color: #444;
  font-style: normal;
  margin-bottom: 10px;
  line-height: 1.5;
}

.testimonial-rating {
  color: #ffb703;
  font-size: 1.1rem;
}

/* BANNER */
.banner {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
  border-bottom: 5px solid #4B0082;
}

.banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(70%);
}

.banner-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
}

.banner-text h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: #FFD700;
}

.banner-text p {
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.btn-banner {
  background: #FFD700;
  color: #4B0082;
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}

.btn-banner:hover {
  background: #fff;
  color: #4B0082;
}
/* === Keranjang Belanja === */
.cart-icon {
  position: fixed;
  top: 20px;
  right: 30px;
  background-color: #FFD700;
  border-radius: 50%;
  padding: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  z-index: 1000;
  transition: all 0.3s ease;
}

.cart-icon:hover {
  background-color: #f8f8f8;
  transform: scale(1.1);
}

.cart-icon i {
  font-size: 22px;
  color: #333;
}

.cart-count {
  position: absolute;
  top: 3px;
  right: 4px;
  background-color: #e63946;
  color: #fff;
  font-size: 11px;
  border-radius: 50%;
  padding: 2px 6px;
  font-weight: bold;
}
/* === Fitur Layanan (Service Bar) === */
.service-bar {
  background: linear-gradient(180deg, #f9f4ff 0%, #ffffff 100%);
  padding: 50px 8%;
}

.service-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 50px;
  text-align: center;
}

.service-item {
  max-width: 200px;
}

.service-item i {
  font-size: 32px;
  color: #7B2CBF;
  background: #f0e1ff;
  padding: 18px;
  border-radius: 50%;
  margin-bottom: 10px;
}

.service-item h4 {
  color: #3c096c;
  font-size: 1rem;
  margin-bottom: 6px;
}

.service-item p {
  color: #777;
  font-size: 0.9rem;
}

.fitur-section {
  background: linear-gradient(to bottom, #faf5ff, #ffffff);
  padding: 50px 0;
}

.fitur-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
}

.fitur-box {
  width: 200px;
  margin: 20px 10px;
}

.fitur-icon {
  background-color: #8a2be2;
  color: white;
  font-size: 28px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin: 0 auto 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 8px rgba(138, 43, 226, 0.3);
}

.fitur-box h3 {
  font-size: 16px;
  margin-bottom: 5px;
  color: #333;
}

.fitur-box p {
  font-size: 14px;
  color: #666;
}
html {
    scroll-behavior: smooth;
}
.cart-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.cart-header h2 {
    font-size: 32px;
    font-weight: 600;
    display: inline-block;
    position: relative;
}

.cart-header h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: #000;
    margin: 12px auto 0;
    border-radius: 10px;
}
.cart-box {
    background: #fff;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
}

.cart-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    border-bottom: 1px solid #f1f1f1;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-img {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 12px;
}

.cart-info {
    flex: 1;
    margin-left: 20px;
}

.cart-info h6 {
    font-weight: 600;
    margin-bottom: 5px;
}

.price {
    display: block;
    color: #666;
    font-size: 14px;
}

.qty {
    display: inline-block;
    margin-top: 5px;
    background: #f3f3f3;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 13px;
}

.cart-subtotal {
    text-align: right;
}

.remove-btn {
    background: none;
    border: none;
    color: #dc3545;
    font-size: 13px;
    margin-top: 5px;
    cursor: pointer;
}

.summary-box {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 14px;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    font-size: 18px;
    margin-top: 10px;
}

.checkout-btn {
    display: block;
    width: 100%;
    margin-top: 20px;
    padding: 12px;
    text-align: center;
    background: #000;
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

.checkout-btn:hover {
    background: #333;
}

.empty-cart {
    background: #fff;
    border-radius: 15px;
}

.checkout-header h2 {
    font-size: 32px;
    font-weight: 600;
}

.checkout-header p {
    font-size: 14px;
    color: #777;
}

.checkout-box {
    background: #fff;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
}

.checkout-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
    border-bottom: 1px solid #f1f1f1;
}

.checkout-item:last-child {
    border-bottom: none;
}

.checkout-img {
    width: 85px;
    height: 85px;
    object-fit: cover;
    border-radius: 12px;
}

.checkout-info {
    flex: 1;
    margin-left: 20px;
}

.checkout-info h6 {
    font-weight: 600;
    margin-bottom: 5px;
}

.qty {
    display: inline-block;
    margin-top: 5px;
    background: #f3f3f3;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 13px;
}

.checkout-subtotal {
    font-weight: 600;
}

.summary-box {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 14px;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    font-size: 18px;
    margin-top: 10px;
}

.checkout-btn {
    width: 100%;
    margin-top: 20px;
    padding: 14px;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-weight: 500;
    transition: 0.3s;
}

.checkout-btn:hover {
    background: #333;
}

.success-wrapper {
    min-height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f8f9fa;
}

.success-card {
    background: #fff;
    padding: 60px 40px;
    border-radius: 20px;
    text-align: center;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.success-icon {
    width: 80px;
    height: 80px;
    background: #28a745;
    color: white;
    font-size: 40px;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.success-card h2 {
    font-weight: 600;
    margin-bottom: 15px;
}

.success-card p {
    color: #666;
    font-size: 15px;
}

.history-wrapper {
    padding: 60px 0;
}

.history-header {
    text-align: center;
    margin-bottom: 40px;
}

.history-header h2 {
    font-size: 30px;
    font-weight: 600;
}

.history-header p {
    font-size: 14px;
    color: #777;
    margin-top: 8px;
}

.history-card {
    background: #fff;
    padding: 30px;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.table thead tr {
    border-bottom: 2px solid #eee;
}

.table thead th {
    font-weight: 600;
    font-size: 14px;
    color: #555;
}

.table tbody tr {
    border-bottom: 1px solid #f1f1f1;
}

.status {
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
}

.status.success {
    background: #e6f4ea;
    color: #28a745;
}

.status.pending {
    background: #fff3cd;
    color: #856404;
}

.status.failed {
    background: #fdecea;
    color: #dc3545;
}

.empty-state {
    text-align: center;
    padding: 40px;
    color: #888;
}
/* ===== NAVBAR PREMIUM ===== */

.navbar-osqie {
    position: sticky;
    top: 0;
    width: 100%;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #eee;
    z-index: 999;
    padding: 15px 0;
}

.nav-container {
    width: 90%;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* LOGO */
.logo-text {
    font-size: 22px;
    font-weight: 700;
    text-decoration: none;
    color: #000;
    letter-spacing: 1px;
}

.logo-text span {
    font-weight: 400;
}

/* MENU */
.nav-links {
    display: flex;
    gap: 28px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-size: 14px;
    position: relative;
    transition: 0.3s;
}

.nav-links a::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 2px;
    background: #000;
    transition: 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

/* RIGHT */
.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* CART */
.cart-icon {
    position: relative;
    font-size: 18px;
    color: #000;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background: #000;
    color: #fff;
    font-size: 10px;
    padding: 3px 6px;
    border-radius: 50px;
}

/* USER */
.user-menu {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-name {
    font-size: 13px;
    color: #555;
}

.logout-btn {
    font-size: 13px;
    text-decoration: none;
    color: #000;
    font-weight: 500;
}

/* LOGIN BUTTON */
.login-btn {
    padding: 6px 18px;
    border: 1px solid #000;
    border-radius: 20px;
    text-decoration: none;
    font-size: 13px;
    color: #000;
    transition: 0.3s;
}

.login-btn:hover {
    background: #000;
    color: #fff;
}
/* HAMBURGER */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #000;
    border-radius: 3px;
    transition: 0.3s;
}

/* RESPONSIVE */
@media (max-width: 992px) {

    .hamburger {
        display: flex;
    }

    .nav-container {
        flex-wrap: wrap;
    }

    .nav-links {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: #fff;
        flex-direction: column;
        align-items: center;
        gap: 15px;
        padding: 20px 0;
        display: none;
        box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-right {
        width: 100%;
        justify-content: center;
        margin-top: 10px;
    }
}




