* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  color: #333;
  background-color: #fff;
  line-height: 1.6;
}

.site-header {
    position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #fff;
  border-bottom: 1px solid #eee;
  padding: 10px 20px;
  font-family: Arial, sans-serif;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 15px; /* jarak logo & tulisan */
}

.logo {
  height: 40px;
  width: auto;
}

.brand-name {
  font-size: 20px;
  font-weight: bold;
  color: #b77a7a;
}

.nav-icons a {
  margin-left: 20px;
  font-size: 20px;
  text-decoration: none;
  color: #b77a7a; /* sama dengan brand */
  transition: color 0.3s ease;
}

.nav-icons a:hover {
  color: #d99c9c; /* warna saat hover */
}

.profile-container {
  max-width: 600px;
  margin: 40px auto;
  padding: 20px;
  text-align: center;
}

.profile-container h2 {
  color: #b77a7a;
  margin-bottom: 30px;
}

.profile-card {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.profile-pic {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 20px;
  border: 3px solid #f7e6e6;
}

.profile-info p {
  margin: 10px 0;
  font-size: 16px;
}

.profile-actions {
  margin-top: 20px;
}

.btn.small {
  display: inline-block;
  padding: 10px 16px;
  margin: 0 8px;
  font-size: 14px;
  border-radius: 6px;
  text-decoration: none;
  background-color: #b77a7a;
  color: #fff;
  transition: background-color 0.3s;
}

.btn.small:hover {
  background-color: #a45f5f;
}

.btn.secondary.small {
  background-color: #f7e6e6;
  color: #b77a7a;
  border: 1px solid #d9a7a7;
}

.btn.secondary.small:hover {
  background-color: #f3d5d5;
}


/* edit profil */
/* --- GLOBAL RESET --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background-color: #fff;
  color: #333;
  line-height: 1.6;
}

/* --- CONTAINER --- */
.profile-container {
  max-width: 600px;
  margin: 40px auto;
  padding: 0 20px;
  text-align: center;
}

.profile-container h2 {
  color: #b77a7a;
  margin-bottom: 30px;
  font-size: 24px;
  font-weight: 600;
}

/* --- EDIT FORM --- */
.edit-form {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.form-group {
  margin-bottom: 20px;
  text-align: left;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  color: #444;
  font-weight: 600;
}

.form-group input[type="text"],
.form-group input[type="email"] {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 14px;
  transition: border-color 0.3s;
}

.form-group input:focus {
  border-color: #b77a7a;
  outline: none;
}

.form-actions {
  margin-top: 25px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  border: none;
  background-color: #b77a7a;
  color: #fff;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: #a45f5f;
}

.btn.secondary {
  background-color: #f7e6e6;
  color: #b77a7a;
  border: 1px solid #d9a7a7;
}

.btn.secondary:hover {
  background-color: #f3d5d5;
}

.btn.small {
  font-size: 13px;
  padding: 8px 16px;
}

/* --- PHOTO --- */
.form-photo {
  text-align: center;
  margin-bottom: 25px;
}

.form-photo img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #f7e6e6;
  margin-bottom: 12px;
  transition: transform 0.3s ease;
}

.form-photo img:hover {
  transform: scale(1.05);
}

.form-photo input[type="file"] {
  display: none;
}

.form-photo label {
  display: inline-block;
  background-color: #b77a7a;
  color: #fff;
  padding: 8px 14px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  margin-top: 5px;
  transition: background 0.3s ease;
}

.form-photo label:hover {
  background-color: #a45f5f;
}

/* --- RESPONSIVE --- */
@media (max-width: 480px) {
  .edit-form {
    padding: 20px;
  }

  .form-actions {
    flex-direction: column;
  }

  .form-actions .btn {
    width: 100%;
    text-align: center;
  }
}

/* cart */
.cart-page {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
}

.cart-page h2 {
  text-align: center;
  color: #b77a7a;
  margin-bottom: 30px;
}

.cart-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cart-item {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  border-bottom: 1px solid #eee;
  padding-bottom: 20px;
  gap: 20px;
}

.cart-img {
  width: 120px;
  border-radius: 6px;
}

.cart-info {
  flex: 2;
}

.cart-info input[type="number"] {
  width: 60px;
  padding: 4px;
}

.cart-total {
  flex: 1;
  text-align: right;
}

.cart-total .subtotal {
  font-weight: bold;
  color: #444;
}

.btn-delete {
  margin-top: 10px;
  background: #e74c3c;
  color: #fff;
  border: none;
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
}

.btn-delete:hover {
  background: #c0392b;
}

.cart-summary {
  text-align: right;
  margin-top: 30px;
  font-size: 18px;
  color: #333;
}

.cart-actions {
  margin-top: 20px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}




/* Responsive */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-icons {
    margin-top: 10px;
  }

  .nav-icons a {
    margin: 0 10px 5px 0;
    display: inline-block;
  }
}




