/* ============================= */
/* 🔹 1. GLOBAL RESET & BASE */
/* ============================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body, html {
  height: 100%;
  width: 100%;
  background-color: #f7f3ea;
}

/* ============================= */
/* 🔹 2. HALAMAN AUTH (REGISTER & LOGIN) */
/* ============================= */
body.auth {
  background: url("../assets/bg.jpg") no-repeat center center/cover;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

/* Container utama */
.register-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

/* Card */
.register-card {
  display: flex;
  width: 800px;
  max-width: 100%;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Bagian kiri → logo full */
.left-side {
  flex: 1;
  background: url("../assets/logo.png") no-repeat center center;
  background-size: cover;
  min-height: 400px;
}

/* Bagian kanan */
.right-side {
  flex: 1;
  padding: 50px 40px;
  background: #fdf9f3;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.right-side h2 {
  font-size: 20px;
  margin-bottom: 25px;
  text-align: center;
  color: #7b4a20;
}

/* Input */
.register-form input {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #ad6823;
  border-radius: 8px;
  font-size: 14px;
}

/* Lupa password */
.forgot-password {
  text-align: right;
  margin: -5px 0 15px 0;
  font-size: 14px;
}
.forgot-password a {
  color: #7b4a20;
  text-decoration: none;
  font-weight: 500;
}
.forgot-password a:hover {
  text-decoration: underline;
}

/* Tombol */
.btn-daftar {
  width: 100%;
  padding: 12px;
  background-color: #ad6823;
  color: #fff;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}
.btn-daftar:hover {
  background-color: #8a4f1c;
}

/* Link login/register */
.login-text {
  margin-top: 20px;
  font-size: 14px;
  color: #444;
  text-align: center;
}
.login-text .login-link {
  color: #ad6823;
  font-weight: 600;
  text-decoration: none;
}
.login-text .login-link:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .register-card {
    flex-direction: column;
    width: 100%;
    border-radius: 12px;
  }
  .left-side {
    width: 100%;
    height: 200px;
    min-height: unset;
  }
  .right-side {
    padding: 30px 20px;
  }
}

/* ============================= */
/* 🔹 3. HALAMAN PROFIL (EDIT PROFIL) */
/* ============================= */
body.profile-page {
  background: #faf6ed;      /* background halaman */
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
}

.profile-container {
  max-width: 1100px;
  width: 100%;
  background: #faf6ed;      /* sama dengan body */
  border-radius: 16px;
  padding-left: 31px;
  padding-right: 31px;
  box-shadow: none;         /* hapus shadow */
  margin: 0 auto;        /* biar center & ada jarak dari nav */
  margin-bottom: 100px;
}

/* Tombol back */
.back {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
  margin: 20px 30px;   /* jarak dari kiri */
}

.back img {
  width: 22px;
}


/* Konten */
.profile-content {
  display: flex;
  gap: 60px;
  justify-content: space-between;
  align-items: flex-start;
}

/* Form */
.profile-form {
  flex: 1;
}
.profile-form h2 {
  font-size: 24px;
  font-weight: 700;
}
.profile-form hr {
  margin: 10px 0 20px;
  border: none;
  border-top: 1px solid #ddd;
}
.profile-form label {
  display: block;
  font-weight: 600;
  margin: 15px 0 5px;
}
.profile-form input {
  width: 100%;
  padding: 10px;
  border: 1px solid #aaa;
  border-radius: 8px;
  font-size: 16px;
}
.btn-save {
  margin: 25px auto 0 auto;    /* auto kiri kanan → center */
  padding: 12px 30px;
  background: #a96327;
  color: #fff;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  display: block;              /* block biar margin auto bisa jalan */
  width: fit-content;          /* ukurannya mengikuti isi */
  text-align: center;
}


.btn-save:hover {
  background: #8a4f1c;
}

/* Foto profil */
.profile-photo {
  text-align: center;       /* semua konten center */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;                /* jarak antar elemen */
}

.profile-photo h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.profile-photo .avatar {
  width: 150px;
  height: 150px;
  border-radius: 50%;       /* lingkaran */
  object-fit: cover;        /* biar gak gepeng */
  border: 3px solid #a86127; 
}

.btn-upload {
  display: inline-block;
  padding: 8px 16px;
  background-color: transparent;
  border: 1px solid #7b4a20;
  border-radius: 18px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: 0.3s;
  text-align: center;
}

.btn-upload:hover {
  background-color: #7b4a20;
  color: #fff;
}



/* Responsive profil */
@media (max-width: 768px) {
  .profile-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 30px;
  }
  .profile-form {
    width: 100%;
  }
}


/* ============================= */
/* 🔹 NAVBAR */
/* ============================= */
.navbar {
  width: 100%;
  background: #ad6823;
  padding: 15px 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-left .logo {
  width: 140px;
  height: auto;
}

.nav-center {
  display: flex;
  gap: 30px;
}

.nav-center a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: 0.3s;
}

.nav-center a:hover {
  color: #ffe1c2;
}

.nav-center a.active {
  font-weight: 700;
  color: #131212;
  transition: color 0.3s;
}

.nav-icons {
  display: flex;
  gap: 20px;
  align-items: center;
}

.nav-icons img {
  width: 26px;
  height: 26px;
  cursor: pointer;
  filter: brightness(0) invert(1); /* jadi putih */
  transition: 0.3s;
}
.nav-icons img:hover {
  filter: brightness(0.8) invert(1);
}


/* Desktop: hamburger disembunyikan */
.hamburger {
  display: none;
}



/* Default: PC tetap seperti semula */

/* Mobile Responsive */
@media (max-width: 768px) {
  .navbar {
    flex-wrap: wrap;
    padding: 15px 20px;
  }

  .nav-center {
    display: none;                  /* default sembunyi */
    flex-direction: column;
    align-items: center;            /* biar ketengah */
    width: 100%;
    background: #ad6823;
    padding: 15px 0;
    gap: 15px;
  }

  .nav-center.show {
    display: flex;                  /* muncul saat hamburger diklik */
  }

  .nav-icons {
    display: none;                  /* default sembunyi */
    justify-content: center;
    width: 100%;
    gap: 25px;
    margin-top: 15px;
  }

  .nav-icons.show {
    display: flex;                  /* muncul saat hamburger diklik */
  }

  .hamburger {
    display: block;
    cursor: pointer;
    font-size: 26px;
    color: #fff;
    background: none;
    border: none;
  }
}

/* ========================= */
/* 🔶 Footer Ayako           */
/* ========================= */
.footer {
  background-color: #A5632E; /* coklat seperti di gambar */
  color: #fff;
  padding: 40px 80px;
  font-family: 'Poppins', sans-serif;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-column {
  flex: 1;
  min-width: 200px;
}

.footer-logo-img {
  width: 160px;
  border-radius: 4px;
  margin-bottom: 10px;
}

.footer-brand {
  margin-top: 5px;
  font-size: 15px;
}

.footer-column h4 {
  font-size: 16px;
  margin-bottom: 8px;
  font-weight: 600;
  color: #fff;
}

.footer-column p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 10px;
  color: #fff;
}

.footer-links a {
  display: block;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 5px;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #f9e4cc; /* efek hover lembut */
}

/* Responsif */
@media (max-width: 768px) {
  .footer {
    padding: 30px 40px;
  }
  .footer-container {
    flex-direction: column;
    align-items: flex-start;
  }
}


.error-alert {
      background-color: #f8d7da;
      color: #842029;
      border: 1px solid #f5c2c7;
      padding: 10px;
      margin-bottom: 15px;
      border-radius: 5px;
    }

.alert {
  padding: 12px 16px;
  border-radius: 5px;
  margin: 16px;
  font-size: 14px;
}

.alert-success {
  background-color: #d1e7dd;
  color: #0f5132;
  border: 1px solid #badbcc;
}

.alert-error {
  background-color: #f8d7da;
  color: #842029;
  border: 1px solid #f5c2c7;
}


/* Hero dengan background image */
.hero {
  position: relative;
  width: 100%;
  height: 90vh;
  background: url("../assets/hero.jpg") no-repeat center center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  overflow: hidden;
}

/* overlay hitam transparan */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45); /* makin besar nilainya, makin gelap overlay-nya */
}

