* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #e9ecef;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, "Noto Sans KR", Arial, sans-serif;
}

/* 중앙 */
.shop2-wrapper {
  max-width: 420px;
  margin: 0 auto;
  background: #fff;
  min-height: 100vh;
  padding-bottom: 90px;
}

/* ===== 헤더 ===== */
.shop2-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(135deg, #4f6ef7, #3b5bdb);
  color: #fff;
  padding: 14px 16px 10px;
}

/* 1줄 */
.header-line-1 {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
}

.header-title {
  font-size: 22px;
  font-weight: 800;
}

.header-menu {
  text-align: center;
  font-size: 13px;
}

.header-menu a {
  color: #e0e7ff;
  text-decoration: none;
  font-weight: 600;
  margin: 0 6px;
}

.header-menu span {
  opacity: 0.6;
}

/* 관리자 버튼 */
.admin-btn {
  padding: 6px 10px;
  font-size: 12px;
  border: none;
  border-radius: 6px;
  background: rgba(255,255,255,0.25);
  color: #fff;
  cursor: pointer;
}

.admin-btn:hover {
  background: rgba(255,255,255,0.4);
}

/* 2줄 */
.header-line-2 {
  margin-top: 6px;
  font-size: 13px;
}

.user-info {
  opacity: 0.95;
}

/* 동 선택 */
.region-box {
  padding: 10px 16px;
  background: #f8f9fa;
  border-bottom: 1px solid #dee2e6;
}

#regionDong {
  width: 100%;
  height: 38px;
  border-radius: 8px;
  border: 1px solid #ced4da;
  padding: 0 10px;
}

/* 상품 */
.product-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px dashed #ddd;
}

.product-row img {
  width: 64px;
  height: 64px;
  border-radius: 8px;
}

.product-info {
  flex: 1;
}

.product-name {
  font-size: 14px;
  font-weight: 600;
}

.product-price {
  font-size: 14px;
  font-weight: 800;
  color: #2563eb;
}

.add-cart-btn {
  background: #2563eb;
  color: #fff;
  border: none;
  padding: 8px 12px;
  border-radius: 8px;
  font-weight: 700;
}

/* 하단 장바구니 */
.cart-bar {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  max-width: 420px;
  width: 100%;
  background: #22c55e;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  text-align: center;
  padding: 14px;
  border-radius: 12px 12px 0 0;
}
