* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', Arial, sans-serif;
  background-color: #ffffff;
  color: #1f1714;
  min-height: 100vh;
}

.page-toggle {
  display: none;
}

.page-view {
  display: none;
}

#page-1:checked ~ .view-1,
#page-2:checked ~ .view-2,
#page-3:checked ~ .view-3 {
  display: block;
}

.site-header {
  background-color: #c96f53;
  padding: 28px 20px 32px;
  border-bottom-left-radius: 32px;
  border-bottom-right-radius: 32px;
}

.header-inner {
  max-width: 720px;
  margin: 0 auto;
}

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.brand-logo {
  font-family: 'Dancing Script', cursive;
  font-size: 42px;
  line-height: 1;
}

.brand-logo a {
  color: #231712;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.brand-logo a:hover {
  opacity: 0.78;
}

.menu-dropdown {
  position: relative;
  padding-bottom: 8px;
  margin-bottom: -8px;
}

.menu-btn {
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 14px;
  background-color: rgba(255, 255, 255, 0.35);
  color: #231712;
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.menu-dropdown:hover .menu-btn {
  background-color: rgba(255, 255, 255, 0.6);
}

.menu-btn:active {
  transform: scale(0.94);
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 165px;
  background-color: #ffffff;
  border-radius: 16px;
  padding: 8px;
  box-shadow: 0 10px 24px rgba(31, 23, 20, 0.16);
  z-index: 100;
}

.menu-dropdown:hover .dropdown-menu,
.menu-dropdown:focus-within .dropdown-menu {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dropdown-menu a {
  display: block;
  padding: 10px 14px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  color: #2c1f1a;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.dropdown-menu a:hover {
  background-color: #f4e4da;
  color: #c96f53;
}

.search-input {
  width: 100%;
  max-width: 460px;
  padding: 13px 20px;
  border: none;
  border-radius: 999px;
  background-color: #ffffff;
  font-family: inherit;
  font-size: 14px;
  color: #1f1714;
  outline: none;
}

.search-input::placeholder {
  color: #8c7f78;
}

.page-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 28px 20px 48px;
}

.category-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 26px;
}

.tab-btn {
  display: inline-block;
  padding: 10px 26px;
  border: none;
  border-radius: 999px;
  background-color: #efe7e1;
  color: #2c1f1a;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.1s ease;
}

.tab-btn:hover {
  background-color: #c96f53;
  color: #ffffff;
}

.tab-btn.active {
  background-color: #c96f53;
  color: #ffffff;
}

.tab-btn.active:hover {
  background-color: #b85f44;
}

.tab-btn:active {
  transform: scale(0.95);
}

.product-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  border-radius: 24px;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.card-peach {
  background-color: #f4e4da;
}

.card-sage {
  background-color: #dce8de;
}

.card-cream {
  background-color: #f7efe0;
}

.product-img {
  width: 108px;
  height: 108px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid #ffffff;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.card-body {
  flex: 1;
}

.card-body h2 {
  font-size: 18px;
  font-weight: 700;
  color: #1f1714;
  margin-bottom: 6px;
}

.product-desc {
  font-size: 14px;
  line-height: 1.5;
  color: #5c4e46;
  margin-bottom: 14px;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.price {
  font-size: 17px;
  font-weight: 700;
  color: #1f1714;
}

.action-btn {
  padding: 10px 22px;
  border: none;
  border-radius: 999px;
  background-color: #4b3123;
  color: #ffffff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.action-btn:hover {
  background-color: #362217;
}

.action-btn:active {
  transform: scale(0.95);
}

@media (max-width: 500px) {
  .product-card {
    gap: 14px;
    padding: 16px;
  }

  .product-img {
    width: 84px;
    height: 84px;
  }

  .tab-btn {
    padding: 9px 18px;
    font-size: 13px;
  }
}