/* konten teks di atas overlay */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 20px;
}


.hero-content h1 {
  font-size: 48px;
  letter-spacing: 2px;
  font-weight: 700;
}

.hero-content h2 {
  font-size: 24px;
  margin-bottom: 20px;
  font-weight: 500;
}

.hero-content p {
  font-size: 16px;
  margin-bottom: 30px;
  line-height: 1.6;
  color: #f5f5f5;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.btn-primary,
.btn-secondary {
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.btn-primary {
  background-color: #ad6823;
  color: #fff;
}
.btn-primary:hover {
  background-color: #8a4f1c;
}

.btn-secondary {
  border: 2px solid #fff;
  color: #fff;
}
.btn-secondary:hover {
  background-color: #fff;
  color: #7b4a20;
}

/* =============================== */
/* 🔹 Produk Section */
/* =============================== */
.highlight-section {
  padding: 80px 10%;
  text-align: center;
}
.highlight-section h2 {
  color: #7b4a20;
  margin-bottom: 40px;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.product-card {
  background-color: #fff;
  border-radius: 15px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
  padding: 20px;
  width: 100%;
}
.product-card img {
  width: 100%;
  border-radius: 10px;
}
.product-card h3 {
  margin-top: 15px;
  font-size: 16px;
  color: #7b4a20;
}
.btn-view {
  display: inline-block;
  margin-top: 40px;
  padding: 10px 25px;
  background: #ad6823;
  color: #fff;
  border-radius: 10px;
  text-decoration: none;
  transition: 0.3s;
}
.btn-view:hover {
  background: #8a4f1c;
}

/* 🔹 Middle Banner (gambar tengah) */
.middle-banner {
  position: relative;
  background: url("../assets/banner.jpg") no-repeat center center/cover;
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}
.middle-banner .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}
.middle-content {
  position: relative;
  z-index: 2;
  text-align: center;
}
.middle-content h2 {
  font-size: 32px;
  margin-bottom: 20px;
}
.middle-content .btn-primary {
  background-color: #ad6823;
  color: white;
  padding: 12px 28px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}
.middle-content .btn-primary:hover {
  background-color: #8a4f1c;
}

/* =============================== */
/* 🔹 Galeri Section */
/* =============================== */
.highlight-section, .gallery-section {
  background-color: #faf6ed;
  padding: 80px 10%;
  text-align: center;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 👈 3 kolom per baris */
  gap: 25px;
  justify-items: center;
  margin-top: 30px;
}

.gallery-grid img {
  width: 100%;
  max-width: 350px; /* biar seragam ukurannya */
  aspect-ratio: 5 / 3; /* biar bentuk kotak */
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.gallery-grid img:hover {
  transform: scale(1.05);
}

/* Responsif */
@media (max-width: 992px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr); /* tablet */
  }
}

@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: 1fr; /* HP */
  }
}