.promo-banner {
  background: #f0e7db url('background-texture.jpg') center/cover no-repeat;
  padding: 40px 20px;
  text-align: center;
  position: relative;
}

.promo-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.promo-model, .promo-produk {
  max-width: 200px;
  flex: 1 1 150px;
}

.promo-text {
  max-width: 400px;
  flex: 2 1 300px;
  text-align: center;
}

.promo-text h2 {
  font-size: 1.5em;
  color: #4a3c2f;
}

.promo-text h1 {
  font-size: 2.5em;
  color: #4a3c2f;
  margin: 10px 0;
}

.promo-text p {
  font-size: 1.1em;
  color: #4a3c2f;
}
.slideshow {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 450px; /* atau sesuaikan tinggi */
}

.slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 1;
}

.slide.active {
  opacity: 1;
  z-index: 2;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover; 
}


.caption {
  position: absolute;
  bottom: 20px;
  left: 20px;
  color: white;
  text-shadow: 0 0 10px rgba(0,0,0,0.7);
}

.dashboard {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

.dashboard h2 {
  text-align: center;
  margin-bottom: 30px;
  color: #b77a7a;
}

.produk-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
  padding: 0 20px;
}

.produk-card {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  cursor: pointer;
}

.produk-card img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.produk-card:hover img {
  transform: scale(1.1);
}

.produk-card .overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
  background: rgba(0, 0, 0, 0.5);
  padding: 15px 10px;
  color: #fff;
}

.produk-card h3 {
  margin-bottom: 8px;
  font-size: 1em;
  letter-spacing: 1px;
}

.btn-view {
  display: inline-block;
  background: #fff;
  color: #b77a7a;
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 0.85em;
  font-weight: 600;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.btn-view:hover {
  background: #b77a7a;
  color: #fff;
}
.site-footer {
  background-color: #f7e6e6;
  padding: 40px 20px;
  font-family: Arial, sans-serif;
  font-size: 14px;
  color: #555;
}

.site-footer {
  background-color: #f7e6e6;
  padding: 40px 20px;
  font-family: Arial, sans-serif;
  font-size: 14px;
  color: #555;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.footer-col h4 {
  font-size: 12px;
  letter-spacing: 1px;
  color: #444;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.footer-col p {
  margin-bottom: 10px;
  line-height: 1.5;
}

.footer-col form {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.footer-col input[type="email"] {
  flex: 1;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.footer-col button {
  background: #d9a7a7;
  border: none;
  padding: 8px 15px;
  color: #fff;
  letter-spacing: 1px;
  cursor: pointer;
  border-radius: 4px;
}

.footer-col .social-icons {
  margin-top: 10px;
}

.footer-col .social-icons a {
  display: inline-block;
  margin-right: 10px;
  color: #555;
  text-decoration: none;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  color: #555;
  text-decoration: none;
}

.footer-col ul li a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 992px) {
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 600px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}




/* Responsif */
@media (max-width: 600px) {
  header .container {
    flex-direction: column;
    text-align: center;
  }

  header nav {
    margin-top: 10px;
  }
}
