html {
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #f0f0f0;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
}

.lp-wrapper {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  background: #fff;
}

.lp-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

.catebtn {
  display: flex;
  width: 100%;
}

.catebtn a {
  flex: 1;
}

.catebtn img {
  width: 100%;
  height: auto;
  display: block;
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 15px 40px 20px;
}

.product-item {
  width: 100%;
}

.product-item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  background: #f5f5f5;
}

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

.product-item:hover {
  opacity: 0.7;
}

.product-title {
  font-size: 12px;
  margin-top: 6px;
  line-height: 1.4;
}

.product-detail {
  padding: 40px 40px 80px;
}

.detail-slider-wrapper {
  position: relative;
  margin-bottom: 15px;
}

.detail-slider {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
}

.detail-slider::-webkit-scrollbar {
  display: none;
}

.detail-slider img {
  flex: 0 0 100%;
  scroll-snap-align: start;
  border-radius: 8px;
}

.slider-dots {
  display: flex;
  justify-content: center;
  margin-top: 10px;
  gap: 6px;
}

.slider-dots span {
  width: 8px;
  height: 8px;
  background: #ccc;
  border-radius: 50%;
  transition: 0.3s;
}

.slider-dots span.active {
  background: #000;
}

.detail-title {
  font-size: 18px;
  margin-bottom: 10px;
  padding: 16px 0px 0px 0px;
}

.detail-text {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 8px;
}

.detail-note {
  font-size: 12px;
  color: #777;
}


.lp-footer {
  background: #000;
  text-align: center;
  padding: 20px 0;
}

.back-to-top {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 1px;
}

.back-to-top:visited,
.back-to-top:hover,
.back-to-top:active {
  color: #fff;
  text-decoration: none;
}

.floating-menu {
  position: fixed;
  right: 16px;
  bottom: 20px;
  width: 60px;
  height: 60px;
  background: #000;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 1px;
  z-index: 999;
}

.floating-menu:visited,
.floating-menu:hover,
.floating-menu:active {
  color: #fff;
  text-decoration: none;
}

#password-screen {
  position: fixed;
  inset: 0;
  background: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.password-box {
  width: 90%;
  max-width: 320px;
  text-align: center;
}

.password-box input {
  width: 100%;
  padding: 12px;
  margin: 15px 0;
  font-size: 16px;
}

.password-box button {
  width: 100%;
  padding: 12px;
  font-size: 16px;
  background: #000;
  color: #fff;
  border: none;
}

#error-message {
  color: red;
  margin-top: 10px;
}