/* ===================== */
/* 🔹 Dropdown User Icon */
/* ===================== */
.dropdown {
  position: relative;
  display: inline-block;
}

.user-icon {
  cursor: pointer;
  width: 28px;
  height: 28px;
  transition: opacity 0.2s ease;
}

.user-icon:hover {
  opacity: 0.8;
}

.dropdown-menu {
  display: none;
  position: absolute;
  right: 0;
  top: 40px;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  min-width: 140px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  z-index: 1000;
  padding: 8px 0;
}

.dropdown-menu a,
.dropdown-menu form button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 8px 16px;
  background: none;
  border: none;
  color: #333;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease;
}

.dropdown-menu a:hover,
.dropdown-menu form button:hover {
  background-color: #f5f5f5;
}

.dropdown-menu form {
  margin: 0;
}

.profile-section {
  padding: 60px 8%;
  font-family: 'Poppins', sans-serif;
  color: #333;
}

.profile-title {
  font-size: 30px;
  color: #a5632e;
  font-weight: 600;
  margin-bottom: 40px;
  text-align: center;
}

.profile-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 80px;
  gap: 40px;
}

.profile-block.reverse {
  flex-direction: row-reverse;
}

.profile-block img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.profile-text {
  flex: 1 1 50%;
  font-size: 15px;
  line-height: 1.8;
}

.profile-text h3 {
  color: #a5632e;
  margin-bottom: 15px;
  font-size: 20px;
  font-weight: 600;
}

.profile-image {
  flex: 1 1 45%;
}

.profile-text ul {
  list-style: none;
  padding: 0;
}

.profile-text ul li {
  margin-bottom: 10px;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .profile-block,
  .profile-block.reverse {
    flex-direction: column;
  }
  .profile-section {
    padding: 40px 20px;
  }
}

