/* Home — LINE SHOPPING / line-shopping.top clone */

.gm-home { background: #EBF9F1; }

.gm-home-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 48px 6px;
  background: #EBF9F1;
}
.gm-home-header h1 { margin: 0; line-height: 1; }
.gm-home-header .gm-cart {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #151515;
  font-size: 22px;
  text-decoration: none;
}

.gm-search-sticky {
  position: sticky;
  top: 0;
  z-index: 90;
  padding: 6px 16px 10px;
  background: #EBF9F1;
  transition: box-shadow .2s, background .2s;
}
.gm-search-sticky.is-scrolled {
  box-shadow: 0 1px 0 #ebedf0;
}
.gm-search-sticky form {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 8px;
  padding: 11px 14px;
  gap: 10px;
  box-shadow: 0 1px 4px rgba(0,0,0,.04);
}
.gm-search-sticky input {
  flex: 1;
  border: none;
  background: transparent;
  outline: none;
  font-size: 14px;
  color: #151515;
  font-family: inherit;
}
.gm-search-sticky input::placeholder { color: #B5B5B5; }
.gm-search-sticky .gm-search-ic {
  color: #151515;
  font-size: 16px;
  flex-shrink: 0;
}

.gm-banner-section { padding: 0 8px 4px; background: #EBF9F1; }
.gm-banner {
  position: relative;
  width: 100%;
  aspect-ratio: 375 / 168;
  border-radius: 12px;
  overflow: hidden;
  background: #d8f5ea;
}
.banner-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .45s ease;
  pointer-events: none;
}
.banner-slide.active { opacity: 1; pointer-events: auto; }
.banner-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.banner-counter {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 4;
  background: rgba(0,0,0,.35);
  border-radius: 10px;
  font-size: 11px;
  color: #fff;
  padding: 2px 8px;
  font-weight: 500;
  letter-spacing: .3px;
}

.gm-cats-section {
  padding: 8px 0 12px;
  background: #EBF9F1;
}
.gm-cats-viewport { overflow: hidden; }
.gm-cats-track {
  display: flex;
  transition: transform .35s ease;
}
.gm-cats-page {
  flex: 0 0 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  padding: 0 12px;
  box-sizing: border-box;
}
.gm-cat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 4px 2px;
  font-family: inherit;
}
.gm-cat-item .gm-cat-ic {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid #e5e7eb;
  background: #fff;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gm-cat-item .gm-cat-ic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gm-cat-item .gm-cat-label {
  font-size: 10px;
  line-height: 1.25;
  color: #575757;
  text-align: center;
  max-width: 72px;
  font-weight: 400;
}
.gm-cat-dots {
  display: flex;
  justify-content: center;
  gap: 5px;
  margin-top: 10px;
}
.gm-cat-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #d1d5db;
  transition: background .2s, transform .2s;
}
.gm-cat-dots span.active { background: #4b5563; }

.gm-section-white { background: #fff; }
.gm-gap { height: 6px; background: #EBF9F1; }