/* ===== Hero Section: Ayako Logo Fullscreen ===== */
.gallery-hero {
  width: 100%;
  max-width: 1440px;      /* batasi maksimal selebar gambar asli */
  aspect-ratio: 1440 / 390; /* jaga rasio tinggi terhadap lebar */
  margin: 0 auto;
  background-color: #faf5ef;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.gallery-hero .hero-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}


/* ====== Galeri Kegiatan ====== */
.gallery-section {
  padding: 60px 8%;
  background-color: #faf5ef;
  font-family: 'Poppins', sans-serif;
}

.gallery-title {
  font-size: 28px;
  font-weight: 700;
  color: #2c2c2c;
  text-align: center;
  margin-bottom: 40px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.gallery-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.gallery-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.gallery-info {
  padding: 20px;
  text-align: center;
}

.gallery-info h3 {
  font-size: 18px;
  color: #a5632e;
  margin-bottom: 10px;
  font-weight: 600;
}

.gallery-info p {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
}

/* ====== Testimonial ====== */
.testimonial-section {
  background-color: #faf5ef;
  padding: 60px 8%;
}

.testimonial-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  align-items: center;
  gap: 40px;
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.testimonial-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-text {
  padding: 40px;
  position: relative;
  color: #5b3a1b;
}

.quote-icon {
  font-size: 50px;
  color: #c89a68;
  line-height: 1;
  margin: 0;
}

.quote-icon.right {
  text-align: right;
  margin-top: -10px;
}

.quote-text {
  font-size: 16px;
  color: #4a4a4a;
  line-height: 1.8;
  margin: 10px 0;
}

/* Responsif */
@media (max-width: 992px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .testimonial-wrapper {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* === HERO SECTION === */
.catalog-hero {
  width: 100%;
  height: 390px;
  overflow: hidden;
}
.catalog-hero .hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* === SEARCH BAR === */
.catalog-search-filter {
  background-color: #f7f2ea;
  padding: 30px 0 10px;
  text-align: center;
}

.search-wrapper {
  display: inline-flex;
  align-items: center;
  background: #fff;
  border-radius: 50px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  width: 600px;
  max-width: 90%;
}

.search-input {
  flex: 1;
  border: none;
  outline: none;
  padding: 14px 20px;
  font-size: 16px;
  color: #5c3b0a;
}

.filter-button {
  background-color: #a1642b;
  border: none;
  width: 60px;
  height: 60px;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
}

/* === CATEGORY FILTER === */
.category-filter {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.category-filter button {
  background: #fff;
  border: 1.5px solid #a1642b;
  color: #5c3b0a;
  border-radius: 20px;
  padding: 6px 18px;
  cursor: pointer;
  transition: 0.2s ease;
}

.category-filter button.active,
.category-filter button:hover {
  background-color: #a1642b;
  color: #fff;
}

/* === PRODUK GRID === */
.catalog-products {
  background-color: #f7f2ea;
  padding: 40px 0 10px;
}

.products-grid-catalog {
  background-color: #f7f2ea;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 30px;
  margin-left: 10px;
  margin-right: 10px;
}

.product-card-catalog {
  background-color: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  padding: 16px;
  animation: fadeIn 0.8s ease;
  width:100%;
  height: 100%;
}

.product-link {
  text-decoration: none;
  color: inherit;
}

.product-card-catalog:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.product-card-catalog img {
  width: 100%;
  height: 100%; /* agak melebar */
  object-fit: contain;
  border-radius: 10px;
  background-color: #faf8f6;
}

.product-info {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}

/* Nama produk */
.product-info h3 {
  font-size: 15px;
  font-weight: 600;
  color: #3c2e1f;
  margin-bottom: 8px;
  text-align: left;
}

/* Harga + ikon sejajar */
.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.product-footer .price {
  font-weight: 600;
  color: #a86b32;
  font-size: 15px;
}

.product-footer .cart-icon {
  font-size: 18px;
  color: #a86b32;
  transition: color 0.3s;
}

.product-footer .cart-icon:hover {
  color: #71461f;
}

/* RESPONSIVE TABLET */
@media (max-width: 992px) {
  .products-grid-catalog {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}

/* RESPONSIVE MOBILE */
@media (max-width: 576px) {
  .products-grid-catalog {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 0 8px;
  }
}   

/* Efek fade-in */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* === PAGINATION CUSTOM AYAKO STYLE === */
.pagination-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 40px;
  margin-bottom: 30px;
}

.pagination {
  display: flex;
  list-style: none;
  padding: 0;
  gap: 8px;
}

.pagination li {
  display: flex;
  align-items: center;
  justify-content: center;
}

.pagination li a,
.pagination li span {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.3s ease;
  color: #7A4C1E; /* warna coklat khas Ayako */
  border: 1px solid #E0C8A1;
  background-color: #fffaf2;
}

/* Hover efek */
.pagination li a:hover {
  background-color: #F5E6D0;
  transform: translateY(-2px);
}

/* Halaman aktif */
.pagination li.active span {
  background-color: #A86B32;
  color: white;
  border-color: #A86B32;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(168, 107, 50, 0.25);
}

/* Disabled state (Previous/Next pas tidak aktif) */
.pagination li.disabled span {
  opacity: 0.5;
  cursor: not-allowed;
  background-color: #f5f2ee;
}

/* Transisi smooth */
.pagination li a,
.pagination li span {
  transition: all 0.2s ease-in-out;
}

.catalog-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
}

.search-form {
  display: flex;
  width: 60%;
  max-width: 600px;
  position: relative;
}

.search-form input {
  width: 100%;
  padding: 12px 45px 12px 15px;
  border: 1px solid #d8c7b3;
  border-radius: 25px;
  font-size: 15px;
}

.search-form .search-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #a86b32;
  font-size: 18px;
  cursor: pointer;
}

.category-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.cat-btn {
  padding: 8px 18px;
  border: 1px solid #a86b32;
  color: #a86b32;
  border-radius: 25px;
  background: transparent;
  transition: all 0.3s;
  text-decoration: none;
  font-size: 14px;
}

.cat-btn:hover,
.cat-btn.active {
  background: #a86b32;
  color: #fff;
}